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.
Context-free grammars
Definition
A context-free grammar is a quadruple such that:
- is a finite set of variables.
- is a finite alphabet of terminals, disjoint from .
- is the start variable.
- is a finite set of productions of the form , where and is a finite word over the alphabet in the sense of Computation alphabets, words, the empty word, and .
The word may be empty, in which case the production is written .
Remarks
-
"Context-free" means that the left-hand side of every production is a single variable, independent of the surrounding sentential context.
-
The grammar is finite because both the variable set and the production set are finite.
Depends on
Used by
- Chomsky normal form Definition
- Greibach normal form Definition
- Nullable, generating, and reachable variables Definition
- One-step derivation and finite derivation in a context-free grammar Definition
- Parse trees and their yields Definition
Dependency tree · two levels
12 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 7 (standard reference, not scraped)