ToExpr
instances for Mathlib #
instance
Mathlib.instToExprULiftOfToLevel_mathlib
{α✝ : Type s}
[Lean.ToExpr α✝]
[Lean.ToLevel]
[Lean.ToLevel]
:
Lean.ToExpr (ULift α✝)
Equations
- One or more equations did not get rendered due to their size.
Hand-written instance since PUnit
is a Sort
rather than a Type
.
Equations
- Mathlib.instToExprPUnitOfToLevel_mathlib = { toExpr := fun (x : PUnit) => Lean.mkConst `PUnit.unit [Lean.toLevel], toTypeExpr := Lean.mkConst `PUnit [Lean.toLevel] }
Equations
- Mathlib.instToExprPos_mathlib = { toExpr := Mathlib.instToExprPos_mathlib.toExpr✝, toTypeExpr := Lean.Expr.const `String.Pos [] }
Equations
- Mathlib.instToExprSubstring_mathlib = { toExpr := Mathlib.instToExprSubstring_mathlib.toExpr✝, toTypeExpr := Lean.Expr.const `Substring [] }
Equations
- Mathlib.instToExprSourceInfo_mathlib = { toExpr := Mathlib.instToExprSourceInfo_mathlib.toExpr✝, toTypeExpr := Lean.Expr.const `Lean.SourceInfo [] }
Equations
- Mathlib.instToExprSyntax_mathlib = { toExpr := Mathlib.instToExprSyntax_mathlib.toExpr✝, toTypeExpr := Lean.Expr.const `Lean.Syntax [] }
Equations
- Mathlib.instToExprMData_mathlib = { toExpr := Mathlib.toExprMData✝, toTypeExpr := Lean.mkConst `Lean.MData }
Equations
- Mathlib.instToExprMVarId_mathlib = { toExpr := Mathlib.instToExprMVarId_mathlib.toExpr✝, toTypeExpr := Lean.Expr.const `Lean.MVarId [] }
Equations
- Mathlib.instToExprLevelMVarId_mathlib = { toExpr := Mathlib.instToExprLevelMVarId_mathlib.toExpr✝, toTypeExpr := Lean.Expr.const `Lean.LevelMVarId [] }
Equations
- Mathlib.instToExprLevel_mathlib = { toExpr := Mathlib.instToExprLevel_mathlib.toExpr✝, toTypeExpr := Lean.Expr.const `Lean.Level [] }
Equations
- Mathlib.instToExprBinderInfo_mathlib = { toExpr := Mathlib.instToExprBinderInfo_mathlib.toExpr✝, toTypeExpr := Lean.Expr.const `Lean.BinderInfo [] }
Equations
- Mathlib.instToExprExpr_mathlib = { toExpr := Mathlib.instToExprExpr_mathlib.toExpr✝, toTypeExpr := Lean.Expr.const `Lean.Expr [] }