Commit 2026-11-01 22:20 16b5a1ba

View on Github →

refactor: replace padicValNat with multiplicity (#43722) This doesn't fully deprecate padicValNat, but gets most of the way there. Full deprecation will be in a follow-up PR. I directly replaced "padicValNat" with "multiplicity" in the declaration names. A few declarations of the form padicValNat.foo were manually renamed to Nat.multiplicity_foo.

Estimated changes

added theorem Nat.multiplicity_div'
added theorem Nat.multiplicity_div
added theorem Nat.multiplicity_mul
added theorem Nat.multiplicity_pow
deleted theorem dvd_of_one_le_padicValNat
added theorem multiplicity_choose'
added theorem multiplicity_choose
added theorem multiplicity_dvd_iff
added theorem multiplicity_factorial
added theorem multiplicity_primes
deleted theorem one_le_padicValNat_of_dvd
modified theorem padicValInt.of_nat
modified theorem padicValInt.self
deleted def padicValInt
deleted theorem padicValNat_add_le_self
deleted theorem padicValNat_choose'
deleted theorem padicValNat_choose
deleted theorem padicValNat_dvd_iff
deleted theorem padicValNat_dvd_iff_le
deleted theorem padicValNat_factorial
deleted theorem padicValNat_factorial_le
deleted theorem padicValNat_factorial_mul
deleted theorem padicValNat_le_nat_log
deleted theorem padicValNat_mul_pow_left
deleted theorem padicValNat_mul_pow_right
deleted theorem padicValNat_primes
deleted theorem padicValNat_self
modified theorem padicValRat.of_nat
deleted def padicValRat
modified theorem padicValRat_of_nat