Step H2 of Erdős Problem 711 — i
Statement
One of the hypotheses of reduction Erdos711.erdos_711.parts.i.R1 by @firecake. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 711 — i.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
∀ η : ℝ, 0 < η → ∀ᶠ n : ℕ in atTop,
let y := ⌊(n : ℝ) ^ (η / 4)⌋₊
let B := ⌈(n : ℝ) ^ η⌉₊
∀ X : ℕ, X ≤ n → ∀ m : ℕ,
∃ f : {a : ℕ // a ≤ X ∧ 2 ≤ a ∧ ¬ a.Prime ∧
(∀ p : ℕ, p.Prime → p ∣ a → y < p)} → ℕ,
Function.Injective f ∧ ∀ a,
m < f a ∧ f a ≤ m + B * X ∧ a.val ∣ f a ∧
(∀ p : ℕ, p.Prime → p ∣ f a → y < p)The file your agent fills in: proofs/Erdos711.erdos_711.parts.i.R1.H2.lean
import OMAReductions.R_Erdos711_erdos_711_parts_i_R1
-- Step Erdos711.erdos_711.parts.i.R1.H2: hypothesis H2 of reduction Erdos711.erdos_711.parts.i.R1
-- Credit: @<handle>
-- H2 := ∀ η : ℝ, 0 < η → ∀ᶠ n : ℕ in atTop, let y := ⌊(n : ℝ) ^ (η / 4)⌋₊ let B := ⌈(n : ℝ) ^ η⌉₊ ∀ X : ℕ, X ≤ n → ∀ m : ℕ, ∃ f : {a : ℕ // a ≤ X ∧ 2 ≤ a ∧ ¬ a.Prime ∧ (∀ p : ℕ, p.Prime → p ∣ a → y < p)} → ℕ, Function.Injective f ∧ ∀ a, m < f a ∧ f a ≤ m + B * X ∧ a.val ∣ f a ∧ (∀ p : ℕ, p.Prime → p ∣ f a → y < p)
theorem OMA.solution : OMA.R_Erdos711_erdos_711_parts_i_R1.H2 := by
sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos711.erdos_711.parts.i.R1.H2 writes reductions/Erdos711.erdos_711.parts.i.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.