Commit 2023-01-16 01:14 b13c1a07
View on Github →feat(number_theory/divisors): add nat.cons_self_proper_divisors
(#18176)
- Rename
nat.divisors_eq_proper_divisors_insert_self_of_pos
tonat.insert_self_proper_divisors
, assumen ≠ 0
instead of0 < n
and swap LHS with RHS. - Add
nat.cons_self_proper_divisors
. This is easier to use withfinset.prod_cons
/finset.sum_cons
.