Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Operations Research

2,207 missions · 1,080 completed

The discipline of applying mathematical analysis to complex decision problems in operations: allocating scarce resources, scheduling, routing, inventory, and the design of service and production systems. Drawing on mathematical programming, stochastic modeling, queueing, simulation, and game-theoretic reasoning, it seeks policies that perform provably well in systems shaped by constraints, congestion, and uncertainty.

Missions

Open1127Completed1080All2207
🏆Completed
Linear OptimizationOptimization·Captain: mikedeng1

The Computational Algorithm for the Parametric Objective Function: The Basis Entered at a Characteristic Value λ̄ Is Optimal on an Interval Whose Left Endpoint Is λ̄Research Paper

Motivation

A linear program often has two objectives that pull in different directions, for example cost and risk, or two policy goals whose relative weight is a matter of judgment. Gass and Saaty (NRLQ 1955) put the question in its simplest form: let every cost coefficient be an affine function dj+λdj′d_j + \lambda d'_jdj​+λdj′​ of one real parameter λ\lambdaλ, and find, for every value of λ\lambdaλ, an optimal solution. Their paper turned this into a procedure that runs the simplex method once and then walks along the λ\lambdaλ-axis, changing one basis column at a time. This parametric objective function method became a standard chapter of linear programming texts and is the prototype of parametric and sensitivity analysis in optimization software.

Timeline.

  • 1951: Dantzig publishes the simplex method (Cowles Commission Monograph No. 13, Ch. XXI; the paper's reference [1]), with the optimality test zj−cj≤0z_j - c_j \le 0zj​−cj​≤0 for a minimization problem.
  • 1954: Gass and Saaty summarize the parametric procedure (J. Oper. Res. Soc. Amer. 2 (1954), 316–319).
  • 1955: the present paper gives the procedure in detail, proves the THEOREM that makes it work, and reports computations on the National Bureau of Standards SEAC computer.

Setting

For each real λ\lambdaλ the problem is

minimize ∑j=1n(dj+λdj′) xjsubject toxj≥0 (j=1,…,n),∑j=1naijxj=ai0 (i=1,…,m).\text{minimize } \sum_{j=1}^n (d_j + \lambda d'_j)\,x_j \quad\text{subject to}\quad x_j \ge 0\ (j = 1,\dots,n),\qquad \sum_{j=1}^n a_{ij}x_j = a_{i0}\ (i = 1,\dots,m).minimize j=1∑n​(dj​+λdj′​)xj​subject toxj​≥0 (j=1,…,n),j=1∑n​aij​xj​=ai0​ (i=1,…,m).

Write A=(aij)A = (a_{ij})A=(aij​), an m×nm\times nm×n real matrix with columns A1,…,AnA_1,\dots,A_nA1​,…,An​, and b=(ai0)b = (a_{i0})b=(ai0​). A basis is a list of mmm linearly independent columns AB(1),…,AB(m)A_{B(1)},\dots,A_{B(m)}AB(1)​,…,AB(m)​; its basic solution xxx has xj=0x_j = 0xj​=0 off the basis and Ax=bAx = bAx=b, and it is a basic feasible solution when also x≥0x \ge 0x≥0. Every column has coordinates yijy_{ij}yij​ in the basis, Aj=∑iyijAB(i)A_j = \sum_i y_{ij}A_{B(i)}Aj​=∑i​yij​AB(i)​. For a cost vector ccc the simplex method uses zj=∑iyijcB(i)z_j = \sum_i y_{ij}c_{B(i)}zj​=∑i​yij​cB(i)​; for the cost c=d+λd′c = d + \lambda d'c=d+λd′ the number zj−cjz_j - c_jzj​−cj​ is affine in λ\lambdaλ:

zj−cj=αj+λβj.z_j - c_j = \alpha_j + \lambda\beta_j .zj​−cj​=αj​+λβj​.

The basis is optimal at λ\lambdaλ when αj+λβj≤0\alpha_j + \lambda\beta_j \le 0αj​+λβj​≤0 for all jjj (inequalities (3)). The critical values of the basis are

λ‾=max⁡βj<0(−αjβj) (−∞ if all βj≥0),λˉ=min⁡βj>0(−αjβj) (+∞ if all βj≤0).\underline\lambda = \max_{\beta_j<0}\Big(-\frac{\alpha_j}{\beta_j}\Big)\ (-\infty \text{ if all }\beta_j\ge 0),\qquad \bar\lambda = \min_{\beta_j>0}\Big(-\frac{\alpha_j}{\beta_j}\Big)\ (+\infty \text{ if all }\beta_j\le 0).λ​=βj​<0max​(−βj​αj​​) (−∞ if all βj​≥0),λˉ=βj​>0min​(−βj​αj​​) (+∞ if all βj​≤0).

The paper assumes throughout that the problem is nondegenerate: no basic feasible solution has more than n−mn - mn−m zero components.

Case A is the situation where the current basis is optimal for some λ\lambdaλ, so that (3) is consistent. If λˉ\bar\lambdaλˉ is finite, attained at an index sss with βs>0\beta_s > 0βs​>0, and some yis>0y_{is} > 0yis​>0, the method brings AsA_sAs​ into the basis and removes the column ArA_rAr​, r=B(ℓ)r = B(\ell)r=B(ℓ), chosen by the simplex ratio test; yrs>0y_{rs} > 0yrs​>0. Call the new basis B′B'B′ and its basic feasible solution x′x'x′.

Formalization targets

Goal: the THEOREM (p. 41)

λˉ=min⁡{λ∈R:x′ minimizes (d+λd′)⊤x over Ax=b, x≥0}.\bar\lambda = \min\big\{\lambda\in\mathbb R : x' \text{ minimizes } (d+\lambda d')^{\top}x \text{ over } Ax = b,\ x \ge 0\big\}.λˉ=min{λ∈R:x′ minimizes (d+λd′)⊤x over Ax=b, x≥0}.

This contains both sentences of the paper's THEOREM: the new basis yields a minimum for at least one λ\lambdaλ (namely λˉ\bar\lambdaλˉ), and the left end λ‾′\underline\lambda'λ​′ of its interval of optimality equals λˉ\bar\lambdaλˉ. The statement uses "least element" and so does not presuppose that the set is an interval.

Milestones

  1. (3): under nondegeneracy, a basic feasible solution is a minimum at λ\lambdaλ if and only if αj+λβj≤0\alpha_j + \lambda\beta_j \le 0αj​+λβj​≤0 for all jjj.
  2. (4)–(5): if (3) is consistent, it holds exactly for λ‾≤λ≤λˉ\underline\lambda \le \lambda \le \bar\lambdaλ​≤λ≤λˉ.
  3. The reduced-cost optimality criterion and its nondegenerate converse, and feasibility of the basis after a simplex pivot (both already proved on the platform).
  4. [1]: λˉ\bar\lambdaλˉ satisfies the inequalities (3') αj′+λβj′≤0\alpha'_j + \lambda\beta'_j \le 0αj′​+λβj′​≤0 of the new basis.
  5. (7): αr′=−αs/yrs\alpha'_r = -\alpha_s/y_{rs}αr′​=−αs​/yrs​ and βr′=−βs/yrs\beta'_r = -\beta_s/y_{rs}βr′​=−βs​/yrs​.
  6. (7)–(8): no λ<λˉ\lambda < \bar\lambdaλ<λˉ satisfies (3').
  7. Case A stop: in the nondegenerate Case A setup, if every yis≤0y_{is} \le 0yis​≤0, there is no minimum for any λ>λˉ\lambda > \bar\lambdaλ>λˉ.
  8. Summary (4): under the section's standing assumptions, the set of λ\lambdaλ for which a minimum exists is closed and connected.

Significance

The THEOREM is what makes the parametric procedure correct. The optimality intervals of successive bases meet end to end: the basis entered at λˉ\bar\lambdaλˉ takes over exactly where the old one stops, with no gap and no overlap. Together with the stopping rule this gives the paper's summary: starting from one optimal basis, the procedure produces a finite list of bases and characteristic values covering every λ\lambdaλ for which the problem has a minimum, and that set is a closed interval. The same structure underlies the piecewise linear, concave optimal value as a function of λ\lambdaλ, the parametric right-hand-side method by duality, and the shadow-vertex simplex method.

The result is classical and its proof is short, but as printed it contains a sign slip: display (8) on p. 41 states the inequality in the wrong direction, so the contradiction the authors claim does not follow from what they wrote. The formal development states the corrected argument. To our knowledge none of these parametric statements has a machine-checked proof; the fixed-cost facts they rest on (the reduced-cost optimality criterion, Bertsimas–Tsitsiklis Theorem 3.1, and the feasibility of the pivoted basis, Theorem 3.2) are already proved on the platform in Shuze Chen's LinearOptimization library and are reused here as reference items.

Difficulty

The natural first idea is to observe that λˉ\bar\lambdaλˉ satisfies (3') and conclude. This proves only that the new basis is optimal at λˉ\bar\lambdaλˉ. The statement that nothing below λˉ\bar\lambdaλˉ works is a statement about optimality, not about the inequalities (3'): one must know that failure of (3') at λ\lambdaλ means that x′x'x′ is not optimal at λ\lambdaλ. That converse of the optimality test is false for a degenerate basic solution, which can be optimal while some zj−cjz_j - c_jzj​−cj​ is positive. The nondegeneracy assumption is therefore essential, and it must be transported to the new basic solution. The other ingredient is the pivot update of zj−cjz_j - c_jzj​−cj​ when one column leaves and another enters, which the paper uses through (7) without writing it down.

Formalization scope

The problem data are A : Matrix (Fin m) (Fin n) ℝ, b : Fin m → ℝ and cost vectors d d' : Fin n → ℝ; the parameter λ\lambdaλ is the Lean variable t (λ is a Lean keyword). Indices are 0-based. Feasible set, optimality, bases, reduced costs, basic directions, the coordinates yijy_{ij}yij​ (pivotColumn) and basic feasible solutions (IsSimplexState) are the published LinearOptimization definitions. The commitments and readings of the paper's phrases are:

  • Sign. The platform's reduced cost is cˉj=cj−cB′B−1Aj=−(zj−cj)\bar c_j = c_j - c_B'B^{-1}A_j = -(z_j - c_j)cˉj​=cj​−cB′​B−1Aj​=−(zj​−cj​); αj\alpha_jαj​ and βj\beta_jβj​ are defined as the negatives of the reduced costs for ddd and d′d'd′, and (3), (3'), (5), (7) are stated in the paper's sign.
  • "Yields a minimum" means that the point is feasible and its cost is at most that of every feasible point (IsLpOptimal), never a comparison of values.
  • λˉ\bar\lambdaλˉ is finite in the THEOREM; it is the real number −αs/βs-\alpha_s/\beta_s−αs​/βs​ for an index sss with βs>0\beta_s > 0βs​>0 attaining the minimum. As a function, (5) is valued in WithTop ℝ and WithBot ℝ; no real infimum of a possibly empty set is used.
  • Nondegeneracy is stated for every basic feasible solution, including in the Case A stopping rule and Summary (4). The stopping rule also carries Case A consistency, and Summary (4) carries the section's available basic feasible solution. Linear independence of the rows of AAA is assumed where the platform's criteria need it; it follows from the existence of a basis.
  • "By the simplex method" is the reduced-cost optimality criterion; "the simplex prescription" is the ratio test; "no minimum" in the stopping rule is the unbounded outcome, optimal value −∞-\infty−∞, with the absence of a minimizer stated explicitly.
  • The paper's interval δ≤λ≤ϕ\delta \le \lambda \le \phiδ≤λ≤ϕ of interest plays no role in the THEOREM and is dropped.

The goal is not satisfied by a degenerate reading: its set is defined by optimality, not by the inequalities (3'), and its hypotheses hold on an explicit instance, so the statement is neither the definition of the critical value restated nor vacuous.

Not formalized: Case B (the search for a first λ\lambdaλ with a minimum), Summary (1)–(2) on the whole procedure, the no-repetition remark, the computing experience (§3) and the worked example (§4). Contributions welcome include the pivot-update formula for reduced costs, which is reusable for any simplex-based argument, and the closedness of the set of cost vectors with a finite optimum.

Selected references

  • S. Gass and T. Saaty, The computational algorithm for the parametric objective function, Naval Research Logistics Quarterly 2 (1955), 39–45. https://doi.org/10.1002/nav.3800020106
  • T. Saaty and S. Gass, The parametric objective function, Journal of the Operations Research Society of America 2 (1954), 316–319. https://doi.org/10.1287/opre.2.3.316
  • G. B. Dantzig, Maximization of a linear function of variables subject to linear inequalities, in T. C. Koopmans (ed.), Activity Analysis of Production and Allocation, Wiley, 1951, Ch. XXI (Cowles Commission Monograph No. 13).
  • D. Bertsimas and J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, §3.1–3.2 and §5.2.
17 thms4 active usersReviewed
🏆Completed
Dynamic ProgrammingLinear OptimizationMarkov Chain+1·Captain: mikedeng1

Linear Programming and Finite Markovian Control Problems V: Average Reward — an Extreme Optimal Solution of the Multichain Linear Program Yields a Pure Stationary Average Optimal PolicyTextbook

Motivation

A Markov decision problem with the average reward criterion asks for a policy that maximises the long-run reward per period of a controlled finite Markov chain. It is the standard model for repeated operational decisions with no natural horizon: inventory replenishment, machine maintenance, queue admission and routing. For finitely many states and actions, Howard (1960) and Blackwell (1962) showed that a pure stationary average optimal policy exists, and policy iteration finds one.

Linear programming formulations are older for the discounted problem (d'Epenoux, 1960) and for chains with a single recurrent class (Manne, 1960). Without a structural assumption, a stationary policy can split the state space into several recurrent classes, the multichain case, and the gain becomes a vector rather than a number. Denardo and Fox (1968) gave a linear programming approach for this case. Hordijk and Kallenberg (1979) showed that a single pair of dual linear programs suffices: an optimal policy can be read off an extreme optimal solution of the dual program. Kallenberg's tract (1983, Chapter 4) is the systematic account of this theory, and this mission formalizes its §4.2–4.4.

Setting

Let EEE be a finite set of states. Each state iii has a nonempty finite set A(i)A(i)A(i) of actions, a reward ria∈Rr_{ia}\in\mathbb Rria​∈R for each action, and transition probabilities piaj≥0p_{iaj}\ge 0piaj​≥0 with ∑jpiaj=1\sum_j p_{iaj}=1∑j​piaj​=1. A policy RRR chooses, at each epoch t=1,2,…t=1,2,\dotst=1,2,…, a probability distribution on A(Xt)A(X_t)A(Xt​) that may depend on the whole history. A stationary policy π∞\pi^\inftyπ∞ uses fixed weights πia\pi_{ia}πia​ at every epoch. A pure stationary policy f∞f^\inftyf∞ always plays f(i)∈A(i)f(i)\in A(i)f(i)∈A(i). Write P(π)ij=∑apiajπiaP(\pi)_{ij}=\sum_a p_{iaj}\pi_{ia}P(π)ij​=∑a​piaj​πia​, r(π)i=∑ariaπiar(\pi)_i=\sum_a r_{ia}\pi_{ia}r(π)i​=∑a​ria​πia​, and P(f)P(f)P(f), r(f)r(f)r(f) in the pure case.

The average reward of RRR from state iii is

ϕi(R)=lim inf⁡T→∞1T∑t=1T∑j∑aPR(Xt=j, Yt=a∣X1=i) rja,\phi_i(R)=\liminf_{T\to\infty}\frac1T\sum_{t=1}^T\sum_j\sum_a\mathbb P_R(X_t=j,\ Y_t=a\mid X_1=i)\,r_{ja},ϕi​(R)=T→∞liminf​T1​t=1∑T​j∑​a∑​PR​(Xt​=j, Yt​=a∣X1​=i)rja​,

and ϕ^i(R)\hat\phi_i(R)ϕ^​i​(R) is the same expression with lim sup⁡\limsuplimsup. The AMD-value-vector is ϕi=sup⁡Rϕi(R)\phi_i=\sup_R\phi_i(R)ϕi​=supR​ϕi​(R), where RRR ranges over all policies, and R∗R^*R∗ is average optimal if ϕ(R∗)=ϕ\phi(R^*)=\phiϕ(R∗)=ϕ. A policy is Blackwell optimal if it maximises the discounted reward vα(R)=∑t≥1αt−1ER[rXtYt]v^\alpha(R)=\sum_{t\ge1}\alpha^{t-1}\mathbb E_R[r_{X_tY_t}]vα(R)=∑t≥1​αt−1ER​[rXt​Yt​​] for all discount factors α\alphaα in some interval [α0,1)[\alpha_0,1)[α0​,1).

For a stochastic matrix PPP, the stationary matrix P∗P^*P∗ is the Cesàro limit of PnP^nPn, and the deviation matrix is D=(I−P+P∗)−1−P∗D=(I-P+P^*)^{-1}-P^*D=(I−P+P∗)−1−P∗. For a pure policy, ϕ(f∞)=P∗(f)r(f)\phi(f^\infty)=P^*(f)r(f)ϕ(f∞)=P∗(f)r(f) and u(f∞)=D(f)r(f)u(f^\infty)=D(f)r(f)u(f∞)=D(f)r(f).

A vector ϕ~\tilde\phiϕ~​ is AMD-superharmonic if some u~\tilde uu~ satisfies ϕ~i≥∑jpiajϕ~j\tilde\phi_i\ge\sum_jp_{iaj}\tilde\phi_jϕ~​i​≥∑j​piaj​ϕ~​j​ and ϕ~i+u~i≥ria+∑jpiaju~j\tilde\phi_i+\tilde u_i\ge r_{ia}+\sum_jp_{iaj}\tilde u_jϕ~​i​+u~i​≥ria​+∑j​piaj​u~j​ for all a∈A(i)a\in A(i)a∈A(i), i∈Ei\in Ei∈E. For weights βj>0\beta_j>0βj​>0 with ∑jβj=1\sum_j\beta_j=1∑j​βj​=1, the primal program (4.2.10) minimises ∑jβjϕ~j\sum_j\beta_j\tilde\phi_j∑j​βj​ϕ~​j​ over such pairs. Its dual is

max⁡{∑i,ariaxia ∣ ∑i,a(δij−piaj)xia=0,  ∑axja+∑i,a(δij−piaj)yia=βj  (j∈E),  x,y≥0}.(4.2.11)\max\Big\{\sum_{i,a}r_{ia}x_{ia}\ \Big|\ \sum_{i,a}(\delta_{ij}-p_{iaj})x_{ia}=0,\ \ \sum_ax_{ja}+\sum_{i,a}(\delta_{ij}-p_{iaj})y_{ia}=\beta_j\ \ (j\in E),\ \ x,y\ge0\Big\}.\tag{4.2.11}max{i,a∑​ria​xia​ ​ i,a∑​(δij​−piaj​)xia​=0,  a∑​xja​+i,a∑​(δij​−piaj​)yia​=βj​  (j∈E),  x,y≥0}.(4.2.11)

Write Ex={i∣∑axia>0}E_x=\{i\mid\sum_ax_{ia}>0\}Ex​={i∣∑a​xia​>0}.

Formalization targets

Goal: Theorem 4.2.4

If (x∗,y∗)(x^*,y^*)(x∗,y∗) is an optimal solution of (4.2.11) and an extreme point of its feasible set, then a decision rule f∗f_*f∗​ with

xif∗(i)∗>0  (i∈Ex∗),yif∗(i)∗>0  (i∈E∖Ex∗)x^*_{if_*(i)}>0\ \ (i\in E_{x^*}),\qquad y^*_{if_*(i)}>0\ \ (i\in E\setminus E_{x^*})xif∗​(i)∗​>0  (i∈Ex∗​),yif∗​(i)∗​>0  (i∈E∖Ex∗​)

exists, and every such f∗∞f_*^\inftyf∗∞​ is average optimal.

The goal is stated for every finite model, with no assumption on the chain structure, and for every rule-conforming f∗f_*f∗​.

Milestones

  1. Optimality equations (Theorem 4.2.1): a Blackwell optimal pure policy gives (ϕ∘,u∘)(\phi^\circ,u^\circ)(ϕ∘,u∘) with ϕi∘=max⁡a∈A(i)∑jpiajϕj∘\phi^\circ_i=\max_{a\in A(i)}\sum_jp_{iaj}\phi^\circ_jϕi∘​=maxa∈A(i)​∑j​piaj​ϕj∘​ and ϕi∘+ui∘=max⁡a∈Aˉ(i){ria+∑jpiajuj∘}\phi^\circ_i+u^\circ_i=\max_{a\in\bar A(i)}\{r_{ia}+\sum_jp_{iaj}u^\circ_j\}ϕi∘​+ui∘​=maxa∈Aˉ(i)​{ria​+∑j​piaj​uj∘​}.
  2. Superharmonic characterisation (Theorem 4.2.2): ϕ\phiϕ is the smallest AMD-superharmonic vector.
  3. Lim sup optimality (Theorem 4.2.3): a pure stationary average optimal f∞f^\inftyf∞ satisfies ϕ^(f∞)≥ϕ^(R)\hat\phi(f^\infty)\ge\hat\phi(R)ϕ^​(f∞)≥ϕ^​(R) for every RRR.
  4. The three propositions inside the proof of Theorem 4.2.4: complementary slackness along f∗f_*f∗​ (4.2.1), closedness of Ex∗E_{x^*}Ex∗​ under P(f∗)P(f_*)P(f∗​) (4.2.2), and transience of E∖Ex∗E\setminus E_{x^*}E∖Ex∗​ under P(f∗)P(f_*)P(f∗​) (4.2.3).
  5. The policy–solution correspondence (§4.3): the representative (x(π),y(π))(x(\pi),y(\pi))(x(π),y(π)) is feasible (Theorem 4.3.1); the map is one-to-one with inverse (4.3.1) (Theorem 4.3.2); ExE_xEx​ is closed under, and is exactly the recurrent set of, P(π(x,y))P(\pi(x,y))P(π(x,y)) (Propositions 4.3.2–4.3.3); the correspondence preserves optimality (Theorem 4.3.3); pure policies map to extreme points (Theorem 4.3.4).
  6. Policy evaluation (Theorem 4.4.1): the system (I−P(f))ϕ~=0(I-P(f))\tilde\phi=0(I−P(f))ϕ~​=0, ϕ~+(I−P(f))u~=r(f)\tilde\phi+(I-P(f))\tilde u=r(f)ϕ~​+(I−P(f))u~=r(f), u~+(I−P(f))z~=0\tilde u+(I-P(f))\tilde z=0u~+(I−P(f))z~=0 is solvable, and every solution has ϕ~=ϕ(f∞)\tilde\phi=\phi(f^\infty)ϕ~​=ϕ(f∞) and u~=u(f∞)\tilde u=u(f^\infty)u~=u(f∞).

Significance

Theorem 4.2.4 reduces the multichain average reward problem to one linear program. Combined with Theorems 4.3.3 and 4.3.4, every pure stationary average optimal policy arises from some extreme optimal solution, so enumerating extreme optimal solutions enumerates all of them (Remark 4.2.5). The same program is the starting point for the constrained average reward problems of §4.7, where a policy must also satisfy linear constraints on its state–action frequencies. Theorem 4.4.1 is the evaluation step of multichain policy iteration.

The results are proved in the tract and, earlier, in Hordijk and Kallenberg (1979). None of them is formalized in a proof assistant. The platform has machine-checked average reward results only for unichain models, where the gain is a scalar. This mission adds the multichain theory, with general history-dependent randomized policies as competitors, and also yields reusable statements about stationary and deviation matrices of finite chains.

Difficulty

Under a unichain assumption, the dual variables xxx form a stationary distribution and the yyy-variables are unnecessary, so the obvious argument reads a policy off xxx alone. In the multichain case the xxx-part of an optimal solution can vanish on whole sets of states, and on those states the policy must be read off yyy. The argument then has to show that these states are transient under the selected policy, which is where extremality is essential. For a non-extreme optimal solution the book passes instead to the randomized policy (4.3.1), which needs the separate argument of Theorem 4.3.3. A second obstacle is that optimality is against all history-dependent randomized policies, so the comparison of ϕ(f∗∞)\phi(f_*^\infty)ϕ(f∗∞​) with ϕ\phiϕ must pass through the superharmonic characterisation (Theorem 4.2.2), whose proof uses the existence of a Blackwell optimal policy.

Formalization scope

The model is the published MarkovDecisionProcesses.StationaryMDP: finite state and action types, a nonempty Finset of admissible actions per state, and stochastic rows. General policies are the published AvgHRPolicy (decision rules depending on the epoch and the full history). The criteria are the published gainInf, gainSup and optGainInf; all values are real. Average optimality is the book's lim inf notion, ϕi(R∗)=sup⁡Rϕi(R)\phi_i(R^*)=\sup_R\phi_i(R)ϕi​(R∗)=supR​ϕi​(R) for every iii. It is not Puterman's stronger IsAverageOptimal. The stationary and deviation matrices are the published Cesàro limitMatrix and deviationMatrix. Their existence and invertibility (Theorem 2.4.1) are never assumed as hypotheses. LP variables are indexed by admissible state–action pairs, so Set.extremePoints is the book's notion of extreme feasible solution. Recurrence is the classical finite-chain notion: every state accessible from iii leads back to iii. The ergodic set of a recurrent state is the set of states accessible from it.

A formalization that assumes a unichain or ergodic model trivializes the mission (it reduces Theorem 4.2.4 to known unichain results). No statement here makes such an assumption, and the weights βj\beta_jβj​ are strictly positive and sum to one, as in (4.2.10).

The proofs need finite Markov chain theory: the Cesàro limit, P∗P=PP∗=P∗P^*P=PP^*=P^*P∗P=PP∗=P∗, P∗D=0P^*D=0P∗D=0, transience versus P⋅j∗=0P^*_{\cdot j}=0P⋅j∗​=0, and positivity of the stationary distribution on ergodic sets. They also need LP duality with complementary slackness and the existence of a Blackwell optimal pure policy. The last result is posed separately on the platform (Blackwell 1962, Theorem 5). LP duality is available as proved platform theorems (LinearOptimization.*), whose sign conventions must be matched. Contributions on the Markov chain layer are reusable across the whole series.

Selected references

  • L. C. M. Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam, 1983. https://ir.cwi.nl/pub/13008
  • A. Hordijk and L. C. M. Kallenberg, Linear programming and Markov decision chains, Management Science 25(4):352–362, 1979. https://doi.org/10.1287/mnsc.25.4.352
  • D. Blackwell, Discrete dynamic programming, Annals of Mathematical Statistics 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • E. V. Denardo and B. L. Fox, Multichain Markov renewal programs, SIAM Journal on Applied Mathematics 16(3):468–487, 1968.
  • J. G. Kemeny and J. L. Snell, Finite Markov Chains, Van Nostrand, 1960.
17 thms4 active usersReviewed
🏆Completed
Dynamic ProgrammingLinear OptimizationMarkov Chain·Captain: mikedeng1

Linear Programming and Markov Decision Chains 1: A Pure Policy Read Off a Simplex-Optimal Solution of One Dual LP Is Average Optimal in Every Finite Multichain MDPResearch Paper

Motivation

A Markov decision chain with finitely many states and actions is the basic model of sequential decision making under uncertainty in operations research. Inventory control, maintenance, queueing control and many other problems reduce to it. Under the average reward criterion the decision maker optimizes the long-run reward per period. For the discounted criterion one linear program yields an optimal pure stationary policy (d'Epenoux 1960). For the average criterion, De Ghellinck (1960) and Manne (1960, DOI 10.1287/mnsc.6.3.259) gave linear programs for the unichain case, where every stationary policy has a single recurrent class. In a multichain model the optimal average reward may differ from state to state, and the unichain construction no longer applies.

Hordijk and Kallenberg (Management Science 25(4):352–362, 1979, DOI 10.1287/mnsc.25.4.352) proved that in the general multichain case an average optimal policy can be found by solving only one linear program. This mission formalizes that result, Theorem 7 of the paper, together with the chain of results its proof rests on.

Timeline, following the paper's introduction:

  • 1960: d'Epenoux introduces linear programming for the discounted case; De Ghellinck and Manne treat the unichain average case.
  • 1962: Blackwell (DOI 10.1214/aoms/1177704593) proves that some pure stationary policy is discounted-optimal for all discount factors near 1, and expands the discounted value near α=1\alpha = 1α=1.
  • 1968–1970: Denardo and Fox (DOI 10.1137/0116038) and Denardo (DOI 10.1287/mnsc.16.5.281) give the first analysis of linear programs for the multichain case. Derman's 1970 monograph streamlines it: in the worst case two linear programs and one search problem must be solved. Denardo and Fox record Bruce Miller's conjecture that the policy of Theorem 7 below is optimal.
  • 1979: Hordijk and Kallenberg prove the conjecture (Theorem 7), so one linear program suffices.

Setting

The state space is a finite nonempty set EEE. In state iii a finite nonempty set A(i)A(i)A(i) of actions is available; choosing a∈A(i)a \in A(i)a∈A(i) earns the reward riar_{ia}ria​ and moves the system to state jjj with probability piajp_{iaj}piaj​ (piaj≥0p_{iaj} \ge 0piaj​≥0, ∑jpiaj=1\sum_j p_{iaj} = 1∑j​piaj​=1). A policy RRR chooses actions at times t=1,2,…t = 1, 2, \dotst=1,2,…, possibly at random and using the whole history. For a policy RRR and an initial state iii,

φi(R)=lim inf⁡T→∞1T∑t=1T∑j∑aPR(Xt=j,Yt=a∣X1=i) rja\varphi_i(R) = \liminf_{T\to\infty}\frac1T\sum_{t=1}^T\sum_j\sum_a \mathbf P_R(X_t=j,Y_t=a\mid X_1=i)\,r_{ja}φi​(R)=T→∞liminf​T1​t=1∑T​j∑​a∑​PR​(Xt​=j,Yt​=a∣X1​=i)rja​

is the average expected reward, and φi=sup⁡Rφi(R)\varphi_i = \sup_R \varphi_i(R)φi​=supR​φi​(R) is the optimal one. A policy R∗R^*R∗ is average optimal if φi(R∗)=φi\varphi_i(R^*) = \varphi_iφi​(R∗)=φi​ for every i∈Ei \in Ei∈E. A decision rule fff picks f(i)∈A(i)f(i) \in A(i)f(i)∈A(i) in every state; f∞f^\inftyf∞ is the pure stationary policy that always applies fff. Its transition matrix is P(f)=(pif(i)j)P(f) = (p_{if(i)j})P(f)=(pif(i)j​) and its reward vector r(f)=(rif(i))r(f) = (r_{if(i)})r(f)=(rif(i)​). The α-discounted value viα(R)=∑t≥1αt−1∑j∑aPR(Xt=j,Yt=a∣X1=i) rjav_i^\alpha(R)=\sum_{t\ge1}\alpha^{t-1}\sum_j\sum_a\mathbf P_R(X_t=j,Y_t=a\mid X_1=i)\,r_{ja}viα​(R)=∑t≥1​αt−1∑j​∑a​PR​(Xt​=j,Yt​=a∣X1​=i)rja​ enters through Theorems 1, 3, 4 and 5.

Fix weights βj>0\beta_j > 0βj​>0 with ∑jβj=1\sum_j \beta_j = 1∑j​βj​=1. The dual program has a variable pair xia,yiax_{ia}, y_{ia}xia​,yia​ for every state iii and every a∈A(i)a \in A(i)a∈A(i):

max⁡∑i∑ariaxias.t.∑i∑a(δij−piaj)xia=0,∑axja+∑i∑a(δij−piaj)yia=βj,x,y≥0,\max \sum_i\sum_a r_{ia}x_{ia}\quad\text{s.t.}\quad \sum_i\sum_a(\delta_{ij}-p_{iaj})x_{ia}=0,\quad \sum_a x_{ja}+\sum_i\sum_a(\delta_{ij}-p_{iaj})y_{ia}=\beta_j,\quad x,y\ge0,maxi∑​a∑​ria​xia​s.t.i∑​a∑​(δij​−piaj​)xia​=0,a∑​xja​+i∑​a∑​(δij​−piaj​)yia​=βj​,x,y≥0,

for all j∈Ej \in Ej∈E. Its linear programming dual, the primal program, minimizes ∑jβjφ~j\sum_j\beta_j\tilde\varphi_j∑j​βj​φ~​j​ over superharmonic pairs (φ~,u~)(\tilde\varphi,\tilde u)(φ~​,u~): φ~i≥∑jpiajφ~j\tilde\varphi_i \ge \sum_j p_{iaj}\tilde\varphi_jφ~​i​≥∑j​piaj​φ~​j​ and φ~i+u~i≥ria+∑jpiaju~j\tilde\varphi_i + \tilde u_i \ge r_{ia} + \sum_j p_{iaj}\tilde u_jφ~​i​+u~i​≥ria​+∑j​piaj​u~j​ for all a∈A(i)a \in A(i)a∈A(i), i∈Ei \in Ei∈E. For a dual solution (x,y)(x, y)(x,y) put Ex={i∣∑axia>0}E_x = \{i \mid \sum_a x_{ia} > 0\}Ex​={i∣∑a​xia​>0}.

Formalization targets

Goal: Theorem 7

Let (x,y)(x, y)(x,y) be an optimal solution of the dual program that is an extreme point of its feasible set, which is what the simplex method returns. Let fff be any decision rule with

xif(i)>0  (i∈Ex),yif(i)>0  (i∉Ex).x_{if(i)} > 0 \ \ (i \in E_x), \qquad y_{if(i)} > 0 \ \ (i \notin E_x).xif(i)​>0  (i∈Ex​),yif(i)​>0  (i∈/Ex​).

Then f∞f^\inftyf∞ is average optimal: φi(f∞)=φi\varphi_i(f^\infty) = \varphi_iφi​(f∞)=φi​ for every i∈Ei \in Ei∈E, the comparison running over all policies.

Milestones

In the order the proof uses them:

  1. Theorem 1 (Blackwell): some pure stationary f0∞f_0^\inftyf0∞​ is α-discounted optimal for all α near 1.
  2. Theorem 2a: φ(f∞)=P∗(f)r(f)\varphi(f^\infty) = P^*(f)r(f)φ(f∞)=P∗(f)r(f). The other clauses of Theorem 2 are Blackwell's Lemma 1(a), (d), referenced as published theorems.
  3. Theorem 3 (Blackwell): viα(f∞)−φi(f∞)/(1−α)→(D(f)r(f))iv_i^\alpha(f^\infty) - \varphi_i(f^\infty)/(1-\alpha) \to (D(f)r(f))_iviα​(f∞)−φi​(f∞)/(1−α)→(D(f)r(f))i​ as α↑1\alpha \uparrow 1α↑1.
  4. Theorem 4 (Derman): the policy of Theorem 1 is average optimal.
  5. Theorem 5: φ0=φ(f0∞)\varphi^0 = \varphi(f_0^\infty)φ0=φ(f0∞​) and u0=D(f0)r(f0)u^0 = D(f_0)r(f_0)u0=D(f0​)r(f0​) solve the two nested optimality equations.
  6. Proof of Theorem 6: (φ0,u0+Mφ0)(\varphi^0, u^0 + M\varphi^0)(φ0,u0+Mφ0) is superharmonic for some MMM.
  7. Theorem 6: φ\varphiφ is the smallest function that admits uuu with (φ,u)(\varphi, u)(φ,u) superharmonic.
  8. §3.2: (φ(f0∞),D(f0)r(f0)+Mφ(f0∞))(\varphi(f_0^\infty), D(f_0)r(f_0) + M\varphi(f_0^\infty))(φ(f0∞​),D(f0​)r(f0​)+Mφ(f0∞​)) is primal optimal for all large MMM.
  9. Proof of Theorem 7: ∑axja+∑ayja≥βj>0\sum_a x_{ja} + \sum_a y_{ja} \ge \beta_j > 0∑a​xja​+∑a​yja​≥βj​>0, so the rule always defines a policy; and every primal optimum has first component φ\varphiφ.
  10. Propositions 1–3: φ\varphiφ is P(f)P(f)P(f)-harmonic and the gain–bias equation holds on ExE_xEx​; ExE_xEx​ is closed under P(f)P(f)P(f); at an extreme optimal dual solution, the states outside ExE_xEx​ are transient under P(f)P(f)P(f).

Significance

Theorem 7 turns the multichain average-reward problem into one linear program and one pass over its solution. No unichain or communicating assumption is required, and neither the second linear program nor the search step of the earlier Denardo–Fox–Derman procedure is needed. The rule is local: any action with a positive xxx-variable, otherwise any action with a positive yyy-variable, gives an optimal policy. The paper's later results (Theorem 8, the correspondence between optimal dual solutions and optimal randomized stationary policies, and Theorem 10, on extreme points) build on the same program. Companion missions of this series formalize them.

The results are proved in the paper; no machine-checked proof of any of them is known. The formalization adds a machine-checked link between linear programming duality (complementary slackness, extreme points of polyhedra) and the limit theory of finite Markov chains (Cesàro limit matrices, transient states), over the history-dependent policy class of the published average-reward model.

Difficulty

The obvious argument reads fff off any optimal dual solution and uses complementary slackness to obtain φ=P(f)φ\varphi = P(f)\varphiφ=P(f)φ and φ+(I−P(f))u=r(f)\varphi + (I - P(f))u = r(f)φ+(I−P(f))u=r(f). The second equation holds only on ExE_xEx​, and outside ExE_xEx​ nothing controls the reward of fff. The argument closes only when E∖ExE \setminus E_xE∖Ex​ is transient under P(f)P(f)P(f), so that the stationary distribution of fff ignores those states. Transience is not a consequence of optimality. It uses extremality: an ergodic set inside E∖ExE\setminus E_xE∖Ex​ would make the corresponding yyy-columns of the constraint matrix linearly dependent. For a general optimal solution the paper proves optimality only of a randomized stationary policy built from (x,y)(x, y)(x,y) (its Theorem 8(b), a companion mission), not of a pure selection. The extremality hypothesis is therefore part of the statement.

Upstream of the linear program, Theorem 6 depends on Derman's theorem and Blackwell's expansion of the discounted value near α=1\alpha = 1α=1. Both compare against all history-dependent policies and need the full limit theory of P∗P^*P∗ and DDD.

Formalization scope

The model is the published MarkovDecisionProcesses.StationaryMDP (finite nonempty S, finite A, nonempty admissible sets, stochastic transitions) with history-dependent randomized policies AvgHRPolicy. φi(R)\varphi_i(R)φi​(R) is gainInf (the lim inf of the average of the first TTT expected rewards) and φi\varphi_iφi​ is optGainInf, a real supremum that is finite because rewards are bounded. P∗P^*P∗ and DDD are the published limitMatrix and deviationMatrix; the identities of Theorem 2 are the published Blackwell Lemma 1(a), (d). Conventions:

  • Average optimality is Hordijk and Kallenberg's φ(R∗)=φ\varphi(R^*) = \varphiφ(R∗)=φ, not the stronger Puterman criterion IsAverageOptimal in the published file.
  • The discounted value is the limit of the NNN-epoch discounted reward, defined by the same backward recursion as totalReward. "α near enough to 1" means some α0∈[0,1)\alpha_0 \in [0,1)α0​∈[0,1) such that the property holds on [α0,1)[\alpha_0, 1)[α0​,1).
  • Dual variables are indexed by the admissible pairs only (Pair M), so the feasible set lies in (Pair M → ℝ) × (Pair M → ℝ) and its extreme points are those of the paper's polyhedron.
  • "The simplex method is used" is encoded as "(x,y)(x, y)(x,y) is an extreme point of the feasible set" (Set.extremePoints). A goal without extremality is a different and unproved statement, and any version that quantifies over some fff instead of every fff obeying the rule is weaker than the paper's. Both are ruled out.
  • "Transient" is the negation of the published IsRecurrent. Maxima over A(i)A(i)A(i) and A0(i)A^0(i)A0(i) are stated as an upper bound plus attainment, so that A0(i)≠∅A^0(i) \ne \emptysetA0(i)=∅ is part of Theorem 5.

A complete development needs Cesàro limits of stochastic matrices, the deviation matrix, Abelian limits of discounted values, linear programming duality with complementary slackness, and the characterization of extreme points of {z≥0:Az=b}\{z \ge 0 : Az = b\}{z≥0:Az=b} by linear independence of the active columns. The last two are reusable well beyond this mission, as is the identification of gainInf of a stationary policy with P∗rP^*rP∗r. Contributions to any of them, including proofs of individual milestones, are welcome.

Selected references

  • A. Hordijk, L. C. M. Kallenberg, Linear Programming and Markov Decision Chains, Management Science 25(4):352–362, 1979. https://doi.org/10.1287/mnsc.25.4.352
  • D. Blackwell, Discrete Dynamic Programming, Annals of Mathematical Statistics 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • A. S. Manne, Linear Programming and Sequential Decisions, Management Science 6(3):259–267, 1960. https://doi.org/10.1287/mnsc.6.3.259
  • E. V. Denardo, On Linear Programming in a Markov Decision Problem, Management Science 16(5):281–288, 1970. https://doi.org/10.1287/mnsc.16.5.281
  • E. V. Denardo, B. L. Fox, Multichain Markov Renewal Programs, SIAM Journal on Applied Mathematics 16(3):468–487, 1968. https://doi.org/10.1137/0116038
  • J. G. Kemeny, J. L. Snell, Finite Markov Chains, Van Nostrand, 1960.
  • C. Derman, Finite State Markovian Decision Processes, Academic Press, 1970.
17 thms4 active usersReviewed
🏆Completed
Dynamic ProgrammingMachine LearningReinforcement Learning·Captain: mikedeng1

Stable Function Approximation in Dynamic Programming I: In a Discounted Finite MDP, Value Iteration Through an Averager Converges to V₀ with ‖V₀ − V*‖ ≤ 2γε/(1 − γ)Research Paper

Motivation

Value iteration computes the optimal value function of a Markov decision process by applying the dynamic programming backup to every state until the values stop changing. When the state space is too large for a lookup table, practitioners replace the table by a function approximator: after each backup, the new values are computed only at a sample of states and an approximator (a neural net, a spline, a nearest-neighbour rule) is fitted to them. This approximate value iteration is the basis of much of reinforcement learning, and in the early 1990s it was known to work well in some experiments and to diverge in others, with no theory separating the two. Boyan and Moore (NIPS 7, 1995) exhibited divergence with linear regression and neural nets, and Tsitsiklis and Van Roy (1996) later studied the same question for feature-based architectures.

Gordon's technical report (CMU-CS-95-103, 1995; a shorter, differently numbered version appeared at ICML 1995) isolated a property of the approximator that guarantees convergence: the approximator must not exaggerate differences between target value functions in max norm. It identified a broad class with this property, the averagers (k-nearest-neighbour, kernel averaging, linear and bilinear interpolation on a mesh), and proved that in a discounted problem approximate value iteration through an averager always converges, with an explicit error bound. This mission formalizes that discounted theory: the report's §2–§3 and its error bound of §6.1.

Setting

A finite Markov decision process MMM has states 1,…,n1,\dots,n1,…,n, a finite nonempty set U(i)U(i)U(i) of actions at each state iii, an expected one-step cost ciac_{ia}cia​ for action aaa at state iii, and transition probabilities paij≥0p_{aij}\ge0paij​≥0 with ∑jpaij=1\sum_j p_{aij}=1∑j​paij​=1. It is discounted with factor 0≤γ<10\le\gamma<10≤γ<1. A value function is a vector V∈RnV\in\mathbb R^nV∈Rn, measured in the max norm ∥V∥=max⁡i∣V(i)∣\|V\|=\max_i|V(i)|∥V∥=maxi​∣V(i)∣.

The parallel value backup operator TMT_MTM​ updates every state at once:

(TMV)(i)=min⁡a∈U(i)(cia+γ∑j=1npaijV(j)).(T_MV)(i)=\min_{a\in U(i)}\Big(c_{ia}+\gamma\sum_{j=1}^n p_{aij}V(j)\Big).(TM​V)(i)=a∈U(i)min​(cia​+γj=1∑n​paij​V(j)).

Its fixed point V∗V^*V∗ is the optimal value function, the minimal expected discounted cost from each state.

A function approximator is studied through its mapping MFM_FMF​: the function sending a vector of target values to the vector of fitted values. Two operators MFM_FMF​ and TTT are compatible if the iterates (MF∘T)k(x0)(M_F\circ T)^k(x_0)(MF​∘T)k(x0​) converge from every initial guess x0x_0x0​.

An averager AAA is given by constants kik_iki​ and nonnegative weights βi,βij\beta_i,\beta_{ij}βi​,βij​ with βi+∑jβij=1\beta_i+\sum_j\beta_{ij}=1βi​+∑j​βij​=1 for every iii; its mapping is

MA(Y)i=βiki+∑j=1nβijYj.M_A(Y)_i=\beta_ik_i+\sum_{j=1}^n\beta_{ij}Y_j .MA​(Y)i​=βi​ki​+j=1∑n​βij​Yj​.

The weights are fixed in advance and do not depend on the targets YYY.

Formalization targets

Goal: Theorem 6.2 (p. 12)

Let VAV^AVA be any fixed point of MAM_AMA​ and ε=∥VA−V∗∥\varepsilon=\|V^A-V^*\|ε=∥VA−V∗∥. Then there is V0V_0V0​ such that (TM∘MA)k(V)→V0(T_M\circ M_A)^k(V)\to V_0(TM​∘MA​)k(V)→V0​ from every initial guess VVV, and

∥V0−V∗∥≤2γε1−γ.\|V_0-V^*\|\le\frac{2\gamma\varepsilon}{1-\gamma}.∥V0​−V∗∥≤1−γ2γε​.

The goal has two parts: convergence from every start to a common limit V0V_0V0​, and the error bound on that limit.

Milestones

  1. Theorem 2.2, first clause (p. 4). ∥TMV−TMW∥≤γ∥V−W∥\|T_MV-T_MW\|\le\gamma\|V-W\|∥TM​V−TM​W∥≤γ∥V−W∥.
  2. Theorem 3.2 (p. 7). MAM_AMA​ is a max-norm nonexpansion, ∥MA(Y)−MA(Z)∥≤∥Y−Z∥\|M_A(Y)-M_A(Z)\|\le\|Y-Z\|∥MA​(Y)−MA​(Z)∥≤∥Y−Z∥, and is compatible with TMT_MTM​ for every discounted MDP.
  3. Theorem 3.1 (p. 5). If MFM_FMF​ is any max-norm nonexpansion, then MFM_FMF​ is compatible with TMT_MTM​ and ∥MF(TMV)−MF(TMW)∥≤γ∥V−W∥\|M_F(T_MV)-M_F(T_MW)\|\le\gamma\|V-W\|∥MF​(TM​V)−MF​(TM​W)∥≤γ∥V−W∥.
  4. Corollary 3.1 (p. 6). There is V∞V_\inftyV∞​ with ∥(MF∘TM)k(V)−V∞∥≤γk∥V−V∞∥\|(M_F\circ T_M)^k(V)-V_\infty\|\le\gamma^k\|V-V_\infty\|∥(MF​∘TM​)k(V)−V∞​∥≤γk∥V−V∞​∥ for all VVV and kkk.

A further item, not a milestone, is the display after the proof of Theorem 6.2 (p. 13), the bound on the fitted output: ∥V∗−MA(V0)∥≤2ε+2γε/(1−γ)\|V^*-M_A(V_0)\|\le2\varepsilon+2\gamma\varepsilon/(1-\gamma)∥V∗−MA​(V0​)∥≤2ε+2γε/(1−γ).

Significance

Theorem 6.2 gives a guarantee that depends only on how well the approximator can represent V∗V^*V∗, not on how the iteration is started: if some fixed point of the averager lies within ε\varepsilonε of V∗V^*V∗, approximate value iteration finds a function within 2γε/(1−γ)2\gamma\varepsilon/(1-\gamma)2γε/(1−γ) of V∗V^*V∗. Theorems 3.1 and 3.2 explain why: an averager is a max-norm nonexpansion, and composing a nonexpansion with a γ\gammaγ-contraction leaves a γ\gammaγ-contraction. Together they separate the approximators that are safe to use with value iteration from those that are not (linear regression is not a nonexpansion: the report's Figure 2 shows it can expand max-norm distances).

All results of this mission are proved in the report; none is open. The contraction of the discounted Bellman operator and the identification of its fixed point with the optimal value function are proved on Prove2Me (BertsekasDP.discounted_main_theorem, used here as a reference item). No machine-checked proof of Gordon's averager results or of the 2γε/(1−γ)2\gamma\varepsilon/(1-\gamma)2γε/(1−γ) bound is known to exist; this mission produces one, on top of the published finite MDP model.

Difficulty

Each step is short on paper; the difficulty is in the bookkeeping that a formal proof cannot skip. The nonexpansion of an averager rests on nonnegative weights summing to at most one, which must be extracted from the row constraint βi+∑jβij=1\beta_i+\sum_j\beta_{ij}=1βi​+∑j​βij​=1 in the max norm on Rn\mathbb R^nRn. The goal's convergence clause asks for one limit V0V_0V0​ shared by all initial guesses, which needs completeness of Rn\mathbb R^nRn and the contraction-mapping theorem applied to TM∘MAT_M\circ M_ATM​∘MA​, not to TMT_MTM​. The error bound compares three different fixed points (V∗V^*V∗ of TMT_MTM​, VAV^AVA of MAM_AMA​, V0V_0V0​ of TM∘MAT_M\circ M_ATM​∘MA​) in a chain of triangle inequalities. The order of composition matters throughout: the compatibility results iterate MF∘TMM_F\circ T_MMF​∘TM​ (fit after the backup), while the goal iterates TM∘MAT_M\circ M_ATM​∘MA​ (back up after the fit), and the two may not be interchanged.

Formalization scope

  • The MDP is the published BertsekasSSPModel (Fin n states, a finite action type, nonempty admissible action sets U(i)U(i)U(i), costs g, transition probabilities p), and TMT_MTM​ is its BertsekasDiscountedBellmanOp M γ. That model allows substochastic rows; every statement adds the hypothesis ∑jpaij=1\sum_j p_{aij}=1∑j​paij​=1 for admissible aaa, which makes it the report's MDP. Action sets may depend on the state, a harmless generalization of the report's single action set. The initial-state distribution S0S_0S0​ never enters a statement and is omitted.
  • The discount satisfies 0≤γ<10\le\gamma<10≤γ<1 in every item. Theorem 6.2's page says only "with discount factor γ\gammaγ"; it belongs to the report's discounted discussion and its proof uses that TMT_MTM​ is a γ\gammaγ-contraction.
  • ∥⋅∥\|\cdot\|∥⋅∥ on Fin n → ℝ is Mathlib's sup norm, i.e. the max norm.
  • V∗V^*V∗ is a hypothesis: a fixed point of TMT_MTM​. Theorem 2.2's last clause, proved on the platform as BertsekasDP.discounted_main_theorem, identifies it with the optimal value function.
  • The averager acts on whole value functions Rn→Rn\mathbb R^n\to\mathbb R^nRn→Rn, indexed by the states. The report's approximator fits a sample X0X_0X0​ of states; ignoring the value at a state jjj outside the sample is the special case βij=0\beta_{ij}=0βij​=0.
  • Theorem 3.1 is printed with "X=S×AX=S\times AX=S×A" and MF∈R∣X∣↦R∣X∣M_F\in\mathbb R^{|X|}\mapsto\mathbb R^{|X|}MF​∈R∣X∣↦R∣X∣; since TMT_MTM​ acts on value functions of the state, MFM_FMF​ is stated on Rn\mathbb R^nRn.
  • "Converges at the rate γ\gammaγ" (Corollary 3.1) is the geometric rate of the contraction-mapping theorem, γk\gamma^kγk times the initial distance to the limit.
  • Theorem 6.2 keeps ε=∥VA−V∗∥\varepsilon=\|V^A-V^*\|ε=∥VA−V∗∥ as an equality, as printed, and its conclusion keeps the convergence clause. A statement asserting only the existence of some V0V_0V0​ with ∥V0−V∗∥≤2γε/(1−γ)\|V_0-V^*\|\le2\gamma\varepsilon/(1-\gamma)∥V0​−V∗∥≤2γε/(1−γ) would be trivial (V0=V∗V_0=V^*V0​=V∗) and is not the theorem.
  • Lemma 2.1 and the Contraction Mapping theorem (Theorem 2.1) are in Mathlib (LipschitzWith.comp, ContractingWith) and are not posed.

Proofs of any item are welcome, as are reusable lemmas on max-norm nonexpansions of row-stochastic linear maps, which also serve the nondiscounted companion mission (Stable Function Approximation in Dynamic Programming II).

Selected references

  • G. J. Gordon, Stable Function Approximation in Dynamic Programming, Technical Report CMU-CS-95-103, Carnegie Mellon University, 1995; shorter version in Machine Learning Proceedings 1995 (ICML), 1995. https://doi.org/10.1016/B978-1-55860-377-6.50040-2
  • D. P. Bertsekas and J. N. Tsitsiklis, Parallel and Distributed Computation: Numerical Methods, Prentice Hall, 1989 (the report's [BT89]; no DOI).
  • J. A. Boyan and A. W. Moore, Generalization in Reinforcement Learning: Safely Approximating the Value Function, Advances in Neural Information Processing Systems 7, MIT Press, 1995 (the report's [BM95]).
  • J. N. Tsitsiklis and B. Van Roy, Feature-Based Methods for Large Scale Dynamic Programming, Machine Learning 22, 1996, pp. 59–94. https://doi.org/10.1007/BF00114724
8 thms4 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryLinear Optimization·Captain: mikedeng1

Matching, Euler Tours and the Chinese Postman I: The Convex Hull of Nonnegative Integer Parity Solutions Is the Polyhedron of Odd-Set InequalitiesResearch Paper

Motivation

The Chinese postman problem, posed by Meigu Guan (Kwan Mei-Ko) in 1962, asks for a shortest closed walk in a graph that traverses every edge at least once: the route of a postman who must cover every street and return to the post office. It is the basic model of arc routing (street sweeping, snow ploughing, meter reading, inspection of networks), and it is one of the first combinatorial optimization problems shown to be solvable in polynomial time by matching methods.

Edmonds and Johnson, Matching, Euler tours and the Chinese postman (Mathematical Programming 5, 1973), reduce the postman problem to a parity problem: choose nonnegative integers xex_exe​, the number of extra traversals of each edge, so that every node becomes even, at minimum total length. Their §3 gives a complete linear description of this parity problem. The description is the first instance of what is now called the TTT-join polyhedron (with TTT the set of odd-degree nodes), a standard object of polyhedral combinatorics and a frequent example of total dual integrality.

Timeline:

  • 1962: Guan states the postman problem and an optimality criterion for it.
  • 1965: Edmonds proves the matching polyhedron theorem and gives the blossom algorithm for weighted matching (Edmonds 1965).
  • 1973: Edmonds and Johnson specialise both to the postman problem, giving the polyhedron in the edge variables alone (this mission) and a blossom algorithm that solves it (Edmonds–Johnson 1973).

Setting

A graph GGG has a finite set NNN of nodes and a finite set EEE of edges; each edge meets two different nodes, and several edges may meet the same pair of nodes. The degree of a node nnn is the number of edges meeting it, ∑e∈Eane\sum_{e\in E} a_{ne}∑e∈E​ane​, where ane=1a_{ne}=1ane​=1 if eee meets nnn and 000 otherwise. Set bn=1b_n=1bn​=1 when the degree of nnn is odd (an odd node) and bn=0b_n=0bn​=0 otherwise.

An edge eee meets a set S⊆NS\subseteq NS⊆N when exactly one of its two ends lies in SSS. A set S⊆NS\subseteq NS⊆N is an odd set when it contains an odd number of odd nodes, and any number of even nodes.

The parity points X⊆REX\subseteq\mathbb R^EX⊆RE are the vectors with

xe∈Z,xe≥0(e∈E),∑e∈Eanexe≡bn(mod2)(n∈N),x_e\in\mathbb Z,\quad x_e\ge 0\quad(e\in E),\qquad \sum_{e\in E}a_{ne}x_e\equiv b_n \pmod 2\quad(n\in N),xe​∈Z,xe​≥0(e∈E),e∈E∑​ane​xe​≡bn​(mod2)(n∈N),

the conditions (3.1), (3.2), (3.6) of the paper. Adding xex_exe​ copies of each edge eee to GGG makes every degree even, and an Euler tour of the enlarged graph is a postman tour of GGG. The postman polyhedron is

P={x∈RE: xe≥0 (e∈E),  ∑{xe:e meets S}≥1 for every odd set S},P=\Big\{x\in\mathbb R^E:\ x_e\ge 0\ (e\in E),\ \ \sum\{x_e : e\text{ meets }S\}\ge 1\ \text{for every odd set } S\Big\},P={x∈RE: xe​≥0 (e∈E),  ∑{xe​:e meets S}≥1 for every odd set S},

the conditions (3.2) and (3.5). For lengths c∈REc\in\mathbb R^Ec∈RE the objective is z=∑ecexez=\sum_e c_e x_ez=∑e​ce​xe​. The dual linear program has a variable ySy_SyS​ for each odd set, constraints yS≥0y_S\ge 0yS​≥0 and ∑{yS:e meets S}≤ce\sum\{y_S: e\text{ meets }S\}\le c_e∑{yS​:e meets S}≤ce​, and objective v=∑SySv=\sum_S y_Sv=∑S​yS​.

Formalization targets

Goal: the polyhedron theorem (p. 93)

conv⁡X=P.\operatorname{conv} X = P .convX=P.

Both inclusions are claimed. The equality is between subsets of RE\mathbb R^ERE, so it also asserts that the convex hull of XXX is closed.

Milestones

In the paper's order of argument:

  1. (3.13), p. 95: an integer solution of (3.6) has ∑{xe:e meets S}≡1(mod2)\sum\{x_e : e\text{ meets }S\}\equiv 1 \pmod 2∑{xe​:e meets S}≡1(mod2) for every odd set SSS.
  2. p. 95: conv⁡X⊆P\operatorname{conv}X\subseteq PconvX⊆P.
  3. (3.10), p. 94: weak duality, v≤zv\le zv≤z for x∈Px\in Px∈P and yyy dual feasible.
  4. (3.11)–(3.12), p. 95: complementary slackness makes xxx and yyy optimal.
  5. p. 95: for c≥0c\ge 0c≥0 there is an integral parity point xxx and a dual feasible yyy satisfying (3.11) and (3.12). The paper proves this with the algorithm of §4.
  6. p. 96: if some ce<0c_e<0ce​<0, zzz is unbounded below on PPP and on XXX.
  7. (3.19), p. 96: for c≥0c\ge 0c≥0, the minimum of zzz over PPP is attained at a parity point.

There are two companion statements. The first (pp. 93–94) says that in ∑eanexe−2wn=bn\sum_e a_{ne}x_e-2w_n=b_n∑e​ane​xe​−2wn​=bn​ with x≥0x\ge 0x≥0, integrality of wnw_nwn​ already forces wn≥0w_n\ge 0wn​≥0. The second (p. 91) is the polyhedron theorem in the variables (x,w)(x,w)(x,w): the convex hull of the integer solutions of (3.1)–(3.3) is the set of solutions of (3.2), (3.2′), (3.3), (3.5).

Significance

The theorem turns the parity problem, an integer program, into a linear program over an explicitly described polyhedron. Optimal postman tours therefore come with dual certificates: a packing of odd cuts whose total value matches the tour's extra length. The same description underlies the theory of TTT-joins and TTT-cuts (Schrijver 2003, Chapter 29).

No machine-checked proof of the TTT-join polyhedron theorem exists, on Prove2Me or, to our knowledge, in Mathlib. This mission states it in the multigraph setting of the paper. Milestones 1–4 and 6 are elementary and can serve as warm-ups. Milestone 5, total dual integrality of the odd-cut system, is the substantive step. The paper obtains it from a blossom algorithm; the milestone is stated as an existence result, so any proof of it closes it.

Difficulty

The inclusion conv⁡X⊆P\operatorname{conv}X\subseteq PconvX⊆P is a parity count. The reverse inclusion is the theorem. Two first ideas fail. Total unimodularity does not apply, because the odd-cut constraint matrix is not totally unimodular and PPP has many constraints whose tightness interacts. Reading the result off the matching polyhedron theorem needs the auxiliary loops wnw_nwn​ and an elimination step, and the 1965 matching polyhedron describes perfect matchings of a simple graph, not this parity system on a multigraph. Some argument for integrality of the minimum for every c≥0c\ge 0c≥0 is needed, and the paper's is an algorithm with a dual certificate. A further point is that PPP and XXX are unbounded: equality of hulls is not just agreement of minima over bounded objectives, and the case of objectives with a negative coefficient has to be handled separately (milestone 6).

Formalization scope

A graph is the local ChinesePostman.Polyhedron.Graph V E: a map ends : E → Sym2 V with a proof that no edge is a loop, over finite types V and E. Mathlib's SimpleGraph is not used, because the paper allows parallel edges. Degrees, odd nodes and bnb_nbn​ are computed from the graph; the set of odd nodes is never a free parameter. "eee meets SSS" means exactly one end in SSS. Odd sets range over all subsets S⊆NS\subseteq NS⊆N with an odd number of odd nodes, with no nonemptiness or properness condition. Parity points are real images of integer vectors E → ℤ, so integrality is part of XXX. Dual variables are functions Finset V → ℝ whose values matter only on odd sets: the sign condition and every sum are restricted to the odd sets. Lengths ccc are arbitrary reals except where the page assumes ce≥0c_e\ge 0ce​≥0 (milestones 5 and 7).

Trivializing readings are ruled out: (3.5) taken over nonempty proper sets only, "meets" read as "has at least one end in", the odd nodes taken as an arbitrary set TTT, or XXX allowed to contain non-integral points would each give a different, and in some cases false or trivial, statement.

Every definition the statements need is in one file, ChinesePostman.Polyhedron.Setting. A complete development needs finite-dimensional convexity (Mathlib's convexHull) and linear programming duality or an integrality argument. A Lean proof of total dual integrality for odd-cut systems would be reusable for matching and TTT-join problems beyond this paper. Proofs of any milestone, and alternative proofs of milestone 5, are welcome.

Selected references

  • J. Edmonds and E. L. Johnson, Matching, Euler tours and the Chinese postman, Mathematical Programming 5 (1973) 88–124. https://doi.org/10.1007/BF01580113
  • J. Edmonds, Maximum matching and a polyhedron with 0,1-vertices, Journal of Research of the National Bureau of Standards 69B (1965) 125–130. https://doi.org/10.6028/jres.069B.013
  • M. Guan (Kwan Mei-Ko), Graphic programming using odd or even points, Chinese Mathematics 1 (1962) 273–277.
  • A. Schrijver, Combinatorial Optimization: Polyhedra and Efficiency, Springer, 2003, Chapter 29 (T-joins and T-cuts). https://doi.org/10.1007/978-3-540-44389-6
11 thms4 active usersReviewed
🏆Completed
CombinatoricsOptimization·Captain: mikedeng1

Scheduling of Vehicles from a Central Depot to a Number of Delivery Points: The Savings Procedure Always Ends in a Feasible Truck Allocation Whose Mileage Is the Initial Less the Linked SavingsResearch Paper

Motivation

Delivering goods from one depot to many customers with a fleet of trucks is the vehicle routing problem. Dantzig and Ramser formulated it in 1959 as the "truck dispatching problem" (Management Sci. 6 (1959), doi:10.1287/mnsc.6.1.80). Five years later Clarke and Wright proposed the savings procedure (Oper. Res. 12 (1964), 568–581, doi:10.1287/opre.12.4.568): start with one truck per customer and repeatedly join two routes where joining saves the most distance, as long as the trucks can still carry the loads. On the twelve-customer example of Dantzig and Ramser it reached 290 units against their 294.

The savings procedure became the standard construction heuristic for vehicle routing. It appears in every textbook treatment of the problem, is the initial solution of many metaheuristics, and is the benchmark against which later construction methods are compared. The paper states the procedure and its bookkeeping (the half matrix, the vector QQQ, Table II) but proves nothing about it. That every run of the procedure ends, and ends in a feasible allocation, is left to the reader.

Setting

A depot P0P_0P0​ serves customers P1,…,PMP_1,\dots,P_MP1​,…,PM​. The distance dy,zd_{y,z}dy,z​ between every two points is given, and customer PjP_jPj​ requires a load qjq_jqj​. Trucks come in nnn capacity classes: xix_ixi​ trucks of capacity CiC_iCi​ are available, with C1<⋯<CnC_1<\dots<C_nC1​<⋯<Cn​, and the trucks of the smallest capacity are unlimited, x1=∞x_1=\inftyx1​=∞ (p. 569).

A run is the ordered list of customers Pa1,…,PakP_{a_1},\dots,P_{a_k}Pa1​​,…,Pak​​ served by one truck, which drives P0Pa1⋯PakP0P_0P_{a_1}\cdots P_{a_k}P_0P0​Pa1​​⋯Pak​​P0​. Its load is ∑iqai\sum_i q_{a_i}∑i​qai​​. A state of the procedure is a list of runs; its mileage is the total length of its runs. A list of runs is an allocation if every customer lies on exactly one run, and it is feasible if each run can be given a truck of capacity at least its load without using more trucks of any class than are available.

The saving of the cell (y:z)(y:z)(y:z) is d0,y+d0,z−dy,zd_{0,y}+d_{0,z}-d_{y,z}d0,y​+d0,z​−dy,z​. The half matrix records ty,z=1t_{y,z}=1ty,z​=1 if PyP_yPy​ and PzP_zPz​ are adjacent on a run, and ty,0∈{0,1,2}t_{y,0}\in\{0,1,2\}ty,0​∈{0,1,2} counts how many ends of runs lie at PyP_yPy​. Table II counts, for each capacity level CiC_iCi​, the runs with load above CiC_iCi​ and the trucks with capacity above CiC_iCi​.

The procedure starts with the runs [P1],…,[PM][P_1],\dots,[P_M][P1​],…,[PM​], so ty,0=2t_{y,0}=2ty,0​=2 for every customer. A cell (y:z)(y:z)(y:z) is admissible if (I) ty,0>0t_{y,0}>0ty,0​>0 and tz,0>0t_{z,0}>0tz,0​>0; (II) PyP_yPy​ and PzP_zPz​ are on different runs; (III) after replacing those two runs by one run of load Qy+QzQ_y+Q_zQy​+Qz​, no column of Table II has more runs than trucks. A step links an admissible cell of maximum saving, ties broken arbitrarily, by joining the two runs end to end at PyP_yPy​ and PzP_zPz​. The procedure stops when no cell is admissible.

Formalization targets

Goal: correctness of the procedure

Assume symmetric distances, C1<⋯<CnC_1<\dots<C_nC1​<⋯<Cn​, x1=∞x_1=\inftyx1​=∞, and that the initial one-truck-per-customer allocation passes the Table II test. Then every run of the procedure is finite whatever the tie-breaks; at every reachable state from which a link is possible a step exists; and every final state SSS is a feasible allocation satisfying relation (A), ∑z≠yty,z=2\sum_{z\ne y}t_{y,z}=2∑z=y​ty,z​=2 for every customer, with

mileage(S)=2∑j=1Md0,j−∑1≤y<z≤Mty,z=1(d0,y+d0,z−dy,z).\text{mileage}(S)=2\sum_{j=1}^M d_{0,j}-\sum_{\substack{1\le y<z\le M\\ t_{y,z}=1}}\bigl(d_{0,y}+d_{0,z}-d_{y,z}\bigr).mileage(S)=2j=1∑M​d0,j​−1≤y<z≤Mty,z​=1​∑​(d0,y​+d0,z​−dy,z​).

Milestones

mileage(link(S,y,z))=mileage(S)−(d0,y+d0,z−dy,z)for admissible (y:z),\text{mileage}(\text{link}(S,y,z))=\text{mileage}(S)-(d_{0,y}+d_{0,z}-d_{y,z})\quad\text{for admissible }(y:z),mileage(link(S,y,z))=mileage(S)−(d0,y​+d0,z​−dy,z​)for admissible (y:z),

relation (A) at every reachable state, the permanence of links between customers, and

#{runs with load>Ci}≤∑k>ixk  (i=1,…,n)  ⟺  the runs can be allocated to trucks,\#\{\text{runs with load}>C_i\}\le\sum_{k>i}x_k\ \ (i=1,\dots,n)\iff\text{the runs can be allocated to trucks},#{runs with load>Ci​}≤k>i∑​xk​  (i=1,…,n)⟺the runs can be allocated to trucks,

which together give feasibility of every reachable state. Two further milestones: when Cn≥∑jqjC_n\ge\sum_j q_jCn​≥∑j​qj​ and the distances are a metric, the optimum equals the traveling salesman optimum (p. 569); and on the data of Table I every run of the procedure ends with total distance 290.

Significance

The goal is the specification the paper's procedure meets: it always terminates, never gets stuck, and outputs routes the fleet can actually drive, with the mileage the half-matrix bookkeeping predicts. The equivalence of the Table II test with truck feasibility is the reason the procedure can check capacities by counting columns instead of solving an assignment problem; it is a nested-class instance of Hall's marriage condition and is reusable for any routing or bin-assignment problem with ordered vehicle classes.

None of these statements is formalized anywhere, and the paper does not prove them. The paper makes no claim of optimality ("near-optimal", p. 568, is not quantified), and the mission does not either. A formal model of the procedure as a nondeterministic transition system is a base on which later results about savings heuristics (worst-case ratios, parallel and sequential variants) can be stated.

Difficulty

The obvious argument for termination, "each link removes a run", needs the invariant that every reachable state is a partition of the customers into runs; the procedure manipulates ordered lists and reverses runs, so the invariant must be carried through every step. Feasibility is not preserved by an arbitrary link but only by one that passes condition (III), and turning the column test into an actual assignment of runs to trucks is a matching argument that fails without both x1=∞x_1=\inftyx1​=∞ and the ordering of the capacities. Because ties are broken arbitrarily, every statement must hold for all runs of a nondeterministic procedure, not for one canonical execution. The worked example requires following every tie-break.

Formalization scope

Points are Fin (M+1) with depot 0, and a run's length is SupplyChainTheory.routeCost from the referenced module SupplyChainTheory_vrp. Capacity class i : Fin (n+1) is the paper's Ci+1C_{i+1}Ci+1​; availabilities are in ℕ∞; loads and capacities are real. A state is a list of runs, each an ordered list of customers; the matrix ttt and the vector QQQ are computed from the state. The procedure is a step relation, and every invariant is stated for reachable states. Termination is Acc of the step relation at the initial state.

Choices committed to:

  • distances are arbitrary real, symmetric numbers (the half matrix, p. 573); no nonnegativity or triangle inequality is assumed in the goal, and savings may be negative;
  • every run: ties are free, as the paper suggests choosing randomly;
  • reachable states: invariants are not claimed for arbitrary lists of runs;
  • Table II is read cumulatively: column "Over CiC_iCi​" compares runs with load >Ci>C_i>Ci​ against all trucks of capacity >Ci>C_i>Ci​, as the printed Tables II, IV and VI show;
  • x1=∞x_1=\inftyx1​=∞ and C1<⋯<CnC_1<\dots<C_nC1​<⋯<Cn​ are hypotheses; qj≤Cnq_j\le C_nqj​≤Cn​ is not separately assumed, since it follows from the initial Table II test;
  • the initial one-truck-per-customer allocation is assumed feasible (p. 572);
  • the metric hypotheses enter only the traveling-salesman milestone.

A correctness claim only about final states, without termination and progress, would hold for a procedure with no moves; a step relation with a fixed tie-break would prove less than the paper; invariants for arbitrary states are false; and a mileage identity for an arbitrary partition says nothing about the procedure's output. None of these is the target.

Not formalized: the informal C1≪∑qjC_1\ll\sum q_jC1​≪∑qj​, the shadow-cost reading of p. 571, the decomposition savings (2)–(5) of the general scheme, the load-splitting reduction of pp. 572–573, the Dantzig–Ramser methods, and the empirical comparisons and appendices.

Contributions welcome: proofs of the milestones, in particular the Table II equivalence, which needs a Hall-type argument for nested classes, and a decision procedure for the worked example.

Selected references

  • G. Clarke and J. W. Wright, Scheduling of vehicles from a central depot to a number of delivery points, Operations Research 12(4) (1964), 568–581. https://doi.org/10.1287/opre.12.4.568
  • G. B. Dantzig and J. H. Ramser, The truck dispatching problem, Management Science 6(1) (1959), 80–91. https://doi.org/10.1287/mnsc.6.1.80
  • P. Hall, On representatives of subsets, Journal of the London Mathematical Society 10 (1935), 26–30. https://doi.org/10.1112/jlms/s1-10.37.26
12 thms4 active usersReviewed
🏆Completed
CombinatoricsProbabilityTheoretical Computer Science·Captain: mikedeng1

An Optimal Algorithm for On-line Bipartite Matching 1: RANKING Finds a Matching of Expected Size at Least n(1 − 1/e) − o(n) on Every Graph with a Perfect MatchingResearch Paper

Motivation

Online matching describes allocation when requests must be answered as they arrive. A matching decision uses only the edges revealed so far and cannot be revised when later requests appear. In the bipartite setting studied by Karp, U. Vazirani, and V. Vazirani, the arriving vertices are girls and the possible partners are boys. Even when the full graph has a perfect matching, a fixed greedy priority can leave many girls unmatched. The paper introduced RANKING, which randomly chooses the boys' priority order once and then uses that order for every arrival.

The question is quantitative: how many pairs does RANKING guarantee in expectation against a graph and an arrival order chosen before its random ranking? The paper's target is a fraction approaching 1−1/e1-1/e1−1/e of the nnn pairs in a perfect matching. Its printed Theorem 1 concerns an auxiliary algorithm called EARLY; the RANKING statement follows the intended chain through Lemmas 3 and 5. The original EARLY analysis has a gap for general upper-triangular matrices, so this mission states the RANKING target and the earlier, unaffected lemmas separately. This distinction matters because an assertion about EARLY would be a different formalization target.

Setting

A bipartite graph has a boy side UUU and a girl side VVV, each with nnn vertices. An edge (u,v)(u,v)(u,v) means that boy uuu may be paired with girl vvv. A matching is a collection of edges in which no boy or girl occurs twice. The standing hypothesis for the performance guarantee is that the graph has a perfect matching: some bijection from boys to girls selects an edge for every boy. The graph is otherwise arbitrary.

Girls arrive in a predetermined order. When girl vvv arrives, only her incident edges are revealed. RANKING first chooses a uniformly random permutation π\piπ of the boys. For each arriving girl, it selects the highest-ranked adjacent boy who is still unmatched, if one exists. Write MR(G,π)M_{\mathrm R}(G,\pi)MR​(G,π) for the final matching. The expected size is the finite average over all n!n!n! rankings. The guarantee must hold for every graph and every predetermined arrival order; relabeling girls lets the formal statement fix their order to n,n−1,…,1n,n-1,\ldots,1n,n−1,…,1.

The paper also uses a dual rows-arrive view. Boys arrive in an order and choose among eligible girls, whose priority order is fixed. This is the same greedy rule with the sides exchanged. For its triangular reduction, the columns are numbered 1,…,n1,\ldots,n1,…,n and column nnn has highest priority. An upper-triangular matrix with unit diagonal is a graph with every edge (i,i)(i,i)(i,i) and with an edge (i,j)(i,j)(i,j) only when i≤ji\le ji≤j. On such a graph, the auxiliary algorithm EARLY declines to match row iii if column iii is already covered by EARLY's own matching. For any matching MMM, D(M)D(M)D(M) denotes the indices for which both row iii and column iii are covered.

Formalization targets

RANKING guarantee

For every ε>0\varepsilon>0ε>0, one threshold NNN must work for every size n≥Nn\ge Nn≥N and every graph GGG with a perfect matching:

Eπ∼Unif(Sn)∣MR(G,π)∣≥(1−e−1−ε)n.\mathbb E_{\pi\sim\mathrm{Unif}(S_n)}|M_{\mathrm R}(G,\pi)| \ge (1-e^{-1}-\varepsilon)n.Eπ∼Unif(Sn​)​∣MR​(G,π)∣≥(1−e−1−ε)n.

This is the uniform lower-bound reading of the paper's n(1−1/e)−o(n)n(1-1/e)-o(n)n(1−1/e)−o(n) target. It does not prescribe a finite-nnn additive constant. The mission goal is the RANKING assertion drawn from the paper's Theorem 1 and Lemmas 3 and 5. The six milestones formalize the paper's Lemmas 1–5 and the corollary to Lemma 4, in their source order. They cover the side-exchange identity, arbitrary refusal algorithms, the triangular reduction, the matching-count identity, its expected form, and the pointwise comparison with EARLY.

Significance

The guarantee gives a concrete worst-case floor for a simple randomized allocation rule: as the graph size grows, RANKING matches at least an asymptotic 1−1/e1-1/e1−1/e fraction of the pairs available in a perfect matching, in expectation. The order is selected before the random permutation, matching the paper's performance measure. The lower bound remains meaningful on sparse graphs and does not rely on a density assumption. The original paper also studies the limit on what any randomized online algorithm can guarantee; that upper-bound result is treated in a separate mission.

A formal development here would provide reusable finite definitions for online greedy matching, arbitrary state-dependent refusal, fixed-order duality, and uniform expectation over permutations. The goal is a theorem statement awaiting a machine-checked proof; compiling the draft declarations verifies their Lean syntax and types, not their truth. The local mission separates the valid early structural statements from later statements whose published EARLY argument does not justify them on general upper-triangular graphs.

Difficulty

The random permutation does not make the fate of different vertices independent. Matching one girl removes a boy who might be essential to a later girl, so a per-arrival probability estimate cannot simply be added across all arrivals. The dual and triangular views capture useful structure, but turning that structure into a uniform bound for every graph is the main obstacle. In particular, reasoning about EARLY as if its matched-column set had the same monotonicity as unrestricted RANKING fails on some upper-triangular matrices. A proof of the goal must establish the RANKING guarantee without treating those later EARLY statements as available facts.

Formalization scope

Boys and girls are both Fin n; an adjacency matrix is a relation between them. A published predicate represents a perfect matching as an edge-preserving bijection. The generic greedy run processes arrival times in increasing order and interprets a smaller priority index as higher rank. It makes a new matching decision only from the current matching and the arriving vertex. RANKING's returned edges are consistently ordered as (boy, girl), even though girls arrive. The dual run has rows arriving in an arbitrary permutation and takes column n−1n-1n−1 as highest priority in Lean's zero-based numbering. EARLY's refusal test consults the matching constructed by EARLY itself.

All expectations are finite averages over Equiv.Perm (Fin n), scaled by 1/n!1/n!1/n!. The formal o(n)o(n)o(n) claim is ∀ε>0, ∃N, ∀n≥N, ∀G\forall\varepsilon>0,\ \exists N,\ \forall n\ge N,\ \forall G∀ε>0, ∃N, ∀n≥N, ∀G with a perfect matching, the displayed lower bound. Placing NNN before GGG preserves the worst-case meaning. The perfect-matching condition is essential: the empty graph cannot satisfy a positive linear guarantee. The triangular matrix in Lemma 3 retains every diagonal edge, so a zero matrix cannot witness the reduction. These conventions rule out vacuous versions of the goal and reduction.

The definitions of partial matching, covered vertices, greedy run, RANKING, EARLY, and uniform average are part of the mission. A complete proof may build further finite counting and permutation machinery; such lemmas can be shared beyond this paper. Contributions toward the six milestone statements, the goal, and faithful supporting results are in scope. Lemmas 6–12 and the printed EARLY Theorem 1 are outside this mission because their analysis depends on claims that fail for some matrices allowed by their surrounding assumptions.

Selected references

  • Richard M. Karp, Umesh V. Vazirani, and Vijay V. Vazirani, An Optimal Algorithm for On-line Bipartite Matching, Proceedings of the 22nd Annual ACM Symposium on Theory of Computing, 1990, pp. 352–358. DOI: 10.1145/100216.100262.
10 thms4 active usersReviewed
🏆Completed
Algorithmic Game TheoryProbability·Captain: mikedeng1

Supply Chain Coordination with Contracts IV: Competing Newsvendors with Proportional Allocation Have a Unique Equilibrium, and a Coordinating Buy-Back Gives the Supplier ((p(n − 1) + b)/(pn))Π(q°)Textbook

Why competing retailers change the contracting problem

A supplier who sells through a single newsvendor retailer faces double marginalization: the retailer bears the whole cost of leftover stock but earns only the retail margin, so under a plain wholesale-price contract he orders less than the integrated supply chain would. The literature reviewed in G. P. Cachon's chapter Supply Chain Coordination with Contracts (Handbooks in OR & MS, vol. 11, 2003) shows that buy-back, revenue-sharing and related contracts correct this distortion. Section 6.5 asks what happens when the supplier sells through several retailers who compete for the same customers.

Competition can push in the opposite direction. When customers buy wherever stock is available, a retailer who stocks more also takes demand from his rivals, and he does not count that loss as a cost. This demand-stealing effect pushes the retailers towards over-ordering, which offsets double marginalization. §6.5.1 makes this precise in the proportional allocation model, in which total demand is split among the retailers in proportion to their inventories. The model goes back to the deterministic version of Wang and Gerchak (2001); related allocation models are those of Lippman and McCardle (1997) and Anupindi and Bassok (1999), and Mahajan and van Ryzin (2001) observe the same mitigation of the need for coordinating contracts.

This mission formalizes §6.5.1 of the chapter's January 2003 third draft, pp. 48–53.

The proportional allocation model

There are n≥2n \ge 2n≥2 retailers and one supplier. Total retail demand D≥0D \ge 0D≥0 is random, with distribution function FFF that is differentiable on (0,∞)(0,\infty)(0,∞) with density fff, strictly increasing on [0,∞)[0,\infty)[0,∞), and satisfies F(0)=0F(0)=0F(0)=0. The retail price is ppp and the supplier's unit production cost is ccc, with 0<c<p0 < c < p0<c<p. Goodwill costs, the salvage value and the retailers' handling cost are zero.

Retailer iii orders qi≥0q_i \ge 0qi​≥0. Write q=∑jqjq = \sum_j q_jq=∑j​qj​ and q−i=q−qiq_{-i} = q - q_iq−i​=q−qi​. Retailer iii receives the demand Di=(qi/q)DD_i = (q_i/q)DDi​=(qi​/q)D. Under a buy-back contract (w,b)(w, b)(w,b) he pays www per unit ordered and is refunded bbb per unit left over; b=0b = 0b=0 is the wholesale-price contract. His expected profit is

πi(qi,q−i)=E[pmin⁡(qi,Di)+b(qi−Di)+]−wqi=(p−w)qi−(p−b)qiq∫0qF(x) dx.\pi_i(q_i, q_{-i}) = \mathbb E\big[p\min(q_i, D_i) + b(q_i - D_i)^+\big] - wq_i = (p-w)q_i - (p-b)\frac{q_i}{q}\int_0^q F(x)\,dx .πi​(qi​,q−i​)=E[pmin(qi​,Di​)+b(qi​−Di​)+]−wqi​=(p−w)qi​−(p−b)qqi​​∫0q​F(x)dx.

Because total sales min⁡(q,D)\min(q, D)min(q,D) depend only on the total stock, the integrated chain earns Π(q)=pS(q)−cq\Pi(q) = pS(q) - cqΠ(q)=pS(q)−cq with S(q)=E[min⁡(q,D)]S(q) = \mathbb E[\min(q,D)]S(q)=E[min(q,D)], and its optimal stock qoq^oqo solves the newsvendor equation F(qo)=(p−c)/pF(q^o) = (p-c)/pF(qo)=(p−c)/p, Eq. (20). A Nash equilibrium is a profile of orders in which each qi∗q^*_iqi∗​ maximizes πi(⋅,q−i∗)\pi_i(\cdot, q^*_{-i})πi​(⋅,q−i∗​) over all orders x≥0x \ge 0x≥0. A contract coordinates the chain when its equilibrium total order is qoq^oqo.

Two contract prices appear on p. 52: the wholesale price w^(q)=p(1−1nF(q)−n−1n⋅1q∫0qF)\widehat w(q) = p\big(1 - \tfrac1n F(q) - \tfrac{n-1}{n}\cdot\tfrac1q\int_0^qF\big)w(q)=p(1−n1​F(q)−nn−1​⋅q1​∫0q​F) that induces total stock qqq, and the buy-back wholesale price

wb(b)=p−(p−b)[1n⋅p−cp+n−1n⋅1qo∫0qoF(x) dx].w_b(b) = p - (p-b)\left[\frac1n\cdot\frac{p-c}{p} + \frac{n-1}{n}\cdot\frac{1}{q^o}\int_0^{q^o}F(x)\,dx\right].wb​(b)=p−(p−b)[n1​⋅pp−c​+nn−1​⋅qo1​∫0qo​F(x)dx].

Formalization targets

Goal: the coordinating buy-back contract (pp. 51–53)

For n≥2n \ge 2n≥2, b<pb < pb<p and qoq^oqo solving (20), with w=wb(b)w = w_b(b)w=wb​(b): qoq^oqo maximizes Π\PiΠ; b<wb(b)<pb < w_b(b) < pb<wb​(b)<p; the profile in which every retailer orders qo/nq^o/nqo/n is the unique Nash equilibrium; and at that equilibrium

πi=p−bpn2 Π(qo),πs=wqo−cqo−b E[(qo−D)+]=p(n−1)+bpn Π(qo).\pi_i = \frac{p-b}{pn^2}\,\Pi(q^o), \qquad \pi_s = wq^o - cq^o - b\,\mathbb E[(q^o-D)^+] = \frac{p(n-1)+b}{pn}\,\Pi(q^o).πi​=pn2p−b​Π(qo),πs​=wqo−cqo−bE[(qo−D)+]=pnp(n−1)+b​Π(qo).

Milestones

The milestones are the section's own claims, in attack order: the newsvendor characterization (20); the inequality 1q∫0qF<F(q)\frac1q\int_0^qF < F(q)q1​∫0q​F<F(q); the closed form of πi\pi_iπi​ and its strict concavity in the retailer's own order (p. 50); the first-order condition and Eq. (21); the monotonicity and limits of the left side LnL_nLn​ of Eq. (22), giving a unique root for b<w<pb < w < pb<w<p; the unique, symmetric Nash equilibrium for every b<w<pb < w < pb<w<p; the increase of the equilibrium total in nnn; that w^(q)\widehat w(q)w(q) induces qqq, that w^(qo)>c\widehat w(q^o) > cw(qo)>c, and that the supplier's profit under wholesale pricing has negative slope at qoq^oqo; the coordinating price wb(b)w_b(b)wb​(b) with wb(b)>w^(qo)w_b(b) > \widehat w(q^o)wb​(b)>w(qo) for b>0b > 0b>0; and the ratio πs(qo,wb(0),0)/Π(qo)=(n−1)/n\pi_s(q^o, w_b(0), 0)/\Pi(q^o) = (n-1)/nπs​(qo,wb​(0),0)/Π(qo)=(n−1)/n (p. 53). A companion item states the endpoint b=pb = pb=p, at which the supplier takes all of Π(qo)\Pi(q^o)Π(qo).

Significance

The section answers two questions. First, with competing retailers a plain wholesale-price contract can coordinate the chain and still leave the supplier a positive margin, which a single retailer never allows. Second, that contract is not the supplier's best wholesale price, and it fixes a single division of profit. Buy-back contracts remove both limitations: the family (wb(b),b)(w_b(b), b)(wb​(b),b) coordinates for every b<pb < pb<p and moves the supplier's share continuously from (n−1)/n(n-1)/n(n−1)/n to all of Π(qo)\Pi(q^o)Π(qo). The ratio (n−1)/n(n-1)/n(n−1)/n also measures how little a coordinating contract adds when many retailers compete (80% of the optimal profit at n=5n = 5n=5).

The results are proved in the chapter, mostly by short computations, and none of them has been machine-checked. The formalization makes explicit what the page leaves implicit: that no equilibrium has a retailer ordering zero, the limits behind "from 0 to 1", and the density condition behind the strict sign on p. 52. It also produces a reusable proportional-allocation game and a Nash-equilibrium predicate for nonnegative real strategies.

Difficulty

The algebraic identities (the profits at the coordinating contract, the ratio (n−1)/n(n-1)/n(n−1)/n, the derivative at qoq^oqo) are routine once πi\pi_iπi​ has its closed form. The closed form itself requires computing the expectation with proportional shares and identifying E[min⁡(q,D)]\mathbb E[\min(q,D)]E[min(q,D)] with q−∫0qFq - \int_0^q Fq−∫0q​F.

The real obstacle is the uniqueness of the equilibrium. The page argues from first-order conditions, which describe only interior best responses. A complete proof must show that each retailer's profit is strictly concave in his own order, that no retailer orders zero in equilibrium, and that the all-zero profile (where πi\pi_iπi​ has q=0q = 0q=0 in a denominator) is not an equilibrium. Strict concavity is the delicate step. The second derivative mixes the density with the term 2q−iq3(qF(q)−∫0qF)\frac{2q_{-i}}{q^3}\big(qF(q) - \int_0^qF\big)q32q−i​​(qF(q)−∫0q​F), and concavity has to be established on the closed half-line, including the boundary qi=0q_i = 0qi​=0.

Formalization scope

Retailers are indexed by Fin n with n≥2n \ge 2n≥2 (the page's n>1n > 1n>1). The comparison in nnn also allows a single retailer, as the page does. Orders are real numbers qi≥0q_i \ge 0qi​≥0, and best responses range over all x≥0x \ge 0x≥0. The demand law is a probability measure on R\mathbb RR carried by [0,∞)[0,\infty)[0,∞) with finite mean, FFF is its cdf, and fff is a field with HasDerivAt F (f y) y for y>0y > 0y>0. These are the chapter's standing assumptions (p. 7). The condition c>0c > 0c>0 is needed for (20) to have a solution. The integrated optimum qoq^oqo enters each theorem through the hypothesis F(qo)=(p−c)/pF(q^o) = (p-c)/pF(qo)=(p−c)/p, which determines it uniquely. Transfers run from the retailers to the supplier.

Added or made explicit relative to the page: b<pb < pb<p in the concavity claim (at b=pb = pb=p the profit is linear); f(qo)>0f(q^o) > 0f(qo)>0 for the strict sign of the supplier's marginal profit; positivity of the total order wherever 1q∫0qF\frac1q\int_0^qFq1​∫0q​F appears. The page's printed slips (the first-order condition rescaled by q∗/(p−b)q^*/(p-b)q∗/(p−b), "F(qo)=(p−c)/cF(q^o) = (p-c)/cF(qo)=(p−c)/c", "w(b)w(b)w(b)") are corrected in the statements and kept in the milestone quotes.

Ruled out as trivializing: w^\widehat ww and wbw_bwb​ are the printed formulas, not "the price at which qoq^oqo is an equilibrium"; the supplier's profit is computed from the transfers, not as Π\PiΠ minus the retailers' profits; the equilibrium statement quantifies over all nonnegative deviations, so restricting attention to interior or symmetric profiles is not an option.

A complete development needs interval integrals of a cdf, the fundamental theorem of calculus for q↦∫0qFq \mapsto \int_0^qFq↦∫0q​F, and strict concavity from a strictly decreasing derivative. The proportional-allocation game and the Nash predicate are reusable for the other allocation models of §6.5. No platform item is referenced: the competing-retailer game of Cachon and Lariviere (2005), RevShareCoord.Competing.*, uses deterministic revenue functions and is a different model.

Selected references

  • G. P. Cachon, Supply Chain Coordination with Contracts, in S. Graves and T. de Kok (eds.), Handbooks in Operations Research and Management Science, vol. 11, North-Holland, 2003; read in the author's 3rd draft (Jan. 2003), §6.5.1. https://doi.org/10.1016/S0927-0507(03)11006-7
  • Y. Wang and Y. Gerchak, Supply chain coordination when demand is shelf-space dependent, Manufacturing & Service Operations Management 3(1), 2001, 82–87. https://doi.org/10.1287/msom.3.1.82.9998
  • S. A. Lippman and K. F. McCardle, The competitive newsboy, Operations Research 45(1), 1997, 54–65. https://doi.org/10.1287/opre.45.1.54
  • S. Mahajan and G. van Ryzin, Inventory competition under dynamic consumer choice, Operations Research 49(5), 2001, 646–657. https://doi.org/10.1287/opre.49.5.646.10603
  • G. P. Cachon and M. A. Lariviere, Supply chain coordination with revenue-sharing contracts: strengths and limitations, Management Science 51(1), 2005, 30–44. https://doi.org/10.1287/mnsc.1040.0215
18 thms4 active usersReviewed
🏆Completed
Algorithmic Game TheoryAnalysisTopology·Captain: mikedeng1

A Generalization of Brouwer's Fixed Point Theorem: An Upper Semi-Continuous Map with Nonempty Closed Convex Values on a Bounded Closed Convex Set in Euclidean Space Has a Fixed PointResearch Paper

Motivation

Brouwer's fixed point theorem says that a continuous map of a closed simplex into itself has a fixed point. Many existence questions in game theory and mathematical economics produce instead a point-to-set mapping: to each point xxx it assigns a whole set Φ(x)\Phi(x)Φ(x) of admissible responses, for instance the set of best replies of a player to the others' strategies. Such a set need not be a single point, and no continuous single-valued selection need exist. Kakutani's 1941 note, A generalization of Brouwer's fixed point theorem, gives the fixed point theorem for this setting, and shows on the same three pages that it implies two results of J. von Neumann: an intersection theorem for two closed subsets of a product of convex sets, and the minimax theorem.

Timeline, as the paper records it:

  • 1912–1929: Brouwer's theorem; the paper cites the proof of Knaster, Kuratowski and Mazurkiewicz (Fund. Math. 14, 1929).
  • 1928: von Neumann proves the minimax theorem for matrix games (Math. Ann. 100).
  • 1937: von Neumann proves the intersection theorem (Kakutani's Theorem 2) in his paper on an economic equilibrium system, "by using a notion of integral in Euclidean spaces".
  • 1941: Kakutani proves Theorem 1 (simplex), the Corollary (bounded closed convex sets), and derives Theorems 2 and 3 from it.
  • 1950: Nash's existence proof for equilibrium points of nnn-person games applies Kakutani's theorem (PNAS 36).

Setting

Let E=RmE=\mathbb R^mE=Rm with its Euclidean norm, and let S⊆ES\subseteq ES⊆E. Kakutani writes R(S)\mathfrak R(S)R(S) for the family of all closed convex subsets of SSS; as printed, it contains the empty set. A point-to-set mapping of SSS into R(S)\mathfrak R(S)R(S) assigns to each x∈Sx\in Sx∈S a closed convex set Φ(x)⊆S\Phi(x)\subseteq SΦ(x)⊆S.

Φ\PhiΦ is upper semi-continuous (in the paper's sense) when

xn∈S,xn→x0∈S,yn∈Φ(xn),yn→y0⟹y0∈Φ(x0).x_n\in S,\quad x_n\to x_0\in S,\quad y_n\in\Phi(x_n),\quad y_n\to y_0\quad\Longrightarrow\quad y_0\in\Phi(x_0).xn​∈S,xn​→x0​∈S,yn​∈Φ(xn​),yn​→y0​⟹y0​∈Φ(x0​).

This is a sequential closed-graph condition. The paper remarks that for a closed SSS it is equivalent to the graph {(x,y):x∈S, y∈Φ(x)}\{(x,y):x\in S,\ y\in\Phi(x)\}{(x,y):x∈S, y∈Φ(x)} being closed in S×SS\times SS×S.

An rrr-dimensional closed simplex is the convex hull of r+1r+1r+1 affinely independent points of EEE. A fixed point of Φ\PhiΦ is a point x0∈Sx_0\in Sx0​∈S with x0∈Φ(x0)x_0\in\Phi(x_0)x0​∈Φ(x0​).

Formalization targets

Goal: the Corollary (p. 458)

Let S⊆RmS\subseteq\mathbb R^mS⊆Rm be nonempty, bounded, closed and convex, and let Φ\PhiΦ be upper semi-continuous on SSS with every value Φ(x)\Phi(x)Φ(x), x∈Sx\in Sx∈S, a nonempty closed convex subset of SSS. Then

∃ x0∈S:x0∈Φ(x0).\exists\,x_0\in S:\qquad x_0\in\Phi(x_0).∃x0​∈S:x0​∈Φ(x0​).

Milestones

  1. Brouwer's fixed point theorem (§1, p. 457) — a published, proved platform theorem, referenced.
  2. Approximation step of the proof of Theorem 1 (pp. 457–458): for every ε>0\varepsilon>0ε>0 there are a point xxx of the simplex, points x0,…,xrx_0,\dots,x_rx0​,…,xr​ within ε\varepsilonε of xxx, selections yi∈Φ(xi)y_i\in\Phi(x_i)yi​∈Φ(xi​) and weights λ∈Δr\lambda\in\Delta_rλ∈Δr​ with x=∑iλixi=∑iλiyix=\sum_i\lambda_ix_i=\sum_i\lambda_iy_ix=∑i​λi​xi​=∑i​λi​yi​.
  3. Limit step of the proof of Theorem 1 (p. 458): such data for every ε>0\varepsilon>0ε>0, on a compact SSS, force a fixed point.
  4. Theorem 1 (p. 457): the fixed point statement for an rrr-dimensional closed simplex.
  5. Enclosing simplex (proof of the Corollary, p. 458): every bounded subset of Rm\mathbb R^mRm lies in an mmm-dimensional closed simplex S′S'S′.
  6. Retraction (proof of the Corollary, p. 458): a continuous map of S′S'S′ into SSS fixing SSS.
  7. Composition (proof of the Corollary, p. 458): x↦Φ(ψ(x))x\mapsto\Phi(\psi(x))x↦Φ(ψ(x)) is upper semi-continuous on S′S'S′ with values in R(S)⊆R(S′)\mathfrak R(S)\subseteq\mathfrak R(S')R(S)⊆R(S′).
  8. Closed-graph equivalence (§1, p. 457), for closed SSS and Φ(x)⊆S\Phi(x)\subseteq SΦ(x)⊆S.
  9. Theorem 2 (p. 458, von Neumann's intersection theorem): if K⊆RmK\subseteq\mathbb R^mK⊆Rm, L⊆RnL\subseteq\mathbb R^nL⊆Rn are bounded closed convex, K≠∅K\neq\emptysetK=∅, and U,V⊆K×LU,V\subseteq K\times LU,V⊆K×L are closed with all sections Ux0⊆LU_{x_0}\subseteq LUx0​​⊆L, Vy0⊆KV_{y_0}\subseteq KVy0​​⊆K nonempty, closed and convex, then U∩V≠∅U\cap V\neq\emptysetU∩V=∅.

Milestones 8 and 9 stand off the goal's proof path: the paper proves Theorem 2 from the Corollary, using milestone 8 to check upper semi-continuity.

Significance

The Corollary is the form in which Kakutani's theorem is used: existence of equilibrium points in nnn-person games (Nash), of competitive equilibria (Arrow–Debreu), and of solutions of generalized games and variational inequalities all reduce to a fixed point of a point-to-set mapping with nonempty closed convex values on a compact convex set. Theorem 2 in turn gives the minimax theorem (the paper's Theorem 3) in a few lines.

The results are classical and their proofs are known; what is missing is a machine-checked version. Mathlib does not contain Kakutani's theorem, and on Prove2Me the theorem is not posed. Brouwer's theorem is proved on the platform (AGT.brouwer_fixed_point) and enters as a reference milestone. Theorem 3 is already proved on the platform as a special case of Sion's minimax theorem (FamousTheorems.sion_minimax_theorem, Mathlib's Sion.minimax) and is therefore not posed here. A related open platform statement, Debreu's 1952 fixed point lemma for a contractible polyhedron with contractible values and a closed graph (SocialEquilibrium.Existence.fixed_point_of_contractible_polyhedron), generalizes Theorem 1 on polyhedra but not the Corollary, since a bounded closed convex set need not be a polyhedron. Once proved, the goal is the standard entry point for formalized equilibrium existence results.

Difficulty

Brouwer's theorem needs a continuous single-valued map, and a point-to-set mapping with closed convex values need not admit a continuous selection: the mapping on [−1,1][-1,1][−1,1] equal to {1}\{1\}{1} for x<0x<0x<0, [−1,1][-1,1][−1,1] at 000 and {−1}\{-1\}{−1} for x>0x>0x>0 is upper semi-continuous and has none. So the obvious route, select and apply Brouwer, fails; any proof must pass through approximations and a limit in which the graph condition and the convexity of the limiting value both enter. The approximation step needs a family of triangulations of the simplex with mesh tending to zero, which Mathlib does not provide. The transfer from a simplex to a general convex set needs a continuous retraction, which uses convexity and closedness of SSS in Euclidean space.

Formalization scope

  • The ambient space is EuclideanSpace ℝ (Fin m), m=0m=0m=0 included. A point-to-set mapping is a total function Φ : E → Set E; only its values on SSS are constrained.
  • IsClosedConvexSubset S A is the paper's A∈R(S)A\in\mathfrak R(S)A∈R(S) (A⊆SA\subseteq SA⊆S, closed, convex) and admits A=∅A=\emptysetA=∅ as printed. Nonemptiness of the values (and of SSS, and of KKK in Theorem 2) is a separate, labelled hypothesis: with Φ≡∅\Phi\equiv\emptysetΦ≡∅, or S=∅S=\emptysetS=∅, the printed hypotheses hold and there is no fixed point, while the paper's proof picks "an arbitrary point yny^nyn from Φ(xn)\Phi(x^n)Φ(xn)".
  • IsUpperSemicontinuous S Φ is the paper's sequential condition, with sequences in SSS and limit x0∈Sx_0\in Sx0​∈S. It is not Berge's open-neighbourhood upper hemicontinuity.
  • Explicit readings of loose phrases: "the nnn-th barycentric simplicial subdivision" becomes "for every ε>0\varepsilon>0ε>0" with the selected vertices within ε\varepsilonε of the point (no subdivision is built into the statement); "it is clear that … converges" becomes compactness of SSS in the limit step; "take a closed simplex S′S'S′ which contains SSS" becomes an mmm-dimensional affinely independent hull; "a continuous retracting point-to-point mapping" becomes ContinuousOn ψ S', MapsTo ψ S' S and ψ x = x on SSS; "clearly an upper semi-continuous point-to-set mapping of S′S'S′ into R(S)⊆R(S′)\mathfrak R(S)\subseteq\mathfrak R(S')R(S)⊆R(S′)" is stated as three conclusions; "closed subset of S×SS\times SS×S" is closedness in E×EE\times EE×E (the same for closed SSS); U⋅VU\cdot VU⋅V is U∩VU\cap VU∩V; "K×LK\times LK×L in Rm+nR^{m+n}Rm+n" is the product Rm×Rn\mathbb R^m\times\mathbb R^nRm×Rn.
  • A trivializing formalization would allow empty values, an empty domain, a degenerate simplex, or approximation data for a single coarse ε\varepsilonε; each is excluded by the statements as written.
  • Infrastructure a complete development needs: barycentric subdivisions or another construction of approximate fixed points; nearest-point projection onto closed convex sets in Euclidean space; transport of the Corollary to Rm×Rn\mathbb R^m\times\mathbb R^nRm×Rn for Theorem 2. The two definitions are generic and reusable for any later set-valued existence result. Proofs by any faithful route are welcome, including a route through Brouwer's theorem and a continuous approximate selection.

Selected references

  • S. Kakutani, A generalization of Brouwer's fixed point theorem, Duke Math. J. 8 (1941), 457–459. https://doi.org/10.1215/s0012-7094-41-00838-4
  • B. Knaster, C. Kuratowski, S. Mazurkiewicz, Ein Beweis des Fixpunktsatzes für n-dimensionale Simplexe, Fund. Math. 14 (1929), 132–137. https://doi.org/10.4064/fm-14-1-132-137
  • J. von Neumann, Zur Theorie der Gesellschaftsspiele, Math. Ann. 100 (1928), 295–320. https://doi.org/10.1007/BF01448847
  • J. von Neumann, Über ein ökonomisches Gleichungssystem und eine Verallgemeinerung des Brouwerschen Fixpunktsatzes, Ergebnisse eines Math. Kolloquiums 8 (1937), 73–83.
  • J. F. Nash, Equilibrium points in n-person games, Proc. Natl. Acad. Sci. USA 36 (1950), 48–49. https://doi.org/10.1073/pnas.36.1.48
  • M. Sion, On general minimax theorems, Pacific J. Math. 8 (1958), 171–176. https://doi.org/10.2140/pjm.1958.8.171
13 thms4 active usersReviewed
🏆Completed
Dynamic ProgrammingOptimizationProbability·Captain: mikedeng1

Coordinating Inventory Control and Pricing Strategies with Random Demand and Fixed Ordering Cost: The Finite Horizon Case 1: Additive Demand: k-Concave Profit-to-Go, Optimal (s, S, p) PolicyResearch Paper

Motivation

A retailer that sets both its replenishment quantities and its prices over a finite selling season faces a coupled decision: the price shapes the demand that the inventory must serve, and the inventory position shapes which price is worth charging. With a fixed cost per order, the classical inventory answer is the (s, S) policy of Scarf (1960): when the stock falls below a reorder point sss, order up to the level SSS. Thomas (1974) asked what happens when the price is also a decision, and conjectured that an (s, S, p) policy — an (s, S) ordering rule together with a price that depends on the stock level — is optimal "under fairly general conditions". He also gave a counterexample when prices are restricted to a discrete set.

Chen and Simchi-Levi (Operations Research 52(6), 2004) settled the conjecture for the finite horizon. When demand is additive in a random shock, wt=Dt(pt)+βtw_t = D_t(p_t) + \beta_twt​=Dt​(pt​)+βt​, the conjecture holds (§3, Theorem 3.1). When the shock is not additive, it fails, and a weaker policy class is optimal (§4, the second mission of this series). This mission formalizes the additive case.

Timeline:

  • Scarf (1960): (s, S) policies are optimal for the fixed-cost inventory problem, through k-convexity.
  • Thomas (1974): conjectures (s, S, p) optimality with a continuous price range.
  • Federgruen and Heching (1999): joint pricing and inventory without a fixed cost; base-stock list-price policies are optimal.
  • Polatoglu and Sahin (2000): the lost-sales variant; sufficient conditions for (s, S, p) optimality.
  • Chen and Simchi-Levi (2004): (s, S, p) optimality for additive demand with backlogging, and its failure in general.

Setting

There are TTT periods t=1,…,Tt = 1, \dots, Tt=1,…,T. In period ttt the firm starts with inventory xxx, orders up to a level y≥xy \ge xy≥x at cost k δ(y−x)+ct(y−x)k\,\delta(y - x) + c_t(y - x)kδ(y−x)+ct​(y−x), where k≥0k \ge 0k≥0 is a fixed cost, ctc_tct​ a unit cost and δ(u)=1\delta(u) = 1δ(u)=1 if u>0u > 0u>0 and 000 otherwise, and sets a price. Demand is wt=αtDt(pt)+βtw_t = \alpha_t D_t(p_t) + \beta_twt​=αt​Dt​(pt​)+βt​ for a random pair ϵt=(αt,βt)\epsilon_t = (\alpha_t, \beta_t)ϵt​=(αt​,βt​) with Eαt=1\mathbb E\alpha_t = 1Eαt​=1, Eβt=0\mathbb E\beta_t = 0Eβt​=0; in the additive case αt=1\alpha_t = 1αt​=1. Unmet demand is backlogged, and an end-of-period inventory xxx costs ht(x)h_t(x)ht​(x), a convex function.

Since price and expected demand determine each other, the decision is an expected demand d∈[d‾t,dˉt]d \in [\underline d_t, \bar d_t]d∈[d​t​,dˉt​], with price Pt(d)=Dt−1(d)P_t(d) = D_t^{-1}(d)Pt​(d)=Dt−1​(d) and expected revenue Rt(d)=d Pt(d)R_t(d) = d\,P_t(d)Rt​(d)=dPt​(d), assumed concave. With Gt(y,d)=E ht(y−αtd−βt)G_t(y, d) = \mathbb E\,h_t(y - \alpha_t d - \beta_t)Gt​(y,d)=Eht​(y−αt​d−βt​), the profit-to-go functions satisfy vT+1≡0v_{T+1} \equiv 0vT+1​≡0 and, for t=T,…,1t = T, \dots, 1t=T,…,1,

vt(x)=ctx+max⁡y≥x[−k δ(y−x)+gt(y,dt(y))],(2)v_t(x) = c_t x + \max_{y \ge x}\Big[-k\,\delta(y - x) + g_t\big(y, d_t(y)\big)\Big], \qquad (2)vt​(x)=ct​x+y≥xmax​[−kδ(y−x)+gt​(y,dt​(y))],(2) gt(y,d)=Rt(d)−cty+E{−ht(y−αtd−βt)+vt+1(y−αtd−βt)},(3)g_t(y, d) = R_t(d) - c_t y + \mathbb E\big\{-h_t(y - \alpha_t d - \beta_t) + v_{t+1}(y - \alpha_t d - \beta_t)\big\}, \qquad (3)gt​(y,d)=Rt​(d)−ct​y+E{−ht​(y−αt​d−βt​)+vt+1​(y−αt​d−βt​)},(3)

where dt(y)d_t(y)dt​(y) maximizes gt(y,⋅)g_t(y, \cdot)gt​(y,⋅) over [d‾t,dˉt][\underline d_t, \bar d_t][d​t​,dˉt​]. A function fff is k-convex if k+f(z+y)≥f(y)+zb(f(y)−f(y−b))k + f(z + y) \ge f(y) + \frac{z}{b}\big(f(y) - f(y - b)\big)k+f(z+y)≥f(y)+bz​(f(y)−f(y−b)) for all z≥0z \ge 0z≥0, b>0b > 0b>0, yyy (Definition 2.1), and k-concave if −f-f−f is k-convex. Assumptions 3–5 of the paper give GtG_tGt​ the stated one-sided growth limits and polynomial growth O(∣y∣ρ)O(|y|^\rho)O(∣y∣ρ), and give demand a finite ρ\rhoρ-th moment.

Formalization targets

Goal: Theorem 3.1(c)–(d)

For additive demand and every period ttt: gt(y,⋅)g_t(y, \cdot)gt​(y,⋅) attains its maximum at some dt(y)d_t(y)dt​(y), the functions y↦gt(y,dt(y))y \mapsto g_t(y, d_t(y))y↦gt​(y,dt​(y)) and x↦vt(x)x \mapsto v_t(x)x↦vt​(x) are k-concave, and there exist st≤Sts_t \le S_tst​≤St​ such that

y∗(x)={St,x<st,x,x≥st,y^*(x) = \begin{cases} S_t, & x < s_t,\\ x, & x \ge s_t,\end{cases}y∗(x)={St​,x,​x<st​,x≥st​,​

maximizes −k δ(y−x)+gt(y,dt(y))-k\,\delta(y - x) + g_t(y, d_t(y))−kδ(y−x)+gt​(y,dt​(y)) over y≥xy \ge xy≥x, vt(x)=ctx−k δ(y∗(x)−x)+gt(y∗(x),dt(y∗(x)))v_t(x) = c_t x - k\,\delta(y^*(x) - x) + g_t(y^*(x), d_t(y^*(x)))vt​(x)=ct​x−kδ(y∗(x)−x)+gt​(y∗(x),dt​(y∗(x))), and a best expected demand exists at y∗(x)y^*(x)y∗(x); the price is Dt−1D_t^{-1}Dt−1​ of it.

Milestones

  1. Definitions 2.1 and 2.2 of k-convexity are equivalent.
  2. Lemma 1(d): a continuous coercive k-convex function has the (s, S) shape (already proved on the platform).
  3. Lemma 2: a maximizer dt(y)d_t(y)dt​(y) can be chosen with y−dt(y)y - d_t(y)y−dt​(y) nondecreasing.
  4. Theorem 3.1(a): gt(y,d)=O(∣y∣ρ)g_t(y, d) = O(|y|^\rho)gt​(y,d)=O(∣y∣ρ) and vt(x)=O(∣x∣ρ)v_t(x) = O(|x|^\rho)vt​(x)=O(∣x∣ρ).
  5. Theorem 3.1(b): gtg_tgt​ is continuous, gt(y,d)→−∞g_t(y, d) \to -\inftygt​(y,d)→−∞ as ∣y∣→∞|y| \to \infty∣y∣→∞, and dt(y)d_t(y)dt​(y) exists.
  6. Inequality (7): gt(y,dt(y))g_t(y, d_t(y))gt​(y,dt​(y)) is k-concave when the continuation value is.
  7. The display of vtv_tvt​: its (s, S) form and the transfer of k-concavity from gt(y,dt(y))g_t(y, d_t(y))gt​(y,dt​(y)) to vtv_tvt​.

Significance

The theorem identifies the structure of an optimal policy for a basic model of coordinated pricing and replenishment: two numbers per period determine the ordering decision, and the price is a function of the post-order stock. It confirms Thomas's conjecture in the additive case and tells a computation or an approximation scheme which policy class it may restrict to; §5 of the paper extends it to a nonincreasing fixed cost, the infinite horizon and Markovian demand.

The result is proved in the paper; to our knowledge it has no machine-checked proof. A formalization adds checked versions of the k-convexity toolkit (the equivalence of the two standard definitions; the (s, S) structure lemma), a checked monotone-selection argument for a parametric maximization, and a checked finite-horizon induction in which an expectation, a maximization over a continuous action and a fixed cost interact. The proof of part (a) is omitted in the paper ("similar to that of Theorem 1 in Federgruen and Heching (1999)"), so formalizing it supplies a missing argument.

Difficulty

The obvious argument fails at the expectation. A k-concave function composed with a shift y↦y−d−βy \mapsto y - d - \betay↦y−d−β is k-concave for a fixed ddd, but here the demand decision depends on yyy, and k-concavity, unlike concavity, is not preserved under an arbitrary reparametrization: Definition 2.2 is asymmetric in its two points. The inequality needed for the continuation value requires the post-demand levels y−dt(y)−βty - d_t(y) - \beta_ty−dt​(y)−βt​ to be ordered like the inventory levels yyy. That is the content of Lemma 2, and it uses additivity; for multiplicative demand the ordering fails, and so does the theorem (§4).

The second difficulty is analytic: each step of the induction needs a continuous continuation value of polynomial growth, so that the expectation in (3) is finite and continuous, the maximum over ddd is attained, and gtg_tgt​ is coercive.

Formalization scope

The model is a structure of real data indexed by t∈Nt \in \mathbb Nt∈N, with periods 1,…,T1, \dots, T1,…,T; the law of (αt,βt)(\alpha_t, \beta_t)(αt​,βt​) is a probability measure on R2\mathbb R^2R2 and expectations are Bochner integrals. The formalization works in expected-demand space d∈[d‾t,dˉt]d \in [\underline d_t, \bar d_t]d∈[d​t​,dˉt​], equivalent to price space because DtD_tDt​ is a continuous strictly decreasing bijection. Additivity is "αt=1\alpha_t = 1αt​=1 almost surely". The profit-to-go is defined by recursion on the number of periods to go, with vT+1=0v_{T+1} = 0vT+1​=0. Maxima are written as real suprema; every target that uses them asserts that they are attained, so the convention that an unbounded supremum is 000 never enters. k-convexity is the platform's BertsekasKConvex (Definition 2.1); k-concavity of fff is k-convexity of −f-f−f.

Conventions and restrictions relative to the printed page:

  • O(∣y∣ρ)O(|y|^\rho)O(∣y∣ρ) is an explicit bound C(1+∣y∣ρ)C(1 + |y|^\rho)C(1+∣y∣ρ) with ρ∈N\rho \in \mathbb Nρ∈N, uniform in ddd.
  • Assumption 5, printed E{Dt(p,ϵt)}ρ<∞E\{D_t(p, \epsilon_t)\}^\rho < \inftyE{Dt​(p,ϵt​)}ρ<∞, is read as E∣αtd+βt∣ρ<∞\mathbb E|\alpha_t d + \beta_t|^\rho < \inftyE∣αt​d+βt​∣ρ<∞.
  • Integrability of ht(y−αtd−βt)h_t(y - \alpha_t d - \beta_t)ht​(y−αt​d−βt​) is part of Assumption 4, and Theorem 3.1(a) also asserts that the expectation of vt+1v_{t+1}vt+1​ in (3) is finite.
  • Added hypotheses: cT+1=0c_{T+1} = 0cT+1​=0 (the paper uses cT+1c_{T+1}cT+1​ without defining it), ct≥0c_t \ge 0ct​≥0 (used in the proof of part (b); without it gtg_tgt​ need not tend to −∞-\infty−∞), and k≥0k \ge 0k≥0.
  • Independence across periods is not stated; the dynamic program uses only each period's marginal law.
  • The paper writes st<Sts_t < S_tst​<St​ in the proof; for k=0k = 0k=0 equality is possible, so the targets use st≤Sts_t \le S_tst​≤St​.

A trivializing formalization is ruled out: the targets assert attainment of every maximum they mention and the identity between vt(x)v_t(x)vt​(x) and the maximized objective, so a supremum that defaults to 000, or an integral of a non-integrable function, cannot make them hold vacuously; and the assumptions are satisfiable (a one-period instance with h(x)=∣x∣h(x) = |x|h(x)=∣x∣ meets all of them).

A complete development needs: continuity of parametric integrals under polynomial domination; attainment of maxima over compact intervals; Topkis-style monotone selection for functions with increasing differences; the (s, S) structure lemma for k-convex functions (proved on the platform); and the closure of k-concavity under the operations above. The k-convexity results and the monotone-selection lemma are reusable for the general-demand mission of this series and for other fixed-cost inventory models. Contributions to any milestone are welcome, including proofs that rely on platform results by Topkis (Supermodularity.Monotonicity.argmax_increasing_of_increasing_differences).

Selected references

  • X. Chen, D. Simchi-Levi, Coordinating Inventory Control and Pricing Strategies with Random Demand and Fixed Ordering Cost: The Finite Horizon Case, Operations Research 52(6), 887–896, 2004. https://doi.org/10.1287/opre.1040.0127
  • H. Scarf, The Optimality of (S, s) Policies in the Dynamic Inventory Problem, in Mathematical Methods in the Social Sciences, Stanford University Press, 1960.
  • L. J. Thomas, Price and Production Decisions with Random Demand, Operations Research 22, 513–518, 1974.
  • E. L. Porteus, On the Optimality of Generalized (s, S) Policies, Management Science 17, 411–426, 1971.
  • A. Federgruen, A. Heching, Combined Pricing and Inventory Control Under Uncertainty, Operations Research 47(3), 454–475, 1999. https://doi.org/10.1287/opre.47.3.454
  • H. Polatoglu, I. Sahin, Optimal Procurement Policies under Price-Dependent Demand, International Journal of Production Economics 65, 141–171, 2000.
  • D. M. Topkis, Supermodularity and Complementarity, Princeton University Press, 1998.
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, Athena Scientific, 1995.
11 thms4 active usersReviewed
🏆Completed
Convex OptimizationOptimization·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity I: The Center of Gravity Method Satisfies f(x_t) − min f ≤ 2B(1 − 1/e)^{t/n}Textbook

Motivation

Black-box convex optimization asks how many queries to an oracle are needed to minimize a convex function to accuracy ε\varepsilonε. In fixed dimension nnn the answer is of order nlog⁡(1/ε)n\log(1/\varepsilon)nlog(1/ε), and the first algorithm to attain it is the center of gravity method, discovered independently by Levin (1965) and Newman (1965). It is the opening example of cutting plane methods: algorithms that keep a set known to contain a minimizer and shrink it with one half-space per oracle call. The ellipsoid method and Vaidya's method, which underlie the polynomial-time solvability of linear programming and convex feasibility problems, follow the same template with cheaper sets. This mission is the first of a series formalizing S. Bubeck's monograph Convex Optimization: Algorithms and Complexity (2015), and covers its §2.1.

Timeline:

  • 1960: B. Grünbaum proves that every half-space whose boundary passes through the centroid of a convex body in Rn\mathbb R^nRn contains at least a fraction (n/(n+1))n≥1/e(n/(n+1))^n \ge 1/e(n/(n+1))n≥1/e of its volume.
  • 1965: A. Levin and D. J. Newman independently introduce the center of gravity method and prove its linear rate.
  • 1983: A. Nemirovski and D. Yudin show that Ω(nlog⁡(1/ε))\Omega(n\log(1/\varepsilon))Ω(nlog(1/ε)) oracle calls are necessary for small ε\varepsilonε, so the method's oracle complexity is optimal.

Setting

Let X⊂Rn\mathcal X\subset\mathbb R^nX⊂Rn be a convex body: a compact convex set with non-empty interior. Let f:X→[−B,B]f:\mathcal X\to[-B,B]f:X→[−B,B] be continuous and convex, and let x∗∈Xx^*\in\mathcal Xx∗∈X be a minimizer of fff on X\mathcal XX. A vector www is a subgradient of fff at x∈Xx\in\mathcal Xx∈X if f(x)−f(y)≤w⊤(x−y)f(x)-f(y)\le w^\top(x-y)f(x)−f(y)≤w⊤(x−y) for every y∈Xy\in\mathcal Xy∈X. The first order oracle returns, at a query point, some subgradient there; the zeroth order oracle returns the value of fff.

For a set S\mathcal SS of finite positive volume, its center of gravity is

c(S)=1vol(S)∫x∈Sx dx.c(\mathcal S)=\frac{1}{\mathrm{vol}(\mathcal S)}\int_{x\in\mathcal S}x\,dx .c(S)=vol(S)1​∫x∈S​xdx.

The center of gravity method sets S1=X\mathcal S_1=\mathcal XS1​=X and, for t≥1t\ge1t≥1, computes ct=c(St)c_t=c(\mathcal S_t)ct​=c(St​), queries the first order oracle at ctc_tct​ to obtain a subgradient wtw_twt​, and sets

St+1=St∩{x∈Rn:(x−ct)⊤wt≤0}.\mathcal S_{t+1}=\mathcal S_t\cap\{x\in\mathbb R^n:(x-c_t)^\top w_t\le0\}.St+1​=St​∩{x∈Rn:(x−ct​)⊤wt​≤0}.

After ttt steps it outputs xt∈argmin⁡1≤r≤tf(cr)x_t\in\operatorname{argmin}_{1\le r\le t}f(c_r)xt​∈argmin1≤r≤t​f(cr​), found with ttt calls to the zeroth order oracle.

The Lean development names these objects IsConvexBody, IsSubgradientOn, centroid and IsCenterOfGravityRun in the namespace ConvexOptAlg.CenterGravity.

Formalization targets

Goal: Theorem 2.1 (p. 245)

For every run of the method and every t≥1t\ge1t≥1,

f(xt)−min⁡x∈Xf(x)≤2B(1−1e)t/n.f(x_t)-\min_{x\in\mathcal X}f(x)\le 2B\Big(1-\frac1e\Big)^{t/n}.f(xt​)−x∈Xmin​f(x)≤2B(1−e1​)t/n.

Milestones (proof of Theorem 2.1, pp. 246–247)

  1. Lemma 2.2 (Grünbaum). If K\mathcal KK is centered, ∫Kx dx=0\int_{\mathcal K}x\,dx=0∫K​xdx=0, then for every w≠0w\ne0w=0,
Vol(K∩{x:x⊤w≥0})≥1e Vol(K).\mathrm{Vol}\big(\mathcal K\cap\{x:x^\top w\ge0\}\big)\ge\tfrac1e\,\mathrm{Vol}(\mathcal K).Vol(K∩{x:x⊤w≥0})≥e1​Vol(K).
  1. (2.2). St∖St+1⊂{x∈X:(x−ct)⊤wt>0}⊂{x∈X:f(x)>f(ct)}\mathcal S_t\setminus\mathcal S_{t+1}\subset\{x\in\mathcal X:(x-c_t)^\top w_t>0\}\subset\{x\in\mathcal X:f(x)>f(c_t)\}St​∖St+1​⊂{x∈X:(x−ct​)⊤wt​>0}⊂{x∈X:f(x)>f(ct​)}, hence x∗∈Stx^*\in\mathcal S_tx∗∈St​ for every ttt.
  2. Volume decay. If ws≠0w_s\ne0ws​=0 for s≤ts\le ts≤t, then vol(St+1)≤(1−1/e)t vol(X)\mathrm{vol}(\mathcal S_{t+1})\le(1-1/e)^t\,\mathrm{vol}(\mathcal X)vol(St+1​)≤(1−1/e)tvol(X).
  3. Shrunk copies. For ε∈[0,1]\varepsilon\in[0,1]ε∈[0,1] and Xε={(1−ε)x∗+εx:x∈X}\mathcal X_\varepsilon=\{(1-\varepsilon)x^*+\varepsilon x: x\in\mathcal X\}Xε​={(1−ε)x∗+εx:x∈X}, vol(Xε)=εn vol(X)\mathrm{vol}(\mathcal X_\varepsilon)=\varepsilon^n\,\mathrm{vol}(\mathcal X)vol(Xε​)=εnvol(X).
  4. Values on shrunk copies. Every xε∈Xεx_\varepsilon\in\mathcal X_\varepsilonxε​∈Xε​ satisfies f(xε)≤f(x∗)+2εBf(x_\varepsilon)\le f(x^*)+2\varepsilon Bf(xε​)≤f(x∗)+2εB.

Significance

Theorem 2.1 is a linear rate whose number of queries to reach accuracy ε\varepsilonε, O(nlog⁡(2B/ε))O(n\log(2B/\varepsilon))O(nlog(2B/ε)), depends on the dimension only linearly and on the accuracy only logarithmically, and matches the Nemirovski–Yudin lower bound. It is the reference point against which the ellipsoid method (O(n2log⁡(1/ε))O(n^2\log(1/\varepsilon))O(n2log(1/ε)) queries) and Vaidya's method are measured, and the randomized center of gravity method of §6.7 of the book rests on the same analysis. Grünbaum's inequality is a basic fact of convex geometry with uses well beyond optimization, for instance in the analysis of query complexity and of approximate centroid computations by random walks.

On the formal side, the theorem has been proved since 1965 and the lemma since 1960; neither is known to have a machine-checked proof. A complete development adds to Mathlib-based libraries the center of gravity of a set, the volume of homothetic images in the form used here, Grünbaum's inequality, and a reusable predicate for cutting plane runs. The later missions of this series (the ellipsoid method in particular) reuse the shrunk-copy argument of milestones 4 and 5.

Difficulty

The steps (2.2), the shrunk-copy volume and the value bound are short. The volume decay and the final comparison are bookkeeping once one knows that each cut keeps the method's sets convex bodies with positive volume. The difficulty is Lemma 2.2. A half-space through the centroid need not split the volume evenly: for a cone the smaller side tends to 1/e1/e1/e of the volume as n→∞n\to\inftyn→∞, so no symmetry argument works, and the bound must hold uniformly in the dimension. The classical proofs rely on tools of convex geometry, such as volume comparisons between a body and a symmetrized body, that are not available in Lean in the needed form. A second source of work is that the method's sets are defined through centroids: it has to be shown that they remain convex bodies of positive volume, so that each centroid is the genuine center of gravity, and this fact is not available before the volume estimates are.

Formalization scope

Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n) with Lebesgue measure volume; volumes are kept in [0,∞][0,\infty][0,∞] in every statement. The function is a total map f : EuclideanSpace ℝ (Fin n) → ℝ with ∣f∣≤B|f|\le B∣f∣≤B, continuity and convexity required on X\mathcal XX only; its values off X\mathcal XX are irrelevant. Subgradients are relative to X\mathcal XX (Definition 1.2). A run is a predicate on sequences indexed from 111; the oracle's choice of subgradient is free, and every theorem holds for all runs. The minimizer x∗x^*x∗ is a hypothesis, as in the book's standing notation; it exists here by compactness. The output xtx_txt​ is any argmin, so the goal bounds the minimum min⁡1≤r≤tf(cr)\min_{1\le r\le t}f(c_r)min1≤r≤t​f(cr​).

Added hypotheses, all disclosed in the statements: n≥1n\ge1n≥1 in the goal, because the exponent t/nt/nt/n is undefined for n=0n=0n=0; and in Lemma 2.2, that the centered set is a convex body, because in Lean the integral of a non-integrable function is 000, which would make every unbounded convex set "centered". The milestone on volume decay assumes ws≠0w_s\ne0ws​=0, which is the book's own reduction.

The center of gravity is defined with the real volume vol(S)\mathrm{vol}(\mathcal S)vol(S) and is meaningless when that volume is 000 or infinite. The run predicate does not assume the volumes are positive; that every set of a run is a convex body of positive volume is part of what has to be proved, and a formalization in which runs could degenerate to sets of zero volume, or in which the centroid is an arbitrary point, is not the book's method.

Contributions welcome: proofs of any item; a general Grünbaum inequality for convex sets of finite positive volume; lemmas on centroids (membership in the closed convex hull, translation behaviour) that later missions can reuse.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980v2, §2.1. https://arxiv.org/abs/1405.4980
  • B. Grünbaum, Partitions of mass-distributions and of convex bodies by hyperplanes, Pacific Journal of Mathematics 10(4):1257–1261, 1960. https://doi.org/10.2140/pjm.1960.10.1257
  • A. Yu. Levin, On an algorithm for the minimization of convex functions, Soviet Mathematics Doklady 6:286–290, 1965.
  • D. J. Newman, Location of the maximum on unimodal surfaces, Journal of the ACM 12(3):395–398, 1965. https://doi.org/10.1145/321281.321291
  • A. Nemirovski and D. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983.
9 thms4 active usersReviewed
🏆Completed
Convex OptimizationProbabilityStatistics·Captain: mikedeng1

Data-Driven Robust Optimization VI: The Moment Set U^CS Has Support Function μ̂ᵀv + Γ₁‖v‖ + √(1/ε − 1)‖Cv‖, an Upper Bound on the Worst-Case Value at RiskResearch Paper

Motivation

In robust optimization, a constraint is checked against every parameter value in an uncertainty set. This turns uncertainty into a deterministic optimization problem, but the set must be chosen carefully: a large set can make decisions unnecessarily conservative, while a small one can miss likely outcomes. Bertsimas, Gupta and Kallus use data to calibrate sets through statistical confidence regions. Their question is whether feasibility for every parameter in the set protects a decision against a fresh uncertain outcome with a specified probability. This mission treats the part of their construction based on estimated first and second moments. Bertsimas, Gupta and Kallus, §8.1.

The moment region originates in a concentration result attributed in the paper to Shawe-Taylor and Cristianini. That result bounds the distance between sample and population means and covariances when the uncertain vector is supported in a Euclidean ball. Bertsimas, Gupta and Kallus also discuss replacing those analytic thresholds with bootstrap thresholds; they describe the resulting coverage as approximate. The present target concerns the mathematical relation between a fixed moment region and its uncertainty set, leaving the statistical calibration of the thresholds to its cited source. Shawe-Taylor and Cristianini, 2003; Bertsimas, Gupta and Kallus, pp. 24–25.

Setting

Let the uncertain vector u~\tilde uu~ take values in Rd\mathbb R^dRd. A probability law PPP belongs to the moment confidence region PCS\mathcal P^{CS}PCS when it is supported in the Euclidean ball of radius RRR, its mean mPm_PmP​ is within Γ1\Gamma_1Γ1​ of an estimate μ^\hat\muμ^​, and its covariance SPS_PSP​ is within Γ2\Gamma_2Γ2​ of an estimate Σ^\hat\SigmaΣ^ in Frobenius norm. The covariance is SP=EP[u~u~⊤]−mPmP⊤S_P=\mathbb E_P[\tilde u\tilde u^\top]-m_Pm_P^\topSP​=EP​[u~u~⊤]−mP​mP⊤​. The thresholds Γ1,Γ2\Gamma_1,\Gamma_2Γ1​,Γ2​ are nonnegative and can be chosen by either calibration procedure discussed in the paper. Bertsimas, Gupta and Kallus, Theorem 9 and (33).

For a vector vvv, Value at Risk VaR⁡εP(v)\operatorname{VaR}^{P}_{\varepsilon}(v)VaRεP​(v) is the smallest threshold ttt for which P(u~⊤v≤t)≥1−εP(\tilde u^\top v\le t)\ge1-\varepsilonP(u~⊤v≤t)≥1−ε. The support function of a set U\mathcal UU is δ∗(v∣U)=sup⁡u∈Uu⊤v\delta^*(v\mid\mathcal U)=\sup_{u\in\mathcal U}u^\top vδ∗(v∣U)=supu∈U​u⊤v. The authors construct the set

UεCS={μ^+y+C⊤w:∥y∥2≤Γ1, ∥w∥2≤1/ε−1},C⊤C=Σ^+Γ2I.\mathcal U^{CS}_{\varepsilon} =\{\hat\mu+y+C^\top w:\|y\|_2\le\Gamma_1,\ \|w\|_2\le\sqrt{1/\varepsilon-1}\}, \qquad C^\top C=\hat\Sigma+\Gamma_2 I.UεCS​={μ^​+y+C⊤w:∥y∥2​≤Γ1​, ∥w∥2​≤1/ε−1​},C⊤C=Σ^+Γ2​I.

Here 0<ε<10<\varepsilon<10<ε<1 is the allowed violation probability, III is the identity matrix, and CCC is a matrix factor of the adjusted covariance. The estimates and CCC stay fixed while ε\varepsilonε varies. Bertsimas, Gupta and Kallus, (34)–(35).

Formalization targets

The first milestone bounds the quantile for every law in the moment region:

VaR⁡εP(v)≤μ^⊤v+Γ1∥v∥2+1−εεv⊤(Σ^+Γ2I)v(P∈PCS).\operatorname{VaR}^{P}_{\varepsilon}(v)\le \hat\mu^\top v+\Gamma_1\|v\|_2+ \sqrt{\frac{1-\varepsilon}{\varepsilon}} \sqrt{v^\top(\hat\Sigma+\Gamma_2I)v} \quad(P\in\mathcal P^{CS}).VaRεP​(v)≤μ^​⊤v+Γ1​∥v∥2​+ε1−ε​​v⊤(Σ^+Γ2​I)v​(P∈PCS).

The second milestone evaluates the two linear maxima over the Euclidean balls in UεCS\mathcal U^{CS}_{\varepsilon}UεCS​ and identifies ∥Cv∥2\|Cv\|_2∥Cv∥2​ with the quadratic form above. The goal, the deterministic part of Theorem 10, says the displayed bound equals δ∗(v∣UεCS)\delta^*(v\mid\mathcal U^{CS}_{\varepsilon})δ∗(v∣UεCS​) for every vvv, while the set is nonempty, convex and compact. This gives the support-function criterion of Theorem 1 for each law in the region. A companion formalizes Theorem 13(a): the resulting support constraint is separately convex in (v,t)(v,t)(v,t) and in ε\varepsilonε for 0<ε<3/40<\varepsilon<3/40<ε<3/4. Bertsimas, Gupta and Kallus, Theorems 10 and 13(a).

Significance

The support formula turns a distributional statement about an entire region of probability laws into a deterministic bound on a linear projection. It gives the robust model an explicit quantity to compare with a constraint threshold. The companion convexity result describes which risk levels allow separate convex optimization in the decision variables and the violation probability. Together they explain why the particular set in (35) is useful beyond the fact that it contains plausible uncertain vectors. Bertsimas, Gupta and Kallus, §§8.1 and 9.

The paper proves the mathematical construction and cites statistical results for the region's coverage. In Lean, the published Value-at-Risk and support-function definitions are already available, while this paper's moment region and set (35) need their own definitions. Formalizing the result therefore establishes a reusable interface between moment bounds, quantiles and set support. The theorem statements in this proposal are open proof targets; compiling them checks their types, not their proofs.

Difficulty

A bound on the mean and covariance does not directly bound a high quantile of every projection. The bound must work simultaneously for every probability law in the moment region, including discrete laws and singular covariances. The factor (1−ε)/ε\sqrt{(1-\varepsilon)/\varepsilon}(1−ε)/ε​ is essential: replacing it by a standard deviation or a Gaussian quantile would change the claim. On the set side, the ordinary norm of a Lean function vector is a sup norm, whereas both balls in (35) are Euclidean. Getting the norm wrong changes the support function. Bertsimas, Gupta and Kallus, (34)–(35).

Formalization scope

Vectors are functions on Fin d, whose coordinates start at zero. enorm and frob explicitly compute the Euclidean and Frobenius norms. The ball-support condition in PCS\mathcal P^{CS}PCS secures finite first and second moments; no density is assumed. The goal fixes R≥0R\ge0R≥0, Γ1,Γ2≥0\Gamma_1,\Gamma_2\ge0Γ1​,Γ2​≥0, 0<ε<10<\varepsilon<10<ε<1, and C⊤C=Σ^+Γ2IC^\top C=\hat\Sigma+\Gamma_2IC⊤C=Σ^+Γ2​I. This factor relation makes the quadratic form nonnegative; a separate positive-semidefinite assumption on Σ^\hat\SigmaΣ^ is unnecessary. The matrix need not be triangular because (35) and its support depend on C⊤CC^\top CC⊤C. The uncertainty set's nonemptiness and compactness appear in the goal so the real support-function supremum cannot take Lean's default value for an empty or unbounded set.

Theorem 10's sampling claim is represented by its deterministic criterion for each P∈PCSP\in\mathcal P^{CS}P∈PCS. The confidence-region coverage of Theorem 9 is cited, and the bootstrap coverage discussed on p. 25 is approximate; neither is asserted as an exact probability theorem here. Equation (34) prints an equality for a supremum over PCS\mathcal P^{CS}PCS, yet that region restricts support to a ball, and the page does not establish attainment under that restriction. This mission uses the upper-bound direction needed for Theorem 10 and does not assert the equality or Remark 16's exact equivalence. The scope includes a sharp quantile bound, the exact support formula and the 3/43/43/4 convexity range; a definition that merely makes the claim true by construction would miss these targets. Bertsimas, Gupta and Kallus, pp. 24–25 and 29.

Selected references

  • D. Bertsimas, V. Gupta and N. Kallus, Data-Driven Robust Optimization, arXiv:1401.0212v2, 2014; revised in Mathematical Programming 167 (2018), 235–292. arXiv preprint.
  • J. Shawe-Taylor and N. Cristianini, Estimating the Moments of a Random Vector with Applications, 2003. University of Southampton ePrint.
  • G. C. Calafiore and L. El Ghaoui, On Distributionally Robust Chance-Constrained Linear Programs, Journal of Optimization Theory and Applications 130 (2006), 1–22. DOI.
6 thms4 active usersReviewed
🏆Completed
Convex OptimizationProbability·Captain: mikedeng1

Data-Driven Robust Optimization I: An Uncertainty Set Whose Support Function Dominates Value at Risk Implies a Probabilistic Guarantee for Every Concave ConstraintResearch Paper

Motivation

Robust optimization replaces an uncertain constraint f(u~,x)≤0f(\tilde{\mathbf u},\mathbf x)\le 0f(u~,x)≤0, whose parameter u~∈Rd\tilde{\mathbf u}\in\mathbb R^du~∈Rd is random, by the requirement that the constraint hold for every u\mathbf uu in a chosen uncertainty set U\mathcal UU:

f(u,x)≤0∀ u∈U.f(\mathbf u,\mathbf x)\le 0\qquad\forall\,\mathbf u\in\mathcal U .f(u,x)≤0∀u∈U.

The resulting problem is deterministic and, for many shapes of U\mathcal UU, tractable (Ben-Tal, El Ghaoui and Nemirovski, Robust Optimization, 2009). The modelling question it leaves open is how to choose U\mathcal UU. A set that is too large makes every solution conservative; a set that is too small gives no protection. The practitioner's real requirement is usually probabilistic: a robust feasible x\mathbf xx should violate the uncertain constraint with probability at most ϵ\epsilonϵ.

Bertsimas, Gupta and Kallus (Data-Driven Robust Optimization, arXiv:1401.0212v2, 2014; Math. Program. 167, 2018) build uncertainty sets directly from data so that this requirement holds with high confidence. Their whole construction rests on one characterization, Theorem 1 of the paper, of when a set carries such a guarantee. This mission formalizes that characterization and the two results (Theorems 2 and 3) that turn it into a data-driven recipe.

Earlier work used the "if" direction of the characterization for bi-affine constraints when designing sets for specific distributional assumptions (Ben-Tal et al., 2009; Chen, Sim and Sun, Oper. Res. 55, 2007). The extension to every constraint concave in u\mathbf uu is due to Bertsimas, Gupta and Kallus.

Setting

Let P\mathbb PP be a probability measure on Rd\mathbb R^dRd, the law of u~\tilde{\mathbf u}u~, and fix a level 0<ϵ<10<\epsilon<10<ϵ<1. Throughout, f(u,x)f(\mathbf u,\mathbf x)f(u,x) is concave in u\mathbf uu for every value of the decision variable x∈Rk\mathbf x\in\mathbb R^kx∈Rk.

The support function of a set U⊆Rd\mathcal U\subseteq\mathbb R^dU⊆Rd is

δ∗(v∣U)=sup⁡u∈UvTu,v∈Rd.\delta^*(\mathbf v\mid\mathcal U)=\sup_{\mathbf u\in\mathcal U}\mathbf v^T\mathbf u,\qquad\mathbf v\in\mathbb R^d .δ∗(v∣U)=u∈Usup​vTu,v∈Rd.

The Value at Risk of the linear loss u~Tv\tilde{\mathbf u}^T\mathbf vu~Tv at level ϵ\epsilonϵ is

VaRϵP(v)=inf⁡{t: P(u~Tv≤t)≥1−ϵ}.\mathrm{VaR}^{\mathbb P}_\epsilon(\mathbf v)=\inf\{t:\ \mathbb P(\tilde{\mathbf u}^T\mathbf v\le t)\ge 1-\epsilon\}.VaRϵP​(v)=inf{t: P(u~Tv≤t)≥1−ϵ}.

A set U\mathcal UU implies a probabilistic guarantee at level ϵ\epsilonϵ for P\mathbb PP (property (P2) of the paper) if for every kkk, every f(u,x)f(\mathbf u,\mathbf x)f(u,x) concave in u\mathbf uu for each x∈Rk\mathbf x\in\mathbb R^kx∈Rk, and every x∗∈Rk\mathbf x^*\in\mathbb R^kx∗∈Rk,

f(u,x∗)≤0  ∀u∈U⟹P(f(u~,x∗)≤0)≥1−ϵ.(2)f(\mathbf u,\mathbf x^*)\le0\ \ \forall\mathbf u\in\mathcal U\quad\Longrightarrow\quad\mathbb P\big(f(\tilde{\mathbf u},\mathbf x^*)\le0\big)\ge1-\epsilon. \tag{2}f(u,x∗)≤0  ∀u∈U⟹P(f(u~,x∗)≤0)≥1−ϵ.(2)

A function is bi-affine if it has the form f(u,x)=uTFx+fuTu+fxTx+f0f(\mathbf u,\mathbf x)=\mathbf u^TF\mathbf x+\mathbf f_u^T\mathbf u+\mathbf f_x^T\mathbf x+f_0f(u,x)=uTFx+fuT​u+fxT​x+f0​.

In the data-driven setting, P∗\mathbb P^*P∗ is unknown and a sample S=(u^1,…,u^N)\mathcal S=(\hat{\mathbf u}^1,\dots,\hat{\mathbf u}^N)S=(u^1,…,u^N) is drawn i.i.d. from it. The paper's schema fixes 0<α<10<\alpha<10<α<1, takes the confidence region P(S)\mathcal P(\mathcal S)P(S) of a hypothesis test at level α\alphaα, and builds a closed convex set U(S)\mathcal U(\mathcal S)U(S) whose support function bounds VaRϵP(v)\mathrm{VaR}^{\mathbb P}_\epsilon(\mathbf v)VaRϵP​(v) for every P∈P(S)\mathbb P\in\mathcal P(\mathcal S)P∈P(S) and every v\mathbf vv.

Formalization targets

Goal: Theorem 1

(a) If U\mathcal UU is nonempty, convex and compact and

δ∗(v∣U)≥VaRϵP(v)∀ v∈Rd,\delta^*(\mathbf v\mid\mathcal U)\ge\mathrm{VaR}^{\mathbb P}_\epsilon(\mathbf v)\qquad\forall\,\mathbf v\in\mathbb R^d,δ∗(v∣U)≥VaRϵP​(v)∀v∈Rd,

then U\mathcal UU implies a probabilistic guarantee at level ϵ\epsilonϵ for P\mathbb PP.

(b) If U\mathcal UU is nonempty and δ∗(v∣U)<VaRϵP(v)\delta^*(\mathbf v\mid\mathcal U)<\mathrm{VaR}^{\mathbb P}_\epsilon(\mathbf v)δ∗(v∣U)<VaRϵP​(v) for some v\mathbf vv at which δ∗(v∣U)\delta^*(\mathbf v\mid\mathcal U)δ∗(v∣U) is finite, then some bi-affine fff violates (2).

Milestones toward the goal

The proof in the electronic companion (EC.1.1) is a short chain, and its steps are the milestones: the attainment property of VaR, P(u~Tv>VaRϵP(v))≤ϵ\mathbb P(\tilde{\mathbf u}^T\mathbf v>\mathrm{VaR}^{\mathbb P}_\epsilon(\mathbf v))\le\epsilonP(u~Tv>VaRϵP​(v))≤ϵ (already proved on the platform); a strict separating hyperplane between U\mathcal UU and the superlevel set {f(⋅,x∗)≥t}\{f(\cdot,\mathbf x^*)\ge t\}{f(⋅,x∗)≥t}; the bound P(f(u~,x∗)≥t)≤ϵ\mathbb P(f(\tilde{\mathbf u},\mathbf x^*)\ge t)\le\epsilonP(f(u~,x∗)≥t)≤ϵ for t>0t>0t>0; its limit P(f(u~,x∗)>0)≤ϵ\mathbb P(f(\tilde{\mathbf u},\mathbf x^*)>0)\le\epsilonP(f(u~,x∗)>0)≤ϵ; and, for part (b), the witness f(u,x)=vTu−xf(\mathbf u,x)=\mathbf v^T\mathbf u-xf(u,x)=vTu−x at x∗=δ∗(v∣U)x^*=\delta^*(\mathbf v\mid\mathcal U)x∗=δ∗(v∣U).

Companions: Theorems 2 and 3

Theorem 2: with probability at least 1−α1-\alpha1−α over the sample, U(S)\mathcal U(\mathcal S)U(S) implies a probabilistic guarantee at level ϵ\epsilonϵ for P∗\mathbb P^*P∗. Theorem 3: if the region does not depend on ϵ\epsilonϵ, then with probability at least 1−α1-\alpha1−α the whole family {U(S,ϵ):0<ϵ<1}\{\mathcal U(\mathcal S,\epsilon):0<\epsilon<1\}{U(S,ϵ):0<ϵ<1} implies the guarantee simultaneously (a), and every x\mathbf xx satisfying the level-optimized constraints (9) satisfies the joint chance constraint

P∗(max⁡j=1,…,mfj(u~,x)≤0)≥1−ϵˉ(7)\mathbb P^*\Big(\max_{j=1,\dots,m}f_j(\tilde{\mathbf u},\mathbf x)\le0\Big)\ge1-\bar\epsilon \tag{7}P∗(j=1,…,mmax​fj​(u~,x)≤0)≥1−ϵˉ(7)

(b).

Significance

Theorem 1(a) is what certifies every uncertainty set in the paper: the χ2\chi^2χ2 and GGG sets for discrete distributions, the Kolmogorov–Smirnov and forward–backward sets for independent marginals, the marginal-sample box and the moment sets. Each construction reduces to proving one inequality between a support function and a Value at Risk, which is a statement about a single linear functional, and Theorem 1(a) lifts it to every concave constraint at once. Part (b) shows the condition cannot be dropped even for bi-affine constraints. Theorems 2 and 3 separate the statistical input (coverage of a confidence region) from the convex-analytic input (the support-function bound), and Theorem 3(b) is what allows the levels ϵj\epsilon_jϵj​ of a system of constraints to be optimized after seeing the data.

The results are proved in the paper. None of them has a machine-checked proof; the only formalized ingredient is the attainment property of VaR, which is on the platform as a proved theorem. The formalization provides a checked bridge from support-function bounds to probabilistic guarantees that the other missions of this series (II–VI) use to state their own results in the criterion form VaR≤δ∗\mathrm{VaR}\le\delta^*VaR≤δ∗.

Difficulty

The informal argument is short; the difficulty is in the infinite-dimensional bookkeeping that the page leaves implicit. The superlevel set {f(⋅,x∗)≥t}\{f(\cdot,\mathbf x^*)\ge t\}{f(⋅,x∗)≥t} need not be bounded, so the strict separation must use compactness of U\mathcal UU alone. Closedness of this set and measurability of {f(u~,x∗)≤0}\{f(\tilde{\mathbf u},\mathbf x^*)\le0\}{f(u~,x∗)≤0} depend on concave functions on Rd\mathbb R^dRd being continuous. The passage t↓0t\downarrow0t↓0 is continuity of a measure along an increasing union. The attainment of the infimum in the definition of VaR requires right-continuity of distribution functions. A naive attempt to separate U\mathcal UU from the zero superlevel set {f≥0}\{f\ge0\}{f≥0} directly fails, because the two sets may touch.

Formalization scope

Rd\mathbb R^dRd is Fin d → ℝ; u~\tilde{\mathbf u}u~ is the identity map; vTu\mathbf v^T\mathbf uvTu is the dot product u ⬝ᵥ v. The Value at Risk is the published MultistageStochastic.valueAtRisk at level 1−ϵ1-\epsilon1−ϵ, and the support function is the published RobustMDP.Shared.supportFunction. Both are real-valued sInf/sSup, which return 000 on empty or unbounded sets, so every statement assumes 0<ϵ<10<\epsilon<10<ϵ<1, a probability measure, and an uncertainty set that is nonempty and compact (Theorem 1(a), Theorems 2–3) or nonempty with {vTu:u∈U}\{\mathbf v^T\mathbf u:\mathbf u\in\mathcal U\}{vTu:u∈U} bounded above in the direction considered (Theorem 1(b)). In Theorem 1(b) and its witness this is the paper's own requirement that δ∗(v∣U)\delta^*(\mathbf v\mid\mathcal U)δ∗(v∣U) be finite, which its strict inequality with a real VaR forces and its proof uses by treating δ∗(v∣U)\delta^*(\mathbf v\mid\mathcal U)δ∗(v∣U) as a real number. Part (b) is printed with U∗\mathcal U^*U∗, a slip for U\mathcal UU; the proof's separation step prints both inequalities in the same direction, a slip corrected in the strict separation milestone.

Property (P2) quantifies over the dimension kkk of the decision variable, every function concave in u\mathbf uu for each x\mathbf xx, and every x∗\mathbf x^*x∗. Restricting it to affine fff or to k=0k=0k=0 would trivialize part (a) and falsify part (b), and is ruled out by the definition.

In Theorems 2 and 3 the sample is Fin N → (Fin d → ℝ) with the product law Measure.pi; the confidence region and the uncertainty set are arbitrary maps of the sample, and the coverage PS∗(P∗∈P(S))≥1−α\mathbb P^*_{\mathcal S}(\mathbb P^*\in\mathcal P(\mathcal S))\ge1-\alphaPS∗​(P∗∈P(S))≥1−α is a hypothesis, never the conclusion's event. Step 2 of the schema is stated with g=δ∗(⋅∣U(S))g=\delta^*(\cdot\mid\mathcal U(\mathcal S))g=δ∗(⋅∣U(S)) directly. The sets are assumed nonempty and compact (Step 3 says closed and convex; a finite support function that bounds VaR forces nonemptiness and boundedness). Theorem 3(b) reads the levels ϵj\epsilon_jϵj​ in (0,1)(0,1)(0,1), where the family is defined. Probabilities of events in the sample space are outer measures, so no measurability hypotheses are needed.

A complete development needs strict separation of a compact convex set from a closed convex set (Mathlib's geometric_hahn_banach_compact_closed), continuity of concave functions on finite-dimensional spaces, and the attainment property of VaR. Contributions are welcome on all milestones; the separation and limit steps are reusable for any chance-constraint argument based on support functions.

Selected references

  • D. Bertsimas, V. Gupta, N. Kallus, Data-Driven Robust Optimization, arXiv:1401.0212v2, 2014; Mathematical Programming 167:235–292, 2018. https://arxiv.org/abs/1401.0212
  • A. Ben-Tal, L. El Ghaoui, A. Nemirovski, Robust Optimization, Princeton University Press, 2009. https://doi.org/10.1515/9781400831050
  • X. Chen, M. Sim, P. Sun, A Robust Optimization Perspective on Stochastic Programming, Operations Research 55(6):1058–1071, 2007. https://doi.org/10.1287/opre.1070.0441
12 thms4 active usersReviewed
🏆Completed
Linear OptimizationOptimization·Captain: mikedeng1

On the Power and Limitations of Affine Policies in Two-Stage Adaptive Optimization I: An Affine Policy Is Optimal When the Uncertainty Set Is a SimplexResearch Paper

Motivation

Two-stage adaptive optimization models decisions taken in two rounds: a first-stage decision xxx is fixed before an uncertain parameter is revealed, and a second-stage decision y(b)y(b)y(b) is chosen after the parameter bbb is observed, so that the second stage may depend on bbb arbitrarily. The objective is the worst case over an uncertainty set U\mathcal UU of possible parameters. Such models arise in robust network design, capacity planning and two-stage covering problems, and they generalize the two-stage robust combinatorial problems (set cover, facility location) studied by Dhamdhere, Goyal, Ravi and Singh.

Optimizing over all functions y(⋅)y(\cdot)y(⋅) is intractable in general: Bertsimas and Goyal note that the optimal second stage is piecewise linear in bbb with possibly exponentially many pieces (Bemporad, Borrelli and Morari, 2003). A standard remedy, introduced for robust linear programs by Ben-Tal, Goryashko, Guslitzer and Nemirovski (2004), restricts the second stage to affine policies (linear decision rules) y(b)=Pb+qy(b)=Pb+qy(b)=Pb+q; the best affine policy is computable by a single convex program and performs well empirically. The question is when this restriction loses nothing.

Timeline of the relevant results:

  • 2004. Ben-Tal, Goryashko, Guslitzer and Nemirovski introduce affinely adjustable robust counterparts and show that the best affine policy is tractable for many uncertainty sets (doi:10.1007/s10107-003-0454-y).
  • 2010. Bertsimas, Iancu and Parrilo prove that affine policies are optimal for a class of multistage robust problems with one-dimensional uncertainty per stage and box uncertainty sets (doi:10.1287/moor.1100.0444).
  • 2012. Bertsimas and Goyal, the source of this mission, prove that an affine policy is optimal for model (1) whenever U\mathcal UU is a simplex (Theorem 1), and show that this exactness breaks down for slightly larger sets (doi:10.1007/s10107-011-0444-4).

Setting

Let A∈Rm×n1A\in\mathbb R^{m\times n_1}A∈Rm×n1​, B∈Rm×n2B\in\mathbb R^{m\times n_2}B∈Rm×n2​, c∈R+n1c\in\mathbb R^{n_1}_+c∈R+n1​​ and d∈R+n2d\in\mathbb R^{n_2}_+d∈R+n2​​. The problem ΠAdapt(U)\Pi_{Adapt}(\mathcal U)ΠAdapt​(U) of model (1) is

zAdapt(U)=min⁡ cTx+max⁡b∈UdTy(b)s.t.Ax+By(b)≥b,  x≥0,  y(b)≥0∀b∈U,z_{Adapt}(\mathcal U)=\min\ c^Tx+\max_{b\in\mathcal U}d^Ty(b)\quad\text{s.t.}\quad Ax+By(b)\ge b,\ \ x\ge 0,\ \ y(b)\ge 0\quad\forall b\in\mathcal U,zAdapt​(U)=min cTx+b∈Umax​dTy(b)s.t.Ax+By(b)≥b,  x≥0,  y(b)≥0∀b∈U,

where inequalities between vectors are componentwise. A pair (x,y)(x,y)(x,y) satisfying the constraints is feasible; its worst-case cost is cTx+max⁡b∈UdTy(b)c^Tx+\max_{b\in\mathcal U}d^Ty(b)cTx+maxb∈U​dTy(b). A feasible pair is optimal when its worst-case cost equals zAdapt(U)z_{Adapt}(\mathcal U)zAdapt​(U), and an affine policy is a second stage of the form y(b)=Pb+qy(b)=Pb+qy(b)=Pb+q with P∈Rn2×mP\in\mathbb R^{n_2\times m}P∈Rn2​×m, q∈Rn2q\in\mathbb R^{n_2}q∈Rn2​, still required to be nonnegative on U\mathcal UU. The value zAff(U)z_{Aff}(\mathcal U)zAff​(U) is the same minimum restricted to affine policies.

A simplex in Rm\mathbb R^mRm is the convex hull

U=conv⁡(b1,…,bm+1)\mathcal U=\operatorname{conv}(b^1,\dots,b^{m+1})U=conv(b1,…,bm+1)

of m+1m+1m+1 affinely independent points, that is, points for which b1−bm+1,…,bm−bm+1b^1-b^{m+1},\dots,b^m-b^{m+1}b1−bm+1,…,bm−bm+1 are linearly independent. The proof works with the m×mm\times mm×m matrix Q=[(b1−bm+1)⋯(bm−bm+1)]Q=[(b^1-b^{m+1})\cdots(b^m-b^{m+1})]Q=[(b1−bm+1)⋯(bm−bm+1)], the matrix Y=[(y∗(b1)−y∗(bm+1))⋯(y∗(bm)−y∗(bm+1))]Y=[(y^*(b^1)-y^*(b^{m+1}))\cdots(y^*(b^m)-y^*(b^{m+1}))]Y=[(y∗(b1)−y∗(bm+1))⋯(y∗(bm)−y∗(bm+1))] of display (2), and the affine rule y~(b)=YQ−1(b−bm+1)+y∗(bm+1)\tilde y(b)=YQ^{-1}(b-b^{m+1})+y^*(b^{m+1})y~​(b)=YQ−1(b−bm+1)+y∗(bm+1). In Lean these are Qmat v, Ymat v g and interpolant v g, with vertices v : Fin (m+1) → Fin m → ℝ.

Formalization targets

Goal: Theorem 1

If U=conv⁡(b1,…,bm+1)\mathcal U=\operatorname{conv}(b^1,\dots,b^{m+1})U=conv(b1,…,bm+1) with affinely independent bj∈R+mb^j\in\mathbb R^m_+bj∈R+m​ and ΠAdapt(U)\Pi_{Adapt}(\mathcal U)ΠAdapt​(U) is feasible, then there exist x^\hat xx^, P∈Rn2×mP\in\mathbb R^{n_2\times m}P∈Rn2​×m and q∈Rn2q\in\mathbb R^{n_2}q∈Rn2​ such that

(x^, y^),y^(b)=Pb+q  (b∈U),(\hat x,\ \hat y),\qquad \hat y(b)=Pb+q\ \ (b\in\mathcal U),(x^, y^​),y^​(b)=Pb+q  (b∈U),

is an optimal solution of ΠAdapt(U)\Pi_{Adapt}(\mathcal U)ΠAdapt​(U), optimal among all (not only affine) two-stage solutions. In particular zAff(U)=zAdapt(U)z_{Aff}(\mathcal U)=z_{Adapt}(\mathcal U)zAff​(U)=zAdapt​(U).

Milestones

The proof of Theorem 1 has no numbered lemma; the milestones are its displayed steps, in attack order:

  1. QQQ is invertible (PDF p. 6).
  2. For b=∑jαjbjb=\sum_j\alpha_jb^jb=∑j​αj​bj with ∑jαj=1\sum_j\alpha_j=1∑j​αj​=1: Q−1(b−bm+1)=(α1,…,αm)TQ^{-1}(b-b^{m+1})=(\alpha_1,\dots,\alpha_m)^TQ−1(b−bm+1)=(α1​,…,αm​)T (PDF p. 6).
  3. y~(∑jαjbj)=∑jαj y∗(bj)\tilde y\big(\sum_j\alpha_jb^j\big)=\sum_j\alpha_j\,y^*(b^j)y~​(∑j​αj​bj)=∑j​αj​y∗(bj) (PDF pp. 6–7).
  4. Displays (3)–(5): for any feasible (x∗,y∗)(x^*,y^*)(x∗,y∗), the pair (x∗,y~)(x^*,\tilde y)(x∗,y~​) is feasible and every bound on the worst-case cost of (x∗,y∗)(x^*,y^*)(x∗,y∗) also bounds that of (x∗,y~)(x^*,\tilde y)(x∗,y~​) (PDF p. 7).

Significance

The result. Theorem 1 identifies a class of uncertainty sets on which the tractable affine restriction is exact, for every constraint matrix AAA and BBB and every nonnegative cost. It is the positive anchor of the paper: Sections 3 and 4 show that with m+3m+3m+3 extreme points the best affine policy can already be worse by a factor 2−δ2-\delta2−δ, and that on sets with exponentially many extreme points the gap can be Ω(m1/2−δ)\Omega(m^{1/2-\delta})Ω(m1/2−δ); Section 6 uses a dominating simplex, on which affine policies are exact, to build an O(m)O(\sqrt m)O(m​)-approximation for general U\mathcal UU. The theorem also says that on a simplex the whole adaptive problem reduces to m+1m+1m+1 scenario copies of a linear program.

Formalizing it. The result is proved on paper; no machine-checked version is known on Prove2Me. This mission produces the model (1) in Lean, the barycentric-coordinate identity for a simplex in matrix form, and a statement of optimality that asserts attainment of the minimum in (1), which the paper's proof takes for granted.

Difficulty

Two steps are not routine to formalize. First, the paper starts from "an optimal solution x∗,y∗(b)x^*,y^*(b)x∗,y∗(b)", that is, it assumes the minimum in (1) is attained. Over arbitrary functions y(⋅)y(\cdot)y(⋅) this is not automatic; on a simplex it follows because the problem reduces to a finite linear program on the vertices, whose optimum is attained, but Mathlib has no theory of linear-programming attainment, so this reduction has to be built. Second, the affine-independence step needs the passage from affine independence of m+1m+1m+1 points to invertibility of the m×mm\times mm×m matrix QQQ, and the identity Q−1(b−bm+1)=αQ^{-1}(b-b^{m+1})=\alphaQ−1(b−bm+1)=α requires the barycentric coordinates and the inverse matrix to be matched index by index. The naive idea of comparing zAffz_{Aff}zAff​ and zAdaptz_{Adapt}zAdapt​ as real infima does not prove the goal: equality of the two infima says nothing about the existence of an optimal solution.

Formalization scope

Vectors in Rm\mathbb R^mRm are Fin m → ℝ, with the componentwise order; matrices are Matrix (Fin m) (Fin n) ℝ. The paper's indices start at 111, Lean's at 000: bjb^jbj is v (j-1) and bm+1b^{m+1}bm+1 is v (Fin.last m). The simplex is convexHull ℝ (Set.range v); it is compact, convex and, by affine independence, full-dimensional, so these standing assumptions of (1) are not stated separately. Nonnegativity of U\mathcal UU is the hypothesis that all m+1m+1m+1 vertices are nonnegative (the page writes j=1,…,mj=1,\dots,mj=1,…,m, a slip for m+1m+1m+1). Feasibility of (1) is a hypothesis, as the paper assumes. Optimality (IsOptimalAdapt) means: feasible, and every worst-case cost bound achieved by any feasible two-stage solution is achieved by this one. The values zAdaptz_{Adapt}zAdapt​ and zAffz_{Aff}zAff​ are infima of the sets of achievable bounds; they are provided for reference and the goal does not depend on them.

The goal must not be replaced by zAff(U)≤zAdapt(U)z_{Aff}(\mathcal U)\le z_{Adapt}(\mathcal U)zAff​(U)≤zAdapt​(U), by optimality among affine policies only, or by a version that assumes an optimal solution exists: each of these drops the content "there is an optimal solution and it is affine". The goal does not mention QQQ, YYY or the interpolant.

A complete development needs: linear-programming attainment for a finite system of linear inequalities with a cost bounded below (reusable well beyond this mission), the linear-algebra lemmas relating affine independence to an invertible edge matrix (reusable for barycentric coordinates in general), and the convex-hull representation of points of a simplex. Contributions of any of these as separate lemmas are welcome.

Selected references

  • D. Bertsimas, V. Goyal, On the power and limitations of affine policies in two-stage adaptive optimization, Math. Program. Ser. A, 2012. doi:10.1007/s10107-011-0444-4
  • A. Ben-Tal, A. Goryashko, E. Guslitzer, A. Nemirovski, Adjustable robust solutions of uncertain linear programs, Math. Program. 99(2), 351–376, 2004. doi:10.1007/s10107-003-0454-y
  • D. Bertsimas, D. A. Iancu, P. A. Parrilo, Optimality of affine policies in multistage robust optimization, Math. Oper. Res. 35(2), 363–394, 2010. doi:10.1287/moor.1100.0444
  • A. Bemporad, F. Borrelli, M. Morari, Min–max control of constrained uncertain discrete-time linear systems, IEEE Trans. Autom. Control 48(9), 1600–1606, 2003. doi:10.1109/TAC.2003.816984
7 thms4 active usersReviewed
🏆Completed
Markov ChainProbabilityStochastic Systems·Captain: mikedeng1

Reversibility and Stochastic Networks VII: Clustering Processes — Poisson Product-Form Equilibrium of the Open Clustering ProcessTextbook

Motivation

Many systems consist of units that form themselves into clusters: individuals at a gathering forming conversational groups, monomers forming polymers, particles coagulating and fragmenting. Chapter 8 of F. P. Kelly, Reversibility and Stochastic Networks (Wiley, 1979) treats such clustering processes as Markov processes whose state counts the clusters of each type, and shows that when the process is reversible its equilibrium distribution has an explicit product form. The chapter opens with a model of social grouping (§8.1), develops a general basic model (§8.2) and later applies it to polymerization (§8.4).

The basic model sits in the same family as the migration processes and queueing networks of the earlier chapters: the method is to guess reversibility, solve the detailed balance equations, and normalize. Its specific feature is that the transitions are unions and break-ups of clusters, with rates quadratic in the cluster counts, rather than movements of single individuals.

Setting

There is a countable collection of cluster types rrr. A state is a vector m=(mr)m = (m_r)m=(mr​) of non-negative integers, mrm_rmr​ being the number of rrr-clusters present, with only finitely many mrm_rmr​ non-zero. For cluster types r,s,ur, s, ur,s,u let ere_rer​ be the rrr-th unit vector and

Rursm=m−er−es+eu,Rrsum=m+er+es−eu,R^{rs}_u m = m - e_r - e_s + e_u, \qquad R^u_{rs} m = m + e_r + e_s - e_u,Rurs​m=m−er​−es​+eu​,Rrsu​m=m+er​+es​−eu​,

the union of an rrr-cluster with an sss-cluster into a uuu-cluster, and the break-up of a uuu-cluster into an rrr-cluster and an sss-cluster. Given non-negative parameters λrsu=λsru\lambda_{rsu} = \lambda_{sru}λrsu​=λsru​ and μrsu=μsru\mu_{rsu} = \mu_{sru}μrsu​=μsru​, the clustering process has transition rates

q(m,Rursm)=λrsumrms (r≠s),q(m,Rurrm)=λrrumr(mr−1),q(m,Rrsum)=μrsumu.(8.3)q(m, R^{rs}_u m) = \lambda_{rsu} m_r m_s \ (r \ne s), \qquad q(m, R^{rr}_u m) = \lambda_{rru} m_r(m_r - 1), \qquad q(m, R^u_{rs} m) = \mu_{rsu} m_u. \qquad (8.3)q(m,Rurs​m)=λrsu​mr​ms​ (r=s),q(m,Rurr​m)=λrru​mr​(mr​−1),q(m,Rrsu​m)=μrsu​mu​.(8.3)

A closed clustering process lives on a finite irreducible state space S\mathcal SS. The open clustering process additionally lets one-clusters enter at rate ν\nuν and leave at rate μm1\mu m_1μm1​,

q(m,m+e1)=ν,q(m,m−e1)=μm1,(8.7)q(m, m + e_1) = \nu, \qquad q(m, m - e_1) = \mu m_1, \qquad (8.7)q(m,m+e1​)=ν,q(m,m−e1​)=μm1​,(8.7)

and its state space is the countable set of all mmm with ∑rmr\sum_r m_r∑r​mr​ finite, every state being reachable from every other.

An equilibrium distribution is a collection of positive numbers π(m)\pi(m)π(m) summing to one that satisfies the equilibrium equations π(m)∑m′q(m,m′)=∑m′π(m′)q(m′,m)\pi(m)\sum_{m'} q(m, m') = \sum_{m'} \pi(m') q(m', m)π(m)∑m′​q(m,m′)=∑m′​π(m′)q(m′,m); the process is reversible in equilibrium exactly when π\piπ satisfies the detailed balance conditions π(m)q(m,m′)=π(m′)q(m′,m)\pi(m) q(m, m') = \pi(m') q(m', m)π(m)q(m,m′)=π(m′)q(m′,m).

Formalization targets

Goal: Theorem 8.2 (p. 164)

If there are positive numbers crc_rcr​ with

ν=c1μ,λrsucrcs=cuμrsu,(8.8)∑rcr<∞,(8.9)\nu = c_1 \mu, \qquad \lambda_{rsu} c_r c_s = c_u \mu_{rsu}, \qquad (8.8) \qquad \sum_r c_r < \infty, \qquad (8.9)ν=c1​μ,λrsu​cr​cs​=cu​μrsu​,(8.8)r∑​cr​<∞,(8.9)

then the open clustering process has equilibrium distribution

π(m)=∏re−crcrmrmr!,(8.10)\pi(m) = \prod_{r} e^{-c_r} \frac{c_r^{m_r}}{m_r!}, \qquad (8.10)π(m)=r∏​e−cr​mr​!crmr​​​,(8.10)

it is reversible, and the counts m1,m2,…m_1, m_2, \dotsm1​,m2​,… are independent, mrm_rmr​ being Poisson with mean crc_rcr​.

Milestones

  • Eq. (8.6): under (8.4), crcsλrsu=cuμrsuc_r c_s \lambda_{rsu} = c_u \mu_{rsu}cr​cs​λrsu​=cu​μrsu​, the weights ∏rcrmr/mr!\prod_r c_r^{m_r}/m_r!∏r​crmr​​/mr​! satisfy the detailed balance conditions for the rates (8.3) on the whole state space.
  • Theorem 8.1 (p. 163): under (8.4) the closed clustering process is reversible with equilibrium distribution π(m)=B∏rcrmr/mr!\pi(m) = B\prod_r c_r^{m_r}/m_r!π(m)=B∏r​crmr​​/mr​! on S\mathcal SS.
  • Eq. (8.2) (p. 161): the social grouping model with MMM individuals has equilibrium π(m)=B∏i1mi!(βα i!)mi\pi(m) = B \prod_{i} \frac{1}{m_i!}\bigl(\frac{\beta}{\alpha\, i!}\bigr)^{m_i}π(m)=B∏i​mi​!1​(αi!β​)mi​ on {m:∑iimi=M}\{m : \sum_i i m_i = M\}{m:∑i​imi​=M}.
  • Eq. (8.9) (p. 164): the product-form weights are summable over the finitely supported states if and only if ∑rcr<∞\sum_r c_r < \infty∑r​cr​<∞, and then (8.10) sums to one.

Significance

Theorem 8.2 gives the equilibrium of a whole class of coagulation–fragmentation dynamics in closed form: the cluster counts are independent Poisson variables, and the equation system (8.8) is the only thing to solve. Quantities such as the expected number of clusters of each type, or the proportion of units in clusters of a given size, are then read off directly. Theorem 8.1 gives the corresponding result for a closed system, where the normalizing constant couples the types; opening the system removes that coupling. The results are the base of the polymerization models of §8.4 and of the later literature on reversible coagulation–fragmentation processes.

The results are proved in the book, with short proofs that state the detailed balance computation is "readily verified". To our knowledge they have no machine-checked proof. The work this mission asks for is the formal verification of that computation for the aggregated rate function, including unions in which two clusters of the same type meet, and the normalization of an infinite product over a countable set of types, which the book takes for granted.

Difficulty

The book calls the detailed balance computation readily verified; the bookkeeping is where a formal check can fail. Two different unions, or a break-up and the entry of a one-cluster, can lead from the same state to the same state when a cluster type is reproduced by the transition, so the rate between two states is a sum over transitions, and the identity has to be checked for the sums, not for single transitions. The same-type case r=sr = sr=s carries the falling factorial mr(mr−1)m_r(m_r - 1)mr​(mr​−1) rather than mr2m_r^2mr2​.

The normalization is the second difficulty. The state space of the open process is countably infinite, the product (8.10) runs over infinitely many types, and the interchange ∑m∏r=∏r∑n\sum_m \prod_r = \prod_r \sum_{n}∑m​∏r​=∏r​∑n​ that makes it sum to one requires (8.9). Without (8.9) the weights are not summable; this is the content of the book's remark that (8.9) is necessary.

Formalization scope

Cluster types are an arbitrary countable type R carrying a linear order, used only to count each unordered pair of types once. States are finitely supported vectors R →₀ ℕ. The rate q(m,m′)q(m, m')q(m,m′) is the sum of the rates (8.3) of all unions and break-ups taking mmm to m′m'm′, plus, for the open process, the rates (8.7); a transition is present only when the clusters it consumes exist, and q(m,m)=0q(m, m) = 0q(m,m)=0 holds because every transition changes the number of clusters. The one-cluster type is a distinguished element one. The closed state space is a finite non-empty set closed under positive-rate transitions and irreducible. The open process carries the book's assumptions that every state is reachable from every other and that the total rate out of each state is finite.

The statements are at the level of rates: reversibility is detailed balance for a positive, normalized π\piπ, the equivalence with reversibility of the stationary process being Kelly's Theorem 1.3. That π\piπ is the law of a stationary Markov process with these rates is not formalized. Independence and the Poisson laws are stated as the joint law of every finite set of counts. A formalization in which crc_rcr​ may vanish, in which detailed balance is imposed only for a degenerate choice of rates, or in which (8.10) is not normalized does not meet the goal: the crc_rcr​ are positive, the rates are arbitrary non-negative symmetric parameters, and both detailed balance and total mass one are required.

The development uses the published definitions KellyStochasticNetworks_Balance (detailed balance and the equilibrium equations) and the proved implication from detailed balance to the equilibrium equations. Lemmas on summing products over finitely supported vectors, and on infinite products of exponentials, are reusable beyond this mission. Lemma 8.3, a partial converse to Theorem 8.1, is not part of this mission; a faithful statement of it, with the units structure of the clusters, is a welcome addition.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, Chichester, 1979, Chapter 8. Reissued by Cambridge University Press, 2011. https://doi.org/10.1017/CBO9780511564246 (author's copy: http://www.statslab.cam.ac.uk/~frank/BOOKS/kelly_book.html)
  • P. Whittle, Systems in Stochastic Equilibrium, Wiley, 1986 (reversible models of association and polymerization). ISBN 978-0-471-90887-0.
  • F. P. Kelly and E. Yudovina, Stochastic Networks, Cambridge University Press, 2014 (detailed balance and the equilibrium equations used here). https://doi.org/10.1017/CBO9781139565363
8 thms4 active usersReviewed
🏆Completed
Markov ChainProbabilityStochastic Systems·Captain: mikedeng1

Reversibility and Stochastic Networks II: Migration Processes with Blocking — Reversibility and Product-Form EquilibriumTextbook

Motivation

A migration process is a continuous-time Markov model of a population spread over JJJ sites, called colonies, in which individuals move one at a time: between colonies, out of the system, or into it from outside. The model was introduced by Whittle (1967) and Kingman (1969) and is the framework of Chapter 2 of F. P. Kelly, Reversibility and Stochastic Networks (Wiley, 1979). It covers closed and open networks of queues (Jackson networks), linear population models and the movement of particles between cells. Its central fact is that the equilibrium distribution is a product form: the joint law of the colony sizes factorizes into one term per colony, and for open processes the colony sizes are independent in equilibrium.

In the migration processes of Chapter 2 the rate at which an individual leaves colony jjj depends on the number njn_jnj​ there, but not on the number already present in the colony it joins. Chapter 6 (§6.1) lifts this restriction. The rate of a move into colony kkk is multiplied by a function ψk(nk)\psi_k(n_k)ψk​(nk​) of the receiving colony's occupancy, which can model blocking (a crowded colony slows arrivals) or attraction (as in the models of social grouping of §6.2). The price is that product form survives only under a reversibility condition on the routing parameters. This mission formalizes the two theorems of §6.1 on top of the already-formalized results of Chapter 2.

Timeline. Whittle (1967) and Kingman (1969) introduced migration processes and their product-form equilibria; Kelly (1976) treated networks of queues with general routes; Kelly (1979, Ch. 2) states the closed and open product forms (Theorems 2.3, 2.4) and the time reversal of an open process (Theorem 2.5); Kelly (1979, §6.1) states the reversible versions with receiving-colony dependence (Theorems 6.1, 6.2).

Setting

There are JJJ colonies. The state is n=(n1,…,nJ)∈NJn = (n_1,\dots,n_J) \in \mathbb{N}^Jn=(n1​,…,nJ​)∈NJ, with njn_jnj​ the number of individuals in colony jjj. Three operators change the state by one individual: TjknT_{jk}nTjk​n moves one individual from colony jjj to colony kkk, Tj⋅nT_{j\cdot}nTj⋅​n removes one from colony jjj, and T⋅knT_{\cdot k}nT⋅k​n adds one to colony kkk.

The model is given by non-negative constants λjk\lambda_{jk}λjk​ (with λjj=0\lambda_{jj} = 0λjj​=0), μj\mu_jμj​, νk\nu_kνk​, and functions φj,ψj:N→R\varphi_j,\psi_j : \mathbb{N}\to\mathbb{R}φj​,ψj​:N→R with φj(0)=0\varphi_j(0) = 0φj​(0)=0, φj(n)>0\varphi_j(n) > 0φj​(n)>0 for n>0n > 0n>0, and ψj(n)>0\psi_j(n) > 0ψj​(n)>0 for all n≥0n \ge 0n≥0. A closed reversible migration process with NNN individuals has state space S={n:∑jnj=N}\mathcal{S} = \{n : \sum_j n_j = N\}S={n:∑j​nj​=N} and transition rates

q(n,Tjkn)=λjk φj(nj) ψk(nk).(6.2)q(n, T_{jk}n) = \lambda_{jk}\,\varphi_j(n_j)\,\psi_k(n_k). \qquad (6.2)q(n,Tjk​n)=λjk​φj​(nj​)ψk​(nk​).(6.2)

An open reversible migration process has state space NJ\mathbb{N}^JNJ and, in addition to (6.2), the rates

q(n,Tj⋅n)=μj φj(nj)(6.5),q(n,T⋅kn)=νk ψk(nk)(6.6).q(n, T_{j\cdot}n) = \mu_j\,\varphi_j(n_j) \quad (6.5), \qquad q(n, T_{\cdot k}n) = \nu_k\,\psi_k(n_k) \quad (6.6).q(n,Tj⋅​n)=μj​φj​(nj​)(6.5),q(n,T⋅k​n)=νk​ψk​(nk​)(6.6).

The parameters are required to make the process irreducible: in the closed case an individual can pass between any two colonies along pairs with λab>0\lambda_{ab} > 0λab​>0; in the open case it can reach every colony from outside and leave from every colony. Setting ψj≡1\psi_j \equiv 1ψj​≡1 recovers the migration processes of Chapter 2.

Given positive constants α1,…,αJ\alpha_1,\dots,\alpha_Jα1​,…,αJ​, the candidate equilibrium is

π(n)=B∏j=1J{αjnj∏r=1njψj(r−1)φj(r)},(6.3)\pi(n) = B\prod_{j=1}^{J}\Bigl\{\alpha_j^{n_j}\prod_{r=1}^{n_j}\frac{\psi_j(r-1)}{\varphi_j(r)}\Bigr\}, \qquad (6.3)π(n)=Bj=1∏J​{αjnj​​r=1∏nj​​φj​(r)ψj​(r−1)​},(6.3)

with BBB chosen so that π\piπ sums to one over the state space.

Formalization targets

Goal: Theorem 6.2 (open process)

If positive αj\alpha_jαj​ satisfy

αjλjk=αkλkj(6.4),αjμj=νj(6.7),\alpha_j\lambda_{jk} = \alpha_k\lambda_{kj} \quad (6.4), \qquad \alpha_j\mu_j = \nu_j \quad (6.7),αj​λjk​=αk​λkj​(6.4),αj​μj​=νj​(6.7),

and every colony series gj=∑m≥0αjm∏r=1mψj(r−1)/φj(r)g_j = \sum_{m\ge 0}\alpha_j^m\prod_{r=1}^m \psi_j(r-1)/\varphi_j(r)gj​=∑m≥0​αjm​∏r=1m​ψj​(r−1)/φj​(r) converges, then (6.3) with B=∏jgj−1B = \prod_j g_j^{-1}B=∏j​gj−1​ is in detailed balance with the rates (6.2), (6.5), (6.6), satisfies the equilibrium equations, is positive and sums to one, and under it n1,…,nJn_1,\dots,n_Jn1​,…,nJ​ are independent with marginals πj(m)=gj−1αjm∏r=1mψj(r−1)/φj(r)\pi_j(m) = g_j^{-1}\alpha_j^m\prod_{r=1}^m\psi_j(r-1)/\varphi_j(r)πj​(m)=gj−1​αjm​∏r=1m​ψj​(r−1)/φj​(r).

Milestones

  • Theorem 2.3: the closed migration process (ψ≡1\psi\equiv 1ψ≡1) has equilibrium of the form (2.3).
  • Theorem 2.4: the open migration process has independent colonies with marginals bjαjnj/∏r=1njφj(r)b_j\alpha_j^{n_j}/\prod_{r=1}^{n_j}\varphi_j(r)bj​αjnj​​/∏r=1nj​​φj​(r).
  • Theorem 2.5: the reversal of a stationary open migration process is an open migration process.
  • Theorem 6.1: the closed process with rates (6.2) is reversible under (6.4), with equilibrium (6.3) on S\mathcal{S}S.

Theorems 2.3–2.5 are already proved on the platform and enter as references.

Significance

The result. Theorem 6.2 shows that product form and independence of colony sizes are not tied to routing that ignores the destination's occupancy. Any positive ψk\psi_kψk​ is allowed, provided the routing is reversible in the sense of (6.4) and (6.7). This is what makes the social-grouping models of §6.2 and the clustering models of Chapter 8 tractable, and it identifies (6.4) as the structural condition: Exercise 6.1.1 shows that without it the process cannot be reversible. Through Theorem 1.3 of the book, detailed balance also gives that the stationary process looks the same run backwards in time.

Formalization. The Chapter 2 results (Theorems 2.3–2.5) are formalized and proved on the platform, at the level of transition rates, in the KellyStochasticNetworks series. Theorems 6.1 and 6.2 are not formalized anywhere to our knowledge. The new work is the detailed-balance verification with the receiving-colony factor, the normalization over the finite set S\mathcal{S}S in the closed case, and the summation over the countable space NJ\mathbb{N}^JNJ with the marginal computation that expresses independence in the open case.

Difficulty

The equilibrium equations of a migration process with blocking have no simple solution in general (p. 135); a direct attack on the full balance equations does not close. Detailed balance is a local condition, but the formal statement has to be careful with transitions that do not exist: a move out of an empty colony, a departure that would make a count negative, and the coincidences between operators at the boundary (Tjkn=T⋅knT_{jk}n = T_{\cdot k}nTjk​n=T⋅k​n when nj=0n_j = 0nj​=0). In the open case the bookkeeping is in infinite sums: positivity and normalization need convergence of each colony series, and independence needs the marginal of π\piπ on one colony to be computed as a sum over the remaining J−1J-1J−1 coordinates.

Formalization scope

Colonies are Fin J; states are Fin J → ℕ; rates are real-valued functions of two states, assembled as sums of indicator terms over the possible transitions, reusing the operators Tjk, Tout, Tin and the predicates DetailedBalance, FullBalance of the published definitions KellyStochasticNetworks_Migration and KellyStochasticNetworks_Balance. Transitions out of an empty colony carry the factor φj(0)=0\varphi_j(0) = 0φj​(0)=0 and so vanish. The hypotheses λjj=0\lambda_{jj} = 0λjj​=0, non-negativity of the rates, positivity of φj(n)\varphi_j(n)φj​(n) (n>0n>0n>0), ψj(n)\psi_j(n)ψj​(n) (n≥0n\ge0n≥0) and αj\alpha_jαj​, and the book's irreducibility requirements are binders of each theorem.

The statements are at the level of transition rates: "reversible" is read as detailed balance of the equilibrium distribution, and "equilibrium distribution" as positive, summing to one, and satisfying the equilibrium equations. The stochastic process itself is not constructed. In the closed case the distribution lives on NJ\mathbb{N}^JNJ and vanishes off S\mathcal{S}S, which is equivalent because every transition preserves ∑jnj\sum_j n_j∑j​nj​; J≥1J \ge 1J≥1 is assumed so that S\mathcal{S}S is nonempty. In the open case stationarity is the convergence of each colony series, carried as HasSum hypotheses with sums gjg_jgj​.

The normalizing constant is never free: π≡0\pi \equiv 0π≡0 satisfies detailed balance, so a statement that leaves BBB unconstrained, or omits the factor ψk(nk)\psi_k(n_k)ψk​(nk​) from (6.2), (6.6) and (6.3), is not this theorem. Contributions welcome: proofs of Theorem 6.1 and 6.2, reusable lemmas on detailed balance for indicator-sum rates, and on products of summable families over Fin J → ℕ.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, 1979; reprinted Cambridge University Press, 2011. Chapters 2 and 6. http://www.statslab.cam.ac.uk/~frank/BOOKS/kelly_book.html
  • J. F. C. Kingman, Markov population processes, Journal of Applied Probability 6 (1969), 1–18. https://doi.org/10.2307/3212273
  • F. P. Kelly, Networks of queues, Advances in Applied Probability 8 (1976), 416–432. https://doi.org/10.2307/1426136
  • P. Whittle, Nonlinear migration processes, Bulletin of the International Statistical Institute 42 (1967).
  • F. P. Kelly and E. Yudovina, Stochastic Networks, Cambridge University Press, 2014, Chapter 2. http://www.statslab.cam.ac.uk/~frank/STOCHNET/
9 thms4 active usersReviewed
🏆Completed
Linear OptimizationOptimization·Captain: mikedeng1

Maximization of a Linear Function of Variables Subject to Linear Inequalities: Under Nondegeneracy the Simplex Technique Ends in Infeasibility, Unboundedness, or a Maximum Feasible SolutionResearch Paper

Motivation

Linear programming asks for the best value of a linear objective under linear constraints. In the form studied by George B. Dantzig in 1951, all variables are nonnegative and the constraints are equalities. The simplex technique moves between small sets of columns, seeking a feasible vector first and then improving its objective. Its basic promise is operational: a run should end with a valid answer, whether that answer is a maximum, infeasibility, or an objective that can grow without bound. Dantzig's chapter sets out both phases and the tests that distinguish these outcomes.

The formulation matters to readers of optimization because it separates the algebraic claim about a linear program from a particular rule for selecting the next column. The chapter permits any entering column satisfying the stated improvement test. This mission captures the correctness claim for every sequence of admissible choices under the chapter's nondegeneracy assumption, with one additional general-position condition needed for the Phase I argument.

Setting

Fix integers 1≤m≤n1\le m\le n1≤m≤n. Let P0∈RmP_0\in\mathbb R^mP0​∈Rm be a right-hand side, P1,…,Pn∈RmP_1,\ldots,P_n\in\mathbb R^mP1​,…,Pn​∈Rm be columns, and c1,…,cn∈Rc_1,\ldots,c_n\in\mathbb Rc1​,…,cn​∈R be objective coefficients. A feasible solution is a weight vector λ∈Rn\lambda\in\mathbb R^nλ∈Rn with λj≥0\lambda_j\ge0λj​≥0 and ∑jλjPj=P0\sum_j\lambda_jP_j=P_0∑j​λj​Pj​=P0​. Its objective value is z(λ)=∑jλjcjz(\lambda)=\sum_j\lambda_jc_jz(λ)=∑j​λj​cj​. It is maximum feasible when z(μ)≤z(λ)z(\mu)\le z(\lambda)z(μ)≤z(λ) for every feasible μ\muμ. Unboundedness means that feasible objective values exceed every real threshold.

Dantzig assumes nondegeneracy: every indexed selection of mmm points among P0,P1,…,PnP_0,P_1,\ldots,P_nP0​,P1​,…,Pn​ is linearly independent. A Phase II state uses exactly mmm basic columns BBB, each with a positive weight, and represents P0P_0P0​ with them. Every column has unique coordinates Pj=∑i∈BxijPiP_j=\sum_{i\in B}x_{ij}P_iPj​=∑i∈B​xij​Pi​, and zj=∑i∈Bxijciz_j=\sum_{i\in B}x_{ij}c_izj​=∑i∈B​xij​ci​ is the corresponding objective value. A column with cj>zjc_j>z_jcj​>zj​ can improve the objective. When some xij>0x_{ij}>0xij​>0, the step uses the smallest ratio λi/xij\lambda_i/x_{ij}λi​/xij​ over those positive coordinates and replaces a minimizing basic column.

A Phase I state begins from m−1m-1m−1 basic columns SSS and a fixed reference point GGG. Positive weights wiw_iwi​ and ρ>0\rho>0ρ>0 satisfy G+ρP0=∑i∈SwiPiG+\rho P_0=\sum_{i\in S}w_iP_iG+ρP0​=∑i∈S​wi​Pi​. Write Pj=y0jP0+∑i∈SyijPiP_j=y_{0j}P_0+\sum_{i\in S}y_{ij}P_iPj​=y0j​P0​+∑i∈S​yij​Pi​. A column with y0j>0y_{0j}>0y0j​>0 either gives a new Phase I basis through the positive-ratio test or supplies the nonnegative weights in equation (39), which start Phase II.

Formalization targets

The goal is the correctness of the complete two-phase transition system. There is no infinite admissible run. Every state with no outgoing transition has one of three outcomes:

Phase I:y0j≤0 (∀j),no feasible solution;Phase II:∃j (cj>zj ∧ xij≤0 (∀i∈B)),∀M∈R ∃λ feasible:z(λ)>M;Phase II:cj≤zj (∀j),z(μ)≤z(λ) for every feasible μ.\begin{array}{ll} \text{Phase I:}& y_{0j}\le0\ (\forall j),\quad \text{no feasible solution};\\ \text{Phase II:}& \exists j\ (c_j>z_j\ \land\ x_{ij}\le0\ (\forall i\in B)),\quad \forall M\in\mathbb R\ \exists\lambda\text{ feasible}: z(\lambda)>M;\\ \text{Phase II:}& c_j\le z_j\ (\forall j),\quad z(\mu)\le z(\lambda)\text{ for every feasible }\mu. \end{array}Phase I:Phase II:Phase II:​y0j​≤0 (∀j),no feasible solution;∃j (cj​>zj​ ∧ xij​≤0 (∀i∈B)),∀M∈R ∃λ feasible:z(λ)>M;cj​≤zj​ (∀j),z(μ)≤z(λ) for every feasible μ.​

The five milestones follow the chapter's own statements: Theorem 3's infeasibility certificate, Section 2's termination and hand-off, Theorem 1's improving family and two cases, Section 1's termination alternatives, and Theorem 2's optimality test. The goal includes the hand-off from the first phase to the second; the milestones make each outcome separately auditable.

Significance

The result gives a complete outcome guarantee for the chapter's procedure under its stated nondegeneracy regime. A terminal basis satisfying cj≤zjc_j\le z_jcj​≤zj​ is certified optimal against every feasible solution, not just against nearby bases. The other terminal tests certify properties of the original problem: nonexistence of feasible weights or arbitrarily large feasible objective values. This is the distinction needed to use the procedure as an algorithm for an LP rather than merely a local improvement rule.

The chapter's Theorems A and B assert existence of a basic feasible solution, and existence of a basic optimal one when the objective is bounded above. A proved platform theorem on basic optimal solutions covers these structural results after changing minimization cost qqq to −c-c−c; it is included by reference. Existing simplex results in the platform's minimization convention do not state Dantzig's Phase I reference-point process or his xijx_{ij}xij​ and zjz_jzj​ tests. Formalizing this mission adds that two-phase interface and a machine-checkable statement of its outcomes.

Difficulty

An improving column alone does not say whether another basis exists. In Phase II, the signs of its basis coordinates determine whether the positive weights meet a finite ratio limit or instead continue along an unbounded feasible family. In Phase I, the analogous limit must preserve strictly positive weights on exactly m−1m-1m−1 columns. The printed argument says that a coefficient vanishes at the limit, but does not exclude two coefficients vanishing together. That gap matters because the next state in the paper's recurrence must again have strictly positive basic weights. The mission states a general-position condition on GGG that rules out this simultaneous-vanishing case. It is an explicit addition to the printed assumptions and should be reviewed as such.

Formalization scope

Lean uses Fin n → (Fin m → ℝ) for the columns, Fin m → ℝ for P0P_0P0​ and GGG, Fin n → ℝ for weights and costs, and finite sets for bases. Its zero-based Fin n labels correspond to the paper's 1,…,n1,\ldots,n1,…,n. Each state carries its basis cardinality, independence, coordinate equations, and strictly positive basic weights. This keeps the coordinate functions defined on genuine bases and prevents a zero-weight intermediate state from counting as a valid pivot. The transition relation records every admissible entering column and minimizing leaving index; the pivot-selection heuristics (20) and (21) are outside the claim.

The phrases “upper bound of zzz is infinite” and “process terminates” are read as, respectively, objective values above every real threshold on the original feasible set and absence of an infinite sequence of admissible steps. “A feasible solution has been obtained” is the explicit vector of equation (39), not an unnamed existence assertion. Maximum feasible means feasible plus comparison with every feasible vector, avoiding a real supremum's empty-set default. The dimensions 1≤m≤n1\le m\le n1≤m≤n make both kinds of basis possible and prevent a vacuous nondegeneracy condition. General position asks every family containing GGG, P0P_0P0​, and m−2m-2m−2 distinct PjP_jPj​ to be independent. The paper does not write this condition, so its inclusion is a substantive qualification of the target.

The printed indices in (30), (45), and a sentence following (18) do not match their defining ranges. The Lean statements use all nnn columns for jjj and the current m−1m-1m−1 Phase I columns for iii. The indices in (17) and (45) also carry the entering conditions cj>zjc_j>z_jcj​>zj​ and y0j>0y_{0j}>0y0j​>0, respectively. These corrections preserve the paper's described procedure and prevent a terminal test from becoming trivial through a basic column. Contributions may address the finite-state termination argument, the ratio-test lemmas, coordinate uniqueness, and the translation from terminal signs to the three global LP outcomes. The operation counts and geometric interpretation on the last pages are outside the formalization.

Selected references

  • George B. Dantzig, “Maximization of a Linear Function of Variables Subject to Linear Inequalities,” in T. C. Koopmans (ed.), Activity Analysis of Production and Allocation, Wiley, 1951, Chapter XXI, pp. 339–347. Book catalog search.
  • Hartmann_Psi, “A bounded feasible standard-form LP attains its minimum at a basic feasible solution,” Prove2Me, proved platform theorem. Theorem record.
  • Shuze Chen, “Finite termination of the simplex method under nondegeneracy,” Prove2Me, proved platform theorem in a minimization convention. Theorem record.
9 thms4 active usersReviewed
🏆Completed
Algorithmic Game TheoryComplexity Theory·Captain: mikedeng1

The Complexity of Computing a Nash Equilibrium 3: Trimming an Approximate Nash Equilibrium Yields a Well-Supported OneResearch Paper

Motivation

The complexity of computing a Nash equilibrium is usually studied for an approximate equilibrium, because an exact equilibrium of a game with three or more players can require irrational probabilities. Two approximation notions are in use, and results proved for one do not automatically transfer to the other. Daskalakis, Goldberg and Papadimitriou (SIAM J. Comput. 39(1), 2009) prove their PPAD-hardness results for the stronger notion, the ε-approximately well-supported Nash equilibrium, and then show in their §4.7 (Lemma 4.28, announced as Lemma 2.1) that any ε-approximate Nash equilibrium can be turned, by an explicit and cheap transformation, into an approximately well-supported one with a polynomially worse accuracy. This is what lets their hardness results hold for both notions. A weaker version of the relation had been pointed out by Chen, Deng and Teng (FOCS 2006, reference [9] of the paper).

This mission formalizes Lemma 4.28 together with the steps of its proof: the best-response inequality (28), Claims 5 and 6, and the Lipschitz estimate of Lemma 4.26 (used in the proof as Lemma 4.29).

Setting

A game in normal form has r≥2r\ge2r≥2 players. Player ppp has a finite set SpS_pSp​ of pure strategies; S=∏pSpS=\prod_p S_pS=∏p​Sp​ is the set of pure strategy profiles and S−pS_{-p}S−p​ the set of profiles of the players other than ppp. For each player ppp and profile s∈Ss\in Ss∈S there is a payoff usp≥0u^p_s\ge0usp​≥0; for j∈Spj\in S_pj∈Sp​ and s∈S−ps\in S_{-p}s∈S−p​ the payoff to ppp at the profile (j,s)(j,s)(j,s) is written ujspu^p_{js}ujsp​. The number max⁡{u}\max\{u\}max{u} is the largest entry uspu^p_susp​ over all players and all profiles.

A mixed profile x={xjp}x=\{x^p_j\}x={xjp​} assigns to each player ppp a probability distribution xpx^pxp on SpS_pSp​; the players randomize independently, and for s∈S−ps\in S_{-p}s∈S−p​ we write xs=∏q≠pxsqqx_s=\prod_{q\ne p}x^q_{s_q}xs​=∏q=p​xsq​q​. The expected payoff of player ppp for playing the pure strategy jjj against the others is

Ujp=∑s∈S−pujsp xs,Umax⁡p=max⁡j∈SpUjp.\mathcal U^p_j=\sum_{s\in S_{-p}}u^p_{js}\,x_s,\qquad \mathcal U^p_{\max}=\max_{j\in S_p}\mathcal U^p_j .Ujp​=s∈S−p​∑​ujsp​xs​,Umaxp​=j∈Sp​max​Ujp​.
  • xxx is an ε-approximate Nash equilibrium if no player can gain more than ϵ\epsilonϵ by deviating to any mixed strategy ypy^pyp:
∑j∈SpUjp xjp ≥ ∑j∈SpUjp yjp−ϵfor all p and all mixed yp.\sum_{j\in S_p}\mathcal U^p_j\,x^p_j\ \ge\ \sum_{j\in S_p}\mathcal U^p_j\,y^p_j-\epsilon\quad\text{for all }p\text{ and all mixed }y^p .j∈Sp​∑​Ujp​xjp​ ≥ j∈Sp​∑​Ujp​yjp​−ϵfor all p and all mixed yp.
  • xxx is an ε-approximately well-supported Nash equilibrium if every strategy played with positive probability is within ϵ\epsilonϵ of the best:
Ujp>Uj′p+ϵ ⟹ xj′p=0for all p and j,j′∈Sp.\mathcal U^p_j>\mathcal U^p_{j'}+\epsilon\ \Longrightarrow\ x^p_{j'}=0\quad\text{for all }p\text{ and }j,j'\in S_p .Ujp​>Uj′p​+ϵ ⟹ xj′p​=0for all p and j,j′∈Sp​.

The trimmed profile x^\hat xx^ of xxx with parameter kkk deletes the strategies whose expected payoff is more than ϵk\epsilon kϵk below Umax⁡p\mathcal U^p_{\max}Umaxp​ and renormalizes:

zp=∑j∈Spxjp X{Ujp<Umax⁡p−ϵk},x^jp={xjp/(1−zp),Ujp≥Umax⁡p−ϵk,0,otherwise.z^p=\sum_{j\in S_p}x^p_j\,\mathcal X_{\{\mathcal U^p_j<\mathcal U^p_{\max}-\epsilon k\}},\qquad \hat x^p_j=\begin{cases}x^p_j/(1-z^p), & \mathcal U^p_j\ge\mathcal U^p_{\max}-\epsilon k,\\ 0, & \text{otherwise.}\end{cases}zp=j∈Sp​∑​xjp​X{Ujp​<Umaxp​−ϵk}​,x^jp​={xjp​/(1−zp),0,​Ujp​≥Umaxp​−ϵk,otherwise.​

In the Lean development these are purePayoff u x p j, maxPurePayoff u x p, maxPayoff u, IsEpsApproxNash u x ε, IsEpsWellSupportedNash u x ε, trimMass u x ε k p and trim u x ε k, all in the namespace DGPNash.WellSupported.

Formalization targets

Goal: Lemma 4.28

For ϵ>0\epsilon>0ϵ>0 and an ϵ\epsilonϵ-approximate Nash equilibrium xxx, the trimmed profile x^\hat xx^ with k=1+1/ϵk=1+1/\sqrt\epsilonk=1+1/ϵ​ is a mixed profile and a

ϵ⋅(ϵ+1+4(r−1)max⁡{u})-approximately well-supported Nash equilibrium.\sqrt\epsilon\cdot\bigl(\sqrt\epsilon+1+4(r-1)\max\{u\}\bigr)\text{-approximately well-supported Nash equilibrium.}ϵ​⋅(ϵ​+1+4(r−1)max{u})-approximately well-supported Nash equilibrium.

The constant is the paper's. The statement is about the specific profile x^\hat xx^ built from xxx, not about the existence of some well-supported equilibrium.

Milestones, in proof order

  • Eq. (28): ∑jUjpxjp≥Umax⁡p−ϵ\sum_j\mathcal U^p_j x^p_j\ge\mathcal U^p_{\max}-\epsilon∑j​Ujp​xjp​≥Umaxp​−ϵ for every player ppp.
  • Claim 5: for every k>0k>0k>0, zp≤1/kz^p\le 1/kzp≤1/k.
  • Claim 6: for every k>1k>1k>1, ∑j∈Sp∣xjp−x^jp∣≤2/(k−1)\sum_{j\in S_p}|x^p_j-\hat x^p_j|\le 2/(k-1)∑j∈Sp​​∣xjp​−x^jp​∣≤2/(k−1).
  • Lemma 4.26 (Lemma 4.29): for mixed profiles x,yx,yx,y,
∣∑s∈S−pujspxs−∑s∈S−pujspys∣≤max⁡s∈S−p{ujsp}∑q≠p∑i∈Sq∣xiq−yiq∣.\Bigl|\sum_{s\in S_{-p}}u^p_{js}x_s-\sum_{s\in S_{-p}}u^p_{js}y_s\Bigr|\le\max_{s\in S_{-p}}\{u^p_{js}\}\sum_{q\ne p}\sum_{i\in S_q}|x^q_i-y^q_i| .​s∈S−p​∑​ujsp​xs​−s∈S−p​∑​ujsp​ys​​≤s∈S−p​max​{ujsp​}q=p∑​i∈Sq​∑​∣xiq​−yiq​∣.

Significance

The result. Lemma 4.28 makes the two approximation notions polynomially equivalent for computation: every well-supported equilibrium is approximate with the same ϵ\epsilonϵ, and conversely an approximate equilibrium yields a well-supported one at accuracy O(ϵ)O(\sqrt\epsilon)O(ϵ​) for fixed rrr and payoff range. Hardness results proved for well-supported equilibria, including the PPAD-completeness of 3-player Nash in the paper and the two-player result of Chen, Deng and Teng, therefore apply to approximate equilibria as well, and algorithms for one notion give algorithms for the other. Lemma 4.26, the Lipschitz dependence of expected payoffs on the opponents' strategies in L1L_1L1​, is a general tool for perturbation and rounding arguments in finite games.

Formalizing it. The result is proved in the paper; as far as we know there is no machine-checked version, and the platform has neither approximation notion. The mission produces both definitions, on top of the published game vocabulary agt_games, and the quantitative chain from an approximate equilibrium to a well-supported one. These definitions are what any later formalization of approximate-equilibrium algorithms or hardness results would need.

Difficulty

The obvious attempt, to show that xxx itself is approximately well-supported, fails: an approximate equilibrium may put small positive probability on a strategy that is far from optimal, which a well-supported equilibrium forbids for any accuracy. Removing those strategies changes the opponents' expected payoffs, so the well-supported condition must be checked for U^\hat{\mathcal U}U^, computed from x^\hat xx^, not for U\mathcal UU. The accuracy of the result therefore depends on how far all r−1r-1r−1 opponents' strategies move, which is why the bound carries the factor (r−1)max⁡{u}(r-1)\max\{u\}(r−1)max{u}. Lemma 4.26 is a statement about product distributions: the change in a multilinear expected payoff is controlled by the sum of the per-player L1L_1L1​ distances, not by their product.

Formalization scope

  • Players form a finite type ι with decidable equality; player p has a finite strategy type S p; payoffs are u : ι → (∀ i, S i) → ℝ with the standing hypothesis ∀ p s, 0 ≤ u p s of §2.1. The number of players is r=r=r= Fintype.card ι, and 2 ≤ Fintype.card ι is assumed in every statement, as in §2.1. Strategy sets may differ between players.
  • Mixed profiles and lotteries are AGT.IsMixedProfile and AGT.IsLottery from agt_games; both equilibrium notions include the requirement that the profile be mixed. Ujp\mathcal U^p_jUjp​ is AGT.expectedPayoff after player ppp alone switches to the pure strategy jjj, and the approximate-Nash condition compares AGT.expectedPayoff before and after player ppp alone switches to a lottery yyy, which is the paper's inequality (27).
  • Umax⁡p\mathcal U^p_{\max}Umaxp​ and max⁡{u}\max\{u\}max{u} are suprema over finite types; they are the maxima, since a mixed profile forces each SpS_pSp​ to be nonempty. In Lemma 4.26 the maximum over s∈S−ps\in S_{-p}s∈S−p​ is the supremum of upu^pup over full profiles whose ppp-th coordinate is jjj.
  • The strict and non-strict inequalities are the paper's: the trim keeps Ujp≥Umax⁡p−ϵk\mathcal U^p_j\ge\mathcal U^p_{\max}-\epsilon kUjp​≥Umaxp​−ϵk, zpz^pzp counts Ujp<Umax⁡p−ϵk\mathcal U^p_j<\mathcal U^p_{\max}-\epsilon kUjp​<Umaxp​−ϵk, and the well-supported condition uses >>>. The goal assumes ϵ>0\epsilon>0ϵ>0, as the paper's 1/ϵ1/\sqrt\epsilon1/ϵ​ requires; Claim 5 is stated for k>0k>0k>0 and Claim 6 for k>1k>1k>1.
  • The clause "can be computed in polynomial time" of Lemma 4.28 is not formalized; the goal states the property of the profile the proof computes. A complexity statement would need the PPAD machinery, which is outside this series.
  • A trivializing formalization is ruled out: by Nash's theorem (on the platform as AGT.nash_existence) a δ-well-supported equilibrium exists for every δ ≥ 0, so the goal is stated for x^\hat xx^, defined from xxx, and not as an existence claim.

Contributions welcome: proofs of the milestones, in particular the decomposition ∑sxsusp=∑jxjp Ujp\sum_s x_s u^p_s=\sum_j x^p_j\,\mathcal U^p_j∑s​xs​usp​=∑j​xjp​Ujp​ of the expected payoff, which Eq. (28) and the goal both need, and Lemma 4.26, which is reusable in any perturbation argument for finite games.

Selected references

  • C. Daskalakis, P. W. Goldberg, C. H. Papadimitriou, The Complexity of Computing a Nash Equilibrium, SIAM Journal on Computing 39(1):195–259, 2009. https://doi.org/10.1137/070699652
  • X. Chen, X. Deng, S.-H. Teng, Computing Nash Equilibria: Approximation and Smoothed Complexity, FOCS 2006. https://arxiv.org/abs/cs/0602043
  • X. Chen, X. Deng, S.-H. Teng, Settling the Complexity of Computing Two-Player Nash Equilibria, Journal of the ACM 56(3), 2009. https://doi.org/10.1145/1516512.1516516
  • J. Nash, Non-Cooperative Games, Annals of Mathematics 54(2):286–295, 1951. https://doi.org/10.2307/1969529
8 thms4 active usersReviewed
🏆Completed
Algorithmic Game TheoryProbability·Captain: mikedeng1

The Price of Anarchy of Finite Congestion Games V: The Mixed Price of Anarchy of the Average Social Cost Is at Most (3+sqrt 5)/2Research Paper

Motivation

When many self-interested users share resources whose cost grows with use (links of a network, servers, machines), each user picks the option that is cheapest for them given what the others do, and the resulting equilibrium can be worse for the group than a centrally planned allocation. The price of anarchy, introduced by Koutsoupias and Papadimitriou (STACS 1999), measures this loss as the worst ratio between the social cost of an equilibrium and the optimal social cost. Congestion games (Rosenthal 1973) are the standard finite model of such resource sharing: they always have pure Nash equilibria, and they cover atomic routing, load balancing and many network design questions.

Timeline of the linear-latency case:

  • 2002: Roughgarden and Tardos (J. ACM) bound the price of anarchy of nonatomic selfish routing with linear latencies by 4/34/34/3.
  • 2005: Awerbuch, Azar and Epstein (STOC 2005) and, independently, Christodoulou and Koutsoupias (STOC 2005) show that for atomic (finite) congestion games with linear latencies the pure price of anarchy of the total cost is 5/25/25/2. Awerbuch, Azar and Epstein also obtain (3+5)/2≈2.618(3+\sqrt5)/2 \approx 2.618(3+5​)/2≈2.618 for weighted players.
  • 2005: Christodoulou and Koutsoupias observe that their argument for 5/25/25/2 extends to mixed Nash equilibria, at the price of the larger constant (3+5)/2(3+\sqrt5)/2(3+5​)/2 (their Theorem 14, the goal of this mission).

Setting

A congestion game consists of a finite set NNN of players, a finite set EEE of facilities, for each player iii a collection Σi\Sigma_iΣi​ of pure strategies, each a subset of EEE, and for each facility eee a latency function fe:N→Rf_e : \mathbb N \to \mathbb Rfe​:N→R. In a pure profile A=(A1,…,An)A = (A_1, \dots, A_n)A=(A1​,…,An​), Ai∈ΣiA_i \in \Sigma_iAi​∈Σi​, the load ne(A)n_e(A)ne​(A) is the number of players whose set contains eee, and player iii pays

ci(A)=∑e∈Aife(ne(A)).c_i(A) = \sum_{e \in A_i} f_e\bigl(n_e(A)\bigr).ci​(A)=e∈Ai​∑​fe​(ne​(A)).

The social cost of a pure profile is SUM(A)=∑i∈Nci(A)\mathrm{SUM}(A) = \sum_{i\in N} c_i(A)SUM(A)=∑i∈N​ci​(A) (NNN times the average cost). Latencies are linear: fe(k)=aek+bef_e(k) = a_e k + b_efe​(k)=ae​k+be​ with ae,be≥0a_e, b_e \ge 0ae​,be​≥0.

A mixed strategy pip_ipi​ of player iii is a probability distribution on Σi\Sigma_iΣi​. The players randomize independently, so the pure profile sss occurs with probability Pr⁡(s)=∏jpj(sj)\Pr(s) = \prod_j p_j(s_j)Pr(s)=∏j​pj​(sj​). Player iii's expected cost is E[ci]=∑sPr⁡(s) ci(s)\mathbb E[c_i] = \sum_s \Pr(s)\, c_i(s)E[ci​]=∑s​Pr(s)ci​(s), and the expected load of eee is E[ne]=∑sPr⁡(s) ne(s)\mathbb E[n_e] = \sum_s \Pr(s)\, n_e(s)E[ne​]=∑s​Pr(s)ne​(s). A mixed profile is a mixed Nash equilibrium if no player can lower their expected cost by switching unilaterally to another distribution on their strategies. The social cost of a mixed profile is the sum of the expected costs, SUM(p)=∑iE[ci]\mathrm{SUM}(p) = \sum_i \mathbb E[c_i]SUM(p)=∑i​E[ci​].

In Lean: CongestionGame ι E with fields strategies and latency, load, cost, IsProfile, sumCost, IsLinear, expCost, expLoad, mixedSumCost and IsMixedNash, all in the namespace CongestionPoA.Mixed; lotteries and independent randomization come from the platform definition agt_games (AGT.IsLottery, AGT.profileProb, AGT.IsMixedNash).

Formalization targets

Goal: Theorem 14

For every congestion game with linear latencies, every mixed Nash equilibrium ppp and every pure profile PPP with Pi∈ΣiP_i \in \Sigma_iPi​∈Σi​,

∑i∈NE[ci]  ≤  3+52 SUM(P).\sum_{i\in N} \mathbb E[c_i] \;\le\; \frac{3+\sqrt5}{2}\,\mathrm{SUM}(P).i∈N∑​E[ci​]≤23+5​​SUM(P).

Taking PPP optimal, the mixed price of anarchy of the average social cost is at most (3+5)/2(3+\sqrt5)/2(3+5​)/2.

Milestones

  1. Lemma 3 (corrected). For real x≥0x \ge 0x≥0 and integer y≥0y \ge 0y≥0, y(x+1)≤5−14x2+5+54y2y(x+1) \le \frac{\sqrt5-1}{4}x^2 + \frac{\sqrt5+5}{4}y^2y(x+1)≤45​−1​x2+45​+5​y2.
  2. Deviation inequality (Theorem 1's proof, mixed). At a mixed Nash equilibrium, for every player iii,
E[ci]≤∑e∈Pi(ae(E[ne]+1)+be).\mathbb E[c_i] \le \sum_{e\in P_i}\bigl(a_e(\mathbb E[n_e]+1) + b_e\bigr).E[ci​]≤e∈Pi​∑​(ae​(E[ne​]+1)+be​).
  1. Summing step (Theorem 1's proof, mixed).
∑iE[ci]≤∑e∈Ene(P)(ae(E[ne]+1)+be).\sum_i \mathbb E[c_i] \le \sum_{e\in E} n_e(P)\bigl(a_e(\mathbb E[n_e]+1) + b_e\bigr).i∑​E[ci​]≤e∈E∑​ne​(P)(ae​(E[ne​]+1)+be​).

Significance

The bound says that randomization by the players cannot make linear congestion games much worse than pure play: the loss stays within a constant factor independent of the number of players and facilities. Mixed equilibria matter because they always exist in every finite game and because they model populations of users whose individual choices are not known in advance. The same authors report (PDF p. 2) extending these bounds to correlated equilibria with the same values, which places the mixed bound in a hierarchy of equilibrium notions whose worst cases coincide.

The result is proved in the paper, in one sentence that defers to the proof of Theorem 1. The work here is a complete machine-checked version: the expected-cost layer for congestion games on top of agt_games, the deviation and summing inequalities under product distributions, and the corrected Lemma 3. The paper prints Lemma 3 for all nonnegative reals x,yx, yx,y, where it is false (at x=0x = 0x=0, y=1/10y = 1/10y=1/10 the left side is 0.10.10.1 and the right side about 0.0180.0180.018); the formal statement keeps yyy an integer, which is how the lemma is used. No formalization of congestion-game price-of-anarchy bounds was on the platform when this mission was drafted.

Difficulty

The pure proof compares ne(P)(ne(A)+1)n_e(P)(n_e(A)+1)ne​(P)(ne​(A)+1) with ne(A)2n_e(A)^2ne​(A)2 and ne(P)2n_e(P)^2ne​(P)2 through an integer inequality (Lemma 1). Under a mixed equilibrium the equilibrium side is an expectation, so the cost of a facility is no longer a function of one integer load, and Lemma 1's constant 1/31/31/3 is not available for real arguments: a real-variable version is needed, and the constant degrades from 5/25/25/2 to (3+5)/2(3+\sqrt5)/2(3+5​)/2. A second obstacle is bookkeeping: the deviating player's load changes only on their own deviation, while the other players' randomization stays independent, and the expected cost of a player has to be related to expected facility loads, which uses linearity of the latencies in an essential way. The naive idea of applying Theorem 1 to each pure profile in the support of the equilibrium fails, because those profiles are not themselves Nash equilibria.

Formalization scope

Players and facilities are finite types ι and E; profiles are functions ι → Finset E, with feasibility IsProfile a separate predicate. Latencies are real-valued on natural-number loads, and "linear" means affine with nonnegative coefficients, fe(k)=aek+bef_e(k) = a_e k + b_efe​(k)=ae​k+be​; the paper displays only the identity latency fe(k)=kf_e(k)=kfe​(k)=k and states that its proofs extend. Mixed strategies are real weight functions on the finite strategy type Σi\Sigma_iΣi​; independence is built into AGT.profileProb; Nash deviations range over all lotteries, which is equivalent to pure deviations. agt_games maximizes payoffs, so the game is passed to it with payoff −ci-c_i−ci​. The goal is stated against every feasible pure profile rather than as a ratio, so no division by an optimum that may be 000 occurs. The social cost is the expected sum of the players' costs; the paper's second option, ∑eE[ne2]\sum_e \mathbb E[n_e^2]∑e​E[ne2​], is not part of this mission. A version with correlated distributions on profiles, or one that bounds the cost of an "averaged" profile instead of the expected cost, is a different statement and does not discharge the goal.

A complete development needs elementary finite-sum manipulation of product distributions (marginals of AGT.profileProb, expectations of loads), and a Jensen-type inequality (E[ne])2≤E[ne2](\mathbb E[n_e])^2 \le \mathbb E[n_e^2](E[ne​])2≤E[ne2​] for finite distributions. The expectation lemmas for congestion games are reusable for the other mixed results of the literature (weighted games, polynomial latencies). Proofs of the milestones, of the expectation layer, and alternative arguments are all welcome.

Selected references

  • G. Christodoulou, E. Koutsoupias, The Price of Anarchy of Finite Congestion Games, STOC 2005, pp. 67–73. https://doi.org/10.1145/1060590.1060600
  • B. Awerbuch, Y. Azar, A. Epstein, The Price of Routing Unsplittable Flow, STOC 2005, pp. 57–66. https://doi.org/10.1145/1060590.1060599
  • E. Koutsoupias, C. Papadimitriou, Worst-case Equilibria, STACS 1999, LNCS 1563, pp. 404–413. https://doi.org/10.1007/3-540-49116-3_38
  • R. W. Rosenthal, A Class of Games Possessing Pure-Strategy Nash Equilibria, International Journal of Game Theory 2 (1973), pp. 65–67. https://doi.org/10.1007/BF01737559
  • T. Roughgarden, É. Tardos, How Bad Is Selfish Routing?, Journal of the ACM 49 (2002), pp. 236–259. https://doi.org/10.1145/506147.506153
7 thms4 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryOptimization·Captain: mikedeng1

Maximal Flow Through a Network I: The Minimal Cut Theorem — the Maximal Flow Value Equals the Minimum Value of a Disconnecting SetResearch Paper

Motivation

The question behind this mission was posed by T. E. Harris to L. R. Ford, Jr. and D. R. Fulkerson at RAND, in the setting of rail transport: given a rail network linking two cities, with a capacity on every link, find the largest steady flow from one city to the other. Ford and Fulkerson's answer, the minimal cut theorem, published in the Canadian Journal of Mathematics in 1956 (DOI 10.4153/CJM-1956-045-5), says that the obvious upper bound, the total capacity of a set of links whose removal separates the two cities, is always achieved by some flow.

The theorem became the starting point of network flow theory, and through it of a large part of combinatorial optimization and operations research: transportation, assignment, scheduling and network reliability problems are routinely reduced to it.

Timeline.

  • 1927: K. Menger proves that the minimum number of vertices separating two vertex sets of a graph equals the maximum number of disjoint paths joining them (Fund. Math. 10), the unit-capacity ancestor of the theorem.
  • 1955: Harris and Ross study the Soviet rail network as a capacity problem in a RAND report; Harris formulates the maximal flow problem (Schrijver's historical account: Math. Program. 91, 2002).
  • 1956: Ford and Fulkerson publish the minimal cut theorem for undirected networks, with a non-constructive proof based on maximal flows (this paper). Independently, Elias, Feinstein and Shannon state and prove the max-flow min-cut theorem for directed networks (IRE Trans. Inf. Theory 2, 1956), and Dantzig and Fulkerson obtain it from linear programming duality.
  • 1956–1962: Ford and Fulkerson's labelling (augmenting path) algorithm, collected in Flows in Networks (Princeton, 1962).
  • 1972: Edmonds and Karp give polynomial bounds for augmenting-path methods (J. ACM 19).

Setting

A network NNN consists of a finite set of vertices VVV, a finite set of arcs EEE, two distinct vertices, the source aaa and the sink bbb, and a positive capacity c(e)>0c(e)>0c(e)>0 on every arc. Each arc eee has two distinct end vertices; arcs are undirected, and several arcs may join the same pair of vertices.

A chain joining uuu and www is a set of distinct arcs that can be arranged as α1(v0v1),α2(v1v2),…,αm(vm−1vm)\alpha_1(v_0v_1),\alpha_2(v_1v_2),\dots,\alpha_m(v_{m-1}v_m)α1​(v0​v1​),α2​(v1​v2​),…,αm​(vm−1​vm​) with v0=uv_0=uv0​=u, vm=wv_m=wvm​=w and the vertices v0,…,vmv_0,\dots,v_mv0​,…,vm​ pairwise distinct; each arc may be traversed in either direction. The null chain (m=0m=0m=0) joins uuu to itself.

A flow fff assigns a number f(C)≥0f(C)\ge 0f(C)≥0 to each chain CCC joining aaa and bbb (and 000 to every other set of arcs) such that the load ℓf(e)=∑C∋ef(C)\ell_f(e)=\sum_{C\ni e}f(C)ℓf​(e)=∑C∋e​f(C) satisfies ℓf(e)≤c(e)\ell_f(e)\le c(e)ℓf​(e)≤c(e) for every arc. Its value is val(f)=∑Cf(C)\mathrm{val}(f)=\sum_C f(C)val(f)=∑C​f(C). An arc is saturated by fff if ℓf(e)=c(e)\ell_f(e)=c(e)ℓf​(e)=c(e). A maximal flow is a flow of largest value.

A set DDD of arcs is a disconnecting set if every chain joining aaa and bbb contains an arc of DDD; its value is v(D)=∑e∈Dc(e)v(D)=\sum_{e\in D}c(e)v(D)=∑e∈D​c(e). A cut is a disconnecting set no proper subset of which is disconnecting.

The proof introduces two further objects: the set SSS of arcs saturated by every maximal flow, and the set L⊆SL\subseteq SL⊆S of left arcs, those arcs of SSS whose left vertex (the end vertex met first by a positive chain flow of a maximal flow, travelling from aaa) can be reached from aaa by a chain with no arc saturated by some maximal flow.

Formalization targets

Goal: Theorem 1 (Minimal cut theorem), p. 400

∃ m∈R:m=max⁡f flowval(f)=min⁡D disconnectingv(D),\exists\, m\in\mathbb R:\quad m=\max_{f\ \text{flow}}\mathrm{val}(f)=\min_{D\ \text{disconnecting}}v(D),∃m∈R:m=f flowmax​val(f)=D disconnectingmin​v(D),

with both the maximum and the minimum attained. The statement mentions only flows and disconnecting sets, not the proof objects SSS and LLL.

Milestones, in the order of the paper's proof

  1. A maximal flow exists, and the set of maximal flows is convex (p. 400).
  2. Lemma 1: SSS is a disconnecting set (p. 400).
  3. Every arc of SSS receives the same orientation from all positive chain flows of all maximal flows: its left vertex is unique (pp. 400–401).
  4. Lemma 2: LLL is a disconnecting set (p. 401).
  5. Lemma 3: no positive chain flow of a maximal flow contains more than one arc of LLL (p. 401).
  6. val(f)≤v(D)\mathrm{val}(f)\le v(D)val(f)≤v(D) for every flow fff and every disconnecting set DDD (p. 402).
  7. LLL is a cut of minimal value, and every maximal flow has value v(L)v(L)v(L) (p. 402).

Two further statements of the paper are included as items without being milestones: the remark that a disconnecting set of minimal value is a cut (p. 400), and the Corollary (p. 402): if a set AAA of arcs meets every cut in exactly one arc, adding kkk to the capacity of each arc of AAA raises the maximal flow value by kkk.

Significance

The minimal cut theorem turns a maximization over flows into a minimization over finite sets of arcs, so an optimal flow comes with a short certificate of optimality. It implies Menger's theorem (unit capacities), and through it König's theorem on bipartite matchings and Hall's marriage theorem. The Corollary is the tool behind the paper's own computing procedure for source–sink planar networks (§2, formalized in a companion mission).

The theorem is classical and proved. What this mission adds is a machine-checked proof of the paper's own formulation: undirected arcs, parallel arcs, flows decomposed along chains (path flows, with no circulations), and the minimum taken over arc sets meeting every chain, together with the proof's intermediate claims. Max-flow min-cut theorems already on the platform (Applied Combinatorics VIII, AppliedComb.Flows.max_flow_min_cut; Introduction to Linear Optimization X, LinearOptimization.max_flow_min_cut) concern directed networks with edge flows obeying conservation and cuts given by vertex sets. They are related results, not this statement, and connecting the two models is itself welcome work.

Difficulty

Weak duality (milestone 6) is immediate; the content is the reverse inequality. The obvious first step, taking a maximal flow and observing that its saturated arcs separate aaa from bbb, does not finish the proof: a positive chain flow may pass through several saturated arcs, so the total capacity of the saturated arcs can exceed the flow value. One has to single out a disconnecting subset that every positive chain flow crosses exactly once, and there is no canonical choice from a single flow. The paper's sets SSS and LLL are defined from all maximal flows at once, and the work consists in showing that these sets are well behaved. The orientation claim in particular needs an exchange argument on two chains that cross at an arc, where the recombined arc sequences may revisit vertices and must be reduced to chains. In a formal development this "a walk contains a chain" step and the averaging of maximal flows over finitely many chains are the main bookkeeping costs.

Formalization scope

  • A network is a structure on a vertex type V and an arc type E, both Fintype with decidable equality, with end-vertex maps tail, head (labels only, no direction), tail e ≠ head e, a source and a sink with source ≠ sink, and capacities cap : E → ℝ with 0 < cap e. These are the paper's standing assumptions; there are no others in §1. In particular, no planarity is assumed and an arc may join aaa and bbb directly.
  • A chain is a Finset E that is the arc set of some arrangement (list of arcs, list of pairwise distinct vertices, each arc joining consecutive vertices in either order).
  • A flow is a function f : Finset E → ℝ, non-negative, zero off the chains joining source and sink, with every arc load at most the capacity. A collection of chain flows that lists a chain twice merges into this form without changing the value or any load.
  • "Maximal" means of maximum value. The goal is stated with IsGreatest and IsLeast on the sets of flow values and of values of disconnecting sets, so no supremum of a real set appears and both extrema must be attained.
  • A trivializing formalization is ruled out: chains must be self-avoiding and must join the source and the sink, the disconnecting condition quantifies over exactly these chains, and the minimum ranges over all disconnecting sets rather than over a family chosen to match a given flow.
  • Needed infrastructure: finite sums over Finset (Finset E), convexity in Finset E → ℝ, compactness of the flow polytope (for existence), and lemmas on lists (extracting a chain from a walk). The walk-to-chain lemma and weak duality are reusable for the companion mission and for any path-flow model.

Selected references

  • L. R. Ford, Jr. and D. R. Fulkerson, Maximal Flow Through a Network, Canadian Journal of Mathematics 8 (1956), 399–404. https://doi.org/10.4153/CJM-1956-045-5
  • P. Elias, A. Feinstein and C. E. Shannon, A note on the maximum flow through a network, IRE Transactions on Information Theory 2 (1956), 117–119. https://doi.org/10.1109/TIT.1956.1056816
  • K. Menger, Zur allgemeinen Kurventheorie, Fundamenta Mathematicae 10 (1927), 96–115. https://doi.org/10.4064/fm-10-1-96-115
  • L. R. Ford, Jr. and D. R. Fulkerson, Flows in Networks, Princeton University Press, 1962.
  • J. Edmonds and R. M. Karp, Theoretical improvements in algorithmic efficiency for network flow problems, Journal of the ACM 19 (1972), 248–264. https://doi.org/10.1145/321694.321699
  • A. Schrijver, On the history of the transportation and maximum flow problems, Mathematical Programming 91 (2002), 437–445. https://doi.org/10.1007/s101070100259
13 thms4 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryLinear Optimization+1·Captain: mikedeng1

Maximum Matching and a Polyhedron With 0,1-Vertices: The Vertices of the Matching Polyhedron Are Exactly the Matching VectorsResearch Paper

Motivation

A matching in a graph is a set of edges no two of which share a node. Given a real weight on every edge, the maximum-weight matching problem asks for a matching of largest total weight. It is one of the basic problems of combinatorial optimization: assignment, pairing and scheduling problems reduce to it, and it is the standard example of a combinatorial problem that is solvable in polynomial time although it is not obviously a linear program.

For bipartite graphs the problem is a linear program in disguise: the polytope cut out by nonnegativity and the node-degree inequalities has only 0–1 vertices (the Birkhoff–von Neumann theorem in the square case; Mathlib has it as extremePoints_doublyStochastic). For general graphs this fails already on a triangle, where the vector with every coordinate 1/21/21/2 satisfies all degree inequalities but is not a combination of matchings. Edmonds' 1965 paper (DOI 10.6028/jres.069b.013) adds one family of inequalities, one for each odd set of nodes, and proves that the resulting polyhedron has exactly the matching vectors as its vertices. The companion paper Paths, trees, and flowers gives the cardinality algorithm on which the weighted algorithm of §7 is built.

Timeline:

  • 1931: König and Egerváry prove the min–max theorems for bipartite matching; 1946: Birkhoff shows that the doubly stochastic matrices are the convex hull of the permutation matrices (the bipartite perfect-matching polytope).
  • 1947: Tutte characterizes graphs with a perfect matching.
  • 1965: Edmonds, Paths, trees, and flowers: the blossom algorithm for maximum-cardinality matching.
  • 1965: Edmonds, this paper: Theorem (P) (the matching polyhedron) and Theorem (M) (blossom-shrinking optimality certificates), with a weighted matching algorithm.

Setting

Let GGG be a finite graph with node set VVV and edge set EEE; each edge meets two different nodes, its ends. Real variables xex_exe​ correspond to the edges e∈Ee\in Ee∈E. The polyhedron C⊆REC\subseteq\mathbb R^EC⊆RE is the set of vectors xxx satisfying

  1. xe≥0x_e\ge 0xe​≥0 for every edge eee;
  2. ∑e meets vxe≤1\sum_{e \text{ meets } v} x_e\le 1∑e meets v​xe​≤1 for every node vvv;
  3. ∑e has both ends in Sxe≤r\sum_{e \text{ has both ends in } S} x_e\le r∑e has both ends in S​xe​≤r for every set SSS of 2r+12r+12r+1 nodes, rrr a strictly positive integer.

The matching vectors PPP are the vectors with every component 000 or 111 that satisfy (2); they are the incidence vectors of matchings. For edge weights c∈REc\in\mathbb R^Ec∈RE, the linear form (4) is W(c,x)=∑ecexeW(c,x)=\sum_e c_e x_eW(c,x)=∑e​ce​xe​.

The dual program has a variable yvy_vyv​ for each node and zSz_SzS​ for each odd set SSS (∣S∣=2rS+1|S|=2r_S+1∣S∣=2rS​+1, rS≥1r_S\ge1rS​≥1). Its objective is (5) U(y,z)=∑vyv+∑SrSzSU(y,z)=\sum_v y_v+\sum_S r_S z_SU(y,z)=∑v​yv​+∑S​rS​zS​, subject to (6) y,z≥0y,z\ge0y,z≥0 and (7) yv1+yv2+∑S∋v1,v2zS≥cey_{v_1}+y_{v_2}+\sum_{S\ni v_1,v_2}z_S\ge c_eyv1​​+yv2​​+∑S∋v1​,v2​​zS​≥ce​ for every edge eee with ends v1,v2v_1,v_2v1​,v2​. For a matching MMM, conditions (8)–(10) are the complementary slackness conditions: yv=0y_v=0yv​=0 at nodes not covered by MMM, equality in (7) on MMM, and every odd set with zS>0z_S>0zS​>0 contains exactly rSr_SrS​ edges of MMM.

A blossom sequence {Gi}i=0n\{G_i\}_{i=0}^n{Gi​}i=0n​ (Theorem (M)) starts from G0=GG_0=GG0​=G with matching M0=MM_0=MM0​=M and repeatedly shrinks an odd circuit BiB_iBi​ (a blossom, 2ai+12a_i+12ai​+1 edges of which aia_iai​ are matched) to a single node, carrying node weights w(vi)w(v^i)w(vi) and edge weights w(ei)w(e^i)w(ei) that obey conditions (a)–(k) of p. 127.

In the Lean development these are Graph, IsMatching, incidence, matchingPolyhedron (CCC), matchingVectors (PPP), W, U, DualFeasible ((6)–(7)), CompSlack ((8)–(10)) and BlossomSequence, all in the namespace EdmondsMatching65.Polyhedron.

Formalization targets

Goal: Theorem (P)

ext⁡(C)=P.\operatorname{ext}(C)=P.ext(C)=P.

The vertices (extreme points) of CCC are exactly the matching vectors of GGG. Hence the maximum weight of a matching equals max⁡{W(c,x):x∈C}\max\{W(c,x):x\in C\}max{W(c,x):x∈C} for every ccc.

Milestones

  1. P⊆ext⁡(C)P\subseteq\operatorname{ext}(C)P⊆ext(C) (§2, p. 126).
  2. If for every ccc some 0–1 point of CCC maximizes W(c,⋅)W(c,\cdot)W(c,⋅) over CCC, then ext⁡(C)=P\operatorname{ext}(C)=Pext(C)=P (§2, p. 126).
  3. Weak duality: W(c,x)≤U(y,z)W(c,x)\le U(y,z)W(c,x)≤U(y,z) for x∈Cx\in Cx∈C and ⟨y,z⟩\langle y,z\rangle⟨y,z⟩ satisfying (6)–(7) (§3, p. 126).
  4. If MMM is a matching and ⟨y,z⟩\langle y,z\rangle⟨y,z⟩ satisfies (6)–(10), then W(c,χM)=U(y,z)W(c,\chi^M)=U(y,z)W(c,χM)=U(y,z) (§3, p. 127).
  5. A blossom sequence for MMM yields ⟨y,z⟩\langle y,z\rangle⟨y,z⟩ satisfying (6)–(10) (§5, pp. 127–128).
  6. For every ccc some maximum matching has a blossom sequence (§6, p. 128).
  7. Theorem (M): a matching is maximum if and only if a blossom sequence for it exists (§4, p. 127).
  8. For every ccc there are a matching MMM and ⟨y,z⟩\langle y,z\rangle⟨y,z⟩ satisfying (6)–(10) (§3, p. 127).

Significance

The result. Theorem (P) turns maximum-weight matching in general graphs into a linear program over an explicitly described polyhedron, and Theorem (M) with the §5 translation gives a short certificate of optimality for every maximum matching. Together they established the template of polyhedral combinatorics: describe the convex hull of the combinatorial objects by inequalities, and prove the description through linear programming duality and an algorithm. The matching polytope underlies the analysis of the weighted blossom algorithm, separation over odd-set inequalities (Padberg–Rao), and many later integrality results; Edmonds' own §8 states the extension to degree-constrained subgraphs.

Formalizing it. The theorem has been proved since 1965 and appears in every text on combinatorial optimization; this mission asks for a machine-checked proof of the polytope statement for general finite graphs, including parallel edges, together with the duality certificate and the blossom-sequence characterization. The prove2me platform has a proved form of Edmonds' perfect matching polytope theorem on complete graphs in convex-decomposition form (MetricTSP.pm_polytope_decomposition), a different polytope with a different conclusion; nothing states Theorem (P) or Theorem (M).

Difficulty

The inclusion P⊆ext⁡(C)P\subseteq\operatorname{ext}(C)P⊆ext(C) and weak duality are routine. The difficulty is the reverse inclusion: showing that no fractional point of CCC is a vertex. The bipartite argument (a fractional point has a cycle of fractional edges along which it can be perturbed both ways) breaks on odd cycles: perturbing along an odd circuit violates a degree inequality, and the odd-set inequalities that cut off the half-integral points are exponentially many and overlap. The paper's route needs, for every weight vector, an optimal matching together with a dual solution satisfying (6)–(10), and the existence of that certificate is the substance of the weighted matching algorithm: the blossom sequence of Theorem (M) must be constructed, and the translation (11)–(16) from node and edge weights of the contracted graphs to ⟨y,z⟩\langle y,z\rangle⟨y,z⟩ must be verified through the whole shrinking history.

Formalization scope

  • The graph is a finite node type V, a finite edge type E and an end map ends : E → Sym2 V with no loops. Parallel edges are allowed: the contracted graphs of Theorem (M) have them, and Theorem (P) holds for multigraphs; simple graphs are the case of an injective end map.
  • Vectors are E → ℝ, one coordinate per edge. Vertices are Mathlib's Set.extremePoints ℝ. Odd sets carry an explicit r : ℕ with 1 ≤ r and |S| = 2r + 1; even sets and singletons carry no inequality.
  • Edge weights are arbitrary reals; matchings need not be perfect and may be empty. No connectivity, no parity of |V|.
  • The dual variable z is a function on all node sets of which only odd sets are read.
  • A contracted graph Gᵢ is a partition of V into blocks; an edge of G is an edge of Gᵢ when its ends lie in different blocks. Each Mᵢ must be a matching of Gᵢ, and all of (a)–(k) appear as fields of BlossomSequence; a sequence missing any of them would make milestone 6 trivial or milestone 5 false.
  • A trivializing formalization is ruled out: coordinates indexed by node pairs (Sym2 V → ℝ) leave non-edge coordinates free and give a polyhedron with no extreme points, and the goal is stated as equality of extreme points, not as a convex-hull identity or as the existence of a dual certificate.
  • Needed infrastructure: extreme points of polyhedra as unique maximizers of linear forms, finite LP weak duality over these index sets, and the weighted blossom algorithm (or another proof of milestone 8). The polyhedral lemmas are reusable for other integrality results; contributions on any milestone are welcome.

Selected references

  • J. Edmonds, Maximum Matching and a Polyhedron With 0,1-Vertices, J. Res. Nat. Bur. Standards Sect. B 69B (1965), 125–130. https://doi.org/10.6028/jres.069b.013
  • J. Edmonds, Paths, Trees, and Flowers, Canad. J. Math. 17 (1965), 449–467. https://doi.org/10.4153/CJM-1965-045-4
  • W. T. Tutte, The Factorization of Linear Graphs, J. London Math. Soc. 22 (1947), 107–111. https://doi.org/10.1112/jlms/s1-22.2.107
  • M. W. Padberg, M. R. Rao, Odd Minimum Cut-Sets and b-Matchings, Math. Oper. Res. 7 (1982), 67–80. https://doi.org/10.1287/moor.7.1.67
  • A. Schrijver, Combinatorial Optimization: Polyhedra and Efficiency, Springer, 2003, Chapter 25.
13 thms4 active usersReviewed
🏆Completed
Dynamic ProgrammingLinear OptimizationMarkov Chain·Captain: mikedeng1

On Sequential Decisions and Markov Chains 2: Under Irreducibility, an Optimal Solution of a Linear Program over State-Action Frequencies Yields an Optimal Stationary ProcedureResearch Paper

Linear programming for Markov decision problems

A Markov decision problem asks how to control a system that moves at random between finitely many states, where each decision changes the probabilities of the next move and incurs a cost. Cyrus Derman's 1962 paper On Sequential Decisions and Markov Chains (Management Science 9(1):16–24) treats two criteria: the long-run average cost per period, and the total cost of driving the system into an absorbing state. Its Theorem 2 shows that, once attention is restricted to stationary procedures, each problem can be solved as a linear program over the state-action frequencies of the procedure. This mission formalizes that theorem, its supporting displays (3)–(10) and its Lemma on linear-fractional programs.

The linear programming formulation is now the standard computational and theoretical tool for constrained Markov decision processes, and its variables, the occupation measures, are the objects of most later work on that topic. Derman's paper is among the first to state it for the average-cost criterion. Manne (Linear Programming and Sequential Decisions, Management Science, 1960) gave an earlier average-cost formulation for an inventory model. The reduction of a ratio of linear functions to a linear program in Derman's Lemma is the transformation published in the same year by Charnes and Cooper (Programming with Linear Fractional Functionals, Naval Research Logistics Quarterly, 1962).

Setting

There are finitely many states 0,…,L0, \dots, L0,…,L and decisions d1,…,dKd_1, \dots, d_Kd1​,…,dK​, all available in every state. Making decision dkd_kdk​ in state iii sends the system to state jjj with probability qij(k)≥0q_{ij}(k) \ge 0qij​(k)≥0, where ∑jqij(k)=1\sum_j q_{ij}(k) = 1∑j​qij​(k)=1, and costs wikw_{ik}wik​.

A procedure of class C′C'C′ is stationary randomized: in state iii it makes decision dkd_kdk​ with probability DikD_{ik}Dik​, where Dik≥0D_{ik} \ge 0Dik​≥0 and ∑kDik=1\sum_k D_{ik} = 1∑k​Dik​=1, independently of the past and of the time. Under such a procedure the states form a Markov chain with transition probabilities pij=∑kqij(k)Dikp_{ij} = \sum_k q_{ij}(k) D_{ik}pij​=∑k​qij​(k)Dik​. Write WtW_tWt​ for the expected cost at time ttt when X0=iX_0 = iX0​=i.

  • Problem 1 (average cost): minimize QR(i)=lim sup⁡T→∞1T∑t=0TWtQ_R(i) = \limsup_{T\to\infty} \frac{1}{T}\sum_{t=0}^{T} W_tQR​(i)=limsupT→∞​T1​∑t=0T​Wt​. Here wik>0w_{ik} > 0wik​>0, and Assumption A says that under every procedure of C′C'C′ all states belong to one class.
  • Problem 2 (total cost): the state LLL is absorbing under every decision and wLk=0w_{Lk} = 0wLk​=0. Minimize SR(i)=∑t=0∞WtS_R(i) = \sum_{t=0}^{\infty} W_tSR​(i)=∑t=0∞​Wt​, the expected cost of reaching LLL. Assumption B says that under every procedure of C′C'C′, LLL is reached from every state with probability one.

The state-action frequencies of a procedure D∈C′D \in C'D∈C′ with stationary distribution π\piπ are xjk=πjDjkx_{jk} = \pi_j D_{jk}xjk​=πj​Djk​. They satisfy the linear constraints

(10)xjk≥0,∑kxjk−∑i∑kxik qij(k)=0  (j),∑j∑kxjk=1.\text{(10)}\qquad x_{jk} \ge 0,\qquad \sum_k x_{jk} - \sum_{i}\sum_k x_{ik}\, q_{ij}(k) = 0 \ \ (j),\qquad \sum_j\sum_k x_{jk} = 1 .(10)xjk​≥0,k∑​xjk​−i∑​k∑​xik​qij​(k)=0  (j),j∑​k∑​xjk​=1.

For Problem 2, Derman adjoins a state −1-1−1 that restarts the chain uniformly on 0,…,L0, \dots, L0,…,L and is entered from LLL. The expected total cost then becomes a ratio of two linear functions of the frequencies of this augmented chain, (9).

Formalization targets

Goal: Theorem 2, pinned-down reading

The printed statement, "If Assumption A (B) holds, then problem 1 (2) can be formulated as a linear programming problem", is not a mathematical statement as it stands. The goal is the reading established by its proof (pp. 20–23).

Under Assumption A with w>0w > 0w>0, the program

min⁡ ∑j,kxjkwjksubject to (10)\min \ \sum_{j,k} x_{jk} w_{jk} \quad \text{subject to (10)}min j,k∑​xjk​wjk​subject to (10)

has an optimal solution. For every optimal x∗x^*x∗, every row sum ∑kxjk∗\sum_k x^*_{jk}∑k​xjk∗​ is positive, and Djk∗=xjk∗/∑kxjk∗D^*_{jk} = x^*_{jk}/\sum_k x^*_{jk}Djk∗​=xjk∗​/∑k​xjk∗​ satisfies QD∗(i)≤QD(i)Q_{D^*}(i) \le Q_D(i)QD∗​(i)≤QD​(i) for all D∈C′D \in C'D∈C′ and all iii.

Under Assumption B with the Problem 2 costs, the linear program obtained from (9) by the Lemma's transformation, min⁡∑wjkzjk\min \sum w_{jk} z_{jk}min∑wjk​zjk​ subject to (12), has an optimal solution. For every optimal (z∗,zn+1∗)(z^*, z^*_{n+1})(z∗,zn+1∗​) one has zn+1∗>0z^*_{n+1} > 0zn+1∗​>0, and the procedure decoded from x∗=z∗/zn+1∗x^* = z^*/z^*_{n+1}x∗=z∗/zn+1∗​ satisfies SD∗(i)≤SD(i)S_{D^*}(i) \le S_D(i)SD∗​(i)≤SD​(i) for all D∈C′D \in C'D∈C′ and all iii.

Milestones

In the order the proof uses them: the Cesàro limit and the unique positive stationary distribution of a one-class chain ((3), (5)); the taboo-probability identity (4); the formula (6) for QRQ_RQR​; the cycle formula (7) for the averaged total cost; the remark that minimizing the average of the SR(i)S_R(i)SR​(i) minimizes each one; the correspondence between C′C'C′ and the solutions of (10); and the Lemma reducing a linear-fractional program under conditions (i) and (ii) to the linear program (12).

Significance

The theorem replaces a search over infinitely many randomized procedures by a single finite linear program. It also yields the structural fact that an optimal stationary procedure can be read off from any optimal solution. The variables xjkx_{jk}xjk​ make constraints on long-run frequencies of actions expressible as linear constraints. That is the origin of the theory of constrained Markov decision processes, and of the dual linear programs whose variables are value functions. The Lemma is the classical linear-fractional reduction, used well beyond this setting.

All of these results are proved in the paper and in later textbooks (for example Puterman, Markov Decision Processes, 1994, §8.8 and §9.5). None of them has been formalized: Mathlib has Perron–Frobenius-type facts for irreducible matrices but no linear programming theory, no taboo probabilities and no Markov decision model. The mission produces machine-checked versions of the proof's chain of equalities and of the decoding step, written so that they can be reused for occupation-measure arguments.

Difficulty

Several steps fail in the naive argument. The correspondence between procedures and solutions of (10) needs every row sum ∑kxjk\sum_k x_{jk}∑k​xjk​ to be positive. That uses Assumption A for a procedure obtained by completing the decoded rows arbitrarily, together with the uniqueness and positivity of the stationary distribution. Positivity of the stationary vector of an irreducible but possibly periodic chain, and the Cesàro (not ordinary) convergence of PtP^tPt, have no ready-made form in Mathlib. The total-cost identity (7) needs the regenerative identity (4), whose sums must first be shown to converge, and needs the augmented chain to be irreducible, which follows from Assumption B but is not assumed. Problem 2 needs one more step: a minimizer of the averaged total cost is optimal from every starting state, which uses the finiteness of all SR(i)S_R(i)SR​(i).

Formalization scope

States and decisions are finite Lean types S and Act. Probabilities and costs are real numbers, a procedure of C′C'C′ is a nonnegative real matrix with unit row sums, and the chain is chainMatrix q D. Assumption A is irreducibility (Matrix.IsIrreducible) of every such chain matrix. Assumption B is reachability of LLL from every state; for a finite chain in which LLL is absorbing, this is equivalent to absorption with probability one. QR(i)Q_R(i)QR​(i) is a real limsup of a bounded sequence, with the paper's sum over t=0,…,Tt = 0, \dots, Tt=0,…,T. SR(i)S_R(i)SR​(i) takes values in [0,∞][0, \infty][0,∞]. The paper requires wik>0w_{ik} > 0wik​>0 on p. 17 and wLk=0w_{Lk} = 0wLk​=0 in Problem 2. The formalization uses wik>0w_{ik} > 0wik​>0 for i≠Li \ne Li=L in Problem 2, and keeps the two problems as separate implications. The adjoined state −1-1−1 is none : Option S, with the transition law that produces Derman's p−1,i=1/(L+1)p_{-1,i} = 1/(L+1)p−1,i​=1/(L+1), pL,−1=1p_{L,-1} = 1pL,−1​=1 for every procedure. The published JewellMRP.InfiniteStep definitions of an ergodic matrix and of a stationary vector are reused.

The goal states optimality of the decoded procedure against every competitor in C′C'C′, for every optimal solution of the linear program, with existence of an optimal solution as a separate clause. A statement that only identifies feasible sets, or that only asserts that some optimal procedure exists, does not count as Theorem 2. Optimality over all history-dependent procedures is Theorem 1, a separate mission of this series.

Welcome contributions: the stationary-distribution facts for irreducible finite stochastic matrices (reusable across Markov chain work), a small linear-programming existence lemma (a linear function attains its minimum on a nonempty compact polytope), and the Lemma's transformation, which is self-contained.

Selected references

  • C. Derman, On Sequential Decisions and Markov Chains, Management Science 9(1):16–24, 1962. https://doi.org/10.1287/mnsc.9.1.16
  • A. S. Manne, Linear Programming and Sequential Decisions, Management Science 6(3):259–267, 1960. https://doi.org/10.1287/mnsc.6.3.259
  • A. Charnes and W. W. Cooper, Programming with Linear Fractional Functionals, Naval Research Logistics Quarterly 9(3–4):181–186, 1962. https://doi.org/10.1002/nav.3800090303
  • K. L. Chung, Markov Chains with Stationary Transition Probabilities, Springer, 1960. https://doi.org/10.1007/978-3-642-49686-8
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
11 thms4 active usersReviewed
🏆Completed
Dynamic ProgrammingMarkov Chain·Captain: mikedeng1

On Sequential Decisions and Markov Chains 1: Deterministic Stationary Procedures Are Optimal for the Long-Run Average Cost and for the Total Cost to AbsorptionResearch Paper

Why restrict to stationary procedures

A Markov decision process with finitely many states and decisions is the basic model of sequential decision making under uncertainty: inventory replacement, machine maintenance, queue control and pursuit problems all fit it. Its computational methods (Howard's policy iteration, 1960; Manne's linear programming formulation, 1960) search only over stationary procedures, which use the same decision every time the system is in the same state. A controller, however, may also remember the whole past and randomize. Whether such procedures can do better is a genuine question: as Derman puts it, "a proof is required before a procedure optimal over C′C'C′ can be considered as the optimal procedure."

Cyrus Derman's 1962 paper On Sequential Decisions and Markov Chains (Management Science 9(1):16–24) answers it for two criteria, the long-run average cost and the total cost until absorption, by showing that a deterministic stationary procedure is optimal against all procedures. This mission formalizes that theorem, Theorem 1, together with the steps of its proof.

Timeline. Karlin (1955) gives the existence of a discount-optimal procedure used here; Howard (1960) and Manne (1960) solve the average-cost problem over stationary procedures; Wagner (1960) shows by linear programming that an optimal average-cost procedure can be taken deterministic and stationary; Derman (1962) proves the reduction for both criteria by the functional equation approach; Blackwell (1962) strengthens the discounted side to procedures optimal for all discount factors close to 111.

Setting

The system is observed at times t=0,1,…t = 0, 1, \dotst=0,1,… in one of finitely many states 0,…,L0, \dots, L0,…,L. After each observation one of KKK decisions d1,…,dKd_1, \dots, d_Kd1​,…,dK​ is made; every decision is available in every state. If the system is in state iii and decision dkd_kdk​ is made, it moves to state jjj with probability qij(k)≥0q_{ij}(k) \ge 0qij​(k)≥0, where ∑jqij(k)=1\sum_j q_{ij}(k) = 1∑j​qij​(k)=1, and a cost wikw_{ik}wik​ is incurred.

A procedure RRR chooses decision dkd_kdk​ at time ttt with probability Dk(X0,Δ0,…,Xt)D_k(X_0, \Delta_0, \dots, X_t)Dk​(X0​,Δ0​,…,Xt​), which may depend on the whole history of states XsX_sXs​ and decisions Δs\Delta_sΔs​. The class of all procedures is CCC. The class C′C'C′ consists of the stationary randomized procedures, for which this probability is a number DikD_{ik}Dik​ depending only on the current state iii. The class C′′C''C′′ consists of the deterministic stationary procedures, those of C′C'C′ with Dik∈{0,1}D_{ik} \in \{0, 1\}Dik​∈{0,1}, that is, maps fff from states to decisions; C′′C''C′′ is finite.

Started from X0=iX_0 = iX0​=i, a procedure RRR incurs the expected cost WtW_tWt​ at time ttt. The criteria are

QR(i)=lim sup⁡T→∞1T∑t=0TWt(Problem 1),SR(i)=∑t=0∞Wt∈[0,∞](Problem 2),Q_R(i) = \limsup_{T \to \infty} \frac1T \sum_{t=0}^{T} W_t \quad\text{(Problem 1)}, \qquad S_R(i) = \sum_{t=0}^{\infty} W_t \in [0, \infty] \quad\text{(Problem 2)},QR​(i)=T→∞limsup​T1​t=0∑T​Wt​(Problem 1),SR​(i)=t=0∑∞​Wt​∈[0,∞](Problem 2),

and, for a discount factor 0<α<10 < \alpha < 10<α<1, the auxiliary discounted cost VR(i,α)=∑t≥0αtWtV_R(i, \alpha) = \sum_{t \ge 0} \alpha^t W_tVR​(i,α)=∑t≥0​αtWt​. Problem 1 assumes wik>0w_{ik} > 0wik​>0. Problem 2 assumes that state LLL is absorbing under every decision and that wLk=0w_{Lk} = 0wLk​=0, so SR(i)S_R(i)SR​(i) is the expected cost of driving the system from iii into LLL.

Formalization targets

Goal: Theorem 1

There are procedures R1,R2∈C′′R_1, R_2 \in C''R1​,R2​∈C′′ such that, for every state iii,

QR1(i)=min⁡R∈CQR(i)(Problem 1),SR2(i)=min⁡R∈CSR(i)  (possibly ∞)(Problem 2).Q_{R_1}(i) = \min_{R \in C} Q_R(i) \quad\text{(Problem 1)}, \qquad S_{R_2}(i) = \min_{R \in C} S_R(i) \ \ (\text{possibly } \infty) \quad\text{(Problem 2)}.QR1​​(i)=R∈Cmin​QR​(i)(Problem 1),SR2​​(i)=R∈Cmin​SR​(i)  (possibly ∞)(Problem 2).

One procedure serves every initial state, and the minimum is over all of CCC.

Milestones, in the order of the proof

  1. The functional equation: Vi=min⁡R∈CVR(i,α)V_i = \min_{R \in C} V_R(i, \alpha)Vi​=minR∈C​VR​(i,α) satisfies Vi=min⁡Di∑kDik (wik+α∑jqij(k)Vj)V_i = \min_{D_i} \sum_k D_{ik}\,(w_{ik} + \alpha \sum_j q_{ij}(k) V_j)Vi​=minDi​​∑k​Dik​(wik​+α∑j​qij​(k)Vj​), the minimum over randomizations DiD_iDi​ being attained.
  2. For each α∈(0,1)\alpha \in (0,1)α∈(0,1) some Rα∈C′′R_\alpha \in C''Rα​∈C′′ minimizes VR(i,α)V_R(i, \alpha)VR​(i,α) over CCC.
  3. One R∗∈C′′R^* \in C''R∗∈C′′ is αv\alpha_vαv​-discount optimal along a sequence αv→1\alpha_v \to 1αv​→1.
  4. lim⁡v(1−αv)VR∗(i,αv)=QR∗(i)\lim_{v} (1 - \alpha_v) V_{R^*}(i, \alpha_v) = Q_{R^*}(i)limv​(1−αv​)VR∗​(i,αv​)=QR∗​(i) for a stationary R∗R^*R∗ (published).
  5. The Abelian inequality QR(i)≥lim sup⁡α→1−(1−α)VR(i,α)Q_R(i) \ge \limsup_{\alpha \to 1^-} (1 - \alpha) V_R(i, \alpha)QR​(i)≥limsupα→1−​(1−α)VR​(i,α) for every R∈CR \in CR∈C (published).
  6. Theorem 1 (1) itself (published, as part of Sennott's Proposition 6.2.3).
  7. SR(i)=lim⁡α→1−VR(i,α)S_R(i) = \lim_{\alpha \to 1^-} V_R(i, \alpha)SR​(i)=limα→1−​VR​(i,α) for every R∈CR \in CR∈C, finite or not.

Significance

Theorem 1 is what makes finite optimization possible for these problems: once C′′C''C′′ is known to contain an optimal procedure, the search runs over finitely many maps, and the linear programs of the paper's §3 (the next mission of this series) and of Manne describe the whole problem rather than a restriction of it. Part (2) is a total-cost result without any assumption that the absorbing state is reached; it holds even when every procedure has infinite cost from some state, which separates it from the stochastic shortest path theory that assumes properness.

Part (1) is available on the platform as part of Sennott's Proposition 6.2.3 (stated there, not yet proved), and it is referenced here rather than restated. Part (2), the functional equation for history-dependent procedures and the Abel-limit identity for the total cost have no statement on the platform; to our knowledge none has a machine-checked proof.

Difficulty

The obvious argument compares an arbitrary procedure with stationary ones state by state, but a history-dependent randomized procedure does not induce a Markov chain, so no transition matrix is available for it. The comparison has to pass through the discounted problem, where an optimal stationary procedure exists for each α\alphaα, and then let α→1\alpha \to 1α→1. Two limit exchanges are needed: for the average cost, an Abelian inequality valid for every procedure plus a Markov chain limit theorem for the stationary one; for the total cost, monotone convergence in [0,∞][0, \infty][0,∞], which must work when the limit is infinite. The discount-optimal procedure depends on α\alphaα, and the finiteness of C′′C''C′′ is what yields a single procedure along a sequence αv→1\alpha_v \to 1αv​→1.

Formalization scope

The model is the published SennottDP.AvgFinite.Model (a Markov decision chain with finite action sets, nonnegative costs in R≥0\mathbb R_{\ge 0}R≥0​ and transition probabilities in [0,∞][0, \infty][0,∞]) with finite nonempty types of states and decisions and every action set equal to the whole decision type. Derman's class CCC is its Policy (history-dependent, randomized); C′′C''C′′ is StationaryPolicy. WtW_tWt​ is expCost, VR(i,α)V_R(i, \alpha)VR​(i,α) is discCost, and QR(i)Q_R(i)QR​(i) is avgCost =lim sup⁡n1n∑t<nWt= \limsup_n \frac1n \sum_{t<n} W_t=limsupn​n1​∑t<n​Wt​, which has the same value as Derman's normalization because WtW_tWt​ is bounded. SR(i)S_R(i)SR​(i) is a new definition, a sum in [0,∞][0, \infty][0,∞]. Every discount factor is restricted to (0,1)(0, 1)(0,1) explicitly. "Minimum over CCC" is stated as an inequality against every policy, with the optimal procedure chosen before the initial state.

Problems 1 and 2 enter as separate implications with their own cost hypotheses; the page's "wik>0w_{ik} > 0wik​>0" is read as wik>0w_{ik} > 0wik​>0 for i≠Li \ne Li=L in Problem 2, since wLk=0w_{Lk} = 0wLk​=0 there. A formalization that compares only against stationary procedures, or that states the total cost as a real series (whose divergent values default to 000), is ruled out: the competitors are all policies and SR(i)S_R(i)SR​(i) lives in [0,∞][0, \infty][0,∞].

A complete development needs the discounted Bellman equation for history-dependent policies, the selection of a deterministic minimizer, and Abelian theorems for nonnegative series. These are reusable across the platform's dynamic programming missions, and proofs of the referenced Sennott propositions are welcome contributions in their own right.

Selected references

  • C. Derman, On Sequential Decisions and Markov Chains, Management Science 9(1):16–24, 1962. https://doi.org/10.1287/mnsc.9.1.16
  • S. Karlin, The Structure of Dynamic Programming Models, Naval Research Logistics Quarterly 2(4):285–294, 1955. https://doi.org/10.1002/nav.3800020408
  • A. S. Manne, Linear Programming and Sequential Decisions, Management Science 6(3):259–267, 1960. https://doi.org/10.1287/mnsc.6.3.259
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • H. M. Wagner, On the Optimality of Pure Strategies, Management Science 6(3):268–269, 1960. https://doi.org/10.1287/mnsc.6.3.268
  • D. Blackwell, Discrete Dynamic Programming, Annals of Mathematical Statistics 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley, 1999, Propositions 6.1.1, 6.2.2, 6.2.3. https://doi.org/10.1002/9780470317037
11 thms4 active usersReviewed
🏆Completed
Algorithmic Game TheoryComplexity Theory·Captain: mikedeng1

The Complexity of Computing a Nash Equilibrium 1: Approximate Fixed Points of Nash's Map Are Approximate Nash EquilibriaResearch Paper

Motivation

A finite game describes several decision makers whose payoffs depend on everyone's choices. A Nash equilibrium is a collection of choices at which no single player can improve their expected payoff by changing strategy alone. Equilibrium existence is a classical result, but a computational argument needs to connect an object that can be approximated numerically to a strategically meaningful outcome. Daskalakis, Goldberg and Papadimitriou make that connection using Nash's map on mixed-strategy profiles in their study of equilibrium computation (Daskalakis, Goldberg and Papadimitriou 2009, §3.2). This mission isolates their quantitative connection: a profile close to a fixed point of that particular map is close to a Nash equilibrium, with the paper's explicit error bound.

The result is a known lemma from the published paper, not an open conjecture. It belongs to the paper's route from finite games to approximate equilibrium computation. The present mission treats the analytic statements about the map and finite payoffs; it does not state the paper's PPAD completeness theorem or encode computational reductions.

Setting

A normal-form game has r≥2r\ge2r≥2 players. In the Nash-map section each player has the same nonempty set [n][n][n] of nnn pure strategies. A pure profile sss chooses one strategy for each player, and player ppp receives a nonnegative real payoff uspu^p_susp​. The largest entry among all these payoff tables is Umax⁡U_{\max}Umax​. A mixed profile xxx assigns each player ppp probabilities xjp≥0x^p_j\ge0xjp​≥0 that sum to one over j∈[n]j\in[n]j∈[n]; different players randomize independently. The expected payoff when everyone uses xxx is Up(x)U^p(x)Up(x). If player ppp instead uses the pure strategy jjj while the others keep their mixed strategies, the expected payoff is Ujp(x)U^p_j(x)Ujp​(x).

Write Bjp(x)=max⁡{0,Ujp(x)−Up(x)}B^p_j(x)=\max\{0,U^p_j(x)-U^p(x)\}Bjp​(x)=max{0,Ujp​(x)−Up(x)} for the positive part of this unilateral payoff gain. Nash's map fff assigns to each coordinate of a mixed profile the normalized value

f(x)jp=xjp+Bjp(x)1+∑k∈[n]Bkp(x).f(x)^p_j=\frac{x^p_j+B^p_j(x)}{1+\sum_{k\in[n]}B^p_k(x)}.f(x)jp​=1+∑k∈[n]​Bkp​(x)xjp​+Bjp​(x)​.

The numerator raises the weight of a strategy whose pure payoff exceeds the current expected payoff. The common denominator ensures that the new weights for a player sum to one. These are exactly the quantities and normalization displayed on page 205 of the paper (Daskalakis, Goldberg and Papadimitriou 2009).

An ε\varepsilonε-approximate Nash equilibrium here means a mixed profile at which no player can increase expected payoff by more than ε\varepsilonε through any mixed-strategy deviation. This is the alternative approximation notion identified on page 199 and written as Eq. (27) on page 243. It is weaker than the paper's ε\varepsilonε-approximately well-supported condition; the two notions must remain distinct.

Formalization targets

The goal is Lemma 3.8 (p. 207). For any mixed profile xxx with ∥f(x)−x∥∞≤ε′\|f(x)-x\|_\infty\le\varepsilon'∥f(x)−x∥∞​≤ε′, where ε′≥0\varepsilon'\ge0ε′≥0, its approximate-equilibrium error is bounded by the paper's exact quantity:

εNash=nε′(1+nUmax⁡)(1+ε′(1+nUmax⁡))max⁡{Umax⁡,1}.\varepsilon_{\mathrm{Nash}}= n\sqrt{\varepsilon'(1+nU_{\max})} \left(1+\sqrt{\varepsilon'(1+nU_{\max})}\right) \max\{U_{\max},1\}.εNash​=nε′(1+nUmax​)​(1+ε′(1+nUmax​)​)max{Umax​,1}.

No numerical constant is left free or replaced by an unspecified asymptotic bound. The goal is universal over games and profiles satisfying the stated conditions; it does not merely assert the existence of one favorable profile.

The milestone list also includes Lemma 3.5, bounding the variation of a pure-strategy payoff when opponents change their distributions; Lemma 3.6, an inequality for normalized nonnegative sums; and Lemma 3.4, the explicit Lipschitz bound

∥f(x)−f(x′)∥∞≤[1+2Umax⁡rn(n+1)] δwhen∥x−x′∥∞≤δ.\|f(x)-f(x')\|_\infty\le[1+2U_{\max}rn(n+1)]\,\delta \quad\text{when}\quad \|x-x'\|_\infty\le\delta.∥f(x)−f(x′)∥∞​≤[1+2Umax​rn(n+1)]δwhen∥x−x′∥∞​≤δ.

Equation (3) on page 208 is a further milestone: it bounds each coordinate's share of the total positive gain under approximate fixedness. Lemma 3.4 has a separate role in the paper's grid analysis; it is not claimed as a prerequisite of Lemma 3.8.

Significance

The goal gives a quantitative translation between two kinds of approximation. An error measured in the coordinates of a fixed-point map becomes an upper bound on a player's incentive to deviate. The dependence on nnn, Umax⁡U_{\max}Umax​ and ε′\varepsilon'ε′ matters because the later computational construction chooses its grid scale using an explicit threshold, not simply a convergence claim. Lemma 3.4 provides the separate sensitivity estimate for that map, also with its exact constant (Daskalakis, Goldberg and Papadimitriou 2009, pp. 205–207).

Formalizing these known statements supplies a reusable bridge between finite-game payoffs, mixed profiles and a concrete fixed-point map. The shared finite-game representation already exists in the published agt_games definition bundle. What remains here is a machine-checked proof of each quantitative statement and of the payoff identities needed to relate pure and mixed deviations. The local Lean statements compile as open theorem targets; the mission does not claim that their proofs are already formalized.

Difficulty

A coordinatewise small value of f(x)−xf(x)-xf(x)−x does not by itself bound the largest payoff advantage by the same number. The map normalizes by a sum of all positive advantages, and a strategy with a large advantage might have little probability under xxx. Conversely, controlling a player's current expected payoff requires information about the entire probability vector, including strategies that are worse than the current mix. The explicit square-root dependence in Lemma 3.8 captures this mismatch. A direct substitution of the fixed-point error for the equilibrium error would lose both the dimension and payoff-scale factors in the published bound.

Formalization scope

Lean represents players by Fin r, strategies by Fin n, payoffs by a real function on pure profiles, and mixed strategies by real-valued weight functions satisfying AGT.IsMixedProfile. The paper numbers players and strategies from one; Fin uses zero-based indices without changing the mathematical sets. AGT.expectedPayoff and AGT.profileProb implement the independent product distribution. Pure-strategy expected payoff is the same expectation after replacing just one player's lottery by a point mass. The maximum payoff is computed from the game's actual finite table; the statements require r≥2r\ge2r≥2 and n>0n>0n>0, so this maximum exists. Nonnegative payoff entries, the standing convention from §2.1, are hypotheses.

The formula for fff is defined on all real coordinate arrays, exactly as an algebraic expression. Every theorem about an equilibrium supplies mixed-profile membership. This explicit condition rules out interpreting Lemma 3.8 on arbitrary vectors, for which “approximate Nash equilibrium” has no strategic meaning and the paper's argument does not apply. The infinity norm is written as a bound for every player-strategy pair, avoiding any dependence on a chosen norm instance. All error parameters appearing in the statements are nonnegative, and the denominator of fff is positive on mixed profiles because each Bjp(x)B^p_j(x)Bjp​(x) is nonnegative.

The development needs finite products and sums, real inequalities, the game bundle, and elementary facts about lotteries and unilateral deviations. Results about how expectations vary under a changed product distribution are reusable for other finite-game formalizations. Contributions proving the milestone inequalities, the payoff identities, and the goal's exact bound are welcome.

Selected references

  • C. Daskalakis, P. W. Goldberg and C. H. Papadimitriou, The Complexity of Computing a Nash Equilibrium, SIAM Journal on Computing 39(1):195–259, 2009. DOI: 10.1137/070699652.
7 thms4 active usersReviewed
🏆Completed
OptimizationStochastic Systems·Captain: mikedeng1

A Characterization of Waiting Time Performance Realizable by Single-Server Queues: The Conservation-Law Polytope Is the Convex Hull of the Preemptive Priority VectorsResearch Paper

Motivation

A single server shared by several classes of jobs must decide, at every moment, which class to serve. Different scheduling rules give different mean response times to the classes, and a system designer often starts from the other end: a target vector of mean response times, one per class, and the question whether any rule can meet it. Coffman and Mitrani answered this question for the multiclass M/M/1 queue in A Characterization of Waiting Time Performance Realizable by Single-Server Queues (Operations Research 28 (1980), 810–821). Their answer is a polytope with an explicit description: the response-time vectors that can be realized are exactly the convex combinations of the vectors of the preemptive priority rules, and these are exactly the vectors satisfying one equation and 2M−22^M-22M−2 inequalities.

The starting point is Kleinrock's conservation law (Kleinrock, Naval Res. Logist. Quart. 12 (1965)): a weighted sum of the response times does not depend on the rule. The characterization is the first instance of what was later called the achievable region method, developed for general multiclass systems by Federgruen and Groenevelt (Oper. Res. 36 (1988)), Shanthikumar and Yao (Oper. Res. 40 (1992)) and Bertsimas and Niño-Mora (Math. Oper. Res. 21 (1996)), and used to derive priority-index policies such as the cμc\mucμ rule and Gittins indices.

Setting

There are M≥1M\ge1M≥1 job classes. Jobs of class iii arrive in a Poisson stream at rate λi>0\lambda_i>0λi​>0 and have exponential service times with parameter μi>0\mu_i>0μi​>0. The traffic intensity of class iii is ρi=λi/μi\rho_i=\lambda_i/\mu_iρi​=λi​/μi​, and the system is stable: ρ=ρ1+⋯+ρM<1\rho=\rho_1+\cdots+\rho_M<1ρ=ρ1​+⋯+ρM​<1. A performance vector W=(W1,…,WM)W=(W_1,\dots,W_M)W=(W1​,…,WM​) lists the mean response times of the classes. Write ai=ρi/μia_i=\rho_i/\mu_iai​=ρi​/μi​, V=∑iλi/μi2V=\sum_i\lambda_i/\mu_i^2V=∑i​λi​/μi2​, and for a set ggg of classes

f(g)=∑i∈gai1−∑i∈gρi,f(∅)=0.f(g)=\frac{\sum_{i\in g}a_i}{1-\sum_{i\in g}\rho_i},\qquad f(\emptyset)=0 .f(g)=1−∑i∈g​ρi​∑i∈g​ai​​,f(∅)=0.
  • The conservation law (1): ∑i=1MρiWi=V/(1−ρ)\sum_{i=1}^M\rho_iW_i=V/(1-\rho)∑i=1M​ρi​Wi​=V/(1−ρ), which equals f({1,…,M})f(\{1,\dots,M\})f({1,…,M}).
  • The inequalities (4): ∑i∈gρiWi≥f(g)\sum_{i\in g}\rho_iW_i\ge f(g)∑i∈g​ρi​Wi​≥f(g) for each proper nonempty set ggg of classes.
  • H∗∗H^{**}H∗∗ is the set of WWW satisfying (1) and (4).
  • A priority order lists the classes as i1,…,iMi_1,\dots,i_Mi1​,…,iM​, i1i_1i1​ highest. The preemptive priority vector P(i1,…,iM)P(i_1,\dots,i_M)P(i1​,…,iM​) is the vector with ∑i∈SkρiWi=f(Sk)\sum_{i\in S_k}\rho_iW_i=f(S_k)∑i∈Sk​​ρi​Wi​=f(Sk​) for the top sets Sk={i1,…,ik}S_k=\{i_1,\dots,i_k\}Sk​={i1​,…,ik​}, k=1,…,Mk=1,\dots,Mk=1,…,M; explicitly Pik=(f(Sk)−f(Sk−1))/ρikP_{i_k}=(f(S_k)-f(S_{k-1}))/\rho_{i_k}Pik​​=(f(Sk​)−f(Sk−1​))/ρik​​. For M=2M=2M=2, P(1,2)1=1/(μ1−λ1)P(1,2)_1=1/(\mu_1-\lambda_1)P(1,2)1​=1/(μ1​−λ1​), the M/M/1 response time of class 1 alone.
  • HHH, (3), is the set of convex combinations ∑k=1MαkPk\sum_{k=1}^M\alpha_kP_k∑k=1M​αk​Pk​ of MMM preemptive priority vectors.

In Lean the data are a structure Params M carrying λ,μ\lambda,\muλ,μ and the three standing assumptions; Params.f, Params.Hss (H∗∗H^{**}H∗∗), Params.prioVec, topSet and Params.H are the objects above.

Formalization targets

Goal: Theorem 2, analytical form

H∗∗=H.H^{**}=H .H∗∗=H.

The paper's Theorem 2 says a vector is achievable by a scheduling strategy iff it lies in HHH; its proof is the chain H⊆H∗⊆H∗∗⊆HH\subseteq H^*\subseteq H^{**}\subseteq HH⊆H∗⊆H∗∗⊆H, where H∗H^*H∗ is the achievable set. The goal is the part of the chain that involves no strategies.

Milestones

  1. The priority vector is the unique solution of the equations (5) for its chain of top sets.
  2. The first inequality of the proof of Lemma 2: (1−ρ(g1))(1−ρ(g2))>(1−ρ(g1∪g2))(1−ρ(g1∩g2))(1-\rho(g_1))(1-\rho(g_2))>(1-\rho(g_1\cup g_2))(1-\rho(g_1\cap g_2))(1−ρ(g1​))(1−ρ(g2​))>(1−ρ(g1​∪g2​))(1−ρ(g1​∩g2​)) for crossing g1,g2g_1,g_2g1​,g2​.
  3. The second inequality of that proof, in the coefficients aia_iai​.
  4. Lemma 1 at the priority vectors: every P(i1,…,iM)P(i_1,\dots,i_M)P(i1​,…,iM​) lies in H∗∗H^{**}H∗∗.
  5. Two sets on which a point of H∗∗H^{**}H∗∗ satisfies (4) with equality are nested.
  6. Lemma 2: every vertex of H∗∗H^{**}H∗∗ is a preemptive priority vector.

A further item states the paper's final remark (§4): every linear cost ∑iciWi\sum_ic_iW_i∑i​ci​Wi​ is minimized over H∗∗H^{**}H∗∗ at some preemptive priority vector.

Significance

The theorem turns a question about all scheduling rules into a finite check: a target vector is realizable iff it satisfies (1) and the inequalities (4), and every realizable vector is realized by randomly mixing at most MMM priority rules. Linear costs over the realizable vectors are minimized by a priority rule, the fact behind the optimality of priority-index rules in multiclass queues. The paper also gives a linear program for finding the mixture.

The result has been proved since 1980. No machine-checked proof of it is known. The Prove2Me library holds the abstract generalized conservation law theorem of Gittins, Glazebrook and Weber (AllocationIndices.achievable_region_theorem, included as a reference item), which assumes the inequalities (4) for every policy and whose polytope also imposes nonnegativity; it does not compute the right-hand sides for the M/M/1 queue, does not prove that the priority vectors satisfy (4), and uses equality on the lowest-priority sets rather than the highest. This mission supplies the concrete polytope, the closed form of the priority vectors and the strict supermodularity of fff.

Difficulty

That the priority vectors lie in H∗∗H^{**}H∗∗ is a family of inequalities between ratios f(Sk)f(S_k)f(Sk​), one for each pair of a priority order and a set ggg, and the order and ggg need not interact in any simple way. The reverse inclusion is a statement about vertices: a vertex is determined by MMM tight constraints, and one has to show that they form a chain. This needs strict inequalities with the right direction for every crossing pair of sets, which is where the positivity of every λi,μi\lambda_i,\mu_iλi​,μi​ is used. If some λi=0\lambda_i=0λi​=0, then WiW_iWi​ appears in no constraint, H∗∗H^{**}H∗∗ is unbounded and the goal is false. Finally, HHH uses only MMM points, not all M!M!M!, so the goal contains a Carathéodory-type bound for the hyperplane of (1).

Formalization scope

Classes are Fin M, numbered from 000. A priority order is π : Equiv.Perm (Fin M) with π r the class of rank r, rank 000 highest. "Vertex" is an element of Set.extremePoints ℝ. The points of (3) are prioVec (σ k) for an arbitrary σ : Fin M → Equiv.Perm (Fin M), so repetitions are allowed. The priority vectors are given by their closed form, not as solutions of a system. The goal assumes M≥1M\ge1M≥1; for M=0M=0M=0 the set HHH is empty.

The paper's notion "achievable by some scheduling strategy" is replaced by its analytical characterization H∗∗H^{**}H∗∗: the strategy class of the paper (Assumptions 1–3, p. 812) is described only in prose and the steady-state means are assumed to exist, so the queueing half of the proof (Theorem 1, Lemma 1 for arbitrary strategies, the conservation law itself) is not stated. The goal is not to be stated on an abstract set satisfying hypotheses that encode Lemma 1 and (1); that form is already proved and drops the content of milestone 4. The conservation law is an equality, never the inequality (4) at the full set.

A complete development needs finite-set sums, the extreme points of a polyhedron and a Carathéodory argument in an affine hyperplane; the inequalities of milestones 2 and 3 and the vertex-chain argument are reusable for any strictly supermodular set function. Proofs of any milestone, and alternative proofs of the goal through polymatroid theory, are welcome.

Selected references

  • E. G. Coffman, Jr. and I. Mitrani, A Characterization of Waiting Time Performance Realizable by Single-Server Queues, Operations Research 28(3, Part II), 810–821, 1980. https://doi.org/10.1287/opre.28.3.810
  • L. Kleinrock, A Conservation Law for a Wide Class of Queueing Disciplines, Naval Research Logistics Quarterly 12, 181–192, 1965. https://doi.org/10.1002/nav.3800120206
  • A. Federgruen and H. Groenevelt, Characterization and Optimization of Achievable Performance in General Queueing Systems, Operations Research 36(5), 733–741, 1988. https://doi.org/10.1287/opre.36.5.733
  • J. G. Shanthikumar and D. D. Yao, Multiclass Queueing Systems: Polymatroidal Structure and Optimal Scheduling Control, Operations Research 40(3-supplement-2), S293–S299, 1992. https://doi.org/10.1287/opre.40.3.S293
  • D. Bertsimas and J. Niño-Mora, Conservation Laws, Extended Polymatroids and Multiarmed Bandit Problems; A Polyhedral Approach to Indexable Systems, Mathematics of Operations Research 21(2), 257–306, 1996. https://doi.org/10.1287/moor.21.2.257
  • J. Gittins, K. Glazebrook and R. Weber, Multi-armed Bandit Allocation Indices, 2nd ed., Wiley, 2011. https://doi.org/10.1002/9780470980033
9 thms4 active usersReviewed
PreviousPage 4 of 44Next

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me