Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 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.

Emptiness of the intersection of two CFGs is undecidable

Statement

The problem of deciding, from two context-free grammars G and H, whether L(G)L(H)= is undecidable.

Facts & Assumptions

Given: A PCP instance (u1,v1),,(un,vn).

[L1]

A PCP match is a nonempty index sequence with equal top and bottom concatenations, by The Post correspondence problem.

[L3]

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

From the PCP instance build two context-free grammars over the alphabet consisting of the original symbols together with index symbols 1,,n: STuiSTiuii,SBviSBivii(1in). Thus GT generates exactly the words ui1uikiki1, and GB generates exactly the words vi1vikiki1, for nonempty index sequences i1,,ik.

L1givenconstruct
2.1

If i1,,ik is a PCP match, then ui1uikiki1=vi1vikiki1, so that common word lies in L(GT)L(GB). Conversely, if a word lies in L(GT)L(GB), its reversed index suffix uniquely determines the same index sequence on both sides, and removing that suffix leaves ui1uik=vi1vik. Hence the original PCP instance has a match if and only if L(GT)L(GB).

L1step 1.1
3.1

The map from the PCP instance to the pair (GT,GB) 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].

L2L3step 2.1contradiction
4.1

Therefore emptiness of the intersection of two CFGs is undecidable.

step 3.1discharge-contradiction: a decider for CFG intersection-emptiness would decide PCP

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