The rough part of a number #
A candidate for Mathlib.NumberTheory.SmoothNumbers: the part w of a number n at the primes
from q on, n = k w with a q-smooth k (Nat.smoothNumbers) and a q-rough w, all of
whose prime factors are at least q. It is the product of the prime factors of n ≠ 0 from q
on, and dividing the part at the primes from the prime p on by the power of p leaves the part
from p + 1 on, which is the part from the next prime on. Mathlib's Nat.roughNumbersUpTo says
"rough" for "not smooth", a different notion.
Main definitions #
Nat.IsRoughPart: the part of a number at the primes from a bound on.
Main statements #
Nat.IsRoughPart.eq_prod_filter: the part ofn ≠ 0at the primes fromqon is the product of its prime factors fromqon.Nat.IsRoughPart.succ,Nat.IsRoughPart.of_le_of_forall: the part at the primes from the next prime on.
w is the part of n at the primes from q on, its q-rough part: n = k w with a
q-smooth k (every prime factor of k below q) and every prime factor of w at least q;
for n ≠ 0 it is the product of the prime factors of n from q on, with multiplicity
(Nat.IsRoughPart.eq_prod_filter).
Equations
- q.IsRoughPart n w = ∃ k ∈ q.smoothNumbers, n = k * w ∧ ∀ (p : ℕ), Nat.Prime p → p ∣ w → q ≤ p
Instances For
The part of n ≠ 0 at the primes from q on is the product of its prime factors from q on,
with multiplicity.
Dividing the part p ^ v m, p ∤ m, of n at the primes from the prime p on by p ^ v
leaves the part of n at the primes from p + 1 on.
The part of n at the primes from q on is its part from q' ≥ q on when no prime lies
between them.