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.
The CYK algorithm decides membership for CNF grammars
Statement
Let be a grammar in Chomsky normal form.
- On input , accept exactly when is a production of .
- On input a nonempty word , fill the CYK table of on and accept exactly when .
This procedure decides whether .
Facts & Assumptions
Given: A CNF grammar and an input word .
By A variable lies in a CYK table cell exactly when it derives that span, for a nonempty input word, exactly when derives the corresponding span.
By The language generated by a CFG, a word lies in exactly when it is derivable from the start symbol .
Proof
If , then by the definition of Chomsky normal form the only way to derive is the exceptional start production . So the empty-word branch is correct.
Suppose is nonempty. By [L1], the condition is equivalent to . By [L2], that is equivalent to . Therefore the table branch accepts exactly the generated nonempty words.
The two branches together decide membership in .
Depends on
Used by
- Context-free-language membership is decidable Corollary
- FALSE: CYK needs no normal-form preprocessing False statement
Dependency tree · two levels
4 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
- Alfred V. Aho, COMS W3261 CS Theory, Lecture 10 (standard reference, not scraped)