λ-calculus #
Contexts as pairs of free variables and types.
@[reducible, inline]
A typing context is a list of free variables and corresponding types.
Equations
- LambdaCalculus.LocallyNameless.Context Var Ty = List ((_ : Var) × Ty)
Instances For
The domain of a context is the finite set of free variables it uses.
Instances For
@[reducible, inline]
A well-formed context.
Instances For
instance
LambdaCalculus.LocallyNameless.Context.instHasWellFormed
{Var : Type u}
{Ty : Type v}
:
HasWellFormed (Context Var Ty)