fix: error on instance diamonds in delta deriving Instead of silently using the underlying type's instance when a diamond is detected, error if the instances for the target and underlying types are not definitionally equal. This follows Joachim Breitner's suggestion to behave as if the user wrote `instance : Cls T := inferInstanceAs (Cls T')`. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This is the repository for Lean 4.
See Install Lean.
Please read our Contribution Guidelines first.
See Building Lean.