fix: assertion violations at `grind` `checkInvariants` This PR fixes assertion violations when `checkInvariants` is enabled in `grind`
This is the repository for Lean 4.
See Setting Up Lean.
Please read our Contribution Guidelines first.
See Building Lean.