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.
Alias of multiplicity_eq_emultiplicity_of_ne_one.
Alias of Nat.padicValNat_def.
A simplification of multiplicity when one input is prime, by analogy with
padicValRat_def.
Alias of multiplicity_eq_emultiplicity.
A simplification of multiplicity when one input is prime, by analogy with
padicValRat_def.
Alias of Nat.multiplicity_eq_zero_iff.
Alias of le_multiplicity_iff_replicate_subperm_primeFactorsList.
A weak upper bound on multiplicity p n.
Alias of mul_multiplicity_le.
A weak upper bound on multiplicity p n.