Theorems · Theorem · computer science
ContextFreeGrammar.derives_iff_eq_or_head
∀ {T : Type u_1} {g : ContextFreeGrammar T} {u w : List (Symbol T g.NT)},
g.Derives u w ↔ u = w ∨ ∃ v, g.Produces u v ∧ g.Derives v w- Defined in
- Mathlib.Computability.ContextFreeGrammar
- Cited by
- 1 results in Mathlib
- Foundations
- Depth 56 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites6
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Symbolstatement and proof · cited by 47
- ContextFreeGrammarstatement and proof · cited by 39
- ContextFreeGrammar.NTstatement and proof · cited by 30
- ContextFreeGrammar.Derivesstatement · cited by 19
- ContextFreeGrammar.Producesstatement · cited by 17
- Relation.ReflTransGen.cases_head_iffproof · cited by 2
Cited by1
Results whose statement or proof uses this declaration.
- ContextFreeGrammar.derives_nonterminalproof · cited by 0