Searching protocol for "well-founded recursion"
Master Lean 4 well-founded recursion proofs.
Prove array bounds in Lean 4