The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V12. Number theory

Mathlib.NumberTheory.Padics.PadicVal.Basic

82 declarations and 42 deprecated aliases. Mathlib docs · Source

p-adic Valuation

This file defines the p-adic valuation on ℕ, ℤ, and ℚ.

The p-adic valuation on ℚ is the difference of the multiplicities of p in the numerator and denominator of q. This function obeys the standard properties of a valuation, with the appropriate assumptions on p. The p-adic valuations on ℕ and ℤ agree with that on ℚ.

The valuation induces a norm on ℚ. This norm is defined in Mathlib/NumberTheory/Padics/PadicNorm.lean.

Notation

This file uses the local notation /. for Rat.mk.

Implementation notes

Much, but not all, of this file assumes that p is prime. This assumption is inferred automatically by taking [Fact p.Prime] as a type class argument.

Calculations with p-adic valuations

  • multiplicity_factorial: Legendre's Theorem. The p-adic valuation of n! is the sum of the quotients n / p ^ i. This sum is expressed over the finset Ico 1 b where b is any bound greater than log p n.

  • Nat.Prime.sub_one_mul_multiplicity_factorial: Legendre's Theorem. Taking (p - 1) times the p-adic valuation of n! equals n minus the sum of base p digits of n.

  • multiplicity_choose: Kummer's Theorem. The p-adic valuation of n.choose k is the number of carries when k and n - k are added in base p. This sum is expressed over the finset Ico 1 b where b is any bound greater than log p n.

  • sub_one_mul_multiplicity_choose_eq_sub_sum_digits: Kummer's Theorem. Taking (p - 1) times the p-adic valuation of the binomial n over k equals the sum of the digits of k plus the sum of the digits of n - k minus the sum of digits of n, all base p.

References

Tags

p-adic, p adic, padic, norm, valuation

theorem Nat.multiplicity_dvd_of_ne_zero E1 #

∀ {p n : ℕ}, multiplicity p n ≠ 0 → p ∣ n

def padicValInt E1 #

ℕ → ℤ → ℕ

For p ≠ 1, the p-adic valuation of an integer z ≠ 0 is the largest natural number k such that p^k divides z. If x = 0 or p = 1, then padicValInt p q defaults to 0.

theorem padicValInt.of_ne_one_ne_zero E1 #

∀ {p : ℕ} {z : ℤ}, padicValInt p z = multiplicity (↑p) z

theorem padicValInt.zero E0 #

∀ {p : ℕ}, padicValInt p 0 = 0

padicValInt p 0 is 0 for any p.

theorem padicValInt.one E0 #

∀ {p : ℕ}, padicValInt p 1 = 0

padicValInt p 1 is 0 for any p.

theorem padicValInt.of_nat E0 #

∀ {p n : ℕ}, padicValInt p ↑n = multiplicity p n

The p-adic value of a natural is its p-adic value as an integer.

theorem padicValInt.self E1 #

∀ {p : ℕ}, 1 < p → padicValInt p ↑p = 1

If p ≠ 0 and p ≠ 1, then padicValInt p p is 1.

def padicValRat E1 #

ℕ → ℚ → ℤ

padicValRat defines the valuation of a rational q to be the valuation of q.num minus the valuation of q.den. If q = 0 or p = 1, then padicValRat p q defaults to 0.

theorem padicValRat_def E0 #

∀ (p : ℕ) (q : ℚ), padicValRat p q = ↑(padicValInt p q.num) - ↑(multiplicity p q.den)

theorem padicValRat.neg E0 #

∀ {p : ℕ} (q : ℚ), padicValRat p (-q) = padicValRat p q

padicValRat p q is symmetric in q.

theorem padicValRat.zero E0 #

∀ {p : ℕ}, padicValRat p 0 = 0

padicValRat p 0 is 0 for any p.

theorem padicValRat.one E0 #

∀ {p : ℕ}, padicValRat p 1 = 0

padicValRat p 1 is 0 for any p.

theorem padicValRat.of_int E0 #

∀ {p : ℕ} {z : ℤ}, padicValRat p ↑z = ↑(padicValInt p z)

The p-adic value of an integer z ≠ 0 is its p-adic value as a rational.

theorem padicValRat.of_int_multiplicity E1 #

∀ {p : ℕ} {z : ℤ}, padicValRat p ↑z = ↑(multiplicity (↑p) z)

The p-adic value of an integer z ≠ 0 is the multiplicity of p in z.

theorem padicValRat.multiplicity_sub_multiplicity E1 #

∀ {p : ℕ} {q : ℚ}, padicValRat p q = ↑(multiplicity (↑p) q.num) - ↑(multiplicity p q.den)

theorem padicValRat.of_nat E0 #

∀ {p n : ℕ}, padicValRat p ↑n = ↑(multiplicity p n)

The p-adic value of an integer z ≠ 0 is its p-adic value as a rational.

theorem padicValRat.self E1 #

∀ {p : ℕ}, 1 < p → padicValRat p ↑p = 1

If p ≠ 0 and p ≠ 1, then padicValRat p p is 1.

theorem zero_le_padicValRat_of_nat E1 #

∀ {p : ℕ} (n : ℕ), 0 ≤ padicValRat p ↑n

theorem padicValRat_of_nat E1 #

∀ {p : ℕ} (n : ℕ), ↑(multiplicity p n) = padicValRat p ↑n

padicValRat coincides with multiplicity.

theorem Nat.Prime.multiplicity_self E0 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)], multiplicity p p = 1

theorem one_le_multiplicity_of_dvd E1 #

∀ {p n : ℕ} [hp : Fact (Nat.Prime p)], n ≠ 0 → p ∣ n → 1 ≤ multiplicity p n

theorem dvd_iff_multiplicity_ne_zero E1 #

∀ {p n : ℕ} [Fact (Nat.Prime p)], n ≠ 0 → (p ∣ n ↔ multiplicity p n ≠ 0)

theorem padicValRat.finite_int_prime_iff E0 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {a : ℤ}, FiniteMultiplicity (↑p) a ↔ a ≠ 0

The multiplicity of p : ℕ in a : ℤ is finite exactly when a ≠ 0.

theorem padicValRat.defn E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] {q : ℚ} {n d : ℤ},
  q ≠ 0 → q = Rat.divInt n d → padicValRat p q = ↑(multiplicity (↑p) n) - ↑(multiplicity (↑p) d)

A rewrite lemma for padicValRat p q when q is expressed in terms of Rat.mk.

theorem padicValRat.mul E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {q r : ℚ}, q ≠ 0 → r ≠ 0 → padicValRat p (q * r) = padicValRat p q + padicValRat p r

A rewrite lemma for padicValRat p (q * r) with conditions q ≠ 0, r ≠ 0.

theorem padicValRat.pow E0 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (q : ℚ) {k : ℕ}, padicValRat p (q ^ k) = ↑k * padicValRat p q

A rewrite lemma for padicValRat p (q^k).

theorem padicValRat.inv E0 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (q : ℚ), padicValRat p q⁻¹ = -padicValRat p q

A rewrite lemma for padicValRat p (q⁻¹).

theorem padicValRat.zpow E0 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (q : ℚ) {k : ℤ}, padicValRat p (q ^ k) = k * padicValRat p q

theorem padicValRat.div E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {q r : ℚ}, q ≠ 0 → r ≠ 0 → padicValRat p (q / r) = padicValRat p q - padicValRat p r

A rewrite lemma for padicValRat p (q / r) with conditions q ≠ 0, r ≠ 0.

theorem padicValRat.padicValRat_le_padicValRat_iff E0 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {n₁ n₂ d₁ d₂ : ℤ},
  n₁ ≠ 0 →
    n₂ ≠ 0 →
      d₁ ≠ 0 →
        d₂ ≠ 0 →
          (padicValRat p (Rat.divInt n₁ d₁) ≤ padicValRat p (Rat.divInt n₂ d₂) ↔
            ∀ (n : ℕ), ↑p ^ n ∣ n₁ * d₂ → ↑p ^ n ∣ n₂ * d₁)

A condition for padicValRat p (n₁ / d₁) ≤ padicValRat p (n₂ / d₂), in terms of divisibility by p^n.

theorem padicValRat.le_padicValRat_add_of_le E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {q r : ℚ},
  q + r ≠ 0 → padicValRat p q ≤ padicValRat p r → padicValRat p q ≤ padicValRat p (q + r)

Sufficient conditions to show that the p-adic valuation of q is less than or equal to the p-adic valuation of q + r.

theorem padicValRat.min_le_padicValRat_add E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {q r : ℚ},
  q + r ≠ 0 → min (padicValRat p q) (padicValRat p r) ≤ padicValRat p (q + r)

The minimum of the valuations of q and r is at most the valuation of q + r.

theorem padicValRat.add_eq_min E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {q r : ℚ},
  q + r ≠ 0 →
    q ≠ 0 → r ≠ 0 → padicValRat p q ≠ padicValRat p r → padicValRat p (q + r) = min (padicValRat p q) (padicValRat p r)

Ultrametric property of a p-adic valuation.

theorem padicValRat.add_eq_of_lt E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {q r : ℚ},
  q + r ≠ 0 → q ≠ 0 → r ≠ 0 → padicValRat p q < padicValRat p r → padicValRat p (q + r) = padicValRat p q

theorem padicValRat.lt_add_of_lt E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {q r₁ r₂ : ℚ},
  r₁ + r₂ ≠ 0 →
    padicValRat p q < padicValRat p r₁ → padicValRat p q < padicValRat p r₂ → padicValRat p q < padicValRat p (r₁ + r₂)

theorem padicValRat.self_pow_inv E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (r : ℕ), padicValRat p (↑p ^ r)⁻¹ = -↑r

theorem padicValRat.sum_pos_of_pos E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {n : ℕ} {F : ℕ → ℚ},
  (∀ i < n, 0 < padicValRat p (F i)) → ∑ i ∈ Finset.range n, F i ≠ 0 → 0 < padicValRat p (∑ i ∈ Finset.range n, F i)

A finite sum of rationals with positive p-adic valuation has positive p-adic valuation (if the sum is non-zero).

theorem padicValRat.lt_sum_of_lt E1 #

∀ {p j : ℕ} [hp : Fact (Nat.Prime p)] {F : ℕ → ℚ} {S : Finset ℕ},
  S.Nonempty →
    (∀ i ∈ S, padicValRat p (F j) < padicValRat p (F i)) →
      (∀ (i : ℕ), 0 < F i) → padicValRat p (F j) < padicValRat p (∑ i ∈ S, F i)

If the p-adic valuation of a finite set of positive rationals is greater than a given rational number, then the p-adic valuation of their sum is also greater than the same rational number.

theorem Rat.num_or_den_zero_padicVal E1 #

∀ (a : ℚ) {p : ℕ}, Nat.Prime p → padicValInt p a.num = 0 ∨ multiplicity p a.den = 0

The numerator or denominator of a rational number has zero p-adic valuation.

theorem Rat.num_den_even_padicVal_of_even_padicVal E1 #

∀ {a : ℚ} {p : ℕ}, Nat.Prime p → Even (padicValRat p a) → Even (padicValInt p a.num) ∧ Even (multiplicity p a.den)

The numerator and denominator of a rational number with even p-adic valuation also have even p-adic valuation.

theorem Rat.isSquare_iff_even_factorization E1 #

∀ {a : ℚ}, IsSquare a ↔ 0 ≤ a ∧ ∀ (p : ℕ), Nat.Prime p → Even (padicValRat p a)

A rational number is a square if and only if it is nonnegative, and has even p-adic valuation for all p.

theorem Nat.multiplicity_mul E1 #

∀ {p a b : ℕ} [hp : Fact (Nat.Prime p)], a ≠ 0 → b ≠ 0 → multiplicity p (a * b) = multiplicity p a + multiplicity p b

A rewrite lemma for multiplicity p (a * b) with conditions a ≠ 0, b ≠ 0.

theorem Nat.multiplicity_div_of_dvd E1 #

∀ {p a b : ℕ} [hp : Fact (Nat.Prime p)], b ∣ a → multiplicity p (a / b) = multiplicity p a - multiplicity p b

theorem Nat.multiplicity_div E1 #

∀ {p b : ℕ} [hp : Fact (Nat.Prime p)], p ∣ b → multiplicity p (b / p) = multiplicity p b - 1

Dividing out by a prime factor reduces the multiplicity by 1.

theorem Nat.multiplicity_pow E0 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (a n : ℕ), multiplicity p (a ^ n) = n * multiplicity p a

A version of padicValRat.pow for multiplicity.

theorem Nat.multiplicity_prime_pow E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (n : ℕ), multiplicity p (p ^ n) = n

theorem Nat.multiplicity_div_pow E1 #

∀ {p a b : ℕ} [hp : Fact (Nat.Prime p)], p ^ a ∣ b → multiplicity p (b / p ^ a) = multiplicity p b - a

theorem Nat.multiplicity_div' E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {m : ℕ}, p.Coprime m → ∀ {b : ℕ}, m ∣ b → multiplicity p (b / m) = multiplicity p b

theorem dvd_of_one_le_multiplicity E1 #

∀ {p n : ℕ}, 1 ≤ multiplicity p n → p ∣ n

theorem multiplicity_dvd_iff_le E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {a n : ℕ}, a ≠ 0 → (p ^ n ∣ a ↔ n ≤ multiplicity p a)

theorem multiplicity_dvd_iff_of_ne_one E1 #

∀ {p : ℕ}, p ≠ 1 → ∀ (n a : ℕ), p ^ n ∣ a ↔ a = 0 ∨ n ≤ multiplicity p a

theorem multiplicity_dvd_iff E0 #

∀ {p : ℕ} (n : ℕ) [hp : Fact (Nat.Prime p)] (a : ℕ), p ^ n ∣ a ↔ a = 0 ∨ n ≤ multiplicity p a

theorem pow_succ_multiplicity_not_dvd E1 #

∀ {p n : ℕ} [hp : Fact (Nat.Prime p)], n ≠ 0 → ¬p ^ (multiplicity p n + 1) ∣ n

theorem multiplicity_primes E1 #

∀ {p q : ℕ} [hp : Fact (Nat.Prime p)] [hq : Fact (Nat.Prime q)], p ≠ q → multiplicity p q = 0

theorem multiplicity_prime_prime_pow E1 #

∀ {p q : ℕ} [hp : Fact (Nat.Prime p)] [hq : Fact (Nat.Prime q)] (n : ℕ), p ≠ q → multiplicity p (q ^ n) = 0

theorem multiplicity_mul_pow_left E1 #

∀ {p q : ℕ} [hp : Fact (Nat.Prime p)] [hq : Fact (Nat.Prime q)] (n m : ℕ), p ≠ q → multiplicity p (p ^ n * q ^ m) = n

theorem multiplicity_mul_pow_right E1 #

∀ {p q : ℕ} [hp : Fact (Nat.Prime p)] [hq : Fact (Nat.Prime q)] (n m : ℕ), q ≠ p → multiplicity q (p ^ n * q ^ m) = m

theorem multiplicity_le_nat_log E1 #

∀ {p : ℕ} (n : ℕ), multiplicity p n ≤ Nat.log p n

The p-adic valuation of n is less than or equal to its logarithm w.r.t. p.

theorem multiplicity_add_le_self E1 #

∀ {p a : ℕ} [hp : Fact (Nat.Prime p)], p < a → multiplicity p a + p ≤ a

theorem nat_log_eq_multiplicity_iff E0 #

∀ {p n : ℕ} [hp : Fact (Nat.Prime p)], n ≠ 0 → (Nat.log p n = multiplicity p n ↔ n < p ^ (multiplicity p n + 1))

The p-adic valuation of n is equal to the logarithm w.r.t. p iff n is less than p raised to one plus the p-adic valuation of n.

theorem Nat.log_ne_multiplicity_succ E1 #

∀ {n : ℕ}, n ≠ 0 → Nat.log 2 n ≠ multiplicity 2 (n + 1)

This is false for prime numbers other than 2: for p = 3, n = 1, one has log 3 1 = multiplicity 3 2 = 0.

theorem Nat.max_log_multiplicity_succ_eq_log_succ E1 #

∀ {p : ℕ} (n : ℕ) [hp : Fact (Nat.Prime p)], max (Nat.log p n) (multiplicity p (n + 1)) = Nat.log p (n + 1)

theorem range_pow_multiplicity_subset_divisors E1 #

∀ {p n : ℕ}, n ≠ 0 → Finset.image (fun x ↦ p ^ x) (Finset.range (multiplicity p n + 1)) ⊆ n.divisors

theorem range_pow_multiplicity_subset_divisors' E1 #

∀ {p n : ℕ} [hp : Fact (Nat.Prime p)],
  Finset.image (fun t ↦ p ^ (t + 1)) (Finset.range (multiplicity p n)) ⊆ n.divisors.erase 1

theorem multiplicity_factorial_mul E1 #

∀ {p : ℕ} (n : ℕ) [hp : Fact (Nat.Prime p)], multiplicity p (p * n).factorial = multiplicity p n.factorial + n

The p-adic valuation of (p * n)! is n more than that of n!.

theorem multiplicity_eq_zero_of_mem_Ioo E1 #

∀ {p m k : ℕ}, m ∈ Set.Ioo (p * k) (p * (k + 1)) → multiplicity p m = 0

The p-adic valuation of m equals zero if it is between p * k and p * (k + 1) for some k.

theorem multiplicity_factorial_mul_add E1 #

∀ {p n : ℕ} (m : ℕ) [hp : Fact (Nat.Prime p)],
  n < p → multiplicity p (p * m + n).factorial = multiplicity p (p * m).factorial

theorem multiplicity_mul_div_factorial E0 #

∀ {p : ℕ} (n : ℕ) [hp : Fact (Nat.Prime p)], multiplicity p (p * (n / p)).factorial = multiplicity p n.factorial

The p-adic valuation of n! is equal to the p-adic valuation of the factorial of the largest multiple of p below n, i.e. (p * ⌊n / p⌋)!.

theorem multiplicity_factorial E1 #

∀ {p n b : ℕ} [hp : Fact (Nat.Prime p)], Nat.log p n < b → multiplicity p n.factorial = ∑ i ∈ Finset.Ico 1 b, n / p ^ i

Legendre's Theorem

The p-adic valuation of n! is the sum of the quotients n / p ^ i. This sum is expressed over the finset Ico 1 b where b is any bound greater than log p n.

theorem sub_one_mul_multiplicity_factorial_lt_of_ne_zero E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] {n : ℕ}, n ≠ 0 → (p - 1) * multiplicity p n.factorial < n

theorem multiplicity_factorial_lt_of_ne_zero E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] {n : ℕ}, n ≠ 0 → multiplicity p n.factorial < n

theorem multiplicity_factorial_le E1 #

∀ (p : ℕ) [hp : Fact (Nat.Prime p)] (n : ℕ), multiplicity p n.factorial ≤ n

theorem multiplicity_choose E1 #

∀ {p n k b : ℕ} [hp : Fact (Nat.Prime p)],
  k ≤ n →
    Nat.log p n < b → multiplicity p (n.choose k) = {i ∈ Finset.Ico 1 b | p ^ i ≤ k % p ^ i + (n - k) % p ^ i}.card

Kummer's Theorem

The p-adic valuation of n.choose k is the number of carries when k and n - k are added in base p. This sum is expressed over the finset Ico 1 b where b is any bound greater than log p n.

theorem multiplicity_choose' E1 #

∀ {p n k b : ℕ} [hp : Fact (Nat.Prime p)],
  Nat.log p (n + k) < b → multiplicity p ((n + k).choose k) = {i ∈ Finset.Ico 1 b | p ^ i ≤ k % p ^ i + n % p ^ i}.card

Kummer's Theorem

The p-adic valuation of (n + k).choose k is the number of carries when k and n are added in base p. This sum is expressed over the finset Ico 1 b where b is any bound greater than log p (n + k).

theorem sub_one_mul_multiplicity_choose_eq_sub_sum_digits' E1 #

∀ {p k n : ℕ} [hp : Fact (Nat.Prime p)],
  (p - 1) * multiplicity p ((n + k).choose k) = (p.digits k).sum + (p.digits n).sum - (p.digits (n + k)).sum

Kummer's Theorem Taking (p - 1) times the p-adic valuation of the binomial n + k over k equals the sum of the digits of k plus the sum of the digits of n minus the sum of digits of n + k, all base p.

theorem sub_one_mul_multiplicity_choose_eq_sub_sum_digits E1 #

∀ {p k n : ℕ} [hp : Fact (Nat.Prime p)],
  k ≤ n → (p - 1) * multiplicity p (n.choose k) = (p.digits k).sum + (p.digits (n - k)).sum - (p.digits n).sum

Kummer's Theorem Taking (p - 1) times the p-adic valuation of the binomial n over k equals the sum of the digits of k plus the sum of the digits of n - k minus the sum of digits of n, all base p.

theorem padicValInt_dvd_iff_of_ne_one E1 #

∀ {p : ℕ}, p ≠ 1 → ∀ (n : ℕ) (a : ℤ), ↑p ^ n ∣ a ↔ a = 0 ∨ n ≤ padicValInt p a

theorem padicValInt_dvd_iff E0 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (n : ℕ) (a : ℤ), ↑p ^ n ∣ a ↔ a = 0 ∨ n ≤ padicValInt p a

theorem padicValInt_dvd E1 #

∀ {p : ℕ} (a : ℤ), ↑p ^ padicValInt p a ∣ a

theorem padicValInt_self E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)], padicValInt p ↑p = 1

theorem padicValInt.mul E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] {a b : ℤ}, a ≠ 0 → b ≠ 0 → padicValInt p (a * b) = padicValInt p a + padicValInt p b

theorem padicValInt_mul_eq_succ E1 #

∀ {p : ℕ} [hp : Fact (Nat.Prime p)] (a : ℤ), a ≠ 0 → padicValInt p (a * ↑p) = padicValInt p a + 1

Deprecated aliases

NameNew nameSince
Nat.log_ne_padicValNat_succNat.log_ne_multiplicity_succ2026-10-28
Nat.max_log_padicValNat_succ_eq_log_succNat.max_log_multiplicity_succ_eq_log_succ2026-10-28
dvd_iff_padicValNat_ne_zerodvd_iff_multiplicity_ne_zero2026-10-28
dvd_of_one_le_padicValNatdvd_of_one_le_multiplicity2026-10-28
nat_log_eq_padicValNat_iffnat_log_eq_multiplicity_iff2026-10-28
one_le_padicValNat_of_dvdone_le_multiplicity_of_dvd2026-10-28
padicValNat.divNat.multiplicity_div2026-10-28
padicValNat.div'Nat.multiplicity_div'2026-10-28
padicValNat.div_of_dvdNat.multiplicity_div_of_dvd2026-10-28
padicValNat.div_powNat.multiplicity_div_pow2026-10-28
padicValNat.dvd_of_ne_zeroNat.multiplicity_dvd_of_ne_zero2026-10-28
padicValNat.mulNat.multiplicity_mul2026-10-28
padicValNat.powNat.multiplicity_pow2026-10-28
padicValNat.prime_powNat.multiplicity_prime_pow2026-10-28
padicValNat.selfNat.multiplicity_self2026-10-28
padicValNat_add_le_selfmultiplicity_add_le_self2026-10-28
padicValNat_choosemultiplicity_choose2026-10-28
padicValNat_choose'multiplicity_choose'2026-10-28
padicValNat_dvd_iffmultiplicity_dvd_iff2026-10-28
padicValNat_dvd_iff_lemultiplicity_dvd_iff_le2026-10-28
padicValNat_dvd_iff_le_of_ne_oneNat.pow_dvd_iff_le_multiplicity2026-10-28
padicValNat_dvd_iff_of_ne_onemultiplicity_dvd_iff_of_ne_one2026-10-28
padicValNat_eq_zero_of_mem_Ioomultiplicity_eq_zero_of_mem_Ioo2026-10-28
padicValNat_factorialmultiplicity_factorial2026-10-28
padicValNat_factorial_lemultiplicity_factorial_le2026-10-28
padicValNat_factorial_lt_of_ne_zeromultiplicity_factorial_lt_of_ne_zero2026-10-28
padicValNat_factorial_mulmultiplicity_factorial_mul2026-10-28
padicValNat_factorial_mul_addmultiplicity_factorial_mul_add2026-10-28
padicValNat_le_nat_logmultiplicity_le_nat_log2026-10-28
padicValNat_mul_div_factorialmultiplicity_mul_div_factorial2026-10-28
padicValNat_mul_pow_leftmultiplicity_mul_pow_left2026-10-28
padicValNat_mul_pow_rightmultiplicity_mul_pow_right2026-10-28
padicValNat_prime_prime_powmultiplicity_prime_prime_pow2026-10-28
padicValNat_primesmultiplicity_primes2026-10-28
padicValNat_selfNat.Prime.multiplicity_self2026-10-28
pow_succ_padicValNat_not_dvdpow_succ_multiplicity_not_dvd2026-10-28
range_pow_padicValNat_subset_divisorsrange_pow_multiplicity_subset_divisors2026-10-28
range_pow_padicValNat_subset_divisors'range_pow_multiplicity_subset_divisors'2026-10-28
sub_one_mul_padicValNat_choose_eq_sub_sum_digitssub_one_mul_multiplicity_choose_eq_sub_sum_digits2026-10-28
sub_one_mul_padicValNat_choose_eq_sub_sum_digits'sub_one_mul_multiplicity_choose_eq_sub_sum_digits'2026-10-28
sub_one_mul_padicValNat_factorialNat.Prime.sub_one_mul_multiplicity_factorial2026-10-28
sub_one_mul_padicValNat_factorial_lt_of_ne_zerosub_one_mul_multiplicity_factorial_lt_of_ne_zero2026-10-28