Commit 2021-08-18 21:30 23cf025c
View on Github →feat(algebra/ordered_sub): define truncated subtraction in general (#8503)
- Define and prove properties of truncated subtraction in general
- We currently only instantiate it for
nat
. The other types (multiset
,finsupp
,nnreal
,ennreal
, ...) will be in future PRs. Todo in future PRs: - Provide
has_ordered_sub
instances for all specific cases - Remove the lemmas specific to each individual type