Pairwise coprime odd , (replacement for HvdH Lemma 5.1)
ProvedIntMul.HvdH.coprime_paramsinteger-multiplicationnumber-theory
Let , , and let be even with . Put and for , for . Then there are odd, pairwise coprime natural numbers with
This is exactly what Harvey–van der Hoeven need from the primes of Lemma 5.1 in §5.1 (condition (5.11)). Oddness gives for powers of two , and pairwise coprimality is what the Agarwal–Cooley step needs. The proof uses no prime number theory: the have the form with and all . In the paper's setting , which is far larger than the hypothesis needs.
Formalization note. The interval conditions are stated in integers: .
Preamble
import Mathlib
Formal statement
namespace IntMul.HvdH
theorem coprime_params (d d' r : ℕ) (hd : 1 ≤ d) (hd' : d' ≤ d) (hr : 2 ∣ r)
(hbig : 64 * d ^ 2 * (256 * d ^ 2).factorial ≤ r) :
∃ s : Fin d → ℕ, (∀ i, Odd (s i)) ∧ (∀ i j, i ≠ j → Nat.Coprime (s i) (s j)) ∧
∀ i : Fin d, (4 * d - 2) * (if (i : ℕ) < d' then r / 2 else r) < 4 * d * s i ∧
4 * d * s i ≤ (4 * d - 1) * (if (i : ℕ) < d' then r / 2 else r) := by sorry
end IntMul.HvdHSource
Harvey, van der Hoeven, Integer multiplication in time O(n log n), Annals of Math. 193 (2021), https://hal.science/hal-02070778, Section 5.1 (Lemma 5.1 and condition (5.11)); elementary replacement