Pairwise coprime odd numbers in short windows
ProvedJ6Sieve.exists_coprime_in_windowscomplexity-theoryinteger-multiplicationkappa-improvement
Let and let be natural numbers with . If exceeds the explicit sieve bound , then one can choose odd numbers with that are pairwise coprime:
The numbers serve as pairwise coprime moduli for the CRT steps of the round-six stack; the proof is a Brun pure sieve combined with a greedy choice.
In Lean:
theorem J6Sieve.exists_coprime_in_windows (d X H : ℕ) (A : Fin d → ℕ) (hA : ∀ i, A i + H ≤ X)
(hH : sieveBound d X < H) :
∃ s : Fin d → ℕ, (∀ i, Odd (s i) ∧ A i < s i ∧ s i ≤ A i + H) ∧
Pairwise (fun i j => Nat.Coprime (s i) (s j))
Formalization Note. Part of the Lean formalization of the round-six κ-improvement (integer-multiplication-kappa campaign, target IntMul.Kappa.jain_round6_framework). The statement is copied verbatim from the Lean development; the platform node carries the same declaration name. Definitions it mentions live in the IntMul_Kappa_R6_Defs* bundles (on top of the published κ bundles IntMul_Kappa_K_Defs*).
Preamble
-- Round-six κ development (integer-multiplication-kappa), generated by skeleton subtraction. import Definitions.Def_IntMul_Kappa_R6_Defs1 set_option autoImplicit false set_option relaxedAutoImplicit false set_option maxHeartbeats 1000000 open J6Sieve open Finset
Formal statement
theorem J6Sieve.exists_coprime_in_windows (d X H : ℕ) (A : Fin d → ℕ) (hA : ∀ i, A i + H ≤ X)
(hH : sieveBound d X < H) :
∃ s : Fin d → ℕ, (∀ i, Odd (s i) ∧ A i < s i ∧ s i ≤ A i + H) ∧
Pairwise (fun i j => Nat.Coprime (s i) (s j)) := by sorrySource
S. Jain, round-six networks for the integer-multiplication κ-improvement campaign (https://github.com/Swapnil-jain/integer-mult-kappa, commit 5868dc7) and D. Colkitt, integer-mult-bounds (https://github.com/CrocSwap/integer-mult-bounds); target `IntMul.Kappa.jain_round6_framework`. Lean declaration `J6Sieve.exists_coprime_in_windows`, Solutions/J6Sieve.lean (lines 77–93) of the round-six development.