fix: compare instances at `.implicit` transparency in `isDefEqI` This PR fixes `grind` failing on instances wrapped in `@[implicit_reducible]` definitions. Since #13637, `isDefEq` compares instance-implicit arguments at `.implicit` transparency, but `isDefEqI` still used `.instances`. The `Sym` canonicalizer uses `isDefEqI` to check a term against the re-synthesized instance, so `inst2 =?= inst1` failed because `inst2` could not be unfolded. The fix changes `isDefEqI` to use `.implicit`. Closes #15546 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This is the repository for Lean 4.
See Install Lean.
Please read our Contribution Guidelines first.
See Building Lean.