def
Lean.Compiler.LCNF.collectLocalDeclsType
(s : Lean.Compiler.LCNF.UsedLocalDecls)
(type : Lean.Expr)
:
Collect set of (let) free variables in a LCNF value. This code exploits the LCNF property that local declarations do not occur in types.
Equations
Instances For
def
Lean.Compiler.LCNF.collectLocalDeclsType.go
(s : Lean.Compiler.LCNF.UsedLocalDecls)
(e : Lean.Expr)
:
Instances For
def
Lean.Compiler.LCNF.collectLocalDeclsArg
(s : Lean.Compiler.LCNF.UsedLocalDecls)
(arg : Lean.Compiler.LCNF.Arg)
:
Equations
- Lean.Compiler.LCNF.collectLocalDeclsArg s Lean.Compiler.LCNF.Arg.erased = s
- Lean.Compiler.LCNF.collectLocalDeclsArg s (Lean.Compiler.LCNF.Arg.type e) = Lean.Compiler.LCNF.collectLocalDeclsType s e
- Lean.Compiler.LCNF.collectLocalDeclsArg s (Lean.Compiler.LCNF.Arg.fvar fvarId) = Std.HashSet.insert s fvarId
Instances For
def
Lean.Compiler.LCNF.collectLocalDeclsArgs
(s : Lean.Compiler.LCNF.UsedLocalDecls)
(args : Array Lean.Compiler.LCNF.Arg)
:
Equations
Instances For
Instances For
Equations
- One or more equations did not get rendered due to their size.