Theorem 5.1, p. 25 — in (SPP)-acyclic networks the optimal solution of (SPP) is yˡλ with yˡ ∈ {−1, 0, 1}ⁿ, for every λ̃ > 0 with yˡλ̃ > 0
ProvedConstRegretMatch.Acyclic.theorem_5_1Let be a matching network that satisfies the general position condition and is (SPP)-acyclic, and let be the unique non-degenerate optimal solution of (SPP), with and .
Then there exist vectors , one for each , such that
and such that every right-hand side with for all induces the optimal solution :
is the unique optimal solution of .
Each basic variable of the optimal solution is thus a signed sum of arrival rates, so in (SPP)-acyclic networks the general position gap is a difference of sums of arrival probabilities.
Formalization Note The vectors are integer-valued and cast to in the products . "Induces the optimal solution" is read as the unique optimal solution; is any positive vector (it need not sum to one), and (SPP) at uses the same and . The second clause is what ties the vectors to the rows of the inverse of the optimal basis matrix; it is part of the statement.
import Mathlib import Definitions.Def_ConstRegretMatch_Acyclic_Network import Definitions.Def_ConstRegretMatch_Acyclic_SPP import Definitions.Def_ConstRegretMatch_Acyclic_Residual
namespace ConstRegretMatch.Acyclic
/-- Theorem 5.1, p. 25 (explicit optimal solution of (SPP)): assume GP and (SPP)-acyclicity, with
`(z*, s*)` the unique non-degenerate optimal solution. Then there are vectors `yˡ ∈ {-1, 0, 1}ⁿ`, one
for each `l ∈ ℳ₊ ∪ 𝒬₊`, with `z*_m = yᵐλ > 0` for `m ∈ ℳ₊` and `s*_j = yʲλ > 0` for `j ∈ 𝒬₊`;
and every right-hand side `λ̃ > 0` with `yˡλ̃ > 0` for all `l ∈ ℳ₊ ∪ 𝒬₊` induces the optimal
solution `z̃_m = yᵐλ̃` (`m ∈ ℳ₊`), `z̃_m = 0` (`m ∈ ℳ₀`), `s̃_j = yʲλ̃` (`j ∈ 𝒬₊`), `s̃_j = 0`
(`j ∈ 𝒬₀`), which is the unique optimal solution of (SPP) with right-hand side `λ̃`. -/
theorem theorem_5_1 {n d : ℕ} (N : MatchingNetwork n d) (r : Fin d → ℝ)
(hr : ConstRegretMatch.Upper.IsMatchValues r) (lam : Fin n → ℝ) (hlam : ConstRegretMatch.Upper.IsArrivalRates lam)
(z : Fin d → ℝ) (s : Fin n → ℝ) (hGP : IsGP N r lam z s)
(hacyc : IsSPPAcyclic N r lam z s) :
∃ y : ConstRegretMatch.Upper.BasisIdx z s → Fin n → ℤ,
(∀ c i, y c i = -1 ∨ y c i = 0 ∨ y c i = 1) ∧
(∀ c, ConstRegretMatch.Upper.basicPart z s c = ∑ i, (y c i : ℝ) * lam i ∧ 0 < ∑ i, (y c i : ℝ) * lam i) ∧
∀ lamt : Fin n → ℝ, (∀ i, 0 < lamt i) → (∀ c, 0 < ∑ i, (y c i : ℝ) * lamt i) →
SPPUniqueOptimal N r lamt
(basisSolZ (fun c => ∑ i, (y c i : ℝ) * lamt i))
(basisSolS (fun c => ∑ i, (y c i : ℝ) * lamt i)) := by sorry
end ConstRegretMatch.Acyclic
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.