Documentation

Lean.Compiler.IR.SimpCase

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Simplify case

    • Remove unreachable branches.
    • Remove case if there is only one branch.
    • Merge most common branches using Alt.default.
    Equations
    • d.simpCase = match d with | Lean.IR.Decl.fdecl f xs type b info => d.updateBody! b.simpCase | other => other
    Instances For