Basic Definitions for RefinedDiscrTree
#
Definitions #
Discrimination tree key.
- star : Nat → Key
A metavariable. This key matches with anything. It stores an index.
- opaque : Key
An opaque variable. This key only matches with itself or
Key.star
. - const : Name → Nat → Key
A constant. It stores the name and the arity.
- fvar : FVarId → Nat → Key
A free variable. It stores the
FVarId
and the arity. - bvar : Nat → Nat → Key
A bound variable, from a lambda or forall binder. It stores the De Bruijn index and the arity.
- lit : Literal → Key
A literal.
- sort : Key
A sort. Universe levels are ignored.
- lam : Key
A lambda function.
- forall : Key
A dependent arrow.
- proj : Name → Nat → Nat → Key
A projection. It stores the structure name, the projection index and the arity.
Instances For
Equations
Discrimination tree. It is an index from expressions to values of type α
.
- root : PersistentHashMap Key (Trie α)
The underlying
PersistentHashMap
of aRefinedDiscrTree
.