Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Operations Research

2,207 missions · 1,082 completed

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

Missions

Open1125Completed1082All2207
🏆Completed
OptimizationProbability·Captain: mikedeng1

Consumer Returns Policies and Supply Chain Performance 1: With Valuations Learned after Purchase, the Seller's Optimal Policy Is p* = E max(V, s), F̄(q*) = (c − s)/(p* − s), r* = sResearch Paper

Motivation

Retailers accept large volumes of returned merchandise, and a common default is the full refund: a buyer who is unhappy with a product brings it back and gets the whole price back. Many consumers only learn how much they value a product after they have it at home — clothes that do not fit, a gadget that does not suit the buyer's needs. A returns policy therefore plays two roles at once. It raises the buyer's willingness to pay before purchase, and after purchase it decides which units stay with consumers and which go back to the seller to be salvaged.

Xuanming Su's paper Consumer Returns Policies and Supply Chain Performance (SSRN 1020451; published in Manufacturing & Service Operations Management 11(4), 2009, doi:10.1287/msom.1080.0240) puts this effect into a newsvendor model with random demand. The earlier literature it builds on, notably Che (1996) and Davis, Gerstner and Hagerty (1995), asked whether a seller should offer full refunds or no returns at all. Su's model makes the refund amount a separate decision variable. The answer it gives is closed-form and sharp: the optimal refund equals the salvage value. This mission formalizes Sections 3–4 of the paper: the single-seller model, the full-refund benchmark, and the optimal partial refund.

Setting

A seller stocks a quantity q≥0q \ge 0q≥0 before a selling season at unit cost ccc. Unsold and returned units are salvaged at value sss. Market demand is a nonnegative random variable XXX with law DDD, distribution function FFF and Fˉ=1−F\bar F = 1 - FFˉ=1−F. Each consumer who buys learns a valuation VVV after purchase. Valuations are i.i.d. with law ν\nuν and finite mean μ=EV\mu = EVμ=EV, and the standing assumption is μ>c>s≥0\mu > c > s \ge 0μ>c>s≥0.

The seller chooses a price ppp, a quantity qqq and a refund rrr. Once a consumer has bought, they keep the product if V≥rV \ge rV≥r and return it otherwise. The keep and return probabilities are

Gˉ(r)=P(V≥r),G(r)=P(V<r).\bar G(r) = \mathbb P(V \ge r), \qquad G(r) = \mathbb P(V < r).Gˉ(r)=P(V≥r),G(r)=P(V<r).

Before purchase a consumer's expected utility from buying is Emax⁡(V,r)E\max(V, r)Emax(V,r), so this is the reservation price. Every consumer buys if p≤Emax⁡(V,r)p \le E\max(V, r)p≤Emax(V,r) and nobody buys otherwise (the demand rule (6)). With Emin⁡(X,q)E\min(X, q)Emin(X,q) the expected sales of a stock qqq, the seller's expected profit (7)–(8) is

Π(p,q,r)=[(p−s)Gˉ(r)+(p−r)G(r)] Emin⁡(X,q)−(c−s)qif p≤Emax⁡(V,r),\Pi(p,q,r) = \big[(p-s)\bar G(r) + (p-r)G(r)\big]\,E\min(X,q) - (c-s)q \quad\text{if } p \le E\max(V,r),Π(p,q,r)=[(p−s)Gˉ(r)+(p−r)G(r)]Emin(X,q)−(c−s)qif p≤Emax(V,r),

and −(c−s)q-(c-s)q−(c−s)q otherwise. Two special cases serve as benchmarks. Under full refunds (r=pr = pr=p) every consumer buys and the profit is Πfull(p,q)=(p−s)Gˉ(p)Emin⁡(X,q)−(c−s)q\Pi_{\text{full}}(p,q) = (p-s)\bar G(p)E\min(X,q) - (c-s)qΠfull​(p,q)=(p−s)Gˉ(p)Emin(X,q)−(c−s)q, from (1)–(2). Under no returns the price is μ\muμ and the profit is Πno(q)=(μ−s)Emin⁡(X,q)−(c−s)q\Pi_{\text{no}}(q) = (\mu - s)E\min(X,q) - (c-s)qΠno​(q)=(μ−s)Emin(X,q)−(c−s)q, from (3). Social welfare (12)–(13) is the sum of consumer surplus and seller profit, SW(p,q,r)=∫[r,∞)(v−s) dν(v)⋅Emin⁡(X,q)−(c−s)qSW(p,q,r) = \int_{[r,\infty)}(v-s)\,d\nu(v)\cdot E\min(X,q) - (c-s)qSW(p,q,r)=∫[r,∞)​(v−s)dν(v)⋅Emin(X,q)−(c−s)q, again subject to the demand rule.

Formalization targets

Goal: Proposition 2 (p. 11)

With p∗=Emax⁡(V,s)p^* = E\max(V,s)p∗=Emax(V,s), r∗=sr^* = sr∗=s and any q∗q^*q∗ satisfying

Fˉ(q∗)=c−sEmax⁡(V,s)−s,\bar F(q^*) = \frac{c-s}{E\max(V,s) - s},Fˉ(q∗)=Emax(V,s)−sc−s​,

the triple (p∗,q∗,r∗)(p^*, q^*, r^*)(p∗,q∗,r∗) maximizes Π\PiΠ over all prices, all refunds and all quantities q≥0q \ge 0q≥0:

Π(p,q,r)≤Π(p∗,q∗,r∗).\Pi(p,q,r) \le \Pi(p^*, q^*, r^*).Π(p,q,r)≤Π(p∗,q∗,r∗).

Milestones

  1. The reservation price splits as Emax⁡(V,r)=rG(r)+∫[r,∞)v dνE\max(V,r) = rG(r) + \int_{[r,\infty)} v\,d\nuEmax(V,r)=rG(r)+∫[r,∞)​vdν, which is the step (28)→(29) of the proof (p. 26).
  2. At p=Emax⁡(V,r)p = E\max(V,r)p=Emax(V,r) the per-unit margin (p−s)Gˉ(r)+(p−r)G(r)(p-s)\bar G(r) + (p-r)G(r)(p−s)Gˉ(r)+(p−r)G(r) equals ∫[r,∞)(v−s) dν\int_{[r,\infty)}(v-s)\,d\nu∫[r,∞)​(v−s)dν, displays (27)–(30), p. 26.
  3. This integral is maximized at r=sr = sr=s (p. 26).
  4. Hence (Emax⁡(V,s),s)(E\max(V,s), s)(Emax(V,s),s) maximizes the margin subject to p≤Emax⁡(V,r)p \le E\max(V,r)p≤Emax(V,r), the first step of the proof (p. 26).
  5. The newsvendor critical fractile, a reference to a proved platform theorem (p. 26).
  6. Proposition 1(i) (p. 9): under full refunds, p∗∈arg⁡max⁡p(p−s)Gˉ(p)p^* \in \arg\max_p (p-s)\bar G(p)p∗∈argmaxp​(p−s)Gˉ(p) with Fˉ(q∗)=(c−s)/((p∗−s)Gˉ(p∗))\bar F(q^*) = (c-s)/((p^*-s)\bar G(p^*))Fˉ(q∗)=(c−s)/((p∗−s)Gˉ(p∗)) is optimal.
  7. Proposition 1(ii) at s=0s = 0s=0 (p. 26): with nonnegative valuations, no returns beats every full-refund policy.
  8. Corollary 1 (p. 12): the inequality (p−s)Gˉ(p)≤Emax⁡(V,s)−s(p-s)\bar G(p) \le E\max(V,s) - s(p−s)Gˉ(p)≤Emax(V,s)−s (p. 26), and its consequence that partial refunds earn at least the full-refund profit and, for strictly increasing FFF, stock at least as much.
  9. Corollary 2 (p. 13): the triple of Proposition 2 also maximizes social welfare.

Significance

The result separates two things that a full refund ties together: the price and the refund. Setting r=sr = sr=s sends every unit back to its more valuable use. Consumers who value the product above its salvage value keep it, and the rest return it to be salvaged. The price Emax⁡(V,s)E\max(V,s)Emax(V,s) then extracts the whole expected surplus. Consequences follow directly. Partial refunds dominate both full refunds and no returns (Corollary 1). They raise the stocking quantity, which benefits an upstream manufacturer paid per unit ordered. With valuation uncertainty resolved only after purchase, the monopoly outcome is welfare-maximizing (Corollary 2). Section 5 of the paper, formalized in the companion mission, uses Proposition 2's triple as the first-best target that supply chain contracts must implement.

The results are proved on paper with short arguments in Appendix A of the paper. None of them has a machine-checked proof. The mission's contribution is a formal model of consumer returns with the demand rule built in, plus checked versions of Propositions 1–2 and Corollaries 1–2 for general valuation laws (with atoms), not only densities.

Difficulty

The paper's proof treats the problem as separable: first maximize the margin over (p,r)(p, r)(p,r), then solve a newsvendor problem in qqq. Two steps that are routine on paper need care. First, the margin bound must hold over the whole constrained region p≤Emax⁡(V,r)p \le E\max(V, r)p≤Emax(V,r), including refunds above the price and negative prices. It rests on comparing ∫[r,∞)(v−s) dν\int_{[r,\infty)}(v-s)\,d\nu∫[r,∞)​(v−s)dν with ∫[s,∞)(v−s) dν\int_{[s,\infty)}(v-s)\,d\nu∫[s,∞)​(v−s)dν, which needs the closed half-line convention to hold up at atoms of ν\nuν. Second, the newsvendor step must be done for a demand law that may have atoms, where Fˉ\bar FFˉ has no inverse. Without the demand rule the problem is not separable at all: formula (8) alone is unbounded in ppp. Without nonnegativity of demand and quantity it is unbounded in the other direction.

Formalization scope

Lean represents all prices, refunds, costs, quantities and profits as real numbers. The valuation law is a probability measure ν on ℝ with integrable identity, so a density is not required. The demand law is a probability measure D on ℝ with D (Set.Iio 0) = 0. Gˉ(r)\bar G(r)Gˉ(r) is (ν (Set.Ici r)).toReal and G(r)G(r)G(r) is (ν (Set.Iio r)).toReal, following the page's tie rule (keep iff V≥rV \ge rV≥r). Emin⁡(X,q)E\min(X,q)Emin(X,q) is SupplyChainTheory.expSales D q from the published module SupplyChainTheory_contracts, and Fˉ\bar FFˉ is 1 - ProbabilityTheory.cdf D. Printed page numbers equal PDF page numbers throughout the source.

Committed conventions and readings:

  • Demand rule inside the objectives. Profit and welfare are zero-demand cash flows when p>Emax⁡(V,r)p > E\max(V,r)p>Emax(V,r).
  • Nonnegativity. Stocking quantities range over q≥0q \ge 0q≥0 and demand is nonnegative. Both are the page's words ("stocking quantity", "a mass of infinitesimal consumers"), and without them the profit is unbounded.
  • Salvage value. 0≤s0 \le s0≤s, as on p. 26.
  • Optimality, not uniqueness. Every optimum is stated as optimality of the page's closed-form triple. Uniqueness fails when ν\nuν has gaps: if ν\nuν puts no mass on [s,r)[s, r)[s,r), the refund rrr is optimal too.
  • No continuity of FFF for the goal. The goal assumes no continuity of FFF. Existence of q∗q^*q∗ is not claimed.
  • Corollary 1, quantity part. The quantity comparison assumes FFF strictly increasing on [0,∞)[0,\infty)[0,∞), which the proof's Fˉ−1\bar F^{-1}Fˉ−1 presumes. Without it the statement is false.
  • Proposition 1(ii) at s=0s = 0s=0. This case assumes nonnegative valuations. The "sufficiently low" form of Proposition 1(ii) is not formalized.

A trivializing formalization is ruled out: p∗p^*p∗ and r∗r^*r∗ are the explicit values Emax⁡(V,s)E\max(V,s)Emax(V,s) and sss, not an argmax chosen by Classical.choose. The maximization ranges over all (p,r)(p, r)(p,r) and all q≥0q \ge 0q≥0, not a set restricted to r=sr = sr=s. The returned-units cash flow (p−r+s)G(r)(p - r + s)G(r)(p−r+s)G(r) appears in the profit.

The newsvendor step reuses the proved platform theorem SupplyChainTheory.chain_optimal_fractile. The other pieces needed are elementary lemmas on integrals over half-lines and the concavity of q↦Emin⁡(X,q)q \mapsto E\min(X,q)q↦Emin(X,q). They are reusable for any newsvendor-type model. Proofs of any milestone, and a general-law newsvendor optimality lemma that does not need a continuous FFF, are welcome.

Selected references

  • X. Su, Consumer Returns Policies and Supply Chain Performance, SSRN working paper 1020451, version of August 2008. https://ssrn.com/abstract=1020451 — published in Manufacturing & Service Operations Management 11(4), 2009. https://doi.org/10.1287/msom.1080.0240
  • Y.-K. Che, Customer Return Policies for Experience Goods, Journal of Industrial Economics 44(1), 1996. https://doi.org/10.2307/2950560
  • S. Davis, E. Gerstner, M. Hagerty, Money Back Guarantees in Retailing: Matching Products to Consumer Tastes, Journal of Retailing 71(1), 1995. https://doi.org/10.1016/0022-4359(95)90010-1
13 thms4 active usersReviewed
🏆Completed
Machine LearningTheoretical Computer Science·Captain: mikedeng1

The Weighted Majority Algorithm 9: With η Anomalies Every Randomized Learner Can Be Forced to ½ opt(F, 0) + η Expected MistakesResearch Paper

Motivation

Prediction with expert advice asks a learner to predict a binary label on each of a sequence of trials, after seeing the predictions of a pool of candidate functions, and to make few more mistakes than the best member of the pool. Littlestone and Warmuth's The Weighted Majority Algorithm (Inform. and Comput. 108, 1994) gave the deterministic algorithm WM and its randomized variant WMR, and proved worst-case bounds that hold for every sequence of trials, with no probabilistic assumption on the data. Their §8 asks how good such bounds can possibly be when the data contain anomalies: disagreements with a candidate function, counted relative to the best-fitting member of the pool. Such disagreements can arise from noise in the instances or labels, or from instances that do not determine the label.

For the randomized algorithm WMR the expected number of mistakes grows, by Corollary 6.1 of the paper, at rate ln⁡(1/β)/(1−β)\ln(1/\beta)/(1-\beta)ln(1/β)/(1−β) per anomaly, which tends to 111 as β→1\beta \to 1β→1. Theorem 8.2 shows that no randomized learner, however it is built, can do better than rate 111: an adversary who fixes the sequence in advance can force half the noise-free optimum plus one expected mistake per anomaly. Together with the deterministic counterpart, Theorem 8.1 (rate 222), it locates the cost of label noise in online learning exactly. Mistake-bound lower bounds of this kind are a standard reference point for the analysis of online classification and of the expert-advice algorithms descended from WM (Cesa-Bianchi and Lugosi, Prediction, Learning, and Games, 2006).

Timeline: Littlestone (1988) characterized the optimal noise-free mistake bound opt(F,0)\mathrm{opt}(F,0)opt(F,0) by complete mistake trees (the Littlestone dimension); Littlestone and Warmuth (FOCS 1989; journal version 1994) introduced WM and WMR and proved Theorems 8.1 and 8.2.

Setting

Let XXX be an arbitrary domain and FFF a pool of functions X→{0,1}X \to \{0,1\}X→{0,1}, finite or infinite. A trial is a pair (x,y)(x,y)(x,y) with x∈Xx\in Xx∈X and y∈{0,1}y\in\{0,1\}y∈{0,1}; a sequence of trials is a finite list S=((x1,y1),…,(xT,yT))\mathcal S = ((x_1,y_1),\dots,(x_T,y_T))S=((x1​,y1​),…,(xT​,yT​)), in which an instance may repeat with different labels. The number of anomalies of S\mathcal SS with respect to fff is #{t:f(xt)≠yt}\#\{t : f(x_t)\ne y_t\}#{t:f(xt​)=yt​}, and SηS_\etaSη​ is the collection of sequences for which some f∈Ff\in Ff∈F has at most η\etaη anomalies.

A deterministic algorithm maps the past trials and the current instance to a predicted label; MA(S)M_A(\mathcal S)MA​(S) counts its wrong predictions, and

opt(F,η)=inf⁡Asup⁡S∈SηMA(S).\mathrm{opt}(F,\eta) = \inf_A \sup_{\mathcal S\in S_\eta} M_A(\mathcal S).opt(F,η)=Ainf​S∈Sη​sup​MA​(S).

A randomized algorithm uses random choices independent of the sequence. On a fixed sequence its behaviour at trial ttt is summarized by pt∈[0,1]p_t\in[0,1]pt​∈[0,1], the probability that it predicts 111 given the preceding instances and labels and the current instance; its expected number of mistakes is ∑t∣pt−yt∣\sum_t |p_t - y_t|∑t​∣pt​−yt​∣, and

optRAND(F,η)=inf⁡Asup⁡S∈Sη∑t=1T∣pt−yt∣,\mathrm{opt}_{\mathrm{RAND}}(F,\eta) = \inf_A \sup_{\mathcal S\in S_\eta} \sum_{t=1}^T |p_t-y_t|,optRAND​(F,η)=Ainf​S∈Sη​sup​t=1∑T​∣pt​−yt​∣,

the infimum ranging over all maps AAA from (past trials, current instance) to pt∈[0,1]p_t \in [0,1]pt​∈[0,1].

Formalization targets

Goal: Theorem 8.2 (p. 252)

For every pool FFF with ∣F∣>1|F|>1∣F∣>1 and every integer η≥0\eta\ge 0η≥0,

optRAND(F,η) ≥ 12 opt(F,0)+η.\mathrm{opt}_{\mathrm{RAND}}(F,\eta)\ \ge\ \tfrac12\,\mathrm{opt}(F,0)+\eta .optRAND​(F,η) ≥ 21​opt(F,0)+η.

Both sides live in [0,∞][0,\infty][0,∞]; when opt(F,0)=∞\mathrm{opt}(F,0)=\inftyopt(F,0)=∞ the statement says optRAND(F,η)=∞\mathrm{opt}_{\mathrm{RAND}}(F,\eta)=\inftyoptRAND​(F,η)=∞.

Milestone: complete mistake trees (§8, p. 251)

"For any pool of functions FFF there exists a complete opt(F,0)\mathrm{opt}(F,0)opt(F,0)-mistake tree" ([Lit88]). On the platform this is the proved Lemma 21.7 of Shalev-Shwartz and Ben-David, MSOA(F)≤Ldim(F)M_{\mathrm{SOA}}(F)\le \mathrm{Ldim}(F)MSOA​(F)≤Ldim(F), together with Lemma 21.6, Ldim(F)≤MA(F)\mathrm{Ldim}(F) \le M_A(F)Ldim(F)≤MA​(F) for every AAA; a tree shattered by FFF is a complete mistake tree.

Significance

The theorem shows that the expected-mistake bound of WMR is optimal in its dependence on the number of anomalies: its coefficient of η\etaη approaches 111, and no randomized learner achieves a smaller one on every pool with two or more functions. It also quantifies the advantage of randomization: the deterministic rate is 222 (Theorem 8.1), the randomized rate is 111, and the noise-free term halves. The lower bound is obliviously adversarial, since the sequence is chosen before any coin is tossed, so it applies equally to the stronger model in which the adversary adapts to the learner's predictions.

The result has been proved since 1994. To our knowledge it has no machine-checked proof; the platform holds the Littlestone-dimension characterization of the noise-free optimum (Shalev-Shwartz and Ben-David, Chapter 21) but no statement about anomalies or randomized lower bounds. This mission formalizes the definitions of anomalies, opt(F,η)\mathrm{opt}(F,\eta)opt(F,η) and optRAND(F,η)\mathrm{opt}_{\mathrm{RAND}}(F,\eta)optRAND​(F,η), and the theorem.

Difficulty

An adversary against a randomized learner cannot react to its predictions: the whole sequence, instances and labels, must be fixed in advance, so the adaptive adversary that proves the deterministic bound is not directly available. The lower bound must instead come from the learner's prediction probabilities, which depend only on the sequence prefix; the content of the theorem is that this information is enough to construct, for every learner, one fixed sequence that stays inside SηS_\etaSη​ while forcing the stated expected count. Taking the infimum over learners inside an extended-real supremum over sequences of every length adds bookkeeping when opt(F,0)\mathrm{opt}(F,0)opt(F,0) is infinite.

Formalization scope

Sequences are Fin T → X × Bool for every T : ℕ. Deterministic algorithms, the mistake count, shattered trees and the Littlestone dimension are reused from the published definition UnderstandingML_Online (OnlineAlg, mistakes, ShattersTree, ldim, soa); randomized algorithms are its OnlineAlgR X := List (X × Bool) → X → ℝ restricted by IsRandAlg to values in [0,1][0,1][0,1], and the expected mistake count is its cumLoss. η\etaη is a natural number. opt(F,η)\mathrm{opt}(F,\eta)opt(F,η) takes values in ℕ∞ and optRAND(F,η)\mathrm{opt}_{\mathrm{RAND}}(F,\eta)optRAND​(F,η) in ℝ≥0∞; the paper's "minimum" is read as an infimum. ∣F∣>1|F|>1∣F∣>1 is F.Nontrivial, which admits infinite pools.

The reduction of randomized algorithms to probability maps is the main modelling choice: on a fixed sequence the expected number of mistakes of any algorithm whose randomization is independent of the sequence equals ∑t∣pt−yt∣\sum_t|p_t-y_t|∑t​∣pt​−yt​∣, and every map with values in [0,1][0,1][0,1] is realized by such an algorithm, so the two infima coincide. Dropping the constraint pt∈[0,1]p_t\in[0,1]pt​∈[0,1], or quantifying only over deterministic algorithms, gives a different quantity and is ruled out.

Needed: the definitions above, and the existence of a complete opt(F,0)\mathrm{opt}(F,0)opt(F,0)-mistake tree, available through the proved platform theorems on ldim and soa. Lemmas relating mistakes along a path of a shattered tree to ldim, and a reusable statement that an oblivious adversary can force expected loss 12\tfrac1221​ per trial, would serve other lower bounds in the Littlestone–Warmuth series and in online learning generally. Contributions of such lemmas are welcome.

Selected references

  • N. Littlestone, M. K. Warmuth, The Weighted Majority Algorithm, Information and Computation 108(2):212–261, 1994. https://doi.org/10.1006/inco.1994.1009
  • N. Littlestone, Learning Quickly When Irrelevant Attributes Abound: A New Linear-Threshold Algorithm, Machine Learning 2:285–318, 1988. https://doi.org/10.1007/BF00116827
  • S. Shalev-Shwartz, S. Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press, 2014, Chapter 21. https://doi.org/10.1017/CBO9781107298019
  • N. Cesa-Bianchi, G. Lugosi, Prediction, Learning, and Games, Cambridge University Press, 2006. https://doi.org/10.1017/CBO9780511546921
7 thms4 active usersReviewed
Algorithmic Game TheoryProbability·Captain: mikedeng1

Worst-Case Equilibria II: On Two Links with Speeds s₁ ≤ s₂ ≤ φs₁ Some Nash Equilibrium Has Expected Makespan 1 + s₂/(s₁ + s₂) Times the Optimum, Reaching φ at s₂ = φs₁Research Paper

Motivation

When many independent users share a network, each routes its own traffic to minimize its own delay, and nobody optimizes the system as a whole. Koutsoupias and Papadimitriou asked how much this lack of coordination can cost: how far the social cost of a Nash equilibrium can be from the social optimum, in the worst case. Their paper Worst-case equilibria (STACS 1999; journal version 2009, doi:10.1016/j.cosrev.2009.04.003) introduced this ratio, later named the price of anarchy, and studied it on the simplest network: parallel links between one source and one destination. The ratio has since become a standard measure of the inefficiency of equilibria in routing, scheduling and auctions (see Chapters 17–20 of Nisan, Roughgarden, Tardos and Vazirani, Algorithmic Game Theory, 2007).

Most of the paper concerns links of equal capacity. Its last result, Theorem 4, turns to two links of different speeds and shows that unequal speeds make equilibria worse: the worst-case ratio rises from 3/23/23/2 for two identical links to the golden ratio φ=(1+5)/2≈1.618\varphi=(1+\sqrt5)/2\approx1.618φ=(1+5​)/2≈1.618.

Timeline. 1999: Koutsoupias and Papadimitriou define the coordination ratio; for two identical links they prove it is exactly 3/23/23/2, and for two links with speeds they give the golden-ratio lower bound of Theorem 4. 2002–2003: Mavronicolas and Spirakis, Koutsoupias, Mavronicolas and Spirakis, and Czumaj and Vöcking determine the asymptotic order of the price of anarchy for mmm identical and for mmm related links (Czumaj–Vöcking, ACM TALG 2007).

Setting

There are nnn agents and mmm parallel links. Agent iii has an amount of traffic wi>0w_i>0wi​>0, and link jjj has a speed sj>0s_j>0sj​>0. A pure profile a=(a1,…,an)a=(a_1,\dots,a_n)a=(a1​,…,an​) sends each agent's whole traffic over one link aia_iai​. The load of link jjj is Lj(a)=∑k: ak=jwkL_j(a)=\sum_{k:\,a_k=j}w_kLj​(a)=∑k:ak​=j​wk​, and an agent on link jjj experiences the delay Lj(a)/sjL_j(a)/s_jLj​(a)/sj​.

A mixed strategy of agent iii is a probability distribution (pi1,…,pim)(p_i^1,\dots,p_i^m)(pi1​,…,pim​) over the links; the agents randomize independently. The expected cost of agent iii is its expected delay. A profile ppp is a Nash equilibrium if no agent can lower its expected cost by changing its own distribution. The expected traffic on link jjj is Mj=∑ipijwiM^j=\sum_i p_i^jw_iMj=∑i​pij​wi​, and the cost to agent iii of placing its traffic on link jjj is

cij=Mj+(1−pij) wisj.(8)c_i^j=\frac{M^j+(1-p_i^j)\,w_i}{s_j}. \tag{8}cij​=sj​Mj+(1−pij​)wi​​.(8)

The social cost of ppp is the expected makespan, the expected maximum delay over the links,

cost⁡(p)=∑a(∏ipiai)max⁡jLj(a)sj,\operatorname{cost}(p)=\sum_a\Big(\prod_i p_i^{a_i}\Big)\max_j\frac{L_j(a)}{s_j},cost(p)=a∑​(i∏​piai​​)jmax​sj​Lj​(a)​,

and opt⁡=min⁡amax⁡jLj(a)/sj\operatorname{opt}=\min_a\max_j L_j(a)/s_jopt=mina​maxj​Lj​(a)/sj​ is the optimal makespan over pure assignments. The price of anarchy is the largest ratio cost⁡(p)/opt⁡\operatorname{cost}(p)/\operatorname{opt}cost(p)/opt over instances and equilibria.

Formalization targets

Goal: Theorem 4 (PDF p. 6)

For two links with speeds 0<s1≤s2≤φs10<s_1\le s_2\le\varphi s_10<s1​≤s2​≤φs1​, there is an instance with positive traffic and a Nash equilibrium ppp with opt⁡>0\operatorname{opt}>0opt>0 and

cost⁡(p)=R⋅opt⁡,R=1+s2s1+s2;\operatorname{cost}(p)=R\cdot\operatorname{opt},\qquad R=1+\frac{s_2}{s_1+s_2};cost(p)=R⋅opt,R=1+s1​+s2​s2​​;

moreover R≤φR\le\varphiR≤φ on this range, and R=φR=\varphiR=φ when s2=φs1s_2=\varphi s_1s2​=φs1​.

Milestones

  1. (8): the expected delay of a pure deviation is cij=(Mj+(1−pij)wi)/sjc_i^j=(M^j+(1-p_i^j)w_i)/s_jcij​=(Mj+(1−pij​)wi​)/sj​.
  2. Support property (§2, applied with speeds): at an equilibrium each agent puts positive probability only on links minimizing cijc_i^jcij​, and its expected cost is ci=min⁡jcijc_i=\min_jc_i^jci​=minj​cij​.
  3. For s1≤s2s_1\le s_2s1​≤s2​, the probabilities p11=s12/(s2(s1+s2))p_1^1=s_1^2/(s_2(s_1+s_2))p11​=s12​/(s2​(s1​+s2​)) and p21=1−s22/(s1(s1+s2))p_2^1=1-s_2^2/(s_1(s_1+s_2))p21​=1−s22​/(s1​(s1​+s2​)) lie in [0,1][0,1][0,1] if and only if s2≤φs1s_2\le\varphi s_1s2​≤φs1​.
  4. With w1=s2w_1=s_2w1​=s2​, w2=s1w_2=s_1w2​=s1​, this profile is a Nash equilibrium.
  5. Its social cost is (s1+2s2)/(s1+s2)(s_1+2s_2)/(s_1+s_2)(s1​+2s2​)/(s1​+s2​).
  6. The instance has opt⁡=1\operatorname{opt}=1opt=1.
  7. R≤φR\le\varphiR≤φ, with equality at s2/s1=φs_2/s_1=\varphis2​/s1​=φ.

Significance

The result. Theorem 4 shows that the price of anarchy of parallel links depends on the heterogeneity of the links, not only on their number: two identical links have price of anarchy 3/23/23/2 (Theorems 1 and 3 of the paper), while two links of different speeds already reach φ\varphiφ. The setting is that of related (uniformly related) machines, the model in which Czumaj and Vöcking later proved the asymptotic order of the price of anarchy for mmm links.

Formalizing it. The result is proved on paper; this mission produces a machine-checked proof. Beyond the theorem, it yields reusable statements about mixed equilibria of load-balancing games on the published agt_games vocabulary: the closed form (8) of a pure deviation's expected cost and the support characterization of equilibria, both stated for any number of agents and links. A search of the Prove2Me catalog (October 2026) found no formalization of any part of this result.

Difficulty

The arithmetic of the instance is elementary, so the work lies in connecting the paper's computations to the definitions. The paper's notion of equilibrium quantifies over all mixed deviations, and its expected costs are sums over all mnm^nmn pure profiles; the proof reasons instead with the per-link costs cijc_i^jcij​ of (8) and the indifference of each agent between the links it uses. Turning that into a proof requires showing that an agent's expected cost is the pip_ipi​-weighted average of the cijc_i^jcij​ (linearity over independent randomization) and that the average over 222^222 outcomes reduces to the paper's four-term formula. A naive approach that checks only pure deviations does not give the equilibrium property directly; one must pass from pure to mixed deviations. The restriction s2≤φs1s_2\le\varphi s_1s2​≤φs1​ is not cosmetic: beyond it the second agent's probability is negative.

Formalization scope

The game is defined in WorstCaseEq.Speeds.Model on top of the published agt_games definitions (AGT.IsMixedNash, AGT.expectedPayoff, AGT.profileProb). These maximize payoffs, so an agent's payoff is minus its delay. Agents and links are Fin n and Fin m, indexed from 000, so the paper's links 1, 2 and agents 1, 2 are 0, 1. A mixed profile is a real matrix p i j; being a family of probability distributions is part of the Nash condition. Makespan, social cost and opt require at least one link (NeZero m).

The paper does not print the social cost for links with speeds; the computation in the proof of Theorem 4 uses the expected maximum of load divided by speed, and that is the definition. It is not the maximum of the expected loads, a smaller quantity. The page numbers cited are PDF page indices of the journal version (dated April 29, 2009), which prints no page numbers after page 1.

"The price of anarchy is at least RRR" is formalized as the existence of an instance and an equilibrium whose social cost equals RRR times a positive optimum. A quotient cost⁡/opt⁡\operatorname{cost}/\operatorname{opt}cost/opt is avoided because it takes the junk value 000 when opt⁡=0\operatorname{opt}=0opt=0, and the requirement opt⁡>0\operatorname{opt}>0opt>0 rules out degenerate witnesses with no traffic. The ratio conditions s2/s1≤φs_2/s_1\le\varphis2​/s1​≤φ and s2/s1=φs_2/s_1=\varphis2​/s1​=φ are written s2≤φs1s_2\le\varphi s_1s2​≤φs1​ and s2=φs1s_2=\varphi s_1s2​=φs1​ (equivalent since s1>0s_1>0s1​>0), and φ\varphiφ is Mathlib's Real.goldenRatio.

Contributions welcome: proofs of any milestone. Milestones 1 and 2 are general facts about mixed equilibria of weighted load-balancing games and are reusable beyond this mission.

Selected references

  • E. Koutsoupias and C. Papadimitriou, Worst-case equilibria, STACS 1999, LNCS 1563, pp. 404–413, doi:10.1007/3-540-49116-3_38; journal version, Computer Science Review 3(2), 2009, pp. 65–69, doi:10.1016/j.cosrev.2009.04.003.
  • A. Czumaj and B. Vöcking, Tight bounds for worst-case equilibria, ACM Transactions on Algorithms 3(1), 2007, doi:10.1145/1186810.1186814.
  • N. Nisan, T. Roughgarden, É. Tardos and V. Vazirani (eds.), Algorithmic Game Theory, Cambridge University Press, 2007, Chapter 20, doi:10.1017/CBO9780511800481.
11 thms4 active usersReviewed
🏆Completed
Optimization·Captain: mikedeng1

Monotone Comparative Statics III: f(x, t) + p·x Is Quasisupermodular with the Single Crossing Property for Every Price Vector p If and Only If f Is SupermodularResearch Paper

Motivation

Monotone comparative statics asks when the optimal choice of an agent moves in a predictable direction as a parameter of the problem changes: does a firm hire more of every input when the output price rises, does a monopolist raise its price when its marginal cost rises? Topkis (1978) gave a cardinal answer: if the objective f(x,t)f(x,t)f(x,t) is supermodular in the choice xxx and has increasing differences in (x,t)(x,t)(x,t), the set of maximizers is nondecreasing in ttt. Milgrom and Shannon (1994) replaced these conditions by ordinal ones, quasisupermodularity and the single crossing property, and showed in their Monotonicity Theorem that the ordinal conditions are both necessary and sufficient for the argmax to be monotone in the parameter and the constraint set.

Supermodularity is therefore never necessary for monotone comparative statics. Theorem 10 of Milgrom and Shannon identifies a setting where it is: when the objective must keep the ordinal properties after adding an arbitrary linear price term p⋅xp\cdot xp⋅x (or subtracting an arbitrary nonnegative cost w⋅xw\cdot xw⋅x), the only objectives that qualify are the supermodular ones. This is the situation of a price-taking firm whose revenue or cost is linear in its activity levels, and the result explains why supermodularity is the natural assumption in such models even though the ordinal theory does not require it.

Setting

Let XXX be a lattice: a partially ordered set in which every two elements x,yx, yx,y have a least upper bound x∨yx \vee yx∨y (join) and a greatest lower bound x∧yx \wedge yx∧y (meet). On Rn\mathbb{R}^nRn the order is componentwise, so x∨yx \vee yx∨y and x∧yx \wedge yx∧y are the componentwise maximum and minimum; on a product Rn×R\mathbb{R}^n \times \mathbb{R}Rn×R the order is the product order. For p,x∈Rnp, x \in \mathbb{R}^np,x∈Rn, p⋅x=∑ipixip \cdot x = \sum_i p_i x_ip⋅x=∑i​pi​xi​.

A function g:X→Rg : X \to \mathbb{R}g:X→R is supermodular if g(x)+g(y)≤g(x∨y)+g(x∧y)g(x) + g(y) \le g(x \vee y) + g(x \wedge y)g(x)+g(y)≤g(x∨y)+g(x∧y) for all x,y∈Xx, y \in Xx,y∈X. It is quasisupermodular if, for all x,y∈Xx, y \in Xx,y∈X, (i) g(x)≥g(x∧y)g(x) \ge g(x \wedge y)g(x)≥g(x∧y) implies g(x∨y)≥g(y)g(x \vee y) \ge g(y)g(x∨y)≥g(y), and (ii) g(x)>g(x∧y)g(x) > g(x \wedge y)g(x)>g(x∧y) implies g(x∨y)>g(y)g(x \vee y) > g(y)g(x∨y)>g(y).

Let TTT be a partially ordered set and f:X×T→Rf : X \times T \to \mathbb{R}f:X×T→R. The function fff has increasing differences in (x,t)(x, t)(x,t) if for x′≥x′′x' \ge x''x′≥x′′ the difference f(x′,t)−f(x′′,t)f(x', t) - f(x'', t)f(x′,t)−f(x′′,t) is nondecreasing in ttt. It has the single crossing property in (x;t)(x; t)(x;t) if for all x′>x′′x' > x''x′>x′′ and t′>t′′t' > t''t′>t′′, f(x′,t′′)>f(x′′,t′′)f(x', t'') > f(x'', t'')f(x′,t′′)>f(x′′,t′′) implies f(x′,t′)>f(x′′,t′)f(x', t') > f(x'', t')f(x′,t′)>f(x′′,t′), and f(x′,t′′)≥f(x′′,t′′)f(x', t'') \ge f(x'', t'')f(x′,t′′)≥f(x′′,t′′) implies f(x′,t′)≥f(x′′,t′)f(x', t') \ge f(x'', t')f(x′,t′)≥f(x′′,t′). The function fff is quasisupermodular in xxx if f(⋅,t)f(\cdot, t)f(⋅,t) is quasisupermodular for every ttt, and nondecreasing in xxx if f(⋅,t)f(\cdot, t)f(⋅,t) is nondecreasing for every ttt.

In the Lean development the domain Rn\mathbb{R}^nRn is Fin n → ℝ, fff is curried as f : (Fin n → ℝ) → ℝ → ℝ, p⋅xp \cdot xp⋅x is p ⬝ᵥ x, and supermodularity and increasing differences are the published Supermodularity.Monotonicity.SupermodularOn and IncreasingDifferencesOn with the domain Set.univ.

Formalization targets

Goal: Theorem 10 (p. 166)

Let f:Rn×R→Rf : \mathbb{R}^n \times \mathbb{R} \to \mathbb{R}f:Rn×R→R. Then

(∀p∈Rn: f(x,t)+p⋅x is quasisupermodular in x and single crossing in (x;t))  ⟺  f is supermodular,\Big(\forall p \in \mathbb{R}^n:\ f(x,t) + p\cdot x \text{ is quasisupermodular in } x \text{ and single crossing in } (x;t)\Big) \iff f \text{ is supermodular},(∀p∈Rn: f(x,t)+p⋅x is quasisupermodular in x and single crossing in (x;t))⟺f is supermodular,

and, if fff is nondecreasing in xxx,

(∀w∈Rn, w≥0: f(x,t)−w⋅x is quasisupermodular in x and single crossing in (x;t))  ⟺  f is supermodular.\Big(\forall w \in \mathbb{R}^n,\ w \ge 0:\ f(x,t) - w\cdot x \text{ is quasisupermodular in } x \text{ and single crossing in } (x;t)\Big) \iff f \text{ is supermodular}.(∀w∈Rn, w≥0: f(x,t)−w⋅x is quasisupermodular in x and single crossing in (x;t))⟺f is supermodular.

Here "fff is supermodular" means supermodular on the lattice Rn×R\mathbb{R}^n \times \mathbb{R}Rn×R, jointly in (x,t)(x,t)(x,t).

Milestones

  1. Every supermodular function on a lattice is quasisupermodular (p. 164, remark after Theorem 5).
  2. Every function with increasing differences in (x,t)(x, t)(x,t) has the single crossing property in (x;t)(x; t)(x;t) (same remark).
  3. If g+p⋅xg + p\cdot xg+p⋅x is quasisupermodular on Rn\mathbb{R}^nRn for every p∈Rnp \in \mathbb{R}^np∈Rn, then ggg is supermodular (the converse step of the proof of Theorem 10).
  4. The first sentence of Theorem 10 on its own.

Significance

The result. The Monotonicity Theorem shows that the ordinal conditions are exactly what monotone comparative statics needs for a single objective. Theorem 10 shows that the cardinal conditions are exactly what is needed for a family of objectives closed under linear prices. It separates two questions that are often conflated: whether a particular optimization problem has monotone solutions (ordinal), and whether a model's monotonicity conclusion is robust to the prices or costs the modeller adds to it (cardinal). The second sentence specializes to the economically common case of nonnegative input costs, where the restriction to w≥0w \ge 0w≥0 is offset by the monotonicity of fff.

Formalizing it. The result is proved in the paper, with the converse direction given in detail only for the step "supermodular in xxx" and the remaining cases left as "similar arguments". The mission produces machine-checked proofs of both equivalences, including the cases the paper does not write out: the recovery of increasing differences from the single crossing property under all price perturbations, and the recovery under the sign restriction w≥0w \ge 0w≥0. No part of Milgrom and Shannon's paper was found formalized on the platform when this mission was drafted; Topkis's supermodularity theory is partly available on the platform as the Supermodularity.* series.

Difficulty

The forward direction is a chain of short implications. The content is in the converse: from purely ordinal information about many functions one must recover a cardinal inequality. The single crossing property and quasisupermodularity only compare values of one function at two points, so a single perturbation can never yield an inequality between sums of four values; the argument must choose, for each violating configuration, a price vector that makes two of the four values tie, and the choice must be compatible with the sign constraint w≥0w \ge 0w≥0 in the second statement. That compatibility is where the hypothesis that fff is nondecreasing in xxx enters, and without it the second equivalence fails. A second subtlety is the decomposition of joint supermodularity on Rn×R\mathbb{R}^n \times \mathbb{R}Rn×R into supermodularity in xxx and increasing differences in (x,t)(x,t)(x,t), which the paper uses without statement; the platform does not yet have it.

Formalization scope

  • Rn\mathbb{R}^nRn is Fin n → ℝ with Mathlib's pointwise order and lattice operations; n≥0n \ge 0n≥0 is arbitrary. The product Rn×R\mathbb{R}^n \times \mathbb{R}Rn×R carries Mathlib's product order.
  • f:Rn×R→Rf : \mathbb{R}^n \times \mathbb{R} \to \mathbb{R}f:Rn×R→R is curried. "fff is supermodular" is read as joint supermodularity on Rn×R\mathbb{R}^n \times \mathbb{R}Rn×R, as the paper's proof confirms ("If fff is supermodular in (x,t)(x, t)(x,t) …"); with supermodularity in xxx only, the "if" direction would be false.
  • Quasisupermodularity and the single crossing property are the paper's definitions verbatim: strict comparisons x′>x′′x' > x''x′>x′′, t′>t′′t' > t''t′>t′′ in the single crossing property, both the weak and the strict implication in both notions, and quantification over all ordered pairs. The paper's single crossing property is stated for a lattice XXX; the Lean definition only uses the order.
  • The quantifier over ppp (and over w≥0w \ge 0w≥0) is universal and covers both properties at once. The second equivalence keeps −w⋅x- w\cdot x−w⋅x with w≥0w \ge 0w≥0 componentwise and has "nondecreasing in xxx" as its hypothesis only.
  • Trivializing formalizations are ruled out: an existential quantifier over ppp, supermodularity in xxx only on the right-hand side, merging the two sentences with p=−wp = -wp=−w, or dropping the monotonicity hypothesis would each state a different, false or weaker theorem.
  • The definitions QuasiSupermodularOn and SingleCrossing are shared with the two sibling missions on Milgrom and Shannon's Theorems 4 and 8 and will be merged with them. A lemma decomposing supermodularity on a product lattice into supermodularity in each factor and increasing differences would be reusable well beyond this mission; contributions of such general lattice lemmas are welcome.

Selected references

  • P. Milgrom and C. Shannon, Monotone Comparative Statics, Econometrica 62(1), 157–180, 1994. https://doi.org/10.2307/2951479
  • D. M. Topkis, Minimizing a Submodular Function on a Lattice, Operations Research 26(2), 305–321, 1978. https://doi.org/10.1287/opre.26.2.305
  • D. M. Topkis, Supermodularity and Complementarity, Princeton University Press, 1998. https://doi.org/10.1515/9781400822539
9 thms4 active usersReviewed
Complexity TheoryLinear OptimizationOptimization·Captain: mikedeng1

On Adaptive-Step Primal-Dual Interior-Point Algorithms for Linear Programming 3: The Potential-Reduction Algorithm in N∞⁻(β) with ρ − n of Order n² Attains Precision t in O(nt) IterationsResearch Paper

Motivation

Primal–dual interior-point methods solve a linear program by following, approximately, the central path of strictly feasible primal–dual pairs. Two families dominate the theory. Path-following methods keep the iterates in a neighbourhood of the path and measure progress by the duality gap. Potential-reduction methods measure progress by a merit function, the primal–dual potential of Todd and Ye (Todd–Ye 1990), and choose the step to decrease it.

The potential carries a parameter ρ>n\rho > nρ>n. The classical analyses (Ye 1991, Freund, Anstreicher–Bosch, Kojima–Mizuno–Yoshise) give O(n t)O(\sqrt n\,t)O(n​t) iterations with ρ=n+Θ(n)\rho = n + \Theta(\sqrt n)ρ=n+Θ(n​). Practical codes, however, performed better with much larger ρ\rhoρ (McShane–Monma–Shanno, Lustig–Marsten–Shanno). Mizuno, Todd and Ye (Cornell ORIE Technical Report No. 944, 1990, rev. 1991; journal version Math. Oper. Res. 18(4), 1993, doi:10.1287/moor.18.4.964) supply a worst-case justification for a large parameter. With ρ=n+Θ(n2)\rho = n + \Theta(n^2)ρ=n+Θ(n2) and the step chosen to minimise the potential inside the wide neighbourhood N∞−(β)\mathcal N_\infty^-(\beta)N∞−​(β), the method needs O(nt)O(nt)O(nt) iterations. That matches the adaptive-step path-following method in the same neighbourhood (their Theorem 2).

Timeline:

  • 1990: Todd and Ye introduce the primal–dual potential function.
  • 1989–1991: Kojima–Mizuno–Yoshise, Ye, Freund and others prove O(n t)O(\sqrt n\,t)O(n​t) bounds for ρ=n+Θ(n)\rho = n + \Theta(\sqrt n)ρ=n+Θ(n​).
  • 1990–1991: Mizuno, Todd and Ye prove the O(nt)O(nt)O(nt) bound for ρ=n+Θ(n2)\rho = n + \Theta(n^2)ρ=n+Θ(n2) (Theorem 3 of the report formalized here).

Setting

Fix m≥0m \ge 0m≥0, n≥1n \ge 1n≥1, A∈Rm×nA \in \mathbb R^{m\times n}A∈Rm×n, b∈Rmb \in \mathbb R^mb∈Rm, c∈Rnc \in \mathbb R^nc∈Rn. The primal problem is min⁡cTx\min c^TxmincTx subject to Ax=bAx = bAx=b, x≥0x \ge 0x≥0. The dual is max⁡bTy\max b^TymaxbTy subject to ATy+s=cA^Ty + s = cATy+s=c, s≥0s \ge 0s≥0. The strictly feasible set F0\mathcal F^0F0 is the set of pairs (x,s)(x, s)(x,s) with x>0x > 0x>0, s>0s > 0s>0, Ax=bAx = bAx=b and ATy+s=cA^Ty + s = cATy+s=c for some yyy. The duality measure is μ=xTs/n\mu = x^Ts/nμ=xTs/n.

For z∈Rnz \in \mathbb R^nz∈Rn put (z−)j=min⁡{zj,0}(z^-)_j = \min\{z_j, 0\}(z−)j​=min{zj​,0} and ∥z∥∞−=∥z−∥∞\|z\|_\infty^- = \|z^-\|_\infty∥z∥∞−​=∥z−∥∞​. For β∈(0,1)\beta \in (0,1)β∈(0,1), the wide neighbourhood is

N∞−(β)={(x,s)∈F0:∥Xs−μe∥∞−≤βμ},\mathcal N_\infty^-(\beta) = \{(x,s) \in \mathcal F^0 : \|Xs - \mu e\|_\infty^- \le \beta\mu\},N∞−​(β)={(x,s)∈F0:∥Xs−μe∥∞−​≤βμ},

i.e. xjsj≥(1−β)μx_js_j \ge (1-\beta)\muxj​sj​≥(1−β)μ for all jjj, where X=diag(x)X = \mathrm{diag}(x)X=diag(x) and eee is the all-ones vector.

The potential is

ψ(x,s)=ρlog⁡(xTs)−∑j=1nlog⁡(xjsj),ρ>n,\psi(x,s) = \rho\log(x^Ts) - \sum_{j=1}^n \log(x_js_j), \qquad \rho > n,ψ(x,s)=ρlog(xTs)−j=1∑n​log(xj​sj​),ρ>n,

with the natural logarithm. At (x,s)(x,s)(x,s) and for γ∈(0,1)\gamma \in (0,1)γ∈(0,1), a search direction d=(dx,dy,ds)d = (d_x, d_y, d_s)d=(dx​,dy​,ds​) solves

Sdx+Xds=γμe−Xs,Adx=0,ATdy+ds=0,S d_x + X d_s = \gamma\mu e - Xs,\qquad A d_x = 0,\qquad A^Td_y + d_s = 0,Sdx​+Xds​=γμe−Xs,Adx​=0,ATdy​+ds​=0,

and the iterates move along x(θ)=x+θdxx(\theta) = x + \theta d_xx(θ)=x+θdx​, s(θ)=s+θdss(\theta) = s + \theta d_ss(θ)=s+θds​. The scaled vectors are pj=sj/xj (dx)jp_j = \sqrt{s_j/x_j}\,(d_x)_jpj​=sj​/xj​​(dx​)j​ and qj=xj/sj (ds)jq_j = \sqrt{x_j/s_j}\,(d_s)_jqj​=xj​/sj​​(ds​)j​, Pq=(pjqj)jPq = (p_jq_j)_jPq=(pj​qj​)j​, and θ2−=min⁡{1,βγμ/∥Pq∥∞−}\theta_2^- = \min\{1, \beta\gamma\mu/\|Pq\|_\infty^-\}θ2−​=min{1,βγμ/∥Pq∥∞−​}.

Algorithm 3. Start from (x0,s0)∈N∞−(β)(x^0,s^0) \in \mathcal N_\infty^-(\beta)(x0,s0)∈N∞−​(β) with (x0)Ts0≤2t(x^0)^Ts^0 \le 2^t(x0)Ts0≤2t and ψ(x0,s0)≤(ρ−n)t+nlog⁡n\psi(x^0,s^0) \le (\rho-n)t + n\log nψ(x0,s0)≤(ρ−n)t+nlogn. While (xk)Tsk>2−t(x^k)^Ts^k > 2^{-t}(xk)Tsk>2−t, compute ddd at (xk,sk)(x^k, s^k)(xk,sk), choose θˉ\bar\thetaθˉ with (x(θˉ),s(θˉ))∈N∞−(β)(x(\bar\theta), s(\bar\theta)) \in \mathcal N_\infty^-(\beta)(x(θˉ),s(θˉ))∈N∞−​(β) and ψ(x(θˉ),s(θˉ))≤ψ(x(θ),s(θ))\psi(x(\bar\theta), s(\bar\theta)) \le \psi(x(\theta), s(\theta))ψ(x(θˉ),s(θˉ))≤ψ(x(θ),s(θ)) for every θ\thetaθ with (x(θ),s(θ))∈N∞−(β)(x(\theta), s(\theta)) \in \mathcal N_\infty^-(\beta)(x(θ),s(θ))∈N∞−​(β), and move to (x(θˉ),s(θˉ))(x(\bar\theta), s(\bar\theta))(x(θˉ),s(θˉ)).

Formalization targets

Goal: Theorem 3 (p. 11)

Let β,γ∈(0,1)\beta,\gamma \in (0,1)β,γ∈(0,1) with γ≤2(1−β)\gamma \le 2(1-\beta)γ≤2(1−β) and

ρ=n+(3βγ(1−γ)log⁡11−β)n2.\rho = n + \Bigl(\frac{3}{\beta\gamma(1-\gamma)}\log\frac{1}{1-\beta}\Bigr)n^2.ρ=n+(βγ(1−γ)3​log1−β1​)n2.

For every t>0t > 0t>0 and every run of Algorithm 3,

∃ k≤⌈6nt11βγ(1−γ)⌉:(xk)Tsk≤2−t.\exists\, k \le \Bigl\lceil \frac{6nt}{11\beta\gamma(1-\gamma)} \Bigr\rceil:\quad (x^k)^Ts^k \le 2^{-t}.∃k≤⌈11βγ(1−γ)6nt​⌉:(xk)Tsk≤2−t.

The paper states "O(nt)O(nt)O(nt) iterations". The explicit count is the one its own proof yields, and it is stated so that the goal is not an existential over a constant.

Milestones

  1. §5, p. 11. ψ(x,s)=(ρ−n)log⁡(xTs)−∑jlog⁡xjsjxTs/n+nlog⁡n≥(ρ−n)log⁡(xTs)+nlog⁡n\psi(x,s) = (\rho-n)\log(x^Ts) - \sum_j\log\frac{x_js_j}{x^Ts/n} + n\log n \ge (\rho-n)\log(x^Ts) + n\log nψ(x,s)=(ρ−n)log(xTs)−∑j​logxTs/nxj​sj​​+nlogn≥(ρ−n)log(xTs)+nlogn. Hence reducing ψ\psiψ to −(ρ−n)t+nlog⁡n-(\rho-n)t + n\log n−(ρ−n)t+nlogn gives xTs≤2−tx^Ts \le 2^{-t}xTs≤2−t.
  2. (16), p. 12. One step of Algorithm 3 satisfies ψ(x(θˉ),s(θˉ))−ψ(x,s)≤−(3n2θ2−βγ−n)log⁡11−β\psi(x(\bar\theta),s(\bar\theta)) - \psi(x,s) \le -\bigl(\frac{3n^2\theta_2^-}{\beta\gamma} - n\bigr)\log\frac{1}{1-\beta}ψ(x(θˉ),s(θˉ))−ψ(x,s)≤−(βγ3n2θ2−​​−n)log1−β1​.
  3. Proof of Theorem 3, p. 12. For n≥1n \ge 1n≥1, every step decreases ψ\psiψ by at least 11nlog⁡11−β11n\log\frac{1}{1-\beta}11nlog1−β1​.

Significance

The result shows that a potential-reduction method with ρ−n\rho - nρ−n of order n2n^2n2 keeps a polynomial worst-case bound. The earlier analyses cited by the report used ρ−n\rho - nρ−n of order n\sqrt nn​. It thereby gives a worst-case justification for the large parameters that worked in practice. It also connects the two families: the direction is the path-following direction, and only the step rule changes. Corollary 3 of the paper adds that iterations with a small second-order term PqPqPq decrease the potential far more.

The result is proved in the report. As far as the platform's index shows, no part of it has been machine-checked. The platform already holds the potential function (Bertsimas–Tsitsiklis §9.3) and a proved bookkeeping theorem converting a constant per-iteration decrease into an iteration count (Bertsimas–Tsitsiklis Theorem 9.4). This mission adds the analysis of a concrete algorithm: the admissibility of the step θ2−\theta_2^-θ2−​ in N∞−(β)\mathcal N_\infty^-(\beta)N∞−​(β), the potential decrease (16), and the complexity bound.

Difficulty

The step θˉ\bar\thetaθˉ is defined by minimisation, not by an explicit formula, so its decrease must be bounded by comparison with a step whose effect can be computed. That reference step must be shown to stay in the neighbourhood. This requires controlling the second-order term PqPqPq of the Newton direction in the one-sided norm ∥⋅∥∞−\|\cdot\|_\infty^-∥⋅∥∞−​, together with the centrality of the current iterate. A fixed decrease of order nnn arises only because ρ−n\rho - nρ−n is of order n2n^2n2. Below that scale, the duality-gap term of the potential no longer dominates the loss in centrality from a long step.

A second obstacle is specific to formal work. Algorithm 3's rule ranges over every real θ\thetaθ whose point lies in the neighbourhood, and a minimiser need not exist. The goal must hold for every run, including the degenerate ones.

Formalization scope

Vectors are Fin n → ℝ, with index j=1,…,nj = 1,\dots,nj=1,…,n mapped to Fin n; ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​ is Mathlib's sup norm. The general standard-form LP pair is a separate definition, and the neighbourhood and algorithm build on its strict feasibility predicate. ψ\psiψ is the published definition LinearOptimization.interiorPointPotential with q:=ρq := \rhoq:=ρ. It equals (1) at every strictly positive pair, and it is evaluated only at points of N∞−(β)\mathcal N_\infty^-(\beta)N∞−​(β). All logarithms are natural, and 2±t2^{\pm t}2±t are real powers with real t>0t > 0t>0. A run is a pair of sequences satisfying the start conditions and, whenever the current gap exceeds 2−t2^{-t}2−t, the step relation of Algorithm 3. Iterates after termination are unconstrained.

Conventions and repairs:

  • θ2−:=1\theta_2^- := 1θ2−​:=1 when ∥Pq∥∞−=0\|Pq\|_\infty^- = 0∥Pq∥∞−​=0, reading βγμ/0\beta\gamma\mu/0βγμ/0 as +∞+\infty+∞.
  • The per-iteration milestone keeps the page's n≥1n \ge 1n≥1. The paper's step θ2−≥4βγ/n\theta_2^- \ge 4\beta\gamma/nθ2−​≥4βγ/n needs 4βγ≤n4\beta\gamma \le n4βγ≤n, which can fail for n=1n = 1n=1; but for n=1n = 1n=1 the potential is unbounded below along the line inside the neighbourhood, so no step exists and the statement holds vacuously there. The goal keeps n≥1n \ge 1n≥1 as well.
  • The minimisation in Algorithm 3 ranges over all real θ\thetaθ, as printed. It does not range over a segment, and the step is not the largest admissible step of Algorithm 2.
  • Both start conditions are kept: (x0)Ts0≤2t(x^0)^Ts^0 \le 2^t(x0)Ts0≤2t from Algorithm 2 and the potential bound of §5.

A formalization in which no run can exist for any instance, or in which ρ\rhoρ or the iteration count absorbs an instance-dependent constant, would trivialize the goal. The step relation above is satisfiable for n≥2n \ge 2n≥2 whenever the potential attains its minimum along the line, and the count is the explicit expression above.

Needed infrastructure: the algebra of system (2), namely dxTds=0d_x^Td_s = 0dxT​ds​=0, the identity μ(θ)=(1−(1−γ)θ)μ\mu(\theta) = (1-(1-\gamma)\theta)\muμ(θ)=(1−(1−γ)θ)μ, and X(θ)s(θ)−μ(θ)e=(1−θ)(Xs−μe)+θ2PqX(\theta)s(\theta) - \mu(\theta)e = (1-\theta)(Xs - \mu e) + \theta^2 PqX(θ)s(θ)−μ(θ)e=(1−θ)(Xs−μe)+θ2Pq. Also needed are the bounds ∥Pq∥∞≤∥r∥2/4\|Pq\|_\infty \le \|r\|^2/4∥Pq∥∞​≤∥r∥2/4 and ∥r∥2≤nμ\|r\|^2 \le n\mu∥r∥2≤nμ on N∞−(β)\mathcal N_\infty^-(\beta)N∞−​(β) when γ≤2(1−β)\gamma \le 2(1-\beta)γ≤2(1−β), and the arithmetic–geometric mean inequality for ψ\psiψ. These facts are shared with the sibling missions on the predictor–corrector and wide-neighbourhood algorithms of the same paper, and lemmas proved here are welcome there. The proved Bertsimas–Tsitsiklis theorem LinearOptimization.interior_point_potential_reduction is included as a reference item for the final counting step. Its hypotheses quantify over all iterations and need explicit dual iterates, so it does not apply verbatim.

Selected references

  • S. Mizuno, M. J. Todd, Y. Ye, On adaptive-step primal-dual interior-point algorithms for linear programming, Cornell ORIE Technical Report No. 944, 1990, rev. 1991; Mathematics of Operations Research 18(4):964–981, 1993. https://doi.org/10.1287/moor.18.4.964
  • M. J. Todd, Y. Ye, A centered projective algorithm for linear programming, Mathematics of Operations Research 15(3):508–529, 1990. https://doi.org/10.1287/moor.15.3.508
12 thms4 active usersReviewed
🏆Completed
Algorithmic Game TheoryProbability·Captain: mikedeng1

Worst-Case Equilibria I: On Two Identical Parallel Links Every Mixed Nash Equilibrium Has Expected Makespan at Most 3/2 Times the OptimumResearch Paper

Motivation

When many users share a network and each routes its own traffic selfishly, the outcome is a Nash equilibrium rather than a centrally optimized assignment. Koutsoupias and Papadimitriou, in Worst-case equilibria (STACS 1999; journal version 2009), proposed to measure the loss caused by this lack of coordination by the worst-case ratio between the social cost of an equilibrium and the social optimum. The ratio, first called the coordination ratio and now the price of anarchy, became a central quantity of algorithmic game theory, studied for routing, scheduling, congestion games, auctions and network design.

The paper analyses the simplest setting in which the question is nontrivial: agents sending traffic over parallel links, which is the same as scheduling independent jobs on parallel machines with the jobs choosing their machines. For two identical links it determines the price of anarchy exactly.

Timeline.

  • 1999: Koutsoupias and Papadimitriou introduce the model and the measure; on two identical links the price of anarchy is 3/23/23/2, and on mmm identical links it is Ω(log⁡m/log⁡log⁡m)\Omega(\log m/\log\log m)Ω(logm/loglogm), with a nonmatching upper bound in the conference version.
  • 2002: Czumaj and Vöcking, and independently Koutsoupias, Mavronicolas and Spirakis, show that this lower bound is tight for mmm identical links, Θ(log⁡m/log⁡log⁡m)\Theta(\log m/\log\log m)Θ(logm/loglogm); Czumaj and Vöcking also give tight bounds for links of different speeds.

Setting

There are nnn agents and mmm identical parallel links. Agent iii has an amount of traffic wi>0w_i>0wi​>0 to send over one link. A pure profile s=(j1,…,jn)∈{1,…,m}ns=(j_1,\dots,j_n)\in\{1,\dots,m\}^ns=(j1​,…,jn​)∈{1,…,m}n assigns a link to each agent; the load of link jjj is ℓj(s)=∑k: jk=jwk\ell_j(s)=\sum_{k:\,j_k=j}w_kℓj​(s)=∑k:jk​=j​wk​, and the cost of agent iii is ℓji(s)\ell_{j_i}(s)ℓji​​(s), the traffic on its own link.

A mixed strategy of agent iii is a probability distribution (pi1,…,pim)(p_i^1,\dots,p_i^m)(pi1​,…,pim​) on the links; the agents randomize independently, so sss occurs with probability ∏ipiji\prod_i p_i^{j_i}∏i​piji​​. The cost to agent iii of a mixed profile ppp is its expected cost cic_ici​. The profile ppp is a Nash equilibrium if no agent can lower its expected cost by changing its own distribution while the others keep theirs.

The expected traffic on link jjj is Mj=∑ipijwiM^j=\sum_i p_i^jw_iMj=∑i​pij​wi​, and the cost of agent iii when its traffic is assigned to link jjj is cij=wi+∑k≠ipkjwk=Mj+(1−pij)wic_i^j=w_i+\sum_{k\ne i}p_k^jw_k=M^j+(1-p_i^j)w_icij​=wi​+∑k=i​pkj​wk​=Mj+(1−pij​)wi​.

The social cost of ppp is the expected maximum load,

cost=∑j1=1m⋯∑jn=1m∏i=1npiji max⁡j∑k: jk=jwk,\mathrm{cost}=\sum_{j_1=1}^m\cdots\sum_{j_n=1}^m\prod_{i=1}^n p_i^{j_i}\,\max_{j}\sum_{k:\,j_k=j}w_k ,cost=j1​=1∑m​⋯jn​=1∑m​i=1∏n​piji​​jmax​k:jk​=j∑​wk​,

and the social optimum opt\mathrm{opt}opt is the least maximum load over all pure assignments, the optimum of the mmm-way partition problem for w1,…,wnw_1,\dots,w_nw1​,…,wn​.

The proof of the main theorem uses two further quantities: the contribution probability qiq_iqi​, the probability that agent iii is on the (lexicographically first) link of maximum load, and the collision probability tik=∑jpijpkjt_{ik}=\sum_jp_i^jp_k^jtik​=∑j​pij​pkj​ of agents iii and kkk.

Formalization targets

Goal: Theorem 3

For any number nnn of agents with positive traffics and m=2m=2m=2 identical links, every Nash equilibrium ppp satisfies

cost(p) ≤ 32 opt.\mathrm{cost}(p)\ \le\ \frac32\,\mathrm{opt}.cost(p) ≤ 23​opt.

Milestones

In the order the proof of Theorem 3 uses them:

  1. Equation (2): cij=wi+∑k≠ipkjwk=Mj+(1−pij)wic_i^j=w_i+\sum_{k\ne i}p_k^jw_k=M^j+(1-p_i^j)w_icij​=wi​+∑k=i​pkj​wk​=Mj+(1−pij​)wi​ for every mixed profile.
  2. The support property: at an equilibrium agent iii uses only links minimizing cijc_i^jcij​, and ci=min⁡jcijc_i=\min_jc_i^jci​=minj​cij​.
  3. The lower bounds opt≥max⁡{wi, ∑kwk/m}\mathrm{opt}\ge\max\{w_i,\ \sum_kw_k/m\}opt≥max{wi​, ∑k​wk​/m}.
  4. Theorem 2 with (6): at every equilibrium on mmm identical links,
ci ≤ ∑kwkm+m−1m wi ≤ (2−1m)opt.c_i\ \le\ \frac{\sum_kw_k}{m}+\frac{m-1}{m}\,w_i\ \le\ \Big(2-\frac1m\Big)\mathrm{opt}.ci​ ≤ m∑k​wk​​+mm−1​wi​ ≤ (2−m1​)opt.
  1. cost=∑iqiwi\mathrm{cost}=\sum_iq_iw_icost=∑i​qi​wi​.
  2. Inequality (7): qi+qk≤1+tikq_i+q_k\le1+t_{ik}qi​+qk​≤1+tik​ for distinct agents i,ki,ki,k.
  3. ci=wi+∑k≠itikwkc_i=w_i+\sum_{k\ne i}t_{ik}w_kci​=wi​+∑k=i​tik​wk​.
  4. On two links, at every equilibrium, ∑k≠iqkwk≤(32−qi)∑k≠iwk\sum_{k\ne i}q_kw_k\le\big(\tfrac32-q_i\big)\sum_{k\ne i}w_k∑k=i​qk​wk​≤(23​−qi​)∑k=i​wk​.

Companion items

The second sentence of Theorem 1 (on two links some equilibrium has cost=32 opt>0\mathrm{cost}=\tfrac32\,\mathrm{opt}>0cost=23​opt>0), which shows the goal is tight, and the fact from its proof that the uniform profile pij=1/mp_i^j=1/mpij​=1/m of mmm unit agents on mmm links is an equilibrium.

Significance

Theorem 3 and the instance of Theorem 1 show that on two identical links selfish randomized routing never costs more than 50%50\%50% above the optimum, whatever the number of agents and their traffics, and that this factor is attained. Theorem 2 gives a per-agent guarantee for any number of links: the expected cost an individual agent experiences at any equilibrium is within 2−1/m2-1/m2−1/m of the optimum, the same factor as Graham's list-scheduling bound. Together they separate the individual and the social view: individual costs stay within a constant, while the expected maximum load, the social cost, can be a factor Ω(log⁡m/log⁡log⁡m)\Omega(\log m/\log\log m)Ω(logm/loglogm) above the optimum.

The results are proved in the paper. As far as is known they have not been machine-checked. Formalizing them produces a verified model of mixed equilibria in load balancing games, with the social cost as an expected maximum over the product distribution, which is the starting point of the later literature on links with speeds, on general congestion games and on smoothness arguments. The intermediate identities (the contribution and collision probabilities) are reusable for any expected-maximum bound over independent random assignments.

Difficulty

The social cost is an expectation of a maximum over mnm^nmn outcomes, and the equilibrium probabilities are given only implicitly, as the solution of a linear system determined by the agents' supports. The natural first idea, to bound the expected maximum load by the maximum expected load max⁡jMj\max_jM^jmaxj​Mj, fails: the expected maximum can be much larger, and bounding it is exactly what makes the problem hard (for mmm links it grows like the maximum occupancy of mmm balls in mmm bins). Computing the equilibrium probabilities explicitly does not help either; the paper gives them for two links and notes it does not see how to use them to bound the social cost. The argument has to relate the per-agent expected costs, which the equilibrium condition controls, to the expected maximum, which it does not control directly.

Formalization scope

Agents are Fin n and links Fin m (the goal uses Fin 2); the paper's agent iii and link jjj are indices i−1i-1i−1, j−1j-1j−1. A mixed profile is p : Fin n → Fin m → ℝ with p i j =pij=p_i^j=pij​. The game is built on the published definitions agt_games (AGT.IsMixedNash, AGT.expectedPayoff, AGT.profileProb). That vocabulary maximizes payoffs, so the payoff of an agent is minus the load of its link, and the expected cost is minus the expected payoff. The equilibrium is the full mixed Nash condition, including that each pip_ipi​ is a probability distribution; the support description is a milestone, not the definition. The social cost is the expected maximum load over the product distribution, never the maximum expected load. opt\mathrm{opt}opt is a minimum over pure assignments, with the number of links an explicit argument. The lexicographically first maximum link is the lowest-indexed link of maximum load.

Traffics are positive, as in the paper's model; some milestones need only nonnegative traffics or no sign condition, and say so. Statements over mmm links assume m≥1m\ge1m≥1. Price-of-anarchy statements are inequalities cost≤c⋅opt\mathrm{cost}\le c\cdot\mathrm{opt}cost≤c⋅opt for every equilibrium, never a quotient cost/opt\mathrm{cost}/\mathrm{opt}cost/opt, whose value at opt=0\mathrm{opt}=0opt=0 would be a junk 000. A formalization in which the social cost is max⁡jMj\max_jM^jmaxj​Mj, or in which the equilibrium is only a support condition without the requirement that the pip_ipi​ be distributions, would trivialize or falsify the goal and is ruled out by these definitions.

A complete development needs finite sums over the mnm^nmn pure profiles, marginalization of product distributions, and the case analysis of the final step. The marginalization lemmas (summing out the other agents, collision probabilities of independent choices) are reusable beyond this mission. Proofs of the milestones, alternative arguments for Theorem 3, and a proof of Theorem 2 for its own sake are all welcome.

Page numbers are those of the PDF file of the journal version; it prints a page number only on its first page.

Selected references

  • E. Koutsoupias and C. Papadimitriou, Worst-case equilibria, STACS 1999, LNCS 1563, pp. 404–413. https://doi.org/10.1007/3-540-49116-3_38 (this mission cites the authors' journal version of 2009, Computer Science Review 3(2), 65–69, https://doi.org/10.1016/j.cosrev.2009.04.003)
  • A. Czumaj and B. Vöcking, Tight bounds for worst-case equilibria, SODA 2002, pp. 413–420; ACM Transactions on Algorithms 3(1), 2007. https://doi.org/10.1145/1186810.1186814
  • E. Koutsoupias, M. Mavronicolas and P. Spirakis, Approximate equilibria and ball fusion, Theory of Computing Systems 36, 683–693, 2003. https://doi.org/10.1007/s00224-003-1131-5
  • R. L. Graham, Bounds on multiprocessing timing anomalies, SIAM Journal on Applied Mathematics 17(2), 416–429, 1969. https://doi.org/10.1137/0117039
11 thms4 active usersReviewed
🏆Completed
Dynamic ProgrammingLinear OptimizationMarkov Chain+1·Captain: mikedeng1

Linear Programming and Finite Markovian Control Problems VI: Constrained Average Reward — the Limit Points of the Expected State-Action Frequencies Form the Linear Programming PolytopeTextbook

Motivation

A controller of a finite Markov chain often cares about more than one long-run quantity: an inventory manager wants a high average profit while keeping the long-run fraction of stock-outs below a target; a communication network maximizes throughput subject to bounds on average delay or power. Such problems are constrained Markov decision problems: maximize one average reward while other averages, all linear in the long-run frequencies of state-action pairs, are kept below given bounds. Unlike unconstrained problems, they need not have a pure stationary optimal policy, and in general not even a stationary one.

Derman (Finite State Markovian Decision Processes, 1970, Ch. 7) treated the case in which every stationary policy induces a chain with one ergodic class, and solved it by linear programming. Derman and Veinott (1972) proposed a decomposition algorithm for the general multichain case, remarking that until the faces of the relevant polytope are known, routine use of the simplex method is not possible. Section 4.7 of Kallenberg's 1983 monograph (CWI repository) describes that polytope explicitly for the multichain case and derives from one linear program an optimal Markov policy, with conditions under which a stationary optimal policy can be read off. Kallenberg notes that Veinott knew the characterization of the polytope by 1973.

Setting

A finite Markov decision model has a finite state set EEE, for each state iii a finite nonempty set A(i)A(i)A(i) of actions, rewards riar_{ia}ria​ and transition probabilities piaj≥0p_{iaj}\ge0piaj​≥0 with ∑jpiaj=1\sum_j p_{iaj}=1∑j​piaj​=1. A policy RRR chooses, at each time t=1,2,…t=1,2,\dotst=1,2,…, an action in A(it)A(i_t)A(it​) at random, with probabilities that may depend on the entire history (i1,a1,…,at−1,it)(i_1,a_1,\dots,a_{t-1},i_t)(i1​,a1​,…,at−1​,it​). Special classes are the Markov policies CMC_MCM​ (the rule at time ttt ignores the past), the stationary policies CSC_SCS​, written π∞\pi^\inftyπ∞ (one rule π\piπ, with πia≥0\pi_{ia}\ge0πia​≥0 and ∑aπia=1\sum_a\pi_{ia}=1∑a​πia​=1, at every time), and the pure stationary policies CDC_DCD​, written f∞f^\inftyf∞ with f(i)∈A(i)f(i)\in A(i)f(i)∈A(i). All policies form the class CCC.

Fix an initial distribution β\betaβ: βj≥0\beta_j\ge0βj​≥0 and ∑jβj=1\sum_j\beta_j=1∑j​βj​=1, with zeros allowed. The expected state-action frequencies in the first TTT periods are

xjaT(R)=1T∑t=1T∑iβi PR(Xt=j, Yt=a∣X1=i).x^T_{ja}(R)=\frac1T\sum_{t=1}^T\sum_i\beta_i\,\mathbb P_R(X_t=j,\ Y_t=a\mid X_1=i).xjaT​(R)=T1​t=1∑T​i∑​βi​PR​(Xt​=j, Yt​=a∣X1​=i).

X(R)X(R)X(R) is the set of limit points of {xT(R)}T≥1\{x^T(R)\}_{T\ge1}{xT(R)}T≥1​, and C1C_1C1​ the class of policies with exactly one limit point x(R)x(R)x(R). For a class C′C'C′, L(C′)L(C')L(C′) collects the limit points of all R∈C′R\in C'R∈C′, giving LLL, L(M)L(M)L(M), L(C)L(C)L(C) (for C1C_1C1​), L(S)L(S)L(S) and L(D)L(D)L(D). For a stationary π\piπ, P(π)ij=∑apiajπiaP(\pi)_{ij}=\sum_a p_{iaj}\pi_{ia}P(π)ij​=∑a​piaj​πia​, P∗(π)P^*(\pi)P∗(π) is its Cesàro limit, and xja(π)=[βTP∗(π)]jπjax_{ja}(\pi)=[\beta^TP^*(\pi)]_j\pi_{ja}xja​(π)=[βTP∗(π)]j​πja​.

The polytope XXX is the set of xxx for which some yyy satisfies

∑i∑a(δij−piaj)xia=0,∑axja+∑i∑a(δij−piaj)yia=βj(j∈E),x,y≥0.\sum_i\sum_a(\delta_{ij}-p_{iaj})x_{ia}=0,\qquad\sum_a x_{ja}+\sum_i\sum_a(\delta_{ij}-p_{iaj})y_{ia}=\beta_j\quad(j\in E),\qquad x,y\ge0.i∑​a∑​(δij​−piaj​)xia​=0,a∑​xja​+i∑​a∑​(δij​−piaj​)yia​=βj​(j∈E),x,y≥0.

Given constraint data qiakq_{iak}qiak​ and bkb_kbk​, the constrained problem (4.7.5) is sup⁡R∈C1{ϕ(β,R)∣∑i∑aqiakxia(R)≤bk, k=1,…,m}\sup_{R\in C_1}\{\phi(\beta,R)\mid\sum_i\sum_aq_{iak}x_{ia}(R)\le b_k,\ k=1,\dots,m\}supR∈C1​​{ϕ(β,R)∣∑i​∑a​qiak​xia​(R)≤bk​, k=1,…,m}, with ϕ(β,R)\phi(\beta,R)ϕ(β,R) the lim inf of the average expected reward, and the linear program (4.7.6) maximizes ∑i∑ariaxia\sum_i\sum_ar_{ia}x_{ia}∑i​∑a​ria​xia​ over XXX's constraints together with ∑i∑aqiakxia≤bk\sum_i\sum_aq_{iak}x_{ia}\le b_k∑i​∑a​qiak​xia​≤bk​.

Formalization targets

Goal: Theorem 4.7.2

L=X.L=X.L=X.

Every limit point of the expected state-action frequencies of any policy lies in the polytope XXX, and every point of XXX is such a limit point.

Milestones

  • Theorem 4.7.1. L(D)‾=L(S)‾=L(C)=L(M)=L\overline{L(D)}=\overline{L(S)}=L(C)=L(M)=LL(D)​=L(S)​=L(C)=L(M)=L, the bar being the closed convex hull.
  • Lemma 4.7.1. For R∈C1R\in C_1R∈C1​, xja(R)=lim⁡α↑1(1−α)∑t≥1αt−1∑iβiPR(Xt=j,Yt=a∣X1=i)x_{ja}(R)=\lim_{\alpha\uparrow1}(1-\alpha)\sum_{t\ge1}\alpha^{t-1}\sum_i\beta_i\mathbb P_R(X_t=j,Y_t=a\mid X_1=i)xja​(R)=limα↑1​(1−α)∑t≥1​αt−1∑i​βi​PR​(Xt​=j,Yt​=a∣X1​=i).
  • Theorem 4.7.3. Problems (4.7.5) and (4.7.6) have the same feasibility and the same optimum; an optimal policy yields an optimal x(R)x(R)x(R); a Markov policy reproducing a mixture of pure stationary policies with the optimal xxx is optimal.
  • Theorems 4.7.4–4.7.5. If the stationary rule π∗\pi^*π∗ built from an optimal (x∗,y∗)(x^*,y^*)(x∗,y∗) by (4.7.14) satisfies x∗=x(π∗)x^*=x(\pi^*)x∗=x(π∗), then (π∗)∞(\pi^*)^\infty(π∗)∞ is optimal; two sufficient conditions for x∗=x(π∗)x^*=x(\pi^*)x∗=x(π∗).
  • Theorem 4.7.9. If π↦x(π)\pi\mapsto x(\pi)π↦x(π) is continuous, then X=L(S)X=L(S)X=L(S).
  • Lemma 4.6.1 and Theorem 4.7.10. If every pure stationary policy is unichain, so is every stationary one, and then X=L(S)X=L(S)X=L(S).

Significance

The goal identifies the set of achievable long-run behaviours of a multichain Markov decision process with a polytope given by 2∣E∣2|E|2∣E∣ linear equations. Any objective and any constraints that are linear in the frequencies then become one linear program (Theorem 4.7.3), and optimal policies are recovered from its solution. This is the basis of the linear programming approach to constrained average-reward control, later developed by Altman (Constrained Markov Decision Processes, 1999) and others.

The results of this section are proved in the monograph; none has a machine-checked proof. The mission produces a formal account of state-action frequencies under history-dependent policies on a finite model, their limit points, and the multichain LP polytope. The unichain special case is related to Derman's statements posed on the platform (DermanSeqDecisions.LinProg.*, completely ergodic models); the multichain statements here are not posed elsewhere.

Difficulty

The inclusion L⊆XL\subseteq XL⊆X needs a limit point of a history-dependent policy to satisfy the second family of equations, which involves the auxiliary vector yyy; for stationary policies yyy comes from the deviation matrix, but a general policy has no such matrix. The reverse inclusion cannot be obtained by realizing each x∈Xx\in Xx∈X with a stationary policy: Example 4.7.1 of the book exhibits a model where L(S)≠XL(S)\neq XL(S)=X, and a point of L(D)L(D)L(D) that is not an extreme point of XXX. The natural candidate, the stationary rule xia/∑axiax_{ia}/\sum_ax_{ia}xia​/∑a​xia​, is not defined on states with ∑axia=0\sum_a x_{ia}=0∑a​xia​=0, and filling in yyy there does not in general reproduce xxx (Theorem 4.7.5 gives conditions under which it does). In the converse direction, frequencies of general policies need not converge, so arguments must work with all limit points, not with a limit.

Formalization scope

  • The model is the platform definition MarkovDecisionProcesses_AverageReward (reference item): StationaryMDP S A with finite state type S, a common finite action type A, a nonempty admissible Finset per state, rewards, and transition rows that sum to one; policies are its AvgHRPolicy, history-dependent and randomized. Frequency vectors are indexed by the admissible pairs.
  • PR(Xt=j,Yt=a∣X1=i)\mathbb P_R(X_t=j,Y_t=a\mid X_1=i)PR​(Xt​=j,Yt​=a∣X1​=i) is a finite recursive sum over histories; no measure theory is used. Lean's time index starts at 000 (the book's t−1t-1t−1).
  • X(R)X(R)X(R) is the set of limits of convergent subsequences of xT(R)x^T(R)xT(R). Policy classes are predicates that constrain only the weights of admissible actions.
  • P∗P^*P∗ is the limUnder of the Cesàro means 1n∑k=1nPk\frac1n\sum_{k=1}^nP^kn1​∑k=1n​Pk; its existence is the book's Theorem 2.4.1(i) and is not assumed as a hypothesis.
  • β\betaβ is a probability vector with zeros allowed; β≫0\beta\gg0β≫0 is never assumed.
  • The optima in Theorem 4.7.3 are compared in the extended reals, so the infeasible case reads −∞=−∞-\infty=-\infty−∞=−∞.
  • "One ergodic set" is the platform's IsUnichainMatrix (any two recurrent states communicate); Assumption 4.7.1 is IsUnichain.
  • Trivializing formalization ruled out: LLL ranges over all history-dependent randomized policies. Restricting it to stationary policies would replace LLL by L(S)L(S)L(S), for which L(S)=XL(S)=XL(S)=X fails in general.

A complete development needs Cesàro limits of stochastic matrices (Theorem 2.4.1), the stationary-policy correspondence of §4.3, a separating hyperplane in finite dimension, and the Derman–Strauch construction of a Markov policy matching a mixture of policies (Theorem 2.5.1). The frequency and limit-point infrastructure is reusable for any average-reward model on a finite state space. Proofs of any milestone, and of the auxiliary facts above as separate theorems, are welcome.

Selected references

  • L.C.M. Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam, 1983. https://ir.cwi.nl/pub/13008
  • C. Derman, Finite State Markovian Decision Processes, Academic Press, New York, 1970.
  • C. Derman and A.F. Veinott, Constrained Markov decision chains, Management Science 19 (1972), 389–390. https://doi.org/10.1287/mnsc.19.4.389
  • C. Derman and R.E. Strauch, A note on memoryless rules for controlling sequential control problems, Annals of Mathematical Statistics 37 (1966), 276–278. https://doi.org/10.1214/aoms/1177699617
  • E. Altman, Constrained Markov Decision Processes, Chapman & Hall/CRC, 1999. https://doi.org/10.1201/9781315140223
13 thms4 active usersReviewed
Bandit AlgorithmsStochastic Systems·Captain: mikedeng1

On the Gittins Index for Multiarmed Bandits 1: A Policy Falls Short of the Gittins Policy by at Most Its Expected Discounted Excess of the Greatest Prevailing Charge over Its RewardResearch Paper

Motivation

The multiarmed bandit problem asks how to allocate a single resource, one play per period, among several alternative projects whose states evolve only while they are worked on. It models the scheduling of jobs on one machine, the sequencing of research projects, and the design of sequential clinical trials. Gittins and Jones (1974) showed that the problem with discounted rewards is solved by an index policy: compute for every project a number depending only on that project's current state, and always work on a project of greatest index. Weber's paper (Ann. Appl. Probab. 2 (1992)) gives a short proof of this theorem through fair and prevailing charges, and uses the same accounting to derive bounds on how much any other policy loses.

In practice the optimal policy is often not the one used: indices may be expensive to compute, or a simpler heuristic may be preferred. A bound on the loss of an arbitrary policy, computable along that policy's own trajectory, tells a practitioner how far from optimal the chosen heuristic is. This mission formalizes the first such bound of the paper, Theorem 2, which Weber attributes to Glazebrook (1990).

Timeline. Gittins and Jones (1974) and Gittins (1979) proved optimality of the index policy by an interchange argument. Whittle (1980) gave a proof through a retirement option. Glazebrook (1982) bounded the suboptimality of a policy in terms of Gittins indices only; Glazebrook (1990) gave the sharper bound stated here as Theorem 2. Weber (1992) rederived it from the prevailing-charge accounting and added the index-gap bound (Theorem 3) and the submodularity of the optimal value (Theorem 4).

Setting

There are kkk bandits. Bandit iii has a state xi(t)x_i(t)xi​(t) at each epoch t=0,1,2,…t = 0, 1, 2, \dotst=0,1,2,…. At each epoch the gambler plays one bandit j(t)j(t)j(t), receives the reward r(xj(t)(t))r(x_{j(t)}(t))r(xj(t)​(t)), and the state of bandit j(t)j(t)j(t) moves according to a Markov kernel PPP; the states of all other bandits stay unchanged. Rewards are nonnegative and uniformly bounded, and future rewards are discounted by a factor β\betaβ with 0<β<10<\beta<10<β<1. A policy π\piπ chooses j(t)j(t)j(t), possibly at random, as a function of everything observed so far. Its value from the initial states xxx is

Vπ(x)=Eπ[∑t=0∞βt r(xj(t)(t)) ∣ x(0)=x].(1)V_\pi(x) = \mathbb{E}_\pi\Big[\sum_{t=0}^\infty \beta^t\, r\big(x_{j(t)}(t)\big) \,\Big|\, x(0)=x\Big]. \tag{1}Vπ​(x)=Eπ​[t=0∑∞​βtr(xj(t)​(t))​x(0)=x].(1)

The fair charge γ(y)\gamma(y)γ(y) of a state yyy is the per-play charge at which a gambler holding a single bandit in state yyy, free to stop at any time, would only just break even. Equivalently it is the largest ratio of expected discounted reward to expected discounted time over stopping times τ≥1\tau \ge 1τ≥1. Weber's Gittins index is G(y)=γ(y)/(1−β)G(y) = \gamma(y)/(1-\beta)G(y)=γ(y)/(1−β). The prevailing charge of bandit iii at time ttt is the least fair charge seen so far on that bandit, min⁡0≤s≤tγ(xi(s))\min_{0\le s\le t}\gamma(x_i(s))min0≤s≤t​γ(xi​(s)). A Gittins policy π∗\pi^*π∗ plays at each epoch a bandit of greatest index; Theorem 1 of the paper says it is optimal.

Formalization targets

Goal: Theorem 2, inequality (6)

For a Gittins policy π∗\pi^*π∗, every policy π\piπ and every initial state vector xxx,

Vπ∗(x)−Vπ(x)≤(1−β) Eπ[∑t=0∞βt(max⁡imin⁡0≤s≤tGi(xi(s))−Rj(t)(xj(t)(t))1−β) ∣ x(0)=x].V_{\pi^*}(x) - V_\pi(x) \le (1-\beta)\,\mathbb{E}_\pi\Big[\sum_{t=0}^\infty \beta^t\Big(\max_i \min_{0\le s\le t} G_i(x_i(s)) - \frac{R_{j(t)}(x_{j(t)}(t))}{1-\beta}\Big) \,\Big|\, x(0)=x\Big].Vπ∗​(x)−Vπ​(x)≤(1−β)Eπ​[t=0∑∞​βt(imax​0≤s≤tmin​Gi​(xi​(s))−1−βRj(t)​(xj(t)​(t))​)​x(0)=x].

Milestones

  1. Eq. (5), from Remark 1: for every policy, Vπ(x)≤Eπ[∑tβtmin⁡0≤s≤tγj(t)(xj(t)(s))]V_\pi(x) \le \mathbb{E}_\pi\big[\sum_t \beta^t \min_{0\le s\le t}\gamma_{j(t)}(x_{j(t)}(s))\big]Vπ​(x)≤Eπ​[∑t​βtmin0≤s≤t​γj(t)​(xj(t)​(s))].
  2. The greatest prevailing charge on a fixed realisation (p. 1028): along any fixed realisation of the bandits' state sequences, the greatest prevailing charge at time ttt under any policy is at least its value under the Gittins policy.
  3. The bound is achieved by the Gittins policy (proof of Theorem 1): Vπ∗(x)=Eπ∗[∑tβtmax⁡imin⁡0≤s≤tγ(xi(s))]V_{\pi^*}(x) = \mathbb{E}_{\pi^*}\big[\sum_t \beta^t \max_i \min_{0\le s\le t}\gamma(x_i(s))\big]Vπ∗​(x)=Eπ∗​[∑t​βtmaxi​min0≤s≤t​γ(xi​(s))].

Significance

The result. Inequality (6) bounds the loss of an arbitrary policy by a quantity observed along that policy's own trajectory: at each epoch, how far the reward collected falls below the greatest prevailing charge. A policy that plays a bandit of greatest prevailing charge whenever possible and collects its charge as reward loses nothing, which recovers Theorem 1. The bound is the basis of Glazebrook's analysis of near-optimal heuristics for bandit and stochastic-scheduling problems, and of the index-gap bound (7) of Theorem 3, which is the second mission of this series.

Formalizing it. Theorem 1 of the paper (optimality of the Gittins policy) is already formalized and proved on Prove2Me as BanditAlgorithm.gittins_index_theorem (Shuze Chen, following Lattimore and Szepesvári, Theorem 35.9), together with the finite-horizon prevailing-charge accounting and the charge-stack interleaving lemmas (Harry_Xu). Theorem 2 itself has no machine-checked proof. This mission produces the infinite-horizon forms of the charge accounting, (5) and its equality case for the Gittins policy, and the realisation-wise comparison of greatest prevailing charges, and combines them into (6). Missions 2 (Theorem 3, the index-gap bound) and 3 (Theorem 4, submodularity of the optimal value) of this series state the paper's other results on the same model; none of the three relies on the others.

Difficulty

The paper's proof is one sentence: combine (5) with the realisation-wise observation. The two pieces live on different probability spaces. Inequality (5) and the equality for the Gittins policy are expectations under the law of each policy's own history, while the comparison of greatest prevailing charges is made on a fixed realisation of each bandit's state sequence. Transferring the deterministic comparison into an inequality between expectations under two different policies needs a coupling under which every policy sees the same per-bandit state sequences, so that the prevailing-charge stacks are the same random objects under π\piπ and π∗\pi^*π∗. The naive approach, comparing the two laws round by round, fails: the round-ttt histories of π\piπ and π∗\pi^*π∗ have different distributions, and no pointwise inequality holds between them. The infinite-horizon statements also require controlling the terminal retirement potential, which vanishes only in the discounted limit.

Formalization scope

The development uses the published BanditAlgorithm model (GittinsIndex, GittinsTerminalPotential, GittinsPrevailingChargeValue, GittinsChargeInterleaving). Conventions committed to:

  • Weber's nnn bandits with separate state spaces are one state space SSS with one kernel PPP and reward rrr (take the disjoint union). SSS is a standard Borel space and rrr is measurable: regularity the paper leaves implicit.
  • rrr is the conditional mean of Weber's random reward Rj(xj(t))R_j(x_j(t))Rj​(xj​(t)); only the mean enters (1), (5) and (6).
  • The standing assumptions of Section 1, "rewards are nonnegative and uniformly bounded" and 0<β<10<\beta<10<β<1, are hypotheses of the goal and of milestones 1 and 3.
  • Every Eπ[∑tβt(⋅)]\mathbb{E}_\pi[\sum_t \beta^t(\cdot)]Eπ​[∑t​βt(⋅)] is written as ∑tβt Eπ[⋅]\sum_t \beta^t\,\mathbb{E}_\pi[\cdot]∑t​βtEπ​[⋅], the convention of the published value VπV_\piVπ​; these agree for bounded rewards.
  • Time starts at 000. At round ttt the integrand is evaluated on the history of the first ttt rounds together with the current state vector x(t)x(t)x(t), so every min⁡0≤s≤t\min_{0\le s\le t}min0≤s≤t​ includes the current state.
  • γ\gammaγ is the published gittinsIndex (the ratio (4)); G=γ/(1−β)G = \gamma/(1-\beta)G=γ/(1−β) is a new definition weberIndex. The goal uses GGG and the factor 1−β1-\beta1−β, as in (6); milestones 1 and 3 use γ\gammaγ, as the paper does.
  • "π∗\pi^*π∗ is the optimal (Gittins) policy" is any policy satisfying the published IsGittinsIndexPolicy (with probability one it plays an arm of greatest index, ties arbitrary). The goal does not assume such a policy exists; a one-armed instance shows the hypotheses can be met.
  • "On a fixed realisation" (milestone 2) is encoded deterministically: arbitrary nonincreasing sequences HiH_iHi​ as the prevailing-charge stacks, any action sequence as a policy, and any greedy interleaving as the Gittins policy.
  • max⁡i\max_imaxi​ is a supremum over Fin k\mathrm{Fin}\,kFink; at k=0k=0k=0 no policy exists.

Replacing GGG by γ\gammaγ in (6) would weaken the bound by the factor 1−β1-\beta1−β, and dropping the boundedness of rewards would let the published value be a junk 000; neither is the paper's statement, and both are ruled out by the conventions above.

Contributions welcome: the infinite-horizon limits of the published finite accounting, a coupling of all policies on independent per-bandit state sequences, and the deterministic comparison of greatest exposed charges, which is reusable for any interleaving argument on nonincreasing sequences.

Selected references

  • R. Weber, On the Gittins index for multiarmed bandits, Annals of Applied Probability 2(4), 1024–1033, 1992. https://doi.org/10.1214/aoap/1177005588
  • K. D. Glazebrook, Procedures for the evaluation of strategies for resource allocation in a stochastic environment, Journal of Applied Probability 27(1), 215–220, 1990.
  • K. D. Glazebrook, On the evaluation of suboptimal strategies for families of alternative bandit processes, Journal of Applied Probability 19(3), 716–722, 1982.
  • J. C. Gittins and D. M. Jones, A dynamic allocation index for the sequential design of experiments, in Progress in Statistics (J. Gani et al., eds.), North-Holland, 241–266, 1974.
  • P. Whittle, Multi-armed bandits and the Gittins index, Journal of the Royal Statistical Society B 42(2), 143–149, 1980. https://doi.org/10.1111/j.2517-6161.1980.tb01111.x
  • T. Lattimore and Cs. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 35. https://doi.org/10.1017/9781108571401
12 thms4 active usersReviewed
🏆Completed
Dynamic ProgrammingOptimization·Captain: mikedeng1

Revenue Management Under a General Discrete Choice Model of Consumer Behavior 1: The Optimal Policy Offers Only Nondominated Sets, a Larger One the More Capacity and the Less Time RemainResearch Paper

Why offer sets matter

A seller with one limited inventory pool can choose which fare products to show in each selling period. When customers choose among the displayed products, showing another fare can both add sales and divert buyers from a more expensive fare. A fixed ranking of fares therefore does not by itself tell the seller which products to offer. Talluri and van Ryzin's working paper studies the optimal offer decision under a general discrete choice model, without specifying a logit or independent-demand formula for customer choice (working paper, 2001, pp. 5–8; published article, 2004). The present mission concerns the paper's first main result: how to reduce the collection of possible offer sets and how the best choice changes with inventory and time.

Model and notation

There are nnn fare products, indexed by N={1,…,n}N=\{1,\ldots,n\}N={1,…,n}. Product jjj earns a nonnegative revenue rjr_jrj​. In each period, a customer arrives with probability λ∈[0,1]\lambda\in[0,1]λ∈[0,1], independent of the remaining time. The seller offers a set S⊆NS\subseteq NS⊆N. Conditional on arrival, the customer buys product j∈Sj\in Sj∈S with probability Pj(S)P_j(S)Pj​(S) or buys nothing with the remaining probability. Thus Pj(S)≥0P_j(S)\ge0Pj​(S)≥0 and Q(S)=∑j∈SPj(S)≤1Q(S)=\sum_{j\in S}P_j(S)\le1Q(S)=∑j∈S​Pj​(S)≤1. The purchase probability is Q(S)Q(S)Q(S), while the expected revenue conditional on arrival is R(S)=∑j∈SPj(S)rjR(S)=\sum_{j\in S}P_j(S)r_jR(S)=∑j∈S​Pj​(S)rj​. The empty set is a possible offer; it has Q=R=0Q=R=0Q=R=0.

Time is counted backward: ttt is the number of periods still available, and xxx is the number of inventory units left. Let Vt(x)V_t(x)Vt​(x) be the maximum expected revenue from that state, with V0(x)=Vt(0)=0V_0(x)=V_t(0)=0V0​(x)=Vt​(0)=0. For t,x≥1t,x\ge1t,x≥1, the marginal value of capacity is ΔVt−1(x)=Vt−1(x)−Vt−1(x−1)\Delta V_{t-1}(x)=V_{t-1}(x)-V_{t-1}(x-1)ΔVt−1​(x)=Vt−1​(x)−Vt−1​(x−1). The Bellman equation is

Vt(x)=Vt−1(x)+max⁡S⊆Nλ(R(S)−Q(S)ΔVt−1(x)).V_t(x)=V_{t-1}(x)+\max_{S\subseteq N}\lambda\bigl(R(S)-Q(S)\Delta V_{t-1}(x)\bigr).Vt​(x)=Vt−1​(x)+S⊆Nmax​λ(R(S)−Q(S)ΔVt−1​(x)).

The paper calls a set TTT dominated if a randomization over offer sets achieves either strictly more expected revenue with no greater purchase probability, or no less expected revenue with strictly lower purchase probability. A set is nondominated if neither comparison applies. This two-clause definition is specific to the paper. It differs from the one-clause “efficient set” used for a related model in Talluri and van Ryzin's book; the published formalization of that book's optimal policy theorem is therefore related work rather than a replacement for this goal.

Formalization targets

Nondominated frontier

Proposition 1 characterizes the nondominated sets by a positive tradeoff value vvv: a set TTT lies on the relevant frontier exactly when it maximizes R(S)−vQ(S)R(S)-vQ(S)R(S)−vQ(S) for some v>0v>0v>0. Proposition 2 says that dominated sets can be excluded from the Bellman maximization when ΔVt−1(x)>0\Delta V_{t-1}(x)>0ΔVt−1​(x)>0, and that a nondominated optimum exists when the marginal value is zero. Proposition 3 orders the nondominated sets S1,…,SmS_1,\ldots,S_mS1​,…,Sm​ so that both Qk=Q(Sk)Q_k=Q(S_k)Qk​=Q(Sk​) and Rk=R(Sk)R_k=R(S_k)Rk​=R(Sk​) are nondecreasing (working paper, pp. 8–12).

Largest optimal index

Among indices maximizing Rk−QkvR_k-Q_kvRk​−Qk​v, let k∗(v)k^*(v)k∗(v) be the greatest one when there are ties. Lemmas 1 and 2 say that k∗(v)k^*(v)k∗(v) is nonincreasing in vvv. The paper's Lemmas 3 and 4 say that marginal capacity values decrease as inventory increases and increase as the number of remaining periods increases. For the admissible states t,x≥1t,x\ge1t,x≥1, the goal is Theorem 1:

Vt(x)=Vt−1(x)+λ(Rk∗−Qk∗ΔVt−1(x)),V_t(x)=V_{t-1}(x)+\lambda\bigl(R_{k^*}-Q_{k^*}\Delta V_{t-1}(x)\bigr),Vt​(x)=Vt−1​(x)+λ(Rk∗​−Qk∗​ΔVt−1​(x)),

where Sk∗S_{k^*}Sk∗​ is an optimal offer, and the greatest optimal index k∗k^*k∗ is nondecreasing in xxx and nonincreasing in ttt (working paper, pp. 12–15, Theorem 1). These are claims about the index in the nondominated ordering; the offer sets themselves need not be nested by inclusion.

What the result gives

Theorem 1 replaces a search over all 2n2^n2n offer sets at each state with a search over the nondominated sets. It also tells an operator how the preferred position in that ordered list changes as seats are sold or as the selling horizon shortens. The later sections of the paper add conditions under which this ordering corresponds to fare-order nesting; those conditions are treated in separate missions (working paper, §3).

The model's value recursion and the marginal-value inequalities already have published Prove2Me formalizations in the Talluri–van Ryzin book setting. The book's marginal-value theorem is proved and serves here as a referenced milestone after reindexing its forward time convention. The paper's two-clause dominance concept, its ordered frontier, and Theorem 1 itself remain the formalization work of this mission. Keeping those distinctions explicit makes the resulting definitions reusable for other choice models with the same purchase and revenue coordinates.

Main difficulty

A set with high expected revenue need not be attractive when capacity is scarce: it may also consume inventory more often. Ranking sets by revenue alone therefore fails. Conversely, an offer set can tie another at a single marginal value, so selecting an arbitrary maximizer does not give a monotone index across states. The paper resolves ties by taking the greatest optimal index. Formalization must also retain the full randomized dominance relation: using only strict revenue improvement would leave sets on the wrong frontier. These issues arise even with finitely many products and without a specialized formula for Pj(S)P_j(S)Pj​(S).

Formalization scope

Products are Fin n, and offers are finite subsets of them. The published RevenueManagement_singleResource definition supplies the choice-model predicate, QQQ, RRR, and the backward value recursion. This mission defines the paper's own dominance relation, stage objective, exhaustive ordered list of nondominated sets, and greatest-maximizer predicate. Every possible offer set, including the empty set, participates in the Bellman maximum. The list must contain all nondominated sets exactly once; otherwise choosing from it would weaken Theorem 1.

The assumptions 0≤λ≤10\le\lambda\le10≤λ≤1 and rj≥0r_j\ge0rj​≥0 are the model's arrival-probability and nonnegative-fare conventions. The paper indexes fares in decreasing order, but Section 2's claims do not use that order, so the Lean targets omit it. Proposition 2's assertion that a dominated set is never optimal requires λ>0\lambda>0λ>0; that condition is placed on that clause alone. Decisions and marginal values are stated for t,x≥1t,x\ge1t,x≥1. The paper prints Lemma 3 also at x=1x=1x=1, where its right side ΔVt(0)\Delta V_t(0)ΔVt​(0) is undefined; the referenced formalization states the meaningful range x≥2x\ge2x≥2. The imported book theorem uses forward time, reindexed here as the number of periods remaining. The goal does not assume the dominance reduction or the marginal-value monotonicities that its milestones supply.

A complete development uses finite sums and maxima, the choice-value recursion, a finite frontier argument for Proposition 1, and order properties of the stage objective. The dominance and ordered-frontier definitions can support later results on nested policies. Contributions that establish the stated milestones under the same conventions are within scope.

Selected references

  • K. Talluri and G. van Ryzin, Revenue Management Under a General Discrete Choice Model of Consumer Behavior, UPF Economics Working Paper 533, October 21, 2001, pp. 5–15. Working paper.
  • K. Talluri and G. van Ryzin, Revenue Management Under a General Discrete Choice Model of Consumer Behavior, Management Science 50(1), 2004, pp. 15–33. DOI: 10.1287/mnsc.1030.0147.
10 thms4 active usersReviewed
🏆Completed
Optimization·Captain: mikedeng1

In-Process Inventories: The Base-Stock Cost c + Σ rᵢ√(Sᵢ₋₁ − Sᵢ + Tᵢ) over the Service Times Attains Its Minimum at a Vertex of the Feasible PolyhedronResearch Paper

Where in-process inventories should sit

A product made by a chain of nnn operations can carry stock in front of every operation, between every pair of them, and as finished goods. Each such inventory point buffers demand uncertainty, and each costs money to hold. Kenneth F. Simpson, Jr. asked which of these points should carry stock at all, and how much, in In-Process Inventories, Operations Research 6 (1958) 863–873. His answer is that the cheapest configuration is an extreme one: every inventory point is either kept full or eliminated.

The paper is the origin of what is now called the guaranteed-service model of multi-echelon inventory theory.

  • 1958: Simpson proves that the optimal service times lie at a vertex of the feasible polyhedron, for a serial line, and notes extensions to branching chains and to correlated demand.
  • 2000: Graves and Willems (Optimizing Strategic Safety Stock Placement in Supply Chains, M&SOM 2(1)) extend the service-time formulation to spanning-tree networks and solve it by dynamic programming over the vertex structure.
  • Textbooks (Snyder and Shen, Fundamentals of Supply Chain Theory, Wiley) present the serial result as the "all-or-nothing" property of guaranteed-service systems.

The model

There are nnn operations in series. Operation iii has a processing time TiT_iTi​. Behind each operation is an inventory point that promises to fill any order within a service time Si≥0S_i \ge 0Si​≥0. The incoming service time S0S_0S0​ (from raw materials) and the outgoing one SnS_nSn​ (to the customer) are fixed constants; the n−1n - 1n−1 intermediate service times S1,…,Sn−1S_1, \dots, S_{n-1}S1​,…,Sn−1​ are the decision variables. Inventory iii must protect against demand over the time Si−1−Si+TiS_{i-1} - S_i + T_iSi−1​−Si​+Ti​, and under the paper's demand model its holding cost is proportional to the square root of that time. With constants ccc and r1,…,rn>0r_1, \dots, r_n > 0r1​,…,rn​>0 the total inventory cost is equation (9):

f(S1,…,Sn−1)=c+∑i=1nriSi−1−Si+Ti.f(S_1, \dots, S_{n-1}) = c + \sum_{i=1}^{n} r_i \sqrt{S_{i-1} - S_i + T_i}.f(S1​,…,Sn−1​)=c+i=1∑n​ri​Si−1​−Si​+Ti​​.

Its domain D⊆Rn−1D \subseteq \mathbb R^{n-1}D⊆Rn−1 is the set of points with every variable nonnegative and every radicand nonnegative:

D={(S1,…,Sn−1):Si≥0 (1≤i≤n−1),  Si−1−Si+Ti≥0 (1≤i≤n)}.D = \{ (S_1, \dots, S_{n-1}) : S_i \ge 0 \ (1 \le i \le n - 1),\ \ S_{i-1} - S_i + T_i \ge 0 \ (1 \le i \le n) \}.D={(S1​,…,Sn−1​):Si​≥0 (1≤i≤n−1),  Si−1​−Si​+Ti​≥0 (1≤i≤n)}.

DDD is a polyhedron cut out by 2n−12n - 12n−1 affine inequalities. A vertex of DDD is an extreme point: a point of DDD that is not the midpoint of two distinct points of DDD. An inventory with Si=Si−1+TiS_i = S_{i-1} + T_iSi​=Si−1​+Ti​ has zero average stock; one with Si=0S_i = 0Si​=0 is full.

Formalization targets

Goal: THEOREM I (p. 869)

For any constants c,S0,Sn,Tic, S_0, S_n, T_ic,S0​,Sn​,Ti​ and ri>0r_i > 0ri​>0 with D≠∅D \ne \emptysetD=∅,

∃ v∈ext⁡Dwithf(v)≤f(S)  for all S∈D.\exists\, v \in \operatorname{ext} D \quad\text{with}\quad f(v) \le f(S)\ \ \text{for all } S \in D.∃v∈extDwithf(v)≤f(S)  for all S∈D.

This is the paper's sentence "the minimum of the function fff occurs at one of the vertices of DDD", read as existence of a vertex minimizer. It fixes no constant and no particular vertex.

Milestones

  1. DDD is convex and compact (pp. 868, 872).
  2. fff is concave on DDD when ri≥0r_i \ge 0ri​≥0 (p. 868, "concave downward").
  3. fff attains its minimum on a nonempty DDD (Appendix, p. 872).
  4. LEMMA I (p. 872): for at least one variable, no interior point of DDD minimizes fff.
  5. THEOREM II (p. 869): if Sj=Sj−1+TjS_j = S_{j-1} + T_jSj​=Sj−1​+Tj​, the cost equals the cost of the model with operations jjj and j+1j+1j+1 coupled into one with processing time Tj+Tj+1T_j + T_{j+1}Tj​+Tj+1​.
  6. LEMMA II (pp. 872–873): for at least two variables, every minimizer has at least two independent active boundary normals.
  7. Meaning of the theorem (p. 869): when S0=Sn=0S_0 = S_n = 0S0​=Sn​=0 and Ti>0T_i > 0Ti​>0, the vertices of DDD are exactly the 2n−12^{n-1}2n−1 points with each Si∈{0, Si−1+Ti}S_i \in \{0,\ S_{i-1} + T_i\}Si​∈{0, Si−1​+Ti​}.
  8. Extension (p. 871): THEOREM I holds with t\sqrt{t}t​ replaced by tkt^ktk for 12≤k≤1\tfrac12 \le k \le 121​≤k≤1.

The p. 870 rephrasing, "for an optimal system, the service time for every nonvanishing inventory is zero", is already proved on the platform as SupplyChainTheory.gs_all_or_nothing (Snyder–Shen Theorem 6.5) and is included as a reference item. Under the dictionary stage i↔n+1−ii \leftrightarrow n + 1 - ii↔n+1−i, ri=hikr_i = h_i kri​=hi​k, SIN=S0SI_N = S_0SIN​=S0​, that statement is Simpson's model case Sn=0S_n = 0Sn​=0.

Significance

THEOREM I turns a continuous optimization over the polyhedron DDD into a comparison over its finitely many vertices, and in Simpson's model these are the 2n−12^{n-1}2n−1 all-or-nothing configurations. Each vertex has a physical reading as a mode of operation: which inventories are kept full and which operations are tightly coupled (THEOREM II). The property is what makes guaranteed-service models tractable by enumeration or dynamic programming in later work.

The result is proved in the paper, by an induction on faces. It has not been machine-checked. A formal development adds a checked statement of the theorem for general constants S0,Sn,TiS_0, S_n, T_iS0​,Sn​,Ti​ (the paper's model fixes S0=Sn=0S_0 = S_n = 0S0​=Sn​=0), an exact account of which hypotheses are needed (the positivity of the rir_iri​ is essential, see below), and a checked vertex count for the model case. The existing platform theorem gs_all_or_nothing covers the model case in the all-or-nothing form; THEOREM I with general constants and the vertex characterization are not yet on the platform.

Difficulty

The domain DDD is given by inequalities, while the conclusion is about its extreme points, which are never listed: with general constants S0,Sn,TiS_0, S_n, T_iS0​,Sn​,Ti​ the vertices of DDD have no closed form, and DDD may be lower-dimensional or have coinciding facets. Any argument therefore has to connect an inequality description of a polyhedron with its extreme-point structure, which in the paper's own text is treated informally ("faces", "edges", "an nnn-fold repetition"). LEMMA I and LEMMA II are stronger than the existence statement: they exclude minimizers in the interior of DDD and in the relative interior of a face, and they become false as soon as some rir_iri​ vanishes, so they cannot follow from concavity alone. THEOREM II, though described on the page as "examine the definitions", requires an exact reindexing of the operations, processing times and cost coefficients after one variable is removed.

The sign hypothesis cannot be dropped: with n=2n = 2n=2, r1=r2=−1r_1 = r_2 = -1r1​=r2​=−1, S0=0S_0 = 0S0​=0, S2=1S_2 = 1S2​=1, T1=2T_1 = 2T1​=2, T2=1T_2 = 1T2​=1, the function f(S1)=−2−S1−S1f(S_1) = -\sqrt{2 - S_1} - \sqrt{S_1}f(S1​)=−2−S1​​−S1​​ on D=[0,2]D = [0, 2]D=[0,2] is convex and its only minimizer is the interior point S1=1S_1 = 1S1​=1.

Formalization scope

All declarations live in SimpsonInv.Vertex. With m=n−1m = n - 1m=n−1 variables a point of DDD is S : Fin m → ℝ, and Lean index jjj holds the paper's Sj+1S_{j+1}Sj+1​; extVec S0 Sn S i returns the paper's SiS_iSi​ for every iii, including the constant ends. The constants T,rT, rT,r are sequences ℕ → ℝ, read only at indices 1,…,n1, \dots, n1,…,n. The space Fin m → ℝ carries the product topology, which is the Euclidean one, so interior is the paper's interior. A vertex is an element of Set.extremePoints ℝ D; a minimizer is IsMinOn f D v with v∈Dv \in Dv∈D.

Added hypotheses, each disclosed in its item: ri>0r_i > 0ri​>0 for 1≤i≤n1 \le i \le n1≤i≤n (from equation (8); weakened to ri≥0r_i \ge 0ri​≥0 for concavity and dropped for existence and THEOREM II); D≠∅D \ne \emptysetD=∅ where a minimum is asserted; at least one variable for LEMMA I and at least two for LEMMA II; S0=Sn=0S_0 = S_n = 0S0​=Sn​=0 and Ti>0T_i > 0Ti​>0 only for the vertex count, as in the paper's model. The page's "n−1n-1n−1-dimensional polyhedron" is not imposed: the goal is stated for every nonempty DDD. "On the boundary of the faces" (LEMMA II) is encoded by at least two independent active inequality normals, including when inequalities coincide.

Real.sqrt returns 000 on negative inputs, so fff is never compared outside DDD. Minimizing over all of Rn−1\mathbb R^{n-1}Rn−1, or replacing the vertex set by a hand-listed finite set of points, would trivialize or falsify the goal and is ruled out: the goal quantifies over Set.extremePoints ℝ D and compares only on DDD. THEOREM II compares the original cost with the same cost function applied to new data (n−1n - 1n−1 operations, T′T'T′, r′r'r′), not with a substituted copy of the original.

A complete development needs compactness and extreme-point facts for polyhedra given by inequalities and concavity facts for square roots and powers of affine maps; both are reusable well beyond this mission. Proofs of any milestone, and reusable lemmas on polyhedra given by inequalities, are welcome.

Selected references

  • Kenneth F. Simpson, Jr., In-Process Inventories, Operations Research 6(6):863–873, 1958. https://doi.org/10.1287/opre.6.6.863
  • Stephen C. Graves and Sean P. Willems, Optimizing Strategic Safety Stock Placement in Supply Chains, Manufacturing & Service Operations Management 2(1):68–83, 2000. https://doi.org/10.1287/msom.2.1.68.23267
  • Lawrence V. Snyder and Zuo-Jun Max Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley, 2019 (Chapter 6, guaranteed-service serial systems).
11 thms4 active usersReviewed
🏆Completed
CombinatoricsMachine LearningTheoretical Computer Science·Captain: mikedeng1

The Weighted Majority Algorithm 7: On a Class Shattered by Its Domain, Every Deterministic Learner's Mistake Bounds Satisfy Σ 2^(−M_i) < 2Research Paper

Motivation

An online learner predicts a binary label for each instance before seeing that instance's correct label. Its guarantee is usually measured by its worst possible number of mistakes against a target function. Such guarantees can differ greatly across target functions: an algorithm might learn one target quickly while taking much longer on another. Littlestone and Warmuth's analysis of the Weighted Majority Algorithm asks which collections of individual mistake guarantees can coexist for one deterministic learner. In Section 7 of their 1994 paper, they isolate a condition under which these guarantees obey a strict numerical constraint. The condition concerns how the target functions vary together over the instance domain, so the result applies without a probability distribution on instances or labels.

The theorem also supports the paper's comparison between arbitrary deterministic learners and Weighted Majority. Given individual mistake bounds, its inequality is the numerical condition that makes a suitable initial weighting of the target functions possible in Theorem 7.1 and Corollary 7.1 of the same paper. The present mission centers on the inequality itself, which is independent of a particular implementation of Weighted Majority.

Setting

Let XXX be an instance domain, possibly finite or infinite, and let φ1,…,φn:X→{0,1}\varphi_1,\ldots,\varphi_n:X\to\{0,1\}φ1​,…,φn​:X→{0,1} be a finite family of target functions. A trial presents an instance x∈Xx\in Xx∈X to a learner, asks it to predict either 000 or 111, and then reveals a label. A finite sequence is consistent with φi\varphi_iφi​ when each revealed label equals φi(x)\varphi_i(x)φi​(x) at that trial's instance. The learner may use the current instance and the complete history of earlier labeled trials when predicting; it does not see the current label first. No sampling or independence assumption is made.

The family is shattered by its domain when every pattern b=(b1,…,bn)∈{0,1}nb=(b_1,\ldots,b_n)\in\{0,1\}^nb=(b1​,…,bn​)∈{0,1}n appears as the vector of function values at some instance:

∀b∈{0,1}n∃x∈X∀i∈{1,…,n}, φi(x)=bi.\forall b\in\{0,1\}^n\quad\exists x\in X\quad\forall i\in\{1,\ldots,n\},\ \varphi_i(x)=b_i.∀b∈{0,1}n∃x∈X∀i∈{1,…,n}, φi​(x)=bi​.

This is a dual notion of shattering. The familiar VC condition asks whether a class of functions realizes every labeling of chosen instances. Here the domain realizes every joint value pattern of a chosen family of functions. The two conditions should not be interchanged.

Let AAA be any deterministic online learner. Write MiM_iMi​ for the supremum of the number of mistakes made by AAA over every finite sequence consistent with φi\varphi_iφi​. Since mistake counts are natural numbers, a finite supremum is an attained natural-number maximum. The theorem assumes each MiM_iMi​ is finite. In the Lean representation, this is a separate finiteness condition on each target's extended-natural mistake bound.

Formalization targets

Strict constraint on individual mistake bounds

The goal is Theorem 7.2 of Littlestone and Warmuth, pp. 244–245. For every domain, every finite family shattered by that domain, and every deterministic online learner with finite individual mistake bounds,

∑i=1n2−Mi<2.\sum_{i=1}^{n}2^{-M_i}<2.i=1∑n​2−Mi​<2.

The inequality is strict. Replacing it by a weak inequality would lose the stated result and the threshold used in the paper's later comparison with Weighted Majority. The theorem quantifies over the learner itself; it does not select a specially behaved learning rule.

Arithmetic milestones

Lemma 7.1 concerns positive real numbers with integral adjacent quotients. When a positive target sss is no larger than their sum and s/r1s/r_1s/r1​ is integral, some prefix sums exactly to sss. Lemma 7.2 concerns positive powers of two with integer exponents. If a power 2ℓ2^\ell2ℓ lies at least as high as each individual weight and at most as high as the total weight, some subset sums exactly to 2ℓ2^\ell2ℓ. Both statements and their exact source wording are recorded as the mission's milestones; they are the numbered arithmetic results used in Theorem 7.2.

Significance

The theorem limits the set of claims that one deterministic learner can make simultaneously. Small MiM_iMi​ contribute large terms to the sum, so a learner cannot have arbitrarily small worst-case mistake counts for all members of a domain-shattered family. This is a worst-case statement about every finite consistent trial sequence, rather than an average-case statement about a chosen data distribution. The paper's Corollary 7.1 uses the resulting inequality to select initial weights for a Weighted Majority comparison, but that later algorithmic statement is outside this mission's goal.

Formalizing this result adds a reusable dual-shattering predicate and an exact constraint on per-target online mistake bounds to the existing online-learning definitions. The paper proves the theorem, while the mission's Lean goal and its two milestone lemmas are open proof obligations. The separate published online-learning module provides the definitions of deterministic predictors, trial histories, mistake counts, and extended-natural worst-case bounds; it does not already prove this theorem.

Difficulty

For a single target, an arbitrary learner may have a small finite mistake bound. The difficulty is relating those bounds across different targets without placing extra restrictions on the learner. Domain shattering gives the adversary control over the simultaneous predictions of all functions at an instance, but the labels of one trial sequence must still remain consistent with a target. A simple count of targets or of possible patterns does not directly produce the strict weighted sum, particularly when the different MiM_iMi​ are unequal. The two arithmetic lemmas address exact sums of structured weights; the main theorem must also connect such weights to the learner's worst-case mistakes.

Formalization scope

The function family is indexed by Fin n, with zero-based Lean indices corresponding to the paper's 1,…,n1,\ldots,n1,…,n. The domain XXX is an arbitrary type and may be infinite. Labels and predictions are Bool. ShatteredByDomain states that every Boolean pattern is realized by some domain point. The published UnderstandingML_Online definition gives OnlineAlg X Bool, finite trial histories, mistakes, and mistakeBound. The latter is valued in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞} and ranges over all finite sequences labeled by the target. Each MiM_iMi​ is converted to a natural number only after assuming its bound is finite. The powers 2−Mi2^{-M_i}2−Mi​ and their finite sum are real numbers. The n=0n=0n=0 conclusion is the empty sum 0<20<20<2; the shattering predicate itself then requires an instance to realize the unique empty pattern.

The two milestones use real-valued weights. Lemma 7.1 assumes n≥1n\ge1n≥1 because the source refers to r1r_1r1​. Lemma 7.2 represents the source's integral base-two logarithms by equations ri=2kir_i=2^{k_i}ri​=2ki​ with integer kik_iki​, which also enforce positivity. Its maximum hypothesis is written pointwise, so an empty family is harmless: the other inequality 2ℓ≤02^\ell\le02ℓ≤0 cannot hold. A coordinate family on X={0,1}nX=\{0,1\}^nX={0,1}n is verified locally to satisfy the shattering predicate, ruling out a vacuous encoding of that central assumption. Contributions proving either arithmetic milestone or the main theorem within these exact definitions are in scope.

Selected references

  • Nick Littlestone and Manfred K. Warmuth, The Weighted Majority Algorithm, Information and Computation 108(2), 212–261, 1994. DOI: 10.1006/inco.1994.1009.
  • Shai Shalev-Shwartz and Shai Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press, 2014, Chapter 21. DOI: 10.1017/CBO9781107298019.
5 thms4 active usersReviewed
🏆Completed
Algorithmic Game Theory·Captain: mikedeng1

Equilibrium Points in n-Person Games: the Countering Correspondence Has Nonempty Convex Values and a Closed Graph, and Its Fixed Points Are the Equilibrium PointsResearch Paper

Motivation

A Nash equilibrium is a joint choice of strategies at which no player can improve their own expected payoff by changing their strategy alone. This gives a testable notion of stable behavior for a finite game, including games in which the players' aims differ. Nash's two-page 1950 note established the existence of such a point for finite games by organizing each player's best replies into a single correspondence and using a fixed-point theorem. The note identifies several properties of that correspondence and ends by comparing equilibrium payoffs in zero-sum and general games. Those claims, stated together in Nash's published note, are the subject of this mission.

The existence conclusion itself already has a proved formal statement, AGT.nash_existence, in the game vocabulary used here. The remaining claims explain what the fixed-point argument acts on: which profiles are related by countering, why countering sets are usable as values of a correspondence, and what their fixed points mean. Keeping those statements explicit makes the 1950 argument legible independently of the existence theorem's proof.

Setting

There is a finite set III of players. Each player iii has a finite, nonempty set SiS_iSi​ of pure strategies. A pure-strategy profile sss chooses one element of every SiS_iSi​, and ui(s)∈Ru_i(s)\in\mathbb Rui​(s)∈R is player iii's payoff. A mixed strategy PiP_iPi​ assigns a nonnegative real weight to each element of SiS_iSi​, with weights summing to one. The space Σ\SigmaΣ of mixed profiles P=(Pi)i∈IP=(P_i)_{i\in I}P=(Pi​)i∈I​ is the product of these finite probability simplices.

Players randomize independently. Thus the probability of a pure profile sss under PPP is ∏j∈IPj(sj)\prod_{j\in I}P_j(s_j)∏j∈I​Pj​(sj​), and player iii's expected payoff is

Ui(P)=∑s∈∏jSj(∏j∈IPj(sj))ui(s).U_i(P)=\sum_{s\in\prod_j S_j}\left(\prod_{j\in I}P_j(s_j)\right)u_i(s).Ui​(P)=s∈∏j​Sj​∑​​j∈I∏​Pj​(sj​)​ui​(s).

For a strategy τi\tau_iτi​ of player iii, write Ui(τi,P−i)U_i(\tau_i,P_{-i})Ui​(τi​,P−i​) for the payoff obtained by replacing only coordinate iii of PPP. A profile QQQ counters PPP if Q∈ΣQ\in\SigmaQ∈Σ and, for every player iii, its coordinate QiQ_iQi​ gives that player the highest expected payoff available against the other players' coordinates of PPP:

Q∈C(P)⟺Q∈ΣandUi(τi,P−i)≤Ui(Qi,P−i)for every i∈I and every mixed τi.Q\in C(P)\quad\Longleftrightarrow\quad Q\in\Sigma\quad\text{and}\quad U_i(\tau_i,P_{-i})\le U_i(Q_i,P_{-i}) \quad\text{for every }i\in I\text{ and every mixed }\tau_i.Q∈C(P)⟺Q∈ΣandUi​(τi​,P−i​)≤Ui​(Qi​,P−i​)for every i∈I and every mixed τi​.

The countering correspondence CCC assigns the set C(P)C(P)C(P) to each P∈ΣP\in\SigmaP∈Σ. Its graph comprises the pairs (P,Q)(P,Q)(P,Q) with P∈ΣP\in\SigmaP∈Σ and Q∈C(P)Q\in C(P)Q∈C(P). A fixed point is a profile PPP belonging to C(P)C(P)C(P); Nash calls it an equilibrium point.

Formalization targets

The goal states the three properties of CCC that Nash uses, along with the identification of its fixed points:

∀P∈Σ,∅≠C(P)⊆Σ,C(P) is convex;\forall P\in\Sigma,\qquad \varnothing\ne C(P)\subseteq\Sigma, \qquad C(P)\text{ is convex};∀P∈Σ,∅=C(P)⊆Σ,C(P) is convex; Pk→P, Qk→Q, Qk∈C(Pk) for all k⟹Q∈C(P);P∈C(P) ⟺ P is a Nash equilibrium.P_k\to P,\ Q_k\to Q,\ Q_k\in C(P_k)\text{ for all }k \quad\Longrightarrow\quad Q\in C(P); \qquad P\in C(P)\ \Longleftrightarrow\ P\text{ is a Nash equilibrium}.Pk​→P, Qk​→Q, Qk​∈C(Pk​) for all k⟹Q∈C(P);P∈C(P) ⟺ P is a Nash equilibrium.

The milestone list follows the claims in the note: the payoff functions are polylinear and continuous; the correspondence maps mixed profiles to nonempty subsets of mixed profiles; its values are convex; its graph is closed in the sequential formulation Nash writes; and self-countering is equilibrium. A separate closed-set formulation records the graph property in the product topology.

The note also asserts a distinction about payoffs. In a two-person zero-sum game, where u0(s)+u1(s)=0u_0(s)+u_1(s)=0u0​(s)+u1​(s)=0 on every pure profile, any two equilibria have the same expected payoff for each player:

Ui(σ)=Ui(σ′)(i=0,1).U_i(\sigma)=U_i(\sigma')\qquad(i=0,1).Ui​(σ)=Ui​(σ′)(i=0,1).

For general games, this can fail. A companion target asks for a finite two-person game with two equilibria having different expected payoffs.

Significance

The correspondence theorem records the precise conditions on which Nash's application of Kakutani's fixed-point theorem rests. Nonempty convex values and a closed graph make the fixed-point route applicable to the mixed-strategy space; the fixed-point clause says why its output is an equilibrium of the game rather than only a topological point. The zero-sum companion separates the common value of a two-person zero-sum game from the possible range of equilibrium payoffs in a general game. These consequences and the comparison appear in Nash's note.

The equilibrium existence theorem is already proved as the referenced AGT.nash_existence. What remains here is to formalize the correspondence properties and the payoff comparison as their own auditable statements, using that theorem's published game definitions. The claims are known results from 1950; their appearance as goals means proofs of these particular statements are still to be supplied in this development.

Difficulty

The payoff of a player depends on every player's strategy, while countering compares only one changed coordinate at a time. The relevant set of maximizers is therefore indexed by the countered profile, and all players' choices must fit into one countering profile. Establishing closedness requires passing the payoff comparisons and the probability-vector conditions through limits of profiles. The zero-sum equality concerns arbitrary pairs of equilibria, which need not use the same strategies; an argument based only on the existence of an equilibrium cannot give it. For general games, a single equilibrium says nothing about whether another equilibrium has a different payoff.

Formalization scope

The Lean development uses a finite player type ι, finite pure-strategy types S i, real payoffs u, and the published definitions AGT.IsLottery, AGT.IsMixedProfile, AGT.expectedPayoff, and AGT.IsMixedNash. The goal and nonempty-value milestone require each S i to be nonempty. The note's probability distributions implicitly require this; the player type itself may be empty. A mixed profile is a tuple of finite real weight vectors, with no measure-theoretic integration or hidden normalization. In the two-person claim, players are 0, 1 : Fin 2.

Convergence is in the ordinary product topology of the real coordinate spaces. The sequence index is kkk because the note also uses nnn for the number of players. Counters u P Q requires QQQ to be a mixed profile and compares QiQ_iQi​ with every mixed deviation against P−iP_{-i}P−i​; this rules out arbitrary weight vectors and comparisons against the wrong opponents. Neither continuity nor the existence of a best response is assumed in the goal: those properties are targets. The definition layer and the payoff continuity and polylinearity results can be reused by other finite-game formalizations.

Selected references

  • J. F. Nash, Jr., Equilibrium Points in n-Person Games, Proceedings of the National Academy of Sciences 36(1), 48–49 (1950). DOI: 10.1073/pnas.36.1.48.
  • S. Kakutani, A Generalization of Brouwer's Fixed Point Theorem, Duke Mathematical Journal 8, 457–459 (1941), cited in Nash's footnote 1. DOI: 10.1215/S0012-7094-41-00838-4.
10 thms4 active usersReviewed
🏆Completed
Algorithmic Game TheoryLinear Optimization·Captain: mikedeng1

Existence of Correlated Equilibria I: Every Finite Game Has a Correlated EquilibriumResearch Paper

Motivation

In a finite game, a referee can recommend one action privately to each player according to a joint distribution. The recommendations may be correlated: learning one's own recommendation can convey information about the others'. A correlated equilibrium is a distribution for which no player gains, in expectation, by replacing a particular recommendation with another action. This solution concept uses the same payoff data as a strategic-form game but allows more joint distributions than independent mixed strategies. Hart and Schmeidler's Theorem 1 establishes that at least one such distribution exists for every finite game, with no assumptions on the payoffs beyond being real-valued. Their paper uses the finite result as the starting point for existence results with infinitely many players and, later, compact strategy spaces. Hart and Schmeidler (1989)

The authors explain that the standard route passes through a mixed Nash equilibrium: independent equilibrium strategies induce a correlated distribution. The finite theorem here is the same existence conclusion expressed directly through recommendation inequalities, which are linear in the joint distribution. That distinction matters for the later sections of the paper, where the authors examine games with infinitely many players, including an example with a countably additive correlated equilibrium but no Nash equilibrium. Hart and Schmeidler (1989), pp. 18, 21–22

Setting

Let NNN be a finite player set. Each player i∈Ni\in Ni∈N has a finite, nonempty set SiS^iSi of pure strategies, and a pure profile is a tuple s=(si)i∈Ns=(s^i)_{i\in N}s=(si)i∈N​ in S=∏i∈NSiS=\prod_{i\in N}S^iS=∏i∈N​Si. The real number hi(s)h^i(s)hi(s) is player iii's payoff at sss. For a player iii, write s−is^{-i}s−i for all coordinates except iii and (s−i,ti)(s^{-i},t^i)(s−i,ti) for the profile obtained by replacing the iiith coordinate with tit^iti. A probability vector on SSS is a function p:S→Rp:S\to\mathbb Rp:S→R with p(s)≥0p(s)\ge0p(s)≥0 for every sss and ∑s∈Sp(s)=1\sum_{s\in S}p(s)=1∑s∈S​p(s)=1. These are exactly the paper's finite-game and probability-vector conventions. Hart and Schmeidler (1989), pp. 18–19

Suppose the referee draws sss with probability p(s)p(s)p(s) and privately tells player iii only sis^isi. For every recommended action ri∈Sir^i\in S^iri∈Si and alternative action ti∈Sit^i\in S^iti∈Si, the incentive inequality is

∑s−i∈S−ip(s−i,ri)[hi(s−i,ri)−hi(s−i,ti)]≥0.\sum_{s^{-i}\in S^{-i}}p(s^{-i},r^i) \bigl[h^i(s^{-i},r^i)-h^i(s^{-i},t^i)\bigr]\ge0.s−i∈S−i∑​p(s−i,ri)[hi(s−i,ri)−hi(s−i,ti)]≥0.

When the recommendation rir^iri has zero probability, this inequality holds automatically. Thus no conditional probability needs to be defined in that case. A probability vector satisfying every such inequality is a correlated equilibrium. The inequalities include ri=tir^i=t^iri=ti, whose left-hand side is zero. Hart and Schmeidler (1989), p. 19, condition (1)

Formalization targets

Theorem 1: existence in every finite game

The mission's goal is the paper's Theorem 1, with its definition of correlated equilibrium kept explicit:

∀(N,(Si)i∈N,h),∃p∈Δ(S)∀i∈N ∀ri,ti∈Si,∑s−ip(s−i,ri)[hi(s−i,ri)−hi(s−i,ti)]≥0.\forall (N,(S^i)_{i\in N},h),\quad \exists p\in\Delta(S)\quad \forall i\in N\ \forall r^i,t^i\in S^i,\quad \sum_{s^{-i}}p(s^{-i},r^i) \bigl[h^i(s^{-i},r^i)-h^i(s^{-i},t^i)\bigr]\ge0.∀(N,(Si)i∈N​,h),∃p∈Δ(S)∀i∈N ∀ri,ti∈Si,s−i∑​p(s−i,ri)[hi(s−i,ri)−hi(s−i,ti)]≥0.

Here Δ(S)\Delta(S)Δ(S) denotes the set of probability vectors on the finite set SSS. The quantified payoffs are arbitrary real functions; the result specifies neither a unique equilibrium nor a particular equilibrium distribution. The milestone list records the paper's auxiliary-game correspondence, its finite minimax criterion, the nonnegative-matrix lemma, equation (2), and the final product-strategy identity. The lemma is linked to the already proved platform theorem CalibratedCE.Forecast.flow_conservation_solvable, which states the equivalent balance equations for a nonnegative matrix indexed by a nonempty finite set. Hart and Schmeidler (1989), pp. 19–20

Significance

The result guarantees feasibility of the complete system of recommendation inequalities for every finite payoff table. It is stronger as a foundation than checking an equilibrium in one game: later arguments can invoke the result after restricting a larger game to finite strategy sets. Hart and Schmeidler do exactly that in their infinite-game existence theorems. The finite theorem is already known mathematically; the task here is to give its particular statement and proof structure reusable, machine-checked declarations. Hart and Schmeidler (1989), pp. 20, 22, 24

The platform already has the general finite-game lottery vocabulary in agt_games and a proved mixed Nash-existence theorem, AGT.nash_existence. It also has AGT.IsCorrelatedEquilibrium in swap-function cost notation, AGT.swap_regret_correlated_equilibrium for approximate equilibria, and Aumann 1987's finite-probability-space model. Those results provide related notions and consequences. With ε=0\varepsilon = 0ε=0 and costs −hi-h^i−hi, the swap-function form of AGT.IsCorrelatedEquilibrium is equivalent to condition (1), since a switching rule can be optimized separately for each recommendation; the mission nevertheless states condition (1) as printed. The finite Minimax Theorem invoked on p. 19 is proved on the platform as AGT.zero_sum_minimax (a saddle-point statement for matrices indexed by Fin (m+1) and Fin (n+1), in another Mathlib environment), so the minimax milestone is the consequence the paper draws from it rather than the theorem itself. This mission fixes Hart and Schmeidler's payoff-maximizing condition (1) directly, with its recommendation-specific inequalities and auxiliary-game steps. The linked flow-conservation theorem was formalized in the Foster–Vohra series; its balance equations have the same content as the lemma on p. 19 after expanding the coefficients of an arbitrary vector uuu. Hart and Schmeidler (1989), p. 19

Difficulty

The inequalities must hold simultaneously for every player and every recommended-action/deviation pair. Choosing a distribution that makes one inequality hold does not ensure the others: the same weights p(s)p(s)p(s) occur in several constraints. An arbitrary product distribution can fail even in a two-player coordination game. Passing through an existing mixed Nash equilibrium proves existence, but gives no formal account of the paper's own finite minimax and nonnegative-matrix claims. The proof obligations here include the exact correspondence between the conditional recommendation constraints and an auxiliary two-person game, plus the algebra of a product of playerwise probability vectors. Hart and Schmeidler (1989), pp. 18–20

Formalization scope

Players are a finite Lean type ι\iotaι; SiS^iSi is a finite, nonempty type, and hi:S→Rh^i:S\to\mathbb Rhi:S→R. The profile space is the dependent product S=∏iSiS=\prod_iS^iS=∏i​Si. The expression (s−i,ti)(s^{-i},t^i)(s−i,ti) is Function.update s i t, and summing over S−iS^{-i}S−i with the iiith coordinate fixed to rir^iri is represented by summing over profiles satisfying si=ris^i=r^isi=ri. Probability vectors use the published AGT.IsLottery: nonnegative real weights whose finite sum is one. No measure-theoretic integral or conditional probability appears in this finite mission. The auxiliary minimizing player's pure strategies form one set of triples (i,ri,ti)(i,r^i,t^i)(i,ri,ti), with one probability vector over all triples. Hart and Schmeidler (1989), p. 19

Nonemptiness of each SiS^iSi is required: an empty strategy set would leave no probability vector on SSS. The player set itself may be empty; then SSS has one profile and the incentive conditions have no instances. The generic minimax milestone separately assumes that both of its pure-strategy sets are nonempty, so solvers must handle the playerless goal directly. Equality decisions are computational instances for finite enumeration, not restrictions on mathematical games. The correlated-equilibrium definition includes normalization and all incentive inequalities; it is not defined to hold automatically. The goal is the existence of a probability vector satisfying condition (1) itself, not a restatement through AGT.nash_existence that would make it a corollary of Nash's theorem. A sorry-free local check exhibits a correlated point mass in a two-player coordination game and another point mass that violates an incentive inequality. Contributions to the finite minimax criterion, its connection to the published balance theorem, and the sum rearrangement in the product-strategy milestone are all useful beyond this one goal.

Selected references

  • Sergiu Hart and David Schmeidler, Existence of Correlated Equilibria, Mathematics of Operations Research 14(1), 1989, pp. 18–25. DOI.
  • Noam Nisan, Tim Roughgarden, Éva Tardos, and Vijay V. Vazirani, eds., Algorithmic Game Theory, Cambridge University Press, 2007, Chapter 1. DOI.
8 thms4 active usersReviewed
🏆Completed
Convex OptimizationOptimizationStochastic Systems·Captain: mikedeng1

Loss Networks 2: The Erlang Fixed Point Is E_j = 1 − exp(−y_j) for the Unique Optimum y of the Strictly Convex Revised Dual ProblemResearch Paper

Motivation

A loss network is a model of a circuit-switched network: telephone networks, and more generally any system in which a request seizes several resources at once and is lost if any of them is unavailable. Exact loss probabilities in such networks are given by a product-form distribution over a state space whose size grows exponentially with the number of routes, so practitioners compute an approximation instead: the Erlang fixed point, also called the reduced-load approximation. It pretends that links block independently, computes the traffic offered to each link after thinning by the other links, and applies Erlang's single-link formula link by link. Reduced-load approximations of this kind recur throughout §§3–4 of Kelly 1991, where they appear as limits of networks with fixed and with alternative routing.

An approximation defined by a fixed point equation raises an immediate question: does the equation have exactly one solution? Under fixed routing it does, and Kelly's Theorem 3.7 (Ann. Appl. Probab. 1991, p. 338, citing Kelly 1986, reference [33] of the paper) proves it by identifying the fixed point with the optimum of a strictly convex program, the revised dual problem. The convex characterization is specific to fixed routing; the paper notes (p. 337) that for networks with dynamic routing and control nonuniquely determined behaviour can occur.

Setting

There are JJJ links, link jjj having Cj≥1C_j \ge 1Cj​≥1 circuits, and a finite set of routes rrr. A call on route rrr uses Ajr∈Z+A_{jr} \in \mathbb Z_+Ajr​∈Z+​ circuits of link jjj, and calls on route rrr arrive as a Poisson stream of rate νr>0\nu_r > 0νr​>0.

Erlang's formula (1.1) gives the blocking probability of a single link with CCC circuits offered Poisson traffic of intensity ν\nuν:

E(ν,C)=νCC![∑n=0Cνnn!]−1.E(\nu, C) = \frac{\nu^C}{C!}\Big[\sum_{n=0}^{C} \frac{\nu^n}{n!}\Big]^{-1}.E(ν,C)=C!νC​[n=0∑C​n!νn​]−1.

The Erlang fixed point equations (3.1)–(3.2) for the vector of link blocking probabilities (E1,…,EJ)(E_1, \dots, E_J)(E1​,…,EJ​) are

Ej=E(ρj,Cj),ρj=(1−Ej)−1∑rAjr νr∏i(1−Ei)Air,j=1,…,J.E_j = E(\rho_j, C_j), \qquad \rho_j = (1 - E_j)^{-1} \sum_r A_{jr}\,\nu_r \prod_i (1 - E_i)^{A_{ir}}, \qquad j = 1, \dots, J.Ej​=E(ρj​,Cj​),ρj​=(1−Ej​)−1r∑​Ajr​νr​i∏​(1−Ei​)Air​,j=1,…,J.

The utilization function U(y,C)U(y, C)U(y,C) is defined by the implicit relation (3.4),

U(−log⁡(1−E(ν,C)), C)=ν (1−E(ν,C)),ν≥0:U\big(-\log(1 - E(\nu, C)),\, C\big) = \nu\,\big(1 - E(\nu, C)\big), \qquad \nu \ge 0:U(−log(1−E(ν,C)),C)=ν(1−E(ν,C)),ν≥0:

the mean number of busy circuits on a single link whose blocking probability is 1−e−y1 - e^{-y}1−e−y.

The revised dual problem (3.5) is

minimize∑rνrexp⁡(−∑jyjAjr)+∑j∫0yjU(z,Cj) dzsubject to y≥0,\text{minimize} \quad \sum_r \nu_r \exp\Big(-\sum_j y_j A_{jr}\Big) + \sum_j \int_0^{y_j} U(z, C_j)\,dz \qquad \text{subject to } y \ge 0,minimizer∑​νr​exp(−j∑​yj​Ajr​)+j∑​∫0yj​​U(z,Cj​)dzsubject to y≥0,

and its stationarity conditions (3.6) are

∑rAjr νrexp⁡(−∑iyiAir)=U(yj,Cj),j=1,…,J.\sum_r A_{jr}\,\nu_r \exp\Big(-\sum_i y_i A_{ir}\Big) = U(y_j, C_j), \qquad j = 1, \dots, J.r∑​Ajr​νr​exp(−i∑​yi​Air​)=U(yj​,Cj​),j=1,…,J.

The revised dual differs from the dual problem (2.3) of §2, whose optimum gives the limiting blocking probabilities of a large network, only in its last term: ∑jyjCj\sum_j y_j C_j∑j​yj​Cj​ becomes ∑j∫0yjU(z,Cj) dz\sum_j \int_0^{y_j} U(z, C_j)\,dz∑j​∫0yj​​U(z,Cj​)dz.

Formalization targets

Goal: Theorem 3.7

The revised dual problem (3.5) has an optimum yyy, every optimum equals yyy, and

E∈[0,1]J solves (3.1)–(3.2)  ⟺  Ej=1−exp⁡(−yj) for every j.E \in [0,1]^J \text{ solves (3.1)–(3.2)} \iff E_j = 1 - \exp(-y_j) \text{ for every } j.E∈[0,1]J solves (3.1)–(3.2)⟺Ej​=1−exp(−yj​) for every j.

The goal states the characterization, not only the existence and uniqueness of the fixed point: the solution is 1−e−y1 - e^{-y}1−e−y for the optimum yyy of (3.5).

Milestones (p. 338, in the order the argument uses them)

  1. (3.4) defines a function: ν↦−log⁡(1−E(ν,C))\nu \mapsto -\log(1 - E(\nu, C))ν↦−log(1−E(ν,C)) is a continuous strictly increasing bijection of [0,∞)[0,\infty)[0,∞) onto itself for C≥1C \ge 1C≥1, UUU satisfies (3.4), and U≥0U \ge 0U≥0.
  2. y↦U(y,C)y \mapsto U(y, C)y↦U(y,C) is strictly increasing on [0,∞)[0, \infty)[0,∞).
  3. y↦∫0yU(z,C) dzy \mapsto \int_0^y U(z, C)\,dzy↦∫0y​U(z,C)dz is strictly convex, and so is the objective of (3.5) on y≥0y \ge 0y≥0.
  4. (3.5) has exactly one optimum.
  5. A vector y≥0y \ge 0y≥0 is optimal for (3.5) if and only if it satisfies (3.6).
  6. A solution of (3.1)–(3.2) in [0,1]J[0,1]^J[0,1]J has all Ej<1E_j < 1Ej​<1; and for y≥0y \ge 0y≥0, Ej=1−e−yjE_j = 1 - e^{-y_j}Ej​=1−e−yj​ solves (3.1)–(3.2) if and only if yyy satisfies (3.6).

Significance

The theorem turns a nonlinear system of JJJ equations into a smooth strictly convex minimization over the nonnegative orthant. Uniqueness of the fixed point follows at once, and the program gives a computational handle: any convex-minimization method computes the Erlang fixed point, without relying on the convergence of repeated substitution. The comparison with the dual problem (2.3) also explains the approximation: (3.6) relaxes the conditions (2.7), which force a link's carried traffic to equal its capacity before it can block, into a smooth relation in which blocking grows with carried traffic as Erlang's formula prescribes (Remark 3.8).

On Prove2Me, existence and uniqueness of the fixed point alone is already the Proved theorem KellyStochasticNetworks.erlang_fixed_point_unique (Kelly–Yudovina, Stochastic Networks, Theorem 3.20), referenced by this mission. Also referenced: KellyStochasticNetworks.erlang_strictMono (Proved: ν↦E(ν,C)\nu \mapsto E(\nu, C)ν↦E(ν,C) and ν↦ν(1−E(ν,C))\nu \mapsto \nu(1 - E(\nu, C))ν↦ν(1−E(ν,C)) are strictly increasing for C≥1C \ge 1C≥1) and KellyStochasticNetworks.erlang_mean_busy_circuits (Proved: the mean number of busy circuits is ν(1−E(ν,C))\nu(1 - E(\nu, C))ν(1−E(ν,C)), the reading of UUU as a utilization). What this mission adds is the revised dual problem itself, the utilization function UUU, and the identification of the fixed point with the optimum of (3.5); none of these is formalized on the platform.

Difficulty

The function UUU is defined only implicitly, through the inverse of ν↦−log⁡(1−E(ν,C))\nu \mapsto -\log(1 - E(\nu, C))ν↦−log(1−E(ν,C)), so every property of the objective of (3.5) passes through properties of Erlang's formula: monotonicity, continuity, and the limit E(ν,C)→1E(\nu, C) \to 1E(ν,C)→1 as ν→∞\nu \to \inftyν→∞. Differentiating ∫0yU\int_0^{y} U∫0y​U needs continuity of UUU, which must be derived from the inverse.

The paper's sentence "strictly convex: it thus has a unique minimum" covers only uniqueness. Existence of a minimizer on the unbounded set y≥0y \ge 0y≥0 is a separate fact, a growth estimate for the integral terms, and it is part of milestone 4. The first term of (3.5) is not strictly convex when AAA has rank less than JJJ, so strict convexity must come from the separable integral terms. Finally, optimality over y≥0y \ge 0y≥0 yields only one-sided conditions at coordinates with yj=0y_j = 0yj​=0; that (3.6) is an equality there uses U(0,C)=0U(0, C) = 0U(0,C)=0.

Formalization scope

Lean namespace KellyLossNetworks.RevisedDual. Links are Fin J, routes Fin R, the incidence matrix is A : Fin J → Fin R → ℕ, rates ν : Fin R → ℝ, capacities C : Fin J → ℕ, following the published Kelly–Yudovina definitions. Every statement assumes νr>0\nu_r > 0νr​>0 and Cj≥1C_j \ge 1Cj​≥1; the paper uses both without stating them, and a link with Cj=0C_j = 0Cj​=0 makes (3.4) meaningless, since E(ν,0)=1E(\nu, 0) = 1E(ν,0)=1.

Erlang's formula is the published KellyStochasticNetworks.erlang and the fixed point equations (3.1)–(3.2) are the published KellyStochasticNetworks.ErlangFixedPoint, whose factor (1−Ej)−1(1 - E_j)^{-1}(1−Ej​)−1 is Lean's total inverse; milestone 6 shows that no solution in [0,1]J[0,1]^J[0,1]J reaches Ej=1E_j = 1Ej​=1. Solutions are sought in [0,1]J[0,1]^J[0,1]J, as on p. 338.

UUU is defined by choice: U(y,C)=ν(1−E(ν,C))U(y, C) = \nu(1 - E(\nu, C))U(y,C)=ν(1−E(ν,C)) for a ν≥0\nu \ge 0ν≥0 with −log⁡(1−E(ν,C))=y-\log(1 - E(\nu, C)) = y−log(1−E(ν,C))=y, and 000 if none exists. For C≥1C \ge 1C≥1, y≥0y \ge 0y≥0 the ν\nuν is unique, and that (3.4) holds is milestone 1, a theorem, not an axiom built into the definition. Values at y<0y < 0y<0 or C=0C = 0C=0 are placeholders that no statement uses. The integral in (3.5) is the interval integral ∫0yj\int_0^{y_j}∫0yj​​. An optimum of (3.5) is a y≥0y \ge 0y≥0 whose objective value is at most that of every z≥0z \ge 0z≥0.

A trivializing formalization is ruled out: replacing UUU by any closed form other than the one fixed by (3.4) (for instance U(z,C)=CU(z, C) = CU(z,C)=C, the fluid utilization of Remark 3.8) would change the problem and reduce (3.5) to the dual (2.3); and the goal asserts the identification E=1−e−yE = 1 - e^{-y}E=1−e−y rather than restating the existence and uniqueness that is already Proved.

A complete development needs: inverse-function arguments for a strictly increasing continuous map of [0,∞)[0, \infty)[0,∞), derivatives of interval integrals with continuous integrands, strict convexity of separable sums, and first-order optimality conditions for convex functions on the nonnegative orthant. The facts about Erlang's formula and about UUU are reusable in any reduced-load analysis. Proofs of individual milestones are welcome independently.

Selected references

  • F. P. Kelly, Loss networks, The Annals of Applied Probability 1(3):319–378, 1991. https://doi.org/10.1214/aoap/1177005872
  • F. P. Kelly, Blocking probabilities in large circuit-switched networks, Advances in Applied Probability 18:473–505, 1986 (reference [33] of Kelly 1991; DOI not verified offline).
  • F. P. Kelly and E. Yudovina, Stochastic Networks, Cambridge University Press, 2014 (the source of the Proved platform items referenced here; DOI not verified offline).
13 thms4 active usersReviewed
Bandit AlgorithmsDynamic ProgrammingProbability·Captain: mikedeng1

Bandit Processes and Dynamic Allocation Indices: A Policy Is Optimal If and Only If It Almost Surely Continues a Bandit Process of Maximal Dynamic Allocation IndexResearch Paper

Motivation

The multi-armed bandit problem asks how to share effort sequentially among several independent projects, each of which evolves only while it is worked on. It models the scheduling of jobs on a single machine, the order in which to explore candidate sites, sequential clinical trials and the allocation of research effort among competing projects. Before 1972 the problem had no general solution: dynamic programming over the joint state of all projects is intractable as soon as there are more than a few of them.

J. C. Gittins and D. M. Jones (1974) announced, and Gittins (1979) set out in full, a solution of a striking form: each project can be assigned a number depending only on its own current state, its dynamic allocation index (DAI, now the Gittins index), and it is optimal to work on a project whose index is largest.

Timeline. Gittins and Jones presented the index result at the European Meeting of Statisticians in 1972 (proceedings 1974). Gittins (1979) gave the general discrete-time formulation, stated the Forwards Induction Theorem and the DAI Theorem without proof, and proved the attainment Lemma of its Section 4. Whittle (1980) gave a dynamic-programming proof through the retirement formulation, Weber (1992) the prevailing-charge interchange argument, and Tsitsiklis (1994) a short inductive proof. Gittins, Glazebrook and Weber (2011) is the standard monograph; Lattimore and Szepesvári (2020, Chapter 35) give a measure-theoretic treatment on general state spaces.

Setting

A bandit process DDD is a Markov chain x(0),x(1),…x(0), x(1), \dotsx(0),x(1),… on a measurable state space Θ\ThetaΘ with transition kernel PPP. Applying the continuation control at process time ttt earns the discounted reward atR(x(t))a^t R(x(t))atR(x(t)), with 0<a<10<a<10<a<1, and moves the chain one step; the freezing control leaves the state unchanged and earns nothing. For a stopping time τ\tauτ of the chain (possibly infinite) write

Rτ(D,x)=E{∑t=0τ−1atR(x(t)) ∣ x(0)=x},Wτ(D,x)=E{∑t=0τ−1at ∣ x(0)=x}.R_\tau(D,x)=E\Big\{\sum_{t=0}^{\tau-1}a^tR(x(t))\,\Big|\,x(0)=x\Big\},\qquad W_\tau(D,x)=E\Big\{\sum_{t=0}^{\tau-1}a^t\,\Big|\,x(0)=x\Big\}.Rτ​(D,x)=E{t=0∑τ−1​atR(x(t))​x(0)=x},Wτ​(D,x)=E{t=0∑τ−1​at​x(0)=x}.

The dynamic allocation index of DDD in state xxx is the largest reward per unit of discounted time obtainable by continuing for at least one step:

ν(D,x)=sup⁡τ>0ντ(D,x),ντ(D,x)=Rτ(D,x)Wτ(D,x).(2)\nu(D,x)=\sup_{\tau>0}\nu_\tau(D,x),\qquad \nu_\tau(D,x)=\frac{R_\tau(D,x)}{W_\tau(D,x)}. \tag{2}ν(D,x)=τ>0sup​ντ​(D,x),ντ​(D,x)=Wτ​(D,x)Rτ​(D,x)​.(2)

A simple family of alternative bandit processes consists of kkk bandit processes. At each stage n=0,1,2,…n=0,1,2,\dotsn=0,1,2,… a policy chooses exactly one of them to continue, possibly at random and as a function of the whole past; the others are frozen. A policy is optimal if it attains the supremum of the total expected discounted reward over all policies.

The Lean development uses the published objects markovChainMeasure P x (the chain law), IsPositiveStoppingTime, stoppedRatio P r α τ x (ντ\nu_\tauντ​), gittinsIndex P r α x (ν\nuν), MarkovBanditPolicy k S, markovBanditMeasure P π x n (the law of the first nnn stages) and markovBanditDiscountedValue P r α π x (the total expected discounted reward), with aaa written α and RRR written r.

Formalization targets

Goal: the DAI Theorem (Section 3, p. 154)

For every policy π\piπ and initial state vector xxx,

Vπ(x)=sup⁡π′Vπ′(x)  ⟺  ∀n, a.s. under the play of π from x:  πn({i:ν(xi(n))=max⁡jν(xj(n))})=1.V_\pi(x)=\sup_{\pi'}V_{\pi'}(x)\iff \forall n,\ \text{a.s. under the play of }\pi\text{ from }x:\ \ \pi_n\Big(\big\{i:\nu(x_i(n))=\max_j\nu(x_j(n))\big\}\Big)=1 .Vπ​(x)=π′sup​Vπ′​(x)⟺∀n, a.s. under the play of π from x:  πn​({i:ν(xi​(n))=jmax​ν(xj​(n))})=1.

Milestones

  1. Section 4, Lemma (p. 154). For Θ0={y:ν(D,y)<ν(D,x)}\Theta_0=\{y:\nu(D,y)<\nu(D,x)\}Θ0​={y:ν(D,y)<ν(D,x)} and τ\tauτ the first t≥1t\ge1t≥1 with x(t)∈Θ0x(t)\in\Theta_0x(t)∈Θ0​,
ντ(D,x)=ν(D,x).\nu_\tau(D,x)=\nu(D,x).ντ​(D,x)=ν(D,x).
  1. The "if" half of the DAI Theorem. A policy that selects a process of maximal index on every history is optimal: the published BanditAlgorithm.gittins_index_theorem, already Proved.
  2. Section 4, Corollary 1 (p. 155). For the MMM-horizon index νM(D,x)=sup⁡0<τ≤Mντ(D,x)\nu^M(D,x)=\sup_{0<\tau\le M}\nu_\tau(D,x)νM(D,x)=sup0<τ≤M​ντ​(D,x) (5), the rule that stops at the first t∈{1,…,M−1}t\in\{1,\dots,M-1\}t∈{1,…,M−1} with νM−t(D,x(t))<νM(D,x)\nu^{M-t}(D,x(t))<\nu^M(D,x)νM−t(D,x(t))<νM(D,x), and at MMM otherwise, attains νM(D,x)\nu^M(D,x)νM(D,x).

Significance

The result. The DAI Theorem replaces a dynamic program on the product of kkk state spaces by kkk one-dimensional optimal stopping problems. The "only if" half says more than that the index rule is one optimal policy: it characterizes every optimal policy, so any rule that departs from the index on a set of positive probability loses reward. The Lemma identifies the stopping rule that attains the index, which is how indices are computed in practice, and Corollary 1 is the finite-horizon version on which the paper's numerical algorithm (Section 7) rests.

Formalizing it. The sufficiency half is formalized: BanditAlgorithm.gittins_index_theorem (Lattimore–Szepesvári Theorem 35.9) is Proved on the platform, together with gittins_index_policy_dominates, gittins_stopping_ratio_le_index and gittins_epsilon_optimal_stopping. The attainment Lemma is Proved only for countable state spaces with bounded rewards (AllocationIndices.optimal_stopping_set, Gittins–Glazebrook–Weber Lemma 2.2), and the necessity half is on no platform item. This mission asks for the Lemma on general standard Borel state spaces with integrable rewards, the finite-horizon Corollary 1, and the full equivalence. The Forwards Induction Theorem of p. 153, which needs superprocesses and forwards induction policies, is outside its scope.

Difficulty

The "only if" direction is the new content, and it does not follow from the sufficiency theorem: knowing that one index policy is optimal says nothing about a policy that sometimes plays a lower-index process. The deviation must be shown to cost a strictly positive amount whenever it happens with positive probability, which requires a strict comparison that survives discounting, ties in the index and infinite stopping times. A second obstacle is measure-theoretic. On a general state space the index is a supremum over uncountably many stopping times, its measurability is not available, and the Lemma's stopping rule is a stopping time only if {y:ν(D,y)<ν(D,x)}\{y:\nu(D,y)<\nu(D,x)\}{y:ν(D,y)<ν(D,x)} is measurable; the arguments of the countable case, which treat each state separately, do not transfer.

Formalization scope

All objects are the published discounted kkk-armed Markov bandit of Def_GittinsIndex and the stopping-time quantities of Def_AllocationIndices_Index; time is indexed from 000, stopping times are N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}-valued and adapted to the coordinate filtration, and the index is the real supremum over stopping times τ≥1\tau\ge1τ≥1. The explicit readings committed to are:

  • "Optimal" means attaining sup⁡π′Vπ′(x)\sup_{\pi'}V_{\pi'}(x)supπ′​Vπ′​(x) from the given initial state vector, over all randomized history-dependent policies; this supremum is finite because the values are bounded uniformly in the policy under the integrability hypothesis.
  • "At each stage … almost always" means: for every stage nnn, almost surely under the law of the first nnn stages of π\piπ from xxx, the selection kernel puts mass one on the processes of maximal current index. Requiring the index rule on every history would make "only if" false.
  • "The supremum of the total expected reward is finite" (p. 151) is read as Ex∑tat∣R(x(t))∣<∞E_x\sum_t a^t|R(x(t))|<\inftyEx​∑t​at∣R(x(t))∣<∞ for every state xxx.
  • "ν(D,⋅)\nu(D,\cdot)ν(D,⋅) is an X\mathcal XX-measurable function" (p. 151) is an explicit hypothesis of the Lemma and of the goal; the measurability of every νm(D,⋅)\nu^m(D,\cdot)νm(D,⋅) is a hypothesis of Corollary 1.
  • "The supremum is attained by setting Θ0\Theta_0Θ0​" means that the first hitting time of Θ0\Theta_0Θ0​ from time 111 on is a positive stopping time whose ratio equals the index.
  • The state space is standard Borel (the paper asks only for measurable singletons), and all processes share one kernel and one reward function; a family of different processes is encoded on the disjoint union of their state spaces.

A trivializing formalization is ruled out: the goal is not stated for index policies on every history (which would only restate the referenced theorem), the index is the published supremum over stopping times rather than a one-step reward or a finite-horizon quantity, competitors are not restricted to Markov or deterministic policies, and the Lemma's stopping rule starts at time 111, so it never stops at once. A one-point state space satisfies all hypotheses together and admits a policy.

Useful infrastructure, reusable beyond this mission: measurability of the Gittins index on standard Borel spaces, a measurable selection of a maximal-index arm, and an interchange argument for kkk-armed Markov bandits on general state spaces. Proofs of any milestone, and of either half of the goal, are welcome.

Selected references

  • J. C. Gittins, Bandit Processes and Dynamic Allocation Indices, J. R. Statist. Soc. B 41(2), 148–177, 1979. https://doi.org/10.1111/j.2517-6161.1979.tb01068.x
  • J. C. Gittins and D. M. Jones, A dynamic allocation index for the sequential design of experiments, in Progress in Statistics (J. Gani et al., eds.), North-Holland, 241–266, 1974.
  • P. Whittle, Multi-armed bandits and the Gittins index, J. R. Statist. Soc. B 42(2), 143–149, 1980. https://doi.org/10.1111/j.2517-6161.1980.tb01111.x
  • R. Weber, On the Gittins index for multiarmed bandits, Ann. Appl. Probab. 2(4), 1024–1033, 1992. https://doi.org/10.1214/aoap/1177005588
  • J. N. Tsitsiklis, A short proof of the Gittins index theorem, Ann. Appl. Probab. 4(1), 194–199, 1994. https://doi.org/10.1214/aoap/1177005207
  • J. C. Gittins, K. D. Glazebrook and R. Weber, Multi-armed Bandit Allocation Indices, 2nd ed., Wiley, 2011. https://doi.org/10.1002/9780470980033
  • T. Lattimore and C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 35. https://doi.org/10.1017/9781108571401
7 thms4 active usersReviewed
🏆Completed
Linear OptimizationOptimization·Captain: mikedeng1

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

Motivation

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

Timeline.

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

Setting

For each real λ\lambdaλ the problem is

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

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

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

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

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

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

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

Formalization targets

Goal: the THEOREM (p. 41)

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

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

Selected references

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

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

Motivation

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

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

Setting

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

The average reward of RRR from state iii is

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

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

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

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

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

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

Formalization targets

Goal: Theorem 4.2.4

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

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

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

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

Motivation

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

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

Timeline, following the paper's introduction:

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

Setting

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

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

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

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

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

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

Formalization targets

Goal: Theorem 7

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

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

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

Milestones

In the order the proof uses them:

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

Significance

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

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

Difficulty

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

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

Formalization scope

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

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

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

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

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

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

Formalization targets

Goal: Theorem 6.2 (p. 12)

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

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

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

Milestones

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

Selected references

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

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

Motivation

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

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

Timeline:

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

Setting

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

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

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

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

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

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

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

Formalization targets

Goal: the polyhedron theorem (p. 93)

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

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

Milestones

In the paper's order of argument:

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

Formalization targets

Goal: correctness of the procedure

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

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

Milestones

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

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

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

Choices committed to:

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

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

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

Formalization targets

RANKING guarantee

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

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

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

Why competing retailers change the contracting problem

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

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

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

The proportional allocation model

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

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

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

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

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

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

Formalization targets

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

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

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

Milestones

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

Significance

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

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

Difficulty

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

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

Formalization scope

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

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

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

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

Selected references

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

On Linear Characterizations of Combinatorial Optimization Problems I: A Small Facial Description in NP Puts the Decision Problem in co-NPResearch Paper

Motivation

Polyhedral combinatorics attacks a combinatorial optimization problem by replacing its finite set of feasible solutions with the convex hull of that set and describing the hull by linear inequalities. Once such a description is known, the problem becomes a linear program, and linear programming duality supplies optimality certificates. For matchings, matroids and network flows this programme succeeded completely (Edmonds' matching polytope is the classical example). For the traveling salesman problem, set covering and integer programming, decades of work produced large families of valid and facet-defining inequalities but never a complete list.

R. M. Karp and C. H. Papadimitriou asked whether the failure is accidental. Their answer, in the MIT technical report On linear characterizations of combinatorial optimization problems (MIT/LCS/TM-154, February 1980; journal version SIAM J. Comput. 11 (1982) 620–632), is that for NP-complete problems a usable complete description cannot exist unless NP = co-NP. This mission formalizes the first of their two complexity results, Theorem 1, together with the steps of its proof and its Corollary 1.

Setting

A combinatorial optimization problem (c.o.p.) CCC consists of a set L⊆{0,1}∗L\subseteq\{0,1\}^*L⊆{0,1}∗ of inputs, a function nnn assigning to each input z∈Lz\in Lz∈L a number of variables n(z)≥0n(z)\ge 0n(z)≥0, and for each z∈Lz\in Lz∈L a set S(z)⊆(Z+)n(z)S(z)\subseteq(\mathbb Z^+)^{n(z)}S(z)⊆(Z+)n(z) of nonnegative integer vectors, the feasible solutions. The three languages LLL, {⟨z,y⟩:∣y∣=n(z)}\{\langle z,y\rangle : |y|=n(z)\}{⟨z,y⟩:∣y∣=n(z)} and {⟨z,x⟩:x∈S(z)}\{\langle z,x\rangle : x\in S(z)\}{⟨z,x⟩:x∈S(z)} must be recognizable in polynomial time. An instance is a pair ⟨z,c⟩\langle z,c\rangle⟨z,c⟩ with z∈Lz\in Lz∈L and c∈Zn(z)c\in\mathbb Z^{n(z)}c∈Zn(z), and the decision problem of CCC is

D(C)={⟨z,c,k⟩:z∈L, c∈Zn(z), k∈Z, ∃x∈S(z)  c⋅x≥k}.D(C)=\{\langle z,c,k\rangle : z\in L,\ c\in\mathbb Z^{n(z)},\ k\in\mathbb Z,\ \exists x\in S(z)\ \ c\cdot x\ge k\}.D(C)={⟨z,c,k⟩:z∈L, c∈Zn(z), k∈Z, ∃x∈S(z)  c⋅x≥k}.

Write CH(S(z))⊆Qn(z)\mathrm{CH}(S(z))\subseteq\mathbb Q^{n(z)}CH(S(z))⊆Qn(z) for the convex hull of S(z)S(z)S(z) over the rationals. A facial description of CCC is a set F(C)F(C)F(C) of triples ⟨z,f,g⟩\langle z,f,g\rangle⟨z,f,g⟩, with z∈Lz\in Lz∈L, f∈Zn(z)f\in\mathbb Z^{n(z)}f∈Zn(z) and g∈Zg\in\mathbb Zg∈Z, such that for every z∈Lz\in Lz∈L and every x∈Qn(z)x\in\mathbb Q^{n(z)}x∈Qn(z)

x∈CH(S(z))  ⟺  f⋅x≤g  for all ⟨z,f,g⟩∈F(C).x\in\mathrm{CH}(S(z))\iff f\cdot x\le g\ \text{ for all }\langle z,f,g\rangle\in F(C).x∈CH(S(z))⟺f⋅x≤g  for all ⟨z,f,g⟩∈F(C).

It is small if for some polynomial ppp every component of every triple ⟨z,f,g⟩∈F(C)\langle z,f,g\rangle\in F(C)⟨z,f,g⟩∈F(C) has absolute value at most 2p(∣z∣+n(z))2^{p(|z|+n(z))}2p(∣z∣+n(z)), so that each coefficient has polynomially many bits. The statement F(C)∈NPF(C)\in\mathrm{NP}F(C)∈NP means that the language of the triples of F(C)F(C)F(C) is in NP: membership of a listed inequality has short, checkable proofs.

Formalization targets

Goal: Theorem 1 (p. 7)

F(C) a small facial description of C,F(C)∈NP ⟹ D(C)∈co-NP.F(C)\ \text{a small facial description of }C,\quad F(C)\in\mathrm{NP}\ \Longrightarrow\ D(C)\in\text{co-NP}.F(C) a small facial description of C,F(C)∈NP ⟹ D(C)∈co-NP.

Milestones, in the order the proof uses them

  1. (p. 5) For a small facial description and every z∈Lz\in Lz∈L, only finitely many triples have first entry zzz, and CH(S(z))\mathrm{CH}(S(z))CH(S(z)) is the intersection of finitely many half-spaces.
  2. (pp. 7–8, (i)⇔(ii)) ⟨z,c,k⟩∉D(C)\langle z,c,k\rangle\notin D(C)⟨z,c,k⟩∈/D(C) iff c⋅x<kc\cdot x<kc⋅x<k for every x∈CH(S(z))x\in\mathrm{CH}(S(z))x∈CH(S(z)).
  3. (p. 8, (ii)⇔(iii)) For a facial description, the same holds with CH(S(z))\mathrm{CH}(S(z))CH(S(z)) replaced by the system f⋅x≤gf\cdot x\le gf⋅x≤g, ⟨z,f,g⟩∈F(C)\langle z,f,g\rangle\in F(C)⟨z,f,g⟩∈F(C).
  4. (p. 8, (iii)⇔(vi)) For a small facial description and S(z)≠∅S(z)\neq\emptysetS(z)=∅: c⋅x<kc\cdot x<kc⋅x<k on that system iff there are n(z)n(z)n(z) triples ⟨z,fi,gi⟩∈F(C)\langle z,f_i,g_i\rangle\in F(C)⟨z,fi​,gi​⟩∈F(C) whose matrix F\mathbf FF is nonsingular and the solution yyy of yTF=cy^T\mathbf F=cyTF=c satisfies y≥0y\ge 0y≥0 and yTg<ky^Tg<kyTg<k.

After the goal: Corollary 1 (p. 8)

D(C) NP-complete, F(C) small facial, F(C)∈NP ⟹ NP=co-NP.D(C)\ \text{NP-complete},\ F(C)\ \text{small facial},\ F(C)\in\mathrm{NP}\ \Longrightarrow\ \mathrm{NP}=\text{co-NP}.D(C) NP-complete, F(C) small facial, F(C)∈NP ⟹ NP=co-NP.

Significance

Theorem 1 converts a question of polyhedral combinatorics into one of complexity theory. Corollary 1 then says that for the traveling salesman problem, Hamiltonian circuit, set covering, integer programming and every other c.o.p. with an NP-complete decision problem, no complete linear description of the hulls has both polynomially sized coefficients and polynomially verifiable membership, unless NP = co-NP. This explains why the search for complete descriptions of such polytopes has not succeeded and why research on them turned to partial descriptions and separation. The companion result of the same paper (Theorem 2, the subject of the second mission in this series) treats separation routines and P instead of facial descriptions and co-NP.

The result itself is proved, by a short argument in the paper. To our knowledge it has no machine-checked proof. Formalizing it requires connecting three things that the platform holds only separately: Cook's Turing-machine classes P, NP and co-NP (published as CookPvsNP_defs), linear programming duality over the rationals (Farkas' lemma is published, e.g. LinearOptimization.farkas_inequality_form_fintype, for real matrices), and polynomial-time arithmetic on binary-encoded rational data, such as solving a nonsingular integer linear system. The last ingredient, a polynomial-time verifier built from a polynomial-time recognizer, is reusable for every co-NP or NP membership proof on the platform.

Difficulty

The mathematical content of Theorem 1 is the duality chain (i)⇔(vi): the "no" answer is certified by n(z)n(z)n(z) inequalities of F(C)F(C)F(C) and a basic dual solution. Two points make the formal proof harder than the paper's page suggests.

First, the duality chain needs care at its edges. When S(z)S(z)S(z) is empty the chain (iii)⇔(vi) can fail, so the verifier must also accept a different certificate (an infeasibility certificate from at most n(z)+1n(z)+1n(z)+1 triples), while milestone 4 carries the hypothesis S(z)≠∅S(z)\neq\emptysetS(z)=∅. Pointedness of the hull, which follows from S(z)⊆(Z+)n(z)S(z)\subseteq(\mathbb Z^+)^{n(z)}S(z)⊆(Z+)n(z), is what guarantees n(z)n(z)n(z) linearly independent rows.

Second, "Algorithm B clearly runs in polynomial time" hides a complete complexity argument on Cook's one-tape machines: parsing the input, testing z∈Lz\in Lz∈L and ∣c∣=n(z)|c|=n(z)∣c∣=n(z) with the recognizers of Definition 1, guessing the matrix within the size bound given by smallness, invoking the NP verifier of F(C)F(C)F(C) n(z)n(z)n(z) times, and solving yTF=cy^T\mathbf F=cyTF=c exactly over Q\mathbb QQ with polynomially bounded bit sizes (Cramer's rule bounds the numerators and denominators of yyy). The certificate must be of length polynomial in the input, which uses the uniform polynomial in the definition of "small". The naive certificate, a single optimal vertex of the hull, does not work: it proves a "yes" answer, not a "no".

Formalization scope

All definitions live in the namespace KarpPapadimitriou.Facial. Strings are List Bool; S(z)S(z)S(z) is a set of Fin (n z) → ℤ with nonnegative entries; CH(S(z))\mathrm{CH}(S(z))CH(S(z)) is convexHull ℚ of its image in Fin (n z) → ℚ, because the paper's "R" denotes the rationals (footnote, p. 3). Tuples are coded over the four-letter alphabet {0,1,−,#}\{0,1,-,\#\}{0,1,−,#} of the published ProjSchedTW_Complexity_Encoding, integers in binary, vectors prefixed by their length so that codes are uniquely decodable. P, NP, co-NP and NP-completeness are the published CookPvsNP_defs; D(C)D(C)D(C) and the triple language of F(C)F(C)F(C) are sets of codes, so strings encoding no triple lie in the complement of D(C)D(C)D(C), as in Algorithm B's step (i). The three polynomial-time conditions of Definition 1 are fields of the structure COP.

Explicit readings of the paper's loose phrases:

  • "polynomial ppp" in "small" is m↦mk+km\mapsto m^k+km↦mk+k with one kkk for all triples;
  • "has optimal value <k<k<k" for (ii) and (iii) is "every feasible point has value <k<k<k", meaningful for infeasible and unbounded programs;
  • "the system yTF=cy^T\mathbf F=cyTF=c has a unique nonnegative solution yyy with yTg<ky^Tg<kyTg<k" is "det⁡F≠0\det\mathbf F\neq0detF=0 and the solution satisfies y≥0y\ge 0y≥0, yTg<ky^Tg<kyTg<k";
  • (iii)⇔(vi) carries the hypothesis S(z)≠∅S(z)\neq\emptysetS(z)=∅, tacit in the paper; Theorem 1 does not;
  • "NP = co-NP" in Corollary 1 holds for every finite nonempty alphabet, since Cook's classes are indexed by the alphabet.

Printed slips: display (3) reads "min" while D(C)D(C)D(C) and the proof maximize; Algorithm B's step (v) reads "yTb>ky^Tb>kyTb>k" for yTg<ky^Tg<kyTg<k. Both are formalized in the corrected sense.

A trivializing formalization is ruled out: the goal quantifies over every c.o.p. and every small facial description, with complements taken over all strings, and no hypothesis restricts S(z)S(z)S(z) or F(C)F(C)F(C) beyond Definition 1 and the definitions of p. 4–5. Claim 1 (p. 9), announced without proof, is not part of the mission.

Contributions welcome: proofs of the four milestones (milestone 4 is an exercise in rational LP duality on finite systems), a reusable library of polynomial-time integer and rational arithmetic on Cook's machines, and the closure of NP under polynomial-time reductions across alphabets that Corollary 1 needs.

Selected references

  • R. M. Karp and C. H. Papadimitriou, On linear characterizations of combinatorial optimization problems, MIT/LCS/TM-154, February 1980. https://dspace.mit.edu/server/api/core/bitstreams/eb122126-c312-4445-a8d2-153e3e7d285f/content ; journal version SIAM J. Comput. 11 (1982) 620–632, https://doi.org/10.1137/0211053
  • S. A. Cook, The P versus NP problem, Clay Mathematics Institute Millennium Problem description, 2000. https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf
  • J. Edmonds, Maximum matching and a polyhedron with 0,1-vertices, J. Res. Nat. Bur. Standards 69B (1965) 125–130. https://doi.org/10.6028/jres.069B.013
  • A. Schrijver, Theory of Linear and Integer Programming, Wiley, 1986 (LP duality, basic solutions, sizes of solutions of linear systems). ISBN 978-0-471-98232-6
  • M. Grötschel and M. W. Padberg, On the symmetric travelling salesman problem I: Inequalities, Math. Programming 16 (1979) 265–280. https://doi.org/10.1007/BF01582116
10 thms4 active usersReviewed
🏆Completed
Algorithmic Game TheoryAnalysisTopology·Captain: mikedeng1

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

Motivation

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

Timeline, as the paper records it:

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

Setting

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

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

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

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

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

Formalization targets

Goal: the Corollary (p. 458)

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

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

Milestones

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

Selected references

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

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