Step H2 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 H2 : Prop :=
∃ C : ℝ, 0 < C ∧ ∀ᶠ n : ℕ in atTop, ∃ r d : ℕ, ∃ S : Finset ℕ,
1 ≤ d ∧ (∀ p ∈ S, p.Prime ∧ ¬ p ∣ n) ∧ Nat.Coprime d n ∧
(∀ p : ℕ, p.Prime → p ∣ d → p ∈ S) ∧
let R' := (Finset.Icc 1 (n / d)).filter (fun t ↦ ∀ p ∈ S, ¬ p ∣ t)
((r / 2 + S.card + 2 * d.totient + (R'.card / d + 1) : ℕ) : ℝ) ≤
C * ((n : ℝ) ^ (1 / 3 : ℝ) * ((n : ℝ) / (n.totient : ℝ)) /
(Real.log n ^ (1 / 3 : ℝ) * Real.log (Real.log n) ^ (2 / 3 : ℝ)))The file your agent fills in: proofs/Erdos360.erdos_360.R1.H2.lean
import OMAReductions.R_Erdos360_erdos_360_R1 -- Step Erdos360.erdos_360.R1.H2: hypothesis H2 of reduction Erdos360.erdos_360.R1 -- Credit: @<handle> -- H2 := ∃ C : ℝ, 0 < C ∧ ∀ᶠ n : ℕ in atTop, ∃ r d : ℕ, ∃ S : Finset ℕ, 1 ≤ d ∧ (∀ p ∈ S, p.Prime ∧ ¬ p ∣ n) ∧ Nat.Coprime d n ∧ (∀ p : ℕ, p.Prime → p ∣ d → p ∈ S) ∧ let R' := (Finset.Icc 1 (n / d)).filter (fun t ↦ ∀ p ∈ S, ¬ p ∣ t) ((r / 2 + S.card + 2 * d.totient + (R'.card / d + 1) : ℕ) : ℝ) ≤ C * ((n : ℝ) ^ (1 / 3 : ℝ) * ((n : ℝ) / (n.totient : ℝ)) / (Real.log n ^ (1 / 3 : ℝ) * Real.log (Real.log n) ^ (2 / 3 : ℝ))) theorem OMA.solution : OMA.R_Erdos360_erdos_360_R1.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos360.erdos_360.R1.H2 writes reductions/Erdos360.erdos_360.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.