@[inline]
Equations
- decl.dependsOn s = (Lean.Compiler.LCNF.typeDepOn✝ decl.type s || Lean.Compiler.LCNF.depOn✝ decl.value s)
Instances For
Equations
- (Lean.Compiler.LCNF.CodeDecl.let decl_2).dependsOn s = decl_2.dependsOn s
- (Lean.Compiler.LCNF.CodeDecl.jp decl_2).dependsOn s = decl_2.dependsOn s
- (Lean.Compiler.LCNF.CodeDecl.fun decl_2 h).dependsOn s = decl_2.dependsOn s
- (Lean.Compiler.LCNF.CodeDecl.uset fvarId i y h).dependsOn s = (Std.TreeSet.contains s fvarId || Std.TreeSet.contains s y)
- (Lean.Compiler.LCNF.CodeDecl.sset fvarId i offset y ty h).dependsOn s = (Std.TreeSet.contains s fvarId || Std.TreeSet.contains s y)
- (Lean.Compiler.LCNF.CodeDecl.inc fvarId n check persistent h).dependsOn s = Std.TreeSet.contains s fvarId
- (Lean.Compiler.LCNF.CodeDecl.dec fvarId n check persistent h).dependsOn s = Std.TreeSet.contains s fvarId
Instances For
Return true is c depends on a free variable in s.
Equations
- c.dependsOn s = Lean.Compiler.LCNF.depOn✝ c s