Commit 2024-09-17 07:27 e4699dfe
View on Github →feat(Order/WellFounded): Generalize StrictMono.id_le
(#16706)
This PR does the following:
- We merge
StrictMono.id_le
with its previously existing proof for a well-founded linear order, and use theWellFoundedLT
typeclass rather than having aWellFounded (· < ·)
argument. - We rename
eq_strictMono_iff_eq_range
to the more idiomaticStrictMono.range_inj
and golf it slightly by usingSet.InjOn
. - We prove order duals of these theorems.