Cslib.LambdaCalculus.LocallyNameless.Context
abbrevimported Lean
A typing context is a list of free variables and corresponding types.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in universe u v in variable {α : Type u} {β : Type v} in variable [DecidableEq α] in abbrev Cslib.LambdaCalculus.LocallyNameless.Context (α : Type u) (β : Type v)
- Defined in
- CSLib, `Cslib.LambdaCalculus.LocallyNameless.Context`
- Lean proof
- By Chris Henson, from github.com/leanprover/cslib at
3951377e5a3f(Copyright (c) 2025 Chris Henson. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.33.0.Cslib.LambdaCalculus.LocallyNameless.Context← Cslib.LambdaCalculus.LocallyNameless.Context (Cslib/Languages/LambdaCalculus/LocallyNameless/Context.lean:33): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Used by 6
- Cslib.LambdaCalculus.LocallyNameless.Context.instHasWellFormedCslib.LambdaCalculus.LocallyNameless.Context.instHasWellFormed
- Cslib.LambdaCalculus.LocallyNameless.Context.mapVal_keysA mapping of values preserves keys.
- Cslib.LambdaCalculus.LocallyNameless.Context.mapVal_memA mapping of values maps lookups.
- Cslib.LambdaCalculus.LocallyNameless.Context.haswellformed_defCslib.LambdaCalculus.LocallyNameless.Context.haswellformed_def
- Cslib.LambdaCalculus.LocallyNameless.Context.domThe domain of a context is the finite set of free variables it uses.
- Cslib.LambdaCalculus.LocallyNameless.Context.mapValA mapping of values within a context.
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in universe u v in variable {α : Type u} {β : Type v} in variable [DecidableEq α] in /-- A typing context is a list of free variables and corresponding types. -/ abbrev Cslib.LambdaCalculus.LocallyNameless.Context (α : Type u) (β : Type v) := List ((_ : α) × β)