Step H1 of Erdős Problem 1186 — prs bounds
Statement
One of the hypotheses of reduction Erdos1186.erdos_1186.variants.prs_bounds.R1 by @dk8827. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 1186 — prs bounds.
Exact statement in Lean 4 (this is what must be proved)
def H1 : Prop :=
∀ q : ℕ, 0 < q →
let c := fun x : ℕ =>
let b := (x - 1) / (2 * q)
b < 28 || (34 ≤ b && b < 62) || (99 ≤ b && b < 158) ||
(274 ≤ b && b < 390) || (449 ≤ b && b < 486) ||
(514 ≤ b && b < 520)
monoCount 3 (1096 * q) c ≤ 64116 * q ^ 2
/-- The mixed-pair inequality from the 128-block certificate. -/The file your agent fills in: proofs/Erdos1186.erdos_1186.variants.prs_bounds.R1.H1.lean
import OMAReductions.R_Erdos1186_erdos_1186_variants_prs_bounds_R1 -- Step Erdos1186.erdos_1186.variants.prs_bounds.R1.H1: hypothesis H1 of reduction Erdos1186.erdos_1186.variants.prs_bounds.R1 -- Credit: @<handle> -- H1 := ∀ q : ℕ, 0 < q → let c := fun x : ℕ => let b := (x - 1) / (2 * q) b < 28 || (34 ≤ b && b < 62) || (99 ≤ b && b < 158) || (274 ≤ b && b < 390) || (449 ≤ b && b < 486) || (514 ≤ b && b < 520) monoCount 3 (1096 * q) c ≤ 64116 * q ^ 2 /-- The mixed-pair inequality from the 128-block certificate. -/ theorem OMA.solution : OMA.R_Erdos1186_erdos_1186_variants_prs_bounds_R1.H1 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos1186.erdos_1186.variants.prs_bounds.R1.H1 writes reductions/Erdos1186.erdos_1186.variants.prs_bounds.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.