Commit 2024-06-01 02:58 3ecc0fed
View on Github →chore: deprecate bad lemmas about WithTop/WithBot (#13128)
Order/WithBot.lean seems to frequently confuse WithBot.some and Option.some, and some of the lemmas are strange as a result.
By teaching cases not to introduce Option.some, we no longer need these weird lemmas.
This deprecates:
List.maximum_eq_none→List.maximum_eq_botList.minimum_eq_none→List.maximum_eq_topWithBot.some_le_some→WithBot.coe_le_coeWithBot.some_lt_some→WithBot.coe_lt_coeWithBot.none_lt_some→WithBot.bot_lt_coeWithBot.not_lt_none→WithBot.not_lt_botWithBot.none_le→bot_leWithTop.some_le_some→WithTop.coe_le_coeWithTop.some_lt_some→WithTop.coe_lt_coeWithTop.some_lt_none→WithTop.coe_lt_topWithTop.not_none_lt→WithTop.not_top_ltWithTop.le_none→le_topIt's still occasionally possible to end up withOption.some a : WithTop A, but when this happens you can rewrite bysome_eq_coefirst to fix it.