How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Emptiness of the intersection of two CFGs is undecidable
Statement
The problem of deciding, from two context-free grammars and , whether is undecidable.
Facts & Assumptions
Given: A PCP instance
A PCP match is a nonempty index sequence with equal top and bottom concatenations, by The Post correspondence problem.
PCP is undecidable, by The Post correspondence problem is undecidable.
If and is decidable, then is decidable, by Computable many-one reductions transfer decidability and recognizability backward.
Proof
From the PCP instance build two context-free grammars over the alphabet consisting of the original symbols together with index symbols : Thus generates exactly the words , and generates exactly the words , for nonempty index sequences .
If is a PCP match, then so that common word lies in . Conversely, if a word lies in , its reversed index suffix uniquely determines the same index sequence on both sides, and removing that suffix leaves Hence the original PCP instance has a match if and only if .
The map from the PCP instance to the pair is total and computable by step 1.1. If intersection-emptiness for pairs of CFGs were decidable, step 2.1 and [L3] would make PCP decidable, contradicting [L2].
Therefore emptiness of the intersection of two CFGs is undecidable.
Depends on
Used by
Dependency tree · two levels
10 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- John Watrous, Introduction to the Theory of Computing (standard reference, not scraped)