Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Operations Research

1,094 missions · 560 completed

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

Missions

Open534Completed560All1094
OptimizationProbabilityStochastic Systems·Captain: mikedeng1

Dimensioning Large Call Centers III: Asymptotically Optimal Staffing in the Quality-Driven RegimeResearch Paper

Motivation

How many agents should a call center staff? Telephone call centers employ millions of people, and staffing is their largest cost, so the question is asked every half hour of every day (Gans, Koole & Mandelbaum, 2003). The classical model is the M/M/N (Erlang-C) queue: calls arrive at rate λ\lambdaλ, service times are exponential with mean 1/μ1/\mu1/μ, and NNN agents serve in parallel. Practitioners use the square-root safety staffing rule N≈λ/μ+yλ/μN \approx \lambda/\mu + y\sqrt{\lambda/\mu}N≈λ/μ+yλ/μ​, which Halfin and Whitt (1981) justified in the regime where the probability of waiting stays bounded away from 000 and 111.

Borst, Mandelbaum and Reiman (CWI Report PNA-R0015, 2000; published as Operations Research 52(1), 2004) asked when such a rule is actually optimal: given a staffing cost and a waiting cost, which staffing level minimizes total cost as the arrival rate grows? They identified three regimes according to how the two costs compare. This mission formalizes their third case, the quality-driven regime, in which waiting is so expensive relative to staffing that the optimal number of agents exceeds the offered load by more than any fixed multiple of its square root.

Setting

Fix a service rate μ>0\mu > 0μ>0. For every arrival rate λ>0\lambda > 0λ>0 a waiting-cost function DλD_\lambdaDλ​ assigns cost Dλ(t)D_\lambda(t)Dλ​(t) to a wait of ttt time units; it satisfies Dλ(0)=0D_\lambda(0) = 0Dλ​(0)=0, is strictly increasing, and t↦Dλ(t)e−θtt \mapsto D_\lambda(t)e^{-\theta t}t↦Dλ​(t)e−θt is integrable on (0,∞)(0,\infty)(0,∞) for every θ>0\theta > 0θ>0. A staffing cost FFF, defined for real N>0N > 0N>0, is convex and strictly increasing.

For an integer N>λ/μN > \lambda/\muN>λ/μ the probability of waiting is the Erlang-C formula

π(N,ν)=νNN!{(1−ν/N)∑n=0N−1νnn!+νNN!}−1,ν=λ/μ,\pi(N,\nu) = \frac{\nu^N}{N!}\Bigl\{(1-\nu/N)\sum_{n=0}^{N-1}\frac{\nu^n}{n!} + \frac{\nu^N}{N!}\Bigr\}^{-1},\qquad \nu = \lambda/\mu,π(N,ν)=N!νN​{(1−ν/N)n=0∑N−1​n!νn​+N!νN​}−1,ν=λ/μ,

the expected waiting cost of a delayed customer is G(N,λ)=(Nμ−λ)∫0∞Dλ(t)e−(Nμ−λ)t dtG(N,\lambda) = (N\mu-\lambda)\int_0^\infty D_\lambda(t)e^{-(N\mu-\lambda)t}\,dtG(N,λ)=(Nμ−λ)∫0∞​Dλ​(t)e−(Nμ−λ)tdt, and the total cost per unit time is C(N,λ)=F(N)+λ π(N,λ/μ) G(N,λ)C(N,\lambda) = F(N) + \lambda\,\pi(N,\lambda/\mu)\,G(N,\lambda)C(N,λ)=F(N)+λπ(N,λ/μ)G(N,λ). An optimal staffing level Nλ∗N^*_\lambdaNλ∗​ minimizes C(⋅,λ)C(\cdot,\lambda)C(⋅,λ) over the integers N>λ/μN > \lambda/\muN>λ/μ.

Write Nλ(x)=λ/μ+xλ/μN_\lambda(x) = \lambda/\mu + x\sqrt{\lambda/\mu}Nλ​(x)=λ/μ+xλ/μ​, and for x>0x > 0x>0 put Fλ(x)=F(Nλ(x))−F(λ/μ)F_\lambda(x) = F(N_\lambda(x)) - F(\lambda/\mu)Fλ​(x)=F(Nλ​(x))−F(λ/μ), Gλ(x)=λG(Nλ(x),λ)G_\lambda(x) = \lambda G(N_\lambda(x),\lambda)Gλ​(x)=λG(Nλ​(x),λ), and πλ(x)=H(Nλ(x),λ/μ)\pi_\lambda(x) = H(N_\lambda(x),\lambda/\mu)πλ​(x)=H(Nλ​(x),λ/μ), where H(M,α)={α∫0∞e−αtt(1+t)M−1dt}−1H(M,\alpha) = \{\alpha\int_0^\infty e^{-\alpha t}t(1+t)^{M-1}dt\}^{-1}H(M,α)={α∫0∞​e−αtt(1+t)M−1dt}−1 extends the Erlang-C formula to real MMM. The normalized cost is Cλ(x)=Fλ(x)+πλ(x)Gλ(x)C_\lambda(x) = F_\lambda(x) + \pi_\lambda(x)G_\lambda(x)Cλ​(x)=Fλ​(x)+πλ​(x)Gλ​(x), and a surrogate cost is C[z;F^,π^,G^]=F^(z)+π^(z)G^(z)C[z;\hat F,\hat\pi,\hat G] = \hat F(z) + \hat\pi(z)\hat G(z)C[z;F^,π^,G^]=F^(z)+π^(z)G^(z). Rounding is measured by Sλ(x)=min⁡{C(⌊Nλ(x)⌋,λ),C(⌈Nλ(x)⌉,λ)}S_\lambda(x) = \min\{C(\lfloor N_\lambda(x)\rfloor,\lambda), C(\lceil N_\lambda(x)\rceil,\lambda)\}Sλ​(x)=min{C(⌊Nλ​(x)⌋,λ),C(⌈Nλ​(x)⌉,λ)}.

Two special functions appear. The Halfin–Whitt delay function is P(x)=1/(1+x/h(−x))P(x) = 1/(1 + x/h(-x))P(x)=1/(1+x/h(−x)) with h=ϕ/(1−Φ)h = \phi/(1-\Phi)h=ϕ/(1−Φ) the standard normal hazard rate. The Stirling-type approximation is

Qλ(x)=exp⁡{Nλ(x)[1−rλ(x)+log⁡rλ(x)]}2πNλ(x) (1−rλ(x)),rλ(x)=λ/μNλ(x).Q_\lambda(x) = \frac{\exp\{N_\lambda(x)[1 - r_\lambda(x) + \log r_\lambda(x)]\}}{\sqrt{2\pi N_\lambda(x)}\,(1-r_\lambda(x))},\qquad r_\lambda(x) = \frac{\lambda/\mu}{N_\lambda(x)}.Qλ​(x)=2πNλ​(x)​(1−rλ​(x))exp{Nλ​(x)[1−rλ​(x)+logrλ​(x)]}​,rλ​(x)=Nλ​(x)λ/μ​.

Asymptotic relations are limits of ratios as λ→∞\lambda\to\inftyλ→∞: aλ≈∞bλa_\lambda \stackrel{\infty}{\approx} b_\lambdaaλ​≈∞bλ​ means aλ/bλ→1a_\lambda/b_\lambda \to 1aλ​/bλ​→1, and aλ≪∞bλa_\lambda \stackrel{\infty}{\ll} b_\lambdaaλ​≪∞​bλ​ means aλ/bλ→0a_\lambda/b_\lambda \to 0aλ​/bλ​→0.

Formalization targets

Goal: Theorem 7.1

Assume the regime is quality-driven, display (27): Fλ(κ)≪∞Gλ(κ)F_\lambda(\kappa) \stackrel{\infty}{\ll} G_\lambda(\kappa)Fλ​(κ)≪∞​Gλ​(κ) for every κ>0\kappa > 0κ>0. Let yλ∗y^*_\lambdayλ∗​ minimize Fλ(y)+Qλ(y)Gλ(y)F_\lambda(y) + Q_\lambda(y)G_\lambda(y)Fλ​(y)+Qλ​(y)Gλ​(y) over y>0y > 0y>0. Then

lim⁡λ→∞Sλ(yλ∗)−F(λ/μ)C(Nλ∗,λ)−F(λ/μ)=1.\lim_{\lambda\to\infty}\frac{S_\lambda(y^*_\lambda) - F(\lambda/\mu)}{C(N^*_\lambda,\lambda) - F(\lambda/\mu)} = 1.λ→∞lim​C(Nλ∗​,λ)−F(λ/μ)Sλ​(yλ∗​)−F(λ/μ)​=1.

The statement fixes no constants and no rate; it asserts only that rounding the surrogate optimum loses a vanishing fraction of the excess cost.

Milestones

In attack order: Lemma C.1 (GλG_\lambdaGλ​ strictly convex decreasing); the identity H(N,ν)=π(N,ν)H(N,\nu) = \pi(N,\nu)H(N,ν)=π(N,ν) at integer NNN (Section 3, p. 12); Lemma 3.1 and Lemma 3.2; Corollary 3.3 (the asymptotic optimality criterion); Lemma B.1 (PPP strictly convex decreasing); display (15); Lemma 4.1 (Halfin and Whitt); and the first statement of Lemma 4.2, πλ(xλ)≈∞Qλ(xλ)\pi_\lambda(x_\lambda) \stackrel{\infty}{\approx} Q_\lambda(x_\lambda)πλ​(xλ​)≈∞Qλ​(xλ​) whenever xλ→∞x_\lambda\to\inftyxλ​→∞.

Significance

Theorem 7.1 completes the paper's picture of optimal staffing. In the rationalized regime the square-root rule with the Halfin–Whitt function PPP is optimal; in the efficiency-driven regime staffing barely exceeds the load; in the quality-driven regime the staffing excess outgrows λ/μ\sqrt{\lambda/\mu}λ/μ​ and PPP must be replaced by the Stirling-type expression QλQ_\lambdaQλ​. The theorem gives a one-dimensional minimization whose solution is asymptotically optimal, which turns a discrete optimization over NNN into a smooth problem, and it marks the boundary of validity of square-root staffing.

The result is proved in the paper; it is not formalized anywhere to our knowledge. A complete development formalizes the Section 3 framework (shared with the other regimes of the same paper), the convexity of GλG_\lambdaGλ​ and of PPP, the Halfin–Whitt limit for the continuous extension πλ\pi_\lambdaπλ​, and the Stirling-type asymptotics of the Erlang-C formula. Each of these is a reusable piece of queueing theory in Lean.

Difficulty

The regime theorem itself is short once the framework is in place; the weight lies in the analytic lemmas. Lemma 4.2 requires uniform asymptotics of πλ\pi_\lambdaπλ​ at a staffing excess xλx_\lambdaxλ​ that may grow at any rate, from barely faster than a constant to faster than λ\sqrt{\lambda}λ​, where neither the central-limit picture of Halfin and Whitt nor a single Stirling expansion covers all cases. Lemma 4.1 concerns the continuous extension πλ\pi_\lambdaπλ​ at non-integer server counts, whereas Halfin and Whitt's theorem is about integer ones. The natural first idea, that the goal follows from Corollary 3.3 by plugging in Lemma 4.2, does not apply directly: Lemma 4.2 only covers staffing excesses that tend to infinity, and nothing in the definition of the true optimum xλ∗x^*_\lambdaxλ∗​ or the surrogate optimum yλ∗y^*_\lambdayλ∗​ says that they do.

Formalization scope

Lean represents λ\lambdaλ as a positive real, and λ→∞\lambda\to\inftyλ→∞ is the filter atTop on R\mathbb{R}R with μ\muμ fixed. The standing assumptions on μ\muμ and DλD_\lambdaDλ​ are the structure WaitModel; FFF is a function argument with hypotheses ConvexOn and StrictMonoOn on (0,∞)(0,\infty)(0,∞). Staffing levels NNN are natural numbers. Minimizers (Nλ∗N^*_\lambdaNλ∗​, xλ∗x^*_\lambdaxλ∗​, zλ∗z^*_\lambdazλ∗​, yλ∗y^*_\lambdayλ∗​) are function arguments with minimality hypotheses at every λ>0\lambda > 0λ>0, so every statement holds for every choice among ties. Liminf and limsup relations are stated through Filter.Frequently, avoiding boundedness side conditions.

The queue itself (Poisson arrivals, waiting-time law) is not formalized: the paper's analysis and all its theorems concern the closed-form cost C(N,λ)C(N,\lambda)C(N,λ) with the Erlang-C formula.

Conventions committed to: (i) the goal adds the hypothesis G(N,λ)→∞G(N,\lambda)\to\inftyG(N,λ)→∞ as N↓λ/μN\downarrow\lambda/\muN↓λ/μ, which the paper asserts on p. 12 to show the continuous optimum exists but which does not follow from its standing assumptions (it holds exactly when DλD_\lambdaDλ​ is unbounded); (ii) in SλS_\lambdaSλ​ the floor term is omitted when ⌊Nλ(x)⌋≤λ/μ\lfloor N_\lambda(x)\rfloor \le \lambda/\mu⌊Nλ​(x)⌋≤λ/μ, since the cost is undefined at unstable levels; (iii) the integrability of Dλ(t)e−θtD_\lambda(t)e^{-\theta t}Dλ​(t)e−θt is explicit, because a Lean integral of a non-integrable function is 000; (iv) P(0)=1P(0) = 1P(0)=1, the value of formula (11) at 000; (v) display (15) is stated for b>0b > 0b>0, since the ratio aλ/ba_\lambda/baλ​/b is undefined at b=0b = 0b=0. The instance μ=1\mu = 1μ=1, F(N)=cNF(N) = cNF(N)=cN, Dλ(t)=aλ tD_\lambda(t) = a\sqrt{\lambda}\,tDλ​(t)=aλ​t (Section 9) satisfies every hypothesis of the goal, so the goal is not vacuous; taking πλ\pi_\lambdaπλ​ or GλG_\lambdaGλ​ at Lean default values is ruled out by these explicit domain conditions.

Only the first statement of Lemma 4.2 is a milestone: the second, πλ(xλ)≈Q(xλ)\pi_\lambda(x_\lambda)\approx Q(x_\lambda)πλ​(xλ​)≈Q(xλ​) under xλ≤sup⁡λ1/6x_\lambda \stackrel{\sup}{\le} \lambda^{1/6}xλ​≤sup​λ1/6, fails as printed at xλ=λ1/6x_\lambda = \lambda^{1/6}xλ​=λ1/6. Contributions on the Erlang-C asymptotics, the normal hazard rate, and Laplace transforms of increasing functions are welcome and reusable beyond this mission.

Selected references

  • S. Borst, A. Mandelbaum, M. I. Reiman, Dimensioning Large Call Centers, CWI Report PNA-R0015, 2000 (the version formalized here; every index and page cited in this mission is the report's).
  • S. Borst, A. Mandelbaum, M. I. Reiman, Dimensioning Large Call Centers, Operations Research 52(1):17–34, 2004. https://doi.org/10.1287/opre.1030.0081
  • S. Halfin, W. Whitt, Heavy-Traffic Limits for Queues with Many Exponential Servers, Operations Research 29(3):567–588, 1981. https://doi.org/10.1287/opre.29.3.567
  • N. Gans, G. Koole, A. Mandelbaum, Telephone Call Centers: Tutorial, Review, and Research Prospects, Manufacturing & Service Operations Management 5(2):79–141, 2003. https://doi.org/10.1287/msom.5.2.79.16071
24 thms2 active usersReviewed
🏆Completed
Convex OptimizationOptimization·Captain: mikedeng1

The Relaxation Method of Finding the Common Point of Convex Sets and Its Application to the Solution of Problems in Convex Programming 3: A Convergent Relaxation from Z Solves the Equality ProgramResearch Paper

Motivation

Many large convex programs have the form "minimize a strictly convex function fff subject to linear equations Ax=bAx=bAx=b". Examples are entropy maximization under moment constraints, the estimation of a matrix with prescribed row and column sums (the matrix-scaling or RAS problem of transportation and input–output analysis), and least-norm solutions of linear systems. When AAA is large and sparse, methods that touch one equation at a time are attractive: each step needs only one row of AAA.

L. M. Bregman's 1967 paper (doi:10.1016/0041-5553(67)90040-7) introduced such a method. §1 defines a "relaxation" for finding a common point of closed convex sets AiA_iAi​, in which each step replaces the current point by its DDD-projection onto one set: the minimizer of a distance-like function D(⋅,y)D(\cdot,y)D(⋅,y) over that set. §2 chooses DDD from the objective fff itself, D(x,y)=f(x)−f(y)−(g(y),x−y)D(x,y)=f(x)-f(y)-(g(y),x-y)D(x,y)=f(x)−f(y)−(g(y),x−y) with ggg the gradient of fff; this function is now called the Bregman divergence. Theorem 3 of the paper, the target of this mission, shows that with this choice the relaxation does more than find a feasible point: started at a suitable point, its limit minimizes fff over the feasible set. The resulting row-action methods underlie later work on entropy optimization and matrix balancing (Censor and Zenios, Parallel Optimization, 1997) and the Bregman-projection techniques of modern optimization.

Setting

Work in the Euclidean space EpE^pEp with inner product (⋅,⋅)(\cdot,\cdot)(⋅,⋅). Let S⊂EpS\subset E^pS⊂Ep be a convex set with closure Sˉ\bar SSˉ and interior int⁡S\operatorname{int}SintS. Let fff be strictly convex and continuously differentiable over SSS, with gradient g(x)g(x)g(x) at x∈Sx\in Sx∈S, and continuous over Sˉ\bar SSˉ. Let AAA be an m×pm\times pm×p matrix with nonzero rows A1,…,AmA_1,\dots,A_mA1​,…,Am​ and b∈Emb\in E^mb∈Em. The problem (2.1)–(2.3) is

minimize f(x)subject toAx=b, x∈Sˉ,\text{minimize } f(x)\quad\text{subject to}\quad Ax=b,\ x\in\bar S,minimize f(x)subject toAx=b, x∈Sˉ,

with feasible set R={x∈Ep∣Ax=b, x∈Sˉ}R=\{x\in E^p\mid Ax=b,\ x\in\bar S\}R={x∈Ep∣Ax=b, x∈Sˉ}, assumed nonempty. A point of RRR minimizing fff over RRR is a solution.

The function (1.4) is

D(x,y)=f(x)−f(y)−(g(y),x−y),D(x,y)=f(x)-f(y)-\bigl(g(y),x-y\bigr),D(x,y)=f(x)−f(y)−(g(y),x−y),

and AiA_iAi​ also denotes the hyperplane {x∣(Ai,x)=bi}\{x\mid (A_i,x)=b_i\}{x∣(Ai​,x)=bi​}. The paper assumes that DDD satisfies its conditions I–VI of §1 with respect to these hyperplanes; among them, condition II provides, for every y∈Sy\in Sy∈S, a DDD-projection Piy∈Ai∩SP_iy\in A_i\cap SPi​y∈Ai​∩S minimizing D(⋅,y)D(\cdot,y)D(⋅,y) over Ai∩SA_i\cap SAi​∩S. It also assumes condition (2): if yn∈Sy^n\in Syn∈S and yn→y∗∈Sˉy^n\to y^*\in\bar Syn→y∗∈Sˉ, then D(y∗,yn)→0D(y^*,y^n)\to 0D(y∗,yn)→0.

A relaxation sequence with control (in)n≥0(i_n)_{n\ge0}(in​)n≥0​ starts at x0∈Sx^0\in Sx0∈S and sets xn+1=Pinxnx^{n+1}=P_{i_n}x^nxn+1=Pin​​xn. The control is any sequence of row indices. Finally,

Z={x∈S∣g(x)=uA=∑iuiAi for some u∈Em}Z=\{x\in S\mid g(x)=uA=\textstyle\sum_i u_iA_i\ \text{for some } u\in E^m\}Z={x∈S∣g(x)=uA=∑i​ui​Ai​ for some u∈Em}

is the set of points of SSS at which the gradient lies in the row space of AAA.

Formalization targets

Goal: Theorem 3

Assume that the DDD-projection of every point of int⁡S\operatorname{int}SintS onto every AiA_iAi​ lies in int⁡S\operatorname{int}SintS. For every control and every relaxation sequence with x0∈Z∩int⁡Sx^0\in Z\cap\operatorname{int}Sx0∈Z∩intS that converges to a point x∗∈Rx^*\in Rx∗∈R,

f(x∗)≤f(y)for every y∈R.f(x^*)\le f(y)\qquad\text{for every } y\in R .f(x∗)≤f(y)for every y∈R.

Convergence of the sequence is a hypothesis; the theorem says what the limit is, whichever control produced it.

Milestones

  1. Lemma 3. If y∗∈R∩Zˉy^*\in R\cap\bar Zy∗∈R∩Zˉ, then y∗y^*y∗ is a solution of (2.1)–(2.3).
  2. (2.7)–(2.8). For x∈int⁡Sx\in\operatorname{int}Sx∈intS there is λ∈R\lambda\in\mathbb Rλ∈R with g(Pix)=g(x)+λAig(P_ix)=g(x)+\lambda A_ig(Pi​x)=g(x)+λAi​ and (Ai,Pix)=bi(A_i,P_ix)=b_i(Ai​,Pi​x)=bi​.
  3. Invariance of ZZZ. PiP_iPi​ maps Z∩int⁡SZ\cap\operatorname{int}SZ∩intS into Z∩int⁡SZ\cap\operatorname{int}SZ∩intS.

An additional item states Note 2: the point and the multiplier in (2.7)–(2.8) are unique.

Significance

Theorem 3 converts a feasibility algorithm into an optimization algorithm for equality-constrained convex programs. Each step solves a one-dimensional problem (the multiplier λ\lambdaλ of a single equation), so the method scales to systems with very many equations, and with the controls of Theorems 1–2 of the same paper it gives a complete algorithm. Specializations include iterative proportional fitting for entropy objectives and Kaczmarz-type projections for f(x)=12∥x∥2f(x)=\tfrac12\|x\|^2f(x)=21​∥x∥2.

The theorem and its proof are classical and have been reproved many times, but no machine-checked proof is known to exist. A formalization produces a verified bridge between three standard pieces of convex analysis: first-order optimality on an affine set, the supporting-hyperplane inequality for a differentiable convex function extended to the closure of its domain, and the passage of a Lagrange condition to a limit. Each is reusable in other row-action and mirror-descent developments.

Difficulty

The obvious argument says: the limit is feasible, and the gradient at every iterate lies in the row space of AAA, so the limit satisfies the Karush–Kuhn–Tucker conditions. Two steps of this argument fail as stated. First, the gradient is only known on SSS, the limit may lie on the boundary of SSS (or outside SSS, in Sˉ\bar SSˉ), and ggg need not extend continuously there, so the multipliers unu^nun need not converge and no Lagrange condition holds at the limit. Lemma 3 must therefore reach optimality without a gradient at y∗y^*y∗. Second, the Lagrange condition (2.7) at an iterate requires the projection to be an interior minimizer, which is why the theorem carries the hypothesis that PiP_iPi​ preserves int⁡S\operatorname{int}SintS; on the boundary of SSS a minimizer over Ai∩SA_i\cap SAi​∩S need not satisfy (2.7).

Formalization scope

The space is EuclideanSpace ℝ (Fin p), rows are vectors a i, and (Ai,x)(A_i,x)(Ai​,x) is the real inner product. The gradient ggg is explicit data tied to fff by HasGradientWithinAt f (g x) S x for x∈Sx\in Sx∈S and continuous on SSS; SSS is not assumed open, and Mathlib's gradient is not used. The relevant explicit choices are:

  • The DDD-projection is a fixed map PPP; condition II says PiyP_iyPi​y minimizes D(⋅,y)D(\cdot,y)D(⋅,y) over Ai∩SA_i\cap SAi​∩S, and condition III is stated for that map.
  • Condition IV is assumed in its one-sided directional form (implied by the paper's), so theorems under it are at least as strong as the paper's.
  • "Compact" in conditions V and VI is sequential compactness. Condition V is assumed for the points of R∩SR\cap SR∩S.
  • Condition (2) is assumed for limits y∗∈Sˉy^*\in\bar Sy∗∈Sˉ; the page prints y∗∈Sy^*\in Sy∗∈S, but its use at a feasible point needs Sˉ\bar SSˉ.
  • Translation slips are corrected in the statements and recorded: condition II's "D(z,x)D(z,x)D(z,x)" and "i∈Ti\in Ti∈T", (2.7)'s "g(xn−1)g(x^{n-1})g(xn−1)" (read g(xn+1)g(x^{n+1})g(xn+1)), and "Theorems 1 − 3" (read Theorems 1–2).
  • The control is an arbitrary sequence of indices in {0,…,m−1}\{0,\dots,m-1\}{0,…,m−1}; λ is named lam.
  • Note 2 is stated for candidate points y,z∈Sy,z\in Sy,z∈S, where ggg is meaningful.

The goal does not conclude that the relaxation converges; a statement asserting convergence is a different, unproved theorem. Equally, it must not be weakened to a fixed control, to an open SSS, or to a limit assumed to lie in ZZZ: any of these would trivialize the passage to the limit that the theorem is about.

A complete development needs the first-order condition for a local minimum on an affine hyperplane, the gradient inequality f(x)≥f(y)+(g(y),x−y)f(x)\ge f(y)+(g(y),x-y)f(x)≥f(y)+(g(y),x−y) for x∈Sˉx\in\bar Sx∈Sˉ, y∈Sy\in Sy∈S, and an induction along the relaxation sequence. Proofs of the milestones and of Note 2 are welcome independently.

Selected references

  • L. M. Bregman, The relaxation method of finding the common point of convex sets and its application to the solution of problems in convex programming, USSR Comput. Math. Math. Phys. 7(3) (1967) 200–217. doi:10.1016/0041-5553(67)90040-7
  • Y. Censor, S. A. Zenios, Parallel Optimization: Theory, Algorithms, and Applications, Oxford University Press, 1997. doi:10.1093/oso/9780195100624.001.0001
  • Y. Censor, A. Lent, An iterative row-action method for interval convex programming, J. Optim. Theory Appl. 34 (1981) 321–353. doi:10.1007/BF00934676
6 thms2 active usersReviewed
OptimizationProbabilityStochastic Systems·Captain: mikedeng1

Dimensioning Large Call Centers II: Asymptotically Optimal Staffing in the Efficiency-Driven RegimeResearch Paper

Why staffing large call centers is a mathematical question

A call center must choose enough servers to limit waiting while paying for every server it staffs. When arrivals are heavy, small changes in the number of servers can change the probability of delay substantially. Borst, Mandelbaum, and Reiman study how to make this choice when the arrival rate grows and the costs of staffing and waiting need not grow at the same rate. Their CWI report treats several regimes within one queueing model. This mission concerns the efficiency-driven regime, where the incremental staffing cost eventually dominates the conditional waiting cost at every fixed positive square-root staffing offset. The resulting rule chooses an offset by optimizing a simpler cost that treats the probability of waiting as one.

The result is useful when the staffing-cost and waiting-cost primitives change with system scale. It says that the simplified choice still attains the optimal total cost asymptotically, even though the actual staffing decision is an integer and the simplified problem uses a real variable. The report states this as Theorem 6.1 on printed page 19, with its interpretation of asymptotic optimality supplied by Corollary 3.3 on printed page 14.

The Erlang-C cost model

Customers arrive at rate λ>0\lambda>0λ>0 and receive exponential service at rate μ>0\mu>0μ>0 per server. The service rate μ\muμ is fixed as λ\lambdaλ grows. For an integer number of servers N>λ/μN>\lambda/\muN>λ/μ, the Erlang-C delay probability π(N,λ/μ)\pi(N,\lambda/\mu)π(N,λ/μ) is the explicit finite-sum expression in Section 2 of the report. A customer who waits has an exponential waiting time with rate Nμ−λN\mu-\lambdaNμ−λ. Let Dλ(t)D_\lambda(t)Dλ​(t) be the cost of a wait of length ttt. It is strictly increasing on t≥0t\ge0t≥0, satisfies Dλ(0)=0D_\lambda(0)=0Dλ​(0)=0, and has finite exponential expectation at every positive rate. The resulting conditional waiting cost is

G(N,λ)=(Nμ−λ)∫0∞Dλ(t)e−(Nμ−λ)t dt.G(N,\lambda)=(N\mu-\lambda)\int_0^\infty D_\lambda(t)e^{-(N\mu-\lambda)t}\,dt.G(N,λ)=(Nμ−λ)∫0∞​Dλ​(t)e−(Nμ−λ)tdt.

The staffing cost F(N)F(N)F(N) is one fixed, convex, strictly increasing function of the server count. Its continuous extension is evaluated at real N>0N>0N>0. Total cost per unit of time at a stable integer level is

C(N,λ)=F(N)+λπ(N,λ/μ)G(N,λ).C(N,\lambda)=F(N)+\lambda\pi(N,\lambda/\mu)G(N,\lambda).C(N,λ)=F(N)+λπ(N,λ/μ)G(N,λ).

Write Nλ∗N^*_\lambdaNλ∗​ for any minimizing stable integer level. Ties are permitted. For a positive real offset xxx, define Nλ(x)=λ/μ+xλ/μN_\lambda(x)=\lambda/\mu+x\sqrt{\lambda/\mu}Nλ​(x)=λ/μ+xλ/μ​, Fλ(x)=F(Nλ(x))−F(λ/μ)F_\lambda(x)=F(N_\lambda(x))-F(\lambda/\mu)Fλ​(x)=F(Nλ​(x))−F(λ/μ), and Gλ(x)=λG(Nλ(x),λ)G_\lambda(x)=\lambda G(N_\lambda(x),\lambda)Gλ​(x)=λG(Nλ​(x),λ). The report extends Erlang-C continuously to πλ(x)\pi_\lambda(x)πλ​(x) and writes the incremental continuous objective as Cλ(x)=Fλ(x)+πλ(x)Gλ(x)C_\lambda(x)=F_\lambda(x)+\pi_\lambda(x)G_\lambda(x)Cλ​(x)=Fλ​(x)+πλ​(x)Gλ​(x). These definitions and the integer-extension identity are from Section 3, printed pages 11–12.

Formalization targets

The report defines the efficiency-driven regime by

for every κ>0,lim⁡λ→∞Fλ(κ)Gλ(κ)=+∞.\text{for every }\kappa>0,\qquad \lim_{\lambda\to\infty}\frac{F_\lambda(\kappa)}{G_\lambda(\kappa)}=+\infty.for every κ>0,λ→∞lim​Gλ​(κ)Fλ​(κ)​=+∞.

For each λ>0\lambda>0λ>0, choose yλ∗>0y^*_\lambda>0yλ∗​>0 to minimize Fλ(y)+Gλ(y)F_\lambda(y)+G_\lambda(y)Fλ​(y)+Gλ​(y) over y>0y>0y>0. Let Sλ(y)S_\lambda(y)Sλ​(y) be the smaller cost of the stable integer levels immediately below and above Nλ(y)N_\lambda(y)Nλ​(y); if the lower one is unstable, use the upper one. The goal, Theorem 6.1 together with Corollary 3.3, is

lim⁡λ→∞Sλ(yλ∗)−F(λ/μ)C(Nλ∗,λ)−F(λ/μ)=1.\lim_{\lambda\to\infty} \frac{S_\lambda(y^*_\lambda)-F(\lambda/\mu)} {C(N^*_\lambda,\lambda)-F(\lambda/\mu)}=1.λ→∞lim​C(Nλ∗​,λ)−F(λ/μ)Sλ​(yλ∗​)−F(λ/μ)​=1.

The milestone path includes the convexity of the conditional waiting cost (Lemma C.1), the agreement of the continuous Erlang-C extension with its integer formula, the two approximation lemmas and their corollary (Lemmas 3.1–3.2 and Corollary 3.3), the convex staffing-cost comparison of equation (13), and all three clauses of the Halfin–Whitt limit in Lemma 4.1. This ordering follows the objects each later statement uses.

What the result gives

The theorem certifies a staffing rule defined by a one-variable surrogate rather than the exact Erlang-C probability in the objective. Its guarantee concerns the incremental total cost above the unavoidable baseline F(λ/μ)F(\lambda/\mu)F(λ/μ), which is the economically relevant quantity when comparing two near-minimal stable staffing levels. The ratio tends to one, so the theorem is stronger than a claim that the two costs merely have the same growth order. The source also presents other regimes with different surrogates; their conclusions are separate targets in this series.

The paper proves the mathematical theorem. This mission asks for a Lean proof of its closed-form model and the surrounding lemmas. The complete development would make the report's approximation framework reusable for later results that combine a continuous queueing approximation, a surrogate minimizer, and integer rounding. It would also expose the exact assumptions needed to pass between real and integer staffing levels. No machine-checked proof of this report's Theorem 6.1 is claimed here.

Where the difficulty lies

The simple objective replaces the delay probability πλ(y)\pi_\lambda(y)πλ​(y) by one. That replacement is accurate near zero offset, but the minimizing offset itself changes with λ\lambdaλ. Pointwise asymptotics at a fixed positive offset do not directly control the value of an objective at its moving minimizer. The proof therefore has to relate the regime assumption to the location of the relevant minimizers before using the Halfin–Whitt limit. Integer rounding introduces another boundary issue: when Nλ(y)N_\lambda(y)Nλ​(y) is just above λ/μ\lambda/\muλ/μ, its floor need not be stable, so evaluating the ordinary Erlang-C formula there would compare the target against a meaningless cost. These difficulties are visible already in the statements of Theorem 6.1 and Lemma 3.2.

Formalization scope and conventions

Lean represents λ\lambdaλ, μ\muμ, offsets, and costs as real numbers; arrival-rate limits use the real filter at +∞+\infty+∞. Staffing counts are natural numbers. The service rate is positive and fixed. A WaitModel packages strict increase and normalization of DλD_\lambdaDλ​ on nonnegative waits together with integrability against every positive exponential rate. This integrability expresses the report's finiteness assumption for GGG and prevents a nonintegrable real integral from silently evaluating to zero. The hypotheses on FFF are convexity and strict increase on positive real staffing levels; FFF does not depend on λ\lambdaλ.

The report asserts that G(N,λ)G(N,\lambda)G(N,λ) diverges as NNN decreases to λ/μ\lambda/\muλ/μ, although the stated assumptions permit bounded increasing waiting penalties for which that assertion fails. The goal therefore includes this explicit divergence hypothesis, which also supports existence of the continuous minimizer used in the report's argument. The integer optimum and the surrogate optimum are functions constrained to be minimizers at every positive arrival rate. They cannot be arbitrary choices that make the conclusion vacuous. The continuous optimum appears only in the framework milestones; it is not a hypothesis of Theorem 6.1.

All formulas are total Lean functions. Their values at λ≤0\lambda\le0λ≤0, unstable integer counts, nonpositive offsets, or invalid parameters to the continuous Erlang-C integral have no queueing interpretation. Every theorem using them constrains its relevant inputs. The definition of SλS_\lambdaSλ​ ignores an unstable floor and uses the stable ceiling. At a positive offset and arrival rate this ceiling is above offered load. The Gaussian density, its cumulative integral, the hazard rate, and the delay function use the explicit formulas of Section 4; the value of the delay function at zero is the continuous extension needed by Lemma 4.1.

The queue's stochastic construction is outside this mission. The formal objects are the report's cost formulas and asymptotic comparisons, not a continuous-time Markov chain. Useful contributions include proofs of the special-function limit, convexity of conditional waiting cost, the integer-extension identity, and the reusable approximation lemmas. The regime condition is the full limit in equation (23); weakening it to an unrelated boundedness condition would change the theorem.

Selected references

  • Sem Borst, Avi Mandelbaum, and Martin I. Reiman, Dimensioning Large Call Centers, CWI Report PNA-R0015, 2000. Report PDF. Theorem 6.1, printed p. 19; Corollary 3.3, printed p. 14; Lemma 4.1, printed p. 15; Lemma C.1, printed p. 40.
22 thms2 active usersReviewed
Dynamical SystemsProbabilityStochastic Systems·Captain: mikedeng1

Dynamics of Stochastic Approximation Algorithms 4: Subgaussian Martingale Noise with Σ exp(−c/γ_n) < ∞ for Every c > 0 Satisfies Assumption A1 Almost SurelyResearch Paper

Motivation

A stochastic approximation algorithm is a recursion

xn+1−xn=γn+1(F(xn)+Un+1)x_{n+1}-x_n=\gamma_{n+1}\big(F(x_n)+U_{n+1}\big)xn+1​−xn​=γn+1​(F(xn​)+Un+1​)

in Rd\mathbb R^dRd, where FFF is a vector field, γn\gamma_nγn​ are small step sizes and Un+1U_{n+1}Un+1​ is noise. Such recursions go back to Robbins and Monro's root-finding scheme (Robbins–Monro 1951) and underlie stochastic gradient descent, temporal-difference learning, adaptive control and learning in games. The ODE method studies them by comparing the iterates with the trajectories of x˙=F(x)\dot x=F(x)x˙=F(x).

Benaïm's lecture notes (Benaïm 1999) organize the ODE method in two steps. A deterministic step, Proposition 4.1, shows that whenever the noise satisfies a condition called A1 (together with a boundedness condition on the iterates), the interpolated process is an asymptotic pseudotrajectory of the flow of FFF. A probabilistic step then verifies A1 for concrete noise models. Proposition 4.2 does this for martingale difference noise with bounded qqq-th moments, at the price of step sizes with ∑nγn1+q/2<∞\sum_n\gamma_n^{1+q/2}<\infty∑n​γn1+q/2​<∞. This mission formalizes the second verification, Proposition 4.4: when the noise is subgaussian, A1 holds almost surely under the much weaker requirement that ∑ne−c/γn<∞\sum_ne^{-c/\gamma_n}<\infty∑n​e−c/γn​<∞ for every c>0c>0c>0, which allows step sizes decaying only slightly faster than 1/log⁡n1/\log n1/logn. The notes attribute the result to Duflo (1997), see also Kushner and Yin (1997) and Benaïm and Hirsch (1996).

Setting

Let {γn}n≥1\{\gamma_n\}_{n\ge1}{γn​}n≥1​ be a deterministic sequence with γn≥0\gamma_n\ge0γn​≥0, ∑nγn=∞\sum_n\gamma_n=\infty∑n​γn​=∞ and γn→0\gamma_n\to0γn​→0 (a step sequence). Put τ0=0\tau_0=0τ0​=0, τn=∑i=1nγi\tau_n=\sum_{i=1}^n\gamma_iτn​=∑i=1n​γi​, and let

m(t)=sup⁡{k≥0: t≥τk}m(t)=\sup\{k\ge0:\ t\ge\tau_k\}m(t)=sup{k≥0: t≥τk​}

be the index of the step that contains time t≥0t\ge0t≥0. For a sequence {Un}n≥1\{U_n\}_{n\ge1}{Un​}n≥1​ define the piecewise constant processes Uˉ(t)=Um(t)+1\bar U(t)=U_{m(t)+1}Uˉ(t)=Um(t)+1​ and γˉ(t)=γm(t)+1\bar\gamma(t)=\gamma_{m(t)+1}γˉ​(t)=γm(t)+1​, so that step n+1n+1n+1 occupies the time interval [τn,τn+1)[\tau_n,\tau_{n+1})[τn​,τn+1​) of length γn+1\gamma_{n+1}γn+1​.

Assumption A1 asks that for every T>0T>0T>0

lim⁡n→∞sup⁡{∥∑i=nk−1γi+1Ui+1∥: k=n+1,…,m(τn+T)}=0,\lim_{n\to\infty}\sup\Big\{\Big\|\sum_{i=n}^{k-1}\gamma_{i+1}U_{i+1}\Big\|:\ k=n+1,\dots,m(\tau_n+T)\Big\}=0,n→∞lim​sup{​i=n∑k−1​γi+1​Ui+1​​: k=n+1,…,m(τn​+T)}=0,

or, in the form the notes call equivalent, lim⁡t→∞Δ(t,T)=0\lim_{t\to\infty}\Delta(t,T)=0limt→∞​Δ(t,T)=0 for every T>0T>0T>0, where

Δ(t,T)=sup⁡0≤h≤T∥∫tt+hUˉ(s) ds∥.\Delta(t,T)=\sup_{0\le h\le T}\Big\|\int_t^{t+h}\bar U(s)\,ds\Big\|.Δ(t,T)=0≤h≤Tsup​​∫tt+h​Uˉ(s)ds​.

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space with a nondecreasing sequence {Fn}\{\mathcal F_n\}{Fn​} of sub-σ\sigmaσ-algebras, and F:Rd→RdF:\mathbb R^d\to\mathbb R^dF:Rd→Rd continuous. A sequence {xn}\{x_n\}{xn​} given by the recursion above is a Robbins–Monro algorithm if γ\gammaγ is deterministic, UnU_nUn​ is Fn\mathcal F_nFn​-measurable, and E(Un+1∣Fn)=0E(U_{n+1}\mid\mathcal F_n)=0E(Un+1​∣Fn​)=0. The noise is subgaussian if there is a number Γ>0\Gamma>0Γ>0 such that for all nnn and all θ∈Rd\theta\in\mathbb R^dθ∈Rd

E(exp⁡⟨θ,Un+1⟩ ∣ Fn)≤exp⁡(Γ2∥θ∥2).E\big(\exp\langle\theta,U_{n+1}\rangle\,\big|\,\mathcal F_n\big)\le\exp\Big(\frac\Gamma2\|\theta\|^2\Big).E(exp⟨θ,Un+1​⟩​Fn​)≤exp(2Γ​∥θ∥2).

Bounded noise, ∥Un∥≤Γ\|U_n\|\le\sqrt\Gamma∥Un​∥≤Γ​, is an example.

Formalization targets

Goal: Proposition 4.4

For a Robbins–Monro algorithm with subgaussian noise and a deterministic step sequence such that

∑ne−c/γn<∞for each c>0,\sum_ne^{-c/\gamma_n}<\infty\qquad\text{for each }c>0,n∑​e−c/γn​<∞for each c>0,

with probability one the realised noise sequence satisfies A1, in both of its forms, simultaneously for all T>0T>0T>0.

Milestones

  1. The exponential supermartingale. For every θ∈Rd\theta\in\mathbb R^dθ∈Rd,
Zn(θ)=exp⁡[∑i=1n⟨θ,γiUi⟩−Γ2∑i=1nγi2∥θ∥2]Z_n(\theta)=\exp\Big[\sum_{i=1}^n\langle\theta,\gamma_iU_i\rangle-\frac\Gamma2\sum_{i=1}^n\gamma_i^2\|\theta\|^2\Big]Zn​(θ)=exp[i=1∑n​⟨θ,γi​Ui​⟩−2Γ​i=1∑n​γi2​∥θ∥2]

is a supermartingale. 2. Directional maximal tail bound. For every unit vector eee, α>0\alpha>0α>0, nnn and T>0T>0T>0,

P(sup⁡n<k≤m(τn+T)⟨e,∑i=nk−1γi+1Ui+1⟩≥α)≤exp⁡(−α22Γ∑i=nm(τn+T)−1γi+12).P\Big(\sup_{n<k\le m(\tau_n+T)}\Big\langle e,\sum_{i=n}^{k-1}\gamma_{i+1}U_{i+1}\Big\rangle\ge\alpha\Big)\le\exp\Big(\frac{-\alpha^2}{2\Gamma\sum_{i=n}^{m(\tau_n+T)-1}\gamma_{i+1}^2}\Big).P(n<k≤m(τn​+T)sup​⟨e,i=n∑k−1​γi+1​Ui+1​⟩≥α)≤exp(2Γ∑i=nm(τn​+T)−1​γi+12​−α2​).
  1. Eq. (18). There are C,C′>0C,C'>0C,C′>0 depending only on ddd and Γ\GammaΓ with
P(Δ(t,T)≥α)≤Cexp⁡(−α2C′∫tt+Tγˉ(s) ds)(t≥0, T>0, α>0).P(\Delta(t,T)\ge\alpha)\le C\exp\Big(\frac{-\alpha^2}{C'\int_t^{t+T}\bar\gamma(s)\,ds}\Big)\qquad(t\ge0,\ T>0,\ \alpha>0).P(Δ(t,T)≥α)≤Cexp(C′∫tt+T​γˉ​(s)ds−α2​)(t≥0, T>0, α>0).
  1. Block comparison. Δ(t,T)≤2Δ(kT,T)+Δ((k+1)T,T)\Delta(t,T)\le2\Delta(kT,T)+\Delta((k+1)T,T)Δ(t,T)≤2Δ(kT,T)+Δ((k+1)T,T) for kT≤t<(k+1)TkT\le t<(k+1)TkT≤t<(k+1)T.

Significance

Proposition 4.4 is the sufficient condition for the ODE method when the noise has Gaussian-type tails. Its step-size condition holds whenever γnlog⁡n→0\gamma_n\log n\to0γn​logn→0, so it admits steps that decrease far more slowly than the ∑γn2<∞\sum\gamma_n^2<\infty∑γn2​<∞ of the classical L2L^2L2 theory; slowly decreasing steps are what practitioners use to keep algorithms responsive. Combined with Proposition 4.1 it shows that the interpolated process of such an algorithm, with bounded iterates, is almost surely an asymptotic pseudotrajectory of the flow of FFF, and the limit set theorems of the notes then locate the limit points of the algorithm.

The result is proved in the notes and in the cited literature; it has not, to our knowledge, been machine-checked. A formal proof would add reusable pieces: an exponential supermartingale and maximal inequality for vector-valued martingale differences with a conditional subgaussian bound (Mathlib's conditional subgaussian notion is scalar), a Borel–Cantelli argument along the grid kTkTkT, and the continuous-time bookkeeping of Uˉ\bar UUˉ, γˉ\bar\gammaγˉ​ and Δ\DeltaΔ shared with the other missions of this series.

Difficulty

The moment method of Proposition 4.2 does not reach this regime: any fixed polynomial moment of the window sums decays only polynomially in the window's step sizes, and under ∑e−c/γn<∞\sum e^{-c/\gamma_n}<\infty∑e−c/γn​<∞ alone polynomial bounds are not summable over windows. Exponential tail bounds are needed, and they must be maximal (uniform over the window) and must hold for the norm of a vector, not only for a scalar. The continuous-time deviation Δ(t,T)\Delta(t,T)Δ(t,T) involves partial steps at both ends of [t,t+h][t,t+h][t,t+h], so the bound must be stated in terms of ∫tt+Tγˉ\int_t^{t+T}\bar\gamma∫tt+T​γˉ​ rather than a sum over whole steps, with constants that do not depend on ttt, TTT or α\alphaα. Finally, A1 quantifies over all T>0T>0T>0: the almost-sure statement must hold on a single event of full probability for every TTT.

Formalization scope

The space is Rd\mathbb R^dRd as EuclideanSpace ℝ (Fin d) (the paper writes Rm\mathbb R^mRm); time is real. The sequences γ\gammaγ and UUU are indexed by N\mathbb NN, and their values at 000 are unused, as the paper indexes them from 111. The filtration is a Mathlib Filtration ℕ; Un+1U_{n+1}Un+1​ is Fn+1\mathcal F_{n+1}Fn+1​-strongly measurable and integrable, and E(Un+1∣Fn)=0E(U_{n+1}\mid\mathcal F_n)=0E(Un+1​∣Fn​)=0 almost surely. The subgaussian condition requires exp⁡⟨θ,Un+1⟩\exp\langle\theta,U_{n+1}\rangleexp⟨θ,Un+1​⟩ to be integrable for every θ\thetaθ and nnn. The summand e−c/γne^{-c/\gamma_n}e−c/γn​ is taken to be 000 when γn=0\gamma_n=0γn​=0, its limiting value. The suprema in A1 and Δ\DeltaΔ are taken in [0,∞][0,\infty][0,∞]; the supremum over an empty range of kkk is 000. In Eq. (18) the constants are chosen before the probability space, the algorithm and t,T,αt,T,\alphat,T,α.

The following readings are excluded and are not acceptable formalizations: a subgaussian condition that holds vacuously because the exponential is not integrable (Lean's conditional expectation of a non-integrable function is 000); a summability condition made trivial or false by the convention c/0=0c/0=0c/0=0; and the conclusion "for each TTT, A1 holds almost surely" in place of "almost surely, A1 holds for all TTT". The second sentence of Proposition 4.4 (the asymptotic pseudotrajectory conclusion) is outside this mission.

All hypotheses are satisfiable: U=0U=0U=0, x=0x=0x=0, F=0F=0F=0, Γ=1\Gamma=1Γ=1 and γn=1/n\gamma_n=1/nγn​=1/n satisfy every one of them.

Contributions welcome: a maximal inequality for nonnegative supermartingales in the form needed here, vector subgaussian tail bounds for martingale transforms with deterministic weights (reusable well beyond this mission), lemmas on the step processes and Δ\DeltaΔ (measurability, local integrability, additivity), and the proofs of the milestones.

Selected references

  • M. Benaïm, Dynamics of Stochastic Approximation Algorithms, Séminaire de Probabilités XXXIII, Lecture Notes in Mathematics 1709, Springer, 1999, pp. 1–68. https://doi.org/10.1007/BFb0096509
  • M. Duflo, Random Iterative Models, Applications of Mathematics 34, Springer, 1997.
  • H. J. Kushner and G. G. Yin, Stochastic Approximation Algorithms and Applications, Springer, 1997.
  • M. Benaïm and M. W. Hirsch, Asymptotic pseudotrajectories and chain recurrent flows, with applications, Journal of Dynamics and Differential Equations 8 (1996), 141–176. https://doi.org/10.1007/BF02218617
  • H. Robbins and S. Monro, A stochastic approximation method, Annals of Mathematical Statistics 22 (1951), 400–407. https://doi.org/10.1214/aoms/1177729586
10 thms2 active usersReviewed
AnalysisDynamic ProgrammingOptimization+2·Captain: mikedeng1

Stochastic Optimal Control: The Discrete-Time Case VI: Lower Semianalytic Functions — Analytically Measurable ε-Optimal Selectors (Jankov–von Neumann)Textbook

Motivation

Dynamic programming over uncountable state and control spaces needs two things at every stage: the optimal cost-to-go, obtained by minimizing over the control, must be a function that can be integrated against the next stage's transition probabilities, and a policy that nearly attains the minimum must be measurable, so that it defines a stochastic process. With Borel-measurable costs and Borel-measurable policies both requirements fail. Minimizing a Borel function of (x,y)(x,y)(x,y) over yyy produces a function whose level sets are projections of Borel sets, and such projections need not be Borel (Suslin, 1917). The repair, developed by Blackwell, Freedman and Orkin (1974), Shreve and Bertsekas, and set out in Chapter 7 of Bertsekas and Shreve's Stochastic Optimal Control: The Discrete-Time Case (1978), is to enlarge the class of costs to the lower semianalytic functions and the class of policies to the analytically or universally measurable ones. Sections 7.6–7.7 of the book establish that this class is closed under partial minimization and admits measurable ε-optimal selectors. Chapters 8–10 of the book, and much of the later literature on Borel-space Markov decision processes (Hernández-Lerma and Lasserre; Feinberg and coauthors), build on these results.

Timeline:

  • 1917: Suslin shows that projections of Borel sets need not be Borel and introduces analytic sets; Lusin proves that analytic sets are universally measurable.
  • 1941–1949: Jankov and von Neumann independently prove that an analytic subset of a product admits a selector measurable with respect to the σ-algebra generated by analytic sets.
  • 1974: Blackwell, Freedman and Orkin use analytic sets to construct ε-optimal policies in Borel dynamic programming.
  • 1978: Bertsekas and Shreve give the treatment used here (§7.6–7.7), including the selection theorem for lower semianalytic functions, Proposition 7.50.

Setting

A Borel space is a topological space homeomorphic to a Borel subset of a complete separable metric space (Definition 7.7); its Borel σ-algebra is BX\mathscr B_XBX​. The Baire space is N=NN\mathscr N=\mathbb N^{\mathbb N}N=NN with the product topology. A set A⊆XA\subseteq XA⊆X is analytic if it is empty or the image of N\mathscr NN under a continuous map; by Proposition 7.41 this is the book's Definition 7.16 (the Suslin operation applied to closed sets). Every Borel set is analytic, and the converse fails when XXX is uncountable.

Three σ-algebras on XXX are in play. The analytic σ-algebra AX\mathscr A_XAX​ is generated by the analytic sets (Definition 7.19). The universal σ-algebra is UX=⋂pBX(p)\mathscr U_X=\bigcap_{p}\mathscr B_X(p)UX​=⋂p​BX​(p), the intersection over all probability measures ppp on (X,BX)(X,\mathscr B_X)(X,BX​) of the ppp-completions of BX\mathscr B_XBX​ (Definition 7.18). For a function fff from D⊆XD\subseteq XD⊆X into a Borel space YYY, fff is analytically measurable if D∈AXD\in\mathscr A_XD∈AX​ and f−1(B)∈AXf^{-1}(B)\in\mathscr A_Xf−1(B)∈AX​ for every B∈BYB\in\mathscr B_YB∈BY​, and universally measurable if the same holds with UX\mathscr U_XUX​ (Definition 7.20).

Let R∗=[−∞,∞]R^*=[-\infty,\infty]R∗=[−∞,∞]. A function f:D→R∗f:D\to R^*f:D→R∗ is lower semianalytic if DDD is analytic and {x∈D∣f(x)<c}\{x\in D\mid f(x)<c\}{x∈D∣f(x)<c} is analytic for every real ccc (Definition 7.21). For D⊆X×YD\subseteq X\times YD⊆X×Y write Dx={y∣(x,y)∈D}D_x=\{y\mid (x,y)\in D\}Dx​={y∣(x,y)∈D}, projX(D)={x∣Dx≠∅}\mathrm{proj}_X(D)=\{x\mid D_x\neq\emptyset\}projX​(D)={x∣Dx​=∅}, and define the partial infimum

f∗(x)=inf⁡y∈Dxf(x,y),x∈projX(D).f^*(x)=\inf_{y\in D_x}f(x,y),\qquad x\in\mathrm{proj}_X(D).f∗(x)=y∈Dx​inf​f(x,y),x∈projX​(D).

A selector is a function φ:projX(D)→Y\varphi:\mathrm{proj}_X(D)\to Yφ:projX​(D)→Y whose graph Gr(φ)\mathrm{Gr}(\varphi)Gr(φ) lies in DDD.

Formalization targets

Goal: Proposition 7.50

Let X,YX,YX,Y be Borel spaces, D⊆X×YD\subseteq X\times YD⊆X×Y analytic, and f:D→R∗f:D\to R^*f:D→R∗ lower semianalytic.

(a) For every ε>0\varepsilon>0ε>0 there is an analytically measurable selector φ\varphiφ with

f[x,φ(x)]≤{f∗(x)+εif f∗(x)>−∞,−1/εif f∗(x)=−∞.f[x,\varphi(x)]\le\begin{cases}f^*(x)+\varepsilon&\text{if }f^*(x)>-\infty,\\-1/\varepsilon&\text{if }f^*(x)=-\infty.\end{cases}f[x,φ(x)]≤{f∗(x)+ε−1/ε​if f∗(x)>−∞,if f∗(x)=−∞.​

(b) The set III of points where the infimum is attained is universally measurable, and for every ε>0\varepsilon>0ε>0 there is a universally measurable selector φ\varphiφ with f[x,φ(x)]=f∗(x)f[x,\varphi(x)]=f^*(x)f[x,φ(x)]=f∗(x) on III and the bounds of (a) off III.

The goal fixes no constant beyond the book's ε\varepsilonε and −1/ε-1/\varepsilon−1/ε.

Milestones

In attack order: Proposition 7.40 (Borel images and preimages of analytic sets are analytic), Corollary 7.42.1 (AX⊆UX\mathscr A_X\subseteq\mathscr U_XAX​⊆UX​), Corollary 7.44.2 (composites of analytically measurable maps are universally measurable), and Proposition 7.49, the Jankov–von Neumann theorem:

A⊆X×Y analytic ⟹ ∃ φ:projX(A)→Y analytically measurable, Gr(φ)⊆A.A\subseteq X\times Y\text{ analytic}\ \Longrightarrow\ \exists\,\varphi:\mathrm{proj}_X(A)\to Y\ \text{analytically measurable},\ \mathrm{Gr}(\varphi)\subseteq A.A⊆X×Y analytic ⟹ ∃φ:projX​(A)→Y analytically measurable, Gr(φ)⊆A.

Further items of the mission, on the same definitions: Proposition 7.39 (projections of analytic sets are analytic, and every analytic set is a projection of a Borel set), Lemma 7.30(1) (strict and non-strict, real and extended level sets give the same class) and Proposition 7.47 (lower semianalytic functions are exactly partial infima of Borel functions).

Significance

Proposition 7.50 is the selection theorem behind the existence of ε-optimal policies in Borel-space dynamic programming. In the finite-horizon model of Chapter 8 the optimal cost-to-go at each stage is lower semianalytic, by Propositions 7.47 and 7.48. Proposition 7.50 then turns the one-stage minimization into a measurable policy, analytically measurable when only ε-optimality is required and universally measurable when the minimum is attained. Chapters 8–9 of the book (the finite-horizon recursion JK∗=TK(J0)J^*_K=T^K(J_0)JK∗​=TK(J0​) and the optimality equation under (P), (N), (D)) use it at every step. Downstream catalog papers on average-cost and stochastic shortest-path problems over Borel spaces cite these results.

All results here are proved in the book and in the descriptive set theory literature (Kechris, Classical Descriptive Set Theory, §18 and §29). None is formalized on Prove2Me. Mathlib has analytic sets in Polish-type settings, the Lusin separation theorem and Suslin's theorem, but it has no universal σ-algebra, no analytic σ-algebra, no lower semianalytic functions and no Jankov–von Neumann uniformization. The definitions in this mission are reusable by the later missions of the series (Chapters 8–10), which restate them locally until these are published.

Difficulty

The obvious route to a selector is to choose, for each xxx, a minimizing or near-minimizing yyy. The axiom of choice provides such a function, but nothing makes it measurable, and the conclusion of the theorem is exactly that measurability. The Borel route fails too: the set {x∣f∗(x)<c}\{x\mid f^*(x)<c\}{x∣f∗(x)<c} is a projection of a Borel set, which is analytic but in general not Borel, so no Borel-measurable selector exists in general. The Jankov–von Neumann theorem needs a lexicographically least branch of a continuous parametrization of AAA by N\mathscr NN, and an argument that the resulting map is measurable with respect to AX\mathscr A_XAX​, which is generated by sets that are not closed under complementation. Part (b) adds a further obstacle: the composite of two analytically measurable maps need not be analytically measurable, so the exact selector is only universally measurable. Proving that requires Lusin's theorem that analytic sets are measurable for every completed probability measure.

Formalization scope

  • A Borel space is a type with a topology satisfying the class IsBorelSpace (Definition 7.7, the ambient complete separable metric space taken in the same universe), together with Mathlib's [MeasurableSpace X] [BorelSpace X], so measurable sets are exactly the Borel sets. On X×YX\times YX×Y the product σ-algebra is used; it coincides with BX×Y\mathscr B_{X\times Y}BX×Y​ for separable metrizable spaces (Proposition 7.13).
  • Analytic sets are Mathlib's MeasureTheory.AnalyticSet (empty or a continuous image of ℕ → ℕ).
  • R∗R^*R∗ is EReal. The book uses ∞−∞=∞\infty-\infty=\infty∞−∞=∞, and Mathlib's EReal uses ⊥+⊤=⊥\bot+\top=\bot⊥+⊤=⊥. No statement of this mission adds infinities of opposite sign; f∗(x)+εf^*(x)+\varepsilonf∗(x)+ε adds a real number.
  • Functions on DDD and on projX(D)\mathrm{proj}_X(D)projX​(D) are functions on subtypes. The graph condition Gr(φ)⊆D\mathrm{Gr}(\varphi)\subseteq DGr(φ)⊆D is part of every selector statement.
  • Universally measurable means NullMeasurableSet E p for every probability measure p.
  • "Analytically measurable" refers to the σ-algebra generated by analytic sets. Replacing it by the power set, dropping the graph condition, or dropping the −1/ε-1/\varepsilon−1/ε case would make the selection theorems a consequence of the axiom of choice. The statements rule all three out.

Not included: Lusin's theorem in Suslin-scheme form (Proposition 7.42, which needs the Suslin operation as a definition), Proposition 7.43 on P(X)P(X)P(X), the integration results of Propositions 7.46 and 7.48, and Lemma 7.30(2)–(4). None is used in the proof of the goal. Contributions welcome: the bridge between IsBorelSpace and Mathlib's StandardBorelSpace, the universal σ-algebra API, and the Jankov–von Neumann theorem itself.

Selected references

  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press 1978; Athena Scientific 1996, §7.6–7.7. https://web.mit.edu/dimitrib/www/soc.html
  • D. Blackwell, D. Freedman and M. Orkin, The optimal reward operator in dynamic programming, Annals of Probability 2 (1974) 926–941. https://doi.org/10.1214/aop/1176996558
  • A. S. Kechris, Classical Descriptive Set Theory, Graduate Texts in Mathematics 156, Springer 1995, §18 (Jankov–von Neumann uniformization), §29 (measurability of analytic sets). https://doi.org/10.1007/978-1-4612-4190-4
  • S. E. Shreve and D. P. Bertsekas, Universally measurable policies in dynamic programming, Mathematics of Operations Research 4 (1979) 15–30. https://doi.org/10.1287/moor.4.1.15
8 thms2 active usersReviewed
🏆Completed
Algorithmic Game Theory·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
AnalysisDynamic ProgrammingOptimization+2·Captain: mikedeng1

Stochastic Optimal Control: The Discrete-Time Case V: Semicontinuous Functions — a Borel-Measurable Minimizing Selector for Lower Semicontinuous CostsTextbook

Motivation

Every step of the dynamic programming algorithm on a general state space does three things: it takes a conditional expectation of the cost-to-go under a transition kernel, it minimizes the resulting function of state and control over the control, and, if a policy is to be produced, it picks a control for each state that attains or nearly attains that minimum. On a finite or countable state space all three are harmless. On an uncountable state space each can destroy the measurability needed to take the next expectation: the infimum over an uncountable family of measurable functions need not be measurable, and a minimizer chosen state by state need not be a measurable function of the state, so it does not define a policy at all.

Section 7.5 of Bertsekas and Shreve, Stochastic Optimal Control: The Discrete-Time Case (1978; Athena Scientific reprint 1996), settles the three operations for semicontinuous costs and continuous kernels. The results are the topological half of the book's measurability theory; the descriptive set theory half (lower semianalytic functions and analytically measurable selectors, §7.6–7.7) is a separate mission in this series. The semicontinuous results are what Propositions 8.6–8.7 and Corollaries 9.17.2–9.17.3 of the book use to obtain Borel-measurable optimal policies for finite-horizon and infinite-horizon models with lower semicontinuous costs and compact control sets.

Timeline. The exact selection theorem for lower semicontinuous functions (Proposition 7.33 below) is credited by the book's notes to Dubins and Savage, How to Gamble If You Must (1965). The Hausdorff metric on closed sets goes back to Hausdorff's Set Theory. Measurable selection in the closed-valued setting was later systematized by Kuratowski and Ryll-Nardzewski (1965), whose theorem gives a different route to results of this kind.

Setting

Throughout, R∗=[−∞,+∞]R^*=[-\infty,+\infty]R∗=[−∞,+∞] is the extended real line. A function f:X→R∗f:X\to R^*f:X→R∗ on a metrizable space XXX is lower semicontinuous if every sublevel set {x∣f(x)≤c}\{x\mid f(x)\le c\}{x∣f(x)≤c}, c∈Rc\in\mathbb Rc∈R, is closed, and upper semicontinuous if every superlevel set {x∣f(x)≥c}\{x\mid f(x)\ge c\}{x∣f(x)≥c} is closed (Definition 7.13). C(X)C(X)C(X) is the space of bounded continuous real-valued functions on XXX.

For a separable metrizable space YYY, P(Y)P(Y)P(Y) is the set of Borel probability measures on YYY with the weak topology (convergence of integrals of functions in C(Y)C(Y)C(Y)). A stochastic kernel q(dy∣x)q(dy\mid x)q(dy∣x) on YYY given XXX is a map x↦q(dy∣x)x\mapsto q(dy\mid x)x↦q(dy∣x) from XXX to P(Y)P(Y)P(Y), and it is continuous if this map is continuous (Definition 7.12). The integral of a Borel-measurable f:Y→R∗f:Y\to R^*f:Y→R∗ is ∫f dp=∫f+dp−∫f−dp\int f\,dp=\int f^+dp-\int f^-dp∫fdp=∫f+dp−∫f−dp with the convention −∞+∞=+∞−∞=+∞-\infty+\infty=+\infty-\infty=+\infty−∞+∞=+∞−∞=+∞ (Eq. (43) of Chapter 7).

For a compact metric space YYY, 2Y2^Y2Y is the collection of closed subsets of YYY with the topology of the Hausdorff metric (Appendix C). For D⊆X×YD\subseteq X\times YD⊆X×Y, the section at xxx is Dx={y∣(x,y)∈D}D_x=\{y\mid (x,y)\in D\}Dx​={y∣(x,y)∈D}, the projection is projX(D)={x∣Dx≠∅}\mathrm{proj}_X(D)=\{x\mid D_x\neq\emptyset\}projX​(D)={x∣Dx​=∅}, and a function φ:projX(D)→Y\varphi:\mathrm{proj}_X(D)\to Yφ:projX​(D)→Y has its graph in DDD if (x,φ(x))∈D(x,\varphi(x))\in D(x,φ(x))∈D for every x∈projX(D)x\in\mathrm{proj}_X(D)x∈projX​(D). "Borel-measurable" refers to the Borel σ-algebras of the topologies in question; on projX(D)\mathrm{proj}_X(D)projX​(D) this is the Borel σ-algebra of the subspace topology.

Formalization targets

Goal: Proposition 7.33

Let XXX be metrizable, YYY compact metrizable, D⊆X×YD\subseteq X\times YD⊆X×Y closed, and f:D→R∗f:D\to R^*f:D→R∗ lower semicontinuous. Put

f∗(x)=min⁡y∈Dxf(x,y),x∈projX(D).f^*(x)=\min_{y\in D_x}f(x,y),\qquad x\in\mathrm{proj}_X(D).f∗(x)=y∈Dx​min​f(x,y),x∈projX​(D).

Then projX(D)\mathrm{proj}_X(D)projX​(D) is closed, f∗f^*f∗ is lower semicontinuous, and there is a Borel-measurable φ:projX(D)→Y\varphi:\mathrm{proj}_X(D)\to Yφ:projX​(D)→Y with graph in DDD and

f(x,φ(x))=f∗(x)∀x∈projX(D).f\bigl(x,\varphi(x)\bigr)=f^*(x)\qquad\forall x\in\mathrm{proj}_X(D).f(x,φ(x))=f∗(x)∀x∈projX​(D).

Milestones

  • Proposition 7.32: for f∗(x)=inf⁡y∈Yf(x,y)f^*(x)=\inf_{y\in Y}f(x,y)f∗(x)=infy∈Y​f(x,y), lower semicontinuity of fff and compactness of YYY give lower semicontinuity of f∗f^*f∗ and attainment; upper semicontinuity of fff gives upper semicontinuity of f∗f^*f∗.
  • Lemma 7.18: there is a Borel-measurable σ:2Y−{∅}→Y\sigma:2^Y-\{\emptyset\}\to Yσ:2Y−{∅}→Y with σ(A)∈A\sigma(A)\in Aσ(A)∈A.
  • Lemma 7.20: for lower semicontinuous fff on a nonempty compact YYY, the argmin map x↦{y∣f(x,y)≤f∗(x)}x\mapsto\{y\mid f(x,y)\le f^*(x)\}x↦{y∣f(x,y)≤f∗(x)} is Borel-measurable into 2Y2^Y2Y.
  • Lemma 7.14: fff is lower semicontinuous and bounded below iff fn↑ff_n\uparrow ffn​↑f for some fn∈C(X)f_n\in C(X)fn​∈C(X) (and dually).
  • Proposition 7.30: x↦∫f(x,y) q(dy∣x)x\mapsto\int f(x,y)\,q(dy\mid x)x↦∫f(x,y)q(dy∣x) is continuous for f∈C(X×Y)f\in C(X\times Y)f∈C(X×Y) and continuous qqq.
  • Proposition 7.31: the same map is lower (upper) semicontinuous and bounded below (above) when fff is.
  • Lemma 7.21: an open G⊆X×YG\subseteq X\times YG⊆X×Y, YYY separable, has open projection and a Borel-measurable selector with graph in GGG.
  • Proposition 7.34: for open DDD and upper semicontinuous fff, projX(D)\mathrm{proj}_X(D)projX​(D) is open, f∗=inf⁡Dxff^*=\inf_{D_x}ff∗=infDx​​f is upper semicontinuous, and for each ε>0\varepsilon>0ε>0 there is a Borel-measurable φε\varphi_\varepsilonφε​ with graph in DDD and
f(x,φε(x))≤{f∗(x)+εif f∗(x)>−∞,−1/εif f∗(x)=−∞.f\bigl(x,\varphi_\varepsilon(x)\bigr)\le\begin{cases}f^*(x)+\varepsilon&\text{if }f^*(x)>-\infty,\\-1/\varepsilon&\text{if }f^*(x)=-\infty.\end{cases}f(x,φε​(x))≤{f∗(x)+ε−1/ε​if f∗(x)>−∞,if f∗(x)=−∞.​

Significance

The results. Propositions 7.31–7.33 are the closure properties that make the dynamic programming recursion stay inside the class of lower semicontinuous functions bounded below: the expectation step preserves the class (7.31), the minimization step preserves it (7.32, 7.33), and the minimization admits a Borel-measurable exact minimizer (7.33). This is why, in semicontinuous models, the optimal cost functions are lower semicontinuous and optimal policies can be taken Borel-measurable and nonrandomized. Proposition 7.34 gives the weaker, ε\varepsilonε-optimal counterpart for upper semicontinuous costs, where the infimum need not be attained.

Formalizing them. All of these results are proved in the book; none is open. As far as is known, none has a machine-checked proof: Mathlib has semicontinuity, the Hausdorff extended metric on closed and on nonempty compact sets, and the weak topology on probability measures, but no theorem combining them into a measurable selection result of this kind. A formal development would supply measurable selectors for semicontinuous minimization in Lean and the Borel-measurability of set-valued maps into the hyperspace of closed sets, both reusable well beyond dynamic programming.

Difficulty

The obvious attempt at the goal is to pick, for each xxx, some minimizer yyy of f(x,⋅)f(x,\cdot)f(x,⋅) over the compact section DxD_xDx​. The minimizer exists by compactness and lower semicontinuity, but the choice is made pointwise and gives no control on measurability: a minimizer chosen by the axiom of choice need not be Borel-measurable. The argmin sets F∗(x)F^*(x)F∗(x) vary with xxx only semicontinuously: they can jump from a single point to a large set, so a continuous selection generally does not exist, and continuity arguments cannot replace measurability. Lemma 7.18 isolates the hardest part: a choice of a point of each nonempty closed set that is measurable as a function of the set itself.

A second difficulty is bookkeeping at infinity. Values ±∞\pm\infty±∞ are allowed throughout, so sublevel sets, minima, integrals and ε\varepsilonε-bounds must all be handled in R∗R^*R∗; the integral in Proposition 7.31 uses the convention ∞−∞=+∞\infty-\infty=+\infty∞−∞=+∞, which is not Mathlib's.

Formalization scope

  • Extended reals. Values are in EReal. The only place where values of opposite infinite sign are combined is the integral, which is the published definition DupacovaWets.Consistency.expect (reused, not restated): ∫f+−∫f−\int f^+-\int f^-∫f+−∫f− with an explicit case returning +∞+\infty+∞ when ∫f+=∞\int f^+=\infty∫f+=∞, exactly the book's convention (42). The ε\varepsilonε-bound of Proposition 7.34 adds a real ε\varepsilonε to a value different from −∞-\infty−∞, which is safe in EReal.
  • Semicontinuity is Mathlib's LowerSemicontinuous/UpperSemicontinuous, equivalent to Definition 7.13 for EReal-valued functions. Lemma 7.13 of the book (the sequential characterization) is Mathlib's lowerSemicontinuous_iff_le_liminf together with first countability of metrizable spaces, and is not restated here.
  • Functions on DDD. Functions "on DDD" are functions on X×YX\times YX×Y with LowerSemicontinuousOn f D (resp. UpperSemicontinuousOn); values off DDD play no role. projX(D)\mathrm{proj}_X(D)projX​(D) is Prod.fst '' D, selectors are functions on that subtype, and its σ-algebra is the Borel σ-algebra of the subspace topology.
  • Hyperspace. 2Y2^Y2Y is Closeds Y, and 2Y−{∅}2^Y-\{\emptyset\}2Y−{∅} for compact YYY is NonemptyCompacts Y, each with the Hausdorff extended metric and the Borel σ-algebra of its topology. This topology agrees with the book's (the exponential topology of Appendix C, independent of the metric).
  • Boundedness. "Bounded below/above" is by a real constant. BddBelow in EReal would be vacuous and is not used.
  • Edge cases. Proposition 7.32(a)'s attainment clause is stated for nonempty YYY, since for Y=∅Y=\emptysetY=∅ the infimum is +∞+\infty+∞ and nothing attains it.
  • Argmin minimum. Lemma 7.20 assumes nonempty YYY because its defining formula uses a minimum; for empty YYY there is no minimizer.
  • Ruling out trivial readings. The graph condition (x,φ(x))∈D(x,\varphi(x))\in D(x,φ(x))∈D is part of every selection statement; without it the goal would follow from the unconstrained case. The selector must be Borel-measurable on projX(D)\mathrm{proj}_X(D)projX​(D) and must attain the minimum exactly, not up to ε\varepsilonε.

A complete development needs the Borel structure of the hyperspace (measurability of maps into Closeds Y from upper semicontinuity in the sense of Kuratowski, Proposition C.4 of the book), the construction of a measurable choice function on NonemptyCompacts Y, and approximation of semicontinuous functions by monotone sequences in C(X)C(X)C(X). Each of these is reusable on its own; proofs of individual milestones by any route 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, Section 7.5 and Appendix C. https://web.mit.edu/dimitrib/www/soc.html
  • L. E. Dubins and L. J. Savage, How to Gamble If You Must: Inequalities for Stochastic Processes, McGraw-Hill, 1965.
  • K. Kuratowski and C. Ryll-Nardzewski, "A general theorem on selectors," Bull. Acad. Polon. Sci. 13 (1965), 397–403.
  • F. Hausdorff, Set Theory, Chelsea, New York, 1957.
10 thms2 active usersReviewed
🏆Completed
OptimizationTheoretical 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 Theory·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
Markov ChainProbabilityStochastic Systems·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
ProbabilityStochastic SystemsTheoretical Computer Science·Captain: mikedeng1

Approximation Algorithms for Stochastic Inventory Control Models 2: The Triple-Balancing Policy Costs at Most Three Times the Optimum for Stochastic Lot-SizingResearch Paper

Motivation

Periodic-review inventory control with a fixed ordering cost is one of the oldest problems in operations research. A firm reviews its stock at the beginning of each of TTT periods, decides whether to place an order, pays a fixed cost KKK for every order it places, and pays holding costs on leftover stock and penalties on unmet (backlogged) demand. When demand is random and correlated across periods, and the firm's forecast evolves as information arrives, the optimal policy solves a dynamic program over the whole information state. That program is intractable in general, and in practice firms use heuristics with no performance guarantee.

Levi, Pál, Roundy and Shmoys (Math. Oper. Res. 32(2), 2007) gave policies with worst-case guarantees for these models, using a "marginal cost accounting" scheme that charges each unit's holding cost to the period in which it was ordered. For the model with fixed ordering costs, the stochastic lot-sizing problem, they assume that the demand of each period is known at the beginning of that period (make-to-order systems, or settings where the short-term forecast is accurate), while demand further ahead stays random and arbitrarily correlated. Under this assumption they define the triple-balancing policy and prove it costs at most three times the optimum in expectation.

Timeline:

  • Scarf (1960) proved that (s,S)(s,S)(s,S) policies are optimal for independent demands with fixed costs; with correlated demand the optimal policy is a state-dependent (st(ft),St(ft))(s_t(f_t), S_t(f_t))(st​(ft​),St​(ft​)) rule that is hard to compute.
  • Levi, Pál, Roundy and Shmoys (2007) gave the dual-balancing 2-approximation for the model without fixed costs (§4) and the triple-balancing 3-approximation for the stochastic lot-sizing problem (§6, Theorem 6.1), both for arbitrarily correlated demand.

Setting

There are periods t=1,…,Tt=1,\dots,Tt=1,…,T on a probability space (Ω,F,μ)(\Omega,\mathcal F,\mu)(Ω,F,μ) with a filtration (Ft)(\mathcal F_t)(Ft​): Ft\mathcal F_tFt​ is the information available at the beginning of period ttt. The data are a fixed ordering cost K≥0K\ge0K≥0, per-unit holding costs ht≥0h_t\ge0ht​≥0, per-unit backlogging penalties pt≥0p_t\ge0pt​≥0, an initial inventory level x1∈Rx_1\in\mathbb Rx1​∈R, and nonnegative demands DtD_tDt​. The per-unit ordering cost is zero, the lead time is zero and there is no discounting. The defining assumption is that DtD_tDt​ is Ft\mathcal F_tFt​-measurable: the demand of a period is known when the period begins. For every period sss there is a conditional joint distribution IsI_sIs​ of the demands given Fs\mathcal F_sFs​, under which every conditional mean E[Dt∣fs]E[D_t\mid f_s]E[Dt​∣fs​] is finite.

A feasible policy is an order process Q=(Qt)Q=(Q_t)Q=(Qt​) with Qt≥0Q_t\ge0Qt​≥0 and QtQ_tQt​ determined by Ft\mathcal F_tFt​. Its inventory levels are xt=x1+∑j<t(Qj−Dj)x_t=x_1+\sum_{j<t}(Q_j-D_j)xt​=x1​+∑j<t​(Qj​−Dj​) before ordering and yt=xt+Qty_t=x_t+Q_tyt​=xt​+Qt​ after ordering, and its cost is

C(Q)=∑t=1T(K 1(Qt>0)+ht(yt−Dt)++pt(Dt−yt)+).\mathcal C(Q)=\sum_{t=1}^T\Bigl(K\,\mathbb 1(Q_t>0)+h_t(y_t-D_t)^++p_t(D_t-y_t)^+\Bigr).C(Q)=t=1∑T​(K1(Qt​>0)+ht​(yt​−Dt​)++pt​(Dt​−yt​)+).

The triple-balancing policy TB uses two rules. Let s∗s^*s∗ be the last period before sss in which TB ordered (s∗=0s^*=0s∗=0 if none). Rule 1: TB orders in period sss if and only if, without an order in sss, the accumulated backlogging cost over (s∗,s](s^*,s](s∗,s] would exceed KKK. Rule 2: when it orders in s<Ts<Ts<T, it orders

qsB=max⁡{q≥0: E[HsB(q)∣fs]≤K},HsB(q)=∑j=sThj(q−(D[s,j]−xs)+)+,q_s^B=\max\{q\ge0:\ E[H_s^B(q)\mid f_s]\le K\},\qquad H_s^B(q)=\sum_{j=s}^T h_j\bigl(q-(D_{[s,j]}-x_s)^+\bigr)^+,qsB​=max{q≥0: E[HsB​(q)∣fs​]≤K},HsB​(q)=j=s∑T​hj​(q−(D[s,j]​−xs​)+)+,

the largest quantity whose expected marginal holding cost over [s,T][s,T][s,T] is at most KKK. When it orders in period TTT, it orders exactly enough to clear the backorders and meet DTD_TDT​. Let NNN be the number of orders TB places.

Formalization targets

Goal: Theorem 6.1

For every instance, the triple-balancing policy TB and every feasible policy PPP satisfy

E[C(TB)]≤3 E[C(P)].E[\mathcal C(TB)]\le 3\,E[\mathcal C(P)].E[C(TB)]≤3E[C(P)].

The constant 3 is the paper's. The statement leaves the demand law, the information structure and the cost data unrestricted beyond the standing assumptions above.

Milestones

  1. §6.1, Rule 2 observation. In a period where TB orders, Ds≤ysTBD_s\le y_s^{TB}Ds​≤ysTB​: no backorders remain at the end of the period.
  2. Lemma 6.1. K⋅E[N]≤E[C(P)]K\cdot E[N]\le E[\mathcal C(P)]K⋅E[N]≤E[C(P)] for every feasible PPP.
  3. Lemma 6.2. E[C(TB)]≤E[C(P)]+2K⋅E[N]E[\mathcal C(TB)]\le E[\mathcal C(P)]+2K\cdot E[N]E[C(TB)]≤E[C(P)]+2K⋅E[N] for every feasible PPP.

Two non-milestone theorems show that the setting is not empty. A conditional demand law exists whenever demands are integrable, and a triple-balancing policy exists when hT>0h_T>0hT​>0.

Significance

The theorem gives a policy that can be computed online and comes with a worst-case expected-cost guarantee that does not depend on the demand distribution, the horizon or the cost data. In this setting the optimal policy is not computable in general, and the previously used heuristics have no such bound. The two lemmas separate a lower bound on every policy, in terms of TB's own number of orders, from an upper bound on TB's cost. The authors' subsequent work extends the balancing template to capacitated and multi-echelon models (§7 of the paper).

The result is proved in the paper. As far as we know, no machine-checked version exists of this theorem, of the balancing argument, or of a stochastic inventory model with correlated demand and evolving information. A formalization would check the argument, which is terse in places: the printed proof of Lemma 6.2 indexes its final sum loosely and must handle the event N=0N=0N=0. It would also produce reusable infrastructure for policies adapted to a filtration, for regular conditional distributions of future demand, and for cost accounting over random intervals between orders.

Difficulty

The costs of TB and of an arbitrary policy cannot be compared period by period, because the two policies order at different, random times that depend on the evolving information. Any comparison has to be made over intervals whose endpoints are stopping times determined by TB, conditioned on the information at their start. At such a time the other policy may hold more or less stock than TB, and the bound must hold in both cases. Bounding each policy's cost on its own does not work: the guarantee rests on a coupling between when TB orders and what every other policy must pay over the same random stretch of time. The formal side adds a second difficulty. Rule 2 is defined through a conditional expectation viewed as a function of the order quantity, so it needs a regular conditional distribution and a measurable selection of the maximizer.

Formalization scope

  • Periods are natural numbers 1,…,T1,\dots,T1,…,T, demands and orders are real-valued, and data at indices outside 1,…,T1,\dots,T1,…,T are unused.
  • Information is a MeasureTheory.Filtration ℕ. A policy is feasible when it is nonnegative and adapted, and "DtD_tDt​ known at the start of period ttt" means DtD_tDt​ is Ft\mathcal F_tFt​-measurable.
  • The conditional distributions IsI_sIs​ are model data: Markov kernels to demand paths that are Fs\mathcal F_sFs​-measurable regular conditional distributions of the demand path. At every outcome they make DsD_sDs​ deterministic, demands nonnegative and the conditional means E[Dt∣fs]E[D_t\mid f_s]E[Dt​∣fs​] finite.
  • Expected costs, E[N]E[N]E[N] and the conditional expectation in Rule 2 are lower Lebesgue integrals in [0,∞][0,\infty][0,∞]. Lemma 6.2 is stated additively, E[C(TB)]≤E[C(P)]+2K E[N]E[\mathcal C(TB)]\le E[\mathcal C(P)]+2K\,E[N]E[C(TB)]≤E[C(P)]+2KE[N], which is the paper's inequality whenever the expectations are finite.
  • The comparison policy is an arbitrary feasible policy, not an optimal one. The paper's proofs use only feasibility, and this form implies the paper's whenever an optimum exists, without any existence hypothesis.
  • TB is the predicate "feasible and satisfies Rules 1 and 2 at every period and outcome". The rules determine the policy uniquely. Rule 1 uses a strict "exceeds KKK", and the period-TTT order is DT−xTD_T-x_TDT​−xT​.

Several trivializing formalizations are ruled out. Junk conditional expectations cannot make Rule 2 hold for every qqq, because it uses kernel integrals in [0,∞][0,\infty][0,∞]. Infinite expected costs cannot be read as 000. The policy class is not empty, because a separate theorem gives existence under hT>0h_T>0hT​>0 (without some positive holding cost on [s,T][s,T][s,T] the maximum in Rule 2 does not exist).

Contributions welcome: proofs of the existence theorems (measurable selection of qsBq_s^BqsB​, versions of regular conditional distributions), the stopping-time decomposition of the cost over TB's order intervals, and Lemmas 6.1 and 6.2.

Selected references

  • R. Levi, M. Pál, R. O. Roundy, D. B. Shmoys, Approximation Algorithms for Stochastic Inventory Control Models, Mathematics of Operations Research 32(2):284–302, 2007. https://doi.org/10.1287/moor.1060.0205
  • H. Scarf, The Optimality of (S, s) Policies in the Dynamic Inventory Problem, in Mathematical Methods in the Social Sciences, Stanford University Press, 1960.
7 thms2 active usersReviewed
AnalysisConvex OptimizationOptimization·Captain: mikedeng1

The Łojasiewicz Inequality for Nonsmooth Subanalytic Functions with Applications to Subgradient Dynamical Systems II: The Łojasiewicz Inequality for Convex Subanalytic Functions on Bounded SetsResearch Paper

Motivation

The Łojasiewicz inequality states that near a critical point aaa of a real-analytic function fff there are θ∈[0,1)\theta\in[0,1)θ∈[0,1) and CCC with ∣f(x)−f(a)∣θ≤C ∥∇f(x)∥|f(x)-f(a)|^{\theta}\le C\,\|\nabla f(x)\|∣f(x)−f(a)∣θ≤C∥∇f(x)∥. Łojasiewicz used it in the 1960s to prove that every bounded trajectory of the gradient flow x˙=−∇f(x)\dot x=-\nabla f(x)x˙=−∇f(x) has finite length and converges to a single critical point, a conclusion that fails for general C∞C^\inftyC∞ functions. The inequality has since become the standard tool for convergence analysis of descent methods on nonconvex problems.

Optimization problems are, however, rarely smooth: constraints enter through indicator functions, and objectives contain norms, maxima and penalties. Bolte, Daniilidis and Lewis (SIAM J. Optim. 17 (2007) 1205–1223) extended the inequality to nonsmooth subanalytic functions, replacing ∥∇f∥\|\nabla f\|∥∇f∥ by a slope built from the limiting subdifferential. Their Section 3.1 treats functions continuous on a closed domain; Section 3.2, the subject of this mission, treats lower semicontinuous convex functions, which may jump to +∞+\infty+∞ and whose domain need not be closed. The Kurdyka–Łojasiewicz framework built on this paper (Attouch–Bolte–Svaiter 2013; Bolte–Sabach–Teboulle 2014) underlies the convergence theory of proximal and splitting algorithms used throughout operations research.

Setting

Work in Rn\mathbb R^nRn with the Euclidean norm, and let f:Rn→R∪{+∞}f:\mathbb R^n\to\mathbb R\cup\{+\infty\}f:Rn→R∪{+∞} with domain dom⁡f={x:f(x)<+∞}\operatorname{dom} f=\{x: f(x)<+\infty\}domf={x:f(x)<+∞}.

A set A⊆RnA\subseteq\mathbb R^nA⊆Rn is semianalytic if near every point it is a finite union of finite intersections of sets {fij=0, gij>0}\{f_{ij}=0,\ g_{ij}>0\}{fij​=0, gij​>0} with fij,gijf_{ij},g_{ij}fij​,gij​ real-analytic. It is subanalytic if near every point it is the projection of a bounded semianalytic subset of Rn×Rm\mathbb R^n\times\mathbb R^mRn×Rm. A function is subanalytic when its graph {(x,λ):f(x)=λ}\{(x,\lambda): f(x)=\lambda\}{(x,λ):f(x)=λ} is. Semialgebraic functions (norms, polynomials, indicators of polyhedra) are subanalytic.

The Fréchet subdifferential ∂^f(x)\hat\partial f(x)∂^f(x) is the set of x∗x^*x∗ with lim inf⁡y→x, y≠x(f(y)−f(x)−⟨x∗,y−x⟩)/∥y−x∥≥0\liminf_{y\to x,\,y\ne x}\big(f(y)-f(x)-\langle x^*,y-x\rangle\big)/\|y-x\|\ge 0liminfy→x,y=x​(f(y)−f(x)−⟨x∗,y−x⟩)/∥y−x∥≥0, for x∈dom⁡fx\in\operatorname{dom} fx∈domf, and is empty otherwise. The limiting subdifferential ∂f(x)\partial f(x)∂f(x) is the set of limits of xk∗∈∂^f(xk)x_k^*\in\hat\partial f(x_k)xk∗​∈∂^f(xk​) with (xk,f(xk))→(x,f(x))(x_k,f(x_k))\to(x,f(x))(xk​,f(xk​))→(x,f(x)). The nonsmooth slope is mf(x)=inf⁡{∥x∗∥:x∗∈∂f(x)}m_f(x)=\inf\{\|x^*\|:x^*\in\partial f(x)\}mf​(x)=inf{∥x∗∥:x∗∈∂f(x)}, equal to +∞+\infty+∞ when ∂f(x)=∅\partial f(x)=\emptyset∂f(x)=∅, and crit⁡f={x:0∈∂f(x)}\operatorname{crit} f=\{x: 0\in\partial f(x)\}critf={x:0∈∂f(x)} is the set of critical points. For lower semicontinuous convex fff, ∂f\partial f∂f is the subdifferential of convex analysis and crit⁡f\operatorname{crit} fcritf is the set of minimizers. Write min⁡f\min fminf for the minimum value and dS(x)d_S(x)dS​(x) for the distance from xxx to S=crit⁡fS=\operatorname{crit} fS=critf. The epigraphical sum g(x)=inf⁡u{f(u)+12∥x−u∥2}g(x)=\inf_u\{f(u)+\tfrac12\|x-u\|^2\}g(x)=infu​{f(u)+21​∥x−u∥2} is the Moreau envelope of fff.

Ratios follow the paper's conventions 00=10^0=100=1 and ∞/∞=0/0=0\infty/\infty=0/0=0∞/∞=0/0=0.

Formalization targets

Goal: Theorem 3.3

Let fff be lower semicontinuous, convex and subanalytic with crit⁡f≠∅\operatorname{crit} f\ne\emptysetcritf=∅. For every bounded set KKK there is θ∈[0,1)\theta\in[0,1)θ∈[0,1) such that

∣f−min⁡f∣θmfis bounded on K.\frac{|f-\min f|^{\theta}}{m_f}\quad\text{is bounded on }K.mf​∣f−minf∣θ​is bounded on K.

The exponent may depend on KKK; neither θ\thetaθ nor the bound is fixed.

Milestones

  1. Eq. (5): ∂f=∂^f=\partial f=\hat\partial f=∂f=∂^f= the convex subdifferential, for lsc convex fff.
  2. Section 3.2: crit⁡f\operatorname{crit} fcritf is closed, convex and equal to the set of minimizers.
  3. Inequality (16): ∣f(x)−min⁡f∣≤∥x∗∥ dS(x)|f(x)-\min f|\le\|x^*\|\,d_S(x)∣f(x)−minf∣≤∥x∗∥dS​(x) for all x∗∈∂f(x)x^*\in\partial f(x)x∗∈∂f(x).
  4. Remark 3.6: ∣f−min⁡f∣/mf|f-\min f|/m_f∣f−minf∣/mf​ is bounded around every critical point, without subanalyticity.
  5. Proposition 2.9: the epigraphical sum ggg is C1C^1C1 and subanalytic when inf⁡f∈R\inf f\in\mathbb Rinff∈R.
  6. Properties (a)–(c): ggg is finite and C1C^1C1, g≤fg\le fg≤f, crit⁡g=crit⁡f\operatorname{crit} g=\operatorname{crit} fcritg=critf, inf⁡g=inf⁡f\inf g=\inf finfg=inff.
  7. Proposition 2.13(ii): crit⁡f\operatorname{crit} fcritf is subanalytic for subanalytic fff that is relatively bounded on its domain.
  8. Section 2.1: the distance to a subanalytic set is subanalytic.
  9. The Łojasiewicz factorization lemma on compact sets (recalled from Bierstone–Milman).
  10. Inequality (15): dS(x)≤c−1/r∣f(x)−min⁡f∣1/rd_S(x)\le c^{-1/r}|f(x)-\min f|^{1/r}dS​(x)≤c−1/r∣f(x)−minf∣1/r on KKK, with r>1r>1r>1, c>0c>0c>0.
  11. Remark 3.5: the growth condition ∣f−min⁡f∣≥c dS r|f-\min f|\ge c\,d_S^{\,r}∣f−minf∣≥cdSr​ on a compact KKK alone yields a Łojasiewicz inequality at critical points interior to KKK.

Significance

Theorem 3.3 gives, for convex subanalytic functions, a Łojasiewicz inequality that is uniform on bounded sets rather than local at one critical point, and it needs neither continuity of fff on its domain nor a closed domain. Remark 3.4 of the paper exhibits a convex function covered by Theorem 3.3 but not by the continuous-case Theorem 3.1. Through inequality (20) of Section 4, it yields finite length and convergence rates for the subgradient flow x˙∈−∂f(x)\dot x\in-\partial f(x)x˙∈−∂f(x) of such functions. The intermediate inequality (15) is a Hölderian error bound, dS≤C∣f−min⁡f∣1/rd_S\le C|f-\min f|^{1/r}dS​≤C∣f−minf∣1/r, of the kind that drives linear and sublinear rate analyses of first-order methods.

The result is proved in the paper; no machine-checked version of it, or of the nonsmooth Łojasiewicz inequality in any form, is known. Formalizing it would add to the library: subanalytic sets and functions, the limiting subdifferential of convex functions and its agreement with the classical one, the Moreau envelope with its critical points and infimum, and the passage from a growth condition to a Łojasiewicz inequality. Remarks 3.5 and 3.6 isolate parts that need no subanalytic geometry at all.

Difficulty

The convex-analysis steps (inequality (16), properties of the Moreau envelope) are classical. The obstacle is subanalytic geometry. The natural first idea, applying the Łojasiewicz factorization lemma directly to f−min⁡ff-\min ff−minf and dSd_SdS​, fails: fff is neither continuous nor finite, and its domain need not be subanalytic even when fff is convex and subanalytic (Example 2.5 of the paper). The milestones route through the Moreau envelope, which is continuous and finite, but subanalyticity is not preserved by infima over unbounded sets, so the subanalyticity of the envelope (Proposition 2.9) needs a localization argument. The subanalyticity of crit⁡g\operatorname{crit} gcritg and of dSd_SdS​ rests on the stability theory of subanalytic sets (Gabrielov's complement theorem, the projection theorem for globally subanalytic sets), none of which exists in Mathlib.

Formalization scope

The space is EuclideanSpace ℝ (Fin n). Functions take values in EReal; "lower semicontinuous, convex, somewhere finite and never −∞-\infty−∞" is the published definition MoreauProx.Characterization.GammaZero, whose convexity is convexity of the epigraph. The Fréchet and limiting subdifferentials are the published NonconvexSplitting.Shared.IsRegularSubgrad and LimitingSubdiff; the convex subdifferential subgrad appears only in Eq. (5), which proves the agreement and is never assumed. Semianalytic and subanalytic sets are defined from scratch for any finite-dimensional real normed space, so that one definition serves Rn\mathbb R^nRn and its products; global subanalyticity is not defined. min⁡f\min fminf is written inf⁡yf(y)\inf_y f(y)infy​f(y) in EReal and converted to a real number only where it is finite. The bounded ratio (14) is encoded as "∣f(x)−min⁡f∣θ≤C∥x∗∥|f(x)-\min f|^{\theta}\le C\|x^*\|∣f(x)−minf∣θ≤C∥x∗∥ for every x∈Kx\in Kx∈K and every x∗∈∂f(x)x^*\in\partial f(x)x∗∈∂f(x)", with real powers (Real.rpow, 00=10^0=100=1). Inequalities (15) and (17) are imposed only where f(x)<+∞f(x)<+\inftyf(x)<+∞, since Lean sends +∞+\infty+∞ to 000 under toReal.

Trivializing encodings are ruled out: the goal is stated with the limiting subdifferential rather than an assumed convex subdifferential, the slope is never computed in ℝ≥0∞ where 0⋅∞=00\cdot\infty=00⋅∞=0 would make the ratio vacuous, and θ\thetaθ remains existential in [0,1)[0,1)[0,1) with the quantifier order "for every KKK there is θ\thetaθ", so that θ=0\theta=0θ=0 is excluded at critical points in KKK by 00=10^0=100=1.

A complete development needs a working theory of subanalytic sets (stability under finite unions, complements, closure, projections of bounded sets, the factorization lemma), the Moreau envelope of a convex function on Rn\mathbb R^nRn and its C1C^1C1 property, and the convex-analytic description of the limiting subdifferential. The subanalytic-geometry layer and the Moreau-envelope facts are reusable well beyond this mission; contributions to either, or proofs of the convex-only milestones (Eq. (5), (16), Remarks 3.5–3.6), are welcome independently.

Selected references

  • J. Bolte, A. Daniilidis, A. Lewis, The Łojasiewicz inequality for nonsmooth subanalytic functions with applications to subgradient dynamical systems, SIAM J. Optim. 17(4) (2007) 1205–1223. https://doi.org/10.1137/050644641
  • E. Bierstone, P. D. Milman, Semianalytic and subanalytic sets, Publ. Math. IHÉS 67 (1988) 5–42. https://doi.org/10.1007/BF02699126
  • R. T. Rockafellar, R. J.-B. Wets, Variational Analysis, Springer, 1998. https://doi.org/10.1007/978-3-642-02431-3
  • S. Łojasiewicz, Une propriété topologique des sous-ensembles analytiques réels, Les Équations aux Dérivées Partielles, Éditions du CNRS, Paris, 1963, 87–89.
  • H. Attouch, J. Bolte, B. F. Svaiter, Convergence of descent methods for semi-algebraic and tame problems, Math. Program. 137 (2013) 91–129. https://doi.org/10.1007/s10107-011-0484-9
  • J. Bolte, S. Sabach, M. Teboulle, Proximal alternating linearized minimization for nonconvex and nonsmooth problems, Math. Program. 146 (2014) 459–494. https://doi.org/10.1007/s10107-013-0701-9
18 thms2 active usersReviewed
ProbabilityStatistics·Captain: mikedeng1

Conditional Logit Analysis of Qualitative Choice Behavior 5: The Maximum Likelihood Estimator Exists with Probability Tending to One and Is Consistent and Asymptotically NormalResearch Paper

Motivation

The conditional logit model is the workhorse of discrete choice analysis in econometrics, transportation planning, marketing and revenue management. An individual facing a finite set of alternatives picks alternative iii with probability proportional to eziθe^{z_i\theta}ezi​θ, where ziz_izi​ is a vector of observed attributes and θ\thetaθ an unknown parameter vector. Daniel McFadden's 1974 chapter, Conditional Logit Analysis of Qualitative Choice Behavior, derived this model from a theory of random utility maximization and set out how to estimate θ\thetaθ by maximum likelihood. McFadden received the 2000 Nobel Memorial Prize in Economic Sciences for his development of theory and methods for analyzing discrete choice.

Every confidence interval and hypothesis test computed from a fitted logit model rests on the large-sample theory in §III of that chapter: the maximum likelihood estimator exists with probability tending to one, converges to the true parameter, and is approximately normal with covariance given by the inverse information matrix. This mission formalizes that theory, Lemmas 5 and 6 of the paper, as proved in its Appendix.

Setting

Observations are indexed serially, m=0,1,2,…m = 0, 1, 2, \dotsm=0,1,2,…, as in the paper's Appendix ("Let m be a serial index of trials and repetitions"). Observation mmm offers Jm≥1J_m \ge 1Jm​≥1 alternatives, and alternative iii carries a vector zim∈RKz_{im} \in \mathbb R^Kzim​∈RK of independent variables. For a parameter θ∈RK\theta \in \mathbb R^Kθ∈RK the selection probabilities are

Pim(θ)=ezimθ∑j=1Jmezjmθ,zˉm(θ)=∑iPim(θ) zim.P_{im}(\theta) = \frac{e^{z_{im}\theta}}{\sum_{j=1}^{J_m} e^{z_{jm}\theta}}, \qquad \bar z_m(\theta) = \sum_{i} P_{im}(\theta)\, z_{im}.Pim​(θ)=∑j=1Jm​​ezjm​θezim​θ​,zˉm​(θ)=i∑​Pim​(θ)zim​.

The data are generated at a true parameter θ0\theta^0θ0: the chosen alternatives Y0,Y1,…Y_0, Y_1, \dotsY0​,Y1​,… are independent random variables with Pr⁡(Ym=i)=Pim(θ0)\Pr(Y_m = i) = P_{im}(\theta^0)Pr(Ym​=i)=Pim​(θ0). The log-likelihood of the first qqq observations is Lq(θ)=∑m<qlog⁡PYmm(θ)L^q(\theta) = \sum_{m<q}\log P_{Y_m m}(\theta)Lq(θ)=∑m<q​logPYm​m​(θ). The moment matrix of observation mmm is

Ωm=∑iPim(θ0) (zim−zˉm)(zim−zˉm)′,zˉm=zˉm(θ0).\Omega_m = \sum_{i} P_{im}(\theta^0)\,(z_{im}-\bar z_m)(z_{im}-\bar z_m)', \qquad \bar z_m = \bar z_m(\theta^0).Ωm​=i∑​Pim​(θ0)(zim​−zˉm​)(zim​−zˉm​)′,zˉm​=zˉm​(θ0).

Axiom 7 asks that Jm≤J∗J_m \le J_*Jm​≤J∗​ and ∣zim∣≤M|z_{im}| \le M∣zim​∣≤M uniformly, and that 1q∑m<qΩm\frac1q\sum_{m<q}\Omega_mq1​∑m<q​Ωm​ converge to a positive definite matrix Ω\OmegaΩ. Axiom 6, for a given sample, asks that no nonzero γ\gammaγ satisfy (zjm−zYmm)γ≤0(z_{jm} - z_{Y_m m})\gamma \le 0(zjm​−zYm​m​)γ≤0 for all observed mmm and all jjj. A maximum likelihood estimator θ^q\hat\theta^qθ^q is a measurable choice of a maximizer of LqL^qLq, wherever one exists.

Formalization targets

Goal: Lemma 6

θ^q→Pr⁡θ0andq Ω1/2(θ^q−θ0)→dN(0,IK)(q→∞).\hat\theta^q \xrightarrow{\Pr} \theta^0 \quad\text{and}\quad \sqrt q\,\Omega^{1/2}(\hat\theta^q - \theta^0) \xrightarrow{d} N(0, I_K) \qquad (q \to \infty).θ^qPr​θ0andq​Ω1/2(θ^q−θ0)d​N(0,IK​)(q→∞).

Milestones

  1. Axiom 7 implies Axiom 5 (the full-rank condition) in all sufficiently large samples.
  2. Equation (42): Pim(θ)≥1/(J∗e2M∣θ∣)P_{im}(\theta) \ge 1/(J_* e^{2M|\theta|})Pim​(θ)≥1/(J∗​e2M∣θ∣).
  3. Lemma 5: Pr⁡(Axiom 6 holds and Lq attains its maximum)→1\Pr(\text{Axiom 6 holds and } L^q \text{ attains its maximum}) \to 1Pr(Axiom 6 holds and Lq attains its maximum)→1.
  4. Equation (43): the first three derivatives of log⁡Pim\log P_{im}logPim​ are bounded by 2M2M2M, 4M24M^24M2, 8M38M^38M3.
  5. Equation (46): each score ∇log⁡PYmm(θ0)\nabla\log P_{Y_m m}(\theta^0)∇logPYm​m​(θ0) has mean zero.
  6. Equation (47): each expected Hessian equals −Ωm-\Omega_m−Ωm​.
  7. Consistency of θ^q\hat\theta^qθ^q.
  8. Equation (58): q−1/2 Ω−1/2∑m<q∇log⁡PYmm(θ0)→dN(0,IK)q^{-1/2}\,\Omega^{-1/2}\sum_{m<q}\nabla\log P_{Y_m m}(\theta^0) \xrightarrow{d} N(0, I_K)q−1/2Ω−1/2∑m<q​∇logPYm​m​(θ0)d​N(0,IK​).

Significance

The result. Lemma 6 is what licenses reading θ^q\hat\theta^qθ^q as approximately N(θ0,q−1Ω−1)N(\theta^0, q^{-1}\Omega^{-1})N(θ0,q−1Ω−1), so that the diagonal of the inverse information matrix estimates the sampling variances and q(θ^q−θ0)′Ω(θ^q−θ0)q(\hat\theta^q-\theta^0)'\Omega(\hat\theta^q-\theta^0)q(θ^q−θ0)′Ω(θ^q−θ0) is asymptotically χK2\chi^2_KχK2​. Lemma 5 complements it: in finite samples the likelihood can fail to have a maximum (the observations are then "explained" by a direction γ\gammaγ of Axiom 6), and the lemma shows this failure is asymptotically negligible. The data are not identically distributed (each observation has its own alternatives), so the result is not an instance of the textbook i.i.d. maximum likelihood theorem.

Formalizing it. The results are proved in the paper, in outline. A machine-checked version adds: a complete proof of the existence part (Lemma 5), whose published argument is a sketch by induction over an infinite index set; a precise treatment of the estimator where no maximizer exists; the correction of two misprints in the published proof (the normalization 1/q1/q1/q in (58), which must be 1/q1/\sqrt q1/q​, and a constant in (51)); and a multivariate Lindeberg–Feller central limit theorem for bounded, independent, non-identically distributed vectors, which the proof invokes and which is reusable well beyond this paper. No machine-checked proof of these results is known.

Difficulty

The obvious route, "the log-likelihood is concave, so its maximizer converges", needs a maximizer to exist, and in a finite sample it may not; the estimator is defined only on an event whose probability must first be shown to tend to one. Consistency then needs a uniform law of large numbers for the gradient on a sphere around θ0\theta^0θ0, controlled by the third-derivative bound (43). Asymptotic normality needs a central limit theorem for independent but not identically distributed score vectors, with covariances Ωm\Omega_mΩm​ that converge only on average; the i.i.d. central limit theorem does not apply. Finally the random Hessian at an intermediate point must be shown to converge in probability, which ties the consistency result into the normality argument.

Formalization scope

  • Vectors live in EuclideanSpace ℝ (Fin K); zθz\thetazθ is the inner product, and all norms are Euclidean (footnote 11's sum-of-absolute-values norm is equivalent and gives the same qualitative axiom); derivative bounds use operator norms.
  • The paper's NNN trials with RnR_nRn​ repetitions are the special case of the serial indexing in which consecutive observations repeat their data; the sample size ∑nRn\sum_n R_n∑n​Rn​ is qqq.
  • Axiom 7's limit (27) is taken in its serial form (48), with PPP evaluated at θ0\theta^0θ0.
  • The estimator is any measurable selection that maximizes LqL^qLq whenever LqL^qLq has a maximum, and is unconstrained otherwise. Requiring a maximizer for every sample would be unsatisfiable, since Axiom 6 fails with positive probability, and would make the goal vacuous; this convention rules that out.
  • Consistency is TendstoInMeasure. Asymptotic normality is TendstoInDistribution to a random vector whose law is stdGaussian. Ω1/2\Omega^{1/2}Ω1/2 is the positive semidefinite square root CFC.sqrt.
  • Needed infrastructure: derivatives of log-sum-exp, a law of large numbers for bounded independent vectors, and a multivariate Lindeberg–Feller theorem. Mathlib provides the one-dimensional i.i.d. central limit theorem only. Contributions of these general results as separate theorems are welcome.

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.
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. II, Wiley, 1966 (Lindeberg–Feller theorem, pp. 256–258).
  • C. R. Rao, Linear Statistical Inference and Its Applications, Wiley (cited by McFadden as Rao (1968), pp. 347–351, for the asymptotic χ2\chi^2χ2 test).
10 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryProbabilityTheoretical Computer Science·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
Dynamic ProgrammingMarkov Chain·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
9 thms2 active usersReviewed
🏆Completed
CombinatoricsTheoretical 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
CombinatoricsTheoretical 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
CombinatoricsTheoretical 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
Probability·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
CombinatoricsOptimizationTheoretical Computer Science·Captain: mikedeng1

A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization 1: Deterministic Double Greedy Achieves 1/3 of the OptimumResearch Paper

Motivation

A set function f:2N→Rf : 2^{\mathcal N} \to \mathbb Rf:2N→R on a finite ground set N\mathcal NN is submodular if it has diminishing returns, equivalently if f(A)+f(B)≥f(A∪B)+f(A∩B)f(A) + f(B) \ge f(A \cup B) + f(A \cap B)f(A)+f(B)≥f(A∪B)+f(A∩B) for all A,B⊆NA, B \subseteq \mathcal NA,B⊆N. Cut functions of graphs and hypergraphs, coverage functions, entropy, and many facility-location and welfare objectives are submodular. Unconstrained Submodular Maximization (USM) asks, given a nonnegative submodular fff through a value oracle, for a set S⊆NS \subseteq \mathcal NS⊆N of maximum value. It contains Max-Cut, Max-DiCut and Max Facility Location as special cases, and it is a subroutine in algorithms for constrained submodular maximization.

Timeline:

  • Feige, Mirrokni and Vondrák (FOCS 2007; SIAM J. Comput. 2011) gave a uniformly random set achieving 1/41/41/4 of the optimum, a deterministic local search achieving 1/3−ε/n1/3 - \varepsilon/n1/3−ε/n, a randomized local search achieving 2/52/52/5, and proved that no algorithm making polynomially many value queries achieves 1/2+ε1/2 + \varepsilon1/2+ε.
  • Oveis Gharan and Vondrák (SODA 2011) improved the ratio to about 0.410.410.41 by simulated annealing; Feldman, Naor and Schwartz (ICALP 2011) to about 0.420.420.42.
  • Buchbinder, Feldman, Naor and Schwartz (FOCS 2012; SIAM J. Comput. 2015) gave the double greedy algorithms: a deterministic linear-time 1/31/31/3-approximation (this mission) and a randomized linear-time 1/21/21/2-approximation, matching the query lower bound.

Setting

Let N\mathcal NN be a finite ground set and f:2N→R≥0f : 2^{\mathcal N} \to \mathbb R_{\ge 0}f:2N→R≥0​ a nonnegative submodular function. Write f(OPT)=max⁡S⊆Nf(S)f(OPT) = \max_{S \subseteq \mathcal N} f(S)f(OPT)=maxS⊆N​f(S), and let OPTOPTOPT denote a set attaining it.

Algorithm 1 (DeterministicUSM) fixes an arbitrary order u1,…,unu_1, \dots, u_nu1​,…,un​ of N\mathcal NN and maintains two solutions, starting from X0=∅X_0 = \emptysetX0​=∅ and Y0=NY_0 = \mathcal NY0​=N. In iteration i=1,…,ni = 1, \dots, ni=1,…,n it computes

ai=f(Xi−1∪{ui})−f(Xi−1),bi=f(Yi−1∖{ui})−f(Yi−1).a_i = f(X_{i-1} \cup \{u_i\}) - f(X_{i-1}), \qquad b_i = f(Y_{i-1} \setminus \{u_i\}) - f(Y_{i-1}).ai​=f(Xi−1​∪{ui​})−f(Xi−1​),bi​=f(Yi−1​∖{ui​})−f(Yi−1​).

If ai≥bia_i \ge b_iai​≥bi​ it sets Xi=Xi−1∪{ui}X_i = X_{i-1} \cup \{u_i\}Xi​=Xi−1​∪{ui​}, Yi=Yi−1Y_i = Y_{i-1}Yi​=Yi−1​; otherwise Xi=Xi−1X_i = X_{i-1}Xi​=Xi−1​, Yi=Yi−1∖{ui}Y_i = Y_{i-1} \setminus \{u_i\}Yi​=Yi−1​∖{ui​}. A tie adds uiu_iui​. After nnn iterations Xn=YnX_n = Y_nXn​=Yn​, which is the output.

The analysis uses the hybrid sets OPTi=(OPT∪Xi)∩YiOPT_i = (OPT \cup X_i) \cap Y_iOPTi​=(OPT∪Xi​)∩Yi​, which agree with XiX_iXi​ and YiY_iYi​ on u1,…,uiu_1, \dots, u_iu1​,…,ui​ and with OPTOPTOPT on ui+1,…,unu_{i+1}, \dots, u_nui+1​,…,un​. In Lean, the run is state f l i, the state (Xi,Yi)(X_i, Y_i)(Xi​,Yi​) after the first iii entries of the order l, and OPTiOPT_iOPTi​ is optI O (state f l i).

Formalization targets

Goal: Theorem I.1

For every nonnegative submodular fff and every order of N\mathcal NN,

Xn=Ynandf(OPT)≤3 f(Xn).X_n = Y_n \qquad\text{and}\qquad f(OPT) \le 3\, f(X_n).Xn​=Yn​andf(OPT)≤3f(Xn​).

Milestones

  1. Lemma II.1. For every 1≤i≤n1 \le i \le n1≤i≤n, ai+bi≥0a_i + b_i \ge 0ai​+bi​≥0.
  2. The hybrid sequence. OPTiOPT_iOPTi​ agrees with Xi,YiX_i, Y_iXi​,Yi​ on u1,…,uiu_1, \dots, u_iu1​,…,ui​ and with OPTOPTOPT on the rest; OPT0=OPTOPT_0 = OPTOPT0​=OPT and OPTn=Xn=YnOPT_n = X_n = Y_nOPTn​=Xn​=Yn​.
  3. Lemma II.2. For every 1≤i≤n1 \le i \le n1≤i≤n,
f(OPTi−1)−f(OPTi)≤[f(Xi)−f(Xi−1)]+[f(Yi)−f(Yi−1)].f(OPT_{i-1}) - f(OPT_i) \le [f(X_i) - f(X_{i-1})] + [f(Y_i) - f(Y_{i-1})].f(OPTi−1​)−f(OPTi​)≤[f(Xi​)−f(Xi−1​)]+[f(Yi​)−f(Yi−1​)].
  1. The telescoped display. f(OPT0)−f(OPTn)≤[f(Xn)−f(X0)]+[f(Yn)−f(Y0)]≤f(Xn)+f(Yn)f(OPT_0) - f(OPT_n) \le [f(X_n) - f(X_0)] + [f(Y_n) - f(Y_0)] \le f(X_n) + f(Y_n)f(OPT0​)−f(OPTn​)≤[f(Xn​)−f(X0​)]+[f(Yn​)−f(Y0​)]≤f(Xn​)+f(Yn​).
  2. Theorem II.3 (tightness). For every ε>0\varepsilon > 0ε>0 there is a nonnegative submodular fff with f(OPT)>0f(OPT) > 0f(OPT)>0 and an order on which f(Xn)≤(1/3+ε) f(OPT)f(X_n) \le (1/3 + \varepsilon)\, f(OPT)f(Xn​)≤(1/3+ε)f(OPT).

Significance

The result. Algorithm 1 is the deterministic member of the double greedy family. It makes one pass over the ground set with four value queries per element, and it guarantees 1/31/31/3 of the optimum for every order, without the polynomial-but-large running time and the ε/n\varepsilon/nε/n loss of local search. Its analysis, which charges the decrease of f(OPTi)f(OPT_i)f(OPTi​) to the increases of f(Xi)f(X_i)f(Xi​) and f(Yi)f(Y_i)f(Yi​), is the template the paper then refines into the randomized 1/21/21/2-approximation (Theorem I.2) and its continuous counterpart on the multilinear extension. Theorem II.3 shows that 1/31/31/3 is the exact ratio of this algorithm, so the improvement to 1/21/21/2 requires randomization (or a different deterministic rule) rather than a sharper analysis.

Formalizing it. The theorem is proved in the paper; to our knowledge it has no machine-checked proof. The mission produces a formal statement of the algorithm as printed, a checked proof of its guarantee for every order, and a checked tight instance. The definitions of the run and of OPTiOPT_iOPTi​ are the same objects the randomized and fractional analyses reason about, so a complete development here is the first step toward the paper's main theorem.

Difficulty

The individual inequalities are short; the difficulty lies in the bookkeeping. Each step needs the invariants Xi−1⊆Yi−1X_{i-1} \subseteq Y_{i-1}Xi−1​⊆Yi−1​ and ui∈Yi−1∖Xi−1u_i \in Y_{i-1} \setminus X_{i-1}ui​∈Yi−1​∖Xi−1​, which follow from the order being an enumeration (no repetitions, every element present), and the identification of OPTiOPT_iOPTi​ from OPTi−1OPT_{i-1}OPTi−1​ in each branch of the algorithm. Summing Lemma II.2 needs a telescoping over the run defined as a fold. The naive idea of comparing f(Xn)f(X_n)f(Xn​) with f(OPT)f(OPT)f(OPT) directly, without the hybrid sets, gives no bound: the greedy choices are made against XXX and YYY, not against OPTOPTOPT. For Theorem II.3 the difficulty is producing an explicit instance, checking that it is submodular and nonnegative, and tracing the run, including the ties, which the algorithm resolves by adding.

Formalization scope

  • The ground set is a finite type X with decidable equality; subsets are Finset X; fff is real valued, Finset X → ℝ, and nonnegativity is the hypothesis ∀ S, 0 ≤ f S where the page uses it (the goal, the telescoped display and the tight example). Lemma II.1, Lemma II.2 and the hybrid-sequence milestone do not assume it.
  • Submodularity is the lattice form f(A)+f(B)≥f(A∪B)+f(A∩B)f(A) + f(B) \ge f(A \cup B) + f(A \cap B)f(A)+f(B)≥f(A∪B)+f(A∩B) of the paper's footnote 1, through the published definition NonmonotoneSubmod.Shared.Submodular. The paper's main-text sentence ("for every A⊆B⊆NA \subseteq B \subseteq \mathcal NA⊆B⊆N and u∈Nu \in \mathcal Nu∈N") would force monotonicity when u∈B∖Au \in B \setminus Au∈B∖A and is read as the footnote. f(OPT)f(OPT)f(OPT) is the published NonmonotoneSubmod.Shared.OPT f, the maximum of fff over all subsets.
  • The order u1,…,unu_1, \dots, u_nu1​,…,un​ is a list l with l.Nodup and ∀ x, x ∈ l; uiu_iui​ is l[i - 1]. Every statement quantifies over all such lists. No nonemptiness of N\mathcal NN is assumed: for an empty ground set the goal reads f(∅)≤3f(∅)f(\emptyset) \le 3 f(\emptyset)f(∅)≤3f(∅).
  • The tie rule is line 5's ai≥bia_i \ge b_iai​≥bi​: ties add uiu_iui​.
  • Where a milestone mentions an optimal solution, it takes a set O with ∀ S, f S ≤ f O.
  • The goal is stated multiplied out, f(OPT)≤3f(Xn)f(OPT) \le 3 f(X_n)f(OPT)≤3f(Xn​), because f(OPT)f(OPT)f(OPT) may be 000.
  • Trivializing formalizations ruled out. The paper's Theorem I.1 reads "there exists a deterministic linear time (1/3)(1/3)(1/3)-approximation algorithm"; without the running time that existential is satisfied by exhaustive search, so the goal is the guarantee of the printed Algorithm 1 for every order. Running time is not formalized: the algorithm evaluates fff on four sets per element, nnn elements in all. Theorem II.3 requires f(OPT)>0f(OPT) > 0f(OPT)>0, without which f≡0f \equiv 0f≡0 would satisfy it.
  • Needed infrastructure: elementary lemmas on List.foldl over List.take, on membership in the states of the run, and on telescoping sums over 1≤i≤n1 \le i \le n1≤i≤n. A reusable lemma "the run keeps Xi⊆YiX_i \subseteq Y_iXi​⊆Yi​ and decides exactly u1,…,uiu_1, \dots, u_iu1​,…,ui​" would serve all three missions of this paper. Contributions of proofs of any milestone, of the goal from the milestones, and of the tight instance (e.g. the paper's five-vertex directed cut function) are welcome.

Selected references

  • N. Buchbinder, M. Feldman, J. Naor, R. Schwartz, A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization, FOCS 2012. https://doi.org/10.1109/FOCS.2012.73 (journal version: SIAM J. Comput. 44(5), 2015, https://doi.org/10.1137/130929205)
  • U. Feige, V. S. Mirrokni, J. Vondrák, Maximizing Non-monotone Submodular Functions, SIAM J. Comput. 40(4), 2011. https://doi.org/10.1137/090779346
  • S. Oveis Gharan, J. Vondrák, Submodular Maximization by Simulated Annealing, SODA 2011. https://doi.org/10.1137/1.9781611973082.83
  • M. Feldman, J. Naor, R. Schwartz, Nonmonotone Submodular Maximization via a Structural Continuous Greedy Algorithm, ICALP 2011. https://doi.org/10.1007/978-3-642-22006-7_29
9 thms2 active usersReviewed
Dynamical SystemsProbabilityStochastic Systems·Captain: mikedeng1

Dynamics of Stochastic Approximation Algorithms 6: An Attractor Whose Basin Meets the Attainable Set Contains the Limit Set with Positive ProbabilityResearch Paper

Motivation

A stochastic approximation algorithm is a recursion xn+1=xn+γn+1(F(xn)+Un+1)x_{n+1}=x_n+\gamma_{n+1}\big(F(x_n)+U_{n+1}\big)xn+1​=xn​+γn+1​(F(xn​)+Un+1​) with decreasing step sizes γn\gamma_nγn​ and a noise term Un+1U_{n+1}Un+1​. Recursions of this form appear in stochastic gradient methods, adaptive control, learning in games (fictitious play, reinforcement learning) and urn models. The ODE method compares the iterates with the solutions of x˙=F(x)\dot x=F(x)x˙=F(x). In Benaïm's lecture notes (Benaïm 1999), the comparison is phrased through the continuous-time interpolated process XXX. Under standard noise conditions, XXX is almost surely an asymptotic pseudotrajectory of the flow of FFF, and its limit set is almost surely internally chain transitive.

That theorem constrains where the process may end up. It does not say which of several candidate sets the process actually reaches. When the ODE has several attractors, for example several stable equilibria of a learning dynamic or several stable compositions of an urn, an application needs to know that each attractor is reached with positive probability. Section 7 of the notes answers this question. The answer is a criterion of attainability: if the process can, with positive probability and at arbitrarily late times, enter the basin of an attractor, then it converges to that attractor with positive probability.

Timeline.

  • Kushner and Clark (1978) proved convergence statements for processes that visit a compact subset of the domain of attraction of an asymptotically stable equilibrium infinitely often.
  • Arthur, Ermoliev and Kaniovski (1983) and Pemantle (1990) studied urn processes whose limit points depend on the trajectory.
  • Benaïm (1997) and Duflo (1997, Random Iterative Models) developed the attainability argument for general stochastic approximation processes.
  • Benaïm (1999) states it for arbitrary attractors of a semiflow on a locally compact metric space, under a single conditional shadowing condition (24).

Setting

Let (M,d)(M,d)(M,d) be a metric space and let Φ=(Φt)t≥0\Phi=(\Phi_t)_{t\ge0}Φ=(Φt​)t≥0​ be a semiflow on MMM: a continuous map (t,x)↦Φt(x)(t,x)\mapsto\Phi_t(x)(t,x)↦Φt​(x) with Φ0=Id\Phi_0=\mathrm{Id}Φ0​=Id and Φt+s=Φt∘Φs\Phi_{t+s}=\Phi_t\circ\Phi_sΦt+s​=Φt​∘Φs​.

  • A set AAA is invariant if Φt(A)=A\Phi_t(A)=AΦt​(A)=A for all t≥0t\ge0t≥0, and positively invariant if Φt(A)⊂A\Phi_t(A)\subset AΦt​(A)⊂A.
  • An attractor is a nonempty compact invariant set AAA with a neighbourhood WWW on which dist⁡(Φtx,A)→0\operatorname{dist}(\Phi_tx,A)\to0dist(Φt​x,A)→0 uniformly. Its basin B(A)B(A)B(A) is the set of points xxx with dist⁡(Φtx,A)→0\operatorname{dist}(\Phi_tx,A)\to0dist(Φt​x,A)→0.
  • A continuous curve X:R+→MX:\mathbb R_+\to MX:R+​→M is an asymptotic pseudotrajectory if sup⁡0≤h≤Td(X(t+h),Φh(X(t)))→0\sup_{0\le h\le T}d(X(t+h),\Phi_h(X(t)))\to0sup0≤h≤T​d(X(t+h),Φh​(X(t)))→0 as t→∞t\to\inftyt→∞, for every T>0T>0T>0.
  • The limit set of XXX is L(X)=⋂t≥0X([t,∞))‾L(X)=\bigcap_{t\ge0}\overline{X([t,\infty))}L(X)=⋂t≥0​X([t,∞))​.
  • For T>0T>0T>0, dX(T)=sup⁡k∈Nd(ΦT(X(kT)),X(kT+T))d_X(T)=\sup_{k\in\mathbb N}d(\Phi_T(X(kT)),X(kT+T))dX​(T)=supk∈N​d(ΦT​(X(kT)),X(kT+T)).

Now let X=(X(t))t≥0X=(X(t))_{t\ge0}X=(X(t))t≥0​ be a process on a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) with continuous paths in MMM, adapted to a filtration (Ft)t≥0(\mathcal F_t)_{t\ge0}(Ft​)t≥0​. The standing assumption of Section 7 is that for all δ>0\delta>0δ>0, T>0T>0T>0 and t≥0t\ge0t≥0,

P(sup⁡s≥t sup⁡0≤h≤Td(X(s+h),Φh(X(s)))≥δ ∣ Ft)≤w(t,δ,T)(24)P\Big(\sup_{s\ge t}\ \sup_{0\le h\le T}d\big(X(s+h),\Phi_h(X(s))\big)\ge\delta\ \Big|\ \mathcal F_t\Big)\le w(t,\delta,T)\tag{24}P(s≥tsup​ 0≤h≤Tsup​d(X(s+h),Φh​(X(s)))≥δ ​ Ft​)≤w(t,δ,T)(24)

for a function w≥0w\ge0w≥0 with w(t,δ,T)↓0w(t,\delta,T)\downarrow0w(t,δ,T)↓0 as t→∞t\to\inftyt→∞.

A point ppp is attainable if P(∃s≥t:X(s)∈U)>0P(\exists s\ge t: X(s)\in U)>0P(∃s≥t:X(s)∈U)>0 for every t>0t>0t>0 and every open neighbourhood UUU of ppp. Att(X)\mathrm{Att}(X)Att(X) is the set of attainable points.

Formalization targets

Goal: Theorem 7.3, first statement

If MMM is locally compact, AAA is an attractor of Φ\PhiΦ, and Att(X)∩B(A)≠∅\mathrm{Att}(X)\cap B(A)\neq\emptysetAtt(X)∩B(A)=∅, then

P(L(X)⊂A)>0.P\big(L(X)\subset A\big)>0 .P(L(X)⊂A)>0.

This statement contains no constants and no rates, so it does not depend on how (24) is quantified for a particular algorithm.

Theorem 7.3, second statement

If UUU is open and relatively compact with U‾⊂B(A)\overline U\subset B(A)U⊂B(A), there are T,δ>0T,\delta>0T,δ>0, depending only on UUU (and on Φ\PhiΦ, AAA), such that for every process satisfying the standing assumption and every t≥0t\ge0t≥0

P(L(X)⊂A)≥(1−w(t,δ,T)) P(∃s≥t: X(s)∈U).P\big(L(X)\subset A\big)\ge\big(1-w(t,\delta,T)\big)\,P\big(\exists s\ge t:\ X(s)\in U\big).P(L(X)⊂A)≥(1−w(t,δ,T))P(∃s≥t: X(s)∈U).

Milestones

  • Lemma 6.8. For a nonempty compact K⊂B(A)K\subset B(A)K⊂B(A) there are T,δ>0T,\delta>0T,δ>0 such that every asymptotic pseudotrajectory with X(0)∈KX(0)\in KX(0)∈K and dX(T)<δd_X(T)<\deltadX​(T)<δ has L(X)⊂AL(X)\subset AL(X)⊂A.
  • Lemma 7.1, in three parts:
    • Att(X)\mathrm{Att}(X)Att(X) is closed;
    • it is positively invariant;
    • it contains L(X)L(X)L(X) almost surely.

Significance

The result. Theorem 7.3 turns a question about the long-run limit of a random process into a question about where the process can go. Attainability is usually checked by a controllability argument: the noise can push the iterates in every direction. For urn processes with an urn function mapping the simplex into its interior, every point is attainable (Example 7.2 of the notes). Then every attractor of the mean ODE is reached with positive probability. Combined with nonconvergence results for unstable sets (Section 9 of the notes), this characterizes the possible limits of many learning and urn processes. Theorem 7.3 is the positive half of that picture.

Formalizing it. The theorem has a published proof (p. 32 of the notes) and no machine-checked version. A formal proof needs the following:

  • a precise reading of the conditional shadowing condition (24) as a conditional expectation of an indicator;
  • the stopping-time decomposition of the event {∃s≥t:X(s)∈U}\{\exists s\ge t: X(s)\in U\}{∃s≥t:X(s)∈U} over dyadic times;
  • the deterministic Lemma 6.8, which rests on the limit set theorem for precompact asymptotic pseudotrajectories (Theorem 5.7 of the notes, the subject of mission 1 of this series).

Difficulty

The obvious argument says: once XXX enters a compact part of the basin, the flow carries it into AAA. That fails because XXX is not a trajectory of the flow. Each window of length TTT adds an error, and errors over infinitely many windows can push the process out of the basin.

Two things are needed instead:

  • A uniform version of the deterministic statement, with TTT and δ\deltaδ fixed in advance from the compact set alone. This is Lemma 6.8, which needs local compactness of MMM and the structure of limit sets of asymptotic pseudotrajectories.
  • A probabilistic step that applies (24) at the random time when XXX first enters UUU. That time is not a stopping time on a continuum, and conditioning at it needs care.

A naive union bound over all times is useless: it does not use the conditional form of (24).

Formalization scope

  • The semiflow is Mathlib's Flow ℝ≥0 M on a metric space; local compactness is LocallyCompactSpace M.
  • The process is X : ℝ≥0 → Ω → M with continuous paths. The paper's alternative of càdlàg paths is not covered.
  • Adaptedness is Borel measurability of X(t)X(t)X(t) with respect to Ft\mathcal F_tFt​, for a Mathlib Filtration ℝ≥0. PPP is a probability measure.
  • The suprema in (24) and in dX(T)d_X(T)dX​(T) are computed in [0,∞][0,\infty][0,∞] with the extended distance, so that "sup ≥δ\ge\delta≥δ" and "sup <δ<\delta<δ" are exact even when the supremum is infinite or not attained.
  • The conditional probability in (24) is the conditional expectation of the indicator of the event. The event is required to be measurable, so the condition cannot hold vacuously through a junk conditional expectation.
  • www is required to be both nonincreasing in ttt and convergent to 000.
  • The events {L(X)⊂A}\{L(X)\subset A\}{L(X)⊂A} and {∃s≥t:X(s)∈U}\{\exists s\ge t: X(s)\in U\}{∃s≥t:X(s)∈U} are measured with PPP as an outer measure, so no measurability hypothesis is added for them.
  • In the second statement of Theorem 7.3, TTT and δ\deltaδ are chosen before the probability space, the process, www and ttt.
  • Invariance in the definition of an attractor is the equality Φt(A)=A\Phi_t(A)=AΦt​(A)=A, not inclusion.
  • The almost-sure clause of Lemma 7.1 is stated for separable MMM. Without separability it cannot be proved in ordinary set theory.

These choices rule out the trivializing formalizations: a conditional-probability hypothesis that holds vacuously, invariance read as inclusion, constants T,δT,\deltaT,δ that depend on the process or on ttt, and a probability bound www without monotonicity.

A complete development needs:

  • limit sets of asymptotic pseudotrajectories and the fact that an internally chain transitive set meeting the basin of an attractor lies in the attractor (shared with missions 1 and 5 of this series);
  • measurability of path functionals of continuous processes;
  • conditioning on events of the form {τ=tn(k)}\{\tau=t_n(k)\}{τ=tn​(k)} at dyadic times.

The first and second are reusable well beyond this mission. Contributions toward either, and alternative proofs of Lemma 6.8, are welcome.

Selected references

  • M. Benaïm, Dynamics of stochastic approximation algorithms, Séminaire de Probabilités XXXIII, Lecture Notes in Mathematics 1709, Springer, 1999, pp. 1–68. https://doi.org/10.1007/BFb0096509
  • M. Benaïm, M. W. Hirsch, Asymptotic pseudotrajectories and chain recurrent flows, with applications, Journal of Dynamics and Differential Equations 8 (1996), 141–176. https://doi.org/10.1007/BF02218617
  • M. Benaïm, Vertex-reinforced random walks and a conjecture of Pemantle, Annals of Probability 25 (1997), 361–392. https://doi.org/10.1214/aop/1024404292
  • M. Duflo, Random Iterative Models, Applications of Mathematics 34, Springer, 1997. https://doi.org/10.1007/978-3-662-12880-0
  • H. J. Kushner, D. S. Clark, Stochastic Approximation Methods for Constrained and Unconstrained Systems, Springer, 1978. https://doi.org/10.1007/978-1-4684-9352-8
  • C. Conley, Isolated Invariant Sets and the Morse Index, CBMS Regional Conference Series in Mathematics 38, AMS, 1978. https://doi.org/10.1090/cbms/038
11 thms2 active usersReviewed
Dynamical SystemsProbabilityStochastic Systems·Captain: mikedeng1

Dynamics of Stochastic Approximation Algorithms 3: Martingale Noise with Bounded q-th Moments and Summable γ_n^(1+q/2) Satisfies Assumption A1 Almost SurelyResearch Paper

Motivation

A stochastic approximation algorithm is a recursion

xn+1−xn=γn+1(F(xn)+Un+1)x_{n+1}-x_n=\gamma_{n+1}\big(F(x_n)+U_{n+1}\big)xn+1​−xn​=γn+1​(F(xn​)+Un+1​)

in Rd\mathbb R^dRd, where FFF is a vector field, γn\gamma_nγn​ are small step sizes and Un+1U_{n+1}Un+1​ is noise. Such recursions go back to Robbins and Monro's root-finding scheme (Robbins–Monro 1951) and underlie stochastic gradient descent, temporal-difference learning, adaptive control and learning in games. The ODE method studies them by comparing the iterates with the trajectories of x˙=F(x)\dot x=F(x)x˙=F(x).

Benaïm's lecture notes (Benaïm 1999) organize the ODE method in two steps. A deterministic step, Proposition 4.1, shows that whenever the noise satisfies a condition called A1 (and the iterates are bounded, or FFF is Lipschitz and bounded on a neighbourhood of them), the interpolated process is an asymptotic pseudotrajectory of the flow of FFF. A probabilistic step then verifies A1 for concrete noise models. This mission formalizes the first such verification, Proposition 4.2: martingale difference noise with bounded qqq-th moments and step sizes with ∑nγn1+q/2<∞\sum_n\gamma_n^{1+q/2}<\infty∑n​γn1+q/2​<∞. The result is described as a particular case of a general theorem of Métivier and Priouret (1987); the same estimates reappear later in the notes.

Setting

Let {γn}n≥1\{\gamma_n\}_{n\ge1}{γn​}n≥1​ be a deterministic sequence with γn≥0\gamma_n\ge0γn​≥0, ∑nγn=∞\sum_n\gamma_n=\infty∑n​γn​=∞ and γn→0\gamma_n\to0γn​→0 (a step sequence). Put τ0=0\tau_0=0τ0​=0, τn=∑i=1nγi\tau_n=\sum_{i=1}^n\gamma_iτn​=∑i=1n​γi​, and let

m(t)=sup⁡{k≥0: t≥τk}m(t)=\sup\{k\ge0:\ t\ge\tau_k\}m(t)=sup{k≥0: t≥τk​}

be the index of the step that contains time t≥0t\ge0t≥0. For a sequence {Un}n≥1\{U_n\}_{n\ge1}{Un​}n≥1​ define the piecewise constant processes Uˉ(t)=Um(t)+1\bar U(t)=U_{m(t)+1}Uˉ(t)=Um(t)+1​ and γˉ(t)=γm(t)+1\bar\gamma(t)=\gamma_{m(t)+1}γˉ​(t)=γm(t)+1​, so that step n+1n+1n+1 occupies the time interval [τn,τn+1)[\tau_n,\tau_{n+1})[τn​,τn+1​) of length γn+1\gamma_{n+1}γn+1​.

Assumption A1 asks that for every T>0T>0T>0

lim⁡n→∞sup⁡{∥∑i=nk−1γi+1Ui+1∥: k=n+1,…,m(τn+T)}=0,\lim_{n\to\infty}\sup\Big\{\Big\|\sum_{i=n}^{k-1}\gamma_{i+1}U_{i+1}\Big\|:\ k=n+1,\dots,m(\tau_n+T)\Big\}=0,n→∞lim​sup{​i=n∑k−1​γi+1​Ui+1​​: k=n+1,…,m(τn​+T)}=0,

or, in the form the notes call equivalent, lim⁡t→∞Δ(t,T)=0\lim_{t\to\infty}\Delta(t,T)=0limt→∞​Δ(t,T)=0 for every T>0T>0T>0, where

Δ(t,T)=sup⁡0≤h≤T∥∫tt+hUˉ(s) ds∥.\Delta(t,T)=\sup_{0\le h\le T}\Big\|\int_t^{t+h}\bar U(s)\,ds\Big\|.Δ(t,T)=0≤h≤Tsup​​∫tt+h​Uˉ(s)ds​.

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space with a nondecreasing sequence {Fn}\{\mathcal F_n\}{Fn​} of sub-σ\sigmaσ-algebras, and F:Rd→RdF:\mathbb R^d\to\mathbb R^dF:Rd→Rd continuous. A sequence {xn}\{x_n\}{xn​} given by the recursion above is a Robbins–Monro algorithm if γ\gammaγ is deterministic, UnU_nUn​ is Fn\mathcal F_nFn​-measurable, and E(Un+1∣Fn)=0E(U_{n+1}\mid\mathcal F_n)=0E(Un+1​∣Fn​)=0.

Formalization targets

Goal: Proposition 4.2

For a Robbins–Monro algorithm and some real q≥2q\ge2q≥2, if

sup⁡nE(∥Un+1∥q)<∞and∑nγn1+q/2<∞,\sup_nE\big(\|U_{n+1}\|^q\big)<\infty\qquad\text{and}\qquad\sum_n\gamma_n^{1+q/2}<\infty,nsup​E(∥Un+1​∥q)<∞andn∑​γn1+q/2​<∞,

then with probability one the realised noise sequence satisfies A1, in both of its forms, simultaneously for all T>0T>0T>0.

Milestones

  1. Eq. (13), an instance of Burkholder's inequality with a universal constant CqC_qCq​:
E{sup⁡n<k≤m(τn+T)∥∑i=nk−1γi+1Ui+1∥q}≤Cq E{[∑i=nm(τn+T)−1γi+12∥Ui+1∥2]q/2}.E\Big\{\sup_{n<k\le m(\tau_n+T)}\Big\|\sum_{i=n}^{k-1}\gamma_{i+1}U_{i+1}\Big\|^q\Big\}\le C_q\,E\Big\{\Big[\sum_{i=n}^{m(\tau_n+T)-1}\gamma_{i+1}^2\|U_{i+1}\|^2\Big]^{q/2}\Big\}.E{n<k≤m(τn​+T)sup​​i=n∑k−1​γi+1​Ui+1​​q}≤Cq​E{[i=n∑m(τn​+T)−1​γi+12​∥Ui+1​∥2]q/2}.
  1. Inequality (14), for finite families with αi≥0\alpha_i\ge0αi​≥0, u>1u>1u>1, 0<δ<10<\delta<10<δ<1:
(∑i∣αiβi∣)u≤(∑iαiδu/(u−1))u−1∑iαi(1−δ)u∣βi∣u.\Big(\sum_i|\alpha_i\beta_i|\Big)^u\le\Big(\sum_i\alpha_i^{\delta u/(u-1)}\Big)^{u-1}\sum_i\alpha_i^{(1-\delta)u}|\beta_i|^u.(i∑​∣αi​βi​∣)u≤(i∑​αiδu/(u−1)​)u−1i∑​αi(1−δ)u​∣βi​∣u.
  1. Eq. (16): for every T>0T>0T>0 there is C(q,T)C(q,T)C(q,T) with E(Δ(t,T)q)≤C(q,T)∫tt+Tγˉq/2(s) dsE(\Delta(t,T)^q)\le C(q,T)\int_t^{t+T}\bar\gamma^{q/2}(s)\,dsE(Δ(t,T)q)≤C(q,T)∫tt+T​γˉ​q/2(s)ds for all t≥0t\ge0t≥0.
  2. Eq. (17): ∑k≥0E(Δ(kT,T)q)<∞\sum_{k\ge0}E(\Delta(kT,T)^q)<\infty∑k≥0​E(Δ(kT,T)q)<∞ for every T>0T>0T>0.
  3. Block comparison: Δ(t,T)≤2Δ(kT,T)+Δ((k+1)T,T)\Delta(t,T)\le2\Delta(kT,T)+\Delta((k+1)T,T)Δ(t,T)≤2Δ(kT,T)+Δ((k+1)T,T) for kT≤t<(k+1)TkT\le t<(k+1)TkT≤t<(k+1)T.

Significance

Proposition 4.2 is the standard sufficient condition under which the ODE method applies to stochastic gradient-type recursions with martingale noise. With q=2q=2q=2 it covers step sizes with ∑γn2<∞\sum\gamma_n^2<\infty∑γn2​<∞ (for example γn=1/n\gamma_n=1/nγn​=1/n) and noise with bounded variance; larger qqq trades stronger moment assumptions for slower decay of the steps, down to ∑γn1+q/2<∞\sum\gamma_n^{1+q/2}<\infty∑γn1+q/2​<∞. Combined with Proposition 4.1 it shows that the interpolated process of a Robbins–Monro algorithm with bounded iterates is almost surely an asymptotic pseudotrajectory of the flow of FFF; the limit set theorems of the notes then locate the limit points of the algorithm.

The result is proved in the notes and in the cited literature; it has not, to our knowledge, been machine-checked. A formal proof would supply reusable pieces that Mathlib currently lacks, most notably a Burkholder (or Burkholder–Davis–Gundy) inequality for discrete-time vector martingales in LqL^qLq, and the continuous-time bookkeeping of the step processes Uˉ\bar UUˉ, γˉ\bar\gammaγˉ​ and the noise deviation Δ\DeltaΔ, shared by the other missions of this series.

Difficulty

The obvious argument controls each window by Doob's L2L^2L2 maximal inequality and sums over windows. That works for q=2q=2q=2 only. For q>2q>2q>2 the second moment of the window sums is not summable under ∑γn1+q/2<∞\sum\gamma_n^{1+q/2}<\infty∑γn1+q/2​<∞, and one needs an LqL^qLq maximal inequality whose right-hand side is the q/2q/2q/2-th moment of the square function. That inequality, Burkholder's, is not in Mathlib. Converting the square function into the moment bound requires a Hölder-type inequality with tuned exponents, and passing from the discrete sums to Δ(t,T)\Delta(t,T)Δ(t,T) requires handling partial steps at both ends of [t,t+h][t,t+h][t,t+h]. A second subtlety is that A1 quantifies over all T>0T>0T>0: the almost-sure statement must hold on a single event of full probability for every TTT, not on an event that depends on TTT.

Formalization scope

The space is Rd\mathbb R^dRd as EuclideanSpace ℝ (Fin d); time is real; qqq is a real number with q≥2q\ge2q≥2, and all powers are real powers of nonnegative quantities. The sequences γ\gammaγ and UUU are indexed by N\mathbb NN, and their values at 000 are unused, as the paper indexes them from 111. The filtration is a Mathlib Filtration ℕ, Un+1U_{n+1}Un+1​ is required to be Fn+1\mathcal F_{n+1}Fn+1​-strongly measurable and integrable, and the martingale difference condition is E(Un+1∣Fn)=0E(U_{n+1}\mid\mathcal F_n)=0E(Un+1​∣Fn​)=0 almost surely. Expectations of nonnegative quantities, the suprema in A1 and Δ\DeltaΔ, and the moment bound are taken in [0,∞][0,\infty][0,∞], so no default value of a non-integrable expectation or of an empty supremum can make a statement hold vacuously; the supremum over an empty range of kkk is 000.

The following readings are excluded and are not acceptable formalizations: a moment hypothesis that holds vacuously, a conditional expectation hypothesis on non-integrable noise, the conclusion "for each TTT, A1 holds almost surely" in place of "almost surely, A1 holds for all TTT", and qqq fixed to 222 or restricted to integers.

All hypotheses are satisfiable: U=0U=0U=0, x=0x=0x=0, F=0F=0F=0 and γn=1/n\gamma_n=1/nγn​=1/n with q=2q=2q=2 satisfy every one of them.

Contributions welcome: a general Burkholder inequality for discrete-time martingales in finite-dimensional spaces (reusable well beyond this mission), lemmas on the step processes and Δ\DeltaΔ (measurability, local integrability, additivity), and the proofs of the milestones.

Selected references

  • M. Benaïm, Dynamics of Stochastic Approximation Algorithms, Séminaire de Probabilités XXXIII, Lecture Notes in Mathematics 1709, Springer, 1999, pp. 1–68. https://doi.org/10.1007/BFb0096509
  • M. Benaïm and M. W. Hirsch, Asymptotic pseudotrajectories and chain recurrent flows, with applications, Journal of Dynamics and Differential Equations 8 (1996), 141–176. https://doi.org/10.1007/BF02218617
  • M. Métivier and P. Priouret, Théorèmes de convergence presque sûre pour une classe d'algorithmes stochastiques à pas décroissant, Probability Theory and Related Fields 74 (1987), 403–428.
  • D. L. Burkholder, Distribution function inequalities for martingales, Annals of Probability 1 (1973), 19–42. https://doi.org/10.1214/aop/1176997023
  • D. W. Stroock, Probability Theory: An Analytic View, Cambridge University Press, 1993.
  • H. Robbins and S. Monro, A stochastic approximation method, Annals of Mathematical Statistics 22 (1951), 400–407. https://doi.org/10.1214/aoms/1177729586
  • H. J. Kushner and G. G. Yin, Stochastic Approximation Algorithms and Applications, Springer, 1997.
10 thms2 active usersReviewed
Dynamical SystemsStochastic Systems·Captain: mikedeng1

Dynamics of Stochastic Approximation Algorithms 5: If V(Λ) Has Empty Interior for a Lyapunov Function V, Every Internally Chain Transitive Set Lies in ΛResearch Paper

Motivation

A stochastic approximation algorithm is a recursion xn+1=xn+γn+1(F(xn)+Un+1)x_{n+1}=x_n+\gamma_{n+1}\big(F(x_n)+U_{n+1}\big)xn+1​=xn​+γn+1​(F(xn​)+Un+1​) with decreasing steps γn\gamma_nγn​ and noise UnU_nUn​. Stochastic gradient descent, the Robbins–Monro procedure, reinforcement-learning updates and learning dynamics in games all have this form. The ODE method compares such a recursion with the deterministic dynamics x˙=F(x)\dot x=F(x)x˙=F(x). Benaïm's lecture notes (Séminaire de Probabilités XXXIII, 1999) do this in two steps. First, the limit set of the interpolated process is internally chain transitive for the semiflow of FFF (Theorem 5.7, the subject of mission 1 of this series). Second, internally chain transitive sets are located using properties of the dynamics alone.

The most common tool in the second step is a Lyapounov function: a function that decreases strictly along every trajectory outside a set Λ\LambdaΛ and is constant on Λ\LambdaΛ. Proposition 6.4 of the notes states exactly when such a function forces every internally chain transitive set into Λ\LambdaΛ. It is the step behind the convergence of stochastic gradient algorithms to critical points (Corollary 6.7) and behind convergence results for learning in potential games.

Timeline.

  • Conley (Isolated Invariant Sets and the Morse Index, CBMS 38, 1978) introduced chain recurrence and the attractor–repeller description of it.
  • Benaïm and Hirsch (J. Dyn. Diff. Eq. 8, 1996) identified limit sets of asymptotic pseudotrajectories with internally chain transitive sets.
  • Benaïm (SIAM J. Control Optim. 34, 1996) developed the dynamical-systems approach to stochastic approximation built on these notions.
  • Bowen (J. Differential Equations 18, 1975) characterized chain transitivity by the absence of proper attractors, the content of Proposition 5.3 of the notes.
  • The 1999 notes state the Lyapounov criterion in the form used here, for semiflows on arbitrary metric spaces.

Setting

Let (M,d)(M,d)(M,d) be a metric space, with no compactness or completeness assumed. A semiflow Φ\PhiΦ on MMM is a continuous map R+×M→M\mathbb R_+\times M\to MR+​×M→M, (t,x)↦Φt(x)(t,x)\mapsto\Phi_t(x)(t,x)↦Φt​(x), with Φ0=Id\Phi_0=\mathrm{Id}Φ0​=Id and Φt+s=Φt∘Φs\Phi_{t+s}=\Phi_t\circ\Phi_sΦt+s​=Φt​∘Φs​.

  • A set AAA is invariant if Φt(A)=A\Phi_t(A)=AΦt​(A)=A for every t≥0t\ge0t≥0. For an invariant Λ\LambdaΛ, the restriction Φ∣Λ\Phi|\LambdaΦ∣Λ is the semiflow Φ\PhiΦ acting on Λ\LambdaΛ.
  • For δ,T>0\delta,T>0δ,T>0, a (δ,T)(\delta,T)(δ,T)-pseudo-orbit from aaa to bbb is a list of points y0,…,yky_0,\dots,y_ky0​,…,yk​ (k≥1k\ge1k≥1) and times t0,…,tk−1≥Tt_0,\dots,t_{k-1}\ge Tt0​,…,tk−1​≥T with d(y0,a)<δd(y_0,a)<\deltad(y0​,a)<δ, d(Φtj(yj),yj+1)<δd(\Phi_{t_j}(y_j),y_{j+1})<\deltad(Φtj​​(yj​),yj+1​)<δ for j<kj<kj<k, and yk=by_k=byk​=b.
  • A set LLL is internally chain transitive if it is nonempty, compact and invariant, and for all a,b∈La,b\in La,b∈L and all δ,T>0\delta,T>0δ,T>0 there is a (δ,T)(\delta,T)(δ,T)-pseudo-orbit of Φ∣L\Phi|LΦ∣L, so with every yi∈Ly_i\in Lyi​∈L, from aaa to bbb.
  • An attractor is a nonempty compact invariant set AAA with a neighbourhood WWW on which dist(Φtx,A)→0\mathrm{dist}(\Phi_t x,A)\to0dist(Φt​x,A)→0 uniformly. Its basin is the set of points xxx with dist(Φtx,A)→0\mathrm{dist}(\Phi_t x,A)\to0dist(Φt​x,A)→0.
  • Let Λ⊂M\Lambda\subset MΛ⊂M be compact and invariant. A continuous V:M→RV:M\to\mathbb RV:M→R is a Lyapounov function for Λ\LambdaΛ if t↦V(Φt(x))t\mapsto V(\Phi_t(x))t↦V(Φt​(x)) is constant for x∈Λx\in\Lambdax∈Λ and strictly decreasing for x∉Λx\notin\Lambdax∈/Λ.

Formalization targets

Goal: Proposition 6.4

Let Λ\LambdaΛ be compact invariant and VVV a Lyapounov function for Λ\LambdaΛ, and assume that V(Λ)V(\Lambda)V(Λ) has empty interior in R\mathbb RR. Then for every internally chain transitive set LLL,

L⊂ΛandV∣L is constant.L\subset\Lambda\qquad\text{and}\qquad V|_L\ \text{is constant}.L⊂ΛandV∣L​ is constant.

Milestones

  1. Lemma 5.2. If UUU is open with compact closure and ΦT(U‾)⊂U\Phi_T(\overline U)\subset UΦT​(U)⊂U for some T>0T>0T>0, there is an attractor A⊂UA\subset UA⊂U whose basin contains U‾\overline UU.
  2. Proposition 5.3. For nonempty Λ\LambdaΛ: internally chain transitive   ⟺  \iff⟺ connected and internally chain recurrent   ⟺  \iff⟺ compact invariant, and Φ∣Λ\Phi|\LambdaΦ∣Λ has no proper attractor.
  3. The claim of the proof of 6.4. For LLL internally chain transitive and v∗=inf⁡LVv^*=\inf_L Vv∗=infL​V: L∩Λ≠∅L\cap\Lambda\ne\emptysetL∩Λ=∅ and v∗=inf⁡L∩ΛVv^*=\inf_{L\cap\Lambda}Vv∗=infL∩Λ​V.
  4. The sublevel step of the proof of 6.4. For every c>v∗c>v^*c>v∗ with c∉V(Λ)c\notin V(\Lambda)c∈/V(Λ), V<cV<cV<c on all of LLL.

Significance

The result. Proposition 6.4 converts a statement about real numbers, that V(Λ)V(\Lambda)V(Λ) has empty interior, into a statement about dynamics: the chain recurrent behaviour of Φ\PhiΦ is confined to Λ\LambdaΛ. With Theorem 5.7 it gives the following. If Φ\PhiΦ has such a Lyapounov function, then the limit set of any precompact asymptotic pseudotrajectory, in particular of a bounded stochastic approximation process, lies in Λ\LambdaΛ, and VVV is constant on it. When Λ\LambdaΛ is the set of equilibria and V(Λ)V(\Lambda)V(Λ) is Lebesgue-null by Sard's theorem, this is the convergence of stochastic gradient algorithms to connected sets of critical points (Corollary 6.7). Remark 6.5 gives a flow on the circle with a strict Lyapounov function, where the circle itself is internally chain transitive. So the empty-interior hypothesis cannot be removed.

Formalizing it. The result is proved, in the notes and in the earlier literature. No machine-checked version of chain recurrence for semiflows on metric spaces, Conley's attractor lemma, or Bowen's characterization of chain transitive sets is known to us. The mission therefore adds the following:

  • a formal definition layer for these notions on Mathlib's Flow;
  • formal proofs of Lemma 5.2 and Proposition 5.3, which are reused across this series (missions 1 and 6);
  • the Lyapounov criterion itself.

Difficulty

The obvious argument does not work. It runs: VVV decreases along trajectories, so along an orbit in LLL the value of VVV must settle on Λ\LambdaΛ. But points of an internally chain transitive set are joined only by pseudo-orbits. At each of the kkk jumps, VVV may increase by an amount that is small but not controlled in number, so monotonicity of VVV along true trajectories says nothing directly about LLL. Remark 6.5 shows that the conclusion is genuinely false without a condition on V(Λ)V(\Lambda)V(Λ). The difficulty is therefore global: pseudo-orbits that climb back up VVV through many small jumps must be excluded using information about the restricted semiflow Φ∣L\Phi|LΦ∣L as a whole, not the monotonicity of VVV along single trajectories. Milestones 1 and 2 are the general facts about chain transitive sets that this requires, and their own proofs involve compactness and uniform-continuity estimates over arbitrarily long pseudo-orbits.

Formalization scope

  • Representation. MMM is any MetricSpace, and the semiflow is Flow ℝ≥0 M.
  • Invariance is equality Φt(A)=A\Phi_t(A)=AΦt​(A)=A for every ttt, not inclusion.
  • Pseudo-orbits have at least one trajectory piece (k≥1k\ge1k≥1), times ≥T\ge T≥T, an exact endpoint, and, in the internal notions, all their points in the set.
  • Nonemptiness. Internally chain transitive and internally chain recurrent sets are nonempty by definition. Accordingly, Proposition 5.3 assumes Λ≠∅\Lambda\neq\emptysetΛ=∅ and Lemma 5.2 assumes U≠∅U\neq\emptysetU=∅.
  • Lyapounov function. The predicate contains the standing assumptions of its definition: Λ\LambdaΛ is compact and invariant, VVV is continuous, V(Φtx)=V(x)V(\Phi_t x)=V(x)V(Φt​x)=V(x) on Λ\LambdaΛ, and t↦V(Φtx)t\mapsto V(\Phi_t x)t↦V(Φt​x) is strictly antitone off Λ\LambdaΛ.
  • Empty interior is interior (V '' Λ) = ∅ in R\mathbb RR, not countability, finiteness or measure zero.
  • Infima are stated with IsGLB, not a real sInf.

The following formalizations are trivializing and are excluded:

  • chains with no jumps, under which every point is chain recurrent;
  • invariance as inclusion;
  • a non-strict decrease condition, under which constant functions are Lyapounov functions and the goal is false;
  • chains of Φ\PhiΦ that leave LLL, a strictly weaker notion;
  • quantifying only over limit sets instead of every internally chain transitive set.

A complete development needs elementary facts about ω-limit sets of points of a compact invariant set: they are nonempty, compact and invariant. It also needs the attractor construction A=⋂t≥0⋃s≥tΦs(U)‾A=\bigcap_{t\ge0}\overline{\bigcup_{s\ge t}\Phi_s(U)}A=⋂t≥0​⋃s≥t​Φs​(U)​ and the open sets {y:x↪δ,Ty}\{y: x\hookrightarrow_{\delta,T}y\}{y:x↪δ,T​y} used in Proposition 5.3. These are reusable for any work on Conley theory. Contributions of any of these lemmas, or of proofs of the milestones in any order, are welcome.

Selected references

  • M. Benaïm, Dynamics of Stochastic Approximation Algorithms, Séminaire de Probabilités XXXIII, Lecture Notes in Mathematics 1709, Springer, 1999, pp. 1–68. https://doi.org/10.1007/BFb0096509
  • M. Benaïm, M. W. Hirsch, Asymptotic pseudotrajectories and chain recurrent flows, with applications, J. Dynam. Differential Equations 8 (1996), 141–176. https://doi.org/10.1007/BF02218613
  • M. Benaïm, A dynamical system approach to stochastic approximations, SIAM J. Control Optim. 34 (1996), 437–472. https://doi.org/10.1137/S0363012993253534
  • C. Conley, Isolated Invariant Sets and the Morse Index, CBMS Regional Conference Series in Mathematics 38, AMS, 1978. https://doi.org/10.1090/cbms/038
  • R. Bowen, ω-limit sets for Axiom A diffeomorphisms, J. Differential Equations 18 (1975), 333–339. https://doi.org/10.1016/0022-0396(75)90065-0
9 thms2 active usersReviewed
Linear OptimizationOptimizationProbability+1·Captain: mikedeng1

Smoothed Analysis of Algorithms: Why the Simplex Algorithm Usually Takes Polynomial Time 2: The Two-Phase Shadow-Vertex Simplex Method Has Polynomial Smoothed ComplexityResearch Paper

Motivation

The simplex method solves linear programs by moving between vertices of a feasible polyhedron. Its worst-case number of moves can grow exponentially, yet it often performs well on ordinary inputs. Worst-case examples alone therefore give an incomplete account of the method’s behavior. Spielman and Teng introduced smoothed analysis to measure expected performance after small random perturbations of an arbitrary input. Their result for a two-phase shadow-vertex simplex method gives a polynomial bound in the input dimensions and inverse perturbation scale. The pinned preprint is the source for every theorem number and constant in this mission.

The paper separates a geometric result about the expected size of a polytope’s shadow (Theorem 4.0.1) from the algorithmic result here (Theorem 5.0.1). That separation matters: a plane chosen before perturbation and a plane chosen by a running algorithm have different distributions. This mission addresses the latter. It complements the standard-form simplex theorems already formalized in the Introduction to Linear Optimization series and the worst-case Klee–Minty result in the Smale’s Ninth Problem mission; those results concern different algorithms or input models and are context rather than imported statements.

Setting

A linear program is specified by vectors a1,…,an∈Rda_1,\ldots,a_n\in\mathbb R^da1​,…,an​∈Rd, right-hand sides y1,…,yn∈Ry_1,\ldots,y_n\in\mathbb Ry1​,…,yn​∈R, and an objective vector z∈Rdz\in\mathbb R^dz∈Rd:

max⁡x⟨z,x⟩subject to⟨ai,x⟩≤yi(1≤i≤n).\max_x\langle z,x\rangle\quad\text{subject to}\quad \langle a_i,x\rangle\le y_i\qquad(1\le i\le n).xmax​⟨z,x⟩subject to⟨ai​,x⟩≤yi​(1≤i≤n).

The paper’s two-phase shadow-vertex method first draws a collection I\mathcal II of ddd-element subsets of [n][n][n] and chooses one whose constraint matrix AIA_IAI​ has the largest smallest singular value. It sets a power-of-two scale MMM from the input norm and a power-of-two scale κ\kappaκ from that singular value. These determine positive relaxed right-hand sides yi′y'_iyi′​: MMM for i∈Ii\in Ii∈I and dM2/(4κ)\sqrt d M^2/(4\kappa)d​M2/(4κ) otherwise. A coefficient vector α\alphaα is chosen uniformly from A1/d2={α:∑i∈Iαi=1, αi≥1/d2}A_{1/d^2}=\{\alpha:\sum_{i\in I}\alpha_i=1,\ \alpha_i\ge1/d^2\}A1/d2​={α:∑i∈I​αi​=1, αi​≥1/d2}. The first phase solves the relaxed program LP′ from the objective AIαA_I\alphaAI​α.

The second phase uses a lifted program LP⁺ in Rd+1\mathbb R^{d+1}Rd+1. For each original constraint it forms ai+=((yi′−yi)/2,ai)a_i^+=((y'_i-y_i)/2,a_i)ai+​=((yi′​−yi​)/2,ai​) and yi+=(yi′+yi)/2y_i^+=(y'_i+y_i)/2yi+​=(yi′​+yi​)/2, together with two artificial constraints at first coordinates 111 and −1-1−1. LP⁺ connects LP′ to the original program and makes infeasibility detectable. Its shadow is taken in the plane of (0,z)(0,z)(0,z) and z+=(1,0,…,0)z^+=(1,0,\ldots,0)z+=(1,0,…,0).

For positive right-hand sides, an optimal polar simplex is a ddd-subset of constraints whose scaled vectors ai/yia_i/y_iai​/yi​ form a facet of ConvHull⁡(0,a1/y1,…,an/yn)\operatorname{ConvHull}(0,a_1/y_1,\ldots,a_n/y_n)ConvHull(0,a1​/y1​,…,an​/yn​) and whose unscaled cone contains an objective qqq. The shadow for objectives t,zt,zt,z is the union of these simplices over all qqq in Span⁡(t,z)\operatorname{Span}(t,z)Span(t,z). Its size bounds the number of polar pivots. In Section 5 the paper writes Sz′S'_zSz′​ for the first-phase shadow size and Sz+S_z^+Sz+​ for the second-phase shadow size without the two artificial pivots.

The input is perturbed by independent Gaussians: each coordinate of aia_iai​ and each yiy_iyi​ has its prescribed center and common standard deviation σR\sigma RσR, where R=max⁡i∥(yˉi,aˉi)∥2R=\max_i\|(\bar y_i,\bar a_i)\|_2R=maxi​∥(yˉ​i​,aˉi​)∥2​. The algorithm has separate random choices of I\mathcal II and α\alphaα.

Formalization targets

The immediate targets bound the two phases: Lemma 5.2.1 gives an explicit expectation bound for Sz′S'_zSz′​ and Lemma 5.3.1 gives one for Sz+S_z^+Sz+​. Lemma 5.1.1 and its corollaries control the chance that the chosen basis has a very small singular value. Corollary 4.3.3 extends the geometric shadow bound to positive, unequal right-hand sides and general Gaussian covariance. These are the mission’s milestone targets.

The goal is the shape of Theorem 5.0.1. With C(A,y,z)=EI,α(Sz′+Sz++2)C(A,y,z)=\mathbb E_{\mathcal I,\alpha}(S'_z+S_z^++2)C(A,y,z)=EI,α​(Sz′​+Sz+​+2), there are a single polynomial P\mathcal PP and a positive constant σ0\sigma_0σ0​ such that, for all n>d≥3n>d\ge3n>d≥3 and all centers and objectives,

EA,yC(A,y,z)≤min⁡{P(d,n,1min⁡(σ,σ0)),(nd)+(nd+1)+2}.\mathbb E_{A,y}C(A,y,z)\le \min\left\{\mathcal P\left(d,n,\frac1{\min(\sigma,\sigma_0)}\right), \binom nd+\binom n{d+1}+2\right\}.EA,y​C(A,y,z)≤min{P(d,n,min(σ,σ0​)1​),(dn​)+(d+1n​)+2}.

The polynomial is uniform over the dimensions and inputs; its coefficients are not prescribed. The bound on CCC implies the corresponding result for the actual pivot count through the paper’s step-to-shadow comparison. The goal is stated with a positive center scale RRR, the case in which the paper’s Gaussian rescaling applies.

Significance

The theorem places the number of pivots of a complete simplex method under one explicit perturbation model, including the work needed to find a starting feasible basis and handle an arbitrary right-hand side. The trivial binomial bound is retained because it controls rare events in the proof and is part of the stated result. The polynomial bound says that even when the unperturbed LP is adversarial, Gaussian noise of a controlled scale makes the expected shadow-size cost polynomial.

The paper proves the mathematical result. This mission asks for machine-checked proofs of its statement and the listed milestones; the draft Lean declarations are targets with sorry, not completed proofs. The reusable formal infrastructure is the finite polar simplex and shadow construction, product Gaussian input law, smallest-singular-value events for sampled minors, and the uniform truncated-simplex coefficient law. The two shadow-size lemmas also require explicit handling of measurable finite-valued counts and their expectations.

Difficulty

The basic shadow estimate fixes its projection plane before perturbing the constraints. In LP′, the initial objective AIαA_I\alphaAI​α uses a basis selected after the perturbation, so the relevant plane depends on the random LP. The fixed-plane theorem cannot be substituted directly. For LP⁺, the normalized lifted vectors ai+/yi+a_i^+/y_i^+ai+​/yi+​ are nonlinear functions of Gaussian data; they are generally not Gaussian vectors. Thus the same shadow estimate does not apply directly to their law either. A further issue is that a poor sampled basis can make y′y'y′ very large. These are distinct obstacles, reflected in the milestone groups from Sections 5.1, 5.2, and 5.3.

Formalization scope

Vectors are EuclideanSpace ℝ (Fin d), constraints are Fin n → EuclideanSpace ℝ (Fin d), and index families are finite sets of Fin n. The paper’s [n][n][n] starts at one; Fin n starts at zero. The Gaussian constructor receives variance σ2\sigma^2σ2, not standard deviation σ\sigmaσ. The 3ndln⁡n3nd\ln n3ndlnn draws are rounded upward and are independent uniform draws with replacement. Equal singular values are resolved by the first sampled set. The uniform law on AδA_\deltaAδ​ is represented by normalized independent exponential weights followed by the affine shift that imposes αi≥δ\alpha_i\ge\deltaαi​≥δ.

The Lean definition of CCC is exactly the Section 5 shadow-size upper bound E(Sz′+Sz++2)\mathbb E(S'_z+S_z^++2)E(Sz′​+Sz+​+2), computed from the sampled LP data. It is not an arbitrary cost variable. The actual algorithmic step bound needs the paper’s polar algorithm and Lemma 3.3.5. The goal explicitly asks for inner and outer integrability so Lean’s default value for a nonintegrable Bochner integral cannot make the result vacuous. The source’s all-zero center scale is excluded because it gives zero perturbation and defeats the rescaling used in Theorem 5.0.1.

For LP⁺ the vectors live in Rd+1\mathbb R^{d+1}Rd+1, so the two LP⁺ milestone bounds use D(n,d+1,⋅)\mathcal D(n,d+1,\cdot)D(n,d+1,⋅). The preprint prints ddd in those calls even though the preceding extension theorem would be applied in dimension d+1d+1d+1. Lemma 5.2.1 is written as an inequality: its printed equality is stronger than the bound established on page 71. These corrections are visible in the theorem titles and notes. Contributions that prove the exact statements, establish the measurability and Gaussian law facts, or formalize the step-to-shadow comparison are welcome.

Selected references

  • Daniel A. Spielman and Shang-Hua Teng, Smoothed Analysis of Algorithms: Why the Simplex Algorithm Usually Takes Polynomial Time, arXiv:cs/0111050v7, 2003, preprint. The PDF used here is the 96-page version with printed and PDF page numbers aligned.
22 thms2 active usersReviewed
Discrete GeometryLinear OptimizationOptimization+1·Captain: mikedeng1

Smoothed Analysis of Algorithms: Why the Simplex Algorithm Usually Takes Polynomial Time 1: The Expected Shadow of a Gaussian-Perturbed Polytope Has Polynomially Many VerticesResearch Paper

Why the shadow of a perturbed polytope matters

The simplex method solves linear programs very fast in practice, yet for most pivot rules there are inputs on which it takes exponentially many steps (Klee and Minty, 1972, for Dantzig's rule; Goldfarb, 1983, for the shadow-vertex rule). Average-case analyses (Borgwardt, 1980s; Smale, 1983) explained good behaviour on random inputs, but random inputs look nothing like real ones. Spielman and Teng introduced smoothed analysis to close this gap: the input is chosen by an adversary and then perturbed by a small Gaussian, and the running time is measured in expectation over the perturbation. They proved that the shadow-vertex simplex method has smoothed complexity polynomial in the number of constraints nnn, the dimension ddd and 1/σ1/\sigma1/σ (Spielman–Teng, J. ACM 2004; this mission follows the preprint arXiv:cs/0111050v7). The work received the Gödel Prize (2008) and the Fulkerson Prize (2009).

Timeline. Borgwardt (1977–1987) bounded the expected number of shadow-vertex pivots for rotationally symmetric random data. Spielman and Teng (2001, STOC; journal 2004) proved the first smoothed bound, with a shadow bound of order nd3/σ6nd^3/\sigma^6nd3/σ6 — the theorem of this mission. Deshpande and Spielman (FOCS 2005) improved the shadow bound, Vershynin (2009) reduced the dependence on nnn to polylogarithmic, and Dadush and Huiberts (STOC 2018) obtained O(d2log⁡n σ−2)O(d^2\sqrt{\log n}\,\sigma^{-2})O(d2logn​σ−2) for small σ\sigmaσ.

Setting

Fix d≥3d\ge3d≥3 and n>dn>dn>d. The data are vectors a1,…,an∈Rda_1,\dots,a_n\in\mathbb R^da1​,…,an​∈Rd, the constraint vectors of the linear program max⁡⟨z∣x⟩\max\langle z|x\ranglemax⟨z∣x⟩ subject to ⟨ai∣x⟩≤1\langle a_i|x\rangle\le1⟨ai​∣x⟩≤1 for all iii. Each aia_iai​ is a Gaussian of standard deviation σ\sigmaσ centered at a point aˉi\bar a_iaˉi​ with ∥aˉi∥≤1\|\bar a_i\|\le1∥aˉi​∥≤1: it has density

μi(a)=(12π σ)de−∥a−aˉi∥2/2σ2,\mu_i(a)=\Big(\tfrac{1}{\sqrt{2\pi}\,\sigma}\Big)^d e^{-\|a-\bar a_i\|^2/2\sigma^2},μi​(a)=(2π​σ1​)de−∥a−aˉi​∥2/2σ2,

and the aia_iai​ are independent (joint density ∏iμi(ai)\prod_i\mu_i(a_i)∏i​μi​(ai​)).

For a direction q∈Rdq\in\mathbb R^dq∈Rd, optSimpq(a1,…,an)\mathrm{optSimp}_q(a_1,\dots,a_n)optSimpq​(a1​,…,an​) is the set of index sets I⊆{1,…,n}I\subseteq\{1,\dots,n\}I⊆{1,…,n} with ∣I∣=d|I|=d∣I∣=d such that (ai)i∈I(a_i)_{i\in I}(ai​)i∈I​ is linearly independent, the simplex △(AI)=ConvHull(ai:i∈I)\triangle(A_I)=\mathrm{ConvHull}(a_i:i\in I)△(AI​)=ConvHull(ai​:i∈I) is a facet of ConvHull(0,a1,…,an)\mathrm{ConvHull}(0,a_1,\dots,a_n)ConvHull(0,a1​,…,an​), and qqq lies in the cone {∑i∈Iαiai:αi≥0}\{\sum_{i\in I}\alpha_ia_i:\alpha_i\ge0\}{∑i∈I​αi​ai​:αi​≥0}. In polar terms, III is the set of tight constraints at the vertex of the feasible polyhedron that maximizes ⟨q∣x⟩\langle q|x\rangle⟨q∣x⟩.

For linearly independent t,zt,zt,z, the shadow Shadowt,z(a1,…,an)\mathrm{Shadow}_{t,z}(a_1,\dots,a_n)Shadowt,z​(a1​,…,an​) is the set of index sets III that belong to optSimpq\mathrm{optSimp}_qoptSimpq​ for some nonzero q∈Span(t,z)q\in\mathrm{Span}(t,z)q∈Span(t,z). Its size is the number of vertices of the projection of the feasible polyhedron onto the plane Span(t,z)\mathrm{Span}(t,z)Span(t,z); the shadow-vertex method walks along this polygon, one pivot per vertex. Finally

D(n,d,σ)=58,888,678 nd3min⁡(σ, 1/(3dln⁡n))6.\mathcal D(n,d,\sigma)=\frac{58{,}888{,}678\,nd^3}{\min\big(\sigma,\,1/(3\sqrt{d\ln n})\big)^6}.D(n,d,σ)=min(σ,1/(3dlnn​))658,888,678nd3​.

Formalization targets

Goal: Theorem 4.0.1 (Shadow Size)

Ea1,…,an[ ∣Shadowt,z(a1,…,an)∣ ]≤D(n,d,σ)\mathbb E_{a_1,\dots,a_n}\big[\,|\mathrm{Shadow}_{t,z}(a_1,\dots,a_n)|\,\big]\le\mathcal D(n,d,\sigma)Ea1​,…,an​​[∣Shadowt,z​(a1​,…,an​)∣]≤D(n,d,σ)

for every d≥3d\ge3d≥3, n>dn>dn>d, every pair of linearly independent t,zt,zt,z, every σ>0\sigma>0σ>0 and all centers of norm at most 111.

Milestones

The milestones follow the paper's proof, leaves first.

  • Probability tools: the chi-square bound (Corollary 2.4.6), the combination lemma (Lemma 2.3.5), almost polynomial densities (Lemma 2.3.7), and comparing Gaussian tails (Lemma 2.4.11).
  • Reduction: the measure of the event P={∥ai∥≤2 ∀i}P=\{\|a_i\|\le2\ \forall i\}P={∥ai​∥≤2 ∀i} (Proposition 4.0.5), and the discretization of the shadow into mmm equally spaced directions (Lemma 4.0.6).
  • Angle bound: the probability, conditioned on PPP, that the ray through a fixed unit vector qqq passes within angle ε\varepsilonε of the boundary of its optimal facet is O(nd3ε/σ6)O(nd^3\varepsilon/\sigma^6)O(nd3ε/σ6) (Lemma 4.0.7, from Lemma 4.0.11).
  • Distance and incidence: in Blaschke coordinates ai=Rωbi+sqa_i=R_\omega b_i+sqai​=Rω​bi​+sq, a deterministic split (Lemma 4.0.12), a distance bound (Lemmas 4.1.1–4.1.3) and an angle-of-incidence bound (Lemmas 4.2.1–4.2.3).

Significance

The result. Theorem 4.0.1 is the geometric heart of the smoothed analysis of the simplex method. Section 4.3 of the paper extends it to arbitrary centers, covariances and right-hand sides, and Section 5 combines these extensions with a two-phase method to show that the simplex method has polynomial smoothed complexity. The same shadow bound underlies later analyses of the simplex method, of perturbed polytopes' diameters, and of condition numbers of random linear programs.

Formalizing it. The theorem has been proved, and improved constants are known, but none of this is machine-checked. A formal proof would verify a long and delicate argument: a change of variables of integral geometry (Blaschke's formula), several conditional-density estimates, and explicit constants in the millions. The mission also produces reusable statements about Gaussian vectors and convex hulls of random points.

Difficulty

The obvious approach is to count, for each candidate facet III, the probability that III appears in the shadow; there are (nd)\binom nd(dn​) candidates, so a union bound is exponential in ddd. The paper avoids this by discretizing the angle of qqq (Lemma 4.0.6) and bounding, for each fixed direction, the probability that the optimal facet changes within a small angular step. That needs a lower bound on the angle between qqq and the boundary of its optimal facet, conditioned on the facet being optimal. The conditioning changes the distribution of a1,…,ada_1,\dots,a_da1​,…,ad​, so the bound cannot come from the Gaussian density alone. The proof changes variables to the facet's normal ω\omegaω, offset sss and in-plane coordinates bib_ibi​ (Corollary 2.5.3), whose Jacobian contributes the factors ⟨ω∣q⟩\langle\omega|q\rangle⟨ω∣q⟩ and Vol(△(b))\mathrm{Vol}(\triangle(b))Vol(△(b)). It then shows that both the distance of the origin to a face of the in-plane simplex and the angle of incidence ⟨ω∣q⟩\langle\omega|q\rangle⟨ω∣q⟩ are unlikely to be small. Measure-theoretic bookkeeping is as hard as the geometry: densities known only up to normalization, conditioning on events of positive measure, and the measure-zero degeneracies the paper sets aside.

Formalization scope

Points live in EuclideanSpace ℝ (Fin d). Constraint vectors are indexed by Fin n (0-based), so the paper's {1,…,d}\{1,\dots,d\}{1,…,d} is {i:i<d}\{i:i<d\}{i:i<d}. The Gaussian of standard deviation σ\sigmaσ centered at ccc is Lebesgue measure with the density above, and the joint law is the product measure. Lemma 4.0.6 also uses Mathlib's multivariateGaussian with a positive definite covariance. Expectations of shadow sizes are lower Lebesgue integrals of [0,∞][0,\infty][0,∞]-valued counts, and their measurability is part of each conclusion. "Density proportional to ν\nuν" and conditional probabilities are stated cross-multiplied, ∫Eν≤bound⋅∫ν\int_{E}\nu\le\text{bound}\cdot\int\nu∫E​ν≤bound⋅∫ν, so no 0/00/00/0 appears.

The shadow is the set of index sets III, and the direction q=0q=0q=0 is excluded. Including it would add every facet of ConvHull(0,a1,…,an)\mathrm{ConvHull}(0,a_1,\dots,a_n)ConvHull(0,a1​,…,an​) to the shadow, since 000 lies in every cone, and make the goal false. ang(q,∅)=∞\mathrm{ang}(q,\emptyset)=\inftyang(q,∅)=∞ is represented exactly in [0,∞][0,\infty][0,∞], never by a real infimum. Where the paper omits a hypothesis it uses, it is added and recorded in the item: the standing assumptions d≥3d\ge3d≥3, n>dn>dn>d and σ≤1/(3dln⁡n)\sigma\le1/(3\sqrt{d\ln n})σ≤1/(3dlnn​) (Lemma 4.2.3 is false without a bound on σ\sigmaσ), unit length of the reference vector qqq, s≥0s\ge0s≥0, and ε>0\varepsilon>0ε>0 for strict inequalities. Lemma 2.3.7 is stated with ≤\le≤ rather than the page's <<<, which fails in an edge case.

Infrastructure a complete development needs: Gaussian tail and chi-square estimates; faces and facets of convex hulls; the Blaschke change of variables and the latitude–longitude change of variables on the sphere (not in Mathlib); surface measure on Sd−1S^{d-1}Sd−1 (Mathlib's Measure.toSphere); and the disintegration of the joint law used in the combination lemma. The Gaussian estimates, the combination lemma and the Blaschke formula are useful beyond this mission. Proofs of any milestone, and of supporting lemmas such as the change-of-variables formulas, are welcome.

Selected references

  • D. A. Spielman, S.-H. Teng, Smoothed Analysis of Algorithms: Why the Simplex Algorithm Usually Takes Polynomial Time, arXiv:cs/0111050v7, 2003. https://arxiv.org/abs/cs/0111050v7
  • D. A. Spielman, S.-H. Teng, Smoothed analysis of algorithms: Why the simplex algorithm usually takes polynomial time, J. ACM 51(3):385–463, 2004. https://doi.org/10.1145/990308.990310
  • K. H. Borgwardt, The Simplex Method: A Probabilistic Analysis, Springer, 1987.
  • V. Klee, G. J. Minty, How good is the simplex algorithm?, in Inequalities III, Academic Press, 1972, 159–175.
  • A. Deshpande, D. A. Spielman, Improved smoothed analysis of the shadow vertex simplex method, FOCS 2005, 387–396.
  • R. Vershynin, Beyond Hirsch conjecture: walks on random polytopes and smoothed complexity of the simplex method, SIAM J. Comput. 39(2):646–678, 2009. https://doi.org/10.1137/070683386
  • D. Dadush, S. Huiberts, A friendly smoothed analysis of the simplex method, STOC 2018; arXiv:1711.05667. https://arxiv.org/abs/1711.05667
29 thms2 active usersReviewed
PreviousPage 22 of 44Next

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me