Lemma 5, support bound — merging a lexicographically optimal representation leaves at most generators in
ProvedIntConeFPT.lemma_5_merge_supportLet be a valid instance, a type and a residue. Let be a list of generators , , with positive rational multiplicities . Suppose that represents at cost :
Suppose further that is lexicographically optimal for the secondary objective : every fractional representation of on with cost at most satisfies . Then the merged list , which averages the continuous coordinates of entries with the same integer coordinates, satisfies
- and ;
- the generators of are pairwise distinct, lie in , and have positive multiplicities;
- represents at the same cost .
This is the end of the proof of Lemma 5 (p.36). Averaging keeps every generator in by convexity of , and it preserves the aggregate, the count and both objectives. If more than distinct integer coordinates remained, two of the normalized vectors would have the same parity. Their midpoint is a generator of , and convexity of shows that shifting weight to it does not increase the cost. The secondary objective, however, drops by , which contradicts lexicographic optimality.
Formalization Note. Aggregates and costs are compared in via the casts used in Lemma 5. Lexicographic optimality is the hypothesis produced by IntConeFPT.lemma_5_lex_lp. The statement is pure mathematics; no machine is involved.
import Mathlib import Definitions.Def_OnlineCRS_Combine_Sym import Definitions.Def_OnlineCRS_Combine_encNat import Definitions.Def_OnlineCRS_Combine_encInt import Definitions.Def_OnlineCRS_Combine_encRat import Definitions.Def_OnlineCRS_Combine_encVec import Definitions.Def_IntConeFPT_Machine import Definitions.Def_IntConeFPT_Instance import Definitions.Def_IntConeFPT_Problem import Definitions.Def_IntConeFPT_Residue import Definitions.Def_IntConeFPT_Formulation import Definitions.Def_IntConeFPT_fracMerge open OnlineCRS.Combine
namespace IntConeFPT
theorem lemma_5_merge_support (I : Instance) (hI : I.Valid) (t : Fin I.τ) (r : Residue I.d)
(z : Fin I.d → ℚ) (w : Fin I.k → ℚ) (n φ : ℚ)
(L : List ((Fin I.d → ℤ) × (Fin I.k → ℚ) × ℚ))
(hS : ∀ e ∈ L, ratGen e.1 e.2.1 ∈ I.Sr t r ∧ 0 < e.2.2)
(hagg : (L.map fun e => (e.2.2 : ℝ) • (ratGen e.1 e.2.1).toReal).sum = ratPair z w)
(hcnt : (L.map fun e => (e.2.2 : ℝ)).sum = n)
(hcost : (L.map fun e => (e.2.2 : ℝ) * I.f t (fun i => (e.1 i : ℝ))).sum = φ)
(hlex : ∀ θ : Gen I.d I.k →₀ ℝ,
IsFracRep (I.Sr t r) θ ((ratPair z w).1, (ratPair z w).2, (n : ℝ)) →
fracCost (I.f t) θ ≤ φ →
(L.map fun e => (e.2.2 : ℝ) *
∑ i, (((e.1 i : ℝ) - ((r i : ℕ) : ℝ)) / 2 ^ I.d) ^ 2).sum ≤
fracCost (fun x => ∑ i, ((x i - ((r i : ℕ) : ℝ)) / 2 ^ I.d) ^ 2) θ) :
(fracMerge L).length ≤ 2 ^ I.d ∧ (fracMerge L).length ≤ L.length ∧
((fracMerge L).map fun e => (e.1, e.2.1)).Nodup ∧
(∀ e ∈ fracMerge L, ratGen e.1 e.2.1 ∈ I.Sr t r ∧ 0 < e.2.2) ∧
((fracMerge L).map fun e => (e.2.2 : ℝ) • (ratGen e.1 e.2.1).toReal).sum = ratPair z w ∧
((fracMerge L).map fun e => (e.2.2 : ℝ)).sum = n ∧
((fracMerge L).map fun e => (e.2.2 : ℝ) * I.f t (fun i => (e.1 i : ℝ))).sum = φ := by sorry
end IntConeFPT