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.
If a PDA has at most one accepting computation on each word, the standard PDA-to-CFG construction is unambiguous
Statement
Let be a PDA such that every word has at most one accepting computation in . Then the fragment-variable grammar from the standard PDA-to-CFG construction is unambiguous.
Facts & Assumptions
Given: A PDA with at most one accepting computation on each word.
By Ambiguous grammars, unambiguous grammars, and inherently ambiguous languages, a grammar is unambiguous when each generated word has exactly one leftmost derivation.
By Every PDA has an equivalent context-free grammar, the standard grammar is built from fragment variables and generates exactly the language of .
Proof
In the grammar , every production choice records one concrete local decision in an accepting computation of : either one normalized PDA move, or one split state used to divide a two-symbol fragment into two smaller fragments. Thus a leftmost derivation of a word in determines an accepting computation of on that word.
Conversely, the accepting computation of a word determines all of those local choices uniquely, because the first moment when each top stack symbol disappears fixes the fragment split and therefore fixes the next production in the fragment-variable grammar. So one accepting computation determines exactly one leftmost derivation in .
If some generated word had two different leftmost derivations in , steps 1.1 and 2.1 would yield two different accepting computations of on that word, contradicting the hypothesis. Therefore [L1] shows that is unambiguous.
Depends on
Used by
Dependency tree · two levels
8 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
- Jean Gallier and Jocelyn Quaintance, Introduction to the Theory of Computation: Some Notes for CIS511 (standard reference, not scraped)