Evaluator instances for built-in types #
Some of these instances are hand-written instead of being derived, since the syntax may be special,
or they might make special assumptions on the type (e.g. for Bool, we assume the identifiers
true and false always refer to Bool's constructors).
EvalTerm instances #
@[implicit_reducible]
Equations
- Lean.Elab.ConfigEval.EvalTerm.instBool = { evalTerm := Lean.Elab.ConfigEval.EvalTerm.evalBoolStx, typeExpr := Lean.toTypeExpr Bool }
@[implicit_reducible]
Equations
- Lean.Elab.ConfigEval.EvalTerm.instNat = { evalTerm := Lean.Elab.ConfigEval.EvalTerm.evalNatStx, typeExpr := Lean.toTypeExpr Nat }
@[implicit_reducible]
Equations
- Lean.Elab.ConfigEval.EvalTerm.instInt = { evalTerm := Lean.Elab.ConfigEval.EvalTerm.evalIntStx, typeExpr := Lean.toTypeExpr Int }
@[implicit_reducible]
Equations
- Lean.Elab.ConfigEval.EvalTerm.instString = { evalTerm := Lean.Elab.ConfigEval.EvalTerm.evalStringStx, typeExpr := Lean.toTypeExpr String }
@[implicit_reducible]
Equations
- Lean.Elab.ConfigEval.EvalTerm.instName = { evalTerm := Lean.Elab.ConfigEval.EvalTerm.evalNameStx, typeExpr := Lean.toTypeExpr Lean.Name }
@[implicit_reducible]
Equations
- Lean.Elab.ConfigEval.EvalTerm.instDataValue = { evalTerm := Lean.Elab.ConfigEval.EvalTerm.evalDataValueStx, typeExpr := Lean.Expr.const `Lean.DataValue [] }
EvalExpr instances #
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
- Lean.Elab.ConfigEval.EvalExpr.instBool = { evalExpr := Lean.Elab.ConfigEval.EvalExpr.evalBoolExpr, expectedType? := some (Lean.toTypeExpr Bool) }
@[implicit_reducible]
Equations
- Lean.Elab.ConfigEval.EvalExpr.instNat = { evalExpr := Lean.Elab.ConfigEval.EvalExpr.evalNatExpr, expectedType? := some (Lean.toTypeExpr Nat) }
@[implicit_reducible]
Equations
- Lean.Elab.ConfigEval.EvalExpr.instInt = { evalExpr := Lean.Elab.ConfigEval.EvalExpr.evalIntExpr, expectedType? := some (Lean.toTypeExpr Int) }
@[implicit_reducible]
Equations
- Lean.Elab.ConfigEval.EvalExpr.instString = { evalExpr := Lean.Elab.ConfigEval.EvalExpr.evalStringExpr, expectedType? := some (Lean.toTypeExpr String) }
@[implicit_reducible]
Equations
- Lean.Elab.ConfigEval.EvalExpr.instName = { evalExpr := Lean.Elab.ConfigEval.EvalExpr.evalNameExpr, expectedType? := some (Lean.toTypeExpr Lean.Name) }
@[implicit_reducible]
Equations
- Lean.Elab.ConfigEval.EvalExpr.instDataValue = { evalExpr := Lean.Elab.ConfigEval.EvalExpr.evalDataValueExpr, expectedType? := none }