Documentation

Lean.Compiler.LCNF.ElimDead

This module implements a pass that does a syntactic use-def check for all let/fun/jp bindings and removes them if they are unused. Note that in impure mode not all unused let bindings can be removed safely so we opt for a safe subset.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    def Lean.Compiler.LCNF.elimDeadVars (phase : Phase) (occurrence : Nat) :
    Equations
    Instances For