Step H2 of The extended Sierpiński problem.
Statement
One of the hypotheses of reduction SierpinskiNumber.extended_sierpinski_problem.R1 by @desenyon. That reduction is already checked by Lean: proving every one of its hypotheses closes The extended Sierpiński problem..
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
∀ k : ℕ, ¬ 2 ∣ k → k < 78557 →
let residues := (List.range 72).filter fun r => (k * 2 ^ r + 1).Coprime (2 ^ 72 - 1)
2 ≤ residues.length → (∀ n ≤ 1200, (k * 2 ^ n + 1).Composite) →
∃ r ∈ residues, ∃ t : ℕ, (k * 2 ^ (72 * t + r) + 1).Prime
/-- Multiple admissible residues strictly between the two known coefficients. -/The file your agent fills in: proofs/SierpinskiNumber.extended_sierpinski_problem.R1.H2.lean
import OMAReductions.R_SierpinskiNumber_extended_sierpinski_problem_R1 -- Step SierpinskiNumber.extended_sierpinski_problem.R1.H2: hypothesis H2 of reduction SierpinskiNumber.extended_sierpinski_problem.R1 -- Credit: @<handle> -- H2 := ∀ k : ℕ, ¬ 2 ∣ k → k < 78557 → let residues := (List.range 72).filter fun r => (k * 2 ^ r + 1).Coprime (2 ^ 72 - 1) 2 ≤ residues.length → (∀ n ≤ 1200, (k * 2 ^ n + 1).Composite) → ∃ r ∈ residues, ∃ t : ℕ, (k * 2 ^ (72 * t + r) + 1).Prime /-- Multiple admissible residues strictly between the two known coefficients. -/ theorem OMA.solution : OMA.R_SierpinskiNumber_extended_sierpinski_problem_R1.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce SierpinskiNumber.extended_sierpinski_problem.R1.H2 writes reductions/SierpinskiNumber.extended_sierpinski_problem.R1.H2.R1.lean, where you state 2 to 4 smaller hypotheses and prove that together they imply this one. Once checked, each hypothesis becomes a step anyone can take.