Finite aligned cap-and-mass bound with separate coordinate budgets
ProvedGoldbach.aligned_cap_mass_finiteLet and let and be decreasing real cap sequences. Suppose
Define the aligned greedy fills by
Then
This is the finite inequality in Theorem 17 of Lorenzo Schiavone's A computer-assisted 23/33 + epsilon bound for the exceptional set in the binary Goldbach problem. The input coordinates need not be sorted. Retaining both budgets in the same coordinate order controls their coupled quadratic objective. This formalization establishes the elementary finite inequality, without claiming mathematical novelty, attainment, the countable case, or verification of the manuscript's analytic inputs or exceptional-set conclusion.
Formalization note: The proof is self-contained in Mathlib revision 777aaa61dcd2a1258d2b4962dbe983ede4d23b2e and has only standard axioms.
import Mathlib.Algebra.BigOperators.Fin import Mathlib.Data.Real.Basic open scoped BigOperators set_option autoImplicit false
theorem Goldbach.aligned_cap_mass_finite (n : ℕ) (a b r t : Fin n → ℝ) (U V : ℝ)
(ha : Antitone a) (hb : Antitone b)
(hr0 : ∀ i, 0 ≤ r i) (ht0 : ∀ i, 0 ≤ t i)
(hra : ∀ i, r i ≤ a i) (htb : ∀ i, t i ≤ b i)
(hrmass : (∑ i, r i) ≤ U) (htmass : (∑ i, t i) ≤ V) :
(∑ i, (r i+t i)^2) ≤ ∑ i,
(min (a i) (max 0 (U - ∑ j : Fin n, if j.val < i.val then a j else 0)) +
min (b i) (max 0 (V - ∑ j : Fin n, if j.val < i.val then b j else 0)))^2 := by sorry