Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

1094 missions

Missions

981–1000 of 1094
OpenCompletedAll
CombinatoricsOperations ResearchTheoretical Computer Science·Captain: mikedeng1

Approximation Algorithms for Scheduling Unrelated Parallel Machines 3: On the 3-Dimensional Matching Instances, a Schedule within ρ < 3/2 of Optimal Has Makespan ≤ 2 Iff a Matching ExistsResearch Paper

Motivation

Minimum makespan scheduling on unrelated parallel machines, written R ∣∣ Cmax⁡R\,||\,C_{\max}R∣∣Cmax​, is one of the basic models of scheduling theory: nnn jobs must each be run on one of mmm machines, and the time a job takes depends arbitrarily on the machine. Lenstra, Shmoys and Tardos (CWI Report OS-R8714, 1987; journal version Math. Programming 46, 1990) gave a polynomial 2-approximation algorithm for this problem and, in the same paper, a matching limit from below: no polynomial algorithm can guarantee a factor smaller than 3/23/23/2 unless P=NPP = NPP=NP (their Corollary 2).

The two bounds have stood for more than three decades. Closing the gap between 3/23/23/2 and 222 for R ∣∣ Cmax⁡R\,||\,C_{\max}R∣∣Cmax​ is listed among the central open problems of approximation algorithms (Williamson and Shmoys, The Design of Approximation Algorithms, 2011, open problem on unrelated machines; Schuurman and Woeginger, Polynomial time approximation algorithms for machine scheduling: ten open problems, J. Scheduling 1999). The lower bound of 3/23/23/2 is the subject of this mission.

Timeline:

  • 1979: Graham, Lawler, Lenstra and Rinnooy Kan introduce the classification R ∣∣ Cmax⁡R\,||\,C_{\max}R∣∣Cmax​.
  • 1987/1990: Lenstra, Shmoys and Tardos prove NP-completeness of deciding makespan at most 3 (Theorem 4, giving the bound 4/34/34/3) and at most 2 (Theorem 5, giving 3/23/23/2), both by reduction from 3-dimensional matching.
  • Since then: the 3/23/23/2 hardness bound has not been improved for general R ∣∣ Cmax⁡R\,||\,C_{\max}R∣∣Cmax​; progress has concentrated on special cases such as the restricted-assignment problem.

Setting

3-dimensional matching. There are three disjoint sets A={a1,…,an}A = \{a_1,\dots,a_n\}A={a1​,…,an​}, B={b1,…,bn}B = \{b_1,\dots,b_n\}B={b1​,…,bn​}, C={c1,…,cn}C = \{c_1,\dots,c_n\}C={c1​,…,cn​} and a family F={T1,…,Tm}F = \{T_1,\dots,T_m\}F={T1​,…,Tm​} of triples, each with one element of AAA, one of BBB and one of CCC. A matching is a subfamily F′F'F′ with ∣F′∣=n|F'| = n∣F′∣=n whose union is A∪B∪CA \cup B \cup CA∪B∪C. In Lean an instance is a map T:Fin m→Fin n×Fin n×Fin nT : \mathrm{Fin}\,m \to \mathrm{Fin}\,n \times \mathrm{Fin}\,n \times \mathrm{Fin}\,nT:Finm→Finn×Finn×Finn, and HasMatching T says that a matching exists.

The scheduling model. Machines are Fin m\mathrm{Fin}\,mFinm, jobs are Fin N\mathrm{Fin}\,NFinN, and pijp_{ij}pij​ is the positive integer processing time of job jjj on machine iii. A schedule σ\sigmaσ assigns each job to one machine; the load of machine iii is ∑j:σ(j)=ipij\sum_{j:\sigma(j)=i} p_{ij}∑j:σ(j)=i​pij​ and the makespan Cmax⁡(σ)C_{\max}(\sigma)Cmax​(σ) is the largest load. These are the published definitions MatousekLP.Scheduling.load and makespan.

The instance of Theorem 5. The triples containing aja_jaj​ are the triples of type jjj; let tjt_jtj​ be their number. From TTT the paper builds a scheduling instance with mmm machines, machine iii corresponding to TiT_iTi​, and with

  1. 2n2n2n element jobs, one for each bkb_kbk​ and each clc_lcl​;
  2. tj−1t_j - 1tj​−1 dummy jobs of type jjj, for each jjj.

If Ti=(aj,bk,cl)T_i = (a_j, b_k, c_l)Ti​=(aj​,bk​,cl​), machine iii processes the element jobs of bkb_kbk​ and clc_lcl​ in time 111, each dummy job of type jjj in time 222, and every other job in time 333. In Lean the processing-time matrix is P T.

A ρ\rhoρ-approximate schedule of an instance is a schedule σ\sigmaσ with Cmax⁡(σ)≤ρ Cmax⁡(τ)C_{\max}(\sigma) \le \rho\, C_{\max}(\tau)Cmax​(σ)≤ρCmax​(τ) for every schedule τ\tauτ of the same instance.

Formalization targets

Goal: Corollary 2 (p. 8)

For every instance TTT, every ρ<3/2\rho < 3/2ρ<3/2, and every ρ\rhoρ-approximate schedule σ\sigmaσ of the instance of Theorem 5 built from TTT,

Cmax⁡(σ)≤2  ⟺  T has a matching.C_{\max}(\sigma) \le 2 \iff T \text{ has a matching}.Cmax​(σ)≤2⟺T has a matching.

This is the mathematical content of "for every ρ<3/2\rho < 3/2ρ<3/2 there is no polynomial ρ\rhoρ-approximation algorithm unless P=NPP = NPP=NP": a ρ\rhoρ-approximate answer on the reduced instance decides 3-dimensional matching.

Theorem 5 (p. 7)

For every instance TTT,

∃ σ: Cmax⁡(σ)≤2  ⟺  T has a matching.\exists\,\sigma:\ C_{\max}(\sigma) \le 2 \iff T \text{ has a matching}.∃σ: Cmax​(σ)≤2⟺T has a matching.

Milestones from the proof of Theorem 5 (pp. 7–8)

  1. If every tj≥1t_j \ge 1tj​≥1, then ∑j(tj−1)+n=m\sum_j (t_j - 1) + n = m∑j​(tj​−1)+n=m: there are m−nm - nm−n dummy jobs.
  2. A matching yields a schedule with makespan at most 222.
  3. A schedule with makespan at most 222 yields a matching.

Significance

The result. Theorem 5 shows that R ∣∣ Cmax⁡R\,||\,C_{\max}R∣∣Cmax​ is NP-hard already when every processing time lies in {1,2,3}\{1,2,3\}{1,2,3} and the target makespan is 222. Corollary 2 turns this into the best known inapproximability bound for the problem, 3/23/23/2, which sits opposite the paper's own factor-2 algorithm. The same reduction pattern (machines as triples, dummy jobs that pin machines down) is reused in many later hardness proofs for scheduling and assignment problems.

Formalizing it. The result is proved on paper; no machine-checked version is known to exist. A formal proof requires the full combinatorial argument behind the reduction, including the counting of machines per type and the case where some element of AAA lies in no triple, which the paper does not discuss. Together with mission 1 of this series (the factor-2 algorithm), it fixes both ends of the [3/2,2][3/2, 2][3/2,2] gap in one formal library.

Difficulty

The construction is short, but the converse direction carries the weight: from an arbitrary schedule with makespan at most 222 one must recover a matching, although nothing in the schedule singles out the triples that form it. The obvious first idea, to read the matching off the machines that receive unit-time jobs, fails as it stands: a machine may receive one unit-time job or none, and the argument must exclude this for every schedule, including the degenerate instances in which some aja_jaj​ lies in no triple or triples repeat. For Corollary 2, the passage from the real-valued approximation guarantee to the threshold 222 depends on the strict inequality ρ<3/2\rho < 3/2ρ<3/2; at ρ=3/2\rho = 3/2ρ=3/2 the statement is no longer implied by Theorem 5.

Formalization scope

  • Machines are Fin m; 3DM elements are Fin n; a 3DM instance is T : Fin m → Fin n × Fin n × Fin n, so a triple may repeat. A matching is a set of nnn triple indices covering every aja_jaj​, bkb_kbk​, clc_lcl​ (the covering form of the paper's definition, which forces disjointness).
  • The jobs of the reduced instance are the sum type Fin n⊕Fin n⊕Σj Fin(tj−1)\mathrm{Fin}\,n \oplus \mathrm{Fin}\,n \oplus \Sigma_j\,\mathrm{Fin}(t_j - 1)Finn⊕Finn⊕Σj​Fin(tj​−1). They are enumerated by a fixed bijection with Fin N\mathrm{Fin}\,NFinN so that the published MatousekLP.Scheduling.makespan applies. All statements quantify over every schedule, so the choice of bijection is irrelevant.
  • tj−1t_j - 1tj​−1 is natural-number subtraction. When some tj=0t_j = 0tj​=0 (a case the paper leaves aside), type jjj has no dummy job; the reduced instance then has neither a matching nor a schedule of makespan at most 222, so Theorem 5 and Corollary 2 hold as stated, with no hypothesis tj≥1t_j \ge 1tj​≥1. Only the dummy-count milestone assumes tj≥1t_j \ge 1tj​≥1.
  • Processing times are natural numbers cast to R\mathbb RR; makespans are real.
  • Not formalized: "polynomial" (running time of an algorithm and of the reduction), membership in NP, "NP-complete" and "unless P=NPP = NPP=NP". Theorem 5 is stated as the reduction's equivalence; Corollary 2 is stated as the fact that any ρ\rhoρ-approximate schedule of the reduced instance, ρ<3/2\rho < 3/2ρ<3/2, decides 3-dimensional matching. The reduction is evidently polynomial, but this is not stated.
  • The approximation hypothesis compares σ\sigmaσ with every schedule τ\tauτ of the same reduced instance; a goal in which σ\sigmaσ is an arbitrary schedule, or is bounded against an unrelated quantity, would be a different statement. The strict inequality ρ<3/2\rho < 3/2ρ<3/2 is essential and kept.
  • Contributions welcome: proofs of the three milestones, of Theorem 5 from them, and of Corollary 2; reusable lemmas about integer-valued makespans and about sum-type job sets.

Selected references

  • J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, CWI Report OS-R8714, Centre for Mathematics and Computer Science, Amsterdam, 1987 (FOCS 1987); the version cited for every theorem number in this mission.
  • J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, Mathematical Programming 46 (1990) 259–271. https://doi.org/10.1007/BF01585745
  • R. L. Graham, E. L. Lawler, J. K. Lenstra, A. H. G. Rinnooy Kan, Optimization and approximation in deterministic sequencing and scheduling: a survey, Annals of Discrete Mathematics 5 (1979) 287–326. https://doi.org/10.1016/S0167-5060(08)70356-X
  • M. R. Garey, D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, Freeman, 1979 (3-dimensional matching, problem [SP1]).
  • P. Schuurman, G. J. Woeginger, Polynomial time approximation algorithms for machine scheduling: ten open problems, Journal of Scheduling 2 (1999) 203–213. https://doi.org/10.1002/(SICI)1099-1425(199909/10)2:5<203::AID-JOS26>3.0.CO;2-5
  • D. P. Williamson, D. B. Shmoys, The Design of Approximation Algorithms, Cambridge University Press, 2011. https://doi.org/10.1017/CBO9780511921735
8 thms1 active userReviewed
CombinatoricsDynamic ProgrammingGraph Theory+1·Captain: mikedeng1

The Complexity of Markov Decision Processes IV: In a Deterministic Process a Cheapest T-Arc Walk Is a Walk of Fewer Than n³ Arcs Plus One Repeated CycleResearch Paper

Motivation

Finite-horizon Markov decision processes ask which decisions minimize accumulated cost over a specified number of stages. In a stationary process, the same costs and transitions apply at every stage. This compact input can describe a horizon TTT much larger than the state set, so a method that processes all TTT stages one by one may take time exponential in the length of the written horizon. Papadimitriou and Tsitsiklis identified this issue while comparing sequential and parallel algorithms for decision processes. For the deterministic stationary case, their Theorem 5 states an NC classification, supported by a finite structural description of a cheapest long walk. Papadimitriou and Tsitsiklis (1987)

The structural description is the subject of this mission. It connects a policy optimization problem to bounded-length graph objects and an exact cost identity. This is useful independently of a particular model of parallel computation: it says which shorter walk and cycle costs determine the answer even when the horizon is very large. Papadimitriou and Tsitsiklis (1987), p. 447

Setting

Let SSS be a finite nonempty set of states, with n=∣S∣n=|S|n=∣S∣, and fix an initial state s0s_0s0​. At each state sss, a finite nonempty set DsD_sDs​ contains the available decisions. A decision d∈Dsd\in D_sd∈Ds​ has a certain successor state next⁡(s,d)\operatorname{next}(s,d)next(s,d) and a real cost c(s,d)c(s,d)c(s,d). The model is stationary: these data do not depend on time. The corresponding directed graph has one arc for each decision. It may have loops and parallel arcs, because distinct decisions can share endpoints. This is the deterministic graph translation made in §3 of the paper. Papadimitriou and Tsitsiklis (1987), pp. 444–445

A policy is a function δ(s,t)∈Ds\delta(s,t)\in D_sδ(s,t)∈Ds​ of both state and time. Starting at s0s_0s0​, it produces st+1=next⁡(st,δ(st,t))s_{t+1}=\operatorname{next}(s_t,\delta(s_t,t))st+1​=next(st​,δ(st​,t)). In the convention of the paragraph before Theorem 5, horizon TTT means TTT decisions and therefore a walk with TTT arcs. Its cost is

JT(s0,δ)=∑t=0T−1c(st,δ(st,t)),JT∗(s0)=inf⁡δJT(s0,δ).J_T(s_0,\delta)=\sum_{t=0}^{T-1}c(s_t,\delta(s_t,t)),\qquad J_T^*(s_0)=\inf_\delta J_T(s_0,\delta).JT​(s0​,δ)=t=0∑T−1​c(st​,δ(st​,t)),JT∗​(s0​)=δinf​JT​(s0​,δ).

A walk records the states and the decision arc used at each step; states may repeat. A simple path has no repeated state. A simple cycle has positive length, returns to its starting state, and has no other repeated state. A closed walk may repeat states internally and need not be a simple cycle. The distinction matters because the structural claim uses a simple cycle, whereas the computation in the target identity uses a cheapest closed walk of a chosen length.

Formalization targets

The first milestone identifies JT∗(s0)J_T^*(s_0)JT∗​(s0​) with the minimum cost of a TTT-arc walk from s0s_0s0​. The next milestones record a decomposition into a simple path and simple cycles, the restriction on cycles repeated more than nnn times, and the existence of a cheapest walk with a short prefix and one repeated simple cycle. These are claims in the paragraph preceding Theorem 5, with corrections to the printed exchange and its connectivity justification documented in the formal statements. Papadimitriou and Tsitsiklis (1987), p. 447

For l≤Tl\le Tl≤T and u∈Su\in Su∈S, let wl,uw_{l,u}wl,u​ be the cheapest lll-arc walk from s0s_0s0​ that visits uuu. Let rk,ur_{k,u}rk,u​ be the cheapest closed kkk-arc walk at uuu. Only choices for which these walks exist are included. The mission's goal is

JT∗(s0)=min⁡l≤T, l<n3, u∈S,1≤k≤n, k∣T−l(wl,u+T−lk rk,u),T>n2.J_T^*(s_0)=\min_{\substack{l\le T,\ l<n^3,\ u\in S,\\1\le k\le n,\ k\mid T-l}}\left(w_{l,u}+\frac{T-l}{k}\,r_{k,u}\right),\qquad T>n^2.JT∗​(s0​)=l≤T, l<n3, u∈S,1≤k≤n, k∣T−l​min​(wl,u​+kT−l​rk,u​),T>n2.

The l<n3l<n^3l<n3 bound is the paper's finite compression claim. The divisibility condition makes (T−l)/k(T-l)/k(T−l)/k an integer number of cycle copies. The goal states an exact value, with the inner minima taken over genuine walks and the outer optimum still taken over all policies. Papadimitriou and Tsitsiklis (1987), p. 447

Significance

The identity replaces an optimization over arbitrarily many time-dependent policy decisions with costs of walks having fewer than n3n^3n3 arcs and closed walks of at most nnn arcs. It gives the mathematical statement that must hold before the paper's proposed parallel calculation can be trusted. It also applies when several different decisions have the same endpoints, because each decision remains a separate weighted arc. Papadimitriou and Tsitsiklis (1987), pp. 445, 447

The paper proves the result informally and states the NC classification. The mission seeks machine-checked proofs of the graph and cost statements, including the printed argument's delicate boundary cases. The local proposal contains open Lean theorem statements, not proofs. Reusable outcomes include a decision-walk representation, a cycle decomposition that preserves the multiset of arcs, and finite-horizon policy-to-walk equivalence. A related published result, TropicalLA.exists_repeat, detects repetition for dense max-plus matrices; it does not state this weighted multigraph decomposition or the min-cost identity.

Difficulty

The obstacle is preserving both walk feasibility and the exact number of arcs when repeated cycles are rearranged. A cycle may be the only connection to other parts of a walk, so deleting its last copy can invalidate the remaining sequence. The printed exchange paragraph also reverses the cost-improving direction and appeals to a no-ties perturbation without carrying it through the bounded-prefix conclusion. Those issues affect the claimed n3n^3n3 bound; merely knowing that a long walk repeats a vertex does not establish the target identity. Papadimitriou and Tsitsiklis (1987), p. 447

Formalization scope

Lean represents SSS and each DsD_sDs​ as finite types and uses real costs. The decision sets are nonempty, making policies and arbitrarily long walks available. Policies depend on state and time, as in §2. A walk stores its decisions as well as its states, so loops and parallel arcs are represented. Cycle decompositions preserve endpoints, length, cost, and the multiset of decision arcs. A loop is a simple cycle of length one. Time starts at zero, and an lll-arc walk has states at indices 0,…,l0,\ldots,l0,…,l.

The paper's general finite-horizon definition sums costs from 000 through TTT, while the Theorem 5 paragraph explicitly asks for a TTT-arc walk. This mission follows the latter convention: decisions occur at 0,…,T−10,\ldots,T-10,…,T−1. The goal also imposes l≤Tl\le Tl≤T, which the printed loop leaves implicit, and uses a closed walk for rk,ur_{k,u}rk,u​ because that is what the length-kkk graph calculation computes. It does not assume distinct walk costs. The condition T>n2T>n^2T>n2 is retained from the paper even though related identities may hold in other ranges. Papadimitriou and Tsitsiklis (1987), pp. 444, 447

Theorem 5's NC membership, processor and parallel-time bounds, the membership-in-P discussion, log-space reductions, PSPACE membership, and Corollaries 1–2 are outside this mission. Mathlib does not supply the PRAM and complexity-class framework those claims require. The target is the exact cost identity behind the algorithm. Defining the optimum directly as the right-hand minimum, restricting policies to stationary policies, or allowing an empty policy class would trivialize or change it. Contributions proving the milestones, the goal, or reusable walk and cycle facts are welcome.

Selected references

  • Christos H. Papadimitriou and John N. Tsitsiklis, The Complexity of Markov Decision Processes, Mathematics of Operations Research 12(3), 441–450, 1987. DOI: 10.1287/moor.12.3.441
6 thms1 active userReviewed
Dynamic ProgrammingGraph TheoryOperations Research+1·Captain: mikedeng1

The Complexity of Markov Decision Processes III: The Optimal Discounted Cost of a Deterministic Process Is the Least Discounted Cost of a SigmaResearch Paper

Motivation

A Markov decision process with finitely many states and decisions, a discount factor β∈(0,1)\beta\in(0,1)β∈(0,1) and the objective of minimizing expected discounted cost is the basic model of sequential decision making in operations research and reinforcement learning. It is solvable in polynomial time by linear programming. Papadimitriou and Tsitsiklis (Math. Oper. Res. 12(3), 1987) asked the finer question of whether it can be solved fast in parallel, and showed a sharp split: the general (stochastic) problem is P-complete (their Theorem 1), so it is unlikely to admit a polylogarithmic parallel algorithm, while the deterministic special case, where every transition probability is 0 or 1, is in NC (their Theorem 4).

The deterministic case is a shortest-path problem with a twist. Every policy traces a walk in a graph, and the cost of the walk counts its ttt-th arc with weight βt\beta^tβt. The paper's argument identifies the optimal discounted cost with the cost of a finite combinatorial object, a sigma, and computes it from discounted min-plus matrix products. This mission formalizes that identity.

Setting

A deterministic stationary Markov decision process consists of a finite set SSS of nnn states, an initial state s0∈Ss_0\in Ss0​∈S, and for each state sss a finite nonempty set DsD_sDs​ of decisions. Decision i∈Dsi\in D_si∈Ds​ costs c(s,i)∈Rc(s,i)\in\mathbb Rc(s,i)∈R and leads with certainty to the state next(s,i)\mathrm{next}(s,i)next(s,i). Equivalently, it is a directed graph on SSS with an arc s→next(s,i)s\to\mathrm{next}(s,i)s→next(s,i) of weight c(s,i)c(s,i)c(s,i) for each decision; parallel arcs and loops are allowed.

A policy δ\deltaδ chooses a decision δ(s,t)∈Ds\delta(s,t)\in D_sδ(s,t)∈Ds​ for every state sss and time t=0,1,2,…t=0,1,2,\dotst=0,1,2,…; it is stationary if δ(s,t)\delta(s,t)δ(s,t) does not depend on ttt. From s0s_0s0​ it produces the states st+1=next(st,δ(st,t))s_{t+1}=\mathrm{next}(s_t,\delta(s_t,t))st+1​=next(st​,δ(st​,t)) and the discounted cost

Jβ(δ)=∑t=0∞βtc(st,δ(st,t)).J_\beta(\delta)=\sum_{t=0}^{\infty}\beta^t c\bigl(s_t,\delta(s_t,t)\bigr).Jβ​(δ)=t=0∑∞​βtc(st​,δ(st​,t)).

The optimal discounted cost is Jβ∗(s0)=inf⁡δJβ(δ)J^*_\beta(s_0)=\inf_\delta J_\beta(\delta)Jβ∗​(s0​)=infδ​Jβ​(δ), the infimum over all policies δ(s,t)\delta(s,t)δ(s,t).

A sigma is a walk w0=s0,w1,…,wNw_0=s_0,w_1,\dots,w_Nw0​=s0​,w1​,…,wN​ along decisions et∈Dwte_t\in D_{w_t}et​∈Dwt​​ whose nodes w0,…,wN−1w_0,\dots,w_{N-1}w0​,…,wN−1​ are distinct and whose last node repeats an earlier one, wN=wjw_N=w_jwN​=wj​ with j<Nj<Nj<N: the walk from s0s_0s0​ up to the first repetition of a node. It is a prefix of jjj arcs followed by a cycle of l=N−j≥1l=N-j\ge1l=N−j≥1 arcs. Its discounted cost cβ(P)c_\beta(P)cβ​(P) is the discounted cost of the infinite walk that follows it and repeats its cycle forever.

In the min-plus semiring (addition is min⁡\minmin, multiplication is +++, zero is +∞+\infty+∞), let AuvA_{uv}Auv​ be the least cost of a decision from uuu to vvv (+∞+\infty+∞ if none), let rArArA multiply every finite entry by rrr, and let

B0=I,Bk=A⊗βA⊗⋯⊗βk−1A,B_0=I,\qquad B_k=A\otimes\beta A\otimes\cdots\otimes\beta^{k-1}A ,B0​=I,Bk​=A⊗βA⊗⋯⊗βk−1A,

with III the min-plus identity. The entry (Bk)uv(B_k)_{uv}(Bk​)uv​ is the least discounted cost ∑t<kβtct\sum_{t<k}\beta^t c_t∑t<k​βtct​ of a kkk-arc walk from uuu to vvv.

Formalization targets

Goal

For 0<β<10<\beta<10<β<1,

Jβ∗(s0)=min⁡P sigmacβ(P)=min⁡{(Bk)s0u+βk(Bl)uu1−βl  :  u∈S, 0≤k≤n, 1≤l≤n, both entries finite},J^*_\beta(s_0)=\min_{P\text{ sigma}}c_\beta(P)=\min\Bigl\{(B_k)_{s_0u}+\frac{\beta^{k}(B_l)_{uu}}{1-\beta^{l}}\;:\;u\in S,\ 0\le k\le n,\ 1\le l\le n,\ \text{both entries finite}\Bigr\},Jβ∗​(s0​)=P sigmamin​cβ​(P)=min{(Bk​)s0​u​+1−βlβk(Bl​)uu​​:u∈S, 0≤k≤n, 1≤l≤n, both entries finite},

with both minima attained. This is the claim on pp. 446–447 on which Theorem 4 rests. The algebraic expression is the corrected form of the paper's (see Formalization scope).

Milestones

  1. The closed form of the cost of a sigma (p. 446): cβ(P)=∑t<jβtct+βj1−βl∑t<lβtcj+tc_\beta(P)=\sum_{t<j}\beta^tc_t+\frac{\beta^j}{1-\beta^l}\sum_{t<l}\beta^tc_{j+t}cβ​(P)=∑t<j​βtct​+1−βlβj​∑t<l​βtcj+t​.
  2. A stationary optimal policy exists (§2, p. 444; cited on p. 446). The general finite stochastic statement is on the platform as BertsekasDP.discounted_main_theorem (Proved), and the deterministic case is stated in this mission's model.
  3. The path of a stationary policy, cut at its first repeated node, is a sigma with the same discounted cost, and every sigma arises this way (p. 446).
  4. The products BjB_jBj​ are the cheapest discounted jjj-arc walks (p. 447).

Significance

The identity reduces an optimization over infinite objects, the time-dependent policies, to a minimum over finitely many closed-form expressions in matrix entries. Each BkB_kBk​ is a product of kkk min-plus matrices, and matrix products parallelize well; that is the source of the NC algorithm. The same reduction, with the discounting removed, underlies the minimum-mean-cycle characterization of the average-cost problem (mission II of this series), and the sigma structure reappears in the stationary finite-horizon analysis (mission IV).

On the formalization side, the result has been proved in the paper only as a short paragraph, which cites the existence of stationary optimal policies and leaves the algebra to the reader. Its printed formulas contain index slips (below). A machine-checked version fixes the exact constants. To our knowledge none of these statements has a formal proof. The existence of stationary optimal policies for finite discounted problems is formalized on the platform in Bertsekas's general stochastic setting.

Difficulty

The obvious argument says: an optimal policy may be taken stationary, a stationary deterministic policy produces an eventually periodic path, and an eventually periodic path is a sigma. The first step is the substantial one: the optimum is an infimum over all time-dependent policies δ(s,t)\delta(s,t)δ(s,t), and a non-stationary policy can follow any walk at all, so this step is a statement about the whole dynamic program, not a combinatorial fact about a single walk. The second part of the goal adds a matching argument in the other direction: the expression ranges over arbitrary kkk-arc walks and closed lll-walks, which need not be simple, so one must check that none of them beats the best sigma, and that the best sigma has k≤nk\le nk≤n and l≤nl\le nl≤n. Finally, the discount factors must be tracked exactly; the printed formulas are off by one power of β\betaβ in two places.

Formalization scope

The Lean development lives in the namespace MDPComplexity.Discounted, with one definition file and five theorems. Conventions committed to:

  • The model is stationary and deterministic. A DetMDP S has a finite state type, a nonempty finite decision type at each state (the paper says "a finite set DsD_sDs​"; nonemptiness is implicit since a policy must choose a decision), a successor map and real costs.
  • Policies are maps δ(s,t)\delta(s,t)δ(s,t), time is N\mathbb NN from 000, and the optimum optDisc is the infimum over all such policies. Defining it over stationary policies or over sigmas would make the goal true by definition. That shortcut is ruled out, and the stationarity step is part of the content.
  • Costs are tsums, which are junk (000) for non-summable series; every statement that sums costs assumes 0<β<10<\beta<10<β<1, under which the series converge absolutely.
  • A sigma is encoded as a lasso, wN=wjw_N=w_jwN​=wj​ with j<Nj<Nj<N. This includes j=0j=0j=0, a sigma whose cycle passes through s0s_0s0​, which the printed form (u0,…,uk,v1,…,vl,v1)(u_0,\dots,u_k,v_1,\dots,v_l,v_1)(u0​,…,uk​,v1​,…,vl​,v1​) omits but the definition "a path from u0u_0u0​ until the first repetition of a node" includes. The paper's kkk is j−1j-1j−1.
  • Corrected slips: (i) in the sigma display the cycle sum carries βj−1\beta^{j-1}βj−1, not βj\beta^jβj, for its jjj-th arc, and the indices are made consistent; (ii) the algorithm's expression is λ+βkμ/(1−βl)\lambda+\beta^k\mu/(1-\beta^l)λ+βkμ/(1−βl) with l≥1l\ge1l≥1, not λ+βk+1μ/(1+βl)\lambda+\beta^{k+1}\mu/(1+\beta^l)λ+βk+1μ/(1+βl) (one state with a loop of cost 111 has optimum 1/(1−β)1/(1-\beta)1/(1−β), which the printed form misses); (iii) B0B_0B0​, used but not defined, is the min-plus identity.
  • Matrix entries are in Tropical (WithTop ℝ), so +∞+\infty+∞ is ⊤ and the product is Mathlib's matrix product over the tropical semiring.

Not formalized: membership in NC, the processor count n4n^4n4, the log⁡2n+3log⁡n\log^2 n+3\log nlog2n+3logn parallel time, and the P-completeness of the general problem. Mathlib has no parallel complexity classes. Only the identity that makes the algorithm correct is a target.

Contributions welcome: proofs of any milestone. A bridge from DetMDP to BertsekasSSPModel (taking decisions as controls and 0/1 transition rows) would let milestone 2 be derived from the platform's proved Proposition 7.3.1. A direct proof of the deterministic case is also welcome. The lasso and walk lemmas are reusable for the other missions of the series.

Selected references

  • C. H. Papadimitriou and J. N. Tsitsiklis, The Complexity of Markov Decision Processes, Mathematics of Operations Research 12(3), 441–450, 1987. https://doi.org/10.1287/moor.12.3.441
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 3rd ed., Athena Scientific, 2005, §7.3 (discounted problems, Proposition 7.3.1).
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994, Ch. 6 (existence of stationary optimal policies for discounted models). https://doi.org/10.1002/9780470316887
7 thms3 active usersReviewed
Complexity TheoryDynamic ProgrammingOperations Research+1·Captain: mikedeng1

The Complexity of Markov Decision Processes I: A Boolean Circuit Is True Iff Its Finite-Horizon Markov Decision Process Has Optimal Expected Cost ZeroResearch Paper

Motivation

Markov decision processes are the standard model of sequential decision making under uncertainty in operations research, control and artificial intelligence. Their finite-horizon, discounted and average-cost versions are all solvable in polynomial time, by dynamic programming or linear programming. Papadimitriou and Tsitsiklis (The Complexity of Markov Decision Processes, Math. Oper. Res. 12(3), 1987) asked the next question: can these problems be solved fast in parallel, in polylogarithmic time on polynomially many processors (the class NC)? Their Theorem 1 answers no, unless every polynomial-time problem parallelizes: all three versions are P-complete. The proof is a short reduction from the circuit value problem (CVP), the canonical P-complete problem (Ladner, 1975). This mission formalizes the mathematical heart of that reduction: the constructed process has optimal expected cost zero exactly when the circuit evaluates to true.

The result is the first of a series of five missions on the same paper; the others treat the deterministic special cases (which are in NC) and the partially observed case (which is PSPACE-hard).

Setting

A circuit is a finite sequence of triples C=((ai,bi,ci), i=1,…,k)C=((a_i,b_i,c_i),\ i=1,\dots,k)C=((ai​,bi​,ci​), i=1,…,k) with k≥1k\ge1k≥1. Each aia_iai​ is one of the operations false, true, and, or. A triple with ai∈{false,true}a_i\in\{\text{false},\text{true}\}ai​∈{false,true} is an input; a triple with ai∈{and,or}a_i\in\{\text{and},\text{or}\}ai​∈{and,or} is a gate, and a gate reads two earlier triples, 1≤bi,ci<i1\le b_i,c_i<i1≤bi​,ci​<i. The value of an input is its constant; the value of a gate is the Boolean operation aia_iai​ applied to the values of triples bib_ibi​ and cic_ici​. The value of CCC is the value of triple kkk.

A finite Markov decision process has a finite state set SSS, an initial state s0s_0s0​, and at each state sss a nonempty finite set DsD_sDs​ of decisions. Taking decision iii at state sss at time ttt costs c(s,i,t)c(s,i,t)c(s,i,t) and moves to s′s's′ with probability p(s,s′,i,t)p(s,s',i,t)p(s,s′,i,t). A policy δ\deltaδ chooses a decision δ(s,t)∈Ds\delta(s,t)\in D_sδ(s,t)∈Ds​ for every state and time. For a horizon TTT the expected cost of δ\deltaδ is

JT(δ)=Eδ[∑t=0Tc(st,δ(st,t),t)],J_T(\delta)=\mathbb E_\delta\Bigl[\sum_{t=0}^{T}c\bigl(s_t,\delta(s_t,t),t\bigr)\Bigr],JT​(δ)=Eδ​[t=0∑T​c(st​,δ(st​,t),t)],

and the optimal expected cost is JT∗=inf⁡δJT(δ)J_T^\ast=\inf_\delta J_T(\delta)JT∗​=infδ​JT​(δ) over all policies.

From a circuit CCC the proof of Theorem 1 builds a stationary process MCM_CMC​: one state per triple plus an absorbing state qqq. An input state has one decision, moving to qqq, at cost 111 if the input is false and 000 if it is true. An or gate has two free decisions, 000 moving to bib_ibi​ and 111 moving to cic_ici​. An and gate has one decision, moving to bib_ibi​ or cic_ici​ with probability 1/21/21/2 each. All other costs are zero. The initial state is triple kkk and the horizon is T=kT=kT=k.

In the Lean development these are MDPComplexity.CircuitValue.MDP (with Policy, trajProb, expCost, optCost), Circuit (with val, value, lastIdx) and Circuit.toMDP.

Formalization targets

Goal: correctness of the reduction

Jk∗(MC)≤0⟺the value of C is true,J_k^\ast(M_C)\le 0\quad\Longleftrightarrow\quad \text{the value of } C \text{ is true},Jk∗​(MC​)≤0⟺the value of C is true,

for every circuit CCC with k≥1k\ge1k≥1 triples (theorem1_reduction). This is the claim "the optimum expected cost is 0 or less iff the value of CCC was true" on p. 445.

Milestones

  1. Every policy has Jk(δ)≥0J_k(\delta)\ge0Jk​(δ)≥0 ("it cannot be less").
  2. For any finite process with nonnegative costs, JT(δ)=0J_T(\delta)=0JT​(δ)=0 iff no positive cost is incurred on any trajectory of positive probability ("the states with positive costs are impossible to reach").
  3. If some policy has Jk(δ)=0J_k(\delta)=0Jk​(δ)=0, then CCC is true.
  4. If CCC is true, some policy has Jk(δ)=0J_k(\delta)=0Jk​(δ)=0.

Further statement

The discounted analogue, which the paper asserts in one sentence: for β∈(0,1)\beta\in(0,1)β∈(0,1), the optimal expected discounted cost inf⁡δ∑t≥0βt Eδ[c(st,δ(st,t))]\inf_\delta\sum_{t\ge0}\beta^t\,\mathbb E_\delta[c(s_t,\delta(s_t,t))]infδ​∑t≥0​βtEδ​[c(st​,δ(st​,t))] of MCM_CMC​ is at most 000 iff CCC is true (discounted_reduction).

Significance

Combined with the log-space computability of MCM_CMC​ from CCC, the goal shows that the finite-horizon Markov decision problem is P-hard, hence not in NC unless P = NC. This is the reason dynamic programming for general Markov decision processes is believed to be inherently sequential, and it frames the contrast drawn in the rest of the paper: deterministic processes are in NC, and partially observed ones are PSPACE-hard. The construction is also stationary, so it shows that even the stationary finite-horizon problem is P-hard, as the paper remarks.

The theorem is proved in the paper, in one paragraph; it is not open. To our knowledge no machine-checked proof of it exists. Formalizing it produces a precise statement of what the reduction proves, a reusable finite-trajectory model of finite-horizon Markov decision processes with time-dependent policies, and a reusable encoding of Boolean circuits and their value.

Difficulty

The informal argument is short, but two points need care. First, the optimum ranges over all time-dependent policies, which form an infinite type; the infimum is attained only because the expected cost depends on finitely many decisions, and this must be established rather than assumed. Second, the passage from "the expected cost is zero" to "the circuit is true" turns a statement about trajectory probabilities into a statement about the recursive value of the circuit, and the and gates (where both successors are reached with positive probability) behave differently from the or gates (where only the chosen successor is reached). Reasoning only along a single path, as for a deterministic process, does not suffice at and gates.

Formalization scope

Theorem 1 is a complexity statement: "The Markov Decision Process problem is P-complete in all three cases." Membership in P, the log-space computability of the construction, the notion of P-completeness, and the average-cost case are not part of this mission; Mathlib has no log-space reductions or class P. The mission states the correctness of the reduction, for the exact process of the proof.

Conventions committed to:

  • Triples are indexed by Fin k (paper index iii is Lean index i−1i-1i−1); k≥1k\ge1k≥1 via [NeZero k]. The fields bi,cib_i,c_ibi​,ci​ of an input are unused (the paper sets them to 000, not a triple index). Triple kkk need not be a gate.
  • States of MCM_CMC​ are Option (Fin k), with none the state qqq; decisions are Fin 2 at or gates and Fin 1 elsewhere.
  • The and-gate row is 121[s′=bi]+121[s′=ci]\tfrac12\mathbf 1[s'=b_i]+\tfrac12\mathbf 1[s'=c_i]21​1[s′=bi​]+21​1[s′=ci​], so that bi=cib_i=c_ibi​=ci​ (allowed by the paper) gives a probability vector.
  • Rows of the transition kernel are probability vectors and every DsD_sDs​ is nonempty (implicit in the paper, explicit here).
  • The expected cost is a finite sum over trajectories, with the §2 horizon convention ∑t=0T\sum_{t=0}^{T}∑t=0T​ and T=kT=kT=k. The optimum is a real infimum over all policies δ(s,t)\delta(s,t)δ(s,t), not over stationary ones.
  • The discounted cost is ∑tβt\sum_t\beta^t∑t​βt times the expected time-ttt cost, which equals the expectation of the discounted series for bounded nonnegative costs.

A formalization that defines the optimal cost directly as "the cost of the best choice at the or gates", or optimizes only over stationary policies, would make the goal a restatement of the circuit's value; the mission's optimum is over all time-dependent policies of the general model.

Contributions welcome: proofs of the milestones and the goal; lemmas on the trajectory model (marginalization of trajProb, attainment of the infimum for policies that matter only up to time TTT) that are reusable for any finite-horizon process.

Selected references

  • C. H. Papadimitriou and J. N. Tsitsiklis, The Complexity of Markov Decision Processes, Mathematics of Operations Research 12(3) (1987) 441–450. https://doi.org/10.1287/moor.12.3.441
  • R. E. Ladner, The Circuit Value Problem is Log Space Complete for P, SIGACT News 7(1) (1975) 18–20. https://doi.org/10.1145/990518.990519
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
8 thms1 active userReviewed
Dynamic ProgrammingGraph TheoryOperations Research+1·Captain: mikedeng1

The Complexity of Markov Decision Processes II: The Optimal Average Cost of a Deterministic Process Is the Least Mean Cost of a Cycle Reachable from the Initial StateResearch Paper

Motivation

A Markov decision process describes repeated choices whose costs and subsequent states depend on the current state. Such models are used when a decision affects both today's expense and the options available tomorrow. Papadimitriou and Tsitsiklis studied how the computational difficulty of finding an optimal policy changes between stochastic and deterministic transitions. Their general finite-state problems are P-complete, while their deterministic cases admit highly parallel algorithms Papadimitriou and Tsitsiklis, 1987. The contrast makes the deterministic case a useful setting in which to isolate the precise graph problem hidden inside long-run optimization.

This mission concerns their infinite-horizon average-cost case. When transitions are certain, every decision is an arc in a directed graph. The long-run cost of a policy can be related to the mean cost of a cycle reachable from the initial state. That relation is the mathematical claim supporting the algorithm in the paper's Theorem 3, whose headline says that the deterministic average-cost problem is in NC Papadimitriou and Tsitsiklis, p. 446.

Setting

Let SSS be a finite set of states and s0∈Ss_0\in Ss0​∈S the initial state. At each s∈Ss\in Ss∈S there is a finite, nonempty decision set DsD_sDs​. A decision d∈Dsd\in D_sd∈Ds​ has a real cost c(s,d)c(s,d)c(s,d) and moves the process with certainty to next⁡(s,d)∈S\operatorname{next}(s,d)\in Snext(s,d)∈S. All of these data are stationary: they do not change with time. A policy δ(s,t)\delta(s,t)δ(s,t) chooses a decision for each state and each time t=0,1,2,…t=0,1,2,\ldotst=0,1,2,…. It generates a trajectory by st+1=next⁡(st,δ(st,t))s_{t+1}=\operatorname{next}(s_t,\delta(s_t,t))st+1​=next(st​,δ(st​,t)). The corresponding directed graph has a state for each node and a decision for each arc. It may contain loops and parallel arcs, since different decisions can lead to the same next state.

The paper prints the finite average with T+1T+1T+1 cost terms and denominator TTT:

aTδ(s0)=1T∑t=0Tc(st,δ(st,t)).a_T^\delta(s_0)=\frac{1}{T}\sum_{t=0}^{T}c(s_t,\delta(s_t,t)).aTδ​(s0​)=T1​t=0∑T​c(st​,δ(st​,t)).

A time-dependent policy's averages may fail to converge. We use the upper limit gδ(s0)=lim sup⁡T→∞aTδ(s0)g^\delta(s_0)=\limsup_{T\to\infty}a_T^\delta(s_0)gδ(s0​)=limsupT→∞​aTδ​(s0​) and optimize over all policies, g∗(s0)=inf⁡δgδ(s0)g^*(s_0)=\inf_\delta g^\delta(s_0)g∗(s0​)=infδ​gδ(s0​). A state uuu is reachable if some finite walk of decision arcs goes from s0s_0s0​ to uuu. A simple cycle CCC is a positive-length closed sequence of decision arcs with distinct states before it returns to its start; its mean cost is mean⁡(C)=c(C)/∣C∣\operatorname{mean}(C)=c(C)/|C|mean(C)=c(C)/∣C∣. A loop is a one-arc simple cycle.

For states u,vu,vu,v, the min-plus adjacency entry AuvA_{uv}Auv​ is the least cost of a decision arc from uuu to vvv, or +∞+\infty+∞ when no such arc exists. A min-plus product uses addition in place of multiplication and minimum in place of addition. Thus (Ak)uv(A^k)_{uv}(Ak)uv​ represents the least cost of a kkk-arc walk from uuu to vvv, when such a walk exists Papadimitriou and Tsitsiklis, pp. 445–446.

Formalization targets

Reachable cycles

The first target identifies the value of the original policy optimization problem:

g∗(s0)=min⁡C simple cycleC reachable from s0mean⁡(C).g^*(s_0)=\min_{\substack{C\text{ simple cycle}\\C\text{ reachable from }s_0}}\operatorname{mean}(C).g∗(s0​)=C simple cycleC reachable from s0​​min​mean(C).

It also states that a policy attains this value with convergent finite averages. The milestone for following a reachable cycle gives the attainable direction; the milestone saying that no policy can improve the least mean gives the reverse direction. The latter is formulated with lim inf⁡\liminfliminf, so it applies even when a policy's averages oscillate.

Min-plus calculation

The second target identifies the finite graph calculation used in the paper:

g∗(s0)=min⁡u reachable from s01≤k≤∣S∣(Ak)uu<+∞(Ak)uuk.g^*(s_0)=\min_{\substack{u\text{ reachable from }s_0\\1\leq k\leq |S|\\(A^k)_{uu}<+\infty}}\frac{(A^k)_{uu}}{k}.g∗(s0​)=u reachable from s0​1≤k≤∣S∣(Ak)uu​<+∞​min​k(Ak)uu​​.

The milestones establish what a min-plus power says about decision walks and why closed walks of lengths from 111 through ∣S∣|S|∣S∣ recover the least simple-cycle mean. The restriction to reachable uuu is essential: a cheap cycle in a disconnected component cannot be used from s0s_0s0​.

Significance

The result reduces optimization over infinitely many decision times and all state-and-time policies to finitely many closed-walk calculations. It also guarantees that an optimal long-run value is realized by a trajectory with a genuine limiting average, despite the nonconvergence possible for other policies. The finite formula lets one determine the value by comparing graph quantities indexed by states and lengths; it is the correctness statement beneath the paper's parallel algorithm Papadimitriou and Tsitsiklis, p. 446.

Formalizing the identity creates a reusable bridge between deterministic decision processes, weighted directed walks and min-plus powers. Related proved tropical-algebra results on maximum cycle means use dense matrices and a max-plus convention, rather than the reachable, possibly missing-arc, minimum-cost process here; for example, the platform's TropicalLA.tpow_isGreatest concerns greatest walk weights. The present mission keeps the policy optimum and reachability explicit. The paper proves the result mathematically; these Lean statements are open proof targets in the proposal.

Difficulty

An arbitrary policy can keep changing its choices at repeated visits to the same state. Its averages can oscillate, so one cannot simply assume that its infinite trajectory becomes periodic or that its printed limit exists. The lower-bound claim must apply to every such trajectory. There is a second distinction between a closed walk and a simple cycle: a diagonal min-plus entry allows repeated states, whereas the cycle characterization is stated using simple cycles. Finally, an unrestricted matrix calculation would include cycles unreachable from the chosen initial state.

Formalization scope

Lean represents the general finite stationary deterministic process in its own definition, then defines policies, finite walks, simple cycles, average costs and min-plus powers on top of it. Decisions are arcs, so parallel arcs remain distinguishable; AuvA_{uv}Auv​ takes their least cost and uses WithTop ℝ for a missing arc. Decision sets are explicitly nonempty because a policy has to make a choice at every state. The finite state set is automatically nonempty once s0s_0s0​ is supplied. Policy time starts at zero. The printed T+1T+1T+1 terms divided by TTT are retained; Lean's T=0T=0T=0 quotient is zero and has no effect on the limit. The optimum is the infimum over all policies δ(s,t)\delta(s,t)δ(s,t), not a quantity defined by cycles or by stationary policies. Finite states and finite decision sets bound the one-step costs and hence the averages; this gives real limsup and infimum their intended values.

The paper's Theorem 3 asserts membership in NC. This mission formalizes the exact optimization identity that makes that algorithm correct. Its processor count and parallel-time bound are outside the scope, as are membership in P, log-space computability of reductions, PSPACE membership and the paper's Corollaries 1–2. Contributions to the finite-walk and min-plus lemmas, the lower bound for arbitrary policy paths, and the cycle-attainment statement are all needed; the graph definitions can be reused in other deterministic control problems.

Selected references

  • Christos H. Papadimitriou and John N. Tsitsiklis, The Complexity of Markov Decision Processes, Mathematics of Operations Research 12(3), 1987, pp. 441–450. DOI.
7 thms1 active userReviewed
Algorithmic Game TheoryMechanism DesignOperations Research+1·Captain: mikedeng1

Optimal Auction Design: Giving the Object to a Bidder with the Highest Priority Level c̄ᵢ(tᵢ) ≥ t₀ and Charging (6.8) Is an Optimal Auction MechanismResearch Paper

Motivation

A seller with one indivisible object must decide whether to keep it or transfer it to one of several bidders whose values she does not observe. The allocation and the payment rule affect what bidders choose to report. Myerson's 1981 paper identifies a revenue-maximizing rule when bidders' private value estimates are independent, their densities are positive, and their valuations may be revised after learning other bidders' information. It covers value distributions for which the usual virtual-value rule is not monotone, by replacing each bidder's virtual value with an ironed priority level.

The question matters to auction design because a pointwise revenue-maximizing assignment can reward a bidder for understating a value. The seller must maximize expected utility subject to both incentive compatibility and each bidder's ability to decline participation. The paper's main theorem gives a specific allocation and payment pair that meets those constraints and attains the maximum. The result is proved in the source; this mission asks for a machine-checked formalization of it.

Setting

There is a finite nonempty set NNN of bidders and one seller. Bidder iii has a value estimate tit_iti​ in a finite interval [ai,bi][a_i,b_i][ai​,bi​], where ai<bia_i<b_iai​<bi​; endpoints may be negative and may differ between bidders. The continuous density fif_ifi​ is strictly positive on that interval and has total integral one. The bidders' estimates are independent, so a profile t=(ti)i∈Nt=(t_i)_{i\in N}t=(ti​)i∈N​ has density f(t)=∏ifi(ti)f(t)=\prod_i f_i(t_i)f(t)=∏i​fi​(ti​) on T=∏i[ai,bi]T=\prod_i[a_i,b_i]T=∏i​[ai​,bi​]. Write Fi(s)=∫aisfi(u) duF_i(s)=\int_{a_i}^{s}f_i(u)\,duFi​(s)=∫ai​s​fi​(u)du for the distribution function. The seller's known value for keeping the object is t0t_0t0​.

A revision effect ej(tj)e_j(t_j)ej​(tj​) describes the change in everyone else's valuation after bidder jjj's estimate becomes known. Bidder iii's revised value is vi(t)=ti+∑j≠iej(tj)v_i(t)=t_i+\sum_{j\ne i}e_j(t_j)vi​(t)=ti​+∑j=i​ej​(tj​), while the seller's is v0(t)=t0+∑jej(tj)v_0(t)=t_0+\sum_j e_j(t_j)v0​(t)=t0​+∑j​ej​(tj​). A direct mechanism assigns each profile an allocation probability pi(t)p_i(t)pi​(t) and expected payment xi(t)x_i(t)xi​(t) for each bidder. Payments may be negative and need not vanish when a bidder loses. Its feasibility conditions say that allocation probabilities are nonnegative and sum to at most one, each bidder's interim expected utility is nonnegative at every possible value, and truthful reporting yields at least as much interim utility as any other report. The seller maximizes her expected utility over all feasible mechanisms.

The virtual value is ci(s)=s−ei(s)−(1−Fi(s))/fi(s)c_i(s)=s-e_i(s)-(1-F_i(s))/f_i(s)ci​(s)=s−ei​(s)−(1−Fi​(s))/fi​(s). In the general case it need not increase with sss. Myerson transforms cic_ici​ through the quantile q=Fi(s)q=F_i(s)q=Fi​(s): hi(q)=ci(Fi−1(q))h_i(q)=c_i(F_i^{-1}(q))hi​(q)=ci​(Fi−1​(q)), Hi(q)=∫0qhi(r) drH_i(q)=\int_0^q h_i(r)\,drHi​(q)=∫0q​hi​(r)dr, and GiG_iGi​ is the convex envelope of HiH_iHi​ on [0,1][0,1][0,1]. The slope gig_igi​ of GiG_iGi​, extended across kinks, gives the ironed priority cˉi(s)=gi(Fi(s))\bar c_i(s)=g_i(F_i(s))cˉi​(s)=gi​(Fi​(s)). At profile ttt, the winning set M(t)M(t)M(t) contains exactly those bidders whose priority is maximal and at least t0t_0t0​.

Formalization targets

The goal is Myerson's §6 theorem. The proposed rule shares the object equally among bidders in M(t)M(t)M(t), or keeps it when M(t)M(t)M(t) is empty, and charges each bidder the envelope payment:

pˉi(t)={∣M(t)∣−1,i∈M(t),0,i∉M(t),xˉi(t)=pˉi(t)vi(t)−∫aitipˉi(t−i,s) ds.\bar p_i(t)=\begin{cases}|M(t)|^{-1},&i\in M(t),\\0,&i\notin M(t),\end{cases} \qquad \bar x_i(t)=\bar p_i(t)v_i(t)-\int_{a_i}^{t_i}\bar p_i(t_{-i},s)\,ds.pˉ​i​(t)={∣M(t)∣−1,0,​i∈M(t),i∈/M(t),​xˉi​(t)=pˉ​i​(t)vi​(t)−∫ai​ti​​pˉ​i​(t−i​,s)ds.

The target asserts that (pˉ,xˉ)(\bar p,\bar x)(pˉ​,xˉ) is feasible and that every feasible (p,x)(p,x)(p,x) has seller utility no greater than that of (pˉ,xˉ)(\bar p,\bar x)(pˉ​,xˉ). The milestone list follows the paper's reduction: Lemma 2 characterizes feasible direct mechanisms by a monotone interim allocation rule and an envelope identity; equation (4.12) rewrites seller utility using virtual values; Lemma 3 turns maximization of virtual surplus into optimality. Equations (6.9)–(6.13) compare virtual and ironed priorities and establish the optimality and monotonicity of the proposed allocation.

Significance

The theorem specifies both who receives the object and how payments are computed, including irregular distributions and bidder-specific supports. The ironed priorities preserve incentives while retaining the seller's maximal expected utility. Equation (4.12) also gives the revenue-equivalence consequence: once the allocation rule and each lowest-type interim utility are fixed, expected seller utility is fixed.

A formal proof would connect several reusable results: product distributions with bidder-specific densities, interim incentive constraints, an envelope characterization, virtual-surplus accounting, and one-dimensional convex ironing. The source theorem and milestones are currently statements to be proved in this development, not existing machine-checked results. Related Börgers auction statements on Prove2Me use a common nonnegative support, at least two bidders, zero revision effects, and zero seller value; they do not provide this general theorem.

Difficulty

Maximizing virtual surplus at each profile is straightforward only if each bidder's virtual value rises with her report. When it falls, the resulting win probability can also fall, violating the incentive constraint. Replacing virtual values by slopes of a convex envelope restores monotonicity, but then the proof must account exactly for the difference between the original and ironed objectives, including flat portions of the envelope. Payments must satisfy the interim envelope identity for every type, while the seller's objective includes both transfers and her value for retaining the object.

Formalization scope

The Lean model uses a finite nonempty bidder type, real-valued reports and payments, one object, independent continuous positive densities normalized on each finite support, and continuous revision effects. The latter regularity is implicit in the paper's assertion that cic_ici​ is continuous. No mean-zero condition on revision effects is imposed: the paper explicitly says its equation (2.9) is unnecessary. One bidder, negative support endpoints, unequal supports, and arbitrary seller value remain allowed.

The profile law is Lebesgue measure restricted to TTT and weighted by the product density. Integrating a function after replacing coordinate iii represents the T−iT_{-i}T−i​ integral, because bidder iii's marginal density has mass one. Mechanisms are total functions, but allocation and incentive conditions quantify over supported profiles and reports. Feasibility explicitly requires integrability of allocations, payments, and their report sections so no undefined Bochner expectation can acquire Lean's default value zero. The convex envelope is the two-point infimum of equation (6.3); its defining set is nonempty and bounded below on [0,1][0,1][0,1]. The slope uses the right derivative below quantile one and the left derivative at one. The theorem requires feasibility of the proposed pair as well as its utility bound, ruling out an empty or unconstrained maximization claim.

The Stieltjes expressions in (6.9), (6.12), and (6.13) are combined into equivalent ordinary-integral comparisons over the profile law. A complete proof needs the one-dimensional envelope theorem, product-measure integration and Fubini results, differentiation of the convex envelope, and a careful endpoint treatment. The definitions of interim utilities and ironing can be reused for related auction models; contributions that establish these analytic components or the listed source lemmas are in scope.

Selected references

  • Roger B. Myerson, Optimal Auction Design, Mathematics of Operations Research 6(1):58–73, 1981. DOI: 10.1287/moor.6.1.58.
13 thms2 active usersReviewed
Complexity TheoryDynamic ProgrammingMathematical Logic+1·Captain: mikedeng1

The Complexity of Markov Decision Processes V: A Quantified Boolean Formula Is True Iff Its Partially Observed Markov Decision Process Has a Zero-Cost PolicyResearch Paper

Motivation

A Markov decision process is the standard model of sequential decision making under uncertainty: a controller observes the state of a finite system, chooses a decision, pays a cost, and the system moves to a random next state. In many applications (maintenance, inventory with unreliable records, robotics, medical treatment) the controller does not see the state itself, only partial information about it. This is the partially observed problem, and the usual way to solve it is to replace the state by the conditional distribution of the state given the observations (Åström 1965; Bertsekas). That reformulation has an infinite state space, and Smallwood and Sondik (1973) showed that the finite-horizon cost-to-go is nevertheless piecewise linear, but with a number of pieces that may grow exponentially with the horizon.

Papadimitriou and Tsitsiklis (Math. Oper. Res. 12(3), 1987) asked whether this blow-up is an artefact of the reformulation or intrinsic to the problem. Their Theorem 6 answers it: deciding whether a partially observed process can achieve a given expected cost is PSPACE-hard, already for stationary processes and horizons shorter than the number of states. This mission formalizes the reduction behind that theorem.

Setting

A partially observed stationary Markov decision process has a finite state set SSS, a partition Π\PiΠ of SSS, and an initial state s0s_0s0​. For a state sss write z(s)∈Πz(s) \in \Piz(s)∈Π for the set containing it. Each set zzz carries a nonempty finite set DzD_zDz​ of decisions; decision i∈Dzi \in D_zi∈Dz​ costs c(z,i)c(z, i)c(z,i) and moves a current state s∈zs \in zs∈z to the next state s′s's′ with probability p(s,s′,i)p(s, s', i)p(s,s′,i). The controller sees only the sequence of sets visited, so a policy π\piπ maps each observation sequence z0,…,ztz_0, \dots, z_tz0​,…,zt​ to a decision in DztD_{z_t}Dzt​​. For a horizon TTT, the expected cost of π\piπ is

Jπ(T)=Eπ[∑t=0Tc(z(st),π(z(s0),…,z(st)))],J_\pi(T) = \mathbb{E}_\pi\Bigl[\sum_{t=0}^{T} c\bigl(z(s_t), \pi(z(s_0), \dots, z(s_t))\bigr)\Bigr],Jπ​(T)=Eπ​[t=0∑T​c(z(st​),π(z(s0​),…,z(st​)))],

and the optimal cost is inf⁡πJπ(T)\inf_\pi J_\pi(T)infπ​Jπ​(T).

A quantified Boolean formula is Q1x1⋯Qnxn F(x1,…,xn)Q_1 x_1 \cdots Q_n x_n\, F(x_1, \dots, x_n)Q1​x1​⋯Qn​xn​F(x1​,…,xn​) with each Qj∈{∃,∀}Q_j \in \{\exists, \forall\}Qj​∈{∃,∀} and FFF a conjunction of mmm clauses C1,…,CmC_1, \dots, C_mC1​,…,Cm​, each a set of literals xjx_jxj​ or ¬xj\neg x_j¬xj​. It is true if there is a value of x1x_1x1​ such that for all values of x2x_2x2​, and so on, FFF comes out true. Deciding truth (QSAT) is PSPACE-complete (Stockmeyer and Meyer 1973).

From a formula with m≥1m \ge 1m≥1 clauses the paper builds a process MφM_\varphiMφ​: an initial state, six states Aij,Aij′,Tij,Tij′,Fij,Fij′A_{ij}, A'_{ij}, T_{ij}, T'_{ij}, F_{ij}, F'_{ij}Aij​,Aij′​,Tij​,Tij′​,Fij​,Fij′​ per clause iii and variable jjj, end states Ai,n+1,Ai,n+1′A_{i,n+1}, A'_{i,n+1}Ai,n+1​,Ai,n+1′​, and one absorbing state, so ∣S∣=6mn+2m+2|S| = 6mn + 2m + 2∣S∣=6mn+2m+2. The first transition chooses a clause uniformly; primed states record that the chosen clause is not yet satisfied; existential variables are set by decisions and universal ones by fair coins; the only nonzero cost, 111, is paid at Ai,n+1′A'_{i,n+1}Ai,n+1′​. The horizon is T=2n+2T = 2n + 2T=2n+2.

Formalization targets

Goal: the reduction is correct

For every formula φ\varphiφ in the paper's QSAT class (an alternating prefix beginning with ∃x1\exists x_1∃x1​ and ending with ∀xn\forall x_n∀xn​, and three literals per clause), with m≥1m \ge 1m≥1 clauses and T=2n+2T = 2n+2T=2n+2,

T<∣S∣,(∃π: Jπ(T)=0)  ⟺  φ is true,inf⁡πJπ(T)≤0  ⟺  φ is true.T < |S|, \qquad \bigl(\exists \pi:\ J_\pi(T) = 0\bigr) \iff \varphi \text{ is true}, \qquad \inf_\pi J_\pi(T) \le 0 \iff \varphi \text{ is true}.T<∣S∣,(∃π: Jπ​(T)=0)⟺φ is true,πinf​Jπ​(T)≤0⟺φ is true.

The goal states all three claims the paper makes: the horizon bound (p. 448), the existence of a zero-cost policy (p. 449), and the bound on the optimum (p. 448).

Milestones

  1. The cost splits over the clause chosen at time 1: each clause is chosen with probability 1/m1/m1/m, and a policy has zero expected cost iff it has zero cost for every choice of clause.
  2. If a trajectory of positive probability ends in Ai,n+1′A'_{i,n+1}Ai,n+1′​, the expected cost is at least 2−n/m2^{-n}/m2−n/m.
  3. A zero-cost policy makes the formula true.
  4. A true formula yields a zero-cost policy.

Significance

Theorem 6 locates the partially observed finite-horizon problem in the complexity landscape: unless P = PSPACE there is no polynomial-time algorithm for it, even for stationary processes with short horizons. The paper's Corollary 1 strengthens this into evidence that no polynomial-size precomputed controller exists either. Together these results explain why exact algorithms for partially observed processes are exponential and motivated the later work on approximation and on restricted policy classes.

The formalization adds a machine-checked proof of the correctness of the reduction, the step on which the hardness claim rests, together with a reusable definition of a finite partially observed process with observation-history policies and of quantified Boolean formulas. The paper's argument is a short paragraph; a formal proof has to make precise how a policy that only sees observation sequences determines a strategy for the existential player. As far as we know, no machine-checked proof of this reduction exists.

Difficulty

The "if" direction is a direct translation of a winning strategy into a policy. The "only if" direction is where the work is. A zero-cost policy acts on observation sequences, and the paper argues that it never learns which clause was chosen. Under the paper's own partition this is not literally true: the sets TjT_jTj​ and Tj′T'_jTj′​ differ, so the observations reveal whether the chosen clause was already satisfied. The existential strategy must therefore be extracted from the policy's behaviour on the observation histories in which the clause is still unsatisfied, and one must check that it is a single strategy, independent of the clause, that satisfies every clause against every choice of the universal variables. The bound of milestone 2 also requires tracking the probability of a single trajectory through the coin flips.

Formalization scope

The process is a Lean structure POMDP S Z with an observation map obs : S → Z encoding the partition, nonempty finite decision types D z, real costs c z i, and next-state laws given as Mathlib PMFs, so every transition row is a probability vector. A policy is a function List Z → (z : Z) → D z of the earlier observations and the current one. The expected cost is a finite sum over trajectories x0,…,xTx_0, \dots, x_Tx0​,…,xT​ of their probability times ∑t=0Tc\sum_{t=0}^{T} c∑t=0T​c, and the optimum is the infimum over all policies. Paper clause CiC_iCi​ and variable xjx_jxj​ are Lean indices i−1i - 1i−1 and j−1j - 1j−1.

Choices made explicit:

  • Horizon. The paper prints T=2m+2T = 2m + 2T=2m+2 but says it is "just enough time for the process to reach one of Ai,n+1A_{i,n+1}Ai,n+1​ or Ai,n+1′A'_{i,n+1}Ai,n+1′​", which happens at time 2n+12n+12n+1. With the printed value and m<nm < nm<n the cost is never paid and every formula would map to a zero-cost process. We use T=2n+2T = 2n+2T=2n+2.
  • The set AjA_jAj​. The partition sentence puts all AijA_{ij}Aij​ and Aij′A'_{ij}Aij′​ in one set AjA_jAj​; the decision sentence mentions "the set Aj′A'_jAj′​". We follow the partition sentence.
  • The new state reached from Ai,n+1A_{i,n+1}Ai,n+1​ and Ai,n+1′A'_{i,n+1}Ai,n+1′​ is unspecified; it gets its own set, one zero-cost decision and a self-loop.
  • Formulas. The general QBF definition allows any quantifier prefix and clause width. Every theorem assumes IsPaperQSAT, which requires the paper's alternating prefix ∃x1∀x2⋯∀xn\exists x_1 \forall x_2 \cdots \forall x_n∃x1​∀x2​⋯∀xn​ with n>0n>0n>0 even and three literals per clause. Clauses are sets of literals; three witnesses allow repetitions. m≥1m \ge 1m≥1 is also a hypothesis.
  • Decisions are nonempty; rows are probability vectors.

Policies see only observation sequences. A formalization in which the policy reads the state would make the "only if" direction false and the reduction meaningless; one in which it sees only the current observation would make the "if" direction false. Neither is admissible.

Not formalized: PSPACE-hardness itself (Mathlib has no PSPACE or polynomial-time reductions), the polynomial-time computability of the construction, the membership of the problem in PSPACE (sketched on p. 449), Corollary 1 (a Σ2p\Sigma_2^pΣ2p​ collapse) and Corollary 2 (NP-completeness of the unobserved case, stated without proof).

The definitions of partially observed processes and quantified Boolean formulas are reusable. Contributions of lemmas on trajectory sums (marginalising later coordinates, the probability of a fixed prefix) are welcome; they also serve the other missions of this series.

Selected references

  • C. H. Papadimitriou and J. N. Tsitsiklis, The Complexity of Markov Decision Processes, Mathematics of Operations Research 12(3), 1987, 441–450. https://doi.org/10.1287/moor.12.3.441
  • L. J. Stockmeyer and A. R. Meyer, Word problems requiring exponential time, Proc. 5th ACM STOC, 1973, 1–9. https://doi.org/10.1145/800125.804029
  • R. D. Smallwood and E. J. Sondik, The optimal control of partially observable Markov processes over a finite horizon, Operations Research 21(5), 1973, 1071–1088. https://doi.org/10.1287/opre.21.5.1071
  • K. J. Åström, Optimal control of Markov processes with incomplete state information, Journal of Mathematical Analysis and Applications 10, 1965, 174–205. https://doi.org/10.1016/0022-247X(65)90154-X
  • D. P. Bertsekas, Dynamic Programming: Deterministic and Stochastic Models, Prentice-Hall, 1987.
8 thms1 active userReviewed
🏆Completed
CombinatoricsOperations ResearchOptimization·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
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Efficient Monte Carlo Procedures for Generating Points Uniformly Distributed over Bounded Regions 1: Symmetric Mixing Algorithms Converge to the Uniform Distribution from Every Starting PointResearch Paper

Motivation

Sampling uniformly from a bounded region can be difficult when direct transformation of a familiar random variable is unavailable and rejection sampling spends most of its trials outside the region. Robert L. Smith studied procedures that move within the region: from the current point, choose a direction, form the line set through that point inside the region, and choose the next point uniformly on that line set. The resulting sequence is a homogeneous Markov chain. The Random Directions Algorithm, later commonly called hit-and-run, is a central instance of this construction. Smith's 1984 paper establishes conditions under which the chain approaches the uniform distribution even when its initial point is fixed rather than sampled uniformly (Smith 1984, pp. 1298–1301).

For simulation, the initial point is usually chosen because it is known to be feasible. The question is therefore whether the distribution after many moves forgets that particular choice. A stationary distribution alone does not answer this: stationarity describes what happens if the chain already starts with that distribution. Smith's Theorem 2 gives the stronger, pointwise starting-state statement for the class of symmetric mixing algorithms satisfying his two regularity assumptions (Smith 1984, p. 1301).

Setting

Let SSS be the state region and VVV its finite, nonzero content measure. In Smith's geometric setting, SSS is a bounded kkk-dimensional measurable region in Rn\mathbb R^nRn, and VVV is kkk-dimensional content; at k=0k=0k=0, content is counting measure. A Markov transition kernel PPP assigns to every current point x∈Sx\in Sx∈S a probability P(x,A)P(x,A)P(x,A) of entering a measurable set A⊆SA\subseteq SA⊆S on the next move. For the associated chain (X0,X1,…)(X_0,X_1,\ldots)(X0​,X1​,…), the mmm-step transition probability is Pm(x,A)=P(Xm∈A∣X0=x)P^m(x,A)=\mathbb P(X_m\in A\mid X_0=x)Pm(x,A)=P(Xm​∈A∣X0​=x).

The uniform law is λ(A)=V(A)/V(S)\lambda(A)=V(A)/V(S)λ(A)=V(A)/V(S). Smith's Assumption (a) gives a measurable transition density f(y∣x)f(y\mid x)f(y∣x) relative to VVV:

P(x,A)=∫Af(y∣x) V(dy).P(x,A)=\int_A f(y\mid x)\,V(dy).P(x,A)=∫A​f(y∣x)V(dy).

For a symmetric mixing algorithm, the paper states that this density satisfies f(y∣x)=f(x∣y)f(y\mid x)=f(x\mid y)f(y∣x)=f(x∣y) for all x,y∈Sx,y\in Sx,y∈S. Assumption (b) says f(y∣x)>0f(y\mid x)>0f(y∣x)>0 for all such pairs. These are pointwise conditions, including states of zero VVV-measure. A nonempty measurable set AAA is closed if P(x,A)=1P(x,A)=1P(x,A)=1 for every x∈Ax\in Ax∈A. The chain is indecomposable in the paper's sense when it has no two disjoint closed sets (Smith 1984, pp. 1299–1300).

Formalization targets

Stationarity and indecomposability

Lemma 1 asserts that λ\lambdaλ is stationary: λ(A)=∫SP(x,A) λ(dx)\lambda(A)=\int_S P(x,A)\,\lambda(dx)λ(A)=∫S​P(x,A)λ(dx) for every measurable AAA. Lemma 2 excludes two disjoint closed sets. Both are direct prerequisites of the goal. Smith's Theorem 1 also establishes uniqueness of the stationary distribution and almost-sure convergence of empirical visit frequencies under a stationary start; it is described in the source, but its trajectory-level formalization is outside this proposal (Smith 1984, p. 1300).

Convergence from every starting point

The mission goal is Smith's Theorem 2. For every x∈Sx\in Sx∈S and every measurable A⊆SA\subseteq SA⊆S,

lim⁡m→∞Pm(x,A)=λ(A).\lim_{m\to\infty}P^m(x,A)=\lambda(A).m→∞lim​Pm(x,A)=λ(A).

This is the paper's explicit meaning of strongly mixing. The milestone list also records the proof's stated nonperiodicity condition: for every n≥2n\ge2n≥2, the nnn-step transition law has no two disjoint closed sets. It is a target in its own right because it concerns all higher-step kernels, not only the one-step chain (Smith 1984, p. 1301).

Significance

Theorem 2 makes the uniform law the limiting distribution of the sample at time mmm, for any fixed feasible initial point. The paper's Theorem 1 supplies a different guarantee about long-run empirical frequencies under a stationary start, although it is not a target of this proposal. Smith later specializes the framework to the Random Directions Algorithm and gives a quantitative rate under additional geometric conditions; that rate is the subject of the companion mission (Smith 1984, pp. 1303–1304).

These results are proved in the paper but the declarations in this proposal are theorem statements with sorry, not machine-checked proofs. A completed formalization would turn the paper's measure-theoretic claims into reusable statements about general measurable state spaces and kernels. The normalized content law, the density interface, and closed-set predicate can be reused when studying other Monte Carlo kernels with the same hypotheses.

Difficulty

The main obstacle is the jump from stationary behavior to convergence from every starting point. Symmetry identifies the candidate stationary law, and strict positivity limits how the chain can split into closed parts, but neither sentence by itself establishes the claimed limit of Pm(x,A)P^m(x,A)Pm(x,A). The distinction matters especially at starting points in VVV-null sets: an almost-everywhere starting-state result would leave out precisely the universal claim in Theorem 2. The paper appeals to a general-state Markov-chain convergence result for this step (Smith 1984, p. 1301).

Formalization scope

Lean uses a measurable type α\alphaα as the whole region SSS, a finite measure VVV with V(S)≠0V(S)\ne0V(S)=0, a Markov kernel PPP, and an extended-nonnegative density f:α→α→R≥0∞f:\alpha\to\alpha\to\mathbb R_{\ge0}^{\infty}f:α→α→R≥0∞​. The density is jointly measurable and is linked to PPP by the integral identity above; symmetry is pointwise, and positivity is added only for Lemma 2 and Theorems 1–2. This abstract representation retains the hypotheses those results use without fixing a particular Euclidean dimension. It covers the counting-content case as well as continuous content, although it does not construct the geometric direction-and-chord algorithm. The Random Directions kernel belongs to the companion mission.

The uniform law is normalized by V(S)V(S)V(S). Finiteness and nonzero total content prevent a meaningless inverse or an empty probability space. The mmm-step law is the published MarkovChainCLT.iterKernel. Theorem 2 quantifies over every xxx, rather than λ\lambdaλ-almost every xxx, and uses setwise convergence on each measurable AAA. No invariance, uniqueness, minorization, or convergence premise is added to the goal. Detaching fff from PPP would empty out the substantive assertion. Formal contributions can target the density-to-invariance argument, the closed-set conditions, and the general-state convergence theorem needed for the goal. The paper's separate pathwise Theorem 1 remains an appropriate later extension.

Selected references

  • Robert L. Smith, Efficient Monte Carlo Procedures for Generating Points Uniformly Distributed over Bounded Regions, Operations Research 32(6), 1296–1308, 1984. DOI: 10.1287/opre.32.6.1296.
8 thms2 active usersReviewed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Efficient Monte Carlo Procedures for Generating Points Uniformly Distributed over Bounded Regions 2: Geometric Convergence Rate of the Random Directions Algorithm to UniformResearch Paper

Motivation

Generating points uniformly distributed over a bounded region S⊆RnS\subseteq\mathbb R^nS⊆Rn is a basic subroutine in Monte Carlo integration, in estimating the volume of a region, in randomized search for optimization, and in identifying redundant constraints of mathematical programs. When SSS is given only implicitly, for instance by a system of inequalities, the classical methods break down in high dimension: transformation methods need a tractable description of SSS, and rejection from an enclosing box or ball accepts a fraction of proposals that decays exponentially with nnn.

Smith (Oper. Res. 32(6), 1984) studied a family of Markov chain methods, mixing algorithms, that avoid rejection altogether. The best known member is the Random Directions Algorithm, now called hit-and-run: from the current point, pick a direction uniformly at random and move to a uniformly random point of SSS on the line through the current point in that direction. Boneh and Golan (1979) proposed it for constraint identification and conjectured, without proof, that it generates uniform points; Smith (1980, 1984) proved asymptotic uniformity, and Section 3 of the 1984 paper gives an explicit geometric convergence rate. This mission targets that rate, Theorem 3.

Later work, in particular Lovász (Math. Program. 86, 1999) and Lovász and Vempala (SIAM J. Comput. 35, 2006), proved polynomial mixing bounds for hit-and-run on convex bodies. Smith's bound is exponential in nnn, but it holds for every open bounded region, convex or not, and from every starting point.

Setting

Write VVV for nnn-dimensional Lebesgue measure (content) on Rn\mathbb R^nRn and ∥⋅∥\|\cdot\|∥⋅∥ for the Euclidean norm. Let S⊆RnS\subseteq\mathbb R^nS⊆Rn be open, bounded and nonempty.

  • The uniform distribution over SSS is λ(A)=V(A∩S)/V(S)\lambda(A)=V(A\cap S)/V(S)λ(A)=V(A∩S)/V(S).
  • For x∈Sx\in Sx∈S and a unit vector ddd, the line set is L=S∩{x+td:t∈R}L=S\cap\{x+td:t\in\mathbb R\}L=S∩{x+td:t∈R}, and its length is ℓ(x,d)=Leb1{t:x+td∈S}\ell(x,d)=\mathrm{Leb}_1\{t: x+td\in S\}ℓ(x,d)=Leb1​{t:x+td∈S}. For convex SSS this is the chord length; in general LLL may consist of many segments.
  • One step of the Random Directions Algorithm from x∈Sx\in Sx∈S: draw ddd uniformly on the unit sphere {d:∥d∥=1}\{d:\|d\|=1\}{d:∥d∥=1}, then draw Xi+1X_{i+1}Xi+1​ uniformly on LLL. The transition kernel is
P(A∣x)=∫Leb1{t:x+td∈S∩A}ℓ(x,d) σ(dd),P(A\mid x)=\int \frac{\mathrm{Leb}_1\{t:x+td\in S\cap A\}}{\ell(x,d)}\,\sigma(\mathrm dd),P(A∣x)=∫ℓ(x,d)Leb1​{t:x+td∈S∩A}​σ(dd),

with σ\sigmaσ the normalized surface measure of the sphere, and Pm(A∣x)=P(Xm∈A∣X0=x)P^m(A\mid x)=P(X_m\in A\mid X_0=x)Pm(A∣x)=P(Xm​∈A∣X0​=x) is its mmm-step iterate.

  • R⋆R^\starR⋆ is the radius of the smallest ball containing SSS, Vn(r)V_n(r)Vn​(r) the volume of a ball of radius rrr, and
γ=V(S)Vn(R⋆)∈(0,1]\gamma=\frac{V(S)}{V_n(R^\star)}\in(0,1]γ=Vn​(R⋆)V(S)​∈(0,1]

the fraction of its smallest enclosing ball that SSS fills.

  • Sn(r)=nVn(1)rn−1S_n(r)=nV_n(1)r^{n-1}Sn​(r)=nVn​(1)rn−1 is the surface area of a sphere of radius rrr, and d=diam⁡Sd=\operatorname{diam}Sd=diamS.

Formalization targets

Goal: Theorem 3 (p. 1304)

For n≥2n\ge2n≥2, every x∈Sx\in Sx∈S, every measurable A⊆SA\subseteq SA⊆S and every m≥1m\ge1m≥1,

∣P(Xm∈A∣X0=x)−λ(A)∣<(1−γn 2n−1)m−1.\bigl|P(X_m\in A\mid X_0=x)-\lambda(A)\bigr|<\Bigl(1-\frac{\gamma}{n\,2^{n-1}}\Bigr)^{m-1}.​P(Xm​∈A∣X0​=x)−λ(A)​<(1−n2n−1γ​)m−1.

The constant is the paper's. The bound is uniform in the starting point and in AAA, and it depends on SSS only through nnn and γ\gammaγ.

Milestones (the steps of the paper's proof, in order)

  1. Lemma 1 for this algorithm: λ\lambdaλ is stationary, λ(A)=∫SP(A∣x) λ(dx)\lambda(A)=\int_S P(A\mid x)\,\lambda(\mathrm dx)λ(A)=∫S​P(A∣x)λ(dx).
  2. Doob's Case (b) bound: for a chain with stationary law π\piπ and a minorization P(A∣x)≥δ φ(A∩C)P(A\mid x)\ge\delta\,\varphi(A\cap C)P(A∣x)≥δφ(A∩C) on a closed set CCC that carries π\piπ, ∣Pm(A∣x)−π(A)∣≤(1−δφ(C))m−1|P^m(A\mid x)-\pi(A)|\le(1-\delta\varphi(C))^{m-1}∣Pm(A∣x)−π(A)∣≤(1−δφ(C))m−1.
  3. Density formula: P(A∣x)=∫Af(y∣x) dyP(A\mid x)=\int_A f(y\mid x)\,\mathrm dyP(A∣x)=∫A​f(y∣x)dy with f(y∣x)=2/(Sn(∥y−x∥) ℓ(x,y))f(y\mid x)=2/\bigl(S_n(\|y-x\|)\,\ell(x,y)\bigr)f(y∣x)=2/(Sn​(∥y−x∥)ℓ(x,y)).
  4. Density lower bound: f(y∣x)>δ=2/(d Sn(d))f(y\mid x)>\delta=2/(d\,S_n(d))f(y∣x)>δ=2/(dSn​(d)) for all distinct x,y∈Sx,y\in Sx,y∈S when n≥2n\ge2n≥2.
  5. Constant comparison: δ V(S)≥γ/(n2n−1)\delta\,V(S)\ge\gamma/(n2^{n-1})δV(S)≥γ/(n2n−1).

Significance

The result. Theorems 1 and 2 of the paper (the companion mission) establish only that the chain converges to λ\lambdaλ. Theorem 3 makes this quantitative: the deviation from uniformity decays geometrically, at a rate computable from the dimension and the shape ratio γ\gammaγ alone. It shows which features of a region govern convergence, it gives a stopping rule with a guarantee, and it holds for non-convex regions, which the later polynomial-time analyses of hit-and-run do not cover. The paper notes the bound is of practical use only in low dimension; its value lies in being explicit and fully general.

Formalizing it. The theorem is proved in the paper, but parts of the proof are heuristic: the density is derived by a limit over small cubes, and the step from δ\deltaδ to γ\gammaγ uses a claim about circumscribed spheres that is false as stated (see below). A machine-checked proof would produce, as reusable components, a general-state-space Doeblin bound (no such theorem currently exists on the platform; the existing Doeblin results are finite-state), a measure-theoretic definition of hit-and-run as a Markov kernel, and the polar-coordinates computation of its density. None of these has, to our knowledge, been formalized.

Difficulty

The obvious argument is: the density is bounded below on SSS, so Doeblin's condition holds, so the chain converges geometrically. Each step hides work. The density is not given by the algorithm but must be derived: the algorithm draws a direction and a scalar, and the change of variables from (direction, signed distance) to the endpoint is two-to-one and carries the Jacobian ∥y−x∥n−1\|y-x\|^{n-1}∥y−x∥n−1, which is where SnS_nSn​ and the factor 2 come from. The Doeblin step needs a stationary law and the fact that the chain started in SSS never leaves SSS. For non-convex SSS, the paper's "diameter along the ray" must be replaced by the measure of the line set, and the maximal chord does not bound the distance ∥y−x∥\|y-x\|∥y−x∥; the diameter of SSS is needed instead. Finally, the paper's assertion that the ball of radius d/2d/2d/2 circumscribes SSS fails already for an equilateral triangle, so the final comparison must go through the smallest enclosing ball's radius R⋆≥d/2R^\star\ge d/2R⋆≥d/2.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n) with Lebesgue measure. The region is a set S with IsOpen S and Bornology.IsBounded S; boundedness is the paper's standing assumption ("bounded regions").
  • The transition law is a Mathlib ProbabilityTheory.Kernel built operationally from the algorithm: the uniform law on the line set, integrated against the normalized surface measure of the unit sphere (Mathlib's Measure.toSphere, divided by its total mass nVn(1)nV_n(1)nVn​(1)). Off SSS the kernel is the identity, which the chain started in SSS never uses. The mmm-step law is the published MarkovChainCLT.iterKernel.
  • λ\lambdaλ is Lebesgue measure restricted to SSS divided by V(S)V(S)V(S). γ\gammaγ uses the infimum of radii of closed balls containing SSS; the ball is not a free parameter. δ=2/(d Sn(d))\delta=2/(d\,S_n(d))δ=2/(dSn​(d)) is defined from d=diam⁡Sd=\operatorname{diam}Sd=diamS, not assumed.
  • Deviations from the printed statement. (i) The goal assumes n≥2n\ge2n≥2: for n=1n=1n=1 the strict inequality is false (on an interval X1X_1X1​ is already uniform and γ=1\gamma=1γ=1, so both sides vanish for m≥2m\ge2m≥2). (ii) The density uses the line-set length ℓ(x,y)\ell(x,y)ℓ(x,y) instead of "the diameter of SSS along the ray", which coincides for convex SSS. (iii) The paper's d=max⁡x,yd(x,y)d=\max_{x,y}d(x,y)d=maxx,y​d(x,y) is taken as diam⁡S\operatorname{diam}SdiamS. (iv) The Doob step is stated with a kernel-form minorization rather than a lower bound on the density of the absolutely continuous part, which it is implied by, and with CCC a closed set carrying the stationary law, which is what C=SC=SC=S means inside Rn\mathbb R^nRn. (v) The final comparison is stated as δV(S)≥γ/(n2n−1)\delta V(S)\ge\gamma/(n2^{n-1})δV(S)≥γ/(n2n−1), the true inequality behind the paper's false circumscribed-sphere claim. No statement weakens the paper's constant.
  • Ruled out. The kernel is not defined through the density formula (which would make milestone 3 definitional and remove the algorithm from the goal), and neither stationarity nor a minorization is a hypothesis of the goal: Theorem 3 assumes only conditions on nnn, SSS, xxx, AAA and mmm.
  • Contributions welcome: the general Doeblin bound, the polar-coordinates density computation (useful for any line-sampling algorithm), and proofs that the kernel is Markov on SSS and reversible with respect to λ\lambdaλ.

Selected references

  • R. L. Smith, Efficient Monte Carlo Procedures for Generating Points Uniformly Distributed over Bounded Regions, Operations Research 32(6):1296–1308, 1984. https://doi.org/10.1287/opre.32.6.1296
  • A. Boneh and A. Golan, Constraints' redundancy and feasible region boundedness by random feasible point generator (RFPG), Third European Congress on Operations Research (EURO III), Amsterdam, 1979.
  • J. L. Doob, Stochastic Processes, Wiley, 1953 (Case (b), p. 197).
  • L. Lovász, Hit-and-run mixes fast, Mathematical Programming 86:443–461, 1999. https://doi.org/10.1007/s101070050099
  • L. Lovász and S. Vempala, Hit-and-run from a corner, SIAM Journal on Computing 35(4):985–1005, 2006. https://doi.org/10.1137/S009753970544727X
10 thms2 active usersReviewed
CombinatoricsLinear OptimizationOperations Research+1·Captain: mikedeng1

A New Optimization Algorithm for the Vehicle Routing Problem with Time Windows: With No Negative Marginal Cost Column, the Set Covering LP Is Optimal and Bounds the VRPTW Optimum from BelowResearch Paper

Motivation

The vehicle routing problem with time windows (VRPTW) asks for minimum-cost routes from a central depot that serve every customer exactly once, respecting vehicle capacity and a time interval in which each customer's service must begin. It models school bus routing, parcel and retail distribution, and dial-a-ride services. Desrochers, Desrosiers and Solomon (Oper. Res. 40 (1992) 342–354) gave an optimization algorithm for the VRPTW that solved benchmark instances with up to 100 customers to optimality, a size far beyond earlier exact methods. Their method, which solves the linear relaxation of a set partitioning model by column generation with routes priced out by a resource-constrained shortest path dynamic program, is the template that later exact vehicle routing algorithms ("branch-and-price") follow.

The mathematical core of the method is a certificate: once the pricing subproblem reports that no route has negative marginal cost (reduced cost), the current linear programming solution is optimal over all routes the subproblem can generate, its value bounds every VRPTW solution from below, and an integral solution covering each customer exactly once is VRPTW-optimal. This mission formalizes that certificate and the lemmas of the paper it rests on.

Setting

The nodes are a depot ddd and customers N∖{d}N\setminus\{d\}N∖{d}. An arc set AAA carries, for each arc (i,j)(i,j)(i,j), a cost cijc_{ij}cij​ and a duration tijt_{ij}tij​; each node has a demand qiq_iqi​ and a time window [ai,bi][a_i,b_i][ai​,bi​]; vehicles have capacity QQQ.

A path (d,i1,…,iK,d)(d, i_1, \dots, i_K, d)(d,i1​,…,iK​,d) uses arcs of AAA and passes through the depot only at its ends. It is resource-feasible when there are service start times T0=0,T1,…,TK+1T_0 = 0, T_1, \dots, T_{K+1}T0​=0,T1​,…,TK+1​ with Tk+tikik+1≤Tk+1T_k + t_{i_k i_{k+1}} \le T_{k+1}Tk​+tik​ik+1​​≤Tk+1​ (waiting is allowed) and aik≤Tk≤bika_{i_k}\le T_k\le b_{i_k}aik​​≤Tk​≤bik​​, and its load ∑k=1Kqik\sum_{k=1}^{K} q_{i_k}∑k=1K​qik​​ is at most QQQ. Its cost is cr=∑k=0Kcikik+1c_r = \sum_{k=0}^{K} c_{i_k i_{k+1}}cr​=∑k=0K​cik​ik+1​​, and γir\gamma_{ir}γir​ is the number of visits of rrr to customer iii. The paper uses three solution spaces:

  1. feasible routes RRR: resource-feasible paths visiting each customer at most once;
  2. second-model paths: resource-feasible paths where customers may repeat (the state-space relaxation that tracks load and time but not the set of visited customers);
  3. third-model paths: second-model paths with no 2-cycle (i,j,i)(i, j, i)(i,j,i).

A VRPTW solution is a set of feasible routes covering each customer exactly once; its cost is the sum of the route costs.

The set covering type model (Sec. 4) over a column set R\mathcal RR is

min⁡∑rcrxrs.t.∑rγirxr≥1 (i≠d),∑rxr−Xd=0,∑rcrxr−Xc=0,\min \sum_r c_r x_r \quad\text{s.t.}\quad \sum_r \gamma_{ir}x_r \ge 1\ (i \ne d),\quad \sum_r x_r - X_d = 0,\quad \sum_r c_r x_r - X_c = 0,minr∑​cr​xr​s.t.r∑​γir​xr​≥1 (i=d),r∑​xr​−Xd​=0,r∑​cr​xr​−Xc​=0,

with xr∈{0,1}x_r\in\{0,1\}xr​∈{0,1} and Xd,Xc≥0X_d, X_c\ge 0Xd​,Xc​≥0 integer. Its LP relaxation replaces xr∈{0,1}x_r\in\{0,1\}xr​∈{0,1} by xr≥0x_r\ge 0xr​≥0 and drops integrality. For dual values πi\pi_iπi​, πd\pi_dπd​, πc\pi_cπc​ of the three rows, the marginal cost of a column and of an arc are

cˉr=cr−∑i≠dπiγir−πd−πccr,cˉij=(1−πc)cij−πi(πi:=πd at i=d).\bar c_r = c_r - \sum_{i\ne d}\pi_i\gamma_{ir} - \pi_d - \pi_c c_r,\qquad \bar c_{ij} = (1-\pi_c)c_{ij} - \pi_i\quad(\pi_i := \pi_d \text{ at } i = d).cˉr​=cr​−i=d∑​πi​γir​−πd​−πc​cr​,cˉij​=(1−πc​)cij​−πi​(πi​:=πd​ at i=d).

Formalization targets

Goal: the column generation certificate

Let R0R_0R0​ be a finite set of third-model paths, zˉ=(xˉ,Xˉd,Xˉc)\bar z = (\bar x, \bar X_d, \bar X_c)zˉ=(xˉ,Xˉd​,Xˉc​) an optimal solution of the LP relaxation restricted to R0R_0R0​, and (π,πd,πc)(\pi,\pi_d,\pi_c)(π,πd​,πc​) an optimal solution of its dual. If every third-model path has nonnegative marginal cost, ∑k=0Kcˉikik+1≥0\sum_{k=0}^{K}\bar c_{i_k i_{k+1}} \ge 0∑k=0K​cˉik​ik+1​​≥0, then

zˉ is optimal for the LP relaxation over all third-model paths,\bar z \text{ is optimal for the LP relaxation over all third-model paths},zˉ is optimal for the LP relaxation over all third-model paths,

and, when arc costs are nonnegative, ∑rcrxˉr≤cost(S)\sum_r c_r \bar x_r \le \text{cost}(S)∑r​cr​xˉr​≤cost(S) for every VRPTW solution SSS; if moreover xˉ\bar xxˉ is integral and covers each customer exactly once, its support is an optimal VRPTW solution.

Milestones

  1. Feasible routes ⊆\subseteq⊆ third-model paths ⊆\subseteq⊆ second-model paths (Sec. 3, p. 346).
  2. cˉr=∑k=0Kcˉikik+1\bar c_r = \sum_{k=0}^{K}\bar c_{i_k i_{k+1}}cˉr​=∑k=0K​cˉik​ik+1​​ for every path (Sec. 4.1, p. 347).
  3. Nonnegative column marginal costs over all third-model paths make the restricted optimum optimal (Sec. 4, p. 346).
  4. Every VRPTW solution is a feasible LP point of equal cost (Sec. 2, p. 344).
  5. An integral, exactly covering LP point is a VRPTW solution of equal cost (Sec. 5, p. 348).
  6. Under the strict triangle inequality, LP optima over routes do not overcover (Sec. 5, p. 348).
  7. The four time window reduction conditions preserve the set of paths (Sec. 6.1, p. 349).
  8. The Figure 1 example has 11, 22 and 12 solutions in the three models (pp. 345–346).

Significance

The certificate is the correctness statement of column generation for vehicle routing: it says when the algorithm may stop, what the value it stops with means, and when the branch-and-bound tree can be skipped. The same argument, with a different subproblem, underlies branch-and-price for crew scheduling, cutting stock and many other set partitioning formulations. Milestone 2 is the observation that turns pricing into a shortest path problem on the original network, and milestone 7 is the preprocessing used before every dynamic program over time windows.

The paper's results are classical and their proofs are short in prose. None of them, nor any VRPTW column generation statement, has a machine-checked proof on the platform; the closest existing items concern split deliveries (Desaulniers 2010) or general finite LP duality. The mission produces a reusable formal model of resource-constrained paths, the set covering LP and its restricted dual, on which later branch-and-price papers can build.

Difficulty

The goal combines three ingredients that do not fit together automatically. First, LP duality for the restricted problem: the hypothesis gives an optimal dual, but optimality over all columns needs equality of the restricted primal and dual values, which is strong duality for a finite LP with equality rows and sign-constrained auxiliary variables. Second, the column set of the full LP is infinite in general: a nonelementary path can repeat customers, so the comparison must go through the finitely many columns a given feasible point uses. Third, the pricing hypothesis is about arc sums along node sequences while the LP is about column costs and visit counts; matching them needs the depot to appear exactly at the two ends of a path.

The tempting shortcut of quantifying the pricing hypothesis over the current columns only gives dual feasibility for the restricted LP, which says nothing about columns not yet generated. The lower bound also fails for arbitrary real costs, because row (4) with Xc≥0X_c \ge 0Xc​≥0 excludes negative-cost solutions from the LP while the VRPTW still contains them.

Formalization scope

Nodes are Fin (n+1) with the depot 0. A path is the list of its customers; its node sequence is 0 :: p ++ [0], so a path visits at least one customer and meets the depot only at its ends. The arc set is an arbitrary relation; costs, durations, demands and windows are arbitrary reals, and every sign or triangle condition a statement needs appears in its own hypotheses. The committed readings:

  • service times are indexed by position (a second-model path may visit a node twice), with T0=0T_0 = 0T0​=0;
  • the depot's window also applies at the return (0≤k≤K+10 \le k \le K+10≤k≤K+1, where the page prints 0≤k≤K0\le k\le K0≤k≤K);
  • the capacity constraint is load ≤Q\le Q≤Q (the page says "less than"; the recurrences and Figure 1 use ≤\le≤);
  • a 2-cycle is a pattern of the customer list, so (d,i,d)(d, i, d)(d,i,d) is not one;
  • the LP relaxation keeps Xd,Xc≥0X_d, X_c \ge 0Xd​,Xc​≥0, relaxes xr∈{0,1}x_r\in\{0,1\}xr​∈{0,1} to xr≥0x_r\ge 0xr​≥0 with no upper bound, and is the root LP without branching rows; its dual is that of the restricted LP, with πi,πd,πc≥0\pi_i, \pi_d, \pi_c \ge 0πi​,πd​,πc​≥0;
  • LP points are finitely supported functions on lists (Finsupp); VRPTW solutions are Finsets of routes;
  • clauses 2–3 of the goal and milestone 4 assume nonnegative arc costs (the paper's costs are distances);
  • milestone 6 adds complete arcs, positive costs, a triangle inequality on durations and nonnegative demands; milestone 7 applies the conditions at customers only; milestone 8 lists (d,2,1,2,1,d)(d,2,1,2,1,d)(d,2,1,2,1,d) where the page prints (d,2,1,2,d)(d,2,1,2,d)(d,2,1,2,d) twice.

The goal is not to be trivialized: the pricing hypothesis ranges over all third-model paths, not the current columns; equality of primal and dual values is not assumed; the full column set is not R0R_0R0​; and "covered exactly once" is not presupposed to mean elementary columns, which must be derived from integrality.

Contributions welcome: proofs of the milestones, a reusable finite LP strong duality interface for Finsupp-indexed columns, and lemmas about arc sums over node sequences.

Selected references

  • M. Desrochers, J. Desrosiers, M. Solomon, A new optimization algorithm for the vehicle routing problem with time windows, Operations Research 40(2), 1992, 342–354. https://doi.org/10.1287/opre.40.2.342
  • N. Christofides, A. Mingozzi, P. Toth, State-space relaxation procedures for the computation of bounds to routing problems, Networks 11(2), 1981, 145–164. https://doi.org/10.1002/net.3230110207
  • D. J. Houck, J.-C. Picard, M. Queyranne, R. R. Vemuganti, The travelling salesman problem as a constrained shortest path problem: theory and computational experience, Opsearch 17, 1980, 93–109.
  • G. Desaulniers, Branch-and-price-and-cut for the split-delivery vehicle routing problem with time windows, Operations Research 58(1), 2010, 179–192. https://doi.org/10.1287/opre.1090.0713
13 thms2 active usersReviewed
CombinatoricsGraph TheoryLinear Optimization+1·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 thms3 active usersReviewed
Dynamic ProgrammingLinear OptimizationOperations Research+1·Captain: mikedeng1

On the Convergence of Stochastic Dual Dynamic Programming and Related Methods: DOASA Reaches an Optimal Policy in Finitely Many Iterations Almost SurelyResearch Paper

Motivation

Stochastic dual dynamic programming (SDDP), introduced by Pereira and Pinto in 1991, is the standard method for multistage stochastic linear programs with many stages, such as hydro-thermal scheduling and long-term energy planning. It approximates each stage's expected future cost from below by the maximum of finitely many linear functions (cuts), built from LP dual solutions at sampled states, and alternates a forward simulation pass with a backward cut-generation pass. Practitioners stop the method when a simulated upper bound is close to the lower bound C1kC^k_1C1k​. Whether this procedure converges at all is the question of this mission.

Timeline:

  • 1991: Pereira and Pinto publish SDDP, with no convergence proof.
  • 1999: Chen and Powell prove almost-sure convergence for CUPPS; Linowsky and Philpott (2005) extend the argument to SDDP, AND and ReSa. Both proofs rely on an unstated independence assumption between sampled outcomes and convergent subsequences of iterates.
  • 2008: Philpott and Guan (Oper. Res. Lett. 36(4), 450–455) give a proof based on the finiteness of the set of distinct cut coefficients, for a class they call DOASA (Dynamic Outer Approximation Sampling Algorithms).
  • Later work (Shapiro 2011; Girardeau, Leclère and Philpott 2015) extends convergence to convex nonlinear and continuous settings.

Setting

There are T≥2T\ge2T≥2 stages. Stage ttt has a decision xt≥0x_t\ge0xt​≥0 in Rnt\mathbb R^{n_t}Rnt​, costs ctc_tct​, a matrix AtA_tAt​ and, for t≤T−1t\le T-1t≤T−1, a matrix BtB_tBt​ coupling xtx_txt​ to the next stage. At stage 111 the constraint is A1x1=b1A_1x_1=b_1A1​x1​=b1​. For 2≤t≤T2\le t\le T2≤t≤T the right-hand side is random: Atxt=ωt−Bt−1xt−1A_tx_t=\omega_t-B_{t-1}x_{t-1}At​xt​=ωt​−Bt−1​xt−1​, where ωt\omega_tωt​ takes values ωt1,…,ωtqt\omega_{t1},\dots,\omega_{tq_t}ωt1​,…,ωtqt​​ with probabilities pti>0p_{ti}>0pti​>0, independently across stages. The expected cost-to-go is defined backwards from QT+1≡0\mathcal Q_{T+1}\equiv0QT+1​≡0:

Qt(xt−1,ωti)=min⁡{ct⊤xt+Qt+1(xt):Atxt=ωti−Bt−1xt−1, xt≥0},Qt=∑iptiQt(⋅,ωti),Q_t(x_{t-1},\omega_{ti})=\min\{c_t^\top x_t+\mathcal Q_{t+1}(x_t):A_tx_t=\omega_{ti}-B_{t-1}x_{t-1},\ x_t\ge0\},\qquad \mathcal Q_t=\sum_i p_{ti}Q_t(\cdot,\omega_{ti}),Qt​(xt−1​,ωti​)=min{ct⊤​xt​+Qt+1​(xt​):At​xt​=ωti​−Bt−1​xt−1​, xt​≥0},Qt​=i∑​pti​Qt​(⋅,ωti​),

and Q1=min⁡{c1⊤x1+Q2(x1):A1x1=b1,x1≥0}Q_1=\min\{c_1^\top x_1+\mathcal Q_2(x_1):A_1x_1=b_1,x_1\ge0\}Q1​=min{c1⊤​x1​+Q2​(x1​):A1​x1​=b1​,x1​≥0} is the problem [LP1]. Assumption (A4) says every stage problem met along the way has a nonempty, bounded feasible region.

The approximate problem [APtk_t^ktk​] replaces Qt+1\mathcal Q_{t+1}Qt+1​ by max⁡j{αt+1,j−(βt+1j)⊤xt}\max_j\{\alpha_{t+1,j}-(\beta^j_{t+1})^\top x_t\}maxj​{αt+1,j​−(βt+1j​)⊤xt​} over the cuts generated before iteration kkk; its value is CtkC^k_tCtk​. A scenario fixes one outcome per stage 2,…,T−12,\dots,T-12,…,T−1. Each DOASA iteration (i) samples one forward scenario ωk\omega^kωk and solves [APtk_t^ktk​] along it, giving states xtkx^k_txtk​; (ii) for t=T,…,2t=T,\dots,2t=T,…,2 runs the Cut Calculation Algorithm (CCA): it solves [APtk_t^ktk​] at xt−1kx^k_{t-1}xt−1k​ for the outcomes in a backward sample Ωtk\Omega^k_tΩtk​, stores optimal extreme-point dual solutions (π,ρ)(\pi,\rho)(π,ρ) in a collection Dt\mathcal D_tDt​, picks for every outcome the best stored dual, and averages them into a new cut on θt\theta_tθt​. DOASA-N instead traverses a fixed list of NNN scenarios in every iteration.

Formalization targets

Goal: Theorem 4 under the joint sampling property J

If, with probability 1, every scenario prefix is followed by the forward pass jointly with each outcome being in the backward sample infinitely often (property J), then with probability 1 every DOASA run has an iteration KKK after which the cuts no longer change, the policy xˉ\bar xxˉ they induce is optimal for [LP1], and

C1K=Q1.C^K_1=Q_1 .C1K​=Q1​.

Milestones

  • Monotonicity (p. 4): Ctk+1≥CtkC^{k+1}_t\ge C^k_tCtk+1​≥Ctk​ and C1k+1≥C1kC^{k+1}_1\ge C^k_1C1k+1​≥C1k​.
  • Lower bound (p. 4): every cut is valid, so Ctk≤QtC^k_t\le Q_tCtk​≤Qt​ and C1k≤Q1C^k_1\le Q_1C1k​≤Q1​.
  • Lemma 1 (p. 6): the set Gtk\mathcal G^k_tGtk​ of distinct generated cuts is bounded in size and eventually constant.
  • Lemma 2 (p. 10): DOASA-N stops changing after finitely many iterations, with lim⁡kC1k≤Q1\lim_kC^k_1\le Q_1limk​C1k​≤Q1​.
  • Lemma 3 (p. 10): DOASA-N over all scenarios, with backward sampling infinitely often per scenario, converges almost surely to an optimal policy.

Significance

The theorem justifies SDDP, AND, ReSa and CUPPS as exact methods: on a finite scenario tree, sampling-based cutting-plane schemes reach an optimal policy and a tight lower bound after finitely many iterations, almost surely. The finiteness argument (Lemma 1) is the template for later finite-convergence proofs of SDDP variants.

The paper's proofs are informal. No part of this development is machine-checked, and the printed statement of Theorem 4 is false (see below), so a formal proof also settles exactly which sampling hypothesis is enough. The finite-cut lemma and the cut-validity milestone are reusable for any Benders-type multistage method.

Difficulty

The obvious argument goes: cut sets stabilize (Lemma 1), and every scenario and every outcome is sampled infinitely often, so the limiting cuts must be exact. The last step fails. A cut at a state is exact only if, for every outcome, a dual that is optimal at that state has been collected. Sampling the forward scenario and the backward outcomes infinitely often, but separately, does not ensure this. Lemma 1 itself is also delicate: the dual vectors ρ\rhoρ grow in dimension with kkk, so the collection of extreme-point duals can be infinite even though the cut coefficients take finitely many values. The algorithm's choices (extreme-point duals, ties among best duals) must be handled for every run, not for a convenient one.

Formalization scope

Stages are numbered 1,…,T1,\dots,T1,…,T with variable dimensions per stage. B t is the paper's BtB_tBt​, the matrix multiplying xtx_txt​ in stage t+1t+1t+1. Value functions are real infima, used only on reachable states. Iterations are numbered from 000 in Lean. Explicit choices, each recorded in the item statements:

  • The J correction. The paper states Theorem 4 under FPSP and BPSP. These do not suffice. In a three-stage instance whose last-stage backward sample is {c}\{c\}{c} after forward outcome aaa and {d}\{d\}{d} after bbb, alternating, both properties hold but the cuts stabilize at a suboptimal policy with C1kC^k_1C1k​ below Q1Q_1Q1​. The goal is stated under J, which implies FPSP and BPSP and holds for the schemes the paper names. Lemma 3's BPSP is read per scenario of DOASA-N.
  • Initial cut. The paper's trivial cut θt+1≥−∞\theta_{t+1}\ge-\inftyθt+1​≥−∞ makes [APt1_t^1t1​] unbounded; it is replaced by a finite cut θt+1≥Lt\theta_{t+1}\ge L_tθt+1​≥Lt​ assumed valid on reachable states. Stage TTT uses the exact cut θT+1≥0\theta_{T+1}\ge0θT+1​≥0.
  • (A4) is required on reachable states only.
  • The LP solver is a deterministic oracle on cut sets returning optimal solutions of [APt_tt​], so repeated cuts do not change forward solutions.
  • Duals. Collected duals are optimal extreme points of the dual region; best duals are chosen with arbitrary tie-breaks. No cut is added while the dual collection is empty. Dual multipliers ρ\rhoρ are sequences padded with zeros.
  • Runs are relations covering DOASA and DOASA-N (batched forward scenarios). The conclusions hold for every run consistent with the samples, inside the almost-sure quantifier.

A trivializing encoding, in which cuts are arbitrary valid hyperplanes, duals are taken for all outcomes, or the sampling hypotheses directly assume exactness of the cuts, is ruled out: the run relation transcribes CCA steps 1–3 as printed.

A complete development needs LP weak and strong duality (published on the platform as LinearOptimization.lp_weak_duality and LinearOptimization.lp_strong_duality, in their own encoding), finiteness of the set of extreme points of a polyhedron, and the almost-sure intersection of finitely many events (Mathlib). Contributions to any milestone, to the proof that J holds for independent sampling, and to the counterexample showing FPSP and BPSP are insufficient are welcome.

Selected references

  • A. B. Philpott, Z. Guan, On the convergence of stochastic dual dynamic programming and related methods, Oper. Res. Lett. 36(4) (2008) 450–455. https://doi.org/10.1016/j.orl.2008.01.013 (cited from the authors' manuscript v24, 2008-02-25)
  • M. V. F. Pereira, L. M. V. G. Pinto, Multi-stage stochastic optimization applied to energy planning, Math. Program. 52 (1991) 359–375. https://doi.org/10.1007/BF01582895
  • Z.-L. Chen, W. B. Powell, Convergent cutting-plane and partial-sampling algorithm for multistage stochastic linear programs with recourse, J. Optim. Theory Appl. 102 (1999) 497–524. https://doi.org/10.1023/A:1022641805263
  • A. Shapiro, Analysis of stochastic dual dynamic programming method, European J. Oper. Res. 209 (2011) 63–72. https://doi.org/10.1016/j.ejor.2010.08.007
  • P. Girardeau, V. Leclère, A. B. Philpott, On the convergence of decomposition methods for multistage stochastic convex programs, Math. Oper. Res. 40(1) (2015) 130–145. https://doi.org/10.1287/moor.2014.0664
10 thms2 active usersReviewed
CombinatoricsGraph TheoryOperations Research·Captain: mikedeng1

Paths, Trees, and Flowers I: Matching-Duality Theorem — the Maximum Cardinality of a Matching Equals the Minimum Capacity-Sum of an Odd-Set CoverResearch Paper

Motivation

A matching in a graph is a set of edges no two of which share a vertex. Finding a matching of maximum cardinality is one of the basic problems of combinatorial optimization: it models pairing tasks (workers to shifts, kidney donors to recipients, players to rounds), it is a subroutine of algorithms for the travelling salesman and Chinese postman problems, and it was the first problem shown to need more than linear programming over the obvious constraints to be solved exactly.

For bipartite graphs, König's theorem (1931) gives a min–max formula: the maximum size of a matching equals the minimum size of a set of vertices meeting every edge. In general graphs this fails already for a triangle, where a single edge is a maximum matching but two vertices are needed to meet all three edges. Jack Edmonds' paper Paths, trees, and flowers (1965) gave both a polynomial-time algorithm for maximum matching in general graphs, the blossom algorithm, and, as a by-product of its analysis, the correct min–max theorem for general graphs.

Timeline.

  • 1891: Petersen uses alternating paths to prove the existence of factors in certain graphs.
  • 1947: Tutte characterizes graphs with a perfect matching.
  • 1957: Berge proves that a matching is maximum if and only if there is no augmenting path, and derives the deficiency formula now called the Tutte–Berge formula (Berge 1957).
  • 1965: Edmonds shrinks odd circuits ("blossoms") to search for augmenting paths in polynomial time and proves the matching-duality theorem in terms of odd-set covers (Edmonds 1965); the companion paper on the matching polyhedron extends this to weighted matching.

Setting

A graph GGG is a finite set of vertices and a finite set of edges, each edge meeting exactly two distinct vertices, its end-points. Several edges may join the same two vertices; this is needed because shrinking creates parallel edges. A matching MMM is a set of edges no two of which meet the same vertex; a vertex is exposed if it meets no edge of MMM. "Maximum" refers to cardinality.

An odd set is a set UUU of vertices with an odd number of elements. Its capacity is

cap⁡(U)={1∣U∣=1,k∣U∣=2k+1, k≥1.\operatorname{cap}(U) = \begin{cases} 1 & |U| = 1,\\ k & |U| = 2k+1,\ k \ge 1.\end{cases}cap(U)={1k​∣U∣=1,∣U∣=2k+1, k≥1.​

A one-vertex set covers the edges meeting its vertex; a set of 2k+1≥32k+1 \ge 32k+1≥3 vertices covers the edges with both end-points in it. An odd-set cover is a family S\mathcal SS of odd sets such that every edge is covered by some member, and its capacity-sum is cap⁡(S)=∑U∈Scap⁡(U)\operatorname{cap}(\mathcal S) = \sum_{U \in \mathcal S} \operatorname{cap}(U)cap(S)=∑U∈S​cap(U).

The proof uses the following objects of §3–§4 of the paper. An alternating path is a simple path whose edges alternate between MMM and the non-matching edges Mˉ\bar MMˉ. An alternating tree is a tree whose vertices are split into inner and outer vertices, every edge joining an inner to an outer vertex and every inner vertex meeting exactly two tree edges; it is planted if MMM restricted to the tree is a maximum matching of the tree whose one exposed vertex (the root) is exposed in GGG, and Hungarian if its outer vertices are adjacent only to its inner vertices. A blossom is an odd circuit on which MMM is a maximum matching, leaving one vertex bbb exposed; with a stem (an alternating path from an exposed vertex ending in a matching edge at bbb) it forms a flower. Shrinking a vertex set UUU replaces it by a single vertex U/UU/UU/U, deletes the edges inside UUU and keeps all other edges; G/BG/BG/B and M/B=M∩(G/B)M/B = M \cap (G/B)M/B=M∩(G/B) denote the result for a blossom BBB.

Formalization targets

Goal: the matching-duality theorem (5.6, p. 462)

max⁡{∣M∣:M a matching of G}  =  min⁡{cap⁡(S):S an odd-set cover of G}.\max\{|M| : M \text{ a matching of } G\} \;=\; \min\{\operatorname{cap}(\mathcal S) : \mathcal S \text{ an odd-set cover of } G\}.max{∣M∣:M a matching of G}=min{cap(S):S an odd-set cover of G}.

It is stated as: there are a maximum matching MMM and a minimum odd-set cover S\mathcal SS with ∣M∣=cap⁡(S)|M| = \operatorname{cap}(\mathcal S)∣M∣=cap(S).

Milestones (attack order)

  1. Weak duality: ∣M∣≤cap⁡(S)|M| \le \operatorname{cap}(\mathcal S)∣M∣≤cap(S) for every matching and odd-set cover.
  2. 3.7 (Berge): MMM is not maximum iff an alternating path joins two exposed vertices.
  3. 4.1–4.2: maximum matchings of an alternating tree.
  4. 4.14 and 4.15: the two directions of 4.12, in stronger form.
  5. 4.12: for the blossom BBB of a flower, MMM is maximum in GGG iff M/BM/BM/B is maximum in G/BG/BG/B.
  6. 4.17: removing a Hungarian tree preserves maximality.
  7. 5.7: the theorem for graphs with at most one exposed vertex.
  8. 5.8: the configuration produced by the algorithm on a maximum matching, and the odd sets SJ\mathcal S_JSJ​ it yields, which reduce the theorem to a graph with one exposed vertex fewer.

Significance

The matching-duality theorem gives a certificate of optimality: a matching and an odd-set cover of equal size prove each other optimal, and the blossom algorithm produces both. It is equivalent to the Tutte–Berge formula ν(G)=min⁡X12(∣V∣+∣X∣−odd⁡(G−X))\nu(G) = \min_{X} \tfrac12\bigl(|V| + |X| - \operatorname{odd}(G - X)\bigr)ν(G)=minX​21​(∣V∣+∣X∣−odd(G−X)), it contains König's theorem as the case where all members of the cover are singletons, and it is the cardinality case of Edmonds' description of the matching polytope by odd-set constraints, which underlies weighted matching, bbb-matching and the polyhedral approach to combinatorial optimization.

The theorem has been proved since 1965, with several independent proofs (via Tutte's theorem, via the Gallai–Edmonds decomposition, via linear programming). Mathlib contains Tutte's perfect-matching theorem for simple graphs, but neither the Tutte–Berge formula nor odd-set covers, alternating trees, blossom shrinking or Berge's augmenting-path theorem in a multigraph setting. This mission produces a machine-checked version of Edmonds' statement together with the lemmas of his algorithmic proof (4.12, 4.14, 4.15, 4.17), which are the correctness core of the blossom algorithm.

Difficulty

Weak duality and Berge's theorem are elementary. The difficulty is the strong direction. The obvious argument, a search for augmenting paths from an exposed vertex, fails because an alternating search tree in a non-bipartite graph can close an odd circuit, after which a vertex is reachable both by an even and by an odd alternating path; a naive search either misses augmenting paths or must back-track exponentially. The proof therefore has to work in shrunken graphs, whose vertices are nested sets of original vertices, and transfer maximality and covers back through every shrinking (4.12–4.15). Keeping track of nested blossoms, of the identity of edges under shrinking and of the parity bookkeeping of 5.8 is the main formal burden.

Formalization scope

  • Graphs are the published EdmondsMatching65.Polyhedron.Graph V E (a map from edges to unordered pairs of distinct vertices) with finite V, E; parallel edges are allowed and loops are not. Matchings are Finset E. Maximum and minimum are by cardinality, stated with explicit comparisons rather than sSup/sInf.
  • A family of odd sets is a Finset (Finset V); repeating a member only adds capacity, so this does not change the minimum. The capacity of a singleton is 111, not (1−1)/2(1-1)/2(1−1)/2.
  • Paths and circuits are lists of vertices and edges; subgraphs are vertex and edge sets; a matching of a subgraph is a matching of GGG using only its edges.
  • Shrinking is contraction along a partition of the vertices: the vertex type of G/PG/\mathcal PG/P is the set of parts, the edge type is the set of edges not inside a part. Nested blossom shrinking is encoded by an inductive predicate of blossom sets (the complete expansions of pseudovertices), not by a tower of quotient types. Statements that shrink a set other than a circuit assume its induced subgraph connected, the standing assumption of 4.9.
  • 5.7 is stated as the existence of a cover: the page's explicit families fail for the two-vertex graph with one edge and for the one-vertex graph, where the claim still holds.
  • 5.8 is stated through the configuration the algorithm outputs (blossom sets, a planted Hungarian tree in G′G'G′, pseudovertices outer), not through the algorithm as a procedure.
  • A trivializing formalization is excluded: the goal asserts the equality of the maximum and the minimum, not weak duality and not the separate existence of an optimal matching and an optimal cover.

Reusable beyond this mission: the multigraph shrinking construction, blossom sets, alternating and Hungarian trees, and Berge's theorem in the multigraph setting; these are shared with the companion mission on the invariance of the dual (Gallai–Edmonds). Proofs of any milestone, and alternative proofs of the goal (e.g. through Mathlib's Tutte theorem), are welcome.

Selected references

  • J. Edmonds, Paths, trees, and flowers, Canadian Journal of Mathematics 17 (1965), 449–467. https://doi.org/10.4153/CJM-1965-045-4
  • C. Berge, Two theorems in graph theory, Proceedings of the National Academy of Sciences USA 43 (1957), 842–844. https://doi.org/10.1073/pnas.43.9.842
  • W. T. Tutte, The factorization of linear graphs, Journal of the London Mathematical Society 22 (1947), 107–111. https://doi.org/10.1112/jlms/s1-22.2.107
  • 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
  • L. Lovász and M. D. Plummer, Matching Theory, North-Holland, 1986. https://doi.org/10.1090/chel/367
16 thms2 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimal Transport+1·Captain: mikedeng1

Data-Driven Distributionally Robust Optimization Using the Wasserstein Metric: Performance Guarantees and Tractable Reformulations I: Wasserstein Worst-Case Expectations as Finite Convex ProgramsResearch Paper

Motivation

A decision maker who must minimize an expected cost EP[h(x,ξ)]\mathbb E^{\mathbb P}[h(x,\xi)]EP[h(x,ξ)] rarely knows the distribution P\mathbb PP of the uncertain parameter ξ\xiξ; usually only NNN samples ξ^1,…,ξ^N\hat\xi_1,\dots,\hat\xi_Nξ^​1​,…,ξ^​N​ are available. Replacing P\mathbb PP by the empirical distribution (sample average approximation) tends to produce decisions that perform poorly out of sample when NNN is small. Distributionally robust optimization instead minimizes the worst expected cost over a set of distributions that are plausible given the data. Mohajerin Esfahani and Kuhn (arXiv:1505.05116v3, published in Mathematical Programming 171, 2018) take that set to be a ball in the Wasserstein metric around the empirical distribution. Such balls give finite-sample and asymptotic guarantees, but each evaluation of the robust objective is an optimization over infinitely many probability distributions. Section 4.1 of the paper shows that, for a large class of losses, this inner problem is a finite convex program. That result, Theorem 4.2, is the subject of this mission.

Timeline. Wasserstein ambiguity sets for portfolio selection were proposed by Pflug and Wozabal (2007); before this paper, robust problems over such sets were solved with global optimization algorithms (Pflug and Pichler 2014). Strong duality for conic linear and moment problems (Shapiro 2001) underlies the reduction. Mohajerin Esfahani and Kuhn (preprint 2015, journal 2018) proved the convex reduction for piecewise concave losses; Gao and Kleywegt (arXiv:1604.02199) and Blanchet and Murthy (arXiv:1604.01446) proved strong duality for general transport costs in 2016.

Setting

Let EEE be a finite-dimensional real vector space with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥ (the paper's Rm\mathbb R^mRm) and its Borel σ-algebra. Its dual norm is ∥z∥∗=sup⁡∥ξ∥≤1⟨z,ξ⟩\|z\|_* = \sup_{\|\xi\|\le 1}\langle z,\xi\rangle∥z∥∗​=sup∥ξ∥≤1​⟨z,ξ⟩, where ⟨z,ξ⟩\langle z,\xi\rangle⟨z,ξ⟩ is the value of the linear functional zzz at ξ\xiξ. Let Ξ⊆E\Xi\subseteq EΞ⊆E be the support set and ξ^1,…,ξ^N∈Ξ\hat\xi_1,\dots,\hat\xi_N\in\Xiξ^​1​,…,ξ^​N​∈Ξ the samples, with empirical distribution P^N=1N∑i=1Nδξ^i\widehat{\mathbb P}_N=\frac1N\sum_{i=1}^N\delta_{\hat\xi_i}PN​=N1​∑i=1N​δξ^​i​​.

The 1-Wasserstein distance between two distributions is the least transport cost ∫∥ξ−ξ′∥ Π(dξ,dξ′)\int\|\xi-\xi'\|\,\Pi(d\xi,d\xi')∫∥ξ−ξ′∥Π(dξ,dξ′) over all couplings Π\PiΠ with the given marginals. The Wasserstein ball Bε(P^N)\mathbb B_\varepsilon(\widehat{\mathbb P}_N)Bε​(PN​) is the set of probability distributions on Ξ\XiΞ within distance ε≥0\varepsilon\ge 0ε≥0 of P^N\widehat{\mathbb P}_NPN​.

The loss is a pointwise maximum ℓ(ξ)=max⁡k≤Kℓk(ξ)\ell(\xi)=\max_{k\le K}\ell_k(\xi)ℓ(ξ)=maxk≤K​ℓk​(ξ) of measurable functions ℓk:E→R‾=R∪{±∞}\ell_k:E\to\overline{\mathbb R}=\mathbb R\cup\{\pm\infty\}ℓk​:E→R=R∪{±∞}. Its expectation is EQ[ℓ]=EQ[max⁡{ℓ,0}]+EQ[min⁡{ℓ,0}]\mathbb E^{\mathbb Q}[\ell]=\mathbb E^{\mathbb Q}[\max\{\ell,0\}]+\mathbb E^{\mathbb Q}[\min\{\ell,0\}]EQ[ℓ]=EQ[max{ℓ,0}]+EQ[min{ℓ,0}] with ∞−∞=∞\infty-\infty=\infty∞−∞=∞. The worst-case expectation is

sup⁡Q∈Bε(P^N)EQ[ℓ(ξ)].(10)\sup_{\mathbb Q\in\mathbb B_\varepsilon(\widehat{\mathbb P}_N)}\mathbb E^{\mathbb Q}[\ell(\xi)].\tag{10}Q∈Bε​(PN​)sup​EQ[ℓ(ξ)].(10)

The conjugate of f:E→R‾f:E\to\overline{\mathbb R}f:E→R is f∗(z)=sup⁡ξ⟨z,ξ⟩−f(ξ)f^*(z)=\sup_\xi\langle z,\xi\rangle-f(\xi)f∗(z)=supξ​⟨z,ξ⟩−f(ξ), the characteristic function χΞ\chi_\XiχΞ​ is 000 on Ξ\XiΞ and +∞+\infty+∞ off it, and the support function is σΞ(z)=sup⁡ξ∈Ξ⟨z,ξ⟩\sigma_\Xi(z)=\sup_{\xi\in\Xi}\langle z,\xi\rangleσΞ​(z)=supξ∈Ξ​⟨z,ξ⟩. Assumption 4.1 requires Ξ\XiΞ to be convex and closed, each −ℓk-\ell_k−ℓk​ to be proper, convex and lower semicontinuous, and no ℓk\ell_kℓk​ to be identically −∞-\infty−∞ on Ξ\XiΞ.

Formalization targets

Goal: Theorem 4.2 (convex reduction)

Under Assumption 4.1, for every ε≥0\varepsilon\ge0ε≥0, (10) equals

inf⁡λ,si,zik,νik λε+1N∑i=1Nsis.t.[−ℓk]∗(zik−νik)+σΞ(νik)−⟨zik,ξ^i⟩≤si,  ∥zik∥∗≤λ∀i,k.(11)\inf_{\lambda,s_i,z_{ik},\nu_{ik}}\ \lambda\varepsilon+\frac1N\sum_{i=1}^N s_i\quad\text{s.t.}\quad [-\ell_k]^*(z_{ik}-\nu_{ik})+\sigma_\Xi(\nu_{ik})-\langle z_{ik},\hat\xi_i\rangle\le s_i,\ \ \|z_{ik}\|_*\le\lambda\quad\forall i,k.\tag{11}λ,si​,zik​,νik​inf​ λε+N1​i=1∑N​si​s.t.[−ℓk​]∗(zik​−νik​)+σΞ​(νik​)−⟨zik​,ξ^​i​⟩≤si​,  ∥zik​∥∗​≤λ∀i,k.(11)

Milestones, in the order of the paper's proof

  1. (12a)–(12c). Without any convexity, (10) is at most the value of (12c): inf⁡{λε+1N∑isi: sup⁡ξ∈Ξ(ℓ(ξ)−λ∥ξ−ξ^i∥)≤si, λ≥0}\inf\{\lambda\varepsilon+\frac1N\sum_i s_i:\ \sup_{\xi\in\Xi}(\ell(\xi)-\lambda\|\xi-\hat\xi_i\|)\le s_i,\ \lambda\ge0\}inf{λε+N1​∑i​si​: supξ∈Ξ​(ℓ(ξ)−λ∥ξ−ξ^​i​∥)≤si​, λ≥0}.
  2. Corollary 4.3. Without Assumption 4.1, (10) is at most the value of (12f), the program with constraints [−ℓk+χΞ]∗(zik)−⟨zik,ξ^i⟩≤si[-\ell_k+\chi_\Xi]^*(z_{ik})-\langle z_{ik},\hat\xi_i\rangle\le s_i[−ℓk​+χΞ​]∗(zik​)−⟨zik​,ξ^​i​⟩≤si​ and ∥zik∥∗≤λ\|z_{ik}\|_*\le\lambda∥zik​∥∗​≤λ.
  3. (12a) is an equality for ε>0\varepsilon>0ε>0 under Assumption 4.1.
  4. The case ε=0\varepsilon=0ε=0. (10) is the sample average 1N∑iℓ(ξ^i)\frac1N\sum_i\ell(\hat\xi_i)N1​∑i​ℓ(ξ^​i​), the objective of (12b) converges to it as λ→∞\lambda\to\inftyλ→∞, and (12a) is again an equality.
  5. (12e) is an equality. For each constraint, sup⁡ξ∈Ξ(ℓk(ξ)−λ∥ξ−ξ^i∥)=min⁡∥z∥∗≤λsup⁡ξ∈Ξ(ℓk(ξ)−⟨z,ξ−ξ^i⟩)\sup_{\xi\in\Xi}(\ell_k(\xi)-\lambda\|\xi-\hat\xi_i\|)=\min_{\|z\|_*\le\lambda}\sup_{\xi\in\Xi}(\ell_k(\xi)-\langle z,\xi-\hat\xi_i\rangle)supξ∈Ξ​(ℓk​(ξ)−λ∥ξ−ξ^​i​∥)=min∥z∥∗​≤λ​supξ∈Ξ​(ℓk​(ξ)−⟨z,ξ−ξ^​i​⟩).
  6. (10) equals (12f) under Assumption 4.1.
  7. (12f) equals (11) under Assumption 4.1, as optimal values.

Significance

Theorem 4.2 is what makes Wasserstein distributionally robust optimization computable. Once the worst-case expectation is a convex program in (λ,s,z,ν)(\lambda,s,z,\nu)(λ,s,z,ν), minimizing over the decision xxx becomes one larger convex program. Section 5 of the paper derives linear and conic programs from it for piecewise affine losses, uncertainty quantification and two-stage problems. Theorem 4.4 of the same paper (mission II of this series) builds worst-case distributions from the same program. Corollary 4.3 gives a conservative convex bound for losses that are not piecewise concave.

The result is proved on paper; no machine-checked proof of it is known. A formal development needs a working theory of extended-valued conjugates, support functions and inf-convolution in a normed space, Kantorovich-type couplings of an empirical measure, and a minimax theorem over a compact dual ball. Each of these is reusable well beyond this paper.

Difficulty

The weak inequality, (10) ≤\le≤ (12f), is the elementary direction: integrate a pointwise bound against a near-optimal coupling. The difficulty lies in the two equalities. Equality in (12a) is strong duality for an infinite-dimensional moment problem whose loss may take the values ±∞\pm\infty±∞ and may be unbounded on an unbounded Ξ\XiΞ. A Slater point exists only for ε>0\varepsilon>0ε>0, so ε=0\varepsilon=0ε=0 needs a separate limit argument. The equality (12f) === (11) is subtle as well. The conjugate of −ℓk+χΞ-\ell_k+\chi_\Xi−ℓk​+χΞ​ is only the closure of the inf-convolution of [−ℓk]∗[-\ell_k]^*[−ℓk​]∗ and σΞ\sigma_\XiσΞ​, so the two constraint sets differ and only the optimal values agree. The paper's sentence "cl[f]≤0[f]\le 0[f]≤0 iff f≤0f\le0f≤0" is false pointwise and cannot be formalized as written.

Formalization scope

  • Space. EEE is a finite-dimensional real normed space with its Borel σ-algebra. The pairing ⟨z,ξ⟩\langle z,\xi\rangle⟨z,ξ⟩ is application of a continuous linear functional zzz, and ∥z∥∗\|z\|_*∥z∥∗​ is the operator norm. These choices keep the paper's arbitrary norm; §5 of the paper uses the 1- and ∞-norms.
  • Extended reals. Values are in EReal. Mathlib's EReal has ⊤+⊥=⊥\top+\bot=\bot⊤+⊥=⊥, whereas the paper has ∞−∞=∞\infty-\infty=\infty∞−∞=∞, so the expectation treats an infinite positive part separately, and [−ℓk+χΞ]∗(z)[-\ell_k+\chi_\Xi]^*(z)[−ℓk​+χΞ​]∗(z) is written as sup⁡ξ∈Ξ(⟨z,ξ⟩+ℓk(ξ))\sup_{\xi\in\Xi}(\langle z,\xi\rangle+\ell_k(\xi))supξ∈Ξ​(⟨z,ξ⟩+ℓk​(ξ)), with no addition at all. The one EReal sum, [−ℓk]∗+σΞ[-\ell_k]^*+\sigma_\Xi[−ℓk​]∗+σΞ​ in (11), never meets ⊤+⊥\top+\bot⊤+⊥ under Assumption 4.1.
  • Programs. Each optimal value is an infimum over a feasibility predicate with real epigraph variables, so an infeasible program has value +∞+\infty+∞.
  • Ball. The ball is the published WassersteinDRO.Duality.ambiguitySet with p=1p=1p=1 around empiricalDistribution. Its condition Q(Ξc)=0\mathbb Q(\Xi^{\mathrm c})=0Q(Ξc)=0 encodes Q∈M(Ξ)\mathbb Q\in\mathcal M(\Xi)Q∈M(Ξ). The finite first moment is automatic at finite distance from P^N\widehat{\mathbb P}_NPN​.
  • Standing assumptions. Every statement carries N≥1N\ge1N≥1, K≥1K\ge1K≥1, ξ^i∈Ξ\hat\xi_i\in\Xiξ^​i​∈Ξ (§2, p. 5) and measurability of each ℓk\ell_kℓk​ (p. 11). The radius condition is ε≥0\varepsilon\ge0ε≥0, or ε>0\varepsilon>0ε>0 in milestone 3.
  • Assumption 4.1. Convexity of −ℓk-\ell_k−ℓk​ is stated through its real epigraph, because ConvexOn cannot take an EReal codomain.
  • Not trivializable. The statements cannot be made vacuous by an empty ball, because the samples lie in Ξ\XiΞ. They cannot be trivialized by a junk expectation either: the expectation is not guarded by integrability, so a distribution with infinite expected loss makes (10) infinite, exactly as in the paper.

Welcome contributions are reusable lemmas on EReal-valued conjugates and support functions, the decomposition of a coupling with an empirical marginal into conditional distributions, the dual-norm identity max⁡∥z∥∗≤λ⟨z,v⟩=λ∥v∥\max_{\|z\|_*\le\lambda}\langle z,v\rangle=\lambda\|v\|max∥z∥∗​≤λ​⟨z,v⟩=λ∥v∥, and a Sion-type minimax theorem.

Selected references

  • P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric: performance guarantees and tractable reformulations, arXiv:1505.05116v3, 2017; Math. Program. 171 (2018) 115–166. https://arxiv.org/abs/1505.05116v3
  • A. Shapiro, On duality theory of conic linear problems, in M. A. Goberna, M. A. López (eds.), Semi-Infinite Programming, Kluwer, 2001.
  • R. T. Rockafellar, R. J.-B. Wets, Variational Analysis, Springer, 2010 (Theorem 11.23(a), p. 493).
  • D. P. Bertsekas, Convex Optimization Theory, Athena Scientific, 2009 (Proposition 5.5.4).
  • G. Ch. Pflug, A. Pichler, Multistage Stochastic Optimization, Springer, 2014.
  • G. Ch. Pflug, D. Wozabal, Ambiguity in portfolio selection, Quantitative Finance 7 (2007) 435–442.
  • R. Gao, A. J. Kleywegt, Distributionally robust stochastic optimization with Wasserstein distance, arXiv:1604.02199, 2016. https://arxiv.org/abs/1604.02199
  • J. Blanchet, K. Murthy, Quantifying distributional model risk via optimal transport, arXiv:1604.01446, 2016. https://arxiv.org/abs/1604.01446
13 thms2 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryOperations Research·Captain: mikedeng1

Matching, Euler Tours and the Chinese Postman II: The Parity Problem Is a Minimum 1-Matching of the Odd Nodes under Shortest-Path LengthsResearch Paper

Motivation

A postal route that must traverse every street and return to its starting point is a Chinese postman tour. In a street network, crossings are nodes, streets are edges, and the cost of a route is the sum of the lengths of the streets it traverses, counted with repetition. The practical question is which streets must be repeated, and how often. Edmonds and Johnson's 1973 paper separates that question from constructing the resulting tour: choose the repeated edges first, then find an Euler tour of the resulting multigraph. This mission concerns their reduction of the first question to a minimum-weight matching of the odd-degree nodes.

The reduction matters because it turns a route problem with arbitrary repeated edge traversals into a finite pairing problem. The graph of odd nodes is complete, with the weight of a pair given by its shortest-path distance in the original network. A matching chooses which odd nodes to pair, and paths realizing those pairs identify edges to repeat. The paper also explains why overlapping paths can be replaced so that no edge needs to be repeated by this construction more than once (§3, pp. 92–93).

Setting

A graph G=(N,E)G=(N,E)G=(N,E) has finite node and edge sets. Each edge has two distinct endpoints. Different edges may join the same pair of nodes, so parallel streets remain distinct. The graph is connected when every pair of nodes is joined by an edge-labelled walk. A walk records both its node sequence and its edge sequence; a tour is a closed walk. An Euler tour uses each edge exactly once, while a postman tour uses each edge at least once. Edge lengths cec_ece​ are real and nonnegative, as in §2, p. 89.

The degree of vvv is the number of named edges meeting it. Let TTT be the set of nodes of odd degree. For every edge eee, let xe∈Nx_e\in\mathbb Nxe​∈N be the number of additional traversals. The parity equations require a nonnegative integer wvw_vwv​ at each node such that

∑e∋vxe=2wv+bv,bv={1v∈T,0v∉T.\sum_{e\ni v}x_e=2w_v+b_v,\qquad b_v=\begin{cases}1&v\in T,\\0&v\notin T.\end{cases}e∋v∑​xe​=2wv​+bv​,bv​={10​v∈T,v∈/T.​

Their objective is z(x)=∑e∈Ecexez(x)=\sum_{e\in E}c_ex_ez(x)=∑e∈E​ce​xe​. These are the paper's (3.1)–(3.4), with natural-number values encoding integrality and nonnegativity (§3, pp. 90–91). The equations express the even-degree condition after adding xex_exe​ copies of each original edge.

For nodes u,vu,vu,v, write d(u,v)d(u,v)d(u,v) for the length of a shortest path in GGG. This distance is backed by an attaining edge-simple path and is a lower bound on the length of every walk from uuu to vvv. Connectivity and nonnegative edge lengths make that specification meaningful. Let GpG_pGp​ be the complete graph on TTT, with edge {u,v}\{u,v\}{u,v} of weight d(u,v)d(u,v)d(u,v). A 1-matching MMM pairs every node of TTT with exactly one distinct node. Its length is L(M)=∑{u,v}∈Md(u,v)L(M)=\sum_{\{u,v\}\in M}d(u,v)L(M)=∑{u,v}∈M​d(u,v), equivalently half the sum of d(v,f(v))d(v,f(v))d(v,f(v)) over v∈Tv\in Tv∈T for the pairing involution fff (§3, p. 92).

Formalization targets

Odd-node matching reduction

The goal asserts the existence of a 1-matching of the odd nodes and both directions of the cost comparison:

∀M  ∃x satisfying the parity equations:xe∈{0,1}, z(x)≤L(M),\forall M\;\exists x\text{ satisfying the parity equations}:\quad x_e\in\{0,1\},\ z(x)\le L(M),∀M∃x satisfying the parity equations:xe​∈{0,1}, z(x)≤L(M), ∀x satisfying the parity equations  ∃M:L(M)≤z(x).\forall x\text{ satisfying the parity equations}\;\exists M:\quad L(M)\le z(x).∀x satisfying the parity equations∃M:L(M)≤z(x).

The existence conclusion and these comparisons identify the two attained minimum values. The goal does not prescribe a particular matching algorithm. Its supporting targets are the paper's uncrossing of overlapping shortest paths, parity of their union, reduction of multiplicities to zero or one, and decomposition of a parity solution into paths between odd nodes (§3, pp. 92–93).

Postman-tour reduction

The companion target relates a tour's edge counts to the parity equations. A postman tour traverses edge eee exactly 1+xe1+x_e1+xe​ times, and its length is

∑e∈Ece(1+xe)=∑e∈Ece+z(x).\sum_{e\in E}c_e(1+x_e) =\sum_{e\in E}c_e+z(x).e∈E∑​ce​(1+xe​)=e∈E∑​ce​+z(x).

Conversely, positive integer edge counts with even incidence at every node can be ordered into a postman tour of a connected graph. The supporting Euler theorem handles a connected even multigraph (§2, p. 89).

Significance

The matching result characterizes the optimal additional cost of an undirected postman route. It says that the parity correction can be chosen from paths pairing odd nodes, and that no feasible choice of repeated traversals can beat the best such pairing. The companion identifies how that correction becomes an actual tour. The distinction is useful when one wants to change the matching method while retaining the mathematical guarantee on route length.

A formal development would provide a reusable account of finite multigraph walks whose edge names distinguish parallel edges, of shortest-path distances with explicit attainment, and of parity subgraphs decomposed into odd-to-odd paths and even-degree residual tours. These pieces support later formal work on route inspection, TTT-joins, and matching-based graph algorithms. The paper proves the mathematical result. The exact multigraph and cost statements drafted here are open formalization targets; the local prior-art search found related results for simple graphs and metric traveling-salesman models, but no published statement with this paper's objects and conclusion.

Difficulty

A direct shortest-path construction can assign the same original edge to two matching pairs. Simply setting xe=1x_e=1xe​=1 for the union then loses the additivity of path lengths, and setting xe=2x_e=2xe​=2 loses the promised zero-or-one form. The uncrossing claim must control both the matching cost and the number of times each original edge appears. In the converse direction, an arbitrary feasible xxx may contain repeated edges and cycles; the argument must account for these without assuming that every supported edge belongs to a path between odd nodes (§3, pp. 92–93).

Formalization scope

Lean uses the published EdmondsMatching65.Polyhedron.Graph for GGG: finite node and edge types and an endpoint map into unordered node pairs. A proof field excludes loops; distinct edge names may have identical endpoints. Walks use lists of nodes and named edges with zero-based indices, and the one-node, zero-edge walk is allowed. Edge multiplicities and parity witnesses are natural numbers. Costs and shortest-path lengths are real. The distance relation requires both an attaining edge-simple path and a bound against all walks; no real infimum over a possibly empty family is used. The matching is a fixed-point-free involution on the odd nodes, extended by the identity elsewhere, and each pair contributes half of its two directed distance terms.

The goal assumes a connected graph and nonnegative edge lengths, exactly as the section does. The tour-only results require a nonempty node type because a list-based tour must have a starting node; without it an edgeless graph on no nodes would satisfy connectivity and even degree vacuously. The path-decomposition statement permits unused even-degree cycles. No independent set of “odd nodes” is accepted as input: it is computed from the degree of GGG.

The development needs finite multigraph incidence, edge-labelled walks, shortest paths, finite matchings, parity arithmetic, path uncrossing, and Euler tours. Proofs or useful intermediate results for these objects are welcome, including results applicable to multigraphs beyond the postman setting.

Selected references

  • Jack Edmonds and Ellis L. Johnson, Matching, Euler tours and the Chinese postman, Mathematical Programming 5 (1973), 88–124. DOI: 10.1007/BF01580113.
8 thms2 active usersReviewed
CombinatoricsGraph TheoryOperations Research·Captain: mikedeng1

Matching, Euler Tours and the Chinese Postman IV: Every Connected, Even, Symmetric Mixed Graph Has an Euler TourResearch Paper

Motivation

A postman, a snowplough or a street sweeper must traverse every street of a district and return to the depot. When some streets are one-way, the street network is a mixed graph: some edges are directed and must be traversed in a prescribed direction, the others are undirected and may be traversed either way. The first question about such a route is whether a closed route exists that traverses every street exactly once, an Euler tour of the mixed graph. When one exists, it is an optimal postman route; when none exists, the postman problem asks which streets to repeat.

J. Edmonds and E.L. Johnson treat this question in §6 of Matching, Euler tours and the Chinese postman (Mathematical Programming 5, 1973), the paper that solved the undirected Chinese postman problem by matching. Section 6 gives an algorithm that finds an Euler tour in any mixed graph that is connected, of even degree and symmetric, and §7 uses it for the mixed postman problem.

Timeline.

  • 1736: Euler's condition for undirected graphs (even degrees, connectivity).
  • 1951: T. van Aardenne-Ehrenfest and N.G. de Bruijn enumerate the Euler tours of a symmetric directed graph through spanning arborescences ("circuits and trees in oriented linear graphs"). Edmonds and Johnson cite this as the source of their arborescence rule.
  • 1962: L.R. Ford and D.R. Fulkerson (Flows in Networks, §II.7) characterize, by a flow argument, when a mixed graph has an Euler tour without assuming symmetry.
  • 1973: Edmonds and Johnson give the combined orientation and Rule algorithm of §6 for connected, even, symmetric mixed graphs, and the existence criterion of §7 for mixed postman tours.
  • 1976: C.H. Papadimitriou shows the mixed postman problem NP-hard, so the polynomial-time picture of §6 does not extend to its optimization version.

Setting

A mixed graph GGG has a finite set NNN of nodes and a finite set EEE of edges. Each edge eee meets two distinct nodes; several edges may meet the same pair of nodes. Some edges are directed: an edge directed away from node iii toward node jjj must be traversed from iii to jjj. In Lean an edge has a tail, a head (distinct) and a Boolean directed; for an undirected edge the order of the two ends carries no meaning.

  • The degree of a node is the total number of edges, regardless of direction, meeting it. GGG is even if every degree is even.
  • out⁡(n)\operatorname{out}(n)out(n) and in⁡(n)\operatorname{in}(n)in(n) count the directed edges directed away from and toward nnn. GGG is symmetric if out⁡(n)=in⁡(n)\operatorname{out}(n)=\operatorname{in}(n)out(n)=in(n) for every node nnn.
  • GGG is connected if it is connected when the directions on the edges are ignored.
  • A mixed walk is a sequence (n1,e1,n2,…,el,nl+1)(n_1,e_1,n_2,\dots,e_l,n_{l+1})(n1​,e1​,n2​,…,el​,nl+1​) in which each directed eie_iei​ goes from its tail nin_ini​ to its head ni+1n_{i+1}ni+1​ and each undirected eie_iei​ meets nin_ini​ and ni+1n_{i+1}ni+1​. It is a tour if nl+1=n1n_{l+1}=n_1nl+1​=n1​, an Euler tour if it contains every edge exactly once, and a postman tour if it contains every edge at least once.
  • An arborescence with root rrr is a tree TTT of directed edges in which every node n≠rn\neq rn=r of TTT has precisely one edge of TTT directed away from nnn. Following those edges from any node of TTT leads to rrr. It is spanning if it contains every node.

Formalization targets

Goal: the mixed Euler tour theorem (§6, pp. 115–118)

If GGG is connected, even and symmetric, then for every node rrr

∃ (r=n1,e1,…,el,nl+1=r) a mixed Euler tour of G.\exists\ (r=n_1,e_1,\dots,e_l,n_{l+1}=r)\ \text{a mixed Euler tour of } G .∃ (r=n1​,e1​,…,el​,nl+1​=r) a mixed Euler tour of G.

Milestones

  1. Cut balance (p. 116). If GGG is symmetric, every node set SSS has as many directed edges leaving it as entering it.
  2. Maximal arborescences span (pp. 115–116). Suppose the directed edges form a symmetric, connected spanning subgraph. Then an arborescence of directed edges to which no directed edge entering it from outside can be added contains every node.
  3. The Rule (pp. 116–117). Suppose the directed edges form a symmetric connected spanning subgraph and the undirected edges have even degree. Fix a spanning arborescence with root rrr and order the directed edges leaving each node n≠rn\neq rn=r so that the arborescence edge comes last. Then the following traversal from rrr is an Euler tour: leave by the next unused undirected edge if there is one, otherwise by the next unused directed edge.
  4. The assignment outcome (p. 118). If GGG is connected, even and symmetric, directions can be assigned to some undirected edges so that the result is symmetric, its directed edges form a connected spanning subgraph, and the unassigned edges have even degree.
  5. Mixed postman criterion (§7, p. 120). A connected mixed graph has a postman tour if and only if no nonempty proper node set SSS has every boundary edge directed away from SSS.

Significance

The goal contains two classical theorems as special cases. With every edge undirected it is Euler's theorem for connected even multigraphs. With every edge directed it is the theorem that a connected balanced digraph is Eulerian. The milestones connect the two cases: an orientation reduces the mixed case to one the Rule can handle. The Rule itself is the van Aardenne-Ehrenfest–de Bruijn construction, which underlies the BEST theorem counting Euler tours. Milestone 5 decides whether the mixed postman problem has any feasible solution. The mixed postman problem is the standard model for routing on one-way street networks.

All results here are proved in the paper, so none is open. No Lean proof of any of them in this form is known. Mathlib's Eulerian walks are for simple graphs; it has no multigraph or mixed-graph Euler theorem, no directed Euler theorem and no arborescence-based traversal. The mission produces these, together with a reusable vocabulary of mixed multigraphs, walks that respect directions, and arborescences given by parent edges.

Difficulty

The obvious approach to the goal is to forget the directions and apply Euler's theorem. This fails because the tour it produces may traverse a directed edge backwards. Orienting all undirected edges at once also fails: an arbitrary orientation of the undirected edges need not keep every node balanced.

The difficult part of the Rule is showing that the greedy traversal does not get stuck before using every edge. It cannot stop at a node other than rrr because of the degree conditions. The hard step is showing that no edge is left unused when it stops at rrr. The answer depends on the ordering condition: without the arborescence edge last at every node, the Rule can return to rrr with edges still unused. The assignment step needs an invariant: the orientation must keep every node symmetric while it extends a spanning structure of directed edges.

Formalization scope

  • Graphs. Nodes and edges are finite types (Fintype V, Fintype E). Parallel edges are allowed, including a directed and an undirected edge on the same pair. Loops are excluded (tail e ≠ head e), following the paper's standing setting of §2 (p. 91: edges meet two different nodes). Edges are a type, not a relation on nodes, so parallel edges stay distinct in every walk.
  • Hypotheses as on p. 115. "Even" counts all edges, directed or undirected. "Symmetric" counts only directed edges. "Connected" ignores directions. Strong connectivity is not assumed. "Symmetric" does not mean that every node has even in-degree, and an Euler tour of the underlying undirected multigraph does not satisfy the goal: the tour must traverse each directed edge from its tail to its head.
  • Walks are a node list and an edge list of length one less. The one-node walk is allowed, so the graph with one node and no edges satisfies the goal.
  • Arborescences are given by an optional edge ana_nan​ at each node, with an edge required for each non-root node of WWW; following those edges leads to rrr. A maximal arborescence is one where no directed edge enters WWW from outside. The optional choice represents the root-only arborescence when the graph has no edges.
  • The Rule is computed by a fuel-bounded traversal (at most ∣E∣|E|∣E∣ steps) that keeps a global list of used edges. Its conclusion is that the computed sequences form a mixed Euler tour from rrr.
  • The assignment is an existential statement over a second mixed graph G′G'G′ on the same edges, with the same unordered ends and every directed edge kept. The paper's algorithm (Steps 0–3) is not formalized.
  • Postman criterion. "Proper subset" means nonempty and proper. Connectivity is assumed, as throughout §7, and the node set is nonempty (with no nodes there is no tour, while the criterion holds vacuously).
  • Not formalized. The §7 evenness argument (p. 122) and the min-cost flow formulations are outside the scope.

Contributions are welcome at every level: proofs of the milestones, a direct proof of the goal, and general lemmas about mixed multigraph walks.

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
  • T. van Aardenne-Ehrenfest and N.G. de Bruijn, Circuits and trees in oriented linear graphs, Simon Stevin 28 (1951) 203–217.
  • L.R. Ford and D.R. Fulkerson, Flows in Networks, Princeton University Press, 1962.
  • C.H. Papadimitriou, On the complexity of edge traversing, Journal of the ACM 23 (1976) 544–554. https://doi.org/10.1145/321958.321974
7 thms2 active usersReviewed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

Perfect Equilibrium in a Bargaining Model: The Perfect Equilibrium Partitions Are the Nonempty Closed Intervals A = Δ₁ and B = Δ₂ = A − εResearch Paper

Motivation

Alternating-offer bargaining asks how an agreement is selected when two people can keep making proposals until one accepts. A prediction based only on behavior at the start may rely on threats that would no longer be sensible after a rejection. Ariel Rubinstein's 1982 paper studies strategies after every possible sequence of offers and gives a characterization of the partitions compatible with perfect equilibrium. Its setting has a unit pie, complete information, no fixed last round, and preferences that may describe more than a particular discount formula.

The question matters for sequential bargaining models in which the order of moves and the cost of delay affect the agreement. The paper distinguishes the set obtained when player 1 offers first from the set obtained when player 2 offers first. It also provides applications to fixed bargaining costs and fixed discount factors. This mission targets the paper's general characterization, from which those examples can be studied without building a new equilibrium concept for each preference family.

Setting

A partition is a number s∈S=[0,1]s\in S=[0,1]s∈S=[0,1]: player 1 receives sss of the unit pie and player 2 receives 1−s1-s1−s. An outcome (s,t)(s,t)(s,t) means that the offer sss is accepted in period ttt; (0,∞)(0,\infty)(0,∞) denotes perpetual disagreement. Periods of actual play start at 1. The paper also uses (s,0)(s,0)(s,0) when comparing acceptance of a current offer with a future outcome. Each player i∈{1,2}i\in\{1,2\}i∈{1,2} has a complete, reflexive, transitive preference relation ≽i\succcurlyeq_i≽i​ on outcomes. Strict preference ≻i\succ_i≻i​ and indifference ∼i\sim_i∼i​ are derived from it.

The game alternates proposals and responses. One player offers a partition, the other accepts or rejects, and rejection makes the responder the next proposer. A strategy specifies what a player does after every possible history, including histories inconsistent with the player's earlier plans. A perfect equilibrium requires the relevant player's continuation to withstand every alternative continuation strategy at each rejected history and to make a planned acceptance or rejection consistent with the current offer. The empty history is included, so the opening proposer must also have no profitable deviation.

Write AAA for the set of player-1 shares reached by perfect equilibria when player 1 opens, and BBB for the corresponding set when player 2 opens. Perpetual disagreement contributes no share to either set. Define Δ⊆S×S\Delta\subseteq S\times SΔ⊆S×S by a pair of one-period thresholds: for (x,y)∈Δ(x,y)\in\Delta(x,y)∈Δ, yyy is the smallest share whose immediate acceptance player 1 weakly prefers to (x,1)(x,1)(x,1), and xxx is the largest share whose immediate acceptance player 2 weakly prefers to (y,1)(y,1)(y,1). Let Δ1\Delta_1Δ1​ and Δ2\Delta_2Δ2​ be its coordinate projections. All four sets contain numbers interpreted as player-1 shares, even when player 2 moves first. These are the objects of Sections 2–5.

Formalization targets

Characterization

Under the paper's five preference assumptions (A-1)–(A-5), the goal is its THEOREM on p. 106:

A=Δ1≠∅,B=Δ2≠∅,A=\Delta_1\ne\varnothing,\qquad B=\Delta_2\ne\varnothing,A=Δ1​=∅,B=Δ2​=∅,

with AAA and BBB nonempty closed intervals and some e≥0e\ge 0e≥0 satisfying

B={a−e:a∈A}.B=\{a-e:a\in A\}.B={a−e:a∈A}.

The translation parameter is allowed to be zero, and either interval may be a single point. The goal fixes the paper's general shape without choosing a particular utility representation or assuming immediate agreement in every equilibrium.

Milestone statements

The attack path follows Lemmas 1–4 and Propositions 1–4 in their printed order. The lemmas constrain how a partition in one opening order relates to a feasible continuation in the other. Proposition 1 places each pair in Δ\DeltaΔ inside A×BA\times BA×B; Proposition 2 asserts existence; Proposition 3 describes Δ\DeltaΔ as a closed segment parallel to the diagonal; Proposition 4 gives the reverse containment of AAA and BBB in the threshold projections. Each numbered result is a separate theorem target.

Significance

The theorem identifies the full set of equilibrium partitions from preference comparisons one period apart. Nonemptiness says the model admits at least one equilibrium partition in either opening order. The interval conclusion describes cases with multiple equilibrium shares, while the translate relation states exactly how reversing the first mover changes the two sets. In the paper's discounting example, a single share is selected under the stated parameter conditions; in a fixed-cost boundary case, multiple shares can occur. These are applications in Section 6, not assumptions of the general target.

Rubinstein proved the result in 1982. Here the definitions and theorem statements are Lean drafts; the numbered targets and the main theorem still require machine-checked proofs. A local verification module establishes that one discounting instance satisfies the first three axioms and that the paper's Section 3 strategy example accepts its first offer in period 1. Completing the mission would give a reusable formal account of an infinite-horizon alternating-offer game and its subgame equilibrium conditions, alongside the paper's characterization.

Difficulty

A first-round equilibrium condition does not control what a strategy promises after an offer is rejected. The paper's equilibrium definition checks the entire continuation at every history, with the player's role changing after each rejection. As a result, showing that a proposed share is an equilibrium partition requires more than checking the opening offer: the answer and the next proposal must remain consistent throughout the game tree. The model also allows arbitrary complete preferences satisfying axioms, so a calculation with one discount function cannot establish the general theorem.

The boundary at a zero share requires care. Assumption (A-2) asserts strict preference for earlier positive shares; it says nothing directly about a player receiving zero. The printed proof of Lemma 1 invokes it for a comparison that can occur at that boundary. The local lemma drafts explicitly carry the paper's (A-4) closedness axiom to support that comparison. This added assumption, and its propagation to Lemmas 2–4, is disclosed in the audit notes rather than silently attributed to the Section 4 statement.

Formalization scope

Lean represents SSS as the subtype of real numbers in [0,1][0,1][0,1]. Outcomes are an option type: an agreement contains a partition and a natural-number period, while none is perpetual disagreement. This prevents an endless play from acquiring a default last partition. Strategies are unrestricted functions of lists of past offers. The play uses the first accepted offer, with period number one greater than its zero-based sequence index. A subgame after a rejected history restarts the period count and swaps the opening role when the history has odd length. The perfect-equilibrium predicate includes the empty history; acceptance comparisons use period 0 for the offer already on the table.

The threshold correspondence uses actual least and greatest elements among partitions in SSS. No real infimum or supremum supplies a default for an empty candidate set. “Closed interval” in the goal means an explicit [ℓ,u][\ell,u][ℓ,u] with ℓ≤u\ell\le uℓ≤u. “A−eA-eA−e” is the image of AAA under a↦a−ea\mapsto a-ea↦a−e. Proposition 3's “parallel line segment” is the full image of a nonempty interval under x↦(x,x−e)x\mapsto(x,x-e)x↦(x,x−e). These readings exclude a vacuous equilibrium set, a disagreement-to-zero coercion, and a hard-coded discounting special case.

The common outcome and preference definitions, the history-based strategy and play, and the equilibrium predicate are reusable for other alternating-offer questions. Contributions toward their structural properties, the numbered milestones, and the full theorem are in scope. The two displayed claims inside proofs and the fixed-cost and discounting conclusions are deferred to keep this proposal on the theorem's numbered path. Existing platform entries on Nash's axiomatic bargaining solution and a sealed-offer double auction concern different objects; neither supplies this game's equilibrium definition.

Selected references

  • Ariel Rubinstein, Perfect Equilibrium in a Bargaining Model, Econometrica 50(1), 97–109, 1982. DOI 10.2307/1912531.
14 thms1 active userReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimal Transport+1·Captain: mikedeng1

Data-Driven Distributionally Robust Optimization Using the Wasserstein Metric: Performance Guarantees and Tractable Reformulations II: Worst-Case Distributions from a Finite Convex ProgramResearch Paper

Motivation

In data-driven stochastic optimization a decision maker knows the distribution of an uncertain parameter ξ\xiξ only through NNN samples ξ^1,…,ξ^N\hat\xi_1,\dots,\hat\xi_Nξ^​1​,…,ξ^​N​. Wasserstein distributionally robust optimization hedges against this ignorance by evaluating a loss ℓ\ellℓ under the worst distribution in a ball, measured in the Wasserstein metric, around the empirical distribution of the samples. Mohajerin Esfahani and Kuhn (arXiv:1505.05116v3, published in Mathematical Programming 171, 2018) showed that for piecewise concave losses the worst-case expectation is the optimal value of a finite convex program (their Theorem 4.2), which made the approach computationally practical.

Knowing the worst-case value is often not enough. Stress tests of a candidate decision require the extremal distributions themselves: the distributions inside the ball that (nearly) achieve the worst case. Section 4.2 of the paper answers this question. Its Theorem 4.4 shows that the worst case is approached by discrete distributions with at most NKNKNK atoms, read off from near-optimal solutions of a second finite convex program, and its Example 2 shows that a worst-case distribution need not exist at all. This mission formalizes that section. The source is the arXiv preprint version 3 (13 June 2017); all numbering below refers to it.

Setting

Let EEE be a finite-dimensional real vector space with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥ (the paper's Rm\mathbb R^mRm), equipped with its Borel σ\sigmaσ-algebra. Linear functionals zzz on EEE act by ⟨z,ξ⟩\langle z,\xi\rangle⟨z,ξ⟩, and the dual norm is ∥z∥∗=sup⁡∥ξ∥≤1⟨z,ξ⟩\|z\|_* = \sup_{\|\xi\|\le 1}\langle z,\xi\rangle∥z∥∗​=sup∥ξ∥≤1​⟨z,ξ⟩. Extended reals R‾=[−∞,+∞]\overline{\mathbb R} = [-\infty,+\infty]R=[−∞,+∞] follow the paper's conventions 0⋅∞=0/0=00\cdot\infty = 0/0 = 00⋅∞=0/0=0 and ∞−∞=∞\infty - \infty = \infty∞−∞=∞.

  • Samples and empirical distribution. ξ^1,…,ξ^N\hat\xi_1,\dots,\hat\xi_Nξ^​1​,…,ξ^​N​ lie in a set Ξ⊆E\Xi\subseteq EΞ⊆E, and P^N=1N∑iδξ^i\widehat{\mathbb P}_N = \frac1N\sum_i\delta_{\hat\xi_i}PN​=N1​∑i​δξ^​i​​.
  • Wasserstein ball. dW(Q1,Q2)d_W(\mathbb Q_1,\mathbb Q_2)dW​(Q1​,Q2​) is the infimum of ∫∥ξ1−ξ2∥ Π(dξ1,dξ2)\int\|\xi_1-\xi_2\|\,\Pi(d\xi_1,d\xi_2)∫∥ξ1​−ξ2​∥Π(dξ1​,dξ2​) over couplings Π\PiΠ of Q1\mathbb Q_1Q1​ and Q2\mathbb Q_2Q2​, and Bε(P^N)\mathbb B_\varepsilon(\widehat{\mathbb P}_N)Bε​(PN​) is the set of probability distributions supported on Ξ\XiΞ within distance ε\varepsilonε of P^N\widehat{\mathbb P}_NPN​.
  • Loss. ℓ(ξ)=max⁡k≤Kℓk(ξ)\ell(\xi) = \max_{k\le K}\ell_k(\xi)ℓ(ξ)=maxk≤K​ℓk​(ξ) for measurable pieces ℓk:E→R‾\ell_k : E\to\overline{\mathbb R}ℓk​:E→R, and EQ[ℓ(ξ)]=EQ[max⁡{ℓ,0}]+EQ[min⁡{ℓ,0}]\mathbb E^{\mathbb Q}[\ell(\xi)] = \mathbb E^{\mathbb Q}[\max\{\ell,0\}] + \mathbb E^{\mathbb Q}[\min\{\ell,0\}]EQ[ℓ(ξ)]=EQ[max{ℓ,0}]+EQ[min{ℓ,0}].
  • Worst-case expectation (10). sup⁡Q∈Bε(P^N)EQ[ℓ(ξ)]\sup_{\mathbb Q\in\mathbb B_\varepsilon(\widehat{\mathbb P}_N)}\mathbb E^{\mathbb Q}[\ell(\xi)]supQ∈Bε​(PN​)​EQ[ℓ(ξ)].
  • Assumption 4.1. Ξ\XiΞ is convex and closed; every −ℓk-\ell_k−ℓk​ is proper, convex and lower semicontinuous; and no ℓk\ell_kℓk​ is identically −∞-\infty−∞ on Ξ\XiΞ.
  • Program (13). Over weights αik≥0\alpha_{ik}\ge 0αik​≥0 and displacements qik∈Eq_{ik}\in Eqik​∈E,
sup⁡αik,qik 1N∑i=1N∑k=1Kαik ℓk(ξ^i−qikαik)s.t.1N∑i,k∥qik∥≤ε,  ∑kαik=1,  ξ^i−qikαik∈Ξ.\sup_{\alpha_{ik},q_{ik}}\ \frac1N\sum_{i=1}^N\sum_{k=1}^K\alpha_{ik}\,\ell_k\Big(\hat\xi_i-\frac{q_{ik}}{\alpha_{ik}}\Big)\quad\text{s.t.}\quad\frac1N\sum_{i,k}\|q_{ik}\|\le\varepsilon,\ \ \sum_k\alpha_{ik}=1,\ \ \hat\xi_i-\frac{q_{ik}}{\alpha_{ik}}\in\Xi .αik​,qik​sup​ N1​i=1∑N​k=1∑K​αik​ℓk​(ξ^​i​−αik​qik​​)s.t.N1​i,k∑​∥qik​∥≤ε,  k∑​αik​=1,  ξ^​i​−αik​qik​​∈Ξ.

When αik=0\alpha_{ik}=0αik​=0 the last constraint forces qik=0q_{ik}=0qik​=0 and the ikikik-th objective term is 000.

  • Candidate distributions. Q=1N∑i,kαik δξik\mathbb Q = \frac1N\sum_{i,k}\alpha_{ik}\,\delta_{\xi_{ik}}Q=N1​∑i,k​αik​δξik​​ with ξik=ξ^i−qik/αik\xi_{ik} = \hat\xi_i - q_{ik}/\alpha_{ik}ξik​=ξ^​i​−qik​/αik​.

Formalization targets

Goal: Theorem 4.4 (worst-case distributions)

Under Assumption 4.1 and for every ε≥0\varepsilon\ge 0ε≥0,

sup⁡Q∈Bε(P^N)EQ[ℓ(ξ)]=optimal value of (13),\sup_{\mathbb Q\in\mathbb B_\varepsilon(\widehat{\mathbb P}_N)}\mathbb E^{\mathbb Q}[\ell(\xi)] = \text{optimal value of (13)},Q∈Bε​(PN​)sup​EQ[ℓ(ξ)]=optimal value of (13),

and for every feasible sequence (αik(r),qik(r))r(\alpha_{ik}(r),q_{ik}(r))_r(αik​(r),qik​(r))r​ of (13) whose objective values converge to that optimal value, the distributions Qr\mathbb Q_rQr​ lie in Bε(P^N)\mathbb B_\varepsilon(\widehat{\mathbb P}_N)Bε​(PN​) and

sup⁡Q∈Bε(P^N)EQ[ℓ(ξ)]=lim⁡r→∞EQr[ℓ(ξ)]=lim⁡r→∞1N∑i,kαik(r) ℓ(ξik(r)).\sup_{\mathbb Q\in\mathbb B_\varepsilon(\widehat{\mathbb P}_N)}\mathbb E^{\mathbb Q}[\ell(\xi)] = \lim_{r\to\infty}\mathbb E^{\mathbb Q_r}[\ell(\xi)] = \lim_{r\to\infty}\frac1N\sum_{i,k}\alpha_{ik}(r)\,\ell(\xi_{ik}(r)).Q∈Bε​(PN​)sup​EQ[ℓ(ξ)]=r→∞lim​EQr​[ℓ(ξ)]=r→∞lim​N1​i,k∑​αik​(r)ℓ(ξik​(r)).

The limits may be +∞+\infty+∞; no finiteness is assumed.

Milestones, in the order of the proof

The proof starts from (10) = (12f) (proof of Theorem 4.2, p. 13), which is posed in mission I of this series, Wasserstein Worst-Case Expectations as Finite Convex Programs, and is not restated here; it will be linked as a milestone once that mission is live.

  1. Lemma 4.5: inf⁡z⟨z,q−αξ^⟩+αf∗(z)\inf_z\langle z,q-\alpha\hat\xi\rangle+\alpha f^*(z)infz​⟨z,q−αξ^​⟩+αf∗(z) is the extended perspective of q↦−f(ξ^−q)q\mapsto -f(\hat\xi-q)q↦−f(ξ^​−q) for proper, convex, lower semicontinuous fff.
  2. (14d)–(14f): the ikikik-th dual term equals αℓk(ξ^−q/α)−χΞ(ξ^−q/α)\alpha\ell_k(\hat\xi-q/\alpha)-\chi_\Xi(\hat\xi-q/\alpha)αℓk​(ξ^​−q/α)−χΞ​(ξ^​−q/α) under the extended-arithmetic conventions.
  3. (12f) = (13), the first part of the proof of Theorem 4.4.
  4. Qr∈Bε(P^N)\mathbb Q_r\in\mathbb B_\varepsilon(\widehat{\mathbb P}_N)Qr​∈Bε​(PN​) for every feasible point of (13).
  5. EQr[ℓ(ξ)]\mathbb E^{\mathbb Q_r}[\ell(\xi)]EQr​[ℓ(ξ)] equals 1N∑i,kαikℓ(ξik)\frac1N\sum_{i,k}\alpha_{ik}\ell(\xi_{ik})N1​∑i,k​αik​ℓ(ξik​) and is at least the objective of (13) for every feasible point.

Companion results

Corollary 4.6: if Ξ\XiΞ is compact or K=1K=1K=1, the sequence has an accumulation point that defines a worst-case distribution. Example 2: for Ξ=R\Xi=\mathbb RΞ=R, N=1N=1N=1, ξ^1=0\hat\xi_1=0ξ^​1​=0, ℓ=max⁡{0,ξ−1}\ell=\max\{0,\xi-1\}ℓ=max{0,ξ−1}, the worst-case expectation is ε\varepsilonε and, for ε>0\varepsilon>0ε>0, is attained by no distribution in the ball.

Significance

Theorem 4.4 turns the abstract supremum over an infinite-dimensional ball of distributions into a finite-dimensional convex program whose near-optimal solutions are near-worst-case distributions. The atoms ξik\xi_{ik}ξik​ sit within total weighted distance ∑i,kαik∥ξik−ξ^i∥≤Nε\sum_{i,k}\alpha_{ik}\|\xi_{ik}-\hat\xi_i\|\le N\varepsilon∑i,k​αik​∥ξik​−ξ^​i​∥≤Nε of the data, and they may lie off the data, which distinguishes Wasserstein balls from ambiguity sets based on the total variation distance or the Kullback–Leibler divergence. Example 2 marks the boundary: the theorem cannot be upgraded to the existence of a maximizer in general, while Corollary 4.6 names two cases where it can.

The results are proved in the paper; to our knowledge none of them has a machine-checked proof. The formalization adds a precise account of the extended-arithmetic conventions the paper relies on (0⋅∞=00\cdot\infty=00⋅∞=0, q/0∉Eq/0\notin Eq/0∈/E, ∞−∞=∞\infty-\infty=\infty∞−∞=∞), each of which is made explicit in the definitions, and a reusable Lean treatment of extended-valued conjugates and perspective functions on a normed space with an arbitrary norm.

Difficulty

The first claim goes through Lagrangian duality for program (12f), whose constraints involve conjugates that may take the value +∞+\infty+∞; the strong duality and the minimax interchange (14c) must be justified for extended-valued convex functions, not just finite ones. Lemma 4.5 needs the Fenchel–Moreau theorem f∗∗=ff^{**}=ff∗∗=f for proper, convex, lower semicontinuous R‾\overline{\mathbb R}R-valued functions on a finite-dimensional normed space, together with its degenerate case α=0\alpha=0α=0. The second claim is a squeeze argument, but it rests on computing an extended expectation of an R‾\overline{\mathbb R}R-valued function under a discrete measure and on an explicit coupling for the Wasserstein distance. A tempting shortcut, attaining the supremum by a limit distribution, fails: Example 2 shows the maximizing atoms can escape to infinity.

Formalization scope

  • The space is a finite-dimensional real normed space E with [BorelSpace E]; the dual space is StrongDual ℝ E, and the dual norm is the operator norm. All values are in EReal.
  • The Wasserstein distance, the ball (6) and P^N\widehat{\mathbb P}_NPN​ are the published WassersteinDRO.Duality.wassersteinDistance, ambiguitySet (with p=1p=1p=1) and empiricalDistribution.
  • The extended expectation is the published DupacovaWets.Consistency.expect; it integrates the positive and negative parts separately and returns +∞+\infty+∞ when the positive part is infinite; there is no integrability guard, so a distribution with infinite expected loss pushes (10) to +∞+\infty+∞ as in the paper.
  • Program values are infima or suprema over feasibility predicates, so an empty feasible set gives ±∞\pm\infty±∞, never a junk 000. Program (13) encodes αik=0\alpha_{ik}=0αik​=0 by the clauses "qik=0q_{ik}=0qik​=0" and "objective term =0=0=0" (p. 14).
  • Standing assumptions carried as hypotheses: N≥1N\ge1N≥1, K≥1K\ge1K≥1, ξ^i∈Ξ\hat\xi_i\in\Xiξ^​i​∈Ξ (§2), measurability of each ℓk\ell_kℓk​ (p. 11).
  • A trivializing formalization is ruled out: dropping the clause αik=0⇒qik=0\alpha_{ik}=0\Rightarrow q_{ik}=0αik​=0⇒qik​=0 or the hypothesis ξ^i∈Ξ\hat\xi_i\in\Xiξ^​i​∈Ξ would change program (13) or make the ball empty, and both are kept explicitly.
  • The objects shared with mission I (extended expectation, worst-case expectation, conjugate, Assumption 4.1, program (12f)) are restated verbatim in this mission's namespace; they will be merged with mission I's copies. Contributions to the convex-analysis groundwork (extended-valued Fenchel–Moreau, perspective functions) are welcome and reusable beyond this mission.

Selected references

  • P. Mohajerin Esfahani and D. Kuhn, Data-Driven Distributionally Robust Optimization Using the Wasserstein Metric: Performance Guarantees and Tractable Reformulations, Mathematical Programming 171, 2018. Version formalized: arXiv:1505.05116v3.
  • D. P. Bertsekas, Convex Optimization Theory, Athena Scientific, 2009 (Propositions 1.6.1 and 5.5.4, used in the proofs).
  • R. T. Rockafellar and R. J.-B. Wets, Variational Analysis, Springer, 1998. https://doi.org/10.1007/978-3-642-02431-3
  • C. Villani, Optimal Transport: Old and New, Springer, 2009. https://doi.org/10.1007/978-3-540-71050-9
11 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimal TransportProbability+1·Captain: mikedeng1

Data-Driven Distributionally Robust Optimization Using the Wasserstein Metric: Performance Guarantees and Tractable Reformulations III: Asymptotic Consistency of Wasserstein Robust SolutionsResearch Paper

Motivation

Many decisions in operations research and machine learning minimize an expected cost EP[h(x,ξ)]\mathbb E^{P}[h(x,\xi)]EP[h(x,ξ)] whose distribution PPP is unknown and is seen only through NNN independent samples. The sample-average approximation replaces PPP by the empirical distribution and is known to produce decisions with poor out-of-sample performance when NNN is small. Distributionally robust optimization instead minimizes the worst-case expected cost over a set of distributions that are plausible given the data. Mohajerin Esfahani and Kuhn (arXiv:1505.05116v3, published in Mathematical Programming 171, 2018) take this set to be a ball in the Wasserstein metric around the empirical distribution, and show that such balls deliver both finite-sample certificates and asymptotic consistency. This mission formalizes the statistical half of that paper: Section 3 and Appendix A.

A data-driven method should, at a minimum, be consistent: as the sample grows, its optimal value and decisions should approach those of the true problem. For Wasserstein balls this requires a measure concentration inequality for empirical distributions in the Wasserstein metric, which was supplied by Fournier and Guillin (PTRF 2015). The paper combines that inequality with the Kantorovich–Rubinstein duality and the Borel–Cantelli lemma.

Setting

Let EEE be Rm\mathbb R^mRm with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥ and its Borel σ\sigmaσ-algebra. A decision xxx ranges over a feasible set X⊆RnX\subseteq\mathbb R^nX⊆Rn; the random vector ξ\xiξ has distribution PPP, supported on the uncertainty set Ξ⊆E\Xi\subseteq EΞ⊆E; the loss is h:Rn×E→Rh:\mathbb R^n\times E\to\mathbb Rh:Rn×E→R. The true problem (1) has optimal value

J⋆=inf⁡x∈XEP[h(x,ξ)].J^\star=\inf_{x\in X}\mathbb E^P[h(x,\xi)].J⋆=x∈Xinf​EP[h(x,ξ)].

The Wasserstein distance between distributions Q1,Q2Q_1,Q_2Q1​,Q2​ with finite first moment is

dW(Q1,Q2)=inf⁡{∫∥ξ1−ξ2∥ Π(dξ1,dξ2): Π a coupling of Q1 and Q2}.d_W(Q_1,Q_2)=\inf\Big\{\int\|\xi_1-\xi_2\|\,\Pi(d\xi_1,d\xi_2):\ \Pi\text{ a coupling of }Q_1\text{ and }Q_2\Big\}.dW​(Q1​,Q2​)=inf{∫∥ξ1​−ξ2​∥Π(dξ1​,dξ2​): Π a coupling of Q1​ and Q2​}.

Given samples ξ^1,…,ξ^N\hat\xi_1,\dots,\hat\xi_Nξ^​1​,…,ξ^​N​ drawn independently from PPP (joint law PNP^NPN, and P∞P^\inftyP∞ for the infinite sequence), the empirical distribution is P^N=1N∑i=1Nδξ^i\widehat P_N=\frac1N\sum_{i=1}^N\delta_{\hat\xi_i}PN​=N1​∑i=1N​δξ^​i​​, and the Wasserstein ball Bε(P^N)\mathbb B_\varepsilon(\widehat P_N)Bε​(PN​) is the set of distributions QQQ on Ξ\XiΞ with dW(P^N,Q)≤εd_W(\widehat P_N,Q)\le\varepsilondW​(PN​,Q)≤ε. The distributionally robust program (5) has optimal value

J^N=inf⁡x∈X sup⁡Q∈Bε(P^N)EQ[h(x,ξ)],\widehat J_N=\inf_{x\in X}\ \sup_{Q\in\mathbb B_\varepsilon(\widehat P_N)}\mathbb E^Q[h(x,\xi)],JN​=x∈Xinf​ Q∈Bε​(PN​)sup​EQ[h(x,ξ)],

and an optimizer of it is written x^N\widehat x_NxN​.

The light-tail condition (Assumption 3.3) asks for an exponent a>1a>1a>1 with A=EP[exp⁡(∥ξ∥a)]<∞A=\mathbb E^P[\exp(\|\xi\|^a)]<\inftyA=EP[exp(∥ξ∥a)]<∞. Under it, and for m≠2m\ne2m=2, Theorem 3.4 (Fournier–Guillin) gives constants c1,c2>0c_1,c_2>0c1​,c2​>0 with

PN{dW(P,P^N)≥ε}≤{c1e−c2Nεmax⁡{m,2},ε≤1,c1e−c2Nεa,ε>1,(7)P^N\{d_W(P,\widehat P_N)\ge\varepsilon\}\le\begin{cases}c_1e^{-c_2N\varepsilon^{\max\{m,2\}}},&\varepsilon\le1,\\ c_1e^{-c_2N\varepsilon^{a}},&\varepsilon>1,\end{cases}\tag{7}PN{dW​(P,PN​)≥ε}≤{c1​e−c2​Nεmax{m,2},c1​e−c2​Nεa,​ε≤1,ε>1,​(7)

for all N≥1N\ge1N≥1, ε>0\varepsilon>0ε>0. Solving the right-hand side =β=\beta=β for ε\varepsilonε gives the radius

εN(β)=(log⁡(c1β−1)c2N)1/max⁡{m,2} if N≥log⁡(c1β−1)c2,(log⁡(c1β−1)c2N)1/a otherwise.(8)\varepsilon_N(\beta)=\Big(\frac{\log(c_1\beta^{-1})}{c_2N}\Big)^{1/\max\{m,2\}}\text{ if }N\ge\frac{\log(c_1\beta^{-1})}{c_2},\qquad\Big(\frac{\log(c_1\beta^{-1})}{c_2N}\Big)^{1/a}\text{ otherwise}.\tag{8}εN​(β)=(c2​Nlog(c1​β−1)​)1/max{m,2} if N≥c2​log(c1​β−1)​,(c2​Nlog(c1​β−1)​)1/a otherwise.(8)

Formalization targets

Goal: Theorem 3.6 (asymptotic consistency)

Let βN∈(0,1)\beta_N\in(0,1)βN​∈(0,1) with ∑NβN<∞\sum_N\beta_N<\infty∑N​βN​<∞ and εN(βN)→0\varepsilon_N(\beta_N)\to0εN​(βN​)→0, and use the radius εN(βN)\varepsilon_N(\beta_N)εN​(βN​) in (5).

(i) If h(x,⋅)h(x,\cdot)h(x,⋅) is upper semicontinuous on Ξ\XiΞ and ∣h(x,ξ)∣≤L(1+∥ξ∥)|h(x,\xi)|\le L(1+\|\xi\|)∣h(x,ξ)∣≤L(1+∥ξ∥) on X×ΞX\times\XiX×Ξ, then P∞P^\inftyP∞-almost surely

J^N≥J⋆ for all large NandJ^N→J⋆.\widehat J_N\ge J^\star\ \text{for all large }N\quad\text{and}\quad\widehat J_N\to J^\star.JN​≥J⋆ for all large NandJN​→J⋆.

(ii) If moreover XXX is closed and h(⋅,ξ)h(\cdot,\xi)h(⋅,ξ) is lower semicontinuous on XXX, then P∞P^\inftyP∞-almost surely every accumulation point of (x^N)(\widehat x_N)(xN​) is an optimal solution of (1).

Milestones

  1. Theorem 3.5 (finite sample guarantee). For fixed N≥1N\ge1N≥1 and β∈(0,1)\beta\in(0,1)β∈(0,1), with radius εN(β)\varepsilon_N(\beta)εN​(β),
PN{EP[h(x^N,ξ)]>J^N}≤β.P^N\big\{\mathbb E^P[h(\widehat x_N,\xi)]>\widehat J_N\big\}\le\beta.PN{EP[h(xN​,ξ)]>JN​}≤β.
  1. Lemma A.1. An upper semicontinuous hhh on Ξ\XiΞ with h(ξ)≤L(1+∥ξ∥)h(\xi)\le L(1+\|\xi\|)h(ξ)≤L(1+∥ξ∥) is the pointwise limit on Ξ\XiΞ of a non-increasing sequence of Lipschitz functions.
  2. Lemma 3.7 (convergence of distributions). Any data-dependent Q^N∈BεN(βN)(P^N)\widehat Q_N\in\mathbb B_{\varepsilon_N(\beta_N)}(\widehat P_N)Q​N​∈BεN​(βN​)​(PN​) satisfies
P∞{lim⁡N→∞dW(P,Q^N)=0}=1.P^\infty\Big\{\lim_{N\to\infty}d_W(P,\widehat Q_N)=0\Big\}=1.P∞{N→∞lim​dW​(P,Q​N​)=0}=1.

Theorem 3.2 (Kantorovich–Rubinstein duality, dW(Q1,Q2)=sup⁡{∫f dQ1−∫f dQ2: f 1-Lipschitz}d_W(Q_1,Q_2)=\sup\{\int f\,dQ_1-\int f\,dQ_2:\ f\ 1\text{-Lipschitz}\}dW​(Q1​,Q2​)=sup{∫fdQ1​−∫fdQ2​: f 1-Lipschitz}), which the proof of (i) uses, enters as a reference item: the open platform theorem WassersteinDRO.Duality.kantorovich_rubinstein, stated on the whole space for all Borel probability measures. It is not a milestone, because that statement is more general than the paper's version on M(Ξ)\mathcal M(\Xi)M(Ξ) (the two agree for distributions in M(Ξ)\mathcal M(\Xi)M(Ξ) by extending Lipschitz functions from Ξ\XiΞ to the whole space).

A companion item, Example 1 (1), records that upper semicontinuity cannot be dropped in (i): for Ξ=[0,1]\Xi=[0,1]Ξ=[0,1], P=δ0P=\delta_0P=δ0​ and h=1(0,1](ξ)h=\mathbb 1_{(0,1]}(\xi)h=1(0,1]​(ξ) one has J⋆=0J^\star=0J⋆=0 but J^N≥1\widehat J_N\ge1JN​≥1 for every radius ε>0\varepsilon>0ε>0.

Significance

Theorem 3.5 makes the robust optimal value an upper confidence bound on the out-of-sample cost of the robust decision. Theorem 3.6 shows that this protection does not cost consistency: with radii shrinking at a rate governed by summable confidence levels, such as βN=e−N\beta_N=e^{-\sqrt N}βN​=e−N​, both the certificate and the decisions converge to their true counterparts. Together they are the statistical justification for the Wasserstein ambiguity sets that the rest of the paper reformulates as finite convex programs, and they are cited as the reference consistency results for Wasserstein distributionally robust optimization.

All results here are proved in the paper. None of them, nor the Fournier–Guillin inequality, is formalized on Prove2Me or in Mathlib to our knowledge. The mission adds machine-checked versions of the finite-sample and consistency statements, a monotone Lipschitz approximation lemma for semicontinuous functions with linear growth (useful wherever Lipschitz duality has to be extended to semicontinuous integrands), and a convergence lemma for measures in shrinking Wasserstein balls.

Difficulty

The obvious argument for (i) bounds the worst-case expectation by the true expectation plus a Lipschitz constant times the radius. That fails, because hhh is only upper semicontinuous in ξ\xiξ, not Lipschitz, and has no Lipschitz constant to multiply. The expectations of a merely semicontinuous loss must be controlled uniformly over every distribution in the ball, including data-dependent worst-case distributions, and the almost-sure convergence of the empirical distribution alone does not give this. Example 1 of the paper shows that each regularity hypothesis is needed. On the formal side, the Wasserstein distance is an infimum over couplings on a Polish space; even its triangle inequality (gluing of couplings) and the Kantorovich–Rubinstein duality are substantial.

Formalization scope

EEE is a finite-dimensional real normed space with its Borel σ\sigmaσ-algebra (BorelSpace), and mmm is its dimension; decisions live in EuclideanSpace ℝ (Fin n). The definitions dWd_WdW​ (type p=1p=1p=1), P^N\widehat P_NPN​, Bε(P^N)\mathbb B_\varepsilon(\widehat P_N)Bε​(PN​), EQ\mathbb E^QEQ and the worst-case expectation are the published WassersteinDRO.Duality definitions. The optimal values J⋆J^\starJ⋆ and J^N\widehat J_NJN​ are extended reals. Standing conventions and pinned hypotheses:

  • "Supported on Ξ\XiΞ" is P(Ξc)=0P(\Xi^c)=0P(Ξc)=0; Ξ\XiΞ is neither closed nor convex in general. The samples lie in Ξ\XiΞ almost surely, and optimizers and ball selections are required only for samples in Ξ\XiΞ.
  • The constants c1,c2>0c_1,c_2>0c1​,c2​>0 enter as any constants for which (7) holds, which is how (8) is defined from Theorem 3.4. The theorem of Fournier and Guillin is not part of this mission, and m≠2m\ne2m=2 is assumed because (7) and (8) are printed only for m≠2m\ne2m=2.
  • The loss is real-valued. In Theorem 3.5 it is assumed PPP-integrable on XXX, because the worst-case expectation counts only distributions under which the loss is integrable. In Theorem 3.6 the linear growth bound makes this automatic.
  • Probabilities "at least 1−β1-\beta1−β" are stated as bounds on the outer measure of the failure event, and "P∞P^\inftyP∞-almost surely" as an almost-everywhere statement for the product measure on sequences.
  • The paper's "J^N↓J⋆\widehat J_N\downarrow J^\starJN​↓J⋆" is stated as eventual domination J^N≥J⋆\widehat J_N\ge J^\starJN​≥J⋆ plus convergence, which is what its proof establishes; monotonicity in NNN is not claimed.

A statement in which (7) could not hold for any constants would make the goal vacuous. The concentration inequality is satisfiable (for instance by a Dirac distribution with any constants), and εN(β)\varepsilon_N(\beta)εN​(β) is defined by the paper's formula, not chosen freely.

Welcome contributions: the triangle inequality and Kantorovich–Rubinstein duality for dWd_WdW​, the Borel–Cantelli step for product measures, Lemma A.1, and the Fatou argument of (ii).

Selected references

  • P. Mohajerin Esfahani and D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric: performance guarantees and tractable reformulations, Mathematical Programming 171 (2018); source version arXiv:1505.05116v3. https://arxiv.org/abs/1505.05116v3
  • N. Fournier and A. Guillin, On the rate of convergence in Wasserstein distance of the empirical measure, Probability Theory and Related Fields 162 (2015). https://doi.org/10.1007/s00440-014-0583-7
  • L. V. Kantorovich and G. S. Rubinstein, On a space of totally additive functions, Vestnik Leningrad. Univ. 13 (1958).
  • C. Villani, Optimal Transport: Old and New, Springer, 2009. https://doi.org/10.1007/978-3-540-71050-9
  • D. Bertsimas, V. Gupta and N. Kallus, Robust sample average approximation, Mathematical Programming 171 (2018). https://arxiv.org/abs/1408.4445
12 thms2 active usersReviewed
PreviousNext

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