Integer certificate soundness for a countable cap-and-mass objective
ProvedGoldbach.integer_cap_mass_certificate_soundLet and be decreasing sequences of nonnegative integers. Let be nonnegative integers with . Assume
Define the integer greedy fills
Suppose the finite integer certificate satisfies
For any nonnegative real sequences with
the quadratic series converges and
This converts finite integer checks into a rigorous bound on a countable optimization problem. Untrusted programs can propose the cap and budget data; the certificate condition can then be checked by kernel computation. The result follows from the aligned cap-and-mass inequality of Schiavone's Theorem 17. It does not derive analytic cap or budget estimates.
Formalization note: The proof is self-contained in Mathlib revision 777aaa61dcd2a1258d2b4962dbe983ede4d23b2e 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.integer_cap_mass_certificate_sound (a b : ℕ → ℕ) (U V D N M K : ℕ)
(hD : 0 < D) (hK : 0 < K) (ha : Antitone a) (hb : Antitone b)
(hcoverR : U ≤ ∑ i ∈ Finset.range N, a i)
(hcoverT : V ≤ ∑ i ∈ Finset.range N, b i)
(hcalc : K*(∑ i ∈ Finset.range N,
(min (a i) (U - ∑ j ∈ Finset.range i, a j) +
min (b i) (V - ∑ j ∈ Finset.range i, b j))^2) < M*D^2)
(r t : ℕ → ℝ) (hr0 : ∀ i, 0 ≤ r i) (ht0 : ∀ i, 0 ≤ t i)
(hra : ∀ i, r i ≤ (a i:ℝ)/(D:ℝ))
(htb : ∀ i, t i ≤ (b i:ℝ)/(D:ℝ))
(hrmass : ∀ n, (∑ i ∈ Finset.range n, r i) ≤ (U:ℝ)/(D:ℝ))
(htmass : ∀ n, (∑ i ∈ Finset.range n, t i) ≤ (V:ℝ)/(D:ℝ)) :
Summable (fun i => (r i+t i)^2) ∧ (∑' i, (r i+t i)^2) < (M:ℝ)/(K:ℝ) := by sorry