Zulip Chat Archive
Stream: mathlib4
Topic: Help with Mathlib.Order.Interval.Finset.Defs
Kim Morrison (Mar 02 2025 at 22:35):
docs#WithTop.locallyFiniteOrder uses in its proofs deprecated lemmas such as docs#WithTop.some_le_some. Would anyone be interested in cleaning this up so we can finish removing the deprecated lemmas?
Kim Morrison (Mar 02 2025 at 22:35):
Pinging @Yaël Dillies as the author of the file, but Yael is often very busy so hopefully anyone interested will take a look!
Ruben Van de Velde (Mar 02 2025 at 22:59):
I've got half a fix
Ruben Van de Velde (Mar 02 2025 at 23:05):
So is it unsafe to tag deprecated lemmas with simp, because we won't notice they're used?
Ruben Van de Velde (Mar 02 2025 at 23:06):
Ruben Van de Velde (Mar 02 2025 at 23:16):
@Kim Morrison with a bit of luck, that'll build now. I have no more time right now, so feel free to take over
Kim Morrison (Mar 03 2025 at 01:05):
Ruben Van de Velde said:
So is it unsafe to tag deprecated lemmas with simp, because we won't notice they're used?
Yes, ideally @[simp]
would be removed at the same time lemmas are deprecated. This is something for reviewers to watch out for.
We could, in fact, lint for this. Any takers? :-)
Paul Lezeau (Mar 16 2025 at 20:45):
Kim Morrison said:
Ruben Van de Velde said:
So is it unsafe to tag deprecated lemmas with simp, because we won't notice they're used?
Yes, ideally
@[simp]
would be removed at the same time lemmas are deprecated. This is something for reviewers to watch out for.We could, in fact, lint for this. Any takers? :-)
I’d be happy to look into this :-)
Last updated: May 02 2025 at 03:31 UTC