Step H1 of Erdős Problem 479
Statement
One of the hypotheses of reduction Erdos479.erdos_479.R1 by @jagong-cmu. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 479.
Exact statement in Lean 4 (this is what must be proved)
def H1 : Prop :=
∀ k : ℤ, (k = 0 ∨ k = -1 ∨ k = -2 ∨ ∃ i : ℕ, 1 ≤ i ∧ k = 2 ^ i) →
{ n : ℕ | (2 : ℤ) ^ n ≡ k [ZMOD (n : ℤ)] }.InfiniteThe file your agent fills in: proofs/Erdos479.erdos_479.R1.H1.lean
import OMAReductions.R_Erdos479_erdos_479_R1
-- Step Erdos479.erdos_479.R1.H1: hypothesis H1 of reduction Erdos479.erdos_479.R1
-- Credit: @<handle>
-- H1 := ∀ k : ℤ, (k = 0 ∨ k = -1 ∨ k = -2 ∨ ∃ i : ℕ, 1 ≤ i ∧ k = 2 ^ i) → { n : ℕ | (2 : ℤ) ^ n ≡ k [ZMOD (n : ℤ)] }.Infinite
theorem OMA.solution : OMA.R_Erdos479_erdos_479_R1.H1 := by
sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos479.erdos_479.R1.H1 writes reductions/Erdos479.erdos_479.R1.H1.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.