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.
Parse trees and their yields
Definition
Let be a context-free grammar. A parse tree for is a finite, finitely branching rooted tree of finite sequences in the sense of Rooted trees of finite sequences, levels, branches, and finite branching, with ordered finite successor sets, together with a label on each node, satisfying the following conditions.
- The root is labelled by the start variable .
- Every internal node is labelled by a variable .
- If an internal node labelled has ordered children labelled , then is a production of .
- A leaf is either labelled by a terminal in , or is a variable leaf corresponding to a production and contributes no terminal symbol to the yield.
Reading the terminal leaves from left to right gives a word in , called the yield of the parse tree.
Remarks
-
The finite-sequence address set is what makes "left to right" precise: among siblings, the natural-number labels of successor nodes provide the order.
-
The tree itself is finite. This rules out infinite variable chains that do not correspond to a finite derivation.
-
An -production contributes no terminal letter to the yield.
Depends on
Used by
Dependency tree · two levels
9 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)
- John Watrous, Introduction to the Theory of Computing, Lecture 8 (standard reference, not scraped)