Binding Semantics #
Data types for H&K-style assignment-based binding semantics.
A position in a syntactic structure.
- index : Nat
Linear index (word position)
Instances For
@[implicit_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Interfaces.BindingSemantics.instDecidableEqPosition.decEq
(x✝ x✝¹ : Position)
:
Decidable (x✝ = x✝¹)
Equations
- Interfaces.BindingSemantics.instDecidableEqPosition.decEq { index := a } { index := b } = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
Instances For
@[implicit_reducible]
@[implicit_reducible]
Equations
- Interfaces.BindingSemantics.instHashablePosition.hash { index := a } = mixHash 0 (hash a)
Instances For
@[implicit_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
def
Interfaces.BindingSemantics.instDecidableEqBindingRelation.decEq
(x✝ x✝¹ : BindingRelation)
:
Decidable (x✝ = x✝¹)
Equations
- One or more equations did not get rendered due to their size.
Instances For
A complete binding configuration for a structure.
- bindings : List BindingRelation
All binding relations in the structure
- freeVariables : List (Position × Nat)
Positions that are free (unbound) variables
Instances For
@[implicit_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
A binding configuration is well-formed.
Equations
- One or more equations did not get rendered due to their size.