@[inline]
Equations
Equations
- Lean.IR.MaxIndex.instAndThenCollector = { andThen := fun a b => Lean.IR.MaxIndex.seq a (b ()) }
Equations
- One or more equations did not get rendered due to their size.
Equations
Equations
@[inline]
Equations
- Lean.IR.FreeIndices.insertParams s ys = Array.foldl (fun s p => Std.RBTree.insert s p.x.idx) s ys 0 (Array.size ys)
Equations
- Lean.IR.FreeIndices.instAndThenCollector = { andThen := fun a b => Lean.IR.FreeIndices.seq a (b ()) }
Equations
Equations
- Lean.IR.HasIndex.visitVar w x = (w == x.idx)
Equations
- Lean.IR.HasIndex.visitJP w x = (w == x.idx)
Equations
- Lean.IR.HasIndex.visitArg w _fun_discr = match _fun_discr with | Lean.IR.Arg.var x => Lean.IR.HasIndex.visitVar w x | x => false
Equations
- Lean.IR.HasIndex.visitArgs w xs = Array.any xs (Lean.IR.HasIndex.visitArg w) 0 (Array.size xs)
Equations
- Lean.IR.HasIndex.visitParams w ps = Array.any ps (fun p => w == p.x.idx) 0 (Array.size ps)
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.IR.Arg.hasFreeVar arg x = Lean.IR.HasIndex.visitArg x.idx arg
Equations
- Lean.IR.Expr.hasFreeVar e x = Lean.IR.HasIndex.visitExpr x.idx e
Equations
- Lean.IR.FnBody.hasFreeVar b x = Lean.IR.HasIndex.visitFnBody x.idx b