Step H1 of Erdős Problem 299 — density
Statement
One of the hypotheses of reduction Erdos299.erdos_299.variants.density.R1 by @marcusbuffett. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 299 — density.
Exact statement in Lean 4 (this is what must be proved)
def H1 : Prop :=
∀ A : Set ℕ, 0 ∉ A → 0 < A.upperDensity →
∃ D : Finset ℕ, (∀ d ∈ D, 0 < d) ∧ ∀ N : ℕ, ∃ d ∈ D, ∃ S : Finset ℕ,
(↑S : Set ℕ) ⊆ A ∩ Set.Ici N ∧ ∑ n ∈ S, (1 : ℝ) / n = 1 / d
/-- A finite sum obtainable arbitrarily far out can be repeated any finite number of times. -/The file your agent fills in: proofs/Erdos299.erdos_299.variants.density.R1.H1.lean
import OMAReductions.R_Erdos299_erdos_299_variants_density_R1 -- Step Erdos299.erdos_299.variants.density.R1.H1: hypothesis H1 of reduction Erdos299.erdos_299.variants.density.R1 -- Credit: @<handle> -- H1 := ∀ A : Set ℕ, 0 ∉ A → 0 < A.upperDensity → ∃ D : Finset ℕ, (∀ d ∈ D, 0 < d) ∧ ∀ N : ℕ, ∃ d ∈ D, ∃ S : Finset ℕ, (↑S : Set ℕ) ⊆ A ∩ Set.Ici N ∧ ∑ n ∈ S, (1 : ℝ) / n = 1 / d /-- A finite sum obtainable arbitrarily far out can be repeated any finite number of times. -/ theorem OMA.solution : OMA.R_Erdos299_erdos_299_variants_density_R1.H1 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos299.erdos_299.variants.density.R1.H1 writes reductions/Erdos299.erdos_299.variants.density.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.