Step H4 of Erdős Problem 360
Statement
One of the hypotheses of reduction Erdos360.erdos_360.R1 by @green-notes. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 360.
Exact statement in Lean 4 (this is what must be proved)
def H4 : Prop :=
∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop, ∀ y : ℕ,
let psi := (n : ℝ) ^ (1 / 3 : ℝ) * ((n : ℝ) / (n.totient : ℝ)) /
(Real.log n ^ (1 / 3 : ℝ) * Real.log (Real.log n) ^ (2 / 3 : ℝ))
let r := ⌊c * psi⌋₊
let tau := ∏ p ∈ n.primeFactors ∪ (Finset.range r).image (Nat.nth Nat.Prime),
(1 - (1 : ℝ) / p)
2 * y < n → r ^ 2 ≤ y → (n : ℝ) ^ (3 / 5 : ℝ) ≤ (y : ℝ) →
(y : ℝ) ^ 2 * ((n : ℝ) / (n.totient : ℝ)) * tau / (25 * (r : ℝ)) ≤ (n : ℝ) →
(n : ℝ) ≤ (y : ℝ) ^ 2 * ((n : ℝ) / (n.totient : ℝ)) * tau / (15 * (r : ℝ)) →
∀ P : Finpartition (Finset.Icc 1 (n - 1)), P.parts.card ≤ r →
∃ A ∈ P.parts, n ∈ subsetSums (A : Set ℕ)The file your agent fills in: proofs/Erdos360.erdos_360.R1.H4.lean
import OMAReductions.R_Erdos360_erdos_360_R1 -- Step Erdos360.erdos_360.R1.H4: hypothesis H4 of reduction Erdos360.erdos_360.R1 -- Credit: @<handle> -- H4 := ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop, ∀ y : ℕ, let psi := (n : ℝ) ^ (1 / 3 : ℝ) * ((n : ℝ) / (n.totient : ℝ)) / (Real.log n ^ (1 / 3 : ℝ) * Real.log (Real.log n) ^ (2 / 3 : ℝ)) let r := ⌊c * psi⌋₊ let tau := ∏ p ∈ n.primeFactors ∪ (Finset.range r).image (Nat.nth Nat.Prime), (1 - (1 : ℝ) / p) 2 * y < n → r ^ 2 ≤ y → (n : ℝ) ^ (3 / 5 : ℝ) ≤ (y : ℝ) → (y : ℝ) ^ 2 * ((n : ℝ) / (n.totient : ℝ)) * tau / (25 * (r : ℝ)) ≤ (n : ℝ) → (n : ℝ) ≤ (y : ℝ) ^ 2 * ((n : ℝ) / (n.totient : ℝ)) * tau / (15 * (r : ℝ)) → ∀ P : Finpartition (Finset.Icc 1 (n - 1)), P.parts.card ≤ r → ∃ A ∈ P.parts, n ∈ subsetSums (A : Set ℕ) theorem OMA.solution : OMA.R_Erdos360_erdos_360_R1.H4 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos360.erdos_360.R1.H4 writes reductions/Erdos360.erdos_360.R1.H4.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.