Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

724 completed missions

Missions

581–600 of 724
OpenCompletedAll
🏆Completed
Operations ResearchProbability·Captain: mikedeng1

Conditional Logit Analysis of Qualitative Choice Behavior 1: Independence of Irrelevant Alternatives with a Universal Benchmark Yields Logit Selection ProbabilitiesResearch Paper

Motivation

The conditional logit model is the workhorse of discrete choice analysis: it is used to forecast travel mode shares, to estimate demand for differentiated products, and, in operations research, as the multinomial logit (MNL) choice model behind assortment optimization and revenue management. Its selection probabilities have the form P(x∣s,B)=ev(s,x)/∑y∈Bev(s,y)P(x\mid s,B) = e^{v(s,x)}/\sum_{y\in B} e^{v(s,y)}P(x∣s,B)=ev(s,x)/∑y∈B​ev(s,y). Daniel McFadden's 1974 chapter Conditional Logit Analysis of Qualitative Choice Behavior gave the model two behavioural foundations, one of which is the subject of this mission: the logit form is a consequence of a single axiom on how choice probabilities change when the set of available alternatives changes.

That axiom is Luce's choice axiom, which McFadden calls Independence of Irrelevant Alternatives (IIA): the relative odds of choosing one alternative over another do not depend on which other alternatives are present. Luce (1959) introduced it; McFadden (1974, §I) showed how, together with positivity and a mild condition on which alternative sets can occur, it yields the conditional logit form with a "utility indicator" v(s,x)v(s,x)v(s,x) shared by all alternative sets.

Timeline. Luce, Individual Choice Behavior (1959): the choice axiom and its ratio-scale representation. McFadden (1974, pp. 109–110): the derivation in the econometric setting with measured attributes sss, the binary-odds identities (5)–(10), and footnote 3, which removes an extra axiom (Axiom 3) by a universal benchmark alternative. McFadden (1974, pp. 111–112): the companion random-utility characterization by extreme-value shocks, treated in mission 2 of this series.

Setting

Let XXX be the universe of objects of choice and SSS the universe of vectors of measured attributes of decision-makers. An alternative set is a finite set B⊆XB\subseteq XB⊆X; a designated family of finite sets is the family of possible alternative sets. The selection probability P(x∣s,B)P(x\mid s,B)P(x∣s,B) is the probability that an individual drawn at random from the population, with attributes sss and facing BBB, chooses x∈Bx\in Bx∈B. For every sss and possible BBB, x↦P(x∣s,B)x\mapsto P(x\mid s,B)x↦P(x∣s,B) is a probability vector on BBB. Whenever x≠yx\neq yx=y belong to a possible set, the pair {x,y}\{x,y\}{x,y} is possible too, so binary choices are defined.

  • Axiom 1 (IIA). For all possible BBB, all sss and all x,y∈Bx,y\in Bx,y∈B: P(x∣s,{x,y})P(y∣s,B)=P(y∣s,{x,y})P(x∣s,B)P(x\mid s,\{x,y\})P(y\mid s,B) = P(y\mid s,\{x,y\})P(x\mid s,B)P(x∣s,{x,y})P(y∣s,B)=P(y∣s,{x,y})P(x∣s,B).
  • Axiom 2 (Positivity). P(x∣s,B)>0P(x\mid s,B)>0P(x∣s,B)>0 for all possible BBB, all sss, all x∈Bx\in Bx∈B.
  • Binary probabilities. pxy=P(x∣s,{x,y})p_{xy}=P(x\mid s,\{x,y\})pxy​=P(x∣s,{x,y}) for x≠yx\neq yx=y, and pxx=12p_{xx}=\tfrac12pxx​=21​ by definition.
  • The function VVV. V(s,x,z)=log⁡(pxz/pzx)V(s,x,z)=\log(p_{xz}/p_{zx})V(s,x,z)=log(pxz​/pzx​).
  • Universal benchmark. An alternative zzz such that B∪{z}B\cup\{z\}B∪{z} is possible whenever BBB is.

In Lean these are IsSelectionProb, PairsPossible, Axiom1, Axiom2, binProb, altSetV and IsUniversalBenchmark in the namespace McFadden1974.IIA.

Formalization targets

Goal: footnote 3 with Equation (12)

Under Axioms 1 and 2 and a universal benchmark zzz, with v(s,x)=V(s,x,z)v(s,x)=V(s,x,z)v(s,x)=V(s,x,z), for every sss, every possible BBB (containing zzz or not) and every x∈Bx\in Bx∈B:

P(x∣s,B)=ev(s,x)∑y∈Bev(s,y).P(x\mid s,B) = \frac{e^{v(s,x)}}{\sum_{y\in B} e^{v(s,y)}}.P(x∣s,B)=∑y∈B​ev(s,y)ev(s,x)​.

The function vvv is the same for all alternative sets; this is what distinguishes the goal from Equation (10).

Milestones, in the paper's order

  1. Equation (5): for x≠yx\neq yx=y in BBB with P(x∣s,B)>0P(x\mid s,B)>0P(x∣s,B)>0, Axiom 1 gives P(x∣s,{x,y})>0P(x\mid s,\{x,y\})>0P(x∣s,{x,y})>0 and P(y∣s,{x,y})P(x∣s,{x,y})=P(y∣s,B)P(x∣s,B)\dfrac{P(y\mid s,\{x,y\})}{P(x\mid s,\{x,y\})}=\dfrac{P(y\mid s,B)}{P(x\mid s,B)}P(x∣s,{x,y})P(y∣s,{x,y})​=P(x∣s,B)P(y∣s,B)​.
  2. Equations (6)–(7): P(y∣s,B)=pyxpxyP(x∣s,B)P(y\mid s,B)=\dfrac{p_{yx}}{p_{xy}}P(x\mid s,B)P(y∣s,B)=pxy​pyx​​P(x∣s,B) and 1=(∑y∈Bpyxpxy)P(x∣s,B)1=\Big(\sum_{y\in B}\dfrac{p_{yx}}{p_{xy}}\Big)P(x\mid s,B)1=(∑y∈B​pxy​pyx​​)P(x∣s,B).
  3. Equation (8): P(x∣s,B)=1/∑y∈B(pyx/pxy)P(x\mid s,B)=1\big/\sum_{y\in B}(p_{yx}/p_{xy})P(x∣s,B)=1/∑y∈B​(pyx​/pxy​).
  4. Equation (9): pyxpxy=pyz/pzypxz/pzx\dfrac{p_{yx}}{p_{xy}}=\dfrac{p_{yz}/p_{zy}}{p_{xz}/p_{zx}}pxy​pyx​​=pxz​/pzx​pyz​/pzy​​ for x,y,zx,y,zx,y,z in a possible set.
  5. Equation (10): for a benchmark z∈Bz\in Bz∈B, P(x∣s,B)=eV(s,x,z)/∑y∈BeV(s,y,z)P(x\mid s,B)=e^{V(s,x,z)}\big/\sum_{y\in B}e^{V(s,y,z)}P(x∣s,B)=eV(s,x,z)/∑y∈B​eV(s,y,z).

Significance

The result. The goal identifies a testable axiom on choice probabilities, IIA, with a parametric functional form, the conditional logit model. It is what licenses the econometric specification v(s,x)=θ′z(s,x)v(s,x)=\theta'z(s,x)v(s,x)=θ′z(s,x) estimated in the rest of McFadden's chapter, and it is the reason the MNL model is the default in assortment and pricing problems in operations research. It also makes the model's limitations precise: any population whose choices violate IIA (the auto/red-bus/blue-bus example on p. 113 of the chapter) cannot be logit.

Formalizing it. The result is classical and proved on paper. No machine-checked statement of it exists on the platform, which has the logit form only as a definition (soft-max, MNL revenue) and IIA only in Arrow's social-choice sense, a different axiom about preference aggregation. This mission produces a formal statement of the derivation with every standing assumption explicit, including two the paper leaves implicit: that selection probabilities are normalized on binary sets, and that binary subsets of possible sets are possible.

Difficulty

The algebra is elementary; the difficulty is bookkeeping of where each axiom may be applied. Axioms 1 and 2 are assumed only on possible alternative sets. Equation (10) needs the benchmark to lie in the alternative set, and the naive argument "pick z∈Bz\in Bz∈B as benchmark" produces a function V(s,x,z)V(s,x,z)V(s,x,z) that depends on the set through the choice of zzz. The goal requires a single vvv for all sets, including sets that do not contain zzz, where neither Equation (10) nor the axioms on BBB alone say anything about zzz. A second subtlety is the diagonal: {x,x}={x}\{x,x\}=\{x\}{x,x}={x}, so pxxp_{xx}pxx​ is set to 12\tfrac1221​ by definition rather than read off a singleton choice.

Formalization scope

Alternatives form a type X with decidable equality, alternative sets are Finset X, possible sets are a Set (Finset X), and selection probabilities are a real-valued function P : S → Finset X → X → ℝ. Only values P s B x with x ∈ B and B possible are constrained; no statement depends on the others. binProb sets the diagonal to 1/2. altSetV uses Real.log, which is 0 on non-positive arguments; under Axiom 2 on the binary sets its argument is always positive where it is used.

The probability-vector hypothesis on every possible set, binary sets included, is part of every statement: without it the zero function satisfies Axiom 1 vacuously and Equations (7)–(8) fail. The goal is stated with the explicit v(s,x)=V(s,x,z)v(s,x)=V(s,x,z)v(s,x)=V(s,x,z), never as "for each BBB there is a vvv", which would only restate (10).

Nothing beyond Mathlib's finite sums, Real.exp and Real.log is needed. Proofs of the milestones and of the goal are welcome, as is a formal statement of the auto/bus example or of the converse (logit selection probabilities satisfy Axioms 1 and 2).

Selected references

  • D. McFadden, Conditional logit analysis of qualitative choice behavior, in P. Zarembka (ed.), Frontiers in Econometrics, Academic Press, New York, 1974, pp. 105–142. https://eml.berkeley.edu/reprints/mcfadden/zarembka.pdf
  • R. D. Luce, Individual Choice Behavior: A Theoretical Analysis, Wiley, New York, 1959. https://doi.org/10.1037/14396-000
7 thms2 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchTheoretical Computer Science·Captain: mikedeng1

The Online Set Cover Problem 1: A Deterministic O(log m log n)-Competitive Algorithm for Unweighted Online Set CoverResearch Paper

Motivation

Set cover asks for the fewest sets from a family S\mathcal SS of mmm subsets of a ground set XXX of nnn elements whose union contains XXX. It is NP-hard, and the best ratio achievable in polynomial time is Θ(log⁡n)\Theta(\log n)Θ(logn) (Feige 1998, doi:10.1145/285055.285059).

Alon, Awerbuch, Azar, Buchbinder and Naor (SIAM J. Comput. 39(2), 2009; preliminary version STOC 2003) introduced an online version. The instance (X,S)(X,\mathcal S)(X,S) is known in advance, but an adversary reveals elements one at a time, and each revealed element must be covered at once, by sets that can never be removed later. The set X′⊆XX'\subseteq XX′⊆X of elements that will actually be revealed is unknown. The paper's motivating example is a network of servers: the potential clients and the servers that can serve each client are known, but which clients will request service is not, and every activated server costs money.

The question is how much an algorithm loses against an offline adversary who knows X′X'X′ and covers it with a family COPT\mathcal C_{OPT}COPT​. This mission formalizes the paper's answer for unit costs (Section 2): a deterministic algorithm whose cover is within a factor O(log⁡mlog⁡n)O(\log m\log n)O(logmlogn) of ∣COPT∣|\mathcal C_{OPT}|∣COPT​∣. Section 3 of the paper extends the algorithm to weighted sets and Section 4 proves a nearly matching lower bound; those are separate missions of this series.

Setting

An instance consists of a finite ground set XXX with n=∣X∣n=|X|n=∣X∣ elements and a finite family S\mathcal SS of m=∣S∣m=|\mathcal S|m=∣S∣ sets. For an element jjj, Sj\mathcal S_jSj​ is the collection of sets containing jjj. Every set has cost 111, so the cost of a family is its number of members.

The adversary gives a sequence σ\sigmaσ of elements (the given elements form X′X'X′). A family COPT⊆S\mathcal C_{OPT}\subseteq\mathcal SCOPT​⊆S covers σ\sigmaσ if each element of σ\sigmaσ lies in some member of it.

The algorithm keeps a weight wS>0w_S>0wS​>0 for every set, initially wS=1/(2m)w_S=1/(2m)wS​=1/(2m), and a cover C\mathcal CC, initially empty. The weight of an element is wj=∑S∈SjwSw_j=\sum_{S\in\mathcal S_j}w_Swj​=∑S∈Sj​​wS​, and CCC is the set of elements covered by members of C\mathcal CC. The potential is

Φ=∑j∉Cn2wj.\Phi=\sum_{j\notin C}n^{2w_j}.Φ=j∈/C∑​n2wj​.

When the adversary gives an element jjj:

  1. if wj≥1w_j\ge1wj​≥1, nothing changes;
  2. otherwise a weight augmentation is performed: (a) kkk is the minimal integer with 2kwj>12^k w_j>12kwj​>1; (b) every S∈SjS\in\mathcal S_jS∈Sj​ gets the weight 2kwS2^k w_S2kwS​; (c) at most 4log⁡n4\log n4logn sets from Sj\mathcal S_jSj​ are added to C\mathcal CC, so that Φ\PhiΦ does not exceed its value before the augmentation.

Step (c) prescribes a property of the chosen sets, not the sets themselves. A run on σ\sigmaσ is any sequence of iterations, one per arrival, in which every iteration makes an admissible choice.

Formalization targets

Goal: Theorem 2.3

For n≥2n\ge2n≥2, every arrival sequence σ\sigmaσ, and every family COPT\mathcal C_{OPT}COPT​ covering σ\sigmaσ: a run of the algorithm on σ\sigmaσ exists, and every run ends with a cover C\mathcal CC that covers every element of σ\sigmaσ and satisfies

∣C∣  ≤  ⌈4ln⁡n⌉⋅∣COPT∣⋅(log⁡2m+2).|\mathcal C|\;\le\;\lceil 4\ln n\rceil\cdot|\mathcal C_{OPT}|\cdot(\log_2 m+2).∣C∣≤⌈4lnn⌉⋅∣COPT​∣⋅(log2​m+2).

The paper states ∣C∣=O(∣COPT∣log⁡mlog⁡n)|\mathcal C|=O(|\mathcal C_{OPT}|\log m\log n)∣C∣=O(∣COPT​∣logmlogn); the displayed bound is the constant its proof produces. Because the bound holds for every covering family, it holds in particular for an optimal one.

Milestones

Lemma 2.1. In every run, the number of iterations with a weight augmentation is at most

∣COPT∣⋅(log⁡2m+2).|\mathcal C_{OPT}|\cdot(\log_2 m+2).∣COPT​∣⋅(log2​m+2).

Lemma 2.2. In an iteration with a weight augmentation, from a state with positive weights, there is a family F⊆SjF\subseteq\mathcal S_jF⊆Sj​ with ∣F∣≤⌈4ln⁡n⌉|F|\le\lceil4\ln n\rceil∣F∣≤⌈4lnn⌉ such that

Φe≤Φs,\Phi_e\le\Phi_s,Φe​≤Φs​,

where Φs\Phi_sΦs​ is the potential before the iteration and Φe\Phi_eΦe​ the potential after it, computed with the augmented weights and the cover C∪F\mathcal C\cup FC∪F.

Significance

The theorem shows that online set cover over a known instance admits a deterministic O(log⁡mlog⁡n)O(\log m\log n)O(logmlogn)-competitive algorithm. Section 4 of the paper shows this is nearly optimal: no deterministic algorithm achieves o ⁣(log⁡mlog⁡nlog⁡log⁡m+log⁡log⁡n)o\!\left(\frac{\log m\log n}{\log\log m+\log\log n}\right)o(loglogm+loglognlogmlogn​) over a wide range of parameters. Its multiplicative weight updates were developed further into the online primal–dual framework for covering problems of Buchbinder and Naor (FnT TCS 3(2–3), 2009), whose Section 5.1 restates this algorithm.

The result is proved in the paper; it is not machine-checked. The Prove2Me platform has the weighted version's final counting step from the Buchbinder–Naor monograph, but no statement of Section 2. A complete development here gives a checked proof of the unweighted competitive ratio with an explicit constant, together with a reusable formal model of an online algorithm with a nondeterministic step, whose correctness includes the existence of an admissible choice at every step.

Difficulty

The central step is Lemma 2.2: a family of at most ⌈4ln⁡n⌉\lceil4\ln n\rceil⌈4lnn⌉ sets that keeps the potential from increasing must exist at every augmentation. The obvious rules fail. Adding every set of Sj\mathcal S_jSj​ can exceed the cardinality bound, since Sj\mathcal S_jSj​ may contain up to mmm sets. Adding nothing, or a single set, can increase Φ\PhiΦ: every uncovered element sharing a set with jjj has its weight raised, and its term n2wn^{2w}n2w grows by a factor up to n2δn^{2\delta}n2δ. The paper's argument is non-constructive, and a formal proof must establish existence for a finite averaging statement over real powers of nnn.

The second difficulty is that the algorithm is nondeterministic. A statement "every run has property P" is empty if no run exists, and the existence of a run is exactly Lemma 2.2 applied at every step under the invariants that weights stay positive and that each arriving element lies in some set. Feasibility (that every given element ends up covered) is not part of the algorithm's rule; it follows from the potential never increasing, which needs n≥2n\ge2n≥2 and a careful treatment of the initial potential, which is at most n2n^2n2 and equals n2n^2n2 when every element lies in every set.

Formalization scope

The instance is the published OnlinePrimalDual.OnlineSetCover.SetCoverInstance (finite types E of elements and T of set indices, incidence elemSets), with the published elementWeight (wjw_jwj​) and coveredBy (j∈Cj\in Cj∈C). Its positive cost field is not used: all sets have unit cost and the cover is measured by its cardinality. n=∣E∣n=|E|n=∣E∣ and m=∣T∣m=|T|m=∣T∣. Weights are real numbers; n2wjn^{2w_j}n2wj​ is the real power.

The algorithm is the definition OnlineSetCover.Unweighted.Algorithm: a relation Step for one iteration (recording whether a weight augmentation occurred) and Run for a sequence of iterations from the initial state, counting augmentations. Arrival sequences are lists and may repeat elements.

Explicit forms of the paper's asymptotic and unspecified quantities:

  • the paper's "4log⁡n4\log n4logn" sets per augmentation is ⌈4ln⁡n⌉\lceil 4\ln n\rceil⌈4lnn⌉ (natural logarithm, rounded up: the proof repeats a random choice that many times and needs (1−δ/2)4log⁡n≤n−2δ(1-\delta/2)^{4\log n}\le n^{-2\delta}(1−δ/2)4logn≤n−2δ);
  • Lemma 2.1's log⁡m+2\log m+2logm+2 is log⁡2m+2=log⁡2(4m)\log_2 m+2=\log_2(4m)log2​m+2=log2​(4m) (weights grow from 1/(2m)1/(2m)1/(2m) to at most 222 by factors at least 222);
  • Theorem 2.3's O(∣COPT∣log⁡mlog⁡n)O(|\mathcal C_{OPT}|\log m\log n)O(∣COPT​∣logmlogn) is ⌈4ln⁡n⌉⋅∣COPT∣⋅(log⁡2m+2)\lceil4\ln n\rceil\cdot|\mathcal C_{OPT}|\cdot(\log_2 m+2)⌈4lnn⌉⋅∣COPT​∣⋅(log2​m+2);
  • kkk ranges over natural numbers; for wj<1w_j<1wj​<1 the minimal integer with 2kwj>12^kw_j>12kwj​>1 is one;
  • the paper's remark "(Clearly, 2k⋅wj<22^k\cdot w_j<22k⋅wj​<2.)" is not encoded; the correct bound is ≤2\le2≤2 (wj=1/2w_j=1/2wj​=1/2 gives k=2k=2k=2) and is not a hypothesis anywhere.

The goal adds the hypothesis n≥2n\ge2n≥2, which the paper's log⁡n\log nlogn assumes tacitly: for n=1n=1n=1 no set may be added and the element is never covered.

Replacing the algorithm by the set of states whose potential is at most the initial one, or dropping the existence of a run from the goal, gives a weaker theorem; part (a) of the goal rules this out.

A complete development needs elementary real analysis (Real.rpow, Real.log, 1−x≤e−x1-x\le e^{-x}1−x≤e−x), a finite probabilistic or averaging argument for Lemma 2.2, and induction over runs. Contributions are welcome on any milestone; a derandomized averaging lemma for Lemma 2.2 would be reusable in the weighted mission of this series.

Selected references

  • N. Alon, B. Awerbuch, Y. Azar, N. Buchbinder, J. Naor, The Online Set Cover Problem, SIAM J. Comput. 39(2):361–370, 2009. https://doi.org/10.1137/060661946
  • U. Feige, A Threshold of ln n for Approximating Set Cover, J. ACM 45(4):634–652, 1998. https://doi.org/10.1145/285055.285059
  • N. Buchbinder, J. Naor, The Design of Competitive Online Algorithms via a Primal–Dual Approach, Foundations and Trends in Theoretical Computer Science 3(2–3):93–263, 2009. https://doi.org/10.1561/0400000024
7 thms2 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchTheoretical Computer Science·Captain: mikedeng1

The Online Set Cover Problem 3: Every Deterministic Online Algorithm Has Competitive Ratio at Least kr on the Block FamilyResearch Paper

Motivation

In the online set cover problem of Alon, Awerbuch, Azar, Buchbinder and Naor (SIAM J. Comput. 2009; preliminary version STOC 2003), a ground set and a family of subsets are known in advance, but the elements that actually need covering arrive one at a time, and each must be covered on arrival by sets chosen irrevocably. The paper's motivating example is a network of servers with activation costs: the set of potential clients is known, the clients that actually request service are not, and each request must be served on arrival.

The paper gives a deterministic online algorithm whose cost is within a factor O(log⁡mlog⁡n)O(\log m \log n)O(logmlogn) of the offline optimum, where nnn is the number of elements and mmm the number of sets. Its Section 4 shows that this is close to optimal for deterministic algorithms: for all interesting values of mmm and nnn, every deterministic online algorithm has competitive ratio Ω(log⁡nlog⁡m/(log⁡log⁡m+log⁡log⁡n))\Omega\big(\log n \log m / (\log\log m + \log\log n)\big)Ω(lognlogm/(loglogm+loglogn)). The lower bound is the reason the log⁡mlog⁡n\log m \log nlogmlogn product, rather than the ln⁡n\ln nlnn of offline approximation (Feige 1998), is the right target online. The online primal–dual framework that grew out of this paper (Buchbinder and Naor 2009) cites it as the benchmark for online covering problems.

This mission formalizes the exact, non-asymptotic statements behind that lower bound: Propositions 4.1 and 4.2 of the paper.

Setting

A ground set XXX and a family F\mathcal FF of distinct subsets of XXX are fixed and known to the algorithm; m=∣F∣m = |\mathcal F|m=∣F∣. An adversary presents elements x1,x2,…x_1, x_2, \dotsx1​,x2​,… of XXX one by one, choosing each after seeing the algorithm's previous responses. A deterministic online algorithm AAA, on the arrival of xtx_txt​, sees the earlier arrivals (x1,…,xt−1)(x_1, \dots, x_{t-1})(x1​,…,xt−1​) and xtx_txt​, and adds a finite family A((x1,…,xt−1),xt)⊆FA\big((x_1,\dots,x_{t-1}), x_t\big) \subseteq \mathcal FA((x1​,…,xt−1​),xt​)⊆F of sets to its collection; sets are never removed. It is valid if after every arrival that lies in some member of F\mathcal FF, that element lies in a chosen set. After an arrival sequence σ\sigmaσ the chosen collection is CA(σ)\mathcal C_A(\sigma)CA​(σ), and since every set has unit cost, the cost is ∣CA(σ)∣|\mathcal C_A(\sigma)|∣CA​(σ)∣. The offline optimum OPT(σ)\mathrm{OPT}(\sigma)OPT(σ) is the least number of members of F\mathcal FF covering the elements of σ\sigmaσ. The competitive ratio of AAA is at least ρ\rhoρ when some arrival sequence σ\sigmaσ has OPT(σ)≥1\mathrm{OPT}(\sigma) \ge 1OPT(σ)≥1 and ∣CA(σ)∣≥ρ OPT(σ)|\mathcal C_A(\sigma)| \ge \rho\,\mathrm{OPT}(\sigma)∣CA​(σ)∣≥ρOPT(σ).

Two families are used.

  • The bit family: X={0,…,2k−1}X = \{0, \dots, 2^k - 1\}X={0,…,2k−1} and Fi={j:bit i of j is on}F_i = \{ j : \text{bit } i \text{ of } j \text{ is on}\}Fi​={j:bit i of j is on} for 1≤i≤k1 \le i \le k1≤i≤k.
  • The block family: kr2k r^2kr2 disjoint blocks X1,…,Xkr2X_1, \dots, X_{kr^2}X1​,…,Xkr2​ of 2k2^k2k elements each; Xb(t)X_b(t)Xb​(t) is the set of elements of block XbX_bXb​ whose tttth bit is on. For an rrr-set R={b1<⋯<br}R = \{b_1 < \dots < b_r\}R={b1​<⋯<br​} of blocks and bit locations I=(i1,…,ir)I = (i_1, \dots, i_r)I=(i1​,…,ir​),
FR,I=⋃t=1rXbt(it),F_{R,I} = \bigcup_{t=1}^r X_{b_t}(i_t),FR,I​=t=1⋃r​Xbt​​(it​),

and the family consists of all FR,IF_{R,I}FR,I​; it has m=(kr2r)krm = \binom{kr^2}{r} k^rm=(rkr2​)kr members.

Formalization targets

Goal: Proposition 4.2

For all positive integers k,rk, rk,r and all n,mn, mn,m with

n≥2k+1kr2,22kkr2≥m≥(kr2r)kr,n \ge 2^{k+1} k r^2, \qquad 2^{2^k k r^2} \ge m \ge \binom{kr^2}{r} k^r,n≥2k+1kr2,22kkr2≥m≥(rkr2​)kr,

there is a family F\mathcal FF of exactly mmm distinct subsets of an nnn-element set such that for every valid deterministic online algorithm AAA there is a nonempty arrival sequence σ\sigmaσ, covered by a single member of F\mathcal FF, with

∣CA(σ)∣≥kr=kr⋅OPT(σ).|\mathcal C_A(\sigma)| \ge kr = kr \cdot \mathrm{OPT}(\sigma).∣CA​(σ)∣≥kr=kr⋅OPT(σ).

The goal leaves the instance existential, as the paper does, and keeps both bounds on mmm and the bound on nnn exactly as printed.

Milestones

  1. Proposition 4.1. On the bit family, ∣F∣=k|\mathcal F| = k∣F∣=k; every valid deterministic algorithm can be forced to cost kkk on a sequence with OPT=1\mathrm{OPT} = 1OPT=1; and some valid algorithm has cost at most k⋅∣C∣k \cdot |C|k⋅∣C∣ for every offline cover CCC. So the best deterministic competitive ratio is exactly k=log⁡2nk = \log_2 nk=log2​n.
  2. The adversary claim of Section 4 (p. 369). On the block family, every valid deterministic algorithm can be forced to choose krkrkr sets by at most krkrkr arrivals that a single set covers.

A supporting item (not a milestone) records the count ∣F∣=(kr2r)kr|\mathcal F| = \binom{kr^2}{r} k^r∣F∣=(rkr2​)kr of the block family.

Significance

The result. Proposition 4.2 is the exact statement behind the paper's lower bound: choosing rrr of order log⁡m/(log⁡log⁡m+log⁡log⁡n)\log m / (\log\log m + \log\log n)logm/(loglogm+loglogn) and kkk of order log⁡n\log nlogn turns it into the asymptotic bound Ω(log⁡nlog⁡m/(log⁡log⁡m+log⁡log⁡n))\Omega\big(\log n \log m/(\log\log m + \log\log n)\big)Ω(lognlogm/(loglogm+loglogn)), which shows that the paper's O(log⁡mlog⁡n)O(\log m \log n)O(logmlogn) algorithm is optimal among deterministic algorithms up to a log⁡log⁡m+log⁡log⁡n\log\log m + \log\log nloglogm+loglogn factor. Without it, the gap between the ln⁡n\ln nlnn achievable offline and the log⁡mlog⁡n\log m \log nlogmlogn achieved online would be unexplained. Proposition 4.1 alone gives the matching bound log⁡2n\log_2 nlog2​n when m=log⁡2nm = \log_2 nm=log2​n.

Formalizing it. Both propositions are proved in the paper; neither is formalized anywhere to our knowledge. The mission produces a reusable model of deterministic online algorithms against an adaptive adversary, with a validity notion and a cost, and machine-checked adversary arguments on it. The paper's proof tacitly lets the algorithm add one set per arrival; the statements here cover algorithms that add any number of sets per arrival, so a complete formalization also closes that gap.

Difficulty

The adversary must be adaptive, and the quantifiers are ordered instance, then algorithm, then arrival sequence. The obvious single-block argument (Proposition 4.1) forces only kkk sets. To force krkrkr sets with OPT=1\mathrm{OPT} = 1OPT=1, the adversary must move to blocks that no chosen set has touched yet, which requires counting the blocks touched by the sets chosen so far. When an algorithm adds many sets at once, the paper's count "at most 1+(r−1)k1 + (r-1)k1+(r−1)k blocks after kkk steps" no longer applies as written, and the stopping rule has to be phrased in terms of the cost already paid. The padding of Proposition 4.2 must reach exactly nnn elements and exactly mmm distinct sets without creating sets that help cover the adversary's elements.

Formalization scope

The ground set is a Fin type: Fin (2^k) for Proposition 4.1, Fin (k r²) × Fin (2^k) (block, element) for the block family, Fin n for Proposition 4.2. A family is a Finset (Finset X), so its cardinality counts distinct sets. Bit iii (1-based) of jjj is Nat.testBit j (i-1). An online algorithm is a function from (earlier arrivals in arrival order, current element) to the finite family of sets it adds; it may add any number of sets. Validity demands coverage only for elements that some member of the family contains. Costs are unit (the problem of Section 4 is unweighted).

The offline optimum is never encoded as an infimum: lower bounds exhibit a nonempty arrival sequence and a single covering set (OPT=1\mathrm{OPT} = 1OPT=1), and the upper bound of Proposition 4.1 quantifies over all offline covers. This rules out the trivializing reading in which the empty arrival sequence satisfies cost≥kr⋅OPT\text{cost} \ge kr \cdot \mathrm{OPT}cost≥kr⋅OPT as 0≥00 \ge 00≥0.

The statements contain no O(⋅)O(\cdot)O(⋅): every quantity is the paper's exact one. The asymptotic bound (8) under the range (7), whose final paragraph only sketches the choice of rrr and kkk, is excluded, as are the remarks on the trivial ratio-mmm and O(n)O(\sqrt n)O(n​) algorithms.

Contributions welcome: proofs of the milestones; lemmas on the chosen collection (monotonicity, decomposition along a sequence); the count of the block family; and the padding construction of Proposition 4.2. The online-algorithm model is reusable for other deterministic online covering lower bounds.

Selected references

  • N. Alon, B. Awerbuch, Y. Azar, N. Buchbinder, J. Naor, The Online Set Cover Problem, SIAM J. Comput. 39(2):361–370, 2009. https://doi.org/10.1137/060661946
  • N. Alon, B. Awerbuch, Y. Azar, N. Buchbinder, J. Naor, The online set cover problem, Proc. 35th ACM STOC, 2003, pp. 100–105. https://doi.org/10.1145/780542.780558
  • U. Feige, A threshold of ln n for approximating set cover, J. ACM 45(4):634–652, 1998. https://doi.org/10.1145/285055.285059
  • N. Buchbinder, J. Naor, The Design of Competitive Online Algorithms via a Primal–Dual Approach, Foundations and Trends in Theoretical Computer Science 3(2–3):93–263, 2009. https://doi.org/10.1561/0400000024
6 thms2 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchTheoretical Computer Science·Captain: mikedeng1

The Online Set Cover Problem 2: Given α ≥ c(C_OPT), the Weighted Potential-Function Algorithm Never Fails and Pays at Most (6+o(1)) α log m log nResearch Paper

Motivation

Set cover is one of the basic covering problems of combinatorial optimization: given a ground set and a family of subsets with costs, choose a cheapest subfamily whose union contains every element. In many applications the elements to be covered are not known in advance but appear over time: requests for a service that must be served by opening facilities, clients that must be assigned to servers, or constraints of a covering program that are revealed one at a time. Each arriving element must be covered at once, and decisions cannot be undone. This is the online set cover problem, introduced by Alon, Awerbuch, Azar, Buchbinder and Naor (SIAM J. Comput. 39(2), 2009; conference version STOC 2003).

The quality of an online algorithm is measured by its competitive ratio: the worst case, over all arrival sequences, of the ratio between the algorithm's cost and the cost of an optimal offline cover of the elements that actually arrived. The paper gives a deterministic algorithm with ratio O(log⁡mlog⁡n)O(\log m \log n)O(logmlogn), where nnn is the number of elements and mmm the number of sets, and shows a nearly matching lower bound for deterministic algorithms. Its algorithm for the weighted case, analysed with a potential function, became a template for the online primal–dual method surveyed by Buchbinder and Naor (Found. Trends Theor. Comput. Sci. 3(2–3), 2009).

This mission formalizes the core of the weighted result: the algorithm that is given a value α\alphaα at least the optimal cost, and its guarantee (Theorem 3.4).

Setting

The ground set XXX has n=∣X∣n = |X|n=∣X∣ elements and the family S\mathcal SS has m=∣S∣m = |\mathcal S|m=∣S∣ sets; every set SSS has a cost cS>0c_S > 0cS​>0. Both are known to the algorithm in advance. For an element jjj, Sj\mathcal S_jSj​ denotes the sets containing jjj. Elements of an unknown subset of XXX arrive one at a time in a sequence σ\sigmaσ; on arrival each must be covered by a chosen set. The chosen family C\mathcal CC can only grow. COPT\mathcal C_{OPT}COPT​ is any family covering every arriving element, and c(COPT)=∑S∈COPTcSc(\mathcal C_{OPT}) = \sum_{S \in \mathcal C_{OPT}} c_Sc(COPT​)=∑S∈COPT​​cS​.

The algorithm is given α≥c(COPT)\alpha \ge c(\mathcal C_{OPT})α≥c(COPT​). It discards sets costing more than α\alphaα, buys sets costing at most α/m\alpha/mα/m outright, and rescales costs; on the resulting normalized instance 1≤cS≤m1 \le c_S \le m1≤cS​≤m and cS≤αc_S \le \alphacS​≤α for every set (p. 365).

The algorithm keeps a weight wS>0w_S > 0wS​>0 for every set, initially wS=1/m2w_S = 1/m^2wS​=1/m2; the weight of an element is wj=∑S∈SjwSw_j = \sum_{S \in \mathcal S_j} w_Swj​=∑S∈Sj​​wS​. With CCC the set of covered elements and χC\chi_{\mathcal C}χC​ the indicator of C\mathcal CC, the potential is

Φ=∑j∉Cn2wj+n⋅exp⁡(12α∑S∈S(cSχC(S)−3wScSlog⁡n)),\Phi = \sum_{j \notin C} n^{2 w_j} + n \cdot \exp\Big(\frac{1}{2\alpha} \sum_{S \in \mathcal S} \big(c_S \chi_{\mathcal C}(S) - 3 w_S c_S \log n\big)\Big),Φ=j∈/C∑​n2wj​+n⋅exp(2α1​S∈S∑​(cS​χC​(S)−3wS​cS​logn)),

with natural logarithms throughout. When jjj arrives with wj≥1w_j \ge 1wj​≥1 nothing happens; otherwise the algorithm performs weight augmentation steps while wj<1w_j < 1wj​<1. In a step, for each S∈SjS \in \mathcal S_jS∈Sj​: (a) wS←wS(1+1ncS)w_S \leftarrow w_S (1 + \frac{1}{n c_S})wS​←wS​(1+ncS​1​); (b) if S∉CS \notin \mathcal CS∈/C, add SSS to C\mathcal CC when Φ\PhiΦ does not exceed its value before (a); (c) if Φ\PhiΦ has increased, return FAIL.

In Lean, the instance is the published OnlinePrimalDual.OnlineSetCover.SetCoverInstance over finite types X (elements) and T (sets), with the published elementWeight, coveredBy and potential. The run is OnlineSetCover.Weighted.Reachable inst α σ, the set of configurations reachable from initState σ under the transition relation Step.

Formalization targets

Goal: Theorem 3.4

On the normalized instance, with COPT\mathcal C_{OPT}COPT​ covering σ\sigmaσ, c(COPT)≤αc(\mathcal C_{OPT}) \le \alphac(COPT​)≤α, and n⋅n2/m+n<n2n \cdot n^{2/m} + n < n^2n⋅n2/m+n<n2, every reachable configuration is a running state (never FAIL) in which (i) every j∈Xj \in Xj∈X with wj≥1w_j \ge 1wj​≥1 is covered, and (ii)

∑S∈CcS≤3log⁡n(1+(1+1n)αlog⁡(m2(1+1n)))+2αlog⁡n=(6+o(1)) αlog⁡mlog⁡n.\sum_{S \in \mathcal C} c_S \le 3 \log n \Big(1 + \Big(1 + \frac1n\Big)\alpha \log\Big(m^2\Big(1+\frac1n\Big)\Big)\Big) + 2\alpha \log n = (6 + o(1))\,\alpha \log m \log n.S∈C∑​cS​≤3logn(1+(1+n1​)αlog(m2(1+n1​)))+2αlogn=(6+o(1))αlogmlogn.

Milestones

  • Lemma 3.1 (p. 365): the number NNN of augmentation steps satisfies N≤∑S∈COPT(ncS+1)log⁡(m2(1+1/n))≤(n+1)αlog⁡(m2(1+1/n))N \le \sum_{S \in \mathcal C_{OPT}} (n c_S + 1)\log(m^2(1 + 1/n)) \le (n+1)\alpha\log(m^2(1+1/n))N≤∑S∈COPT​​(ncS​+1)log(m2(1+1/n))≤(n+1)αlog(m2(1+1/n)).
  • Lemma 3.2 (p. 366): throughout, ∑SwScS≤1+N/n≤1+(1+1/n)αlog⁡(m2(1+1/n))\sum_S w_S c_S \le 1 + N/n \le 1 + (1 + 1/n)\alpha\log(m^2(1+1/n))∑S​wS​cS​≤1+N/n≤1+(1+1/n)αlog(m2(1+1/n)).
  • Lemma 3.3 (p. 366): a per-set step with cS≤αc_S \le \alphacS​≤α never increases Φ\PhiΦ; in particular the algorithm never fails.

The Proved platform theorem OnlinePrimalDual.OnlineSetCover.algorithm_correctness (the last paragraph of the proof of Theorem 3.4, with the invariant Φ<n2\Phi < n^2Φ<n2 assumed) is included as a supporting reference.

Significance

Theorem 3.4 is the analysis of the subroutine; with the doubling over guesses of α\alphaα described on pp. 364–365 (which loses a factor of at most 4) it yields the paper's deterministic O(log⁡mlog⁡n)O(\log m \log n)O(logmlogn)-competitive algorithm for weighted online set cover. The lower bound of Section 4 shows that no deterministic algorithm can do much better on general instances, so the result is close to the deterministic optimum. The technique, a potential that couples a fractional multiplicative-weights solution to a deterministic rounding, reappears in online covering and packing, online facility location and related problems.

The result is proved in the paper and restated in the Buchbinder–Naor monograph. On Prove2Me, the monograph's final step (from the invariant Φ<n2\Phi < n^2Φ<n2 to the cost bound) is a Proved theorem, and its expectation form of the monotonicity lemma is Disproved because it omits the hypothesis cS≤αc_S \le \alphacS​≤α. Neither the full statement about the algorithm's run nor Lemmas 3.1, 3.2 and the corrected Lemma 3.3 are formalized on the platform. This mission produces them, with the o(1)o(1)o(1) terms replaced by explicit expressions.

Difficulty

The cost bound in the last step is short once two facts about the run are available: that Φ\PhiΦ stays below n2n^2n2, and that the fractional cost ∑SwScS\sum_S w_S c_S∑S​wS​cS​ stays logarithmic. Neither is a local fact about one state. The first requires showing that, at every per-set step, one of the two deterministic choices (add SSS or not) does not increase Φ\PhiΦ; the paper proves this by a probabilistic argument over an auxiliary randomized choice, and the bound on the exponential term depends on the cost of the set being at most α\alphaα. The platform's earlier statement of this lemma, which omits that hypothesis, is Disproved. The second requires a bound on the number of augmentation steps over the whole run, which depends on the run's history and not on any single state. In Lean both are inductions over an operational semantics with real-valued exponentials and powers n2wjn^{2 w_j}n2wj​, where the initial bound Φ<n2\Phi < n^2Φ<n2 is a genuine size condition on nnn and mmm.

Formalization scope

The run is a small-step transition relation. A state records the weights, the cover, the number of augmentation steps begun, the elements not yet given, and the position inside the current step; FAIL is a separate terminal configuration. The order in which a step visits Sj\mathcal S_jSj​ is arbitrary and may differ between steps; every statement holds for every order. "Throughout the algorithm" means every reachable configuration, including those between per-set substeps. Arrival sequences are arbitrary lists (repetitions allowed) of elements covered by COPT\mathcal C_{OPT}COPT​.

Conventions: costs, weights and α\alphaα are real; nnn and mmm are the cardinalities of the finite types cast to R\mathbb RR; log⁡\loglog is Real.log; n2wjn^{2 w_j}n2wj​ and n2/mn^{2/m}n2/m are real powers. The paper's asymptotic expressions are replaced by what its proofs establish:

  • Lemma 3.1: (2+o(1))nαlog⁡m(2 + o(1)) n\alpha\log m(2+o(1))nαlogm becomes (n+1)αlog⁡(m2(1+1/n))(n+1)\alpha\log(m^2(1+1/n))(n+1)αlog(m2(1+1/n));
  • Lemma 3.2: (2+o(1))αlog⁡m(2 + o(1))\alpha\log m(2+o(1))αlogm becomes 1+(1+1/n)αlog⁡(m2(1+1/n))1 + (1+1/n)\alpha\log(m^2(1+1/n))1+(1+1/n)αlog(m2(1+1/n)), together with the intermediate bound 1+N/n1 + N/n1+N/n;
  • Theorem 3.4 (ii): (6+o(1))αlog⁡mlog⁡n(6 + o(1))\alpha\log m\log n(6+o(1))αlogmlogn becomes 3log⁡n (1+(1+1/n)αlog⁡(m2(1+1/n)))+2αlog⁡n3\log n\,(1 + (1+1/n)\alpha\log(m^2(1+1/n))) + 2\alpha\log n3logn(1+(1+1/n)αlog(m2(1+1/n)))+2αlogn;
  • "n and m large" becomes the hypothesis n⋅n2/m+n<n2n \cdot n^{2/m} + n < n^2n⋅n2/m+n<n2 used for the initial potential (it holds, for instance, when n≥4n \ge 4n≥4 and m≥3m \ge 3m≥3).

The goal is a statement about the configurations the algorithm actually reaches from wS=1/m2w_S = 1/m^2wS​=1/m2 and the empty cover. Taking the invariant Φ<n2\Phi < n^2Φ<n2 or the fractional-cost bound as a hypothesis on an arbitrary state would trivialize it, and is ruled out: those are exactly what the milestones establish. The doubling wrapper for unknown α\alphaα is not part of this mission.

A complete development needs an invariant for reachable states (positive weights, steps of an element processed in full), the per-set potential inequality, and the step-counting argument. The per-set inequality is reusable for the monograph's version of the algorithm. Contributions of proofs of any milestone, and of auxiliary invariants as separate lemmas, are welcome.

Selected references

  • N. Alon, B. Awerbuch, Y. Azar, N. Buchbinder, J. Naor, The Online Set Cover Problem, SIAM Journal on Computing 39(2):361–370, 2009. https://doi.org/10.1137/060661946
  • N. Buchbinder, J. Naor, The Design of Competitive Online Algorithms via a Primal–Dual Approach, Foundations and Trends in Theoretical Computer Science 3(2–3):93–263, 2009. https://doi.org/10.1561/0400000024
10 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations ResearchProbability·Captain: mikedeng1

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

Motivation

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

Timeline of the linear-latency case:

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

Setting

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

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

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

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

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

Formalization targets

Goal: Theorem 14

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

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

Selected references

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

Consensus of Subjective Probabilities: The Pari-Mutuel Method: Equilibrium Track Probabilities Exist and Are UniqueResearch Paper

Motivation

A group of mmm individuals each hold a subjective probability distribution over the same nnn outcomes, and one wants a single distribution representing their consensus. Averaging and convolution are the obvious candidates. Eisenberg and Gale (Ann. Math. Statist. 30(1), 1959) observe that a real institution already performs such an aggregation: the pari-mutuel method of betting on horse races, in which the final "track's odds" on a horse are proportional to the total amount bet on it.

The difficulty is circular. Each bettor wants to bet where the ratio of their own probability to the track probability is largest, but the track probabilities are only known after everyone has bet. The paper asks whether track probabilities and bets compatible with both the bettors' strategies and the pari-mutuel principle exist, and whether they are determined by the data. It answers yes on both counts for the probabilities, which gives a well-defined notion of pari-mutuel consensus.

The variational problem the paper introduces, maximizing ∑ibilog⁡(utilityi)\sum_i b_i \log(\text{utility}_i)∑i​bi​log(utilityi​), is now known as the Eisenberg–Gale convex program. It is the standard tool for computing equilibria of linear Fisher markets, and the pari-mutuel market is the special case in which every bettor's utility for a horse is their subjective win probability.

Setting

There are mmm bettors B1,…,BmB_1,\dots,B_mB1​,…,Bm​ and nnn horses H1,…,HnH_1,\dots,H_nH1​,…,Hn​.

  • The subjective probability matrix P=(pij)P=(p_{ij})P=(pij​) is m×nm\times nm×n; pijp_{ij}pij​ is the probability, in the opinion of BiB_iBi​, that HjH_jHj​ wins. Each row is a probability distribution: pij≥0p_{ij}\ge 0pij​≥0 and ∑jpij=1\sum_j p_{ij}=1∑j​pij​=1.
  • Bettor BiB_iBi​ has a budget bi>0b_i>0bi​>0, with the unit of money chosen so that ∑ibi=1\sum_i b_i=1∑i​bi​=1.
  • Each column of PPP contains at least one positive entry (a horse nobody believes in can be removed).

Unknowns are Greek. πj\pi_jπj​ is the track probability of HjH_jHj​ and βij\beta_{ij}βij​ is the amount BiB_iBi​ bets on HjH_jHj​. Nonnegative πj,βij\pi_j,\beta_{ij}πj​,βij​ are equilibrium probabilities and bets when

(1) ∑j=1nβij=bi,(2) ∑i=1mβij=πj,(3) if μi=max⁡spisπs and βij>0, then μi=pijπj.\text{(1)}\ \sum_{j=1}^n\beta_{ij}=b_i,\qquad \text{(2)}\ \sum_{i=1}^m\beta_{ij}=\pi_j,\qquad \text{(3)}\ \text{if } \mu_i=\max_s\frac{p_{is}}{\pi_s}\text{ and }\beta_{ij}>0,\text{ then }\mu_i=\frac{p_{ij}}{\pi_j}.(1) j=1∑n​βij​=bi​,(2) i=1∑m​βij​=πj​,(3) if μi​=smax​πs​pis​​ and βij​>0, then μi​=πj​pij​​.

(1) is the budget relation, (2) the pari-mutuel condition, and (3) says each bettor bets only on horses that maximize the subjective expectation pij/πjp_{ij}/\pi_jpij​/πj​.

The paper's variational problem is

φ(ξ)=∑i=1mbilog⁡∑j=1npijξijonD={ξ: ξij≥0, ∑i=1mξij=1 for all j},\varphi(\xi)=\sum_{i=1}^m b_i\log\sum_{j=1}^n p_{ij}\xi_{ij}\quad\text{on}\quad D=\Big\{\xi:\ \xi_{ij}\ge0,\ \sum_{i=1}^m\xi_{ij}=1\ \text{for all } j\Big\},φ(ξ)=i=1∑m​bi​logj=1∑n​pij​ξij​onD={ξ: ξij​≥0, i=1∑m​ξij​=1 for all j},

with φ=−∞\varphi=-\inftyφ=−∞ where an inner sum vanishes. From a maximizer ξˉ\bar\xiξˉ​ it builds πj=max⁡ibipij/∑spisξˉis\pi_j=\max_i b_ip_{ij}/\sum_s p_{is}\bar\xi_{is}πj​=maxi​bi​pij​/∑s​pis​ξˉ​is​ (6) and βij=ξˉijπj\beta_{ij}=\bar\xi_{ij}\pi_jβij​=ξˉ​ij​πj​ (7). In Lean the market is PariMutuel.Consensus.Market m n, equilibrium is Market.IsEquilibrium, and φ\varphiφ, DDD, the maximizer predicate, (6) and (7) are Market.phi, D m n, Market.IsPhiMaximizer, Market.trackProb, Market.bets.

Formalization targets

Goal: existence and uniqueness of equilibrium probabilities

∃! π∈Rn  ∃ β∈Rm×n: (π,β) are equilibrium probabilities and bets.\exists!\,\pi\in\mathbb R^n\ \ \exists\,\beta\in\mathbb R^{m\times n}:\ (\pi,\beta)\ \text{are equilibrium probabilities and bets}.∃!π∈Rn  ∃β∈Rm×n: (π,β) are equilibrium probabilities and bets.

Only π\piπ is unique; the paper notes that equilibrium bets need not be.

Milestones

  1. φ\varphiφ attains its maximum on DDD at a point with every inner sum positive (p. 167).
  2. ∂φ/∂ξij=bipij/∑spisξis\partial\varphi/\partial\xi_{ij}=b_ip_{ij}/\sum_s p_{is}\xi_{is}∂φ/∂ξij​=bi​pij​/∑s​pis​ξis​ wherever the inner sums are positive (p. 167).
  3. (8): at a maximizer, ξˉij>0\bar\xi_{ij}>0ξˉ​ij​>0 implies πj=∂φ/∂ξˉij\pi_j=\partial\varphi/\partial\bar\xi_{ij}πj​=∂φ/∂ξˉ​ij​ (p. 167).
  4. Every πj\pi_jπj​ of (6) is positive (p. 167).
  5. EXISTENCE THEOREM: for every maximizer ξˉ\bar\xiξˉ​, (6)–(7) are equilibrium probabilities and bets (p. 167).
  6. Every equilibrium has πj>0\pi_j>0πj​>0 (p. 168).
  7. For two equilibria, ∑kπˉkπˉk/πk≤1\sum_k\bar\pi_k\bar\pi_k/\pi_k\le 1∑k​πˉk​πˉk​/πk​≤1 (p. 168).
  8. If π>0\pi>0π>0, πˉ≥0\bar\pi\ge0πˉ≥0, both sum to 1 and ∑kπˉk2/πk≤1\sum_k\bar\pi_k^2/\pi_k\le1∑k​πˉk2​/πk​≤1, then πˉ=π\bar\pi=\piπˉ=π (p. 168).
  9. UNIQUENESS THEOREM: equilibrium probabilities are unique (p. 168).

A further, non-milestone item states the referee's example (p. 168): with two bettors of equal budgets and two horses, if the first bettor's distribution is (12,12)(\tfrac12,\tfrac12)(21​,21​), the equilibrium probabilities are (12,12)(\tfrac12,\tfrac12)(21​,21​) whatever the second bettor believes.

Significance

The result makes pari-mutuel odds a well-defined function of the bettors' beliefs and budgets, so the consensus can be studied as a mathematical object; the referee's example shows it behaves very differently from averaging, since a single indifferent bettor can fix it. The existence proof replaces a fixed-point argument by a concave maximization, which is the origin of the Eisenberg–Gale program, later the basis of convex-programming and combinatorial algorithms for Fisher market equilibria.

The theorems are classical and fully proved in the paper. To the knowledge of this mission they have no machine-checked proof. The mission produces a formal pari-mutuel market model, the Eisenberg–Gale program with the correct treatment of log⁡0=−∞\log 0=-\inftylog0=−∞, and Lean proofs of existence and uniqueness. The platform's Market Equilibrium under Separable, Piecewise-Linear, Concave Utilities missions (Vazirani–Yannakakis) concern a related Fisher-market model with rational piecewise-linear utilities.

Difficulty

The existence statement, as the paper proves it, has two delicate points. φ\varphiφ is −∞-\infty−∞ on part of the boundary of DDD, so "continuous on a compact set" needs the extended-real reading, and a real-valued formalization must handle the boundary separately. The first-order condition (8) has to be derived from maximality on a polytope with equality constraints on columns, not from an unconstrained critical point.

For uniqueness, the natural first idea, strict concavity of φ\varphiφ, fails: φ\varphiφ is concave but not strictly concave in ξ\xiξ, and indeed equilibrium bets are not unique. Uniqueness has to be proved for the probabilities directly, for arbitrary equilibria and not only those built from a maximizer, and it needs positivity of all πj\pi_jπj​, which the paper uses without proof.

Formalization scope

  • Bettors are Fin m and horses Fin n, indexed from 0. All data are real. Every standing assumption (rows of PPP are probability vectors, no zero column, bi>0b_i>0bi​>0, ∑ibi=1\sum_i b_i=1∑i​bi​=1) is a field of Market; m≥1m\ge1m≥1 follows from ∑ibi=1\sum_ib_i=1∑i​bi​=1.
  • Condition (3) is written multiplied out: βij>0⇒pisπj≤pijπs\beta_{ij}>0\Rightarrow p_{is}\pi_j\le p_{ij}\pi_sβij​>0⇒pis​πj​≤pij​πs​ for all sss. This equals (3) when π>0\pi>0π>0 and encodes the paper's p/0=+∞p/0=+\inftyp/0=+∞ when some πs=0\pi_s=0πs​=0. Positivity of π\piπ is not part of the definition of equilibrium; it is milestone 6.
  • DDD has column sums one, as in (5).
  • φ\varphiφ is real-valued. A maximizer is a point of DDD with positive inner sums that dominates every point of DDD with positive inner sums; the excluded points have φ=−∞\varphi=-\inftyφ=−∞ on the page. The max in (6) is Finset.sup' over the nonempty set of bettors.
  • Ruled out: a version of (3) with real division (x/0=0x/0=0x/0=0) admits spurious equilibria with πs=0\pi_s=0πs​=0 and makes uniqueness false; a maximizer defined with the raw real φ\varphiφ (log⁡0=0\log0=0log0=0) changes the set of maximizers; adding π>0\pi>0π>0 or ∑jπj=1\sum_j\pi_j=1∑j​πj​=1 to the equilibrium definition weakens the goal.
  • Needed infrastructure: compactness of DDD and an argument handling the −∞-\infty−∞ boundary, one-variable derivatives of log⁡\loglog of linear forms, and the equality case of the Cauchy–Schwarz inequality. Milestones 7–9 use no analysis and can be attacked independently of 1–5. Proofs of any milestone, and reusable lemmas on the Eisenberg–Gale program, are welcome.

Selected references

  • E. Eisenberg and D. Gale, Consensus of subjective probabilities: the pari-mutuel method, The Annals of Mathematical Statistics 30(1):165–168, 1959. https://doi.org/10.1214/aoms/1177706369
  • V. V. Vazirani and M. Yannakakis, Market equilibrium under separable, piecewise-linear, concave utilities, Journal of the ACM 58(3), 2011. https://doi.org/10.1145/1970392.1970394
12 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingMarkov ChainOperations Research·Captain: mikedeng1

Discrete Dynamic Programming 2: A Stationary Policy Is Nearly Optimal as the Discount Factor Tends to 1 Exactly When It Maximizes x(g) and, Among Those, y(g)Research Paper

Motivation

A finite Markov decision problem with discounting is solved by Howard's policy improvement routine: start from a stationary policy, switch to actions that do better against its value, repeat. When the discount factor β\betaβ tends to 111 the total discounted income typically diverges, and the natural targets become the long-run average income and, among policies with the best average, the policy that does best in the transient phase. Howard treated this undiscounted case directly (Howard, 1960). David Blackwell's 1962 paper (Blackwell, 1962) treats β=1\beta = 1β=1 as a limit of β<1\beta < 1β<1: it expands the discounted return of a stationary policy in powers of 1−β1-\beta1−β and reads off which policies remain good as β→1\beta \to 1β→1. The two leading coefficients of that expansion, the gain x(f)x(f)x(f) and the bias y(f)y(f)y(f), became the standard objects of average-reward and sensitive-discount optimality (Veinott, 1969; Puterman, 1994, Ch. 8–10).

Timeline. Howard (1960) gives policy iteration for discounted and average-income problems. Blackwell (1962) proves that some stationary policy is optimal for all β\betaβ near 111 (his Theorem 5, the subject of a companion mission) and, in Theorem 4, characterizes the nearly optimal stationary policies through xxx and yyy. Miller and Veinott (1969) and Veinott (1969) extend the expansion to all orders (nnn-discount optimality).

Setting

There are finitely many states s∈Ss \in Ss∈S and a finite nonempty set AAA of actions. Action aaa in state sss pays an income i(s,a)∈Ri(s,a) \in \mathbb Ri(s,a)∈R and moves the system to s′s's′ with probability q(s′∣s,a)q(s' \mid s,a)q(s′∣s,a). FFF is the finite set of decision rules f:S→Af : S \to Af:S→A. A policy is a sequence π={f1,f2,… }\pi = \{f_1, f_2, \dots\}π={f1​,f2​,…} of decision rules; f(∞)f^{(\infty)}f(∞) uses fff every day, and (g,π)(g, \pi)(g,π) uses ggg first and then π\piπ. For f∈Ff \in Ff∈F, r(f)r(f)r(f) is the vector (i(s,f(s)))s(i(s,f(s)))_s(i(s,f(s)))s​ and Q(f)Q(f)Q(f) the Markov matrix (q(s′∣s,f(s)))s,s′(q(s' \mid s,f(s)))_{s,s'}(q(s′∣s,f(s)))s,s′​. The discounted return of π\piπ is the vector

Vβ(π)=∑n=0∞βnQ(f1)⋯Q(fn) r(fn+1),0≤β<1,V_\beta(\pi) = \sum_{n=0}^\infty \beta^n Q(f_1)\cdots Q(f_n)\, r(f_{n+1}), \qquad 0 \le \beta < 1,Vβ​(π)=n=0∑∞​βnQ(f1​)⋯Q(fn​)r(fn+1​),0≤β<1,

and Vβ(f)V_\beta(f)Vβ​(f) abbreviates Vβ(f(∞))V_\beta(f^{(\infty)})Vβ​(f(∞)). Vectors are compared coordinatewise; w1>w2w_1 > w_2w1​>w2​ means w1≥w2w_1 \ge w_2w1​≥w2​ and w1≠w2w_1 \neq w_2w1​=w2​. A policy is β-optimal if its return dominates that of every policy, and U(β)U(\beta)U(β) is the return of a β-optimal policy. It is optimal if it is β-optimal for all β\betaβ sufficiently near 111, and nearly optimal if U(β)−Vβ(π)→0U(\beta) - V_\beta(\pi) \to 0U(β)−Vβ​(π)→0 as β→1\beta \to 1β→1.

For any Markov matrix QQQ, the limit matrix Q∗Q^*Q∗ is the limit of (I+Q+⋯+QN)/(N+1)(I + Q + \cdots + Q^N)/(N+1)(I+Q+⋯+QN)/(N+1), and the deviation matrix is H=(I−Q+Q∗)−1−Q∗H = (I - Q + Q^*)^{-1} - Q^*H=(I−Q+Q∗)−1−Q∗. For a rule fff, Q∗(f)Q^*(f)Q∗(f) and H(f)H(f)H(f) are those of Q(f)Q(f)Q(f), and

x(f)=Q∗(f) r(f),y(f)=H(f) r(f).x(f) = Q^*(f)\, r(f), \qquad y(f) = H(f)\, r(f).x(f)=Q∗(f)r(f),y(f)=H(f)r(f).

With p(s,a)w=∑s′q(s′∣s,a)ws′p(s,a)w = \sum_{s'} q(s' \mid s,a) w_{s'}p(s,a)w=∑s′​q(s′∣s,a)ws′​, the set G(s,f)G(s,f)G(s,f) consists of the actions aaa with p(s,a)x(f)>xs(f)p(s,a)x(f) > x_s(f)p(s,a)x(f)>xs​(f), or with p(s,a)x(f)=xs(f)p(s,a)x(f) = x_s(f)p(s,a)x(f)=xs​(f) and i(s,a)+p(s,a)y(f)>xs(f)+ys(f)i(s,a) + p(s,a)y(f) > x_s(f) + y_s(f)i(s,a)+p(s,a)y(f)>xs​(f)+ys​(f); E(s,f)E(s,f)E(s,f) consists of those with equality in both.

Formalization targets

Goal: Theorem 4(e)

For any f0f_0f0​ with G(s,f0)=∅G(s,f_0) = \varnothingG(s,f0​)=∅ for all sss:

x(f0)≥x(g)  ∀g∈F;∃f∗∈F∗:={g:x(g)=x(f0)} with y(f∗)≥y(g) ∀g∈F∗;x(f_0) \ge x(g)\ \ \forall g \in F;\qquad \exists f^* \in F^* := \{g : x(g) = x(f_0)\}\ \text{with}\ y(f^*) \ge y(g)\ \forall g \in F^*;x(f0​)≥x(g)  ∀g∈F;∃f∗∈F∗:={g:x(g)=x(f0​)} with y(f∗)≥y(g) ∀g∈F∗; g(∞) is nearly optimal  ⟺  x(g)=x(f∗) and y(g)=y(f∗).g^{(\infty)} \text{ is nearly optimal} \iff x(g) = x(f^*) \text{ and } y(g) = y(f^*).g(∞) is nearly optimal⟺x(g)=x(f∗) and y(g)=y(f∗).

Milestones and intermediate results

Milestones: Lemma 1(b) (rank⁡(I−Q)+rank⁡Q∗=S\operatorname{rank}(I-Q) + \operatorname{rank} Q^* = Srank(I−Q)+rankQ∗=S), Theorem 4(b) (improvement for β near 1), 4(c) (a sufficient condition for optimality), Lemma 2, and 4(d) (a sufficient condition for near optimality).

The mission also states, as intermediate results:

  • Lemma 1(a), (c), (d): for every Markov matrix, convergence of the Cesàro means to a Markov Q∗Q^*Q∗ with QQ∗=Q∗Q=Q∗Q∗=Q∗QQ^* = Q^*Q = Q^*Q^* = Q^*QQ∗=Q∗Q=Q∗Q∗=Q∗; unique solvability of Qx=xQx = xQx=x, Q∗x=Q∗cQ^*x = Q^*cQ∗x=Q∗c; nonsingularity of I−Q+Q∗I - Q + Q^*I−Q+Q∗, ∑nβn(Qn−Q∗)→H\sum_n \beta^n (Q^n - Q^*) \to H∑n​βn(Qn−Q∗)→H and the identities for HHH.
  • Theorem 4(a): Vβ(f)=x(f)/(1−β)+y(f)+o(1)V_\beta(f) = x(f)/(1-\beta) + y(f) + o(1)Vβ​(f)=x(f)/(1−β)+y(f)+o(1), with x(f),y(f)x(f), y(f)x(f),y(f) the unique solutions of their linear systems; display (2), the same expansion for (g,f(∞))(g, f^{(\infty)})(g,f(∞)).
  • Theorem 3 and its Corollary for fixed β<1\beta < 1β<1, and the first assertion of 4(e).

Significance

Theorem 4(e) says that near optimality for β near 1 is exactly lexicographic maximization: first of the average income xxx, then of the bias yyy. It justifies the two-level optimality equations used throughout average-reward dynamic programming and shows that, once the β = 1 improvement routine stops, the remaining problem is a bias maximization over the gain-optimal rules. Theorem 4(a) is the first two terms of the Laurent expansion of discounted values, the starting point of sensitive-discount optimality.

The results are classical and proved in the paper (Lemma 1 with a reference to Kemeny and Snell); no machine-checked proof of them is known on the platform. A complete development produces a multichain theory of Cesàro limit and deviation matrices of arbitrary finite Markov matrices, which Mathlib does not have, and the expansion of discounted returns near β = 1.

Difficulty

Lemma 1 must be proved for every Markov matrix, including reducible and periodic ones, where QnQ^nQn does not converge and the stationary distribution is not unique; arguments through the Perron–Frobenius eigenvector of an irreducible chain do not apply. In Theorem 4(e) the hard part is the existence of a single f∗f^*f∗ whose bias dominates every gain-optimal rule in every coordinate at once; a rule maximizing each coordinate separately is not enough. The final characterization compares a stationary policy with all policies, including time-dependent ones, through U(β)U(\beta)U(β).

Formalization scope

States and actions are finite nonempty types; incomes are real of any sign; a policy is a sequence ℕ → (St → Act) with π 0 the paper's f1f_1f1​. VβV_\betaVβ​ is a real tsum. Q∗Q^*Q∗ is limUnder of the Cesàro means, and its existence is Lemma 1(a), not an assumption; H(β)H(\beta)H(β) is a matrix tsum, whose summability for 0≤β<10 \le \beta < 10≤β<1 is part of Lemma 1(d); HHH uses Mathlib's total inverse, whose nonsingularity is also part of Lemma 1(d). x(f)x(f)x(f) and y(f)y(f)y(f) are defined by the closed forms Q∗(f)r(f)Q^*(f)r(f)Q∗(f)r(f) and H(f)r(f)H(f)r(f)H(f)r(f) from the paper's proof, and Theorem 4(a) asserts that they are the unique solutions of the paper's defining systems. Limits "as β → 1" are along β→1−\beta \to 1^-β→1−. "Nearly optimal" is encoded without UUU: for every ε>0\varepsilon > 0ε>0, for all β in some interval (β0,1)(\beta_0, 1)(β0​,1), every policy's return is at most Vβ(π)+εV_\beta(\pi) + \varepsilonVβ​(π)+ε in every coordinate; this is equivalent to U(β)−Vβ(π)→0U(\beta) - V_\beta(\pi) \to 0U(β)−Vβ​(π)→0 because a β-optimal policy exists. "Optimal" (§4) and "β-optimal" (§3) are distinct definitions, and Theorem 3's β-dependent improvement set is distinct from the §4 set G(s,f)G(s,f)G(s,f).

A formalization in which optimality or near optimality is tested only against stationary policies, or in which Q∗Q^*Q∗ is assumed to exist or the chain to be irreducible, proves a different and easier theorem and does not meet the targets.

Contributions are welcome at every level: the Cesàro and Abel limit theory of finite Markov matrices (reusable well beyond this paper), the policy improvement theorem for fixed β, and the comparison arguments of Theorem 4. Theorem 3 and the Corollary are also drafted in the companion mission on Theorem 5 in another namespace.

Selected references

  • D. Blackwell, Discrete Dynamic Programming, Ann. Math. Statist. 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • J. G. Kemeny and J. L. Snell, Finite Markov Chains, Van Nostrand, 1960.
  • B. L. Miller and A. F. Veinott, Discrete Dynamic Programming with a Small Interest Rate, Ann. Math. Statist. 40(2):366–370, 1969.
  • A. F. Veinott, Discrete Dynamic Programming with Sensitive Discount Optimality Criteria, Ann. Math. Statist. 40(5):1635–1660, 1969. https://doi.org/10.1214/aoms/1177697379
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
10 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations ResearchProbability+1·Captain: mikedeng1

Secretary Problems: Weights and Discounts 1: An (8+3e)-Competitive Algorithm for the Weighted Secretary ProblemResearch Paper

Motivation

The classical secretary problem asks how to select one valuable candidate when candidates arrive in random order and a decision must be made when each candidate appears. Many allocation settings have several goods of unequal quality instead of a single position. An employer may have roles of different desirability, or a seller may have placements with different visibility. In the weighted secretary problem, an agent's value is multiplied by the weight of the good assigned to that agent. The algorithm must decide irrevocably as agents arrive, while the benchmark sees every value before assigning goods. Babaioff, Dinitz, Gupta, Immorlica and Talwar study this model with arbitrary fixed agent values and a uniformly random arrival order, and give a constant competitive ratio independent of the number of agents and goods (authors' version, §§2–3).

The paper also studies time discounts and matroid constraints. This mission concerns its weighted-goods result, Theorem 3.4. The result combines an online allocation rule for several comparably valuable agents with the familiar one-choice secretary rule for an unusually valuable agent. These are distinct ways in which the sorted offline assignment can earn value; both are present even when the weights are fixed in advance. The weighted model matters because matching a valuable agent to an unsuitable good can lose value despite accepting the right agent.

Setting

There are nnn agents e∈Ue\in Ue∈U, each with a nonnegative value v(e)v(e)v(e), and KKK goods indexed in decreasing order of nonnegative weight:

w(1)≥w(2)≥⋯≥w(K)≥0.w(1)\ge w(2)\ge\cdots\ge w(K)\ge0.w(1)≥w(2)≥⋯≥w(K)≥0.

An assignment sss gives each good to at most one agent, and each agent receives at most one good. A good may remain unassigned, represented by ⊥\bot⊥ with v(⊥)=0v(\bot)=0v(⊥)=0. Its value is ∑k=1Kv(s(k))w(k)\sum_{k=1}^K v(s(k))w(k)∑k=1K​v(s(k))w(k). Agent values are arbitrary, not drawn independently from a distribution. The uncertainty is the arrival order π\piπ, chosen uniformly from all permutations; an agent's value becomes visible on arrival, and an allocation decision cannot be revised.

The offline optimum, OPT\mathrm{OPT}OPT, assigns the heaviest good to the highest-valued agent, the next good to the next agent, and so on. If K>nK>nK>n, the extra goods remain unassigned. A consistent tie break makes the ordering unique without changing the numerical value. This sorted assignment is defined directly; the mission does not replace it with an unconstrained variable said to be optimal.

The reservation algorithm draws a sample size τ∼Binom(n,1/2)\tau\sim\mathrm{Binom}(n,1/2)τ∼Binom(n,1/2), observes the first τ\tauτ agents without allocation, and retains the best min⁡(K,τ)\min(K,\tau)min(K,τ) sampled agents. Positive values are grouped into value classes [2i−1,2i)[2^{i-1},2^i)[2i−1,2i) for integer iii. A sampled agent in class iii reserves one good in that class's contiguous block, with higher classes receiving heavier blocks. A later agent receives the heaviest unassigned good reserved for its class when one is available. The classical secretary rule instead observes the first ⌊n/e⌋\lfloor n/e\rfloor⌊n/e⌋ agents, then selects the first later arrival better than every predecessor; its winner receives good 111.

Formalization targets

The mission's goal is the exact guarantee of Theorem 3.4 for Algorithm AAA, which runs the reservation algorithm with probability 8/(3e+8)8/(3e+8)8/(3e+8) and the classical rule with probability 3e/(3e+8)3e/(3e+8)3e/(3e+8):

OPT≤(8+3e) E[A].\mathrm{OPT}\le(8+3e)\,\mathbb E[A].OPT≤(8+3e)E[A].

Here the expectation covers the uniform arrival permutation, the independent binomial sample size used by the reservation branch, and the mixing coin. The multiplicative inequality expresses competitiveness even when an expected payoff is zero. It uses the explicit constant in the paper's proof rather than an instance-dependent or unspecified constant.

Four source results form the milestones. The classical secretary rule selects the maximum with probability at least 1/e1/e1/e. Lemma 3.2 compares the starting indices bib_ibi​ and oio_ioi​ of class-iii blocks in the reservation and optimum assignments. Lemma 3.1 says that if the optimum assigns at least two agents from class iii, the reservation rule assigns at least ui/4u_i/4ui​/4 agents from that class in expectation. Lemma 3.3 converts this to expected value at least OPTi/8\mathrm{OPT}_i/8OPTi​/8. The target retains the paper's class condition and both numerical fractions (authors' version, pp. 4–5).

Significance

Theorem 3.4 supplies a constant factor guarantee for irrevocable allocation when goods have different weights and agents arrive in random order. The factor does not grow with nnn or KKK. It separates the effects of uncertain arrivals from the offline matching of high values to high weights, and it supplies a benchmark for later variants with more complicated feasibility constraints. The paper extends the reservation idea to additional combinatorial settings, including partition-matroid variants in Appendix C (authors' version, Appendix C).

The theorem is proved in the source paper, while the Lean statements in this mission are proof obligations. Formalizing them requires checking that the random-order model, sample distribution, tie convention and assignments jointly express the same algorithm. A complete development will also establish reusable finite-average facts for random permutations and binomial samples, and structural facts about sorted assignments and reserved blocks. Those pieces can support other secretary problems in the series; the mission's specific promise remains the weighted algorithm's exact bound.

Difficulty

A count of how many agents a class receives does not by itself control the weighted value of those goods. Goods have unequal weights, and the value of assigning the next good changes with its position in a block. A class whose offline optimum receives several agents can also lose all its sampled members from the allocation phase. Thus a direct comparison of expected class counts with expected class values is insufficient. The paper's separate count, block-position and value statements identify the claims a solver must establish; the final theorem must also account for classes represented only once in the offline assignment (authors' version, p. 5).

Formalization scope

Agents and goods are Fin n and Fin K; their indices start at zero in Lean, so paper time ttt corresponds to Lean index t−1t-1t−1. An arrival permutation maps time to agent. Values and weights are real and explicitly nonnegative, and weights are antitone in the good index. The finite sums defining expectations are normalized by n!n!n! for permutations and by (nτ)/2n\binom n\tau/2^n(τn​)/2n for sample sizes. No measurability or integration convention is needed. For the goal, K≥1K\ge1K≥1 makes the heaviest good available; K>nK>nK>n is allowed.

Equal values are ordered by smaller original agent index throughout the sorted optimum, the sample's top agents and the classical rule. The classical rule observes exactly ⌊n/e⌋\lfloor n/e\rfloor⌊n/e⌋ arrivals, and zero-valued agents reserve no value-class goods. Positive values below one use negative integer class indices. The paper says only that class iii holds the values “between” 2i−12^{i-1}2i−1 and 2i2^i2i (p. 4, and again in Appendix C, p. 12); the mission fixes the half-open interval [2i−1,2i)[2^{i-1},2^i)[2i−1,2i), so that the classes partition the positive reals (authors' version, pp. 4, 12). A reservation assignment is built from each post-sample agent's rank within its class, so a good is offered to at most one such agent. The theorem is about this concrete algorithm and the concrete sorted offline assignment; an arbitrary favorable policy or an optimum supplied as a hypothesis would not express the source result.

The development needs a finite assignment interface, a tie-aware rank order, value classes, the two online rules, and normalized finite expectations. The assignment and finite-average definitions are reusable. Contributions that prove the structural validity of the reservation assignment, the classical success guarantee, Lemmas 3.1–3.3, or the final combination all advance the stated target.

Selected references

  • Moshe Babaioff, Michael Dinitz, Anupam Gupta, Nicole Immorlica and Kunal Talwar, Secretary Problems: Weights and Discounts, Proceedings of SODA 2009; authors' full version, proceedings DOI.
7 thms2 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryOperations Research+2·Captain: mikedeng1

Secretary Problems: Weights and Discounts 5: A 3e-Competitive Algorithm for the Graphic Matroid Secretary ProblemResearch Paper

Motivation

In the secretary problem, nnn items with nonnegative values arrive one at a time in a uniformly random order, and an online algorithm must decide on each arrival, irrevocably, whether to keep it. The classical version keeps one item; the rule that observes a 1/e1/e1/e fraction of the arrivals and then takes the first item better than everything seen picks the best item with probability at least 1/e1/e1/e (Ferguson 1989).

Babaioff, Immorlica and Kleinberg (SODA 2007; journal version J. ACM 2018) introduced the matroid secretary problem: the kept set must be independent in a known matroid. It models online auctions in which the feasible sets of winners have matroid structure, for example hiring along the edges of a network without closing a cycle. They gave a 161616-competitive algorithm when the matroid is graphic, i.e. the items are the edges of a graph and a set is feasible when it contains no cycle.

Timeline for graphic matroids:

  • 2007, Babaioff–Immorlica–Kleinberg: 161616-competitive.
  • 2009, Babaioff–Dinitz–Gupta–Immorlica–Talwar (SODA 2009, Theorem 1.5): 3e≈8.153e\approx 8.153e≈8.15-competitive, through a random reduction to partition matroids. This mission formalizes that result.
  • 2009, Korula–Pál (ICALP 2009): 2e2e2e-competitive, by a different reduction.

Setting

Let G=(V,E)G=(V,E)G=(V,E) be a finite simple graph. Each edge eee has a value v(e)≥0v(e)\ge 0v(e)≥0. A set S⊆ES\subseteq ES⊆E is independent in the graphic matroid of GGG if the graph (V,S)(V,S)(V,S) has no cycle. The offline optimum is

OPT(G,v)=max⁡{∑e∈Sv(e):S⊆E acyclic}.\mathrm{OPT}(G,v)=\max\Big\{\sum_{e\in S}v(e): S\subseteq E\ \text{acyclic}\Big\}.OPT(G,v)=max{e∈S∑​v(e):S⊆E acyclic}.

The edges arrive in a uniformly random order. An algorithm sees each edge and its value on arrival and decides at once whether to select it. The selected set must be acyclic. The algorithm is α\alphaα-competitive if OPT(G,v)≤α⋅E[value of the selected set]\mathrm{OPT}(G,v)\le\alpha\cdot\mathbb E[\text{value of the selected set}]OPT(G,v)≤α⋅E[value of the selected set] for every GGG and every v≥0v\ge 0v≥0.

A partition matroid on a subset U′⊆EU'\subseteq EU′⊆E is given by a family PPP of nonempty, pairwise disjoint parts with union U′U'U′: a set is independent when it lies in U′U'U′ and meets each part at most once. Its max-weight base has value val(P,v)=∑p∈Pmax⁡e∈pv(e)\mathrm{val}(P,v)=\sum_{p\in P}\max_{e\in p}v(e)val(P,v)=∑p∈P​maxe∈p​v(e).

Definition 5.1. A random partition μ\muμ (a probability distribution on such families, chosen from GGG alone) is an α\alphaα-partition scheme if every partition in its support has only acyclic independent sets, and for every v≥0v\ge 0v≥0,

OPT(G,v)≤α⋅EP∼μ[val(P,v)].\mathrm{OPT}(G,v)\le \alpha\cdot\mathbb E_{P\sim\mu}[\mathrm{val}(P,v)].OPT(G,v)≤α⋅EP∼μ​[val(P,v)].

The random partition of Lemma 5.3. Pick an edge {u,w}\{u,w\}{u,w} uniformly at random. With probability 12\tfrac1221​ colour uuu red and www blue, otherwise the reverse. Colour every other vertex red or blue independently with probability 12\tfrac1221​. Each red vertex xxx gets a part: the red-blue edges at xxx. Then repeat on the edges with both endpoints blue, with fresh randomness.

The algorithm. Draw the partition, let the edges arrive, and on each part run the classical secretary rule on that part's arrivals. Output all selected edges.

Formalization targets

Goal: Theorem 1.5

For every finite simple graph GGG and every v≥0v\ge 0v≥0:

  1. every possible output of the algorithm is an acyclic set of edges of GGG;
OPT(G,v)≤3e⋅E[ALG].\mathrm{OPT}(G,v)\le 3e\cdot\mathbb E[\mathrm{ALG}].OPT(G,v)≤3e⋅E[ALG].

Part 1 is needed for the statement to have content: an algorithm that selects every edge would otherwise satisfy part 2.

Milestones

  • Section 2, p. 4. On m≥1m\ge1m≥1 arrivals, the classical rule selects the maximum with probability at least 1/e1/e1/e.
  • Theorem 5.4, first clause. For a fixed partition PPP, the per-part rule outputs a set independent in the partition matroid, and val(P,v)≤e⋅Eπ[ALG]\mathrm{val}(P,v)\le e\cdot\mathbb E_\pi[\mathrm{ALG}]val(P,v)≤e⋅Eπ​[ALG].
  • Lemma 5.3, independence. Every partition the random construction can produce is a partition matroid on a subset of EEE, and each of its independent sets is a forest.
  • Lemma 5.3. The construction is a 333-partition scheme.
  • Section 5, p. 10. Any α\alphaα-partition scheme for a graphic matroid, combined with the per-part rule, gives a feasible, eαe\alphaeα-competitive algorithm.

Significance

The theorem shows that the graphic matroid secretary problem admits a constant-competitive algorithm with a small explicit constant. It does so through a reduction: a random partition matroid that is feasible for the original matroid and loses only a constant factor in expectation. The reduction separates the combinatorics (Lemma 5.3) from the online part (Theorem 5.4). The same framework gives algorithms for uniform and transversal matroids and for the weighted and discounted variants on any matroid with an α\alphaα-partition property.

The result is proved in the paper; it has not been formalized. The mission contributes a machine-checked version of the reduction, a formal treatment of a recursively defined random partition, and the classical secretary bound in a reusable finite form. The constant 3e3e3e is not the best known for graphic matroids (Korula–Pál improve it to 2e2e2e), so the formal goal is this algorithm's guarantee, not the best possible ratio.

Difficulty

The online half is routine once the classical bound is available: the relative order of the edges in each part is uniform, and the parts are disjoint. The difficulty is Lemma 5.3. The natural idea of using a fixed optimal forest to build the partition is ruled out because the partition must be chosen before the values are seen. The expectation bound must therefore hold for every valuation at once, for a law that depends on the graph only. The construction is recursive and random: its expected value is not a closed-form sum, and any bound has to be carried through the random sequence of blue-blue subgraphs. Feasibility needs an invariant across rounds: the parts created later live inside the blue-blue edges of every earlier round.

Formalization scope

  • Graph. A SimpleGraph on a Fintype vertex type with decidable adjacency. The edges are G.edgeFinset, and acyclicity of SSS is (SimpleGraph.fromEdgeSet S).IsAcyclic. Multigraphs are not covered.
  • Values. Values are a real function v : Sym2 V → ℝ with ∀ e, 0 ≤ v e; only the values on edges matter.
  • OPT is a Finset.sup' over acyclic subsets of the edge set. A partition is a finite family of nonempty, pairwise disjoint parts inside the edge set. Its max-weight base value is the sum of the part maxima.
  • Random partition. A PMF defined by well-founded recursion on the number of edges. Empty parts are dropped, and edges with two red endpoints are discarded.
  • Random order. The edges are numbered by a fixed enumeration. An arrival order is a permutation of the numbers, and expectation over the order is the average over all ∣E∣!|E|!∣E∣! permutations.
  • Classical rule. It samples ⌊m/e⌋\lfloor m/e\rfloor⌊m/e⌋ arrivals of a part with mmm edges. Ties are broken by preferring the smaller edge number among equal values.
  • Constants. Competitiveness is multiplicative (OPT≤3e⋅E[ALG]\mathrm{OPT}\le 3e\cdot\mathbb E[\mathrm{ALG}]OPT≤3e⋅E[ALG]), so a zero expectation is not a loophole.
  • Ruling out trivial formalizations. In Definition 5.1 the random partition is fixed before the valuation, and the independence requirement holds for every partition in its support. A partition allowed to depend on vvv would make every matroid 111-partitionable.

A complete development needs the classical secretary bound in finite form, the uniformity of induced sub-orders of a uniform permutation, expectations of PMF.bind along a well-founded recursion, and facts about forests in SimpleGraph. The first two, and a general graphic-matroid layer, are reusable beyond this mission. Proofs of any milestone, alternative proofs of Lemma 5.3, and extensions to the uniform and transversal cases of Theorem 5.2 are welcome.

Selected references

  • M. Babaioff, M. Dinitz, A. Gupta, N. Immorlica, K. Talwar, Secretary Problems: Weights and Discounts, Proc. 20th ACM-SIAM Symposium on Discrete Algorithms (SODA), 2009. https://doi.org/10.1137/1.9781611973068.135
  • M. Babaioff, N. Immorlica, R. Kleinberg, Matroids, secretary problems, and online mechanisms, SODA 2007, pp. 434–443. https://dl.acm.org/doi/10.5555/1283383.1283429
  • M. Babaioff, N. Immorlica, D. Kempe, R. Kleinberg, Matroid Secretary Problems, Journal of the ACM 65(6), 2018. https://doi.org/10.1145/3212512
  • N. Korula, M. Pál, Algorithms for Secretary Problems on Graphs and Hypergraphs, ICALP 2009, LNCS 5556. https://doi.org/10.1007/978-3-642-02930-1_42
  • T. S. Ferguson, Who solved the secretary problem?, Statistical Science 4(3), 1989. https://doi.org/10.1214/ss/1177012493
10 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryComplexity TheoryOperations Research·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

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

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

Formalization targets

Goal: Lemma 4.28

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

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

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

Milestones, in proof order

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

Selected references

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

One-Machine Sequencing to Minimize Certain Functions of Job Tardiness II: EDD Order Minimizes Any Sum of Convex Nondecreasing Tardiness Penalties When No Job Starts After Its Due DateResearch Paper

Motivation

A single machine must process a set of jobs, each with a processing time and a due date, and the cost of a schedule depends on how late the jobs finish. Total tardiness is the classical criterion, but in many applications lateness is penalised more than proportionally: a job one week late costs more than twice a job half a week late, and a quadratic or other convex penalty describes this better. Hamilton Emmons's 1969 paper in Operations Research (DOI 10.1287/opre.17.4.701) derives dominance rules for total tardiness and then asks which of them survive when total tardiness is replaced by ∑Jg(Ti)\sum_J g(T_i)∑J​g(Ti​) for an arbitrary convex nondecreasing loss ggg.

Timeline of the relevant results:

  • 1955 — Jackson shows that ordering jobs by earliest due date (EDD) minimises the maximum lateness, and hence produces a schedule without late jobs whenever one exists.
  • 1956 — Smith gives the ratio rule for weighted completion time and an adjacent-interchange criterion for pairs of jobs.
  • 1969 — Emmons proves the precedence theorems for total tardiness that underlie later branch-and-bound and dynamic programming algorithms for 1 ∣∣ ∑Tj1\,||\,\sum T_j1∣∣∑Tj​, and shows (p. 713) that Theorems 2 and 3 and part of Theorem 1 extend to any sum of identical convex nondecreasing tardiness penalties.
  • 1977 — Lawler's pseudo-polynomial algorithm for total tardiness builds on Emmons's conditions; the problem is later shown NP-hard (Du and Leung, 1990).

Setting

A finite set JJJ of jobs is to be sequenced on one machine. Job JiJ_iJi​ has a processing time pi≥0p_i\ge 0pi​≥0 and a due date did_idi​. All jobs are available at time 000, and the machine processes them one after another without idle time. A schedule is an ordering lll of the jobs of JJJ. The completion time CiC_iCi​ of JiJ_iJi​ in lll is the sum of the processing times of JiJ_iJi​ and of every job before it; its waiting (starting) time is Wi=Ci−piW_i=C_i-p_iWi​=Ci​−pi​, and its tardiness is

Ti=max⁡(0, Ci−di).T_i=\max(0,\,C_i-d_i).Ti​=max(0,Ci​−di​).

A loss function g:R→Rg:\mathbb R\to\mathbb Rg:R→R, convex and nondecreasing on [0,∞)[0,\infty)[0,∞), is fixed, the same for every job. The objective is ∑i∈Jg(Ti)\sum_{i\in J} g(T_i)∑i∈J​g(Ti​), and a schedule is optimal if no schedule of JJJ has a smaller objective. With g(T)=Tg(T)=Tg(T)=T this is total tardiness.

Where the paper uses job indices, the jobs are indexed in SPT order: j<kj<kj<k implies pj<pkp_j<p_kpj​<pk​, or pj=pkp_j=p_kpj​=pk​ and dj≤dkd_j\le d_kdj​≤dk​. The notation j←kj\leftarrow kj←k means that some optimal schedule has JjJ_jJj​ before JkJ_kJk​; for a set AkA_kAk​ of jobs, k←Akk\leftarrow A_kk←Ak​ means that some optimal schedule has JkJ_kJk​ before every job of AkA_kAk​, and Ak′A_k'Ak′​ is the set of jobs of JJJ not in AkA_kAk​. An EDD schedule sequences the jobs in nondecreasing order of due dates.

Formalization targets

Goal: Corollary 2.2* (p. 713)

If an EDD schedule lll of JJJ satisfies

Wi≤difor every i∈J,W_i\le d_i\qquad\text{for every } i\in J,Wi​≤di​for every i∈J,

then lll minimises ∑Jg(Ti)\sum_J g(T_i)∑J​g(Ti​) over all schedules of JJJ, for every ggg convex and nondecreasing on [0,∞)[0,\infty)[0,∞).

The goal fixes no constant and no particular ggg: it is a statement about the whole class of convex nondecreasing penalties.

Milestones (in attack order)

  1. Convex exchange condition (p. 713): if Tja≤TjbT_{ja}\le T_{jb}Tja​≤Tjb​, Tkb≤TkaT_{kb}\le T_{ka}Tkb​≤Tka​ (all nonnegative), Tka−Tkb≤Tjb−TjaT_{ka}-T_{kb}\le T_{jb}-T_{ja}Tka​−Tkb​≤Tjb​−Tja​ and Tjb≥TkaT_{jb}\ge T_{ka}Tjb​≥Tka​, then g(Tka)−g(Tkb)≤g(Tjb)−g(Tja)g(T_{ka})-g(T_{kb})\le g(T_{jb})-g(T_{ja})g(Tka​)−g(Tkb​)≤g(Tjb​)−g(Tja​).
  2. Theorem 1* (p. 713): for j<kj<kj<k, if dj≤dkd_j\le d_kdj​≤dk​ then j←kj\leftarrow kj←k.
  3. Theorem 2* (p. 713): for j<kj<kj<k, if k←Akk\leftarrow A_kk←Ak​, dj>dkd_j>d_kdj​>dk​ and dj+pj≥∑Ak′pid_j+p_j\ge\sum_{A_k'}p_idj​+pj​≥∑Ak′​​pi​, then k←jk\leftarrow jk←j.
  4. Corollary 2.1* (p. 713): if dj=max⁡idid_j=\max_i d_idj​=maxi​di​ and dj+pj≥∑Jpid_j+p_j\ge\sum_J p_idj​+pj​≥∑J​pi​, then some optimal schedule ends with JjJ_jJj​.
  5. Last-job reduction (proof of Corollary 2.2, p. 706): if some optimal schedule ends with JjJ_jJj​, any optimal schedule of J∖{Jj}J\setminus\{J_j\}J∖{Jj​} followed by JjJ_jJj​ is optimal for JJJ.

Two further statements of the same section are included as items: Corollary 1.3* (the SPT schedule is optimal if it coincides with the EDD schedule) and Theorem 3 for the generalised objective.

Significance

The goal says that EDD is optimal for every convex nondecreasing tardiness penalty as long as no job starts after its due date. The classical sufficient condition, that at most one job is tardy, follows from Jackson's rule; Emmons's condition allows any or all jobs to be tardy, provided each is tardy by at most its own processing time. Because the conclusion holds for the whole class of penalties at once, an instance satisfying it needs no knowledge of ggg: total tardiness, total squared tardiness, and any other convex nondecreasing cost are minimised by the same sequence. Theorems 1* and 2* are the dominance rules that the paper's ordering procedure applies pairwise; they reduce the search space of branch-and-bound methods for convex tardiness objectives.

The results are proved in the paper (for ∑g(Ti)\sum g(T_i)∑g(Ti​) the proofs are said to be "easily established" and omitted). None of them has, to our knowledge, a machine-checked proof. The mission produces formal statements and proofs of the generalised results, including the omitted ones, on top of a reusable single-machine model.

Difficulty

The total-tardiness proofs compare changes in tardiness additively: an interchange is good if the decrease in one job's tardiness is at least the increase in another's. For a convex ggg this comparison is not enough, because a unit of tardiness costs more at higher tardiness levels; the changes must also occur at the right height on the curve, and part (b) of the proof of Theorem 1 fails for this reason. Each generalised argument therefore has to check, for every job whose tardiness changes, both the size and the location of the change, including jobs whose tardiness changes from zero to positive. Ties for the latest due date are a further obstacle: the printed proof of Corollary 2.1 cites Theorem 2, whose hypothesis dj>dkd_j>d_kdj​>dk​ is strict, so a job sharing the maximum due date is not covered by the argument as written, although the corollary is stated without excluding ties.

Formalization scope

Jobs are elements of a type ι\iotaι; the job set is a Finset JJJ, processing times and due dates are real functions p,d:ι→Rp,d:\iota\to\mathbb Rp,d:ι→R. Where the paper's index matters, ι\iotaι is linearly ordered and its order is the job index, together with the SPT-indexing hypothesis. A schedule is a duplicate-free list whose elements are exactly JJJ, and completion times are the published single-machine definition MooreLateJobs.Shared.completionTime (Moore 1968), which starts the machine at time 000 with no idle time. Optimality is against every schedule of JJJ. The relation j←kj\leftarrow kj←k is formalised as the existence of an optimal schedule with JjJ_jJj​ before JkJ_kJk​ (keeping the premise k←Akk\leftarrow A_kk←Ak​ in the conclusion where the theorem has one); the paper's cumulative reading of the notation is not formalised.

Standing assumptions and deviations:

  • ggg is convex and nondecreasing on [0,∞)[0,\infty)[0,∞) only; the page's "increasing" is read as nondecreasing, as in the abstract. No smoothness, strict monotonicity or g(0)=0g(0)=0g(0)=0 is assumed.
  • Processing times are assumed nonnegative; this is added (they are durations).
  • The reduction di<∑Jpid_i<\sum_J p_idi​<∑J​pi​ of p. 703 is not assumed, which makes the statements apply to more instances.
  • "The EDD schedule" is any schedule with nondecreasing due dates; ties are arbitrary.

A trivializing formalization is ruled out: the goal requires optimality of the given EDD list against every schedule of JJJ, not of some EDD list, and a sorry-free check shows its hypotheses hold on a two-job instance in which both jobs are tardy.

A complete development needs list lemmas for moving one job to a later position, the effect of such moves on completion times, and slope inequalities for convex functions on [0,∞)[0,\infty)[0,∞). The schedule-manipulation lemmas are reusable for other single-machine sequencing results. Proofs of any milestone, of the two further items, and of general interchange lemmas are welcome.

Selected references

  • H. Emmons, One-Machine Sequencing to Minimize Certain Functions of Job Tardiness, Operations Research 17(4):701–715, 1969. https://doi.org/10.1287/opre.17.4.701
  • J. R. Jackson, Scheduling a Production Line to Minimize Maximum Tardiness, Research Report 43, Management Science Research Project, UCLA, 1955.
  • W. E. Smith, Various Optimizers for Single-Stage Production, Naval Research Logistics Quarterly 3:59–66, 1956. https://doi.org/10.1002/nav.3800030106
  • E. L. Lawler, A "Pseudopolynomial" Algorithm for Sequencing Jobs to Minimize Total Tardiness, Annals of Discrete Mathematics 1:331–342, 1977. https://doi.org/10.1016/S0167-5060(08)70742-8
  • J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1):102–109, 1968. https://doi.org/10.1287/mnsc.15.1.102
  • J. Du and J. Y.-T. Leung, Minimizing Total Tardiness on One Machine is NP-Hard, Mathematics of Operations Research 15(3):483–495, 1990. https://doi.org/10.1287/moor.15.3.483
9 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryComplexity TheoryOperations Research·Captain: mikedeng1

The Complexity of Computing a Nash Equilibrium 2: The Three-Colorable Addition-Multiplication Gadget Has Error Amplification 81Research Paper

Motivation

Nash's theorem guarantees that every finite game has a mixed equilibrium, but says nothing about how hard one is to find. Daskalakis, Goldberg and Papadimitriou (SIAM J. Comput. 39(1), 2009) showed that computing a Nash equilibrium is complete for the class PPAD of total search problems whose solutions are guaranteed by a parity argument on a directed graph (Papadimitriou 1994). Their proof simulates an arithmetic circuit by a graphical game: a multiplayer game in which each player's payoff depends on a few neighbours only, built from small game gadgets whose equilibria compute x↦αxx \mapsto \alpha xx↦αx, x+yx + yx+y, xyxyxy, constants and comparisons on mixed-strategy probabilities.

These gadgets are the reusable core of the reduction. The PPAD-completeness results for three-player games, and the later results for two-player games and for approximate equilibria, all rest on gadget analyses of this kind.

Timeline.

  • 1994: Papadimitriou defines PPAD and shows that Nash equilibrium computation lies in it (JCSS 48).
  • 2001: Kearns, Littman and Singh introduce graphical games (UAI 2001).
  • 2005–2006: Goldberg and Papadimitriou reduce rrr-player games to four-player games, and Daskalakis, Goldberg and Papadimitriou prove PPAD-completeness for four players (STOC 2006). The three-player case is obtained independently by Daskalakis and Papadimitriou and by Chen and Deng (ECCC reports, 2005); the two-player case by Chen and Deng (FOCS 2006; J. ACM 56(3), 2009, with Teng).
  • 2009: the journal version unifies the three-player argument; its Proposition 4.18 is the gadget G+,∗\mathcal G_{+,*}G+,∗​ that makes the reduction to three players work.

Setting

A game has finitely many players; player ppp has a finite set SpS_pSp​ of pure strategies and a nonnegative payoff uspu^p_susp​ for each pure profile sss. A mixed profile xxx gives each player a probability distribution (xjp)j∈Sp(x^p_j)_{j\in S_p}(xjp​)j∈Sp​​, and xsx_sxs​ denotes the product of the probabilities of the components of a partial profile sss. The expected payoff of a pure strategy jjj of ppp is ∑s∈S−pujspxs\sum_{s\in S_{-p}} u^p_{js}x_s∑s∈S−p​​ujsp​xs​.

An ϵ\epsilonϵ-Nash equilibrium (the paper's notion, an ϵ\epsilonϵ-approximately well-supported equilibrium, Eq. (2)) is a mixed profile in which no player puts weight on a pure strategy that another of its pure strategies beats by more than ϵ\epsilonϵ:

∀p, j,j′∈Sp:∑s∈S−pujspxs>∑s∈S−puj′spxs+ϵ  ⟹  xj′p=0.\forall p,\ j, j' \in S_p:\quad \sum_{s\in S_{-p}} u^p_{js}x_s > \sum_{s\in S_{-p}} u^p_{j's}x_s + \epsilon \implies x^p_{j'} = 0 .∀p, j,j′∈Sp​:s∈S−p​∑​ujsp​xs​>s∈S−p​∑​uj′sp​xs​+ϵ⟹xj′p​=0.

For ϵ=0\epsilon = 0ϵ=0 this characterizes Nash equilibria.

A player with strategies {0,1}\{0,1\}{0,1} is binary; p[v]\mathbf p[v]p[v] is the probability that it plays 111, and p[v:s]\mathbf p[v : s]p[v:s] is the probability that vvv plays sss. The affects graph (Definition 2.2) has an edge (v1,v2)(v_1, v_2)(v1​,v2​) between distinct players when the payoff of v2v_2v2​ is a nonconstant function of the action of v1v_1v1​. A legal kkk-coloring (Definition 4.8) gives each player one of kkk colors so that the two ends of an edge differ and two distinct players with a common successor differ.

The game G+,∗\mathcal G_{+,*}G+,∗​ (Fig. 11) has inputs v1,v2v_1, v_2v1​,v2​, output v3v_3v3​ and intermediate players w1,v1′,w2,v2′,w3,w,uw_1, v_1', w_2, v_2', w_3, w, uw1​,v1′​,w2​,v2′​,w3​,w,u, all binary except v2′v_2'v2′​, which has strategies {0,1,∗}\{0, 1, *\}{0,1,∗}. Its payoff tables are fixed by nonnegative integers α,β,γ\alpha, \beta, \gammaα,β,γ; the inputs' payoffs are unconstrained.

Formalization targets

Goal: Proposition 4.18

For nonnegative integers α,β,γ\alpha, \beta, \gammaα,β,γ with α+β+γ≤3\alpha + \beta + \gamma \le 3α+β+γ≤3, the affects graph of G+,∗\mathcal G_{+,*}G+,∗​ has a legal 3-coloring, and for every ϵ∈[0,0.01]\epsilon \in [0, 0.01]ϵ∈[0,0.01], at every ϵ\epsilonϵ-Nash equilibrium,

∣ p[v3]−min⁡{1, αp[v1]+βp[v2]+γp[v1]p[v2]}∣≤81 ϵ.\Big|\,\mathbf p[v_3] - \min\{1,\ \alpha\mathbf p[v_1] + \beta\mathbf p[v_2] + \gamma\mathbf p[v_1]\mathbf p[v_2]\}\Big| \le 81\,\epsilon .​p[v3​]−min{1, αp[v1​]+βp[v2​]+γp[v1​]p[v2​]}​≤81ϵ.

The case ϵ=0\epsilon = 0ϵ=0 is exact computation at every Nash equilibrium.

Milestones: the four claims of the proof

  • Claim 1: p[v1′]=18p[v1]±ϵ\mathbf p[v_1'] = \tfrac18\mathbf p[v_1] \pm \epsilonp[v1′​]=81​p[v1​]±ϵ.
  • Claim 2: p[v2′:1]=18p[v2]±ϵ\mathbf p[v_2' : 1] = \tfrac18\mathbf p[v_2] \pm \epsilonp[v2′​:1]=81​p[v2​]±ϵ.
  • Claim 3: p[v2′:∗]=α8p[v1]+β8p[v2]+γ8p[v1]p[v2]±10ϵ\mathbf p[v_2' : *] = \tfrac{\alpha}{8}\mathbf p[v_1] + \tfrac{\beta}{8}\mathbf p[v_2] + \tfrac{\gamma}{8}\mathbf p[v_1]\mathbf p[v_2] \pm 10\epsilonp[v2′​:∗]=8α​p[v1​]+8β​p[v2​]+8γ​p[v1​]p[v2​]±10ϵ.
  • Claim 4: the output bound of the goal.

Milestones: the elementary gadgets

  • Proposition 4.2 (G×α\mathcal G_{\times\alpha}G×α​): p[v2]=min⁡(αp[v1],1)±ϵ\mathbf p[v_2] = \min(\alpha\mathbf p[v_1], 1) \pm \epsilonp[v2​]=min(αp[v1​],1)±ϵ for real α≥0\alpha \ge 0α≥0, ϵ<1\epsilon < 1ϵ<1.
  • Proposition 4.3: p[v3]=min⁡(αp[v1]+βp[v2]+γp[v1]p[v2],1)±ϵ\mathbf p[v_3] = \min(\alpha\mathbf p[v_1] + \beta\mathbf p[v_2] + \gamma\mathbf p[v_1]\mathbf p[v_2], 1) \pm \epsilonp[v3​]=min(αp[v1​]+βp[v2​]+γp[v1​]p[v2​],1)±ϵ for real α,β,γ≥0\alpha, \beta, \gamma \ge 0α,β,γ≥0.
  • Proposition 4.5 (Gα\mathcal G_\alphaGα​): p[v1]=min⁡(α,1)±ϵ\mathbf p[v_1] = \min(\alpha, 1) \pm \epsilonp[v1​]=min(α,1)±ϵ.
  • Lemma 5.3 (comparator G<\mathcal G_<G<​): p[d]=1\mathbf p[d] = 1p[d]=1 if p[a]<p[b]−ϵ\mathbf p[a] < \mathbf p[b] - \epsilonp[a]<p[b]−ϵ and p[d]=0\mathbf p[d] = 0p[d]=0 if p[a]>p[b]+ϵ\mathbf p[a] > \mathbf p[b] + \epsilonp[a]>p[b]+ϵ.

Significance

The result. The paper reduces rrr-player games to three-player games by building a graphical game from gadgets, legally coloring it with three colors, and turning each color class into one player of a normal-form game (§4.2, §4.5). Proposition 4.18 supplies a gadget that computes min⁡{1,αx+βy+γxy}\min\{1, \alpha x + \beta y + \gamma xy\}min{1,αx+βy+γxy} and can be glued into such a construction while keeping it legally 3-colorable (p. 233), at the price of an error constant 818181 instead of the constant 111 of the elementary gadgets. The error bound is what carries the reduction over to approximate equilibria: an ϵ\epsilonϵ-Nash equilibrium of the gadget computes its function to within 81ϵ81\epsilon81ϵ.

Formalizing it. All results here are proved in the paper (Proposition 4.5 is stated with the remark that its proof is similar to those of Propositions 4.2 and 4.3). None of them has a machine-checked proof, and no graphical-game or gadget infrastructure exists in Lean. The mission formalizes the known proofs and produces a library of verified gadgets with explicit error bounds, the first layer of any formal treatment of the PPAD-hardness of Nash equilibria.

Difficulty

Each claim is a case analysis on which strategy of an intermediate player is dominated by more than ϵ\epsilonϵ, but the cases interact. Claim 3 needs Claims 1 and 2 as inputs, and it is the step where both α+β+γ≤3\alpha + \beta + \gamma \le 3α+β+γ≤3 and ϵ≤0.01\epsilon \le 0.01ϵ≤0.01 are used: without them one of the regimes of www cannot be excluded. The three-strategy player v2′v_2'v2′​ cannot be handled by the "binary player copies or disagrees" argument of the elementary gadgets; its weight on 111 and on ∗*∗ must be tracked separately. The error constants 101010 and 818181 propagate through products of approximate quantities, so a proof that is loose at any step does not reach them.

On the Lean side, the expected payoff of a pure strategy is a sum over all pure profiles of a ten-player game; every claim first has to reduce it to the few coordinates the player's payoff actually depends on.

Formalization scope

Games, mixed profiles and expected payoffs are those of the published agt_games bundle: a finite player type, strategy types S i, payoffs u : ι → (∀ i, S i) → ℝ, AGT.IsMixedProfile, AGT.expectedPayoff. The expected payoff of a pure strategy jjj is the expected payoff of the profile with ppp's strategy replaced by the point mass at jjj. An ϵ\epsilonϵ-Nash equilibrium requires a genuine mixed profile.

Each gadget is one explicit game on its own player type, with the payoff tables of the paper. Binary strategies are Fin 2 with the paper's labels 0,10, 10,1, and p[v]\mathbf p[v]p[v] is the weight on 1; v2′v_2'v2′​'s strategies are an inductive type {zero, one, star}. The input players' payoffs are unconstrained in the paper; here they are 000, which makes the ϵ\epsilonϵ-condition at the inputs vacuous. Since every non-input payoff depends only on gadget players, "ϵ\epsilonϵ-Nash equilibrium of the standalone gadget" quantifies over all mixed strategies of the inputs and imposes the condition exactly on the other players, which is the paper's meaning when the gadget sits inside a larger game. The affects graph is computed from the payoff functions, without self-loops, and colors {1,…,k}\{1,\dots,k\}{1,…,k} are Fin k. The ranges α,β,γ∈N\alpha, \beta, \gamma \in \mathbb Nα,β,γ∈N (Proposition 4.18) and α,β,γ∈R≥0\alpha, \beta, \gamma \in \mathbb R_{\ge 0}α,β,γ∈R≥0​ (Propositions 4.2, 4.3, 4.5) follow the paper; ϵ≥0\epsilon \ge 0ϵ≥0 is added where the paper writes only ϵ<1\epsilon < 1ϵ<1.

The paper states Proposition 4.18 and Lemma 5.3 as "there is a graphical game"; an existential statement would be met by a game whose output has a dominant strategy and whose inputs are forced, so both are stated for the explicit game of the proof, with free inputs.

A complete development needs a computation lemma for the pure-strategy payoff in each gadget (reusable for any gadget on these definitions) and the case analyses of the claims. Proofs of the elementary gadgets, which are short, and of Claims 1 and 2 are good first contributions; Claim 3 is the main step.

Selected references

  • C. Daskalakis, P. W. Goldberg, C. H. Papadimitriou, The Complexity of Computing a Nash Equilibrium, SIAM J. Comput. 39(1):195–259, 2009. https://doi.org/10.1137/070699652
  • C. H. Papadimitriou, On the complexity of the parity argument and other inefficient proofs of existence, J. Comput. System Sci. 48(3):498–532, 1994. https://doi.org/10.1016/S0022-0000(05)80063-7
  • M. Kearns, M. L. Littman, S. Singh, Graphical Models for Game Theory, UAI 2001. https://arxiv.org/abs/1301.2281
  • X. Chen, X. Deng, S.-H. Teng, Settling the complexity of computing two-player Nash equilibria, J. ACM 56(3):14, 2009. https://doi.org/10.1145/1516512.1516516
15 thms3 active usersReviewed
🏆Completed
Markov ChainOperations ResearchProbability+1·Captain: mikedeng1

Optimization of Multiclass Queueing Networks: Polyhedral and Nonlinear Characterizations of Achievable Performance I: Quadratic Potential Functions Bound Mean Response Times in Open NetworksResearch Paper

Motivation

Scheduling in a multiclass queueing network asks which waiting job a server should work on next when jobs of several types share stations and revisit them along fixed routes. Such networks model semiconductor wafer fabs, job shops and communication switches. Optimal policies are rarely computable: the state space is countably infinite, and even deciding properties of optimal policies is hard (Papadimitriou and Tsitsiklis 1999). A practical substitute is the achievable region approach: describe, by constraints that every policy must satisfy, a set containing all performance vectors any policy can achieve, then optimize a linear cost over that set to get a lower bound on the optimal cost.

Bertsimas, Paschalidis and Tsitsiklis (MIT Sloan working paper 1992; Ann. Appl. Probab. 1994) gave a general method for producing such constraints for open networks, by computing the steady-state drift of quadratic potential functions. This mission formalizes their first-order bounds (Section 4).

Timeline:

  • 1980–1988: Coffman and Mitrani, then Federgruen and Groenevelt — the achievable performance vectors of a single-station multiclass queue form a polytope described by conservation laws.
  • Early 1990s: Kumar (reference [Kuma] of the paper), using a potential-function argument he attributes to Meyn, derives a single lower bound on the mean number in system for re-entrant lines with deterministic routing (described on p. 16 of the paper).
  • 1992–1994: Bertsimas, Paschalidis and Tsitsiklis — parametric families of linear bounds for general open networks with Markovian routing (Theorem 4.1), and the nonparametric polyhedron (Theorems 4.2–4.4), shown to be at least as tight.

Setting

A network has NNN single-server stations and RRR job classes. Class rrr is served at station σ(r)\sigma(r)σ(r), and CiC_iCi​ is the set of classes served at station iii. Class-rrr jobs arrive from outside as a Poisson stream of rate λ0r\lambda_{0r}λ0r​, service times are exponential with rate μr\mu_rμr​, and after service a class-rrr job becomes a class-sss job with probability prsp_{rs}prs​ or leaves with probability pr0=1−∑sprsp_{r0}=1-\sum_s p_{rs}pr0​=1−∑s​prs​. The traffic equations

λr=λ0r+∑r′λr′pr′r(15)\lambda_r=\lambda_{0r}+\sum_{r'}\lambda_{r'}p_{r'r}\qquad(15)λr​=λ0r​+r′∑​λr′​pr′r​(15)

have a unique solution λ\lambdaλ (the network is open), and ∑r∈Ciλr/μr<1\sum_{r\in C_i}\lambda_r/\mu_r<1∑r∈Ci​​λr​/μr​<1 at every station.

The state n⃗=(n1,…,nR)\vec n=(n_1,\dots,n_R)n=(n1​,…,nR​) counts the jobs of each class. A Markovian policy decides from the current state which classes are in service, at most one per station and only classes with jobs present; idling is allowed. Write BrB_rBr​ for the event that station σ(r)\sigma(r)σ(r) serves class rrr, and B0iB_{0i}B0i​ for the event that station iii is idle. Under such a policy n⃗(t)\vec n(t)n(t) is a continuous-time Markov chain. Assumption A requires that it has a unique invariant distribution π\piπ and that Eπ[nr2]<∞E_\pi[n_r^2]<\inftyEπ​[nr2​]<∞ for all rrr. Let nˉr=Eπ[nr]\bar n_r=E_\pi[n_r]nˉr​=Eπ​[nr​], which equals λrxr\lambda_rx_rλr​xr​ with xrx_rxr​ the mean response time of class rrr (Little's law), and define

Irr′=Eπ[1{Br}nr′],Nir′=Eπ[1{B0i}nr′].I_{rr'}=E_\pi[1\{B_r\}n_{r'}],\qquad N_{ir'}=E_\pi[1\{B_{0i}\}n_{r'}].Irr′​=Eπ​[1{Br​}nr′​],Nir′​=Eπ​[1{B0i​}nr′​].

For a set SSS of classes, f-parameters are reals f(r)≥0f(r)\ge 0f(r)≥0 for r∈Sr\in Sr∈S such that μr[∑r′∈Sprr′(f(r)−f(r′))+∑r′∉Sprr′f(r)]\mu_r\big[\sum_{r'\in S}p_{rr'}(f(r)-f(r'))+\sum_{r'\notin S}p_{rr'}f(r)\big]μr​[∑r′∈S​prr′​(f(r)−f(r′))+∑r′∈/S​prr′​f(r)] is nonnegative and the same for all r∈Ci∩Sr\in C_i\cap Sr∈Ci​∩S; that common value is fif_ifi​, and fi=0f_i=0fi​=0 when Ci∩S=∅C_i\cap S=\emptysetCi​∩S=∅ (restriction (17)). The sums over r′∉Sr'\notin Sr′∈/S include the exit r′=0r'=0r′=0.

Formalization targets

Goal: Theorem 4.1

For every policy satisfying Assumption A, every SSS and every f-parameters satisfying (17),

∑r∈Sλrf(r)xr ≥ N′(S)D′(S),\sum_{r\in S}\lambda_rf(r)x_r\ \ge\ \frac{N'(S)}{D'(S)},r∈S∑​λr​f(r)xr​ ≥ D′(S)N′(S)​,

where

N′(S)=∑r∈Sλ0rf2(r)+∑r∉Sλr∑r′∈Sprr′f2(r′)+∑r∈Sλr[∑r′∈Sprr′(f(r)−f(r′))2+∑r′∉Sprr′f2(r)],N'(S)=\sum_{r\in S}\lambda_{0r}f^2(r)+\sum_{r\notin S}\lambda_r\sum_{r'\in S}p_{rr'}f^2(r')+\sum_{r\in S}\lambda_r\Big[\sum_{r'\in S}p_{rr'}(f(r)-f(r'))^2+\sum_{r'\notin S}p_{rr'}f^2(r)\Big],N′(S)=r∈S∑​λ0r​f2(r)+r∈/S∑​λr​r′∈S∑​prr′​f2(r′)+r∈S∑​λr​[r′∈S∑​prr′​(f(r)−f(r′))2+r′∈/S∑​prr′​f2(r)], D′(S)=2[∑i=1Nfi−∑r∈Sλ0rf(r)].D'(S)=2\Big[\sum_{i=1}^Nf_i-\sum_{r\in S}\lambda_{0r}f(r)\Big].D′(S)=2[i=1∑N​fi​−r∈S∑​λ0r​f(r)].

The formal goal is the product form N′(S)≤D′(S)∑r∈Sf(r)nˉrN'(S)\le D'(S)\sum_{r\in S}f(r)\bar n_rN′(S)≤D′(S)∑r∈S​f(r)nˉr​.

Milestones

  1. The utilization identity Eπ[1{Br}]=λr/μrE_\pi[1\{B_r\}]=\lambda_r/\mu_rEπ​[1{Br​}]=λr​/μr​ (pp. 16 and 19).
  2. Theorem 4.2: the linear equalities (24), (25) between nˉr\bar n_rnˉr​ and Irr′I_{rr'}Irr′​.
  3. Theorem 4.3: ∑r∈CiIrr′+Nir′=nˉr′\sum_{r\in C_i}I_{rr'}+N_{ir'}=\bar n_{r'}∑r∈Ci​​Irr′​+Nir′​=nˉr′​ (28).
  4. Theorem 4.4: any nonnegative (x,I,N)(x,I,N)(x,I,N) satisfying (24), (25), (28), with nˉr=λrxr\bar n_r=\lambda_rx_rnˉr​=λr​xr​ in those equalities, satisfies every inequality of Theorem 4.1. This statement is deterministic.

Significance

Theorem 4.1 gives, for each choice of SSS and fff, a linear inequality on mean response times valid for all admissible policies. Minimizing a linear holding cost ∑rcrxr\sum_r c_rx_r∑r​cr​xr​ subject to these inequalities is a linear program whose value bounds the optimal scheduling cost from below; the paper reports numerical values of such bounds in its Section 9. Theorems 4.2–4.4 show that a polynomial-size polyhedron in the variables (nˉ,I,N)(\bar n,I,N)(nˉ,I,N) implies all of these inequalities at once, so the parametric search over fff is unnecessary.

The results are proved in the paper. As far as is known, none of them has a machine-checked proof. Formalizing them requires a Lean treatment of invariant distributions of controlled countable-state Markov chains with unbounded test functions, which is currently absent from Mathlib, and then the algebra of the drift identities. The definitions here (network data, Markovian sequencing policies, the generator, Assumption A) are the substrate that the paper's later results on routing, closed networks and higher-order bounds would reuse.

Difficulty

Every statement except Theorem 4.4 rests on taking expectations of the generator applied to unbounded functions (nrn_rnr​, nrnr′n_rn_{r'}nr​nr′​) under the invariant distribution. The invariance condition is stated only for indicators of single states; extending ∑nπ(n)(Gg)(n)=0\sum_n\pi(n)(\mathcal Gg)(n)=0∑n​π(n)(Gg)(n)=0 to quadratic ggg needs an interchange of summations justified by the second-moment condition of Assumption A. The utilization identity additionally needs uniqueness of the traffic solution to identify μrEπ[1{Br}]\mu_rE_\pi[1\{B_r\}]μr​Eπ​[1{Br​}] with λr\lambda_rλr​. Theorem 4.1 then needs the sign bookkeeping that turns an identity into an inequality: the terms dropped are nonnegative only because f≥0f\ge0f≥0 on SSS, fi≥0f_i\ge0fi​≥0 and at most one class per station is in service.

Formalization scope

Classes are Fin R, stations Fin N, states Fin R → ℕ, all rates and probabilities real. A policy is a Bool-valued function of the state with the two admissibility constraints; work conservation is not assumed. Invariance is global balance of the generator on the countable state space; expectations are tsums. The uniformized chain and the epochs τk\tau_kτk​ of the paper are not built: the paper notes that its expectations at τk\tau_kτk​ are expectations under the invariant distribution of n⃗(t)\vec n(t)n(t).

Conventions fixed in Lean:

  • λrxr\lambda_rx_rλr​xr​ appears only as the mean number in system nˉr\bar n_rnˉr​ (Little's law, used by the paper on pp. 11 and 20); response times are not formalized.
  • Sums over r′∉Sr'\notin Sr′∈/S include the exit r′=0r'=0r′=0 (p. 15).
  • f-parameters are nonnegative on SSS (p. 9).
  • The network is open: (15) has a unique solution, and λ\lambdaλ is an input constrained by (15), never defined from the policy.
  • (18) is stated multiplied by D′(S)D'(S)D′(S), which avoids Lean's x/0=0x/0=0x/0=0 and is (18) whenever D′(S)>0D'(S)>0D′(S)>0.

A quotient-form statement of (18) would be trivially true when D′(S)=0D'(S)=0D′(S)=0, and defining λr\lambda_rλr​ as μrEπ[1{Br}]\mu_rE_\pi[1\{B_r\}]μr​Eπ​[1{Br​}] would make the utilization identity hold by definition; both are excluded.

Welcome contributions: a general lemma extending global balance to test functions of polynomial growth under moment conditions; proofs of the drift identities; the deterministic Theorem 4.4.

Selected references

  • D. Bertsimas, I. Ch. Paschalidis, J. N. Tsitsiklis, Optimization of Multiclass Queueing Networks: Polyhedral and Nonlinear Characterizations of Achievable Performance, MIT Sloan WP #3509-92-MSA, 1992; Ann. Appl. Probab. 4(1), 1994. https://doi.org/10.1214/aoap/1177005200
  • C. H. Papadimitriou, J. N. Tsitsiklis, The complexity of optimal queuing network control, Math. Oper. Res. 24(2), 1999. https://doi.org/10.1287/moor.24.2.293
8 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

The Price of Stability for Network Design with Fair Cost Allocation III: Weighted Games in Which Each Edge Serves at Most Two Players Have a Potential and a Nash EquilibriumResearch Paper

Motivation

In a network design game each of kkk players must connect its own terminals in a shared graph, and the cost of every edge that is bought is split among the players who use it. Anshelevich, Dasgupta, Kleinberg, Tardos, Wexler and Roughgarden (SIAM J. Comput. 2008) studied the fair (Shapley) split, in which the xex_exe​ users of an edge each pay ce/xec_e/x_ece​/xe​. That game is a congestion game in the sense of Rosenthal (Networks 1973), so it has an exact potential function and pure Nash equilibria always exist.

When players carry different amounts of traffic, the natural rule is to split an edge's cost in proportion to weight: a player of weight wiw_iwi​ on an edge whose users have total weight WeW_eWe​ pays (wi/We) ce(w_i/W_e)\,c_e(wi​/We​)ce​. The paper notes that this rule is analogous to weighted generalizations of the Shapley value (Monderer and Samet, Variations of the Shapley Value, Handbook of Game Theory III, 2002). The weighted model leaves Rosenthal's framework: the share depends on which players use an edge, not only on how many, and Chen and Roughgarden (SPAA 2006) showed that weighted games with three or more players need not have a pure Nash equilibrium at all. Section 6 of the paper identifies structural conditions under which equilibria do exist. This mission covers the first of them.

Timeline. Rosenthal (1973): every congestion game has a pure Nash equilibrium, via an exact potential. Monderer and Shapley (GEB 1996): potential and weighted potential games, and the equivalence of exact potential games with congestion games. Anshelevich et al. (FOCS 2004, journal 2008): Theorem 6.1, existence when every resource is shared by at most two players, and Theorem 6.3, existence when all players share a source and a sink. Chen and Roughgarden (2006): weighted network design games with three or more players may have no pure equilibrium.

Setting

A weighted cost-sharing game GGG consists of a finite set of players, a finite ground set EEE of edges (resources), and for each player iii:

  • a finite family Σi\Sigma_iΣi​ of feasible strategies, each a subset of EEE;
  • a weight wi≥1w_i \ge 1wi​≥1;

together with a fixed edge cost ce≥0c_e \ge 0ce​≥0 for every e∈Ee \in Ee∈E. A profile S=(Si)iS = (S_i)_iS=(Si​)i​ picks Si∈ΣiS_i \in \Sigma_iSi​∈Σi​ for every player. For an edge eee, WeW_eWe​ is the total weight of the players with e∈Sie \in S_ie∈Si​, and player iii's payment is

Ci(S)=∑e∈SiwiWe ce.C_i(S) = \sum_{e \in S_i} \frac{w_i}{W_e}\, c_e .Ci​(S)=e∈Si​∑​We​wi​​ce​.

A profile is a pure Nash equilibrium when no player iii has a T∈ΣiT \in \Sigma_iT∈Σi​ with Ci(S−i,T)<Ci(S)C_i(S_{-i}, T) < C_i(S)Ci​(S−i​,T)<Ci​(S), where (S−i,T)(S_{-i}, T)(S−i​,T) is the profile in which iii plays TTT and everyone else keeps their strategy.

The strategy space of player iii is the set of edges that occur in at least one strategy of Σi\Sigma_iΣi​. The hypothesis of Theorem 6.1 is that every edge lies in the strategy spaces of at most two players: no edge can ever be shared by three players, whatever they choose.

The network design game is the instance in which EEE is the edge set of a graph and Σi\Sigma_iΣi​ is the set of edge sets of paths connecting player iii's source sis_isi​ to its sink tit_iti​.

The paper's proof uses an explicit function Φ(S)=∑eΦe(S)\Phi(S) = \sum_e \Phi_e(S)Φ(S)=∑e​Φe​(S) with Φe(S)=0\Phi_e(S) = 0Φe​(S)=0 when eee is unused, cewic_e w_ice​wi​ when iii alone uses eee, and ceθijc_e\theta_{ij}ce​θij​ when iii and jjj both use it, where θij=wi+wj−wiwj/(wi+wj)\theta_{ij} = w_i + w_j - w_i w_j/(w_i + w_j)θij​=wi​+wj​−wi​wj​/(wi​+wj​). It is part of the definitions of this mission.

Formalization targets

Goal: Theorem 6.1

If every edge lies in the strategy spaces of at most two players, there is a weighted potential: a real function Φ\PhiΦ on profiles with

Φ(S−i,T)−Φ(S)=wi (Ci(S−i,T)−Ci(S))for every profile S, player i, T∈Σi,\Phi(S_{-i}, T) - \Phi(S) = w_i\,\bigl(C_i(S_{-i}, T) - C_i(S)\bigr) \quad\text{for every profile } S,\ \text{player } i,\ T \in \Sigma_i ,Φ(S−i​,T)−Φ(S)=wi​(Ci​(S−i​,T)−Ci​(S))for every profile S, player i, T∈Σi​,

and, if every Σi\Sigma_iΣi​ is nonempty, a pure Nash equilibrium exists. The goal asserts the existence of such a Φ\PhiΦ rather than fixing the paper's formula, so it remains valid for any other weighted potential.

Milestones

  1. Joining a shared edge (proof of Theorem 6.1): when iii joins an edge already used by exactly one other player jjj, Φe\Phi_eΦe​ rises by cewi2/(wi+wj)c_e w_i^2/(w_i + w_j)ce​wi2​/(wi​+wj​), which is wiw_iwi​ times iii's new share of eee.
  2. The identity for the explicit potential: the displayed identity holds for the paper's Φ\PhiΦ.
  3. From a weighted potential to an equilibrium: in any weighted game with positive weights and nonempty strategy sets, a function satisfying the identity forces a pure Nash equilibrium to exist.

An extra item states Corollary 6.2: every two-player weighted game with nonempty strategy sets has a pure Nash equilibrium.

Significance

The result. Theorem 6.1 is one of the two existence results the paper proves for weighted cost sharing, a game that in general has no pure equilibrium. It shows that the obstruction found by Chen and Roughgarden needs resources shared by three or more players: whenever sharing is limited to pairs, the game is a weighted potential game, so improving moves cannot cycle and equilibria exist. Corollary 6.2 makes the two-player case unconditional, and the paper notes that the same potential gives a (weak) bound on the price of stability.

Formalizing it. The result is proved in the paper; to our knowledge no machine-checked version exists. The mission produces a reusable Lean model of weight-proportional cost sharing (shared in form with the companion mission on single-source single-sink weighted games), an explicit weighted potential, and the general step from a weighted potential to a pure equilibrium, which applies to any finite game with positive weights.

Difficulty

The obvious approach, reusing Rosenthal's potential from the unweighted game, fails: the paper observes that in a weighted game improving moves can increase it. A player's share of an edge depends on the weights of the specific co-users, so no function of the edge loads alone can track all players' costs. The identity must therefore hold for every unilateral move, including moves that leave some edges and join others at the same time, and for every pair of possible co-users of an edge. The statement fails without the at-most-two hypothesis, so any argument has to use it in an essential way. The existence step needs the identity on all profiles reachable by feasible deviations, not only along a single path of moves.

Formalization scope

Lean namespace PriceOfStability.WeightedPotential. Players form a Fintype ι and edges a Fintype E; a game is a structure with strategies : ι → Finset (Finset E), weight : ι → ℝ and edgeCost : E → ℝ. Standing assumptions wᵢ ≥ 1 and c_e ≥ 0 are the predicate IsStandard. Profiles are functions ι → Finset E with the feasibility predicate IsProfile; every deviation is to a feasible strategy, via Function.update. Nash equilibria are pure and in cost form. The strategy-space hypothesis is a bound on the number of players whose strategy space (the union of their strategies) contains each edge — not a bound on the users in one profile, which would be a different statement. Φ_e is computed from the current users of e; its value with three or more users is a placeholder that never arises under the hypothesis. Strategies are arbitrary subsets of the ground set, as the paper's remark after the proof allows, so the network game is a special case.

The goal is not satisfiable trivially: the function Φ must satisfy the weighted identity for every feasible unilateral deviation from every profile, and an exact (unweighted) potential is not what is asserted. Nonempty strategy sets are added explicitly for the existence part, since without a profile there is no equilibrium.

Needed infrastructure: finite sums over filtered Finsets, the improvement-path argument over the finite set of profiles. The improvement-path lemma (milestone 3) is reusable for any weighted potential game. Contributions of proofs for any milestone are welcome.

Selected references

  • E. Anshelevich, A. Dasgupta, J. Kleinberg, É. Tardos, T. Wexler, T. Roughgarden, The Price of Stability for Network Design with Fair Cost Allocation, SIAM Journal on Computing 38(4):1602–1623, 2008. https://doi.org/10.1137/070680096
  • R. W. Rosenthal, The network equilibrium problem in integers, Networks 3:53–59, 1973. https://doi.org/10.1002/net.3230030104
  • D. Monderer, L. S. Shapley, Potential games, Games and Economic Behavior 14:124–143, 1996. https://doi.org/10.1006/game.1996.0044
  • H.-L. Chen, T. Roughgarden, Network design with weighted players, Proc. 18th ACM SPAA, 28–37, 2006. https://doi.org/10.1145/1148109.1148114
5 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimizationTheoretical Computer Science·Captain: mikedeng1

Optimal Sequencing of a Single Machine Subject to Precedence Constraints: Repeatedly Placing Last a Least-Cost Eligible Job Yields a Minmax Optimal SequenceResearch Paper

Motivation

Single-machine sequencing is the base case of deterministic scheduling theory. Many multi-machine and shop problems are analysed by reduction to it, and many bounds and approximation algorithms for harder models use it as a subroutine. A central objective class is the bottleneck or minmax objective. Each job carries a nondecreasing cost of its completion time, and the schedule is judged by its worst job. Maximum lateness, maximum tardiness and maximum weighted tardiness are all special cases.

Before 1973 the minmax problem was solved without precedence constraints. Jackson (1955) showed that ordering by due date minimizes maximum lateness. Moore (1968, Management Science 15(1)) gave a procedure for general nondecreasing deferral costs, and Lawler and Moore (1969) gave a related method. In Lawler, Optimal Sequencing of a Single Machine Subject to Precedence Constraints, Management Science 19(5), 1973, Lawler showed that arbitrary precedence constraints can be added at no loss of efficiency. Jobs are chosen from last to first, by a single comparison of costs at a known time. The resulting O(n2)O(n^2)O(n2) procedure is the standard algorithm for the problem written 1 ∣ prec ∣ fmax⁡1\,|\,\mathrm{prec}\,|\,f_{\max}1∣prec∣fmax​ in the classification of Graham, Lawler, Lenstra and Rinnooy Kan (1979). It is one of the first polynomial-time results for precedence-constrained scheduling that every survey of the field cites.

Setting

A finite, nonempty set JJJ of jobs is processed on a single machine, one job at a time and without interruption. Each job jjj has a processing time aj≥0a_j \ge 0aj​≥0 and a cost function cj:R→Rc_j : \mathbb{R} \to \mathbb{R}cj​:R→R that is monotone nondecreasing. The value cj(t)c_j(t)cj​(t) is the cost incurred when jjj is completed at time ttt.

The precedence constraints are an arbitrary relation ≺\prec≺ on jobs: i≺ji \prec ji≺j means that job iii is required to precede job jjj. A sequence π=(π1,…,πn)\pi = (\pi_1, \dots, \pi_n)π=(π1​,…,πn​) lists every job of JJJ once. It observes the precedence constraints if πq≺πp\pi_q \prec \pi_pπq​≺πp​ never holds for positions p<qp < qp<q. The machine starts at time 000 with no idle time, so the completion time of πm\pi_mπm​ is Cπm(π)=aπ1+⋯+aπmC_{\pi_m}(\pi) = a_{\pi_1} + \dots + a_{\pi_m}Cπm​​(π)=aπ1​​+⋯+aπm​​. The maximum incurred cost of π\piπ is

fmax⁡(π)=max⁡j∈Jcj(Cj(π)),f_{\max}(\pi) = \max_{j \in J} c_j\bigl(C_j(\pi)\bigr),fmax​(π)=j∈Jmax​cj​(Cj​(π)),

and a feasible π\piπ is minmax optimal if fmax⁡(π)≤fmax⁡(π′)f_{\max}(\pi) \le f_{\max}(\pi')fmax​(π)≤fmax​(π′) for every feasible π′\pi'π′.

For a set PPP of jobs, S(P)S(P)S(P) is the set of jobs of PPP that are not required to precede any other job of PPP, and TP=∑j∈PajT_P = \sum_{j \in P} a_jTP​=∑j∈P​aj​. Lawler's rule builds a sequence from the last position to the first. With PPP the jobs not yet placed, it chooses k∈S(P)k \in S(P)k∈S(P) with ck(TP)=min⁡j∈S(P)cj(TP)c_k(T_P) = \min_{j \in S(P)} c_j(T_P)ck​(TP​)=minj∈S(P)​cj​(TP​), places kkk in the latest open position and removes it from PPP. Ties are broken arbitrarily. In Lean the objects are IsFeasible, lastEligible (SSS), IsMinmaxOptimal and IsLawlerSequence, in namespace LawlerPrec.MinMax. They are built on the published MooreLateJobs.Shared.completionTime and MooreLateJobs.MaxDeferral.maxCost.

Formalization targets

Goal: the rule is optimal

Every sequence π\piπ that Lawler's rule can produce, under any tie-breaking, observes the precedence constraints and satisfies

fmax⁡(π)  ≤  fmax⁡(π′)for every sequence π′ of J observing the precedence constraints.f_{\max}(\pi) \;\le\; f_{\max}(\pi') \qquad \text{for every sequence } \pi' \text{ of } J \text{ observing the precedence constraints.}fmax​(π)≤fmax​(π′)for every sequence π′ of J observing the precedence constraints.

This is the statement of §3 (p. 545), "An efficient algorithm for finding a minmax optimal sequence follows immediately from the theorem above". It contains no constants.

Milestones

  1. §2 proof, third paragraph. Moving a job of S(J)S(J)S(J) to the end of a feasible sequence keeps it feasible.
  2. §2 proof, fourth paragraph, first sentence. After that move, no job other than kkk completes later, and kkk completes at T=∑j∈JajT = \sum_{j \in J} a_jT=∑j∈J​aj​.
  3. §2 proof, fourth paragraph. If ck(T)≤ck′(T)c_k(T) \le c_{k'}(T)ck​(T)≤ck′​(T), where k′k'k′ is the last job of the feasible sequence, the move does not raise fmax⁡f_{\max}fmax​.
  4. THEOREM (§2), p. 544. If some feasible sequence exists and k∈S(J)k \in S(J)k∈S(J) minimizes cj(T)c_j(T)cj​(T) over S(J)S(J)S(J), then some minmax optimal sequence has kkk last.
  5. §3, the reduction. A minmax optimal sequence of J∖{k}J \setminus \{k\}J∖{k}, followed by kkk, is minmax optimal for JJJ.
  6. §3, the procedure never stalls. If a feasible sequence exists, the rule produces a complete sequence. This shows the goal is not vacuous.

Significance

The result shows that 1 ∣ prec ∣ fmax⁡1\,|\,\mathrm{prec}\,|\,f_{\max}1∣prec∣fmax​ is solvable in polynomial time for every family of nondecreasing costs. The ordering of an optimal sequence depends on the costs only through their values at the nnn partial sums TPT_PTP​ along the way. The deadline problem is a corollary (§5): sequencing from last to first by latest deadline among the currently available jobs avoids tardiness whenever any sequence does. The last-to-first scheme is reused in later backward rules for fmax⁡f_{\max}fmax​ objectives. A formal statement of the rule, its feasibility and its optimality makes these extensions available for formal reuse.

The result is classical and its proof is short. No machine-checked proof of it is known to be in Mathlib. The work this mission asks for is a formal proof of the known exchange argument and of the induction that turns the Theorem into the algorithm's correctness. The induction needs the reduced problem's sets S(P)S(P)S(P) and times TPT_PTP​ to be the correct ones at each stage, which the definitions fix.

Difficulty

The exchange argument of §2 is elementary. The difficulty lies in stating the algorithm faithfully and carrying the induction. At each stage the eligible set S(P)S(P)S(P) and the time TPT_PTP​ must be recomputed on the remaining jobs, with constraints into already placed jobs ignored. The induction must also show that the rule's sequence is feasible, which is a conclusion and not an assumption.

A first attempt often proves only the Theorem, that some optimal sequence has kkk last. That statement says nothing about a sequence built entirely by the rule, because an optimal sequence of JJJ with kkk last need not restrict to an optimal sequence of J∖{k}J \setminus \{k\}J∖{k}. Optimality of the rule's whole sequence is the target, and milestone 5 isolates the corresponding step of the page.

Formalization scope

  • Jobs form a type ι with decidable equality, and the job set is J : Finset ι.
  • Processing times are a : ι → ℝ, costs are c : ι → ℝ → ℝ, and the precedence constraints are prec : ι → ι → Prop.
  • A sequence is a duplicate-free list whose elements are exactly J. Positions are 0-based, and completion times are prefix sums (MooreLateJobs.Shared.completionAt).
  • The relation prec is arbitrary: it is not assumed transitive, irreflexive or acyclic. A cycle among distinct jobs leaves no feasible sequence. A self-loop constrains nothing, both in feasibility and in SSS (the "others" of the page exclude the job itself).

The standing assumptions of §1 appear as hypotheses wherever they are used: monotone nondecreasing cjc_jcj​ for j∈Jj \in Jj∈J, and JJJ nonempty where the maximum is taken. Two hypotheses are added relative to the page and disclosed in each statement. Processing times are non-negative (aj≥0a_j \ge 0aj​≥0), since they are durations and the exchange argument fails without them. The Theorem also assumes the existence of a feasible sequence, which its conclusion presupposes.

The rule is the property IsLawlerSequence of a finished sequence. At each position mmm, the job there lies in SSS of the jobs in positions 0..m0..m0..m and minimizes the cost at their total processing time. Every tie-break is covered. The rule is not a deterministic function, and it is not an arbitrary choice function. Feasibility of the rule's output is part of the goal's conclusion, so the goal cannot be obtained by assuming it. A statement that compares the rule only with some sequence, or that asserts only that an optimal sequence exists, is weaker and is ruled out by the goal's form. Milestone 6 shows the goal's hypotheses are satisfiable whenever a feasible sequence exists.

The n2n^2n2 operation count of §4, the first-to-last rule of §5 and the deadline corollaries of §5 are not part of this mission. A development needs only finite lists and finsets from Mathlib. Lemmas about moving an element to the end of a duplicate-free list, and about prefix sums under that move, are reusable for other exchange arguments in single-machine scheduling.

Selected references

  • E. L. Lawler, Optimal Sequencing of a Single Machine Subject to Precedence Constraints, Management Science 19(5):544–546, 1973. https://doi.org/10.1287/mnsc.19.5.544
  • J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1):102–109, 1968. https://doi.org/10.1287/mnsc.15.1.102
  • E. L. Lawler and J. M. Moore, A Functional Equation and its Application to Resource Allocation and Sequencing Problems, Management Science 16(1):77–84, 1969. https://doi.org/10.1287/mnsc.16.1.77
  • J. R. Jackson, Scheduling a Production Line to Minimize Maximum Tardiness, Research Report 43, Management Science Research Project, UCLA, 1955.
  • R. L. Graham, E. L. Lawler, J. K. Lenstra and A. H. G. Rinnooy Kan, Optimization and Approximation in Deterministic Sequencing and Scheduling: a Survey, Annals of Discrete Mathematics 5:287–326, 1979. https://doi.org/10.1016/S0167-5060(08)70356-X
13 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

The Price of Stability for Network Design with Fair Cost Allocation I: The Price of Stability of Fair Cost Sharing Is at Most H(k), and This Is TightResearch Paper

Motivation

Many networks are built and paid for by the users they serve: multicast trees, virtual overlays, shared subnetworks of the Internet. A protocol proposes a design and a rule for splitting its cost, and each participant is free to accept the proposal or defect to a cheaper alternative. The designer therefore cannot impose the global optimum; the best it can do is propose the cheapest outcome that no participant wants to leave, a Nash equilibrium. The ratio between the cost of the best equilibrium and the optimal cost, the price of stability, measures the loss caused by requiring stability. It contrasts with the price of anarchy, which compares the worst equilibrium with the optimum and suits settings with no coordinating protocol at all.

Anshelevich, Dasgupta, Kleinberg, Tardos, Wexler and Roughgarden (SIAM J. Comput. 2008; preliminary version FOCS 2004) studied this question for the most common cost-sharing rule, the Shapley (equal-split) rule, under which every user of an edge pays the same share of its cost. Their first result, the subject of this mission, is that the price of stability is at most the harmonic number H(k)H(k)H(k), where kkk is the number of players, and that this bound is attained in the limit.

Setting

There are kkk players and a finite set EEE of edges. Each player iii has a family Σi\Sigma_iΣi​ of feasible strategies, each a set of edges; in the network setting Σi\Sigma_iΣi​ consists of the edge sets connecting player iii's terminals in a directed graph. Each edge eee has a nonnegative cost cec_ece​. In a strategy vector S=(S1,…,Sk)S=(S_1,\dots,S_k)S=(S1​,…,Sk​), Si∈ΣiS_i\in\Sigma_iSi​∈Σi​, let xex_exe​ be the number of players whose strategy contains eee. Under Shapley cost sharing player iii pays

Ci(S)=∑e∈Sicexe.C_i(S)=\sum_{e\in S_i}\frac{c_e}{x_e}.Ci​(S)=e∈Si​∑​xe​ce​​.

The cost of the designed network is

cost⁡(S)=∑e∈⋃iSice,\operatorname{cost}(S)=\sum_{e\in\bigcup_i S_i}c_e ,cost(S)=e∈⋃i​Si​∑​ce​,

and the payments add up to exactly this amount. The profile SSS is a (pure) Nash equilibrium if no player iii has a strategy Si′∈ΣiS_i'\in\Sigma_iSi′​∈Σi​ with Ci(S−i,Si′)<Ci(S)C_i(S_{-i},S_i')<C_i(S)Ci​(S−i​,Si′​)<Ci​(S). Finally,

H(k)=1+12+⋯+1k.H(k)=1+\tfrac12+\dots+\tfrac1k .H(k)=1+21​+⋯+k1​.

The game is a congestion game: the per-user cost of an edge, fe(x)=ce/xf_e(x)=c_e/xfe​(x)=ce​/x, depends only on the edge and its number of users. Rosenthal's potential

Φ(S)=∑e∈E∑x=1xefe(x)\Phi(S)=\sum_{e\in E}\sum_{x=1}^{x_e}f_e(x)Φ(S)=e∈E∑​x=1∑xe​​fe​(x)

changes by exactly the deviating player's change in cost when a single player changes strategy. The same objects are used with load-dependent edge costs ce(x)c_e(x)ce​(x), in which case fe(x)=ce(x)/xf_e(x)=c_e(x)/xfe​(x)=ce​(x)/x.

Formalization targets

Goal: Theorem 2.1 and its tightness

For every game with ce≥0c_e\ge0ce​≥0 in which each player has a feasible strategy there is a Nash equilibrium SSS with

cost⁡(S)≤H(k)⋅cost⁡(P)for every profile P,\operatorname{cost}(S)\le H(k)\cdot\operatorname{cost}(P)\quad\text{for every profile }P,cost(S)≤H(k)⋅cost(P)for every profile P,

and for every k≥1k\ge1k≥1, ε>0\varepsilon>0ε>0 the instance of Fig. 1.1 (player iii has its own path of cost 1/i1/i1/i, and all players can share a path of cost 1+ε1+\varepsilon1+ε) has a Nash equilibrium, every Nash equilibrium of it costs H(k)H(k)H(k), and some profile costs 1+ε1+\varepsilon1+ε. The ratio H(k)/(1+ε)H(k)/(1+\varepsilon)H(k)/(1+ε) tends to H(k)H(k)H(k) as ε→0\varepsilon\to0ε→0.

Milestones

  1. Budget balance: ∑iCi(S)=cost⁡(S)\sum_iC_i(S)=\operatorname{cost}(S)∑i​Ci​(S)=cost(S) for every SSS (Sect. 1).
  2. Rosenthal's potential is exact (Theorem 2.1, proof, (2.1)).
  3. From every profile some Nash equilibrium of no larger potential is reached (Theorem 2.1, proof).
  4. Theorem 3.1: if cost⁡(S)≤A Φ(S)\operatorname{cost}(S)\le A\,\Phi(S)cost(S)≤AΦ(S) and Φ(S)≤Bcost⁡(S)\Phi(S)\le B\operatorname{cost}(S)Φ(S)≤Bcost(S) for all SSS, the price of stability is at most ABABAB.
  5. For nondecreasing concave edge costs ce(x)c_e(x)ce​(x): cost⁡(S)≤Φ(S)≤H(k)cost⁡(S)\operatorname{cost}(S)\le\Phi(S)\le H(k)\operatorname{cost}(S)cost(S)≤Φ(S)≤H(k)cost(S) (Theorem 2.3, proof).
  6. Theorem 2.3: the H(k)H(k)H(k) bound for nondecreasing concave edge costs.
  7. The Fig. 1.1 instance: its Nash equilibrium is unique and costs H(k)H(k)H(k); a profile costs 1+ε1+\varepsilon1+ε.

Significance

The bound shows that requiring stability under the Shapley rule costs at most a logarithmic factor, H(k)=Θ(log⁡k)H(k)=\Theta(\log k)H(k)=Θ(logk), whereas the price of anarchy of the same game is kkk (two parallel edges of costs 111 and kkk already show this). It was among the first price-of-stability results and is the starting point for a line of work on network design games: the undirected case, where the H(k)H(k)H(k) bound is not tight and the correct value remained open for years, weighted players, and other cost-sharing rules. The argument (an exact potential that over- and under-estimates the social cost by bounded factors) is the standard tool for price-of-stability bounds, and Theorem 3.1 isolates it in a reusable form.

The theorem is proved in the paper; to our knowledge no machine-checked proof exists. This mission produces a formal account of Shapley cost-sharing games as congestion games, of Rosenthal's potential and the finite improvement property, of the potential-sandwich argument of Theorem 3.1, and of the matching lower-bound instance, for constant and for nondecreasing concave edge costs.

Difficulty

The obvious approach, bounding the cost of an arbitrary equilibrium, fails: some equilibria cost kkk times the optimum, so any proof must select a particular equilibrium. The selection uses the finiteness of the strategy space together with the exact potential, and the bound needs the inequality Φ≤H(k)⋅cost⁡\Phi\le H(k)\cdot\operatorname{cost}Φ≤H(k)⋅cost, which for concave costs requires the per-user cost ce(x)/xc_e(x)/xce​(x)/x to be nonincreasing. On the lower-bound side, the claim that every equilibrium of Fig. 1.1 costs H(k)H(k)H(k) requires excluding all equilibria in which some players share the common path, for every kkk at once, not only checking that the all-own profile is stable.

Formalization scope

Games are encoded as congestion games over arbitrary finite families of edge sets, reusing the published CongestionPoA.AsymSum.Model (congestion game, loads, player costs, cost-form pure Nash equilibrium, total cost). The paper notes that its proofs do not use the graph structure; the directed-graph game is the instance in which Σi\Sigma_iΣi​ is the family of edge sets connecting player iii's terminals. Players and edges form finite types; kkk is the number of players and H(k)H(k)H(k) is Mathlib's harmonic k cast to R\mathbb RR. The price of stability is stated as the existence of a Nash equilibrium whose cost is at most the constant times the cost of every profile, with no division by the optimum, and with the hypothesis that some profile exists. Concave costs are functions on N\mathbb NN with nonincreasing increments, nondecreasing, with ce(0)≥0c_e(0)\ge0ce​(0)≥0; this last condition is implicit in the paper and needed for ce(x)/xc_e(x)/xce​(x)/x to be nonincreasing. Theorem 3.1 carries the implicit hypothesis A≥0A\ge0A≥0.

A statement that bounds every equilibrium is false, and one that asserts a cheap profile without the Nash condition is trivial; both are excluded, and the tightness part quantifies over every Nash equilibrium of the instance and asserts that one exists.

Needed infrastructure: finite improvement paths in potential games, sum manipulations over loads, and bounds on harmonic sums. The potential lemmas apply to every finite congestion game and are reusable beyond this mission. Proofs of any milestone are welcome independently.

Selected references

  • E. Anshelevich, A. Dasgupta, J. Kleinberg, É. Tardos, T. Wexler, T. Roughgarden, The Price of Stability for Network Design with Fair Cost Allocation, SIAM J. Comput. 38(4):1602–1623, 2008. https://doi.org/10.1137/070680096
  • R. W. Rosenthal, A class of games possessing pure-strategy Nash equilibria, Int. J. Game Theory 2:65–67, 1973. https://doi.org/10.1007/BF01737559
  • D. Monderer, L. S. Shapley, Potential games, Games Econ. Behav. 14:124–143, 1996. https://doi.org/10.1006/game.1996.0044
11 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

The Price of Stability for Network Design with Fair Cost Allocation IV: In Weighted Games with a Common Source and Sink, Best-Response Dynamics Converge to a Nash EquilibriumResearch Paper

Motivation

In a network design game each player must connect its terminals in a graph whose edges carry fixed costs, and the cost of an edge is split among the players that use it. Anshelevich, Dasgupta, Kleinberg, Tardos, Wexler and Roughgarden (SIAM J. Comput. 38 (2008)) studied the fair (Shapley) split, in which the users of an edge pay equal shares. That game is a congestion game in the sense of Rosenthal (Int. J. Game Theory 2 (1973)), so it has an exact potential and pure Nash equilibria always exist.

Section 6 of the same paper turns to weighted players: player iii has a weight wi≥1w_i \ge 1wi​≥1 (a traffic volume, a bandwidth demand, a share of ownership) and pays for each edge it uses a share proportional to its weight. The equal-split potential is then lost, and the paper notes that weighted games with three or more players need not have a pure Nash equilibrium at all (Chen and Roughgarden, Network design with weighted players, SPAA 2006). Theorem 6.3 identifies a natural class in which equilibria survive: all players share one source and one sink. For that class it shows more than existence. The simplest decentralized procedure, letting players in turn switch to a cheapest route, always stops, and where it stops is an equilibrium.

Setting

A finite directed multigraph DDD has a finite set EEE of arcs; each arc eee has a tail and a head vertex, and parallel arcs between the same two vertices are allowed. Fix a source sss and a sink ttt. A simple sss–ttt path is a sequence of arcs e1,…,eme_1,\dots,e_me1​,…,em​ (m≥1m\ge1m≥1), each starting where the previous one ends, beginning at sss, ending at ttt, and visiting no vertex twice; it is identified with its arc set P⊆EP\subseteq EP⊆E. Write Sst\mathcal S_{st}Sst​ for the finite set of these paths.

The weighted single-commodity game has a finite set of players; player iii has a weight wi≥1w_i\ge1wi​≥1, arc eee has a fixed cost ce≥0c_e\ge0ce​≥0, and every player's strategy set is Sst\mathcal S_{st}Sst​. In a profile S=(Si)iS=(S_i)_iS=(Si​)i​ let

We=∑i : e∈SiwiW_e=\sum_{i\,:\,e\in S_i} w_iWe​=i:e∈Si​∑​wi​

be the total weight on arc eee. Player iii pays

payi(S)=∑e∈SiwiWe ce.\mathrm{pay}_i(S)=\sum_{e\in S_i}\frac{w_i}{W_e}\,c_e .payi​(S)=e∈Si​∑​We​wi​​ce​.

A profile is a (pure) Nash equilibrium if no player can lower its payment by switching alone to another path.

A best-response move of player iii replaces SiS_iSi​ by a path TTT that minimises iii's payment given the other players' paths, provided this strictly lowers iii's payment. Best-response dynamics is any sequence of profiles in which each profile arises from the previous one by a best-response move of some player.

Formalization targets

Goal: Theorem 6.3 (p. 1620)

For every such game with wi≥1w_i\ge1wi​≥1 and ce≥0c_e\ge0ce​≥0:

there is no infinite sequence S0,S1,… with Sn+1 a best-response move from Sn;\text{there is no infinite sequence } S^0,S^1,\dots \text{ with } S^{n+1} \text{ a best-response move from } S^n;there is no infinite sequence S0,S1,… with Sn+1 a best-response move from Sn; a profile admitting no best-response move is a Nash equilibrium;\text{a profile admitting no best-response move is a Nash equilibrium;}a profile admitting no best-response move is a Nash equilibrium; Sst≠∅  ⟹  a pure Nash equilibrium exists.\mathcal S_{st}\neq\emptyset \;\Longrightarrow\; \text{a pure Nash equilibrium exists.}Sst​=∅⟹a pure Nash equilibrium exists.

The goal asserts only termination and existence; it fixes no bound on the length of a run.

Milestones (proof of Theorem 6.3, p. 1620)

For a profile SSS define the marginal cost of a path, cS(P)=∑e∈Pce/We∈[0,+∞]c_S(P)=\sum_{e\in P}c_e/W_e\in[0,+\infty]cS​(P)=∑e∈P​ce​/We​∈[0,+∞], and the tuple P(S)P(S)P(S) of all values cS(P)c_S(P)cS​(P), P∈SstP\in\mathcal S_{st}P∈Sst​, sorted increasingly. With strictly positive arc costs:

  1. a player on path PPP pays wi cS(P)w_i\,c_S(P)wi​cS​(P) (this one needs only ce≥0c_e\ge0ce​≥0);
  2. inequality (6.1): if player iii makes a best-response move from P1P_1P1​ to P2P_2P2​ and P\mathcal PP is the set of paths sharing an arc with P1∪P2P_1\cup P_2P1​∪P2​, then min⁡P∈PcS′(P)<min⁡P∈PcS(P)\min_{P\in\mathcal P}c_{S'}(P)<\min_{P\in\mathcal P}c_S(P)minP∈P​cS′​(P)<minP∈P​cS​(P);
  3. every best-response move strictly decreases P(S)P(S)P(S) in the lexicographic order.

Significance

The theorem gives a guarantee about dynamics, not only about existence: in single-commodity weighted network design, any order in which players take turns playing best responses reaches a stable outcome in finitely many steps. This places the single-commodity case on the positive side of the boundary drawn by the nonexistence examples for general weighted games. The tuple of sorted path costs is a potential that is not a single number, a device that applies to other games without an exact potential.

The result is proved in the paper; it has no machine-checked proof that this mission is aware of. A formal development contributes a reusable layer for weighted cost-sharing games (payments, best responses, Nash equilibria on arbitrary strategy families), a treatment of simple directed paths in multigraphs as strategy sets, and a lexicographic termination argument over sorted lists of extended reals. The goal is stated for nonnegative costs, as in the paper's model, while the printed proof uses positive costs; closing that gap is part of the work.

Difficulty

The obvious route, finding a real-valued function that every improving move decreases, is unavailable: the paper notes that Rosenthal's potential Φ\PhiΦ is not a potential once weights are added, and that improving moves can increase it. Termination must instead come from an ordinal quantity, a whole sorted list compared lexicographically, and the move of one player changes the marginal costs of every path that shares an arc with the old or the new route, in both directions.

The argument also depends on the shape of the strategy sets. Two distinct simple sss–ttt paths are never nested as arc sets; with walks that repeat vertices, or with arbitrary strategy families, the comparison between a path's marginal cost before and after a deviation can fail. Arcs of cost zero create a further gap: ce/Wec_e/W_ece​/We​ is 0/00/00/0 on an unused free arc, and the strict inequalities of the proof degenerate, so the nonnegative-cost goal needs more than the printed argument.

Formalization scope

  • Players form a finite type; arcs form a finite type with tail and head maps into a vertex type. Parallel arcs are kept.
  • A strategy is a Finset of arcs; the strategy family of every player is the finite set of arc sets of simple sss–ttt paths (a list of consecutive arcs with distinct visited vertices). There are no paths when s=ts=ts=t.
  • Weights and costs are real numbers with wi≥1w_i\ge1wi​≥1, ce≥0c_e\ge0ce​≥0 (the predicate IsStandard); the milestones (6.1) and the lexicographic decrease assume ce>0c_e>0ce​>0.
  • Payments are real; on every used arc We≥wi≥1W_e\ge w_i\ge1We​≥wi​≥1, so the division is never by zero.
  • The marginal cost cS(P)c_S(P)cS​(P) is valued in [0,+∞][0,+\infty][0,+∞] (ℝ≥0∞): an unused arc of positive cost contributes +∞+\infty+∞. Computing it in the reals, where x/0=0x/0=0x/0=0, would make unused paths free and the milestones false.
  • Termination is the well-foundedness of the relation "S′S'S′ is reached from SSS by one best-response move" with S′S'S′ below SSS; the reverse orientation is a different statement.
  • A best-response move requires a strict improvement and an exact minimiser; dropping either makes termination trivially true or false, and the second clause of the goal (no move possible implies Nash) guards against a move relation that is too narrow.

Contributions welcome: lemmas on simple paths in multigraphs (non-nestedness), the multiset-to-sorted-list lexicographic comparison, and the treatment of zero-cost arcs.

Selected references

  • E. Anshelevich, A. Dasgupta, J. Kleinberg, É. Tardos, T. Wexler, T. Roughgarden, The Price of Stability for Network Design with Fair Cost Allocation, SIAM Journal on Computing 38(4):1602–1623, 2008. https://doi.org/10.1137/070680096
  • R. W. Rosenthal, A class of games possessing pure-strategy Nash equilibria, International Journal of Game Theory 2:65–67, 1973. https://doi.org/10.1007/BF01737559
  • D. Monderer, L. S. Shapley, Potential games, Games and Economic Behavior 14:124–143, 1996. https://doi.org/10.1006/game.1996.0044
  • H. Chen, T. Roughgarden, Network design with weighted players, Proceedings of the 18th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), 2006, pp. 28–37.
6 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Supply Chain Coordination with Revenue-Sharing Contracts: Strengths and Limitations 1: Revenue Sharing at w = φc Coordinates the Channel and Gives the Retailer the Share φ of Its Optimal ProfitResearch Paper

Why revenue sharing

A supplier who sells to an independent retailer through a plain per-unit wholesale price faces double marginalization: the retailer orders less than the quantity that maximizes the profit of the supply chain as a whole, because each unit costs him the wholesale price rather than the production cost. Supply chain contracting studies payment schemes under which the retailer's own optimum coincides with the system optimum. Such a scheme is said to coordinate the channel. The usual examples are buy-back contracts (Pasternack, 1985), quantity-flexibility contracts (Tsay and Lovejoy, 1999) and quantity discounts (Jeuland and Shugan, 1983; Moorthy, 1987).

Cachon and Lariviere study revenue sharing, in which the retailer pays a low wholesale price and also hands over a fixed fraction of his revenue. The scheme was common in video-cassette rental in the late 1990s, where it let rental chains stock far more copies of new releases. This mission formalizes the paper's single-retailer result: revenue sharing coordinates the channel, and the supplier can choose any split of the channel's maximal profit. It also includes the three further results of the paper that use the same argument.

The source is the authors' working paper of June 2000. Its results are unnumbered, so every item cites a section, a displayed equation and a printed page. The 2005 Management Science version renumbers and revises the material.

Setting

A supplier sells to one retailer, who orders q≥0q \ge 0q≥0 units before a selling season. The retailer's expected revenue is a function R(q)R(q)R(q) of the quantity alone. Leftover units have zero salvage value, and the supplier produces each unit at cost c>0c > 0c>0. The paper's standing assumptions (Sec. 1, p. 5) are:

  • RRR is strictly concave and differentiable for q≥0q \ge 0q≥0, with marginal revenue R′(q)R'(q)R′(q);
  • the product is viable: R′(0)>cR'(0) > cR′(0)>c;
  • a finite quantity is optimal: R′(∞)<cR'(\infty) < cR′(∞)<c.

A revenue-sharing contract {ϕ,w}\{\phi, w\}{ϕ,w} has two terms. The retailer pays the wholesale price w≥0w \ge 0w≥0 per unit, and he keeps the share ϕ\phiϕ of the revenue and transfers (1−ϕ)R(q)(1-\phi)R(q)(1−ϕ)R(q) to the supplier. The case ϕ=1\phi = 1ϕ=1 is the plain wholesale-price contract. The profits of the supply chain, the retailer and the supplier are

Π(q)=R(q)−qc,πr(q)=ϕR(q)−qw,πs(q)=(1−ϕ)R(q)+qw−qc.\Pi(q) = R(q) - qc,\qquad \pi_r(q) = \phi R(q) - qw,\qquad \pi_s(q) = (1-\phi)R(q) + qw - qc .Π(q)=R(q)−qc,πr​(q)=ϕR(q)−qw,πs​(q)=(1−ϕ)R(q)+qw−qc.

The integrated channel quantity qIq_IqI​ is the maximizer of Π\PiΠ over q≥0q \ge 0q≥0. In Lean these objects are RevShareCoord.Single.Model (fields R, R', c and the three assumptions) and its functions Pi, retailerProfit and supplierProfit.

Formalization targets

Goal: revenue sharing coordinates the channel (Sec. 2.2, p. 6)

Let ϕ∈(0,1]\phi \in (0,1]ϕ∈(0,1] and w(ϕ)=ϕcw(\phi) = \phi cw(ϕ)=ϕc. Then

qI=arg max⁡q≥0 πr(q) (uniquely),w(ϕ)≤c,πr(qI)=ϕ Π(qI),πs(qI)=(1−ϕ) Π(qI).q_I = \operatorname*{arg\,max}_{q\ge 0}\ \pi_r(q) \ \text{(uniquely)},\qquad w(\phi)\le c,\qquad \pi_r(q_I) = \phi\,\Pi(q_I),\qquad \pi_s(q_I) = (1-\phi)\,\Pi(q_I).qI​=q≥0argmax​ πr​(q) (uniquely),w(ϕ)≤c,πr​(qI​)=ϕΠ(qI​),πs​(qI​)=(1−ϕ)Π(qI​).

The statement fixes no revenue function and no share. It holds for every model and every ϕ∈(0,1]\phi \in (0, 1]ϕ∈(0,1], which is what "the supplier can take any share of the channel profit" means.

Milestones on the way

  1. Eq. (1), p. 6. qIq_IqI​ exists, is unique and positive, and is the only positive root of R′(qI)=cR'(q_I) = cR′(qI​)=c.
  2. Retailer's first-order condition, p. 6. If R′(0)>w/ϕR'(0) > w/\phiR′(0)>w/ϕ, an order q^≥0\hat q \ge 0q^​≥0 is optimal for the retailer exactly when q^>0\hat q > 0q^​>0 and ϕR′(q^)=w\phi R'(\hat q) = wϕR′(q^​)=w. The retailer has at most one optimal order.
  3. Profit identities, p. 6. Under {ϕ,ϕc}\{\phi, \phi c\}{ϕ,ϕc}, πr(q)=ϕΠ(q)\pi_r(q) = \phi\Pi(q)πr​(q)=ϕΠ(q) and πs(q)=(1−ϕ)Π(q)\pi_s(q) = (1-\phi)\Pi(q)πs​(q)=(1−ϕ)Π(q) at every qqq.
  4. Heterogeneous retailers, p. 7. Given ccc and ϕ\phiϕ, a single wholesale price, chosen before the revenue function, coordinates every retailer of the model.

Further results on the same argument

  1. Buy-back equivalence, Sec. 2.3, p. 9. Take the fixed-price newsvendor and the buy-back contract b∗=p(1−ϕ)b^* = p(1-\phi)b∗=p(1−ϕ), wb∗=p(1−ϕ)+ϕcw_b^* = p(1-\phi)+\phi cwb∗​=p(1−ϕ)+ϕc. It gives the retailer and the supplier the same realized profits as {ϕ,ϕc}\{\phi, \phi c\}{ϕ,ϕc}, for every order and every demand realization.
  2. Endogenous price, Sec. 3.1 and footnote 3, p. 11. Let revenue Rev(q,p)\mathrm{Rev}(q,p)Rev(q,p) be any function of quantity and price, with costs linear in quantity. Then πr(q,p)=ϕ Π(q,p)\pi_r(q,p) = \phi\,\Pi(q,p)πr​(q,p)=ϕΠ(q,p) under {ϕ,ϕc}\{\phi,\phi c\}{ϕ,ϕc}, and the integrated optimum (qI,pI)(q_I,p_I)(qI​,pI​), assumed unique, is the retailer's unique optimum.

Significance

The result separates coordination from profit division. A contract family coordinates for every value of a parameter, and that parameter then moves profit between the firms without changing the quantity, so the contract terms can be settled by bargaining power alone. The heterogeneous-retailer milestone gives the practical advantage over quantity discounts: the coordinating terms do not depend on the retailer's demand, so one price list serves retailers who face different markets. The Sec. 2.3 equivalence shows that, in the fixed-price newsvendor, buy-backs are a special case of revenue sharing. The Sec. 3.1 statement shows that revenue sharing still coordinates when the retailer also sets the price, a setting in which Emmons and Gilbert (1998) showed buy-backs fail.

All of these results are proved in the paper, and none is open. The mission adds a machine-checked version of the single-retailer theory for a general strictly concave revenue function. A related newsvendor version is already formalized on the platform: SupplyChainTheory.revenue_sharing_coordinates, from Snyder and Shen, Fundamentals of Supply Chain Theory, Thm 14.6. That version has a newsvendor revenue with salvage values and goodwill costs, and it concludes the optimality of three profits, not the ϕ\phiϕ-split of this paper. It is a different statement, so it is not reused here.

Difficulty

The algebra is short. The identity πr=ϕΠ\pi_r = \phi\Piπr​=ϕΠ under w=ϕcw = \phi cw=ϕc is a single line, and it is a milestone, not the goal. The work lies in the optimization claims over a half-line with only one-sided information at 000. The integrated optimum must be shown to exist. R′(∞)<cR'(\infty) < cR′(∞)<c gives only an eventual bound on the derivative, so the existence argument needs the continuity of a concave function and its supergradient inequality. It must also be shown positive, which uses R′(0)>cR'(0) > cR′(0)>c as a one-sided derivative. Its uniqueness rests on strict concavity. The retailer's first-order condition needs the same machinery for ϕR−wq\phi R - wqϕR−wq, including the observation that the boundary point 000 is never optimal. A stationary point of πr\pi_rπr​ is not enough. The goal asserts that qIq_IqI​ is the unique maximizer over all of [0,∞)[0,\infty)[0,∞).

Formalization scope

  • Quantities, prices and shares are real numbers. RRR and R′R'R′ are functions R→R\mathbb R \to \mathbb RR→R, constrained only on [0,∞)[0,\infty)[0,∞). Differentiability is HasDerivWithinAt R (R' q) (Set.Ici 0) q for q≥0q \ge 0q≥0, so it is one-sided at 000. Strict concavity is StrictConcaveOn ℝ (Set.Ici 0) R.
  • R′(∞)<cR'(\infty) < cR′(∞)<c is encoded as "R′(Q)<cR'(Q) < cR′(Q)<c for some Q≥0Q \ge 0Q≥0". For a decreasing R′R'R′ this is equivalent, and it allows R′→−∞R' \to -\inftyR′→−∞.
  • "Optimal" means IsMaxOn over [0,∞)[0,\infty)[0,∞) (over [0,∞)×P[0,\infty)\times P[0,∞)×P in Sec. 3.1), and "unique" means every other maximizer equals it.
  • The supplier's profit πs\pi_sπs​ is not displayed in the paper. It is read off the sequence of events of Sec. 1.
  • The goal and the first-order condition take ϕ∈(0,1]\phi \in (0,1]ϕ∈(0,1]. At ϕ=0\phi = 0ϕ=0 the retailer's profit is identically zero and qIq_IqI​ is not the unique optimum. The profit identities and the buy-back identities hold for all real parameters and are stated that way.
  • Corrected slips. (a) Eq. (1) is introduced with "R′(0)≥cR'(0) \ge cR′(0)≥c". This contradicts the standing assumption R′(0)>cR'(0) > cR′(0)>c: with equality, qI=0q_I = 0qI​=0 is not positive. The statement uses R′(0)>cR'(0) > cR′(0)>c. (b) The display πr(qI)=ϕR(qI)−qIc=ϕΠ(qI)\pi_r(q_I) = \phi R(q_I) - q_I c = \phi\Pi(q_I)πr​(qI​)=ϕR(qI​)−qI​c=ϕΠ(qI​) has a wrong middle term, which should read ϕR(qI)−qIϕc\phi R(q_I) - q_I\phi cϕR(qI​)−qI​ϕc. The outer equality is stated.
  • The first-order-condition milestone adds the converse direction and uniqueness to the paper's "must satisfy". It does not claim that an optimum exists, which may fail when w/ϕ<cw/\phi < cw/ϕ<c.
  • Sec. 3.1 is stated in the generality of footnote 3: an arbitrary revenue function Rev(q,p)\mathrm{Rev}(q,p)Rev(q,p) and a set PPP of admissible prices, with the integrated optimum's uniqueness as a hypothesis, as the paper assumes it. The paper's monotonicity of F(x,p)F(x,p)F(x,p) in ppp is unused and omitted.
  • Sec. 2.3 is formalized pathwise. The expected-profit equations (2)–(4) are not part of the mission.
  • A goal that only asserts πr(ϕ,ϕc,q)=ϕ Π(q)\pi_r(\phi, \phi c, q) = \phi\,\Pi(q)πr​(ϕ,ϕc,q)=ϕΠ(q) would be an unfolding of definitions. The goal therefore carries the argmax-and-uniqueness claim, which needs strict concavity and the model's assumptions.
  • Needed infrastructure: first-order conditions for concave functions on a closed half-line with one-sided derivatives, and existence of maximizers from an eventual derivative bound. Both are reusable beyond this mission. Contributions of that general kind are welcome.

Selected references

  • G. P. Cachon, M. A. Lariviere, Supply Chain Coordination with Revenue-Sharing Contracts: Strengths and Limitations, working paper, June 2000. Published version: Management Science 51(1):30–44, 2005. https://doi.org/10.1287/mnsc.1040.0215
  • B. A. Pasternack, Optimal pricing and return policies for perishable commodities, Marketing Science 4(2):166–176, 1985. https://doi.org/10.1287/mksc.4.2.166
  • K. S. Moorthy, Managing channel profits: Comment, Marketing Science 6(4):375–379, 1987. https://doi.org/10.1287/mksc.6.4.375
  • A. A. Tsay, W. S. Lovejoy, Quantity flexibility contracts and supply chain performance, Manufacturing & Service Operations Management 1(2):89–111, 1999. https://doi.org/10.1287/msom.1.2.89
  • H. Emmons, S. M. Gilbert, Note: The role of returns policies in pricing and inventory decisions for catalogue goods, Management Science 44(2):276–283, 1998. https://doi.org/10.1287/mnsc.44.2.276
  • L. V. Snyder, Z.-J. M. Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley, 2019, Ch. 14. https://doi.org/10.1002/9781119584445
10 thms3 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchOptimization+2·Captain: mikedeng1

A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization 2: Randomized Double Greedy Achieves 1/2 of the Optimum in ExpectationResearch Paper

Motivation

Many selection problems assign a value to each subset of a finite collection: the coverage supplied by chosen facilities, the influence reached by chosen seeds, or the value of a coalition. A submodular set function has diminishing returns in the precise sense that the combined value of two sets, counting their overlap once, does not exceed the sum of their separate values. When the function is also monotone, taking more elements never hurts. The unconstrained problem studied here permits nonmonotone functions, so both accepting and rejecting an element can matter. The question is what a single pass through the elements can guarantee when the function is available through value queries. Buchbinder et al., FOCS 2012

The randomized algorithm in this mission attains an expected one-half approximation for every nonnegative submodular function. The paper presents this as tight in the value-oracle setting: it recalls the earlier result of Feige, Mirrokni and Vondrák that a fixed improvement beyond one-half requires exponentially many queries. The contribution here is therefore both the guarantee and a short adaptive rule that attains it in a linear number of iterations. The local proposal follows the FOCS 2012 version of the paper; its theorem numbering differs from the later SIAM Journal on Computing article. Buchbinder et al., §I.A and Theorem I.2

Setting

Let N\mathcal NN be a finite ground set, and let f:2N→R≥0f:2^{\mathcal N}\to\mathbb R_{\ge0}f:2N→R≥0​ assign a nonnegative real value to every subset. The unconstrained submodular maximization problem asks for the largest value f(S)f(S)f(S) among all S⊆NS\subseteq\mathcal NS⊆N. Write OPTOPTOPT for that value when no confusion arises, and OOO for a set attaining it. Submodularity means

f(A∪B)+f(A∩B)≤f(A)+f(B)(A,B⊆N).f(A\cup B)+f(A\cap B)\le f(A)+f(B)\qquad(A,B\subseteq\mathcal N).f(A∪B)+f(A∩B)≤f(A)+f(B)(A,B⊆N).

There is no monotonicity or normalization assumption: f(∅)f(\varnothing)f(∅) and f(N)f(\mathcal N)f(N) may both be positive. A value oracle returns f(S)f(S)f(S) for a requested subset SSS. The paper's complexity claim counts such queries, assuming a query takes constant time. Buchbinder et al., §I and footnotes 1–2

Algorithm 2 visits the elements once in an arbitrary order u1,…,unu_1,\ldots,u_nu1​,…,un​. It keeps two sets, starting at X0=∅X_0=\varnothingX0​=∅ and Y0=NY_0=\mathcal NY0​=N. At step iii, it measures the gain aia_iai​ from adding uiu_iui​ to Xi−1X_{i-1}Xi−1​ and the gain bib_ibi​ from removing uiu_iui​ from Yi−1Y_{i-1}Yi−1​. It clips each gain at zero, giving ai′=max⁡(ai,0)a'_i=\max(a_i,0)ai′​=max(ai​,0) and bi′=max⁡(bi,0)b'_i=\max(b_i,0)bi′​=max(bi​,0). It adds uiu_iui​ to XXX with probability ai′/(ai′+bi′)a'_i/(a'_i+b'_i)ai′​/(ai′​+bi′​) and otherwise removes it from YYY. When both clipped gains vanish, the paper defines the add probability as one. After all elements have been processed, the two sets coincide, and the algorithm returns their common value. The state law is adaptive: its probability at step iii depends on the actual pair of sets produced by earlier choices. Buchbinder et al., Algorithm 2

Formalization targets

The main target is Theorem I.2 for this exact algorithm and for every enumeration of the ground set:

max⁡S⊆Nf(S)≤2 E[f(Xn)].\max_{S\subseteq\mathcal N}f(S)\le 2\,\mathbb E[f(X_n)].S⊆Nmax​f(S)≤2E[f(Xn​)].

The milestone statements retain the paper's key local quantities. For a comparison optimum OOO, set OPTi=(O∪Xi)∩YiOPT_i=(O\cup X_i)\cap Y_iOPTi​=(O∪Xi​)∩Yi​. Lemma II.1 asserts ai+bi≥0a_i+b_i\ge0ai​+bi​≥0. The endpoint statement identifies OPT0=OOPT_0=OOPT0​=O and OPTn=Xn=YnOPT_n=X_n=Y_nOPTn​=Xn​=Yn​. Inequality (3) bounds the conditional loss in the positive-gain case; Lemma III.1 compares the expected change of OPTiOPT_iOPTi​ with the expected combined change of XiX_iXi​ and YiY_iYi​. The telescoped display keeps the initial endpoint values f(∅)f(\varnothing)f(∅) and f(N)f(\mathcal N)f(N) before using nonnegativity. Buchbinder et al., Lemmas II.1 and III.1, inequality (3), proof of Theorem I.2

A companion target is Theorem I.4 via its second proof. For two normalized monotone submodular utilities f1,f2f_1,f_2f1​,f2​, let g(S)=f1(S)+f2(N∖S)g(S)=f_1(S)+f_2(\mathcal N\setminus S)g(S)=f1​(S)+f2​(N∖S). The maximum of ggg is exactly the optimal welfare of a two-player partition. Algorithm 2 on ggg is asked to satisfy

3max⁡S⊆Ng(S)≤4 E[g(Xn)].3\max_{S\subseteq\mathcal N}g(S)\le4\,\mathbb E[g(X_n)].3S⊆Nmax​g(S)≤4E[g(Xn​)].

This is the paper's three-quarter guarantee in its welfare application. Buchbinder et al., Theorem I.4 and Proof (2)

Significance

The main theorem gives a specific randomized rule whose expected value is at least half the best subset value, even when accepting an element can lower the objective. It applies without restricting the cardinality or shape of the chosen subset. The welfare corollary shows that keeping the initial endpoint values in the analysis yields a stronger guarantee for the objective formed from two monotone players. Buchbinder et al., Theorems I.2 and I.4

This mission formalizes the statement of the algorithm, its intermediate state laws, its comparison set, and the paper's numbered proof targets. The algorithmic guarantee is proved in the source paper; the local Lean theorem files are open statements with sorry and do not yet give machine-checked proofs of these results. A completed development would supply a reusable formal model of an adaptive finite random process over pairs of subsets, as well as the specific submodular inequalities. The published Submodular and OPT definitions from the earlier Feige–Mirrokni–Vondrák formalization are reused here.

Difficulty

The two possible updates cannot be assessed independently. The probability of each choice depends on the current state, and the comparison set OPTiOPT_iOPTi​ can gain or lose the processed element in a way that differs from the two algorithm sets. A bound on the expected value of XiX_iXi​ alone does not control the movement of OPTiOPT_iOPTi​. The proof must handle the clipped gains, including the case when both are zero, while preserving the exact joint law of (Xi,Yi)(X_i,Y_i)(Xi​,Yi​). Buchbinder et al., proof of Lemma III.1

Formalization scope

The ground set is a finite Lean type; subsets are Finset X, and values are real numbers. An order is a list with no repeated elements that covers the type, including the empty type. The run is an explicit finite mass function on pairs of subsets after every prefix of the list. Expectation is a finite weighted sum, so it has no integrability exception. The transition clips the two real marginal gains and handles 0/00/00/0 by assigning probability one to the add branch, exactly as Algorithm 2 specifies. The optimum is the published maximum over all subsets. No ratio divides by a possibly zero optimum.

The theorem fixes Algorithm 2 itself; an arbitrary process with nested sets or a process defined by its desired approximation property does not satisfy this scope. The Lean goal states the value bound and leaves the paper's linear-time claim outside the formal theorem. The algorithm uses four value evaluations per processed element in its printed rule; the Lean development represents those evaluations, not an implementation cost model. The statement that its two final sets coincide is a separate milestone.

The source's main-text decreasing-returns definition has an overbroad quantifier on the added element. This development uses the equivalent lattice inequality given in the paper's footnote, which permits nonmonotone functions. The proof of Lemma II.1 also has a set-index slip, and the proof of Theorem I.2 prints FFF for fff in one display; neither slip is copied into a formal statement. The one-step inequality (3) is stated for any nested pair with the processed element in Y∖XY\setminus XY∖X, a generalization of the conditioned reachable states in the paper. Contributions proving the endpoint invariant, conditional inequality, one-step expected estimate, and final bound are all within scope.

Selected references

  • Niv Buchbinder, Moran Feldman, Joseph Naor and Roy Schwartz, A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization, Proceedings of the 53rd IEEE Symposium on Foundations of Computer Science, 2012. FOCS version used here.
  • Niv Buchbinder, Moran Feldman, Joseph Naor and Roy Schwartz, A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization, SIAM Journal on Computing 44(5), 2015. DOI: 10.1137/130929205. The cited statement indices above refer to the FOCS version.
11 thms3 active usersReviewed
🏆Completed
Control TheoryDynamic ProgrammingOperations Research+1·Captain: mikedeng1

Stochastic Optimal Control: The Discrete-Time Case II: Contraction Models — the Optimal Cost Is the Unique Fixed Point of T in the Closed Set B̄Textbook

Motivation

Discounted dynamic programming with bounded cost per stage is the standard setting in which infinite-horizon sequential decision problems are well posed: the optimal cost exists, satisfies Bellman's equation, and can be computed by iterating the DP operator. Shapley proved this for stochastic games in 1953 (Shapley 1953), Blackwell for discounted Markov decision processes in 1965 (Blackwell 1965), and Denardo observed in 1967 that the arguments use only two properties of the DP operator: monotonicity and contraction in the supremum norm (Denardo 1967). Bertsekas (1975, 1977) and Bertsekas and Shreve (1978) turned this observation into an abstract dynamic programming framework, in which a single mapping HHH encodes stochastic, deterministic, minimax and multiplicative-cost problems at once (Bertsekas 1977).

Chapter 4 of Bertsekas and Shreve, Stochastic Optimal Control: The Discrete-Time Case, is the contraction part of that framework. Its results are the abstract form of what every course on Markov decision processes proves for the discounted case, and they are what later work on abstract DP (Bertsekas, Abstract Dynamic Programming, 2022) and on robust and regularized MDPs builds on.

Setting

A model consists of a state space SSS, a control space CCC, a nonempty constraint set U(x)⊆CU(x)\subseteq CU(x)⊆C for each x∈Sx\in Sx∈S, a mapping H:S×C×F→[−∞,∞]H:S\times C\times F\to[-\infty,\infty]H:S×C×F→[−∞,∞], where FFF is the set of functions S→[−∞,∞]S\to[-\infty,\infty]S→[−∞,∞], and a function J0∈FJ_0\in FJ0​∈F with J0>−∞J_0>-\inftyJ0​>−∞. HHH is monotone: J≤J′J\le J'J≤J′ implies H(x,u,J)≤H(x,u,J′)H(x,u,J)\le H(x,u,J')H(x,u,J)≤H(x,u,J′).

A selector is a function μ:S→C\mu:S\to Cμ:S→C with μ(x)∈U(x)\mu(x)\in U(x)μ(x)∈U(x); MMM is the set of selectors, and a policy is a sequence π=(μ0,μ1,… )\pi=(\mu_0,\mu_1,\dots)π=(μ0​,μ1​,…) in MMM. The operators are

Tμ(J)(x)=H(x,μ(x),J),T(J)(x)=inf⁡u∈U(x)H(x,u,J).T_\mu(J)(x)=H(x,\mu(x),J),\qquad T(J)(x)=\inf_{u\in U(x)}H(x,u,J).Tμ​(J)(x)=H(x,μ(x),J),T(J)(x)=u∈U(x)inf​H(x,u,J).

The cost of π\piπ is Jπ(x)=lim⁡N→∞(Tμ0⋯TμN−1)(J0)(x)J_\pi(x)=\lim_{N\to\infty}(T_{\mu_0}\cdots T_{\mu_{N-1}})(J_0)(x)Jπ​(x)=limN→∞​(Tμ0​​⋯TμN−1​​)(J0​)(x), the optimal cost is J∗(x)=inf⁡πJπ(x)J^*(x)=\inf_{\pi}J_\pi(x)J∗(x)=infπ​Jπ​(x), and JμJ_\muJμ​ is the cost of the stationary policy (μ,μ,… )(\mu,\mu,\dots)(μ,μ,…).

BBB is the Banach space of bounded real functions on SSS with ∥J∥=sup⁡x∣J(x)∣\|J\|=\sup_x|J(x)|∥J∥=supx​∣J(x)∣. Assumption C asks for a closed set Bˉ⊆B\bar B\subseteq BBˉ⊆B containing J0J_0J0​ and invariant under TTT and every TμT_\muTμ​; that every limit defining JπJ_\piJπ​ exist and be real; and that for some integer m≥1m\ge1m≥1 and scalars 0<ρ<10<\rho<10<ρ<1, α>0\alpha>0α>0,

∥Tμ(J)−Tμ(J′)∥≤α∥J−J′∥(J,J′∈B),∥(Tμ0⋯Tμm−1)(J)−(Tμ0⋯Tμm−1)(J′)∥≤ρ∥J−J′∥(J,J′∈Bˉ).\|T_\mu(J)-T_\mu(J')\|\le\alpha\|J-J'\|\quad(J,J'\in B),\qquad \|(T_{\mu_0}\cdots T_{\mu_{m-1}})(J)-(T_{\mu_0}\cdots T_{\mu_{m-1}})(J')\|\le\rho\|J-J'\|\quad(J,J'\in\bar B).∥Tμ​(J)−Tμ​(J′)∥≤α∥J−J′∥(J,J′∈B),∥(Tμ0​​⋯Tμm−1​​)(J)−(Tμ0​​⋯Tμm−1​​)(J′)∥≤ρ∥J−J′∥(J,J′∈Bˉ).

Formalization targets

Goal: Proposition 4.2

Under Assumption C,

J∗∈Bˉ,J∗=T(J∗),J′∈Bˉ, J′=T(J′) ⇒ J′=J∗,J^*\in\bar B,\qquad J^*=T(J^*),\qquad J'\in\bar B,\ J'=T(J')\ \Rightarrow\ J'=J^*,J∗∈Bˉ,J∗=T(J∗),J′∈Bˉ, J′=T(J′) ⇒ J′=J∗,

T(J′)≤J′T(J')\le J'T(J′)≤J′ implies J∗≤J′J^*\le J'J∗≤J′ and J′≤T(J′)J'\le T(J')J′≤T(J′) implies J′≤J∗J'\le J^*J′≤J∗ for J′∈BˉJ'\in\bar BJ′∈Bˉ; each JμJ_\muJμ​ is the unique fixed point of TμT_\muTμ​ in Bˉ\bar BBˉ; and for every J∈BˉJ\in\bar BJ∈Bˉ

lim⁡N→∞∥TN(J)−J∗∥=0,lim⁡N→∞∥TμN(J)−Jμ∥=0.\lim_{N\to\infty}\|T^N(J)-J^*\|=0,\qquad\lim_{N\to\infty}\|T_\mu^N(J)-J_\mu\|=0.N→∞lim​∥TN(J)−J∗∥=0,N→∞lim​∥TμN​(J)−Jμ​∥=0.

The statement carries no constants beyond those of Assumption C.

Milestones

  • Fixed Point Theorem (p. 55): an mmm-step contraction of a nonempty closed subset of a Banach space has a unique fixed point, which attracts every orbit.
  • Proposition 4.1 (p. 53): JπJ_\piJπ​ does not depend on the terminal function in Bˉ\bar BBˉ; inf⁡π(Tμ0⋯TμN−1)(J)=TN(J)\inf_\pi(T_{\mu_0}\cdots T_{\mu_{N-1}})(J)=T^N(J)infπ​(Tμ0​​⋯TμN−1​​)(J)=TN(J); TmT^mTm and TμmT_\mu^mTμm​ are ρ\rhoρ-contractions on Bˉ\bar BBˉ.
  • Proposition 4.3 (p. 56): (μ∗,μ∗,… )(\mu^*,\mu^*,\dots)(μ∗,μ∗,…) is optimal iff Tμ∗(J∗)=T(J∗)T_{\mu^*}(J^*)=T(J^*)Tμ∗​(J∗)=T(J∗); pointwise optimal policies yield a stationary optimal one; stationary ε\varepsilonε-optimal policies exist.
  • Proposition 4.4 (p. 57): compactness of the sets {u∈U(x)∣H[x,u,Tk(Jˉ)]≤λ}\{u\in U(x)\mid H[x,u,T^k(\bar J)]\le\lambda\}{u∈U(x)∣H[x,u,Tk(Jˉ)]≤λ} gives policies attaining the DP infimum, and their accumulation points are optimal stationary policies.
  • Proposition 4.11 (p. 69): the discounted minimax model with 0≤g≤b0\le g\le b0≤g≤b and α<1\alpha<1α<1 satisfies Assumption C with Bˉ=B\bar B=BBˉ=B, m=1m=1m=1, ρ=α\rho=\alphaρ=α.

Further result

  • Proposition 4.5 (p. 59), a draft theorem of this mission that is not a milestone: the error bound J∗≤Jμ≤J∗+(2αε1+ε2)(1+α+⋯+αm−1)/(1−ρ)J^*\le J_\mu\le J^*+(2\alpha\varepsilon_1+\varepsilon_2)(1+\alpha+\cdots+\alpha^{m-1})/(1-\rho)J∗≤Jμ​≤J∗+(2αε1​+ε2​)(1+α+⋯+αm−1)/(1−ρ).

Significance

Proposition 4.2 is the existence-and-uniqueness theorem for Bellman's equation in the contraction regime, together with the convergence of value iteration from an arbitrary start in Bˉ\bar BBˉ. Propositions 4.3 to 4.5 turn it into statements about policies: when a stationary optimal policy exists, how one is found from the DP algorithm, and how much is lost when Bellman's equation is solved only approximately. Proposition 4.11 shows the assumption is met by a concrete class of problems, discounted minimax control, and so certifies that the abstract theorems are not vacuous.

The results are classical and have been proved in print since 1978; none of them is open. What this mission adds is a machine-checked version of the abstract theory itself, rather than of a single model. Mathlib has the Banach fixed point theorem for a contracting map of a complete space (ContractingWith) and a lemma for contracting iterates, but not the version on a closed subset with norm convergence of every orbit, and nothing on abstract DP. The platform has proved the finite-state discounted case for a concrete model (BertsekasDP.discounted_main_theorem); the abstract statements here cover infinite state spaces, minimax problems and mmm-step contractions, and are reused by the later missions of this series (generalized models, Chapter 6) and by papers that cite the book.

Difficulty

The first idea is to apply the contraction mapping principle to TTT and read off J∗J^*J∗ as its fixed point. That gives a fixed point of TTT but says nothing about J∗J^*J∗, which is defined as an infimum over all, generally nonstationary, policies of limits of compositions. The identification of the fixed point with J∗J^*J∗ is the content of the proposition, and it is where the Lipschitz condition (2) on all of BBB, not only on Bˉ\bar BBˉ, enters.

Two further features block a direct appeal to Mathlib. The contraction is only mmm-step, so neither TTT nor TμT_\muTμ​ need be a contraction. And HHH takes extended-real values, so every passage between FFF and the Banach space BBB must be justified by the invariance of Bˉ\bar BBˉ.

Formalization scope

The state and control spaces are arbitrary types. FFF is S → EReal; BBB is Mathlib's lp (fun _ : S => ℝ) ⊤, whose norm is the supremum norm, and toF embeds BBB into FFF. Bˉ\bar BBˉ is an arbitrary closed subset of BBB, not BBB itself, and uniqueness of fixed points is asserted within Bˉ\bar BBˉ. Policies are sequences ℕ → M; (Tμ0⋯TμN−1)(J)(T_{\mu_0}\cdots T_{\mu_{N-1}})(J)(Tμ0​​⋯TμN−1​​)(J) applies TμN−1T_{\mu_{N-1}}TμN−1​​ first. JπJ_\piJπ​ is the pointwise limit (limUnder), which exists and is real under Assumption C; J∗J^*J∗ is the infimum over all policies.

The book computes in [−∞,∞][-\infty,\infty][−∞,∞] with ∞−∞=∞\infty-\infty=\infty∞−∞=∞, whereas Mathlib's EReal has ⊥+⊤=⊥\bot+\top=\bot⊥+⊤=⊥. No statement adds infinities of opposite sign. A norm bound ∥J−J′∥≤c\|J-J'\|\le c∥J−J′∥≤c between functions of FFF is the predicate SupDistLe: both functions are real at every point and differ by at most ccc, which is what the bound means under the book's arithmetic. Condition (2) is imposed on all of BBB, as on p. 53. The scalars m,ρ,αm,\rho,\alpham,ρ,α of Assumption C are explicit parameters, so the constant of Proposition 4.5 is the book's exact expression. The Fixed Point Theorem assumes Bˉ\bar BBˉ nonempty, which the page leaves implicit and without which the statement is false.

Defining J∗J^*J∗ as the fixed point of TTT, or replacing it by the infimum over stationary policies, would make the goal trivial. Neither is done here: J∗J^*J∗ is the infimum of the policy costs, exactly as in Eq. (8) of Chapter 2.

A complete development needs the mmm-step fixed point theorem on closed subsets of a Banach space, which can be reused well beyond dynamic programming; the elementary calculus of SupDistLe and of the embedding of BBB into S → EReal; and the monotone-operator inequalities of Section 2.1. Contributions of any of these, or alternative proofs of the milestones, are welcome.

Selected references

  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press 1978; Athena Scientific reprint 1996, Chapter 4. http://web.mit.edu/dimitrib/www/soc.html
  • D. P. Bertsekas, Monotone mappings with application in dynamic programming, SIAM J. Control Optim. 15 (1977) 438–464. https://doi.org/10.1137/0315031
  • E. V. Denardo, Contraction mappings in the theory underlying dynamic programming, SIAM Review 9 (1967) 165–177. https://doi.org/10.1137/1009030
  • D. Blackwell, Discounted dynamic programming, Ann. Math. Statist. 36 (1965) 226–235. https://doi.org/10.1214/aoms/1177700285
  • L. S. Shapley, Stochastic games, Proc. Natl. Acad. Sci. USA 39 (1953) 1095–1100. https://doi.org/10.1073/pnas.39.10.1095
  • D. P. Bertsekas, Abstract Dynamic Programming, 3rd ed., Athena Scientific 2022. https://web.mit.edu/dimitrib/www/abstractdp_MIT.html
8 thms3 active usersReviewed
PreviousNext

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me