- isCandidateFn : Lean.Compiler.LCNF.LetDecl → Lean.FVarIdSet → Lean.Compiler.LCNF.CompilerM Bool
- included : Lean.FVarIdSet
Instances For
- toPull : Array Lean.Compiler.LCNF.LetDecl
Instances For
@[reducible, inline]
Equations
Instances For
@[inline]
def
Lean.Compiler.LCNF.PullLetDecls.withFVar
{α : Type}
(fvarId : Lean.FVarId)
(x : Lean.Compiler.LCNF.PullLetDecls.PullM α)
:
Instances For
@[inline]
def
Lean.Compiler.LCNF.PullLetDecls.withParams
{α : Type}
(ps : Array Lean.Compiler.LCNF.Param)
(x : Lean.Compiler.LCNF.PullLetDecls.PullM α)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline]
def
Lean.Compiler.LCNF.PullLetDecls.withNewScope
{α : Type}
(x : Lean.Compiler.LCNF.PullLetDecls.PullM α)
:
Equations
- Lean.Compiler.LCNF.PullLetDecls.withNewScope x = withReader (fun (ctx : Lean.Compiler.LCNF.PullLetDecls.Context) => { isCandidateFn := ctx.isCandidateFn, included := ∅ }) x
Instances For
partial def
Lean.Compiler.LCNF.PullLetDecls.withCheckpoint.go
(c : Lean.Compiler.LCNF.Code)
(toPull : Array Lean.Compiler.LCNF.LetDecl)
(i : Nat)
(included : Lean.FVarIdSet)
:
Instances For
def
Lean.Compiler.LCNF.PullLetDecls.PullM.run
{α : Type}
(x : Lean.Compiler.LCNF.PullLetDecls.PullM α)
(isCandidateFn : Lean.Compiler.LCNF.LetDecl → Lean.FVarIdSet → Lean.Compiler.LCNF.CompilerM Bool)
:
Instances For
def
Lean.Compiler.LCNF.Decl.pullLetDecls
(decl : Lean.Compiler.LCNF.Decl)
(isCandidateFn : Lean.Compiler.LCNF.LetDecl → Lean.FVarIdSet → Lean.Compiler.LCNF.CompilerM Bool)
: