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.
- ref : Lean.Syntax
- modifiers : Lean.Elab.Modifiers
- declName : Lean.Name
- binders : Lean.Syntax
- type? : Option Lean.Syntax
Equations
- Lean.Elab.Command.instInhabitedCtorView = { default := { ref := default, modifiers := default, declName := default, binders := default, type? := default } }
- ref : Lean.Syntax
- declId : Lean.Syntax
- modifiers : Lean.Elab.Modifiers
- shortDeclName : Lean.Name
- declName : Lean.Name
- binders : Lean.Syntax
- type? : Option Lean.Syntax
- ctors : Array Lean.Elab.Command.CtorView
- derivingClasses : Array Lean.Elab.DerivingClassView
Equations
- One or more equations did not get rendered due to their size.
- lctx : Lean.LocalContext
- localInsts : Lean.LocalInstances
- type : Lean.Expr
Equations
- Lean.Elab.Command.instInhabitedElabHeaderResult = { default := { view := default, lctx := default, localInsts := default, params := default, type := default } }
Return some ?m if u is of the form ?m + k.
Return none if u does not contain universe metavariables.
Throw exception otherwise.
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.
Auxiliary function for updateResultingUniverse
accLevel u r rOffset add u to state if it is not already there and
it is different from the resulting universe level r+rOffset.
If u is a max, then its components are recursively processed.
If u is a succ and rOffset > 0, we process the us child using rOffset-1.
This method is used to infer the resulting universe level of an inductive datatype.
Equations
- Lean.Elab.Command.accLevel u r rOffset = Lean.Elab.Command.accLevel.go r u rOffset
Auxiliary function for updateResultingUniverse
accLevelAtCtor ctor ctorParam r rOffset add u (ctorParam's universe) to state if it is not already there and
it is different from the resulting universe level r+rOffset.
See accLevel.
Equations
- One or more equations did not get rendered due to their size.
Execute k using the Syntax reference associated with constructor ctorName.
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.