`fun_cases`: Let the Function's Own Branches Drive the Proof
Manually nested split calls lose track of let-bindings and multi-pattern match arms. Lean 4's fun_cases f x y automatically generates one goal per execution path of f x y, naming the exact branch hypotheses for you.
Closing Leaf Goals with `omega` and `grind`
Once control flow is split, most systems verification leaves boil down to linear inequalities (omega) or congruence closure + equality chaining + case splitting (grind, guided by @[grind =] annotations on domain definitions). Together, fun_cases ... <;> grind or fun_cases ... <;> omega turns 25 lines of tedious bookkeeping into 2 readable lines.