The leaves of a derivation of a tree: a typed item of a word, or a trace, of the type of its index.
- word {B : Type} {W : Ty B → Type} {Γ : ℕ → Ty B} {a : Ty B} (x : W a) : Leaf W Γ a
An item of a word.
- trace {B : Type} {W : Ty B → Type} {Γ : ℕ → Ty B} (n : ℕ) : Leaf W Γ (Γ n)
A trace with index
n.
Used by Interpreter.Leaf.val, Interpreter.Leaf.lex, PhraseStructure.Tree.derive, PhraseStructure.Tree.interpret_eq_map, PhraseStructure.Tree.derive_bind, PhraseStructure.Tree.derive_phrase_binary