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.
CFG universality is undecidable
Statement
The problem of deciding whether a context-free grammar generates all words over its terminal alphabet is undecidable.
Facts & Assumptions
Given: A coded deterministic one-tape Turing machine and an input word .
accepts exactly when it has an accepting computation history on , by Finite computation histories, halting computations, and divergence.
For the fixed pair , accepting computation histories admit an effective encoding, by For a fixed machine and input, valid accepting computation histories form a decidable language.
The acceptance problem is undecidable, by The Turing-machine acceptance problem is undecidable.
If and is decidable, then is decidable, by Computable many-one reductions transfer decidability and recognizability backward.
Proof
Choose the explicit finite configuration alphabet allowed by [L2], and encode a candidate history as alternating ordinary and reversed configuration words. Let be the set of words that are not accepting histories in this encoding. Malformed words and words with the wrong initial or accepting endpoint form regular languages. For an alleged adjacent pair , a pushdown automaton nondeterministically chooses that pair, pushes the first configuration, and compares it with the oppositely oriented second configuration while allowing exactly one of the finitely many local windows prescribed by a transition of . It accepts when no legal window explains the pair. Taking separate machines for the two parities and their finite union handles every adjacent pair. Thus histories containing an illegal transition form a context-free language, and so does their union with the two regular error languages. The construction is effective in the finite transition table, hence produces a CFG with .
By the definition of , the grammar is universal exactly when there is no accepting computation history of on . Using [L1], this is equivalent to
The construction of is effective by step 1.1. If CFG universality were decidable, then step 2.1 would decide , and hence decide by complementing the answer. That contradicts [L3].
Therefore CFG universality is undecidable.
Depends on
- For a fixed machine and input, valid accepting computation histories form a decidable language
- Finite computation histories, halting computations, and divergence
- The language generated by a CFG
- Computable many-one reductions between languages
- The Turing-machine acceptance problem is undecidable
- Computable many-one reductions transfer decidability and recognizability backward
Used by
- CFG equivalence is undecidable Theorem
Dependency tree · two levels
18 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
- MIT OpenCourseWare, Lecture 10: Computation History Method (standard reference, not scraped)
- John Watrous, Introduction to the Theory of Computing (standard reference, not scraped)