- ref : Lean.Syntax
- kind : Lean.Elab.DefKind
- modifiers : Lean.Elab.Modifiers
- declName : Lean.Name
- type : Lean.Expr
- value : Lean.Expr
A (potentially recursive) definition. The elaborator converts it into Kernel definitions using many different strategies.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Elab.levelMVarToParamPreDecls preDefs = StateRefT'.run' (Lean.Elab.levelMVarToParamPreDeclsAux preDefs) 1
def
Lean.Elab.fixLevelParams
(preDefs : Array Lean.Elab.PreDefinition)
(scopeLevelNames : List Lean.Name)
(allUserLevelNames : List Lean.Name)
:
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Elab.applyAttributesOf
(preDefs : Array Lean.Elab.PreDefinition)
(applicationTime : Lean.AttributeApplicationTime)
:
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Elab.addAndCompileNonRec
(preDef : Lean.Elab.PreDefinition)
(all : optParam (List Lean.Name) [preDef.declName])
:
Equations
- Lean.Elab.addAndCompileNonRec preDef all = Lean.Elab.addNonRecAux preDef true all true
def
Lean.Elab.addNonRec
(preDef : Lean.Elab.PreDefinition)
(applyAttrAfterCompilation : optParam Bool true)
(all : optParam (List Lean.Name) [preDef.declName])
:
Equations
- Lean.Elab.addNonRec preDef applyAttrAfterCompilation all = Lean.Elab.addNonRecAux preDef false all applyAttrAfterCompilation
Eliminate recursive application annotations containing syntax. These annotations are used by the well-founded recursion module to produce better error messages.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
def
Lean.Elab.addAndCompileUnsafe
(preDefs : Array Lean.Elab.PreDefinition)
(safety : optParam Lean.DefinitionSafety Lean.DefinitionSafety.unsafe)
:
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.