Step H1 of Erdős Problem 420 — i
Statement
One of the hypotheses of reduction Erdos420.erdos_420.parts.i.R1 by @jpollard-cs. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 420 — i.
Exact statement in Lean 4 (this is what must be proved)
def H1 : Prop :=
∃ A : ℕ, ∀ᶠ x : ℕ in atTop, ∃ p s : ℕ,
p.Prime ∧ 0 < s ∧ s < p ∧ s ≤ ⌊Real.log x ^ A⌋₊ ∧
x < s * p ∧ s * p ≤ x + ⌊Real.log x ^ A⌋₊The file your agent fills in: proofs/Erdos420.erdos_420.parts.i.R1.H1.lean
import OMAReductions.R_Erdos420_erdos_420_parts_i_R1 -- Step Erdos420.erdos_420.parts.i.R1.H1: hypothesis H1 of reduction Erdos420.erdos_420.parts.i.R1 -- Credit: @<handle> -- H1 := ∃ A : ℕ, ∀ᶠ x : ℕ in atTop, ∃ p s : ℕ, p.Prime ∧ 0 < s ∧ s < p ∧ s ≤ ⌊Real.log x ^ A⌋₊ ∧ x < s * p ∧ s * p ≤ x + ⌊Real.log x ^ A⌋₊ theorem OMA.solution : OMA.R_Erdos420_erdos_420_parts_i_R1.H1 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos420.erdos_420.parts.i.R1.H1 writes reductions/Erdos420.erdos_420.parts.i.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.