Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12
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 M and an input word w.

[L1]

M accepts w exactly when it has an accepting computation history on w, by Finite computation histories, halting computations, and divergence.

[L2]

For the fixed pair (M,w), accepting computation histories admit an effective encoding, by For a fixed machine and input, valid accepting computation histories form a decidable language.

[L3]

The acceptance problem ATM is undecidable, by The Turing-machine acceptance problem is undecidable.

[L4]

If AmB and B is decidable, then A is decidable, by Computable many-one reductions transfer decidability and recognizability backward.

Proof

technique · direct
1.1

Choose the explicit finite configuration alphabet allowed by [L2], and encode a candidate history as C0#C1R#C2#C3R#, alternating ordinary and reversed configuration words. Let BM,w 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 Ci,Ci+1, 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 M. 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 GM,w with L(GM,w)=BM,w.

L1L2givenconstruct
2.1

By the definition of BM,w, the grammar GM,w is universal exactly when there is no accepting computation history of M on w. Using [L1], this is equivalent to L(GM,w)=Σ    M,wATM.

L1step 1.1
3.1

The construction of GM,w is effective by step 1.1. If CFG universality were decidable, then step 2.1 would decide ATM, and hence decide ATM by complementing the answer. That contradicts [L3].

L3L4step 2.1contradiction
4.1

Therefore CFG universality is undecidable.

step 3.1discharge-contradiction: a universality decider would decide $A_{TM}$

Depends on

Used by

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