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.
A Chomsky-normal-form parse tree of height has yield length at most
Statement
Let be a context-free grammar in Chomsky normal form, and let be a parse tree for of height . If is the yield of , then
Facts & Assumptions
Given: A Chomsky-normal-form grammar and a parse tree of height .
By Parse trees and their yields, the yield of a parse tree is the left-to-right list of its terminal leaves, and every internal node is labeled by a variable together with one production used at that node.
By Chomsky normal form, every production in a CNF grammar is either , , or the exceptional start rule .
Proof
We induct on the height . If , then the root is already a leaf. By [L1], a leaf at the root can only be the variable leaf corresponding to the exceptional CNF rule from [L2]. Thus , so .
Suppose . If the root uses a terminal production , then the yield has length , so the bound is immediate. Otherwise the root uses a binary production by [L2]. The two child subtrees have heights at most , so by the induction hypothesis each contributes at most terminal leaves. Therefore .
The bound holds for height and is preserved when the height increases, so every CNF parse tree of height has yield length at most .
Depends on
Used by
Dependency tree · two levels
17 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)
- Alfred V. Aho, COMS W3261 CS Theory, Lecture 10 (standard reference, not scraped)