feat: good reduction of Nat.div in trivial cases This PR changes the definition of `Nat.div` to follow the example of `Nat.mod` where trivial cases are handled in a wrapper that reduces well, before calling the main function defined by well-founded recursion. This helps with #5182.
This is the repository for Lean 4.
See Setting Up Lean.
Please read our Contribution Guidelines first.
See Building Lean (documentation source: doc/make/index.md).