Step H2 of Erdős Problem 1084 — triangular optimal d2
Statement
One of the hypotheses of reduction Erdos1084.erdos_1084.variants.triangular_optimal_d2.R1 by @marcusbuffett. That reduction is already checked by Lean: proving every one of its hypotheses closes Erdős Problem 1084 — triangular optimal d2.
Exact statement in Lean 4 (this is what must be proved)
def H2 : Prop :=
∀ n : ℕ, let interval := Finset.Icc (-(n : ℤ)) (n : ℤ)
let patch := (interval ×ˢ interval).filter fun p => p.1 + p.2 ∈ interval
let point (p : ℤ × ℤ) : ℝ² :=
!₂[(p.1 : ℝ) + (p.2 : ℝ)/2, Real.sqrt 3 * (p.2 : ℝ)/2]
9*n^2 + 3*n ≤ unitDistNum (patch.image point)
-- Harborth's squared deficit inequality for planar contact graphs.The file your agent fills in: proofs/Erdos1084.erdos_1084.variants.triangular_optimal_d2.R1.H2.lean
import OMAReductions.R_Erdos1084_erdos_1084_variants_triangular_optimal_d2_R1 -- Step Erdos1084.erdos_1084.variants.triangular_optimal_d2.R1.H2: hypothesis H2 of reduction Erdos1084.erdos_1084.variants.triangular_optimal_d2.R1 -- Credit: @<handle> -- H2 := ∀ n : ℕ, let interval := Finset.Icc (-(n : ℤ)) (n : ℤ) let patch := (interval ×ˢ interval).filter fun p => p.1 + p.2 ∈ interval let point (p : ℤ × ℤ) : ℝ² := !₂[(p.1 : ℝ) + (p.2 : ℝ)/2, Real.sqrt 3 * (p.2 : ℝ)/2] 9*n^2 + 3*n ≤ unitDistNum (patch.image point) -- Harborth's squared deficit inequality for planar contact graphs. theorem OMA.solution : OMA.R_Erdos1084_erdos_1084_variants_triangular_optimal_d2_R1.H2 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Erdos1084.erdos_1084.variants.triangular_optimal_d2.R1.H2 writes reductions/Erdos1084.erdos_1084.variants.triangular_optimal_d2.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.