@[reducible, inline]
Equations
Instances For
@[reducible, inline]
abbrev
Lean.Compiler.LCNF.ToExpr.mkLambdaM
(params : Array Lean.Compiler.LCNF.Param)
(e : Lean.Expr)
:
Equations
- Lean.Compiler.LCNF.ToExpr.mkLambdaM params e = do let __do_lift ← read let __do_lift_1 ← get pure (Lean.Compiler.LCNF.ToExpr.mkLambdaM.go params __do_lift __do_lift_1 params.size e)
Instances For
@[irreducible]
def
Lean.Compiler.LCNF.ToExpr.mkLambdaM.go
(params : Array Lean.Compiler.LCNF.Param)
(offset : Nat)
(m : Lean.Compiler.LCNF.ToExpr.LevelMap✝)
(i : Nat)
(e : Lean.Expr)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[reducible, inline]
Equations
- Lean.Compiler.LCNF.ToExpr.abstractM e = do let __do_lift ← read let __do_lift_1 ← get pure (Lean.Expr.abstract'✝ __do_lift __do_lift_1 e)
Instances For
@[inline]
def
Lean.Compiler.LCNF.ToExpr.withFVar
{α : Type}
(fvarId : Lean.FVarId)
(k : Lean.Compiler.LCNF.ToExpr.ToExprM α)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
def
Lean.Compiler.LCNF.ToExpr.withParams
{α : Type}
(params : Array Lean.Compiler.LCNF.Param)
(k : Lean.Compiler.LCNF.ToExpr.ToExprM α)
:
Equations
- Lean.Compiler.LCNF.ToExpr.withParams params k = Lean.Compiler.LCNF.ToExpr.withParams.go params k 0
Instances For
@[specialize #[]]
partial def
Lean.Compiler.LCNF.ToExpr.withParams.go
{α : Type}
(params : Array Lean.Compiler.LCNF.Param)
(k : Lean.Compiler.LCNF.ToExpr.ToExprM α)
(i : Nat)
:
@[inline]
def
Lean.Compiler.LCNF.ToExpr.run
{α : Type}
(x : Lean.Compiler.LCNF.ToExpr.ToExprM α)
(offset : Nat := 0)
(levelMap : Lean.Compiler.LCNF.ToExpr.LevelMap✝ := ∅)
:
α
Equations
- Lean.Compiler.LCNF.ToExpr.run x offset levelMap = StateT.run' (ReaderT.run x offset) levelMap
Instances For
@[inline]
def
Lean.Compiler.LCNF.ToExpr.run'
{α : Type}
(x : Lean.Compiler.LCNF.ToExpr.ToExprM α)
(xs : Array Lean.FVarId)
:
α
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Compiler.LCNF.Code.toExpr
(code : Lean.Compiler.LCNF.Code)
(xs : Array Lean.FVarId := #[])
:
Equations
- code.toExpr xs = Lean.Compiler.LCNF.ToExpr.run' code.toExprM xs
Instances For
def
Lean.Compiler.LCNF.FunDeclCore.toExpr
(decl : Lean.Compiler.LCNF.FunDecl)
(xs : Array Lean.FVarId := #[])
:
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.