Documentation

Lean.Compiler.IR.SimpCase

Simplify case

  • Remove unreachable branches.
  • Remove case if there is only one branch.
  • Merge most common branches using Alt.default.
Instances For