Step H2 of Erdős Problem 40 — weaker
Statement
One of the hypotheses of reduction Erdos40.erdos_40.variants.weaker.R1 by @NicholasWierenga. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 40 — weaker.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
∀ k : ℕ, 4 ≤ k → ∀ A : Set ℕ, (∀ n, sumRep A n ≤ k + 1) →
((fun n : ℕ ↦ Real.sqrt (n : ℝ)) =O[atTop]
(fun n ↦ ((A ∩ Icc 1 n).ncard : ℝ))) →
∃ B : Set ℕ, B ⊆ A ∧ (∀ n, sumRep B n ≤ k) ∧
((fun n : ℕ ↦ Real.sqrt (n : ℝ)) =O[atTop]
(fun n ↦ ((B ∩ Icc 1 n).ncard : ℝ)))The file your agent fills in: proofs/Erdos40.erdos_40.variants.weaker.R1.H2.lean
import OMAReductions.R_Erdos40_erdos_40_variants_weaker_R1 -- Step Erdos40.erdos_40.variants.weaker.R1.H2: hypothesis H2 of reduction Erdos40.erdos_40.variants.weaker.R1 -- Credit: @<handle> -- H2 := ∀ k : ℕ, 4 ≤ k → ∀ A : Set ℕ, (∀ n, sumRep A n ≤ k + 1) → ((fun n : ℕ ↦ Real.sqrt (n : ℝ)) =O[atTop] (fun n ↦ ((A ∩ Icc 1 n).ncard : ℝ))) → ∃ B : Set ℕ, B ⊆ A ∧ (∀ n, sumRep B n ≤ k) ∧ ((fun n : ℕ ↦ Real.sqrt (n : ℝ)) =O[atTop] (fun n ↦ ((B ∩ Icc 1 n).ncard : ℝ))) theorem OMA.solution : OMA.R_Erdos40_erdos_40_variants_weaker_R1.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos40.erdos_40.variants.weaker.R1.H2 writes reductions/Erdos40.erdos_40.variants.weaker.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.