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.
Unit productions can be eliminated
Statement
A unit production is a production whose left- and right-hand sides are both single variables.
For every context-free grammar there exists a context-free grammar such that and has no unit productions.
Facts & Assumptions
Given: A context-free grammar .
By Epsilon-productions can be eliminated except possibly at the start symbol, we may first replace by an equivalent grammar whose only possible -production is a special start-symbol rule.
The generated language is defined by derivability from the start symbol, by The language generated by a CFG.
Proof
Replace by an equivalent grammar as in [L1]. For variables , write when using only unit productions. Now form by deleting all unit productions and, whenever and is a nonunit production of , adding the copied production .
Any derivation of a terminal word in can be compressed to a derivation in by replacing each maximal block of unit productions followed by one nonunit production with the copied rule placed into . Therefore every word of lies in .
Conversely, every copied production of came from some unit chain in and a nonunit production of . Expanding one use of back into that unit chain followed by turns any derivation in into a derivation in . So every word of lies in .
Steps 2.1 and 2.2 give , and has no unit productions by construction.
Depends on
Used by
Dependency tree · two levels
5 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)