Commit 2021-10-25 17:42 312db88b
View on Github →feat(*): use ordered_sub instead of nat.sub lemmas (#9855)
- For all
nat.sublemmas in core, prefer to use thehas_ordered_subversion. - Most lemmas have an identical version for
has_ordered_sub. In some cases we only have the symmetric version. - Make arguments to
tsub_add_eq_tsub_tsubandtsub_add_eq_tsub_tsub_swapexplicit - Rename
add_tsub_add_right_eq_tsub -> add_tsub_add_eq_tsub_right(for consistency with the_leftversion) - Rename
sub_mul' -> tsub_mulandmul_sub' -> mul_tsub(these were forgotten in #9793) - Many of the fixes are to fix the identification of
n < mandn.succ \le m. - Add projection notation
h.nat_succ_lefornat.succ_le_of_lt h.