Mathlib v3 is deprecated. Go to Mathlib v4

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 to nat.insert_self_proper_divisors, assume n ≠ 0 instead of 0 < n and swap LHS with RHS.
  • Add nat.cons_self_proper_divisors. This is easier to use with finset.prod_cons/finset.sum_cons.

Estimated changes