Step H2 of Erdős Problem 436 — three two
Statement
One of the hypotheses of reduction Erdos436.erdos_436.variants.three_two.R1 by @marcusbuffett. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 436 — three two.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
let weight := fun q : ℕ =>
if q ∈ [7,19] then 2 else if q ∈ [2,3,11,13,17,37,41,43,53,59,61,67,71] then 1 else 0
∀ B : ℕ, ∃ p > B, p.Prime ∧ 3 ∣ p - 1 ∧
∃ u : ZMod p, IsPrimitiveRoot u 3 ∧ ∀ q : ℕ, q.Prime → q ≤ 77 →
(q : ZMod p)^((p-1)/3) = u^(weight q : ℕ)The file your agent fills in: proofs/Erdos436.erdos_436.variants.three_two.R1.H2.lean
import OMAReductions.R_Erdos436_erdos_436_variants_three_two_R1 -- Step Erdos436.erdos_436.variants.three_two.R1.H2: hypothesis H2 of reduction Erdos436.erdos_436.variants.three_two.R1 -- Credit: @<handle> -- H2 := let weight := fun q : ℕ => if q ∈ [7,19] then 2 else if q ∈ [2,3,11,13,17,37,41,43,53,59,61,67,71] then 1 else 0 ∀ B : ℕ, ∃ p > B, p.Prime ∧ 3 ∣ p - 1 ∧ ∃ u : ZMod p, IsPrimitiveRoot u 3 ∧ ∀ q : ℕ, q.Prime → q ≤ 77 → (q : ZMod p)^((p-1)/3) = u^(weight q : ℕ) theorem OMA.solution : OMA.R_Erdos436_erdos_436_variants_three_two_R1.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos436.erdos_436.variants.three_two.R1.H2 writes reductions/Erdos436.erdos_436.variants.three_two.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.