partial def
Lean.IR.pushProjs
(bs : Array Lean.IR.FnBody)
(alts : Array Lean.IR.Alt)
(altsF : Array Lean.IR.IndexSet)
(ctx : Array Lean.IR.FnBody)
(ctxF : Lean.IR.IndexSet)
:
Push projections inside case
branches.
Equations
- Lean.IR.Decl.pushProj d = match d with | Lean.IR.Decl.fdecl f xs type b info => Lean.IR.Decl.normalizeIds (Lean.IR.Decl.updateBody! d (Lean.IR.FnBody.pushProj b)) | other => other