A finite certificate bound for a countable aligned cap-and-mass objective
ProvedGoldbach.aligned_cap_mass_finite_prefix_boundLet and be decreasing real cap sequences, and let and satisfy
Suppose a finite prefix covers both budgets:
Define the aligned greedy fills
Then the quadratic series converges and has the finite upper bound
This corollary of the aligned cap-and-mass inequality reduces a countable optimization bound to a finite calculation. The input sequences can have infinite support: it is the extremal greedy fills that vanish beyond the covered prefix. With rational boundary data, the remaining upper bound admits an exact rational certificate.
The underlying majorization result is Theorem 17 in Lorenzo Schiavone's manuscript. This elementary formalization does not derive the analytic caps or mass budgets required in a Goldbach application.
Formalization note: The self-contained proof uses Mathlib revision 777aaa61dcd2a1258d2b4962dbe983ede4d23b2e, includes summability, and has only standard axioms. No mathematical novelty is claimed.
import Mathlib.Topology.Algebra.InfiniteSum.Real open scoped BigOperators set_option autoImplicit false
theorem Goldbach.aligned_cap_mass_finite_prefix_bound (a b r t : ℕ → ℝ) (U V : ℝ) (N : ℕ)
(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 : ∀ n, (∑ i ∈ Finset.range n, r i) ≤ U)
(htmass : ∀ n, (∑ i ∈ Finset.range n, t i) ≤ V)
(hcoverR : U ≤ ∑ i ∈ Finset.range N, a i)
(hcoverT : V ≤ ∑ i ∈ Finset.range N, b i) :
Summable (fun i => (r i+t i)^2) ∧
(∑' i, (r i+t i)^2) ≤ ∑ i ∈ Finset.range N,
(min (a i) (max 0 (U - ∑ j ∈ Finset.range i, a j)) +
min (b i) (max 0 (V - ∑ j ∈ Finset.range i, b j)))^2 := by sorry