Conversation
TwoFX
left a comment
There was a problem hiding this comment.
How about you provide a lemma LawfulBEq.rfl with a deprecation pointing to BEq.rfl?
|
I can't add |
|
Mathlib CI status (docs):
|
|
Okay, there were too many instances where I would've needed to add |
…-class-adjustments
|
I have found a workaround regarding @[deprecated BEq.rfl (since := "2025-04-16")]
abbrev LawfulBEq.LawfulBEq.rfl := @BEq.rfl
export LawfulBEq (LawfulBEq.rfl)It's not pretty but works, should we do something like this? |
That's a fun workaround. I think in this case it's fine to just skip the deprecation. Proper support for deprecating structure fields is on the radar. |
This PR moves
ReflBEqtoInit.Coreand changesLawfulBEqto extendReflBEq.BREAKING CHANGES:
reflfield ofReflBEqhas been renamed torflto matchLawfulBEqLawfulBEqextendsReflBEq, so in particularLawfulBEq.rflis no longer valid