Multiplicity in Number Theory #
This file contains results in number theory relating to multiplicity.
Main statements #
multiplicity.Int.pow_sub_powis the lifting the exponent lemma for odd primes. We also prove several variations of the lemma.
References #
@[deprecated Int.sq_emod_four_eq_one_of_odd (since := "2026-08-12")]
Alias of Int.sq_emod_four_eq_one_of_odd.
theorem Int.two_pow_sub_pow {x y : ℤ} {n : ℕ} (hxy : 2 ∣ x - y) (hx : ¬2 ∣ x) (hn : Even n) :
emultiplicity 2 (x ^ n - y ^ n) + 1 = emultiplicity 2 (x + y) + emultiplicity 2 (x - y) + emultiplicity 2 ↑n
Lifting the exponent lemma for p = 2
theorem Nat.two_pow_sub_pow {x y : ℕ} (hxy : 2 ∣ x - y) (hx : ¬2 ∣ x) {n : ℕ} (hn : Even n) :
emultiplicity 2 (x ^ n - y ^ n) + 1 = emultiplicity 2 (x + y) + emultiplicity 2 (x - y) + emultiplicity 2 n
theorem Nat.multiplicity_pow_two_sub_pow {x y : ℕ} (hyx : y < x) (hxy : 2 ∣ x - y) (hx : ¬2 ∣ x) {n : ℕ} (hn : n ≠ 0) (hneven : Even n) :
multiplicity 2 (x ^ n - y ^ n) + 1 = multiplicity 2 (x + y) + multiplicity 2 (x - y) + multiplicity 2 n
@[deprecated Nat.multiplicity_pow_two_sub_pow (since := "2026-10-28")]
theorem padicValNat.pow_two_sub_pow {x y : ℕ} (hyx : y < x) (hxy : 2 ∣ x - y) (hx : ¬2 ∣ x) {n : ℕ} (hn : n ≠ 0) (hneven : Even n) :
multiplicity 2 (x ^ n - y ^ n) + 1 = multiplicity 2 (x + y) + multiplicity 2 (x - y) + multiplicity 2 n
Alias of Nat.multiplicity_pow_two_sub_pow.
@[deprecated Nat.multiplicity_pow_two_sub_one (since := "2026-10-28")]
theorem padicValNat.pow_two_sub_one {x n : ℕ} (h1x : 1 < x) (hx : ¬2 ∣ x) (hn : n ≠ 0) (hneven : Even n) :
Alias of Nat.multiplicity_pow_two_sub_one.
@[deprecated Nat.multiplicity_pow_two_sub_one_ge (since := "2026-10-28")]
theorem padicValNat.pow_two_sub_one_ge {n x : ℕ} (h1x : 1 < x) (hx : ¬2 ∣ x) (hn : n ≠ 0) (hneven : Even n) :
Alias of Nat.multiplicity_pow_two_sub_one_ge.