Documentation

Mathlib.Tactic.ToExpr

ToExpr instances for Mathlib #

@[implicit_reducible]
instance Mathlib.instToExprULift_mathlib {α✝ : Type s} [Lean.ToExpr α✝] [Lean.ToLevel] [Lean.ToLevel] :
Lean.ToExpr (ULift.{r, s} α✝)
def Mathlib.instToExprULift_mathlib.toExpr {α✝ : Type s} [Lean.ToExpr α✝] :
Lean.ToLevelLean.ToLevelULift.{r, s} α✝Lean.Expr
Instances For
    @[implicit_reducible]
    instance Mathlib.instToExprPUnitOfToLevel_mathlib [Lean.ToLevel] :
    Lean.ToExpr PUnit.{u + 1}

    Hand-written instance since PUnit is a Sort rather than a Type.

    def Mathlib.instToExprRaw_mathlib.toExpr :
    String.Pos.RawLean.Expr
    Instances For
      @[implicit_reducible]
      instance Mathlib.instToExprRaw_mathlib :
      Lean.ToExpr String.Pos.Raw
      def Mathlib.instToExprRaw_mathlib_1.toExpr :
      Substring.RawLean.Expr
      Instances For
        @[implicit_reducible]
        instance Mathlib.instToExprRaw_mathlib_1 :
        Lean.ToExpr Substring.Raw
        @[implicit_reducible]
        instance Mathlib.instToExprSourceInfo_mathlib :
        Lean.ToExpr Lean.SourceInfo
        def Mathlib.instToExprSourceInfo_mathlib.toExpr :
        Lean.SourceInfoLean.Expr
        Instances For
          partial def Mathlib.instToExprSyntax_mathlib.toExpr :
          Lean.SyntaxLean.Expr
          @[implicit_reducible]
          instance Mathlib.instToExprSyntax_mathlib :
          Lean.ToExpr Lean.Syntax
          @[implicit_reducible]
          instance Mathlib.instToExprMData_mathlib :
          Lean.ToExpr Lean.MData
          @[implicit_reducible]
          instance Mathlib.instToExprMVarId_mathlib :
          Lean.ToExpr Lean.MVarId
          def Mathlib.instToExprMVarId_mathlib.toExpr :
          Lean.MVarIdLean.Expr
          Instances For
            @[implicit_reducible]
            instance Mathlib.instToExprLevelMVarId_mathlib :
            Lean.ToExpr Lean.LevelMVarId
            def Mathlib.instToExprLevelMVarId_mathlib.toExpr :
            Lean.LevelMVarIdLean.Expr
            Instances For
              @[implicit_reducible]
              instance Mathlib.instToExprLevel_mathlib :
              Lean.ToExpr Lean.Level
              def Mathlib.instToExprLevel_mathlib.toExpr :
              Lean.LevelLean.Expr
              Instances For
                @[implicit_reducible]
                instance Mathlib.instToExprBinderInfo_mathlib :
                Lean.ToExpr Lean.BinderInfo
                def Mathlib.instToExprBinderInfo_mathlib.toExpr :
                Lean.BinderInfoLean.Expr
                Instances For
                  @[implicit_reducible]
                  instance Mathlib.instToExprExpr_mathlib :
                  Lean.ToExpr Lean.Expr
                  def Mathlib.instToExprExpr_mathlib.toExpr :
                  Lean.ExprLean.Expr
                  Instances For