Erdős Problem #137: shared g-independent base layer #
This file collects the low-level, g-independent helpers shared by every block route
(JointFiniteness g = 3, SpliceFiniteness g = 5, and the parametric BlockFramework).
It sits directly above Finiteness and below BlockFramework, so the generic framework and the
concrete g = 3, 5 instances all derive from one base.
Two groups of helpers live here:
- Block-tiling / radical algebra (from the old
JointFiniteness): the multiplicativity ofF(F_add,F_dvd_F_add), the radical's prime support and factorization (rad_dvd_self,primeFactors_rad,factorization_rad,rad_dvd_rad_of_dvd), the elementary size boundsle_F,le_F',pow_le_F, the interval-divisor counts (Ioc_dvd_count,Ioc_dvd_le), and the Legendrei = 1termdiv_le_factorization_factorial. - The smooth/rough split (from the old
SmoothRefinement): the primorial-type quantitiesP,L, the splitSsmooth/Rrough, and the smooth refinementrad (F k n) ^ 2 * L k ≤ F k n * P k ^ 2(smooth_refinement).
None of these mentions any block length g (or the concrete B/W/overlap of a route), so they
are proved once here and reused verbatim downstream.
Basic facts about F and block tilings #
The radical's prime support and factorization (general facts) #
The prime support of rad m is exactly m.primeFactors (for m ≠ 0).
General fact: rad m is squarefree, so (rad m).factorization p = 1 if
p ∈ m.primeFactors, else 0.
Elementary size bounds on F k n #
Counting multiples of a prime in an interval (for the overlap bound) #
For a prime p, ⌊k/p⌋ ≤ (k!).factorization p (the i = 1 term of Legendre's formula).
P k = ∏_{p ∈ primesBelow k} p — the product of the primes < k (the primorial of k).
Equations
- Erdos137.P k = ∏ p ∈ k.primesBelow, p
Instances For
L k = ∏_{p ∈ primesBelow k} p ^ (k / p) — the smooth-part lower bound (L ∣ k! by Legendre,
L = (k!)^{1-o(1)}).
Equations
- Erdos137.L k = ∏ p ∈ k.primesBelow, p ^ (k / p)
Instances For
P k ≤ 4 ^ k (Mathlib's primorial_le_four_pow; primesBelow k are the primes ≤ k - 1,
a subset of the primes counted by primorial k).
The smooth/rough split of F k n #
The smooth part S k n = ∏_{p | F, p < k} p ^ v_p(F).
Equations
- Erdos137.Ssmooth k n = ∏ p ∈ (Erdos137.F k n).primeFactors with p < k, p ^ (Erdos137.F k n).factorization p
Instances For
The rough part R k n = ∏_{p | F, ¬ p < k} p ^ v_p(F).
Equations
- Erdos137.Rrough k n = ∏ p ∈ (Erdos137.F k n).primeFactors with ¬p < k, p ^ (Erdos137.F k n).factorization p
Instances For
Bound on the smooth radical: rad(S)^2 ≤ P^2 #
∏_{p | F, p < k} p ∣ P k: the smooth prime factors are a subset of primesBelow k.
∏_{p | F, p < k} p ≤ P k.
Bound on the rough part: ∏_{p | F, ¬ p<k} p^2 ≤ R (powerful) #
The smooth lower bound: L ∣ S and L ≤ S #
We need v_p(F) ≥ ⌊k/p⌋ for every prime p < k. Among the k consecutive integers
n, …, n+k-1 (the multiset (n-1, n-1+k] shifted), at least ⌊k/p⌋ are divisible by p, and
each such factor contributes at least 1 to v_p(F).
The count of multiples of p among the k consecutive integers n, …, n+k-1 is at least
⌊k/p⌋. Stated via the exact Ioc count:
#{x ∈ (n-1, n-1+k] | p ∣ x} = (n-1+k)/p − (n-1)/p ≥ k/p.
rad (F k n) factored through the smooth/rough split #
rad (F k n) = (∏_{p|F, p<k} p) · (∏_{p|F, ¬p<k} p).
The smooth refinement #
Smooth-part radical refinement. For n ≥ 1 and a powerful F k n,
rad (F k n) ^ 2 * L k ≤ F k n * P k ^ 2. Equivalently rad(F)^2 ≤ (P^2 / L) · F; this sharpens
the crude rad(F)^2 ≤ F (powerful_rad_sq_le) by the smooth gain L.