Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Operations Research

1,660 missions · 835 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

Open825Completed835All1660
Machine LearningOptimization·Captain: mikedeng1

Smart "Predict, then Optimize": Under a Continuous, Centrally Symmetric Cost Law Every Minimizer of the SPO+ Risk Equals E[c|x] and Minimizes the SPO RiskResearch Paper

Motivation

Many decisions are made before their objective coefficients are known. A planner may know the feasible decisions and the form of a linear optimization problem, but must predict its cost vector from available features. Squared prediction error measures how close a forecast is to the eventual coefficients; it need not measure the quality of the decision chosen with that forecast. Elmachtoub and Grigas define a loss based on the excess realized cost of the resulting decision, then introduce a convex surrogate, SPO+, for training prediction rules Elmachtoub and Grigas, 2020, §§2–3.

The central population question is whether minimizing the surrogate still selects predictions that minimize the decision loss when the full data distribution is available. Their Theorem 1 answers this under conditions on the feasible region and the conditional distribution of costs Elmachtoub and Grigas, 2020, p. 21. The result concerns the loss itself, before sample size, model capacity, or an algorithm for fitting a predictor enter the picture.

Setting

A feasible region S⊆RdS\subseteq\mathbb R^dS⊆Rd is nonempty, compact, and convex. Given a cost vector c∈Rdc\in\mathbb R^dc∈Rd, a decision w∈Sw\in Sw∈S incurs cost c⊤wc^\top wc⊤w. The nominal value, optimal-decision set, and support function are

z∗(c)=min⁡w∈Sc⊤w,W∗(c)=arg⁡min⁡w∈Sc⊤w,ξS(c)=max⁡w∈Sc⊤w.z^*(c)=\min_{w\in S}c^\top w,\qquad W^*(c)=\arg\min_{w\in S}c^\top w,\qquad \xi_S(c)=\max_{w\in S}c^\top w.z∗(c)=w∈Smin​c⊤w,W∗(c)=argw∈Smin​c⊤w,ξS​(c)=w∈Smax​c⊤w.

An optimization oracle w∗w^*w∗ returns one element of W∗(c)W^*(c)W∗(c) for each ccc, without a tie-breaking rule. For a predicted cost c^\hat cc^ and realized cost ccc, the unambiguous SPO loss uses the worst realized decision among all decisions optimal for the prediction:

ℓSPO(c^,c)=max⁡w∈W∗(c^)c⊤w−z∗(c).\ell_{\mathrm{SPO}}(\hat c,c) =\max_{w\in W^*(\hat c)}c^\top w-z^*(c).ℓSPO​(c^,c)=w∈W∗(c^)max​c⊤w−z∗(c).

This is Definition 2 of the paper. Its SPO+ loss, Definition 3, is

ℓSPO+(c^,c)=ξS(c−2c^)+2c^⊤w∗(c)−z∗(c).\ell_{\mathrm{SPO+}}(\hat c,c) =\xi_S(c-2\hat c)+2\hat c^\top w^*(c)-z^*(c).ℓSPO+​(c^,c)=ξS​(c−2c^)+2c^⊤w∗(c)−z∗(c).

The factor 222 is fixed by the paper's surrogate. Proposition 3 states that SPO+ upper-bounds SPO, is convex in c^\hat cc^, and has the explicit subgradient 2(w∗(c)−w∗(2c^−c))2(w^*(c)-w^*(2\hat c-c))2(w∗(c)−w∗(2c^−c)) Elmachtoub and Grigas, 2020, pp. 17–18.

Let xxx denote an observed feature, ν\nuν its probability law, and κx\kappa_xκx​ the conditional law of ccc given xxx. Their joint law is D=ν⊗κD=\nu\otimes\kappaD=ν⊗κ. A measurable predictor fff maps each xxx to a cost prediction f(x)f(x)f(x). The population risks RSPO(f)R_{\mathrm{SPO}}(f)RSPO​(f) and RSPO+(f)R_{\mathrm{SPO+}}(f)RSPO+​(f) are expectations over (x,c)∼D(x,c)\sim D(x,c)∼D of the corresponding losses at (f(x),c)(f(x),c)(f(x),c), as in displays (11) and (12) Elmachtoub and Grigas, 2020, p. 20. There is no prescribed parametric predictor class.

Formalization targets

Theorem 1: Fisher consistency of SPO+

Write m(x)=E[c∣x]m(x)=\mathbb E[c\mid x]m(x)=E[c∣x]. Under Assumption 1, the optimal-decision set W∗(m(x))W^*(m(x))W∗(m(x)) is a singleton for almost every xxx; each conditional law is centrally symmetric about m(x)m(x)m(x) and continuous on all of Rd\mathbb R^dRd; and SSS has nonempty interior. The goal says that every measurable minimizer fff of SPO+ population risk satisfies

f(x)=m(x)for ν-almost every x,RSPO(f)≤RSPO(g)for every measurable g.f(x)=m(x)\quad\text{for }\nu\text{-almost every }x, \qquad R_{\mathrm{SPO}}(f)\le R_{\mathrm{SPO}}(g) \quad\text{for every measurable }g.f(x)=m(x)for ν-almost every x,RSPO​(f)≤RSPO​(g)for every measurable g.

This is the paper's Fisher-consistency statement, including its stronger identification of every SPO+ minimizer with the conditional mean Elmachtoub and Grigas, 2020, Theorem 1. The goal does not assert that a minimizer exists.

Supporting propositions

The milestone list follows the paper's numbered results: Proposition 3's pointwise upper bound, convexity, and subgradient; Proposition 6's mean minimizer and uniqueness claims for a single cost law; and both directions of Proposition 5, which relate SPO risk minimizers to decisions optimal at the mean Elmachtoub and Grigas, 2020, pp. 18, 22–23. The single-law propositions have no feature variable.

Significance

Theorem 1 identifies a condition under which a convex training objective preserves the population target of the decision loss. Its identification statement is stronger than merely saying that one selected SPO+ minimizer is SPO-optimal: all SPO+ minimizers agree almost surely with conditional mean cost. The propositions isolate what this depends on. Proposition 6 concerns the surrogate risk, while Proposition 5 connects a prediction's optimal-decision set to the true risk.

The result was proved in the cited preprint and published in Management Science in 2022; this mission asks for a Lean proof of that known result, not a new consistency theorem. A completed development would provide reusable definitions for cost-based decision losses and a checked account of the distributional assumptions needed for uniqueness. The published oracle predicate is already available on the platform; the two losses, risks, and distributional predicates are introduced here.

Difficulty

The SPO loss may jump when a predicted cost admits more than one optimal decision. Its definition takes the maximum realized cost over that whole decision set. Consequently, showing that a prediction selects one mean-optimal decision does not by itself control the SPO loss; Proposition 5's converse requires a singleton set. The surrogate is convex but generally not differentiable, because the support function of SSS need not be differentiable. Establishing the unique population minimizer also depends on how the cost law covers the space: absolute continuity by itself permits a bounded-support law for which nearby predictions tie. These are substantive issues in moving from the single-cost-law statements to an almost-sure claim about measurable predictors Elmachtoub and Grigas, 2020, §4 and Appendix B.

Formalization scope

The code represents Rd\mathbb R^dRd by EuclideanSpace ℝ (Fin d) and c⊤wc^\top wc⊤w by its standard inner product. Every theorem assumes the paper's nonempty compact convex SSS. Real infima and suprema encode the attained minima and maxima on SSS. An oracle is an explicit parameter satisfying the published SPOBounds.Natarajan.IsOracle predicate; it is not given an extra measurability or tie-breaking assumption. The SPO loss is the paper's unambiguous Definition 2, which differs from the oracle-dependent loss in the published module.

Expected losses are extended nonnegative integrals, so an infinite risk remains infinite. Conditional costs are represented by a Markov kernel κ\kappaκ, and the joint law by ν⊗κ\nu\otimes\kappaν⊗κ. Integrability of costs makes the conditional and joint means finite. Central symmetry means equality of the conditional law with its reflection c↦2m(x)−cc\mapsto 2m(x)-cc↦2m(x)−c. Assumption 1.3, “continuous on all of Rd\mathbb R^dRd,” is pinned to absolute continuity with respect to Lebesgue measure and full support, meaning every nonempty open set has positive probability. This full-support condition is needed for Proposition 6(b)'s uniqueness claim: a continuous law confined to a small ball supplies a counterexample to the weaker reading.

The risks range over all measurable predictors, as display (12) requires. A Bochner integral for an arbitrary nonintegrable loss, a restricted hypothesis class, the oracle-dependent SPO loss of Definition 1, or absolute continuity without full support would change or trivialize the target. Contributions to the support-function, measurable-risk, and conditional-law infrastructure are useful beyond this mission; the seven numbered proposition parts provide its immediate formalization targets.

Selected references

  • A. N. Elmachtoub and P. Grigas, Smart “Predict, then Optimize”, arXiv:1710.08005v5, 2020; published in Management Science 68(1), 2022. Preprint
10 thms1 active userReviewed
Algorithmic Game TheoryOptimizationTheoretical Computer Science·Captain: mikedeng1

Assortment Optimisation Under a General Discrete Choice Model: A Tight Analysis of Revenue-Ordered Assortments IV: Uniform Pricing Earns OPT/(1 + ln(v_m/v_1)) in Unit-Demand Min-PricingResearch Paper

Pricing with unit-demand consumers

A seller with nnn distinct items faces mmm consumers, each of whom wants at most one item. Choosing item prices to maximise revenue in this setting is the unit-demand envy-free pricing problem, introduced by Rusmevichientong and studied in algorithmic game theory and revenue management since the mid-2000s. Optimal prices are hard to compute in general, so the guarantees of simple pricing rules matter. The simplest such rule is uniform pricing: put one price qqq on every item and choose qqq to maximise revenue.

Aggarwal, Feder, Motwani and Zhu (ICALP 2004) and Guruswami, Hartline, Karlin, Kempe, Kenyon and McSherry (SODA 2005) analysed uniform pricing; in the min-buying model it recovers a 1/(1+ln⁡m)1/(1+\ln m)1/(1+lnm) fraction of the optimum, a bound Berbeglia and Joret attribute to Aggarwal et al. Berbeglia and Joret (arXiv:1606.01371, Algorithmica 2020) observed that the min-buying problem is a special case of assortment optimisation under a regular discrete choice model, and that uniform pricing then coincides with the revenue-ordered assortments heuristic. Their general guarantee for that heuristic yields a second bound for uniform pricing, in terms of the spread of the valuations rather than the number of consumers. This mission formalizes that bound (Corollary 4.7) together with the reduction it rests on (Theorem 4.6).

Setting

Unit-demand min-pricing (UDPmin⁡\mathrm{UDP}_{\min}UDPmin​). There are items [n][n][n] and consumers [m][m][m], m≥1m\ge 1m≥1. Consumer iii is interested in a set Bi⊆[n]B_i\subseteq[n]Bi​⊆[n] and has a valuation vi>0v_i>0vi​>0. Given a price assignment p:[n]→R>0p:[n]\to\mathbb R_{>0}p:[n]→R>0​, consumer iii buys a cheapest item of BiB_iBi​ if its price is at most viv_ivi​, and nothing otherwise. The seller's revenue is

revUDP(p)=∑i: Bi≠∅, min⁡x∈Bip(x)≤vi min⁡x∈Bip(x),\mathrm{rev}_{\mathrm{UDP}}(p)=\sum_{i:\ B_i\ne\emptyset,\ \min_{x\in B_i}p(x)\le v_i}\ \min_{x\in B_i}p(x),revUDP​(p)=i: Bi​=∅, minx∈Bi​​p(x)≤vi​∑​ x∈Bi​min​p(x),

the optimum is OPTUDP=sup⁡p>0revUDP(p)\mathrm{OPT}_{\mathrm{UDP}}=\sup_{p>0}\mathrm{rev}_{\mathrm{UDP}}(p)OPTUDP​=supp>0​revUDP​(p), and uniform pricing earns UP=sup⁡q>0revUDP(q,…,q)\mathrm{UP}=\sup_{q>0}\mathrm{rev}_{\mathrm{UDP}}(q,\dots,q)UP=supq>0​revUDP​(q,…,q). Write vmax⁡=vmv_{\max}=v_mvmax​=vm​ and vmin⁡=v1v_{\min}=v_1vmin​=v1​ for the extreme valuations.

Regular choice models. A finite product set C\mathcal CC carries choice probabilities P(x,S)\mathcal P(x,S)P(x,S) for x∈Cx\in\mathcal Cx∈C, S⊆CS\subseteq\mathcal CS⊆C, with no-purchase probability P(0,S)=1−∑x∈SP(x,S)\mathcal P(0,S)=1-\sum_{x\in S}\mathcal P(x,S)P(0,S)=1−∑x∈S​P(x,S). The model is regular if (i) all probabilities are nonnegative, (ii) P(x,S)=0\mathcal P(x,S)=0P(x,S)=0 for x∉Sx\notin Sx∈/S, (iii) ∑x∈SP(x,S)≤1\sum_{x\in S}\mathcal P(x,S)\le1∑x∈S​P(x,S)≤1, and (iv) P(x,S)≥P(x,S′)\mathcal P(x,S)\ge\mathcal P(x,S')P(x,S)≥P(x,S′) for S⊆S′S\subseteq S'S⊆S′ and every x∈S∪{0}x\in S\cup\{0\}x∈S∪{0}. With revenues r:C→R>0r:\mathcal C\to\mathbb R_{>0}r:C→R>0​, an assortment earns rev(S)=∑x∈SP(x,S)r(x)\mathrm{rev}(S)=\sum_{x\in S}\mathcal P(x,S)r(x)rev(S)=∑x∈S​P(x,S)r(x) and OPT=max⁡Srev(S)\mathrm{OPT}=\max_S\mathrm{rev}(S)OPT=maxS​rev(S). If r1<⋯<rkr_1<\dots<r_kr1​<⋯<rk​ are the distinct revenues and Si={x:r(x)≥ri}S_i=\{x: r(x)\ge r_i\}Si​={x:r(x)≥ri​}, revenue-ordered assortments earn RO=max⁡irev(Si)\mathrm{RO}=\max_i\mathrm{rev}(S_i)RO=maxi​rev(Si​).

The reduction. From a UDPmin⁡\mathrm{UDP}_{\min}UDPmin​ instance the paper builds C=[n]×{v1,…,vm}\mathcal C=[n]\times\{v_1,\dots,v_m\}C=[n]×{v1​,…,vm​}, r((x,v))=m vr((x,v))=m\,vr((x,v))=mv, and P=1m∑iPi\mathcal P=\frac1m\sum_i\mathcal P_iP=m1​∑i​Pi​, where Pi\mathcal P_iPi​ spreads probability one over the set Qi(S)Q_i(S)Qi​(S) of pairs (x,v)∈S(x,v)\in S(x,v)∈S with x∈Bix\in B_ix∈Bi​, v≤viv\le v_iv≤vi​ and vvv minimal among the pairs of SSS whose item lies in BiB_iBi​.

Formalization targets

Goal: Corollary 4.7

OPTUDP ≤ (1+ln⁡vmax⁡vmin⁡)⋅UP.\mathrm{OPT}_{\mathrm{UDP}}\ \le\ \Big(1+\ln\frac{v_{\max}}{v_{\min}}\Big)\cdot\mathrm{UP}.OPTUDP​ ≤ (1+lnvmin​vmax​​)⋅UP.

The bound is the paper's "approximates the optimum revenue to within a factor of 1/(1+ln⁡ρ)1/(1+\ln\rho)1/(1+lnρ), ρ:=vm/v1\rho:=v_m/v_1ρ:=vm​/v1​", stated in product form.

Milestones

  1. Lemma 4.5. Some optimal price assignment takes only valuations as prices; in particular OPTUDP\mathrm{OPT}_{\mathrm{UDP}}OPTUDP​ is attained.
  2. Regularity of the reduction's choice model (proof of Theorem 4.6, pp. 17–18).
  3. Assortments to prices: rev(S)=revUDP(pS)\mathrm{rev}(S)=\mathrm{rev}_{\mathrm{UDP}}(p_S)rev(S)=revUDP​(pS​) with pS(x)=min⁡{v:(x,v)∈S}p_S(x)=\min\{v:(x,v)\in S\}pS​(x)=min{v:(x,v)∈S} (p. 19).
  4. Prices to assortments: for valuation-valued ppp, rev(Sp)=revUDP(p)\mathrm{rev}(S_p)=\mathrm{rev}_{\mathrm{UDP}}(p)rev(Sp​)=revUDP​(p) with Sp={(x,v):v≥p(x)}S_p=\{(x,v): v\ge p(x)\}Sp​={(x,v):v≥p(x)} (p. 19).
  5. Theorem 4.6 for the explicit instance: regularity, positive revenues, equal optima, and the two-way correspondence between threshold sets and uniform valuation prices.
  6. Theorem 3.2 for an arbitrary regular model:
OPT≤(∑i=1kri−ri−1ri)RO,∑i=1kri−ri−1ri≤1+ln⁡rkr1,r0:=0.\mathrm{OPT}\le\Big(\sum_{i=1}^k\frac{r_i-r_{i-1}}{r_i}\Big)\mathrm{RO},\qquad \sum_{i=1}^k\frac{r_i-r_{i-1}}{r_i}\le 1+\ln\frac{r_k}{r_1},\qquad r_0:=0.OPT≤(i=1∑k​ri​ri​−ri−1​​)RO,i=1∑k​ri​ri​−ri−1​​≤1+lnr1​rk​​,r0​:=0.

Significance

The corollary gives a uniform-pricing guarantee that is independent of the number of consumers and items: when valuations lie within a factor ρ\rhoρ of each other, a single price recovers a 1/(1+ln⁡ρ)1/(1+\ln\rho)1/(1+lnρ) fraction of the optimum, which improves on 1/(1+ln⁡m)1/(1+\ln m)1/(1+lnm) whenever ρ<m\rho<mρ<m. More broadly, Theorem 4.6 places UDPmin⁡\mathrm{UDP}_{\min}UDPmin​ inside the class of regular choice models, so every guarantee proved for revenue-ordered assortments under regularity transfers to uniform pricing.

All results here are proved in the paper. Nothing in this mission is formalized elsewhere as far as a search of the platform shows: there is no regular choice model, no UDPmin⁡\mathrm{UDP}_{\min}UDPmin​ problem and no revenue-ordered guarantee on Prove2Me. The mission produces the reduction as reusable infrastructure, a machine-checked version of the paper's Lemma 4.5 (whose appendix proof is an informal repair argument), and the first formal guarantee for uniform pricing.

Difficulty

The reduction is where the work sits. Regularity hinges on the no-purchase case of axiom (iv): enlarging an assortment can only make QiQ_iQi​ nonempty, never empty, and this must be checked for the specific sets Qi(S)Q_i(S)Qi​(S) whose definition depends on the whole of SSS. The revenue identities require tracking the minimum over BiB_iBi​ of a price function obtained from an assortment, including items absent from SSS, which receive the paper's "+∞+\infty+∞" price. Lemma 4.5 is needed to make the optimum of the uncountable pricing problem coincide with that of a finite assortment problem, and the statement is about a supremum over a continuum of price vectors whose attainment is not obvious. Theorem 3.2 has to relate the optimum to threshold sets of an arbitrary regular model, where products may share revenues and the optimal assortment need not be a threshold set.

The naive route of comparing uniform pricing to the optimum directly, consumer by consumer, does not give a bound in terms of vm/v1v_m/v_1vm​/v1​; the reduction to a regular model is what supplies it.

Formalization scope

  • Items and consumers are finite types X and M, with Nonempty M (m≥1m\ge1m≥1). Valuations satisfy vi>0v_i>0vi​>0 as a field of the instance; the paper says "non-negative", but its reduction (r=m v>0r=m\,v>0r=mv>0) and its ratio vm/v1v_m/v_1vm​/v1​ need positivity.
  • A consumer with Bi=∅B_i=\emptysetBi​=∅ pays 000. Ties among cheapest items do not affect payments, so payments are defined directly.
  • OPTUDP\mathrm{OPT}_{\mathrm{UDP}}OPTUDP​ and UP\mathrm{UP}UP are real suprema over positive price assignments and positive uniform prices; both index sets are nonempty and the revenues are bounded by ∑ivi\sum_i v_i∑i​vi​. Uniform pricing ranges over all q>0q>0q>0, not only valuations.
  • The no-purchase option is not a product: it is P(0,S)=1−∑x∈SP(x,S)\mathcal P(0,S)=1-\sum_{x\in S}\mathcal P(x,S)P(0,S)=1−∑x∈S​P(x,S), and regularity includes axiom (iv) for it. OPT is a maximum over all Finset C; RO is a maximum over the kkk threshold sets only. Distinct revenues are sorted 0-based (Fin k), with r0=0r_0=0r0​=0 handled as a separate case.
  • The paper's +∞+\infty+∞ price for pSp_SpS​ is the real 1+∑ivi1+\sum_i v_i1+∑i​vi​, which exceeds every valuation, as its Remark on p. 18 allows. The valuation set collapses equal valuations.
  • Approximation factors are in product form, OPT≤D⋅RO\mathrm{OPT}\le D\cdot\mathrm{RO}OPT≤D⋅RO; ln⁡\lnln is Real.log applied to ratios ≥1\ge1≥1.
  • Trivializing readings are excluded: Theorem 4.6 is stated for the explicit instance of its proof, not as the bare existence of a regular instance with the same optimum (a single product of revenue OPTUDP\mathrm{OPT}_{\mathrm{UDP}}OPTUDP​ would satisfy that); OPTUDP\mathrm{OPT}_{\mathrm{UDP}}OPTUDP​ ranges over all positive price assignments, not uniform ones; valuations are positive, so no logarithm takes a junk value.
  • Theorem 3.2 is restated here for this mission's copy of the regular model; it is also the goal of mission I of this series. Reusable pieces: the regular choice model and revenue-ordered value, and the UDPmin⁡\mathrm{UDP}_{\min}UDPmin​ model. Contributions of any milestone, and alternative proofs of Lemma 4.5, are welcome.

Selected references

  • G. Berbeglia and G. Joret, Assortment Optimisation Under a General Discrete Choice Model: A Tight Analysis of Revenue-Ordered Assortments, arXiv:1606.01371v3, 2019; Algorithmica 82 (2020). https://arxiv.org/abs/1606.01371
  • G. Aggarwal, T. Feder, R. Motwani and A. Zhu, Algorithms for multi-product pricing, ICALP 2004. https://doi.org/10.1007/978-3-540-27836-8_8
  • V. Guruswami, J. D. Hartline, A. R. Karlin, D. Kempe, C. Kenyon and F. McSherry, On profit-maximizing envy-free pricing, SODA 2005. https://dl.acm.org/doi/10.5555/1070432.1070598
  • P. Rusmevichientong, B. Van Roy and P. W. Glynn, A nonparametric approach to multiproduct pricing, Operations Research 54(1), 2006. https://doi.org/10.1287/opre.1050.0236
  • A. Aouad, V. Farias, R. Levi and D. Segev, The approximability of assortment optimization under ranking preferences, Operations Research 66(6), 2018. https://doi.org/10.1287/opre.2018.1754
12 thms1 active userReviewed
Bandit AlgorithmsMachine LearningProbability·Captain: mikedeng1

MNL-Bandit: A Dynamic Learning Approach to Assortment Selection II: Under a K-Cardinality Constraint Every Policy Has Regret at Least C√(NT/K)Research Paper

Motivation

A retailer with a large catalogue but a limited display (a web page, a shelf, a search result) must decide which assortment of products to show each arriving customer. Customers choose among the displayed products or leave without buying, and the retailer does not know their preferences in advance; it learns them only from the purchases it observes. This is the MNL-Bandit problem of Agrawal, Avadhanula, Goyal and Zeevi (arXiv:1706.03880v2; Operations Research 67(5), 2019), in which customer choices follow the multinomial logit model, the workhorse of revenue management and marketing.

The same paper gives an epoch-based upper-confidence-bound policy whose regret is at most of order NTlog⁡NT\sqrt{NT\log NT}NTlogNT​ (its Theorem 1). This mission formalizes the matching lower bound, the paper's Theorem 2: under a constraint that at most KKK products be displayed, no policy can have regret smaller than order NT/K\sqrt{NT/K}NT/K​ on every instance. Lower bounds of this kind are what certify that an algorithm is near-optimal rather than merely good.

Timeline. The square-root lower bound for NNN-armed bandits goes back to Auer, Cesa-Bianchi, Freund and Schapire (2002), presented in the survey of Bubeck and Cesa-Bianchi (arXiv:1204.5721, 2012). Rusmevichientong, Shen and Shmoys (2010) and Sauré and Zeevi (2013) minimized regret under MNL choice with explore-then-exploit policies, obtaining O(N2log⁡2T)O(N^2\log^2T)O(N2log2T) and O(Nlog⁡T)O(N\log T)O(NlogT) bounds for instances whose best and second-best assortments are well separated. Agrawal et al. (2017–2019) proved the instance-independent Ω(NT/K)\Omega(\sqrt{NT/K})Ω(NT/K​) lower bound formalized here; Chen and Wang (2017) later obtained Ω(NT)\Omega(\sqrt{NT})Ω(NT​) when K<N/4K<N/4K<N/4.

Setting

There are nnn products. An instance consists of a no-purchase weight v0>0v_0>0v0​>0, attraction parameters v1,…,vnv_1,\dots,v_nv1​,…,vn​ with 0≤vi≤v00\le v_i\le v_00≤vi​≤v0​, and revenues ri∈[0,1]r_i\in[0,1]ri​∈[0,1]. At each period t=1,…,Tt=1,\dots,Tt=1,…,T the seller offers an assortment St⊆{1,…,n}S_t\subseteq\{1,\dots,n\}St​⊆{1,…,n} and observes a choice ct∈St∪{0}c_t\in S_t\cup\{0\}ct​∈St​∪{0}, where 000 means no purchase. Under the multinomial logit (MNL) model,

pi(S)=viv0+∑j∈Svj(i∈S∪{0}),pi(S)=0 otherwise,p_i(S)=\frac{v_i}{v_0+\sum_{j\in S}v_j}\quad(i\in S\cup\{0\}),\qquad p_i(S)=0\ \text{otherwise},pi​(S)=v0​+∑j∈S​vj​vi​​(i∈S∪{0}),pi​(S)=0 otherwise,

and choices are independent across periods given the offered sets. The expected revenue of SSS is R(S,v)=∑i∈Srivi/(v0+∑j∈Svj)R(S,v)=\sum_{i\in S}r_iv_i/(v_0+\sum_{j\in S}v_j)R(S,v)=∑i∈S​ri​vi​/(v0​+∑j∈S​vj​).

A policy chooses StS_tSt​ from the past assortments and choices, possibly at random. It satisfies the KKK-cardinality constraint if ∣St∣≤K|S_t|\le K∣St​∣≤K always. Its regret over TTT periods is

Regπ(T,v)=Eπ(∑t=1TR(S∗,v)−R(St,v)),\mathrm{Reg}_\pi(T,v)=\mathbb E_\pi\Big(\sum_{t=1}^{T}R(S^*,v)-R(S_t,v)\Big),Regπ​(T,v)=Eπ​(t=1∑T​R(S∗,v)−R(St​,v)),

where S∗S^*S∗ maximizes R(⋅,v)R(\cdot,v)R(⋅,v) over assortments of at most KKK products.

A randomized instance is a probability distribution over instances with common known revenues and a common no-purchase weight; the regret against it is averaged over the hidden attraction parameters, the choices and the policy's randomization.

Formalization targets

Goal: Theorem 2 (p. 14)

There is an absolute constant C>0C>0C>0 such that for all n≥2n\ge2n≥2, 1≤K≤n1\le K\le n1≤K≤n and T≥nT\ge nT≥n there is a finitely supported randomized instance, chosen before the policy, such that every policy π\piπ respecting the KKK-cardinality constraint satisfies

Ev[Regπ(T,v)]≥CnTK.\mathbb E_{v}\big[\mathrm{Reg}_\pi(T,v)\big]\ge C\sqrt{\frac{nT}{K}} .Ev​[Regπ​(T,v)]≥CKnT​​.

The constant is not fixed; any positive value suffices.

Milestones

The paper proves Theorem 2 in two cases.

  1. Lemma E.1 (p. 57): the Bernoulli divergence bound kl(α,α+ϵ)≤4ϵ2/α\mathrm{kl}(\alpha,\alpha+\epsilon)\le 4\epsilon^2/\alphakl(α,α+ϵ)≤4ϵ2/α in the direction used by Lemma E.2.
  2. Lemma E.2 (p. 57): for a guessing algorithm on N≥12N\ge12N≥12 coins and t≤Nα/(60ϵ2)t\le N\alpha/(60\epsilon^2)t≤Nα/(60ϵ2), at least N/3N/3N/3 hiding places jjj of the biased coin have Pj(at=j)≤1/2\mathcal P_j(a_t=j)\le 1/2Pj​(at​=j)≤1/2.
  3. Lemma 5.1 (p. 15): on the Bernoulli instance IMABI_{\mathrm{MAB}}IMAB​ with ϵ=1100Nα/T\epsilon=\frac1{100}\sqrt{N\alpha/T}ϵ=1001​Nα/T​, every online algorithm has expected regret at least ϵT/6\epsilon T/6ϵT/6.
  4. Lemma E.4 (p. 60): one period of MNL feedback on the instance I^MNL\hat I_{\mathrm{MNL}}I^MNL​, where ϵ=1/(32T)\epsilon=\sqrt{1/(32T)}ϵ=1/(32T)​, has divergence at most 4ϵ24\epsilon^24ϵ2.
  5. Lemma E.5 (p. 61): over TTT periods the two choice laws of that instance have divergence at most 4Tϵ24T\epsilon^24Tϵ2.

Items 1–3 serve the case K<nK<nK<n, which the paper reduces to a multi-armed bandit through the instance IMNLI_{\mathrm{MNL}}IMNL​ of Definition 5.2 (NKNKNK products in NNN groups of KKK, one hidden group with larger attraction). Items 4–5 serve the case K=nK=nK=n through the two-point instance I^MNL\hat I_{\mathrm{MNL}}I^MNL​ of Definition E.1.

Significance

The theorem shows that the T\sqrt{T}T​ growth of regret in assortment learning cannot be improved, and that the dependence on the number of products is polynomial: when the display size KKK is fixed, the UCB policy of the same paper is optimal up to logarithmic factors (Remark 4). It separates what learning under the MNL model costs from what the combinatorics of the assortment adds, and the reduction it uses, simulating an assortment algorithm inside a bandit algorithm, is reusable for other choice-model bandits.

The result is proved in the paper, with its proof in Appendix E. To our knowledge neither the theorem nor its lemmas have been machine-checked. A formal proof has to repair several printed slips: Lemma 5.1's hypotheses do not exclude α\alphaα close to 111, where the bound fails; the proof of Lemma E.2 uses a form of Pinsker's inequality with a wrong constant; Lemma E.1 states one direction of the divergence and computes the other; and the constants of the K=NK=NK=N case do not match. The formal statements here carry the corrected hypotheses, each disclosed in its note.

Difficulty

The obvious argument fails at the reduction. The bandit lower bound is a statement about algorithms that pull one arm per round, while an assortment policy offers KKK products at once and sees a choice among them. Transferring the bound requires simulating MNL feedback from Bernoulli coins (Algorithm 2 of the paper), whose loop has a random length, and then relating the regret of the simulated assortment algorithm over a random number of calls to the bandit regret over TTT pulls. The paper does this in expectation, and the constants have to be tracked through the random horizon.

A second difficulty is that the lower bound must hold for every policy, including randomized ones, against a single randomized instance fixed in advance. Bounding the regret of each deterministic policy separately is not enough unless the instance does not depend on the policy, which the statement requires. The change-of-measure steps (Lemmas E.2 and E.5) need a chain rule for the divergence between laws of adaptively generated histories.

Formalization scope

Products, periods and arms are 0-based (Fin n); a choice is Option (Fin n) with none the no-purchase alternative. Histories have finite length TTT, laws of histories are explicit products of policy weights and MNL (or Bernoulli) probabilities, and every expectation is a finite sum, so no measurability or integrability side conditions arise. The no-purchase weight v0v_0v0​ is explicit (Definition 5.2 has v0=Kv_0=Kv0​=K). R(S∗,v)R(S^*,v)R(S∗,v) is a maximum over the finite, nonempty family {S:∣S∣≤K}\{S:|S|\le K\}{S:∣S∣≤K}.

Policies are behavioural: at every history they give a probability vector over assortments, which by Kuhn's theorem covers the paper's admissible policies with external randomization. The randomized instance is a finite list of instances with nonnegative weights summing to one; every support point has the same revenues and no-purchase weight, which are known to the seller. The quantifiers are in the paper's order: the constant first, then n,K,Tn,K,Tn,K,T, then the randomized instance, then every policy. A formalization with the policy quantified before the instance, with C=0C=0C=0 allowed, with varying known revenues across hidden support points, or with only deterministic policies, would be weaker and is ruled out.

Hypotheses added to the printed statements: n≥2n\ge2n≥2 and K≥1K\ge1K≥1 in Theorem 2 (the claim fails for n=1n=1n=1 and K=0K=0K=0); 0<α0<\alpha0<α, 0<ϵ0<\epsilon0<ϵ, α+ϵ≤3/4\alpha+\epsilon\le3/4α+ϵ≤3/4 in Lemma E.1; 0<α0<\alpha0<α, 0<ϵ0<\epsilon0<ϵ, 2α+ϵ≤12\alpha+\epsilon\le12α+ϵ≤1 in Lemma E.2; 0<α0<\alpha0<α, 2α+ϵ≤12\alpha+\epsilon\le12α+ϵ≤1, T≥1T\ge1T≥1 in Lemma 5.1. Lemmas E.4 and E.5 use Definition E.1's ϵ=1/(32T)\epsilon=\sqrt{1/(32T)}ϵ=1/(32T)​, with T≥1T\ge1T≥1 and n≥2n\ge2n≥2 so the instance is defined. Lemma E.5 is stated, as in its proof, for deterministic policies.

The development reuses three published definitions: the MNL revenue ChoiceCDLP.MNL.mnlObjective, the Bernoulli divergence RegretBandits.Stochastic.klBern, and the discrete Kullback–Leibler divergence FoundationsRL.GeneralDM.klDivDiscrete (valued in [0,∞][0,\infty][0,∞]). Proved platform results useful to solvers include Pinsker's inequality (BanditAlgorithm.pinsker_inequality_total_variation), the Bernoulli bound d(p,q)≤(q−p)2/(p(2−p−q))d(p,q)\le(q-p)^2/(p(2-p-q))d(p,q)≤(q−p)2/(p(2−p−q)) (BanditAlgorithm.bernoulli_relative_entropy_le_sq_div_of_add_le_one) and a divergence decomposition for bandits. A chain rule for the divergence of finite adaptive histories, and a formal version of the simulation of Algorithm 2, would be reusable beyond this mission; both are welcome as supporting lemmas.

Selected references

  • S. Agrawal, V. Avadhanula, V. Goyal, A. Zeevi, MNL-Bandit: A Dynamic Learning Approach to Assortment Selection, Operations Research 67(5):1453–1485, 2019; preprint arXiv:1706.03880v2. https://arxiv.org/abs/1706.03880 — DOI https://doi.org/10.1287/opre.2018.1832
  • S. Bubeck, N. Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems, Foundations and Trends in Machine Learning 5(1), 2012. https://arxiv.org/abs/1204.5721
  • P. Auer, N. Cesa-Bianchi, Y. Freund, R. E. Schapire, The Nonstochastic Multiarmed Bandit Problem, SIAM Journal on Computing 32(1), 2002. https://doi.org/10.1137/S0097539701398375
  • D. Sauré, A. Zeevi, Optimal Dynamic Assortment Planning with Demand Learning, Manufacturing & Service Operations Management 15(3), 2013. https://doi.org/10.1287/msom.2013.0429
  • X. Chen, Y. Wang, A Note on a Tight Lower Bound for MNL-Bandit Assortment Selection Models, arXiv:1709.06109, 2017. https://arxiv.org/abs/1709.06109
12 thms1 active userReviewed
Dynamic ProgrammingLinear OptimizationOptimization·Captain: mikedeng1

Economic Lot Sizing: An O(n log n) Algorithm That Runs in Linear Time in the Wagner-Whitin Case 2: The Greedy Forward Dual Solution Is Optimal and Its Value Is the Lot-Sizing CostResearch Paper

Motivation

Economic lot sizing asks when to produce goods across a finite planning horizon when demand in each period is known. Producing in a period incurs a fixed setup charge and a marginal cost per unit, while goods may be produced before the period in which they are needed. Such a decision has to balance paying another setup charge against producing more units earlier. The model is a standard setting for studying how dynamic programming and linear optimization describe the same planning decision. Wagelmans, Van Hoesel and Kolen study faster algorithms for this model and, in Section 4, connect the optimal lot-sizing cost to a greedy solution of a dual program Wagelmans et al. (1992).

The dual connection is useful in its own right. It supplies a certificate for the cost returned by the forward dynamic program: a feasible dual vector attains that cost. The paper allows demand to vanish in some periods, which makes the dual values at those periods free and forces care in defining the dynamic program. The mission targets precisely that case.

Setting

There are periods 1,…,n1,\ldots,n1,…,n. Demand dtd_tdt​ and setup cost fif_ifi​ are nonnegative for the periods in the horizon. The marginal production cost cic_ici​ is any real number. Write di,j=∑t=ijdtd_{i,j}=\sum_{t=i}^j d_tdi,j​=∑t=ij​dt​ for cumulative demand from iii through jjj. Values at period zero and beyond the horizon are bookkeeping only; every optimization constraint concerns periods 1,…,n1,\ldots,n1,…,n.

The forward lot-sizing cost F(j)F(j)F(j) describes the least cost of serving periods 1,…,j1,\ldots,j1,…,j under the zero-inventory property cited by the paper. Its recursion starts with F(0)=0F(0)=0F(0)=0. If dj=0d_j=0dj​=0, no new production is needed and F(j)=F(j−1)F(j)=F(j-1)F(j)=F(j−1). If dj>0d_j>0dj​>0, the last production setup may occur at some i≤ji\le ji≤j, giving

F(j)=min⁡1≤i≤j(fi+cidi,j+F(i−1)).F(j)=\min_{1\le i\le j}\bigl(f_i+c_i d_{i,j}+F(i-1)\bigr).F(j)=1≤i≤jmin​(fi​+ci​di,j​+F(i−1)).

This piecewise definition matters even when only one period has zero demand. Taking the displayed minimum at dj=0d_j=0dj​=0 would charge a setup that need not occur.

Program D′ chooses free real values v1,…,vnv_1,\ldots,v_nv1​,…,vn​ to maximize ∑t=1ndtvt\sum_{t=1}^n d_tv_t∑t=1n​dt​vt​, subject to

∑t=indtmax⁡{0,vt−ci}≤fi(1≤i≤n).\sum_{t=i}^n d_t\max\{0,v_t-c_i\}\le f_i \qquad(1\le i\le n).t=i∑n​dt​max{0,vt​−ci​}≤fi​(1≤i≤n).

“Free” means there is no nonnegativity constraint on vtv_tvt​. The paper obtains D′ from the dual of the linear relaxation of its simple plant location formulation, using the variables of Formulation III Wagelmans et al., pp. S147, S152–S153. The mission takes D′ as the defined optimization problem.

The greedy forward rule visits periods in increasing order. At a period with dj>0d_j>0dj​>0, the chosen value is the minimum of the upper bounds left by the constraints indexed i≤ji\le ji≤j:

vj=min⁡1≤i≤j(ci+fi−∑t=ij−1dtmax⁡{0,vt−ci}dj).v_j=\min_{1\le i\le j} \left(c_i+\frac{f_i-\sum_{t=i}^{j-1}d_t\max\{0,v_t-c_i\}}{d_j}\right).vj​=1≤i≤jmin​(ci​+dj​fi​−∑t=ij−1​dt​max{0,vt​−ci​}​).

When dj=0d_j=0dj​=0, the rule places no restriction on vjv_jvj​. This matches the paper's statement that it may be assigned an arbitrary value. One concrete recursive vector in the definitions sets each such value to zero, but the goal covers every assignment.

Formalization targets

The goal says that every vector satisfying the greedy rule is feasible for D′, agrees with the dynamic-programming cost at every prefix, and is optimal among all feasible D′ vectors:

∑t=1jdtvt=F(j)(1≤j≤n),∑t=1ndtut≤∑t=1ndtvtfor every feasible u.\sum_{t=1}^j d_tv_t=F(j)\quad(1\le j\le n), \qquad \sum_{t=1}^n d_tu_t\le\sum_{t=1}^n d_tv_t \quad\text{for every feasible }u.t=1∑j​dt​vt​=F(j)(1≤j≤n),t=1∑n​dt​ut​≤t=1∑n​dt​vt​for every feasible u.

The milestone path follows the Section 4 statements: feasibility of the greedy vector; decreasing greedy values across positive-demand periods; the prefix upper bound for any feasible dual vector; and Equation (2), which expresses a greedy prefix value using a minimizing production period. Equation (2) is stated with the induction hypothesis that appears immediately before it in the paper. The goal combines these claims without treating the desired value identity as a hypothesis.

Significance

The result identifies a dual certificate whose value matches the forward lot-sizing cost. It also explains why a greedy forward assignment can solve D′ despite each constraint linking the current value with all later periods. The full-horizon identity recovers the cost F(n)F(n)F(n), and the comparison with every feasible vector makes the word “optimal” precise. The paper additionally says that this dual computation directly provides an optimal primal solution; this mission does not encode that reconstruction because it would require the primal formulation and its correspondence to FFF Wagelmans et al., p. S153.

A formal proof would provide a reusable finite-horizon certificate theorem for this dual formulation and a careful treatment of empty and zero-demand prefixes. The paper's result is already proved mathematically. The Lean files in this proposal state the goal and its milestones; their theorem proofs remain to be supplied by solvers. Related platform goals about the convex hull of other lot-sizing formulations and the Federgruen–Tzur forward algorithm concern different objects, so they are credited as neighboring work rather than imported as this theorem.

Difficulty

A current greedy value is limited by every earlier production index, and feasibility must still hold for the entire horizon, not merely for the constraints truncated at the current period. Equality with F(j)F(j)F(j) also has to survive periods with zero demand, where the dual coordinate is unrestricted but its weighted contribution vanishes. The forward recurrence has a separate branch at exactly those periods. A formulation that assumes every demand is strictly positive would avoid the delicate case and would miss a feature the authors explicitly retain.

Formalization scope

Lean represents the horizon by natural-number indices 1,…,n1,\ldots,n1,…,n and the demand, setup, marginal-cost and dual sequences by functions N→R\mathbb N\to\mathbb RN→R. Finite sums use closed intervals; the sum before period jjj uses [i,j)[i,j)[i,j), so it is empty when i=ji=ji=j. Minima are over the nonempty finite set {1,…,j}\{1,\ldots,j\}{1,…,j}, only when j≥1j\ge1j≥1. The horizon n=0n=0n=0 has empty sums and no constraints. The cost and dual values are real, with no sign condition on cic_ici​ or viv_ivi​.

Several informal phrases are made explicit. “The solution is feasible” means every D′ constraint through nnn holds. “Optimal” includes feasibility, every prefix identity, and comparison with every feasible dual vector. “Can be given an arbitrary value” is represented by no greedy-rule condition at zero demand; the theorem quantifies over all vectors that satisfy the positive-demand conditions. The paper states monotonicity for consecutive nonzero-demand periods; the milestone uses any two positive-demand periods, skipping zero-demand positions so it holds for every choice of their dual values. The weak-duality milestone spells out the paper's reference to “duality and the structure of D′” as an inequality for each feasible vector and prefix.

The identification of FFF with the optimum of the primal lot-sizing model relies on the zero-inventory property cited by the authors and is not separately formalized. Neither the equivalence of Program D and D′ nor the recovery of a primal production plan is an item here. The paper's running-time claims, including O(n2)O(n^2)O(n2) for the greedy forward algorithm and O(nlog⁡n)O(n\log n)O(nlogn) for its backward algorithm, are outside the scope: the paper does not fix a machine model or constants for them. A definition of FFF as the optimum of D′ would make the value identity circular; the proposal defines it by the paper's forward recursion instead. The backward algorithm of pp. S153–S155 belongs to a separate development.

Selected references

  • A. Wagelmans, S. Van Hoesel and A. Kolen, Economic Lot Sizing: An O(n log n) Algorithm That Runs in Linear Time in the Wagner-Whitin Case, Operations Research 40, Supplement 1, 1992, S145–S156. DOI
7 thms1 active userReviewed
Computational GeometryDynamic ProgrammingOptimization·Captain: mikedeng1

Economic Lot Sizing: An O(n log n) Algorithm That Runs in Linear Time in the Wagner-Whitin Case 1: The Threshold Rule on Efficient Periods Picks an Optimal Next Production PeriodResearch Paper

Motivation

Economic lot sizing asks how to meet a known sequence of demands while deciding when to set up production and how much to carry forward. It is a basic deterministic inventory problem: a setup has a fixed cost, production has a per-unit cost, and inventory may be held for later demand. Recomputing every possible next production period in the standard backward dynamic program takes a quadratic number of candidate comparisons. Wagelmans, Van Hoesel and Kolen use the geometry of cumulative-demand points to identify which candidates can affect the minimum. Their Section 2 gives the threshold rule targeted here. Wagelmans, Van Hoesel and Kolen (1992)

The paper notes independent related work by Aggarwal and Park and by Federgruen and Tzur. The published Prove2Me items for Federgruen and Tzur formalize a forward recursion and its minimal optimal predecessor lists. They address the same planning problem through different state variables; the backward value and efficient periods of this mission are new objects. Wagelmans, Van Hoesel and Kolen (1992), p. S145

Setting

A planning horizon consists of periods 1,…,n1,\dots,n1,…,n, with n≥1n\ge1n≥1, and an extra terminal period n+1n+1n+1. In period iii, a known demand di≥0d_i\ge0di​≥0 must be met without backlogging. The final demand is positive, dn>0d_n>0dn​>0; a trailing zero-demand period could otherwise be deleted. A production setup costs fi≥0f_i\ge0fi​≥0, and every unit produced in that period has a marginal cost ci∈Rc_i\in\mathbb Rci​∈R. The sign of cic_ici​ is unrestricted. Holding costs have been absorbed into these transformed marginal costs, as in Section 1 of the paper. Define the remaining demand D(t)=∑j=tndjD(t)=\sum_{j=t}^{n}d_jD(t)=∑j=tn​dj​, with D(n+1)=0D(n+1)=0D(n+1)=0. If production at iii covers demand until the next production period ttt, then D(i)−D(t)D(i)-D(t)D(i)−D(t) units are produced. Wagelmans, Van Hoesel and Kolen (1992), pp. S146–S147

The backward value G(t)G(t)G(t) starts at G(n+1)=0G(n+1)=0G(n+1)=0 and follows Equation (1). At positive demand, it minimizes fi+ci[D(i)−D(t)]+G(t)f_i+c_i[D(i)-D(t)]+G(t)fi​+ci​[D(i)−D(t)]+G(t) over i<t≤n+1i<t\le n+1i<t≤n+1. When di=0d_i=0di​=0, skipping setup and using G(i+1)G(i+1)G(i+1) is an additional choice. The paper identifies G(t)G(t)G(t) with the optimal cost from ttt onward using the cited zero-inventory property. This mission takes Equation (1) as the definition of GGG; it does not formalize the separate equivalence with the original production-plan formulations. Wagelmans, Van Hoesel and Kolen (1992), p. S147

For a fixed iii, plot the finite points (D(t),G(t))(D(t),G(t))(D(t),G(t)) for i<t≤n+1i<t\le n+1i<t≤n+1. Their lower convex envelope is a piecewise linear graph. Its endpoints and places where its slope changes are breakpoints; the corresponding period indexes form the efficient set EiE_iEi​. Write succ⁡i(t)\operatorname{succ}_i(t)succi​(t) for the next larger index in EiE_iEi​. The consecutive-point ratio is ri(t)=[G(t)−G(succ⁡i(t))]/[D(t)−D(succ⁡i(t))]r_i(t)=[G(t)-G(\operatorname{succ}_i(t))]/[D(t)-D(\operatorname{succ}_i(t))]ri​(t)=[G(t)−G(succi​(t))]/[D(t)−D(succi​(t))]. These objects have no optimization over production policies hidden in their definitions. Wagelmans, Van Hoesel and Kolen (1992), pp. S147–S150

Formalization targets

Efficient candidates

Proposition 1 says every candidate outside EiE_iEi​ can be removed without changing the minimum:

min⁡i<t≤n+1{ci[D(i)−D(t)]+G(t)}=min⁡t∈Ei{ci[D(i)−D(t)]+G(t)}.\min_{i<t\le n+1}\{c_i[D(i)-D(t)]+G(t)\}=\min_{t\in E_i}\{c_i[D(i)-D(t)]+G(t)\}.i<t≤n+1min​{ci​[D(i)−D(t)]+G(t)}=t∈Ei​min​{ci​[D(i)−D(t)]+G(t)}.

The endpoint and slope claims establish the geometry used in this reduction. Proposition 2 compares neighboring efficient periods using ri(t)r_i(t)ri​(t) and cic_ici​. Wagelmans, Van Hoesel and Kolen (1992), pp. S147–S149

Threshold rule and backward value

The selected period is the first efficient index whose ratio falls below the current marginal cost, with the terminal period as fallback:

q(i)=min⁡({n+1}∪{t∈Ei:t<n+1, ri(t)<ci}).q(i)=\min\bigl(\{n+1\}\cup\{t\in E_i:t<n+1,\ r_i(t)<c_i\}\bigr).q(i)=min({n+1}∪{t∈Ei​:t<n+1, ri​(t)<ci​}).

The goal asserts that the full candidate minimum is attained there and that the algorithm's resulting assignment equals G(i)G(i)G(i):

min⁡i<t≤n+1{ci[D(i)−D(t)]+G(t)}=ci[D(i)−D(q(i))]+G(q(i)),\min_{i<t\le n+1}\{c_i[D(i)-D(t)]+G(t)\}=c_i[D(i)-D(q(i))]+G(q(i)),i<t≤n+1min​{ci​[D(i)−D(t)]+G(t)}=ci​[D(i)−D(q(i))]+G(q(i)), G(i)={fi+ci[D(i)−D(q(i))]+G(q(i)),di>0,min⁡{G(i+1),fi+ci[D(i)−D(q(i))]+G(q(i))},di=0.G(i)=\begin{cases}f_i+c_i[D(i)-D(q(i))]+G(q(i)),&d_i>0,\\ \min\{G(i+1),f_i+c_i[D(i)-D(q(i))]+G(q(i))\},&d_i=0.\end{cases}G(i)={fi​+ci​[D(i)−D(q(i))]+G(q(i)),min{G(i+1),fi​+ci​[D(i)−D(q(i))]+G(q(i))},​di​>0,di​=0.​

This states the mathematical choice and value; it does not assert a time bound. Wagelmans, Van Hoesel and Kolen (1992), pp. S149–S150

Significance

The result reduces a finite dynamic-programming minimum to the vertices of a lower envelope and gives an explicit threshold for choosing a minimizing vertex. It explains which future production period the backward recursion may select even when marginal costs are negative or some intermediate demands are zero. The paper uses ordered slopes to implement the selection efficiently; a solver proving the statements here establishes the mathematical correctness of that selection independently of a particular list representation. Wagelmans, Van Hoesel and Kolen (1992), pp. S148–S150

The paper's result is proved in print. The Lean statements are open proof obligations in this proposal. A complete development would add reusable finite lower-envelope facts, including vertex dominance and the order of adjacent slopes, as well as a machine-checked treatment of the zero-demand tie convention. The previously published forward-algorithm items do not supply these backward-recursion facts.

Difficulty

A candidate point can have a smaller value G(t)G(t)G(t) than a neighboring point yet still fail to minimize ci[D(i)−D(t)]+G(t)c_i[D(i)-D(t)]+G(t)ci​[D(i)−D(t)]+G(t) for a given cic_ici​. Comparing raw values alone therefore cannot identify the selected period. The lower envelope must retain exactly the points that can support a line of slope cic_ici​, and their consecutive ratios must be ordered. Zero demand creates repeated abscissae; without a representative rule, a ratio may have denominator zero and the successor is ambiguous. Wagelmans, Van Hoesel and Kolen (1992), pp. S147–S150

Formalization scope

Periods are natural numbers starting at 111; n+1n+1n+1 is the terminal sentinel. Demands, setup costs, marginal costs and values are real numbers. Finite minima use attained Finset.inf', with nonempty domains. The effective score omits the common setup cost fif_ifi​. No sign restriction is imposed on cic_ici​. The efficient set is determined by a finite chord test for lower-envelope vertices: points on a chord are excluded, and at identical abscissa and height the earliest period is retained. This makes explicit the paper's zero-demand replacement convention on p. S150. The successor is used only on nonsentinel efficient periods; there its denominator is positive. Wagelmans, Van Hoesel and Kolen (1992), pp. S147–S150

The algorithm's printed Iterations use d1nd_{1n}d1n​ where dind_{in}din​ is required; the Lean statement uses D(i)−D(q(i))=di,q(i)−1D(i)-D(q(i))=d_{i,q(i)-1}D(i)−D(q(i))=di,q(i)−1​, matching the preceding display and the numerical table. The zero-demand branch explicitly includes skipping setup. The selector is the ratio-threshold rule, rather than an argmin, and the efficient set is the actual lower-envelope vertex set rather than all periods. A finite zero-demand example and Tables I–II are used as verification data. The paper's O(nlog⁡n)O(n\log n)O(nlogn) bound, the binary-search implementation, the amortized list updates, the O(n)O(n)O(n) Wagner–Whitin specialization and the final production-plan construction are outside this mission: they require additional algorithm-state and cost-model statements. Wagelmans, Van Hoesel and Kolen (1992), pp. S149–S152

Selected references

  • A. Wagelmans, S. Van Hoesel and A. Kolen, Economic Lot Sizing: An O(n log n) Algorithm That Runs in Linear Time in the Wagner-Whitin Case, Operations Research 40, Supplement 1 (1992), S145–S156. DOI: 10.1287/opre.40.1.S145
8 thms1 active userReviewed
OptimizationStochastic Systems·Captain: mikedeng1

Finding Optimal (s, S) Policies Is About As Simple As Evaluating a Single Policy: The Zheng–Federgruen Algorithm Terminates with an Optimal (s, S) Policy and c⁰ = c*Research Paper

Motivation

The (s, S) policy is the standard control rule for a single item reviewed periodically: when the inventory position reaches or drops below a reorder level sss, order enough to bring it up to the order-up-to level SSS. Under a fixed ordering cost and fairly general holding and shortage costs, some (s, S) policy minimizes the long-run average cost among all policies (Veinott 1966). That makes computing the best (s, S) pair a routine subproblem in inventory software, in multi-echelon heuristics, and in textbooks.

Before 1991 the available methods searched a box of candidate pairs. Veinott and Wagner (1965) bounded the optimal sss and SSS and compared policies within the bounds. Later methods (Johnson, Management Science 15, 1968; Bell, SIAM J. Applied Mathematics 18, 1970; Federgruen and Zipkin 1984) used policy iteration or partial enumeration. Zheng and Federgruen (1991) gave an exact search that walks a monotone staircase path through the (s,S)(s,S)(s,S) grid, and showed it costs about as much as evaluating a single policy. The procedure is the one presented in standard inventory texts such as Zipkin's Foundations of Inventory Management (2000).

Setting

One-period demands DDD are i.i.d. and integer valued, with pj=Pr⁡{D=j}p_j=\Pr\{D=j\}pj​=Pr{D=j}, j≥0j\ge0j≥0, and p0<1p_0<1p0​<1. An order costs K>0K>0K>0. G(y)G(y)G(y) is the one-period expected cost when a period starts at inventory position y∈Zy\in\mathbb Zy∈Z. The paper assumes only:

  • −G-G−G is unimodal: for some integer mmm, GGG is nonincreasing on y≤my\le my≤m and nondecreasing on y≥my\ge my≥m;
  • lim⁡∣y∣→∞G(y)>min⁡yG(y)+K\lim_{|y|\to\infty}G(y)>\min_yG(y)+Klim∣y∣→∞​G(y)>miny​G(y)+K.

Write y1∗y_1^*y1∗​ and y2∗y_2^*y2∗​ for the smallest and largest minimizers of GGG. The renewal density mmm and renewal function MMM are

m(0)=(1−p0)−1,m(j)=∑l=0jpl m(j−l) (j≥1),M(0)=0,M(j)=M(j−1)+m(j−1).m(0)=(1-p_0)^{-1},\quad m(j)=\sum_{l=0}^{j}p_l\,m(j-l)\ (j\ge1),\qquad M(0)=0,\quad M(j)=M(j-1)+m(j-1).m(0)=(1−p0​)−1,m(j)=l=0∑j​pl​m(j−l) (j≥1),M(0)=0,M(j)=M(j−1)+m(j−1).

For integers s<Ss<Ss<S, the long-run average cost of the (s, S) policy is

c(s,S)=K+∑j=0S−s−1m(j) G(S−j)M(S−s).c(s,S)=\frac{K+\sum_{j=0}^{S-s-1}m(j)\,G(S-j)}{M(S-s)}.c(s,S)=M(S−s)K+∑j=0S−s−1​m(j)G(S−j)​.

A pair (s,S)(s,S)(s,S) is an optimal policy if c(s,S)≤c(s′,S′)c(s,S)\le c(s',S')c(s,S)≤c(s′,S′) for all integers s′<S′s'<S's′<S′. The optimal cost c∗c^*c∗ is the value of any optimal policy. For fixed SSS, sss is an optimal reorder level if c(s,S)≤c(s′,S)c(s,S)\le c(s',S)c(s,S)≤c(s′,S) for all s′<Ss'<Ss′<S.

The algorithm (§3, p. 659) starts at any minimizer y∗y^*y∗ of GGG.

  • Step 0. Decrease sss from y∗y^*y∗ until c(s,y∗)≤G(s)c(s,y^*)\le G(s)c(s,y∗)≤G(s). Set S0:=y∗S^0:=y^*S0:=y∗, c0:=c(s,S0)c^0:=c(s,S^0)c0:=c(s,S0) and S:=y∗+1S:=y^*+1S:=y∗+1.
  • Step 1. While G(S)≤c0G(S)\le c^0G(S)≤c0: if c(s,S)<c0c(s,S)<c^0c(s,S)<c0, set S0:=SS^0:=SS0:=S, increase sss while c(s,S0)≤G(s+1)c(s,S^0)\le G(s+1)c(s,S0)≤G(s+1), and set c0:=c(s,S0)c^0:=c(s,S^0)c0:=c(s,S0). In either case, S:=S+1S:=S+1S:=S+1.

Formalization targets

Goal: Theorem 1(a)

For every demand law with p0<1p_0<1p0​<1, every K>0K>0K>0, every GGG satisfying the two assumptions, and every minimizer y∗y^*y∗ of GGG, the algorithm terminates. On termination, with final values s,S0,c0s,S^0,c^0s,S0,c0,

c(s,S0)≤c(s′,S′)  for all integers s′<S′,c0=c(s,S0)=c∗.c(s,S^0)\le c(s',S')\ \text{ for all integers } s'<S',\qquad c^0=c(s,S^0)=c^*.c(s,S0)≤c(s′,S′)  for all integers s′<S′,c0=c(s,S0)=c∗.

Milestones

The milestones are the results the paper's justification of the algorithm (p. 659) rests on, in the order it uses them:

  1. the weighted-average identity (6), c(s−1,S)=αnc(s,S)+(1−αn)G(s)c(s-1,S)=\alpha_nc(s,S)+(1-\alpha_n)G(s)c(s−1,S)=αn​c(s,S)+(1−αn​)G(s) with αn=M(n)/M(n+1)\alpha_n=M(n)/M(n+1)αn​=M(n)/M(n+1) and n=S−sn=S-sn=S−s, and Lemma 0 on the comparisons it implies;
  2. Lemma 1(a): a reorder level s0<y1∗s^0<y_1^*s0<y1∗​ with G(s0)≥c(s0,S)≥G(s0+1)G(s^0)\ge c(s^0,S)\ge G(s^0+1)G(s0)≥c(s0,S)≥G(s0+1) (condition (7)) is optimal for SSS;
  3. Corollary 1, the stopping rule of Step 0;
  4. Lemma 2(a)–(c), the bounds y2∗≤S∗y_2^*\le S^*y2∗​≤S∗ and S∗≤Sˉ∗=max⁡{y≥y2∗:G(y)≤c∗}S^*\le\bar S^*=\max\{y\ge y_2^*:G(y)\le c^*\}S∗≤Sˉ∗=max{y≥y2∗​:G(y)≤c∗}, which give the stopping rule of Step 1;
  5. Lemma 3(a), the single-comparison test for improvement, and Corollary 2(b) with Lemma 3(b), which justify the inner loop.

Significance

The result. Theorem 1(a) makes the exact optimum of the (s, S) problem as cheap to compute as the cost of one policy, for any GGG with −G-G−G unimodal. No convexity is needed, and lead times, random lead times of the Zipkin type, and linear purchase costs are allowed. Its bounds (Lemma 2) and the monotone staircase structure of the search also underlie later work on continuous review, discounting and approximation.

Formalizing it. The theorem is proved on paper. As far as we know, none of the results in this mission has a machine-checked proof: the platform's Veinott–Wagner items concern a different (discounted, convex) model. Formalizing it produces a verified correctness proof of a widely implemented algorithm, and checks the paper's lemmas at their edge cases. Two of the printed statements need repair: Lemma 1(b) and Lemma 3(a) (see the scope section).

Difficulty

Optimality is claimed over all pairs s′<S′s'<S's′<S′, an infinite set, but the algorithm visits only a monotone path. The proof therefore has to show that every pair it skips is no better. For a fixed SSS, the skipped reorder levels are handled by the unimodality of c(⋅,S)c(\cdot,S)c(⋅,S) (Lemma 1). The skipped order-up-to levels are handled by the one-comparison test of Lemma 3(a), and those above the stopping point by the bound of Lemma 2(b). An argument from joint convexity or joint unimodality of ccc in (s,S)(s,S)(s,S) is not available. The paper uses no structure of ccc beyond what Lemmas 0–3 state, and these hold only under the side conditions written in them.

Lemma 2(b)'s printed proof leaves the class of (s, S) policies (it uses a randomized order-up-to level). The limit at −∞-\infty−∞ may be finite, so min⁡s<Sc(s,S)\min_{s<S}c(s,S)mins<S​c(s,S) need not be attained for every SSS. Lattice demands, for which mmm vanishes somewhere, create ties between adjacent reorder levels. Each of these breaks a naive transcription of the paper's argument.

Formalization scope

  • Levels s,S,ys,S,ys,S,y are integers. Demand values are natural numbers, and the demand law is the published VeinottWagnerSS.RenewalCost.DemandDist with the extra hypothesis p0<1p_0<1p0​<1. All costs are real.
  • The cost is the ratio above. Equation (1) on p. 655 is misprinted as M(S−s)K+∑⋯M(S-s)K+\sum\cdotsM(S−s)K+∑⋯, and the ratio is the form fixed by (3) and (5). The Lean value c(s,S)c(s,S)c(s,S) for s≥Ss\ge Ss≥S is a junk 000, so every quantifier over reorder levels carries s<Ss<Ss<S.
  • mmm is defined by the solved recursion m(j)=(1−p0)−1∑l=1jpl m(j−l)m(j)=(1-p_0)^{-1}\sum_{l=1}^{j}p_l\,m(j-l)m(j)=(1−p0​)−1∑l=1j​pl​m(j−l) (p. 660), and M(j)=∑i<jm(i)M(j)=\sum_{i<j}m(i)M(j)=∑i<j​m(i).
  • The growth assumption is encoded as: GGG has a minimizer y0y_0y0​ and G(y)>G(y0)+KG(y)>G(y_0)+KG(y)>G(y0​)+K for all but finitely many yyy. Under unimodality this is equivalent to the page's limit condition. It is not strengthened to G→+∞G\to+\inftyG→+∞.
  • Optimality is among (s, S) policies. That an (s, S) policy is optimal among all policies is Veinott (1966) and is neither stated nor used. c∗c^*c∗, c∗(S)c^*(S)c∗(S), yi∗y_i^*yi∗​, Sˉ∗\bar S^*Sˉ∗, Sˉc\bar S_cSˉc​ and s′s's′ are never real infima: they are the cost of a given optimal pair, ∃\exists∃-statements, or binders characterised as least or greatest elements.
  • The algorithm is a step function on the state (s,S,S0,c0,phase)(s,S,S^0,c^0,\text{phase})(s,S,S0,c0,phase) that keeps the paper's order of tests and its weak and strict inequalities. The run with nnn steps returns an output only if the algorithm has terminated.
  • Ruled out as trivializing: comparing only with the pairs the algorithm visits or with a bounded box; assuming termination, or a budget that returns the current state; assuming G→+∞G\to+\inftyG→+∞; leaving c(s,S)c(s,S)c(s,S) unguarded for s≥Ss\ge Ss≥S.
  • Repaired statements. Lemma 3(a) is stated with condition (7) at S0S^0S0 as an extra hypothesis. With s0s^0s0 merely optimal it fails when mmm has a zero: for p=(1/5,0,1/5,3/5)p=(1/5,0,1/5,3/5)p=(1/5,0,1/5,3/5), m(1)=0m(1)=0m(1)=0 and adjacent reorder levels tie. The algorithm always has (7). Lemma 1(b), "an optimal reorder level satisfying (7) exists for every SSS", is false when lim⁡y→−∞G(y)\lim_{y\to-\infty}G(y)limy→−∞​G(y) is finite. An example is D≡2D\equiv2D≡2, K=1K=1K=1, G(0)=5G(0)=5G(0)=5, G(y)=10−0.1⋅2−∣y∣G(y)=10-0.1\cdot2^{-|y|}G(y)=10−0.1⋅2−∣y∣ (y≠0y\neq0y=0), S=1S=1S=1, where no optimal reorder level exists. It is not posed here, and the goal does not depend on it.
  • Not formalized: Theorem 1(b)–(c), the operation counts, which depend on a bookkeeping model described in words; Corollary 3, which the paper notes is not needed for the algorithm; and the variant for a general starting level S0S_0S0​.
  • Welcome contributions: general facts about the discrete renewal density (m≥0m\ge0m≥0, M>0M>0M>0), the identity (6), and lemmas on c(⋅,S)c(\cdot,S)c(⋅,S) that are reusable for related (s, S) and (r, Q) work.

Selected references

  • Y.-S. Zheng and A. Federgruen, Finding Optimal (s, S) Policies Is About As Simple As Evaluating a Single Policy, Operations Research 39(4):654–665, 1991. https://doi.org/10.1287/opre.39.4.654
  • A. F. Veinott Jr. and H. M. Wagner, Computing Optimal (s, S) Inventory Policies, Management Science 11(5):525–552, 1965. https://doi.org/10.1287/mnsc.11.5.525
  • A. F. Veinott Jr., On the Optimality of (s, S) Inventory Policies: New Conditions and a New Proof, SIAM J. Applied Mathematics 14(5):1067–1083, 1966. https://doi.org/10.1137/0114086
  • A. Federgruen and P. Zipkin, An Efficient Algorithm for Computing Optimal (s, S) Policies, Operations Research 32(6):1268–1285, 1984. https://doi.org/10.1287/opre.32.6.1268
  • A. Federgruen and Y.-S. Zheng, An Efficient Algorithm for Computing an Optimal (r, Q) Policy in Continuous Review Stochastic Inventory Systems, Operations Research 40(4):808–813, 1992. https://doi.org/10.1287/opre.40.4.808
14 thms1 active userReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Poisson Arrivals See Time Averages: Under Lack of Anticipation, the Fraction of Time in B Converges a.s. iff the Fraction of Arrivals Finding B Does, to the Same LimitResearch Paper

Why arrival averages and time averages agree

Queueing analysis constantly moves between two kinds of long-run averages: the fraction of time a system spends in some set of states, and the fraction of arriving customers who find it there. Waiting-time formulas for the M/G/1 queue, blocking probabilities in loss systems and many decomposition arguments rest on the claim that, when arrivals form a Poisson process, the two coincide. This property is known as PASTA, Poisson Arrivals See Time Averages. It is used throughout queueing theory, inventory theory and the analysis of communication networks, usually without proof.

Before 1982 the property had been proved under strong extra structure:

  • Strauch (1970) proved an instantaneous version, at a fixed time point, which does not by itself give limit theorems.
  • Wolff (1970) proved a limit theorem for a stationary observed process, using particular properties of its interaction with the Poisson stream.
  • Stidham (1972) proved a limit theorem for regenerative processes, under restrictions on how regeneration points relate to the arrivals.
  • Wolff (1982), the source of this mission, proved the limit theorem with no stationarity, regeneration or ergodicity at all. The only link assumed between system and arrivals is that the system does not anticipate future arrivals. The proof uses Watanabe's (1964) martingale characterization of the Poisson process.
  • Melamed and Whitt (1990) recast the result as one instance of a general "arrivals see time averages" (ASTA) principle for arbitrary point processes.

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space. On it live a process N={N(t),t≥0}N=\{N(t),t\ge0\}N={N(t),t≥0}, the state of a system, with values in an arbitrary measurable space, and a Poisson process A={A(t),t≥0}A=\{A(t),t\ge0\}A={A(t),t≥0} at rate λ>0\lambda>0λ>0, counting customer arrivals in (0,t](0,t](0,t]. The interaction between AAA and NNN is unspecified: arrivals may change the state.

Fix a set BBB of states with {N(t)∈B}∈F\{N(t)\in B\}\in\mathcal F{N(t)∈B}∈F for every t≥0t\ge0t≥0, and define

U(t)=1{N(t)∈B},V(t)=t−1∫0tU(s) ds,Y(t)=∫0tU(s) dA(s),Z(t)=Y(t)A(t).U(t)=\mathbf 1\{N(t)\in B\},\qquad V(t)=t^{-1}\int_0^tU(s)\,ds,\qquad Y(t)=\int_0^tU(s)\,dA(s),\qquad Z(t)=\frac{Y(t)}{A(t)}.U(t)=1{N(t)∈B},V(t)=t−1∫0t​U(s)ds,Y(t)=∫0t​U(s)dA(s),Z(t)=A(t)Y(t)​.

V(t)V(t)V(t) is the fraction of time in [0,t][0,t][0,t] that NNN is in BBB. Y(t)Y(t)Y(t) is the number of arrivals up to ttt who find NNN in BBB, and Z(t)Z(t)Z(t) is the fraction of arrivals who do.

The paths of UUU are assumed left continuous with right-hand limits w.p. 1, so that an arrival is not counted as already present at its own arrival epoch. UUU is assumed jointly measurable in (ω,t)∈Ω×[0,∞)(\omega,t)\in\Omega\times[0,\infty)(ω,t)∈Ω×[0,∞). The single structural assumption is the Lack of Anticipation Assumption (LAA):

for each t≥0t\ge0t≥0, {A(t+u)−A(t),u≥0}\{A(t+u)-A(t),u\ge0\}{A(t+u)−A(t),u≥0} and {U(s),0≤s≤t}\{U(s),0\le s\le t\}{U(s),0≤s≤t} are independent.

The paper's proof of (6) uses this independence for every event of Ft\mathcal F_tFt​, the σ-field generated by {A(s),U(s);0≤s≤t}\{A(s),U(s);0\le s\le t\}{A(s),U(s);0≤s≤t}. The mission therefore states Theorems 1–2, (6), Lemma 1, (10) and Lemma 2 under lack of anticipation with respect to Ft\mathcal F_tFt​: for each t≥0t\ge0t≥0, {A(t+u)−A(t),u≥0}\{A(t+u)-A(t),u\ge0\}{A(t+u)−A(t),u≥0} is independent of Ft\mathcal F_tFt​. This implies the printed LAA. The printed LAA together with independent increments does not give (6) or Lemma 1, because pairwise independence of the future from the past of AAA and from the past of UUU is not independence from their joint past.

Formalization targets

Goal: Theorem 1 (p. 225)

Under lack of anticipation (with respect to Ft\mathcal F_tFt​, see above), for every random variable V(∞)V(\infty)V(∞),

V(t)→V(∞) w.p. 1⟺Z(t)→V(∞) w.p. 1,t→∞.V(t)\to V(\infty)\ \text{w.p. 1}\quad\Longleftrightarrow\quad Z(t)\to V(\infty)\ \text{w.p. 1},\qquad t\to\infty.V(t)→V(∞) w.p. 1⟺Z(t)→V(∞) w.p. 1,t→∞.

The limit may be random, and the theorem asserts nothing about whether either average converges. It asserts only that the two converge together, to the same limit.

Milestones

The proof in §2 passes through the following statements, which form the milestone list:

  1. (2), (3): E{Y(t)}=λtE{V(t)}=λE{∫0tU(s) ds}E\{Y(t)\}=\lambda tE\{V(t)\}=\lambda E\{\int_0^tU(s)\,ds\}E{Y(t)}=λtE{V(t)}=λE{∫0t​U(s)ds}.
  2. (6): E{Y(t+h)−Y(t)∣Ft}=λE{∫tt+hU(s) ds∣Ft}E\{Y(t+h)-Y(t)\mid\mathcal F_t\}=\lambda E\{\int_t^{t+h}U(s)\,ds\mid\mathcal F_t\}E{Y(t+h)−Y(t)∣Ft​}=λE{∫tt+h​U(s)ds∣Ft​}.
  3. Lemma 1: R(t)=Y(t)−λtV(t)R(t)=Y(t)-\lambda tV(t)R(t)=Y(t)−λtV(t) is a martingale.
  4. (7): the second-moment bound E{R2(t)}≤λt+2λ2t2E\{R^2(t)\}\le\lambda t+2\lambda^2t^2E{R2(t)}≤λt+2λ2t2.
  5. (10): the grid strong law R(nh)/n→0R(nh)/n\to0R(nh)/n→0 w.p. 1.
  6. (11): the pathwise interpolation bound between grid points.
  7. Lemma 2: R(t)/t→0R(t)/t\to0R(t)/t→0 w.p. 1.
  8. The strong law A(t)/t→λA(t)/t\to\lambdaA(t)/t→λ for the Poisson process.

Companion: Theorem 2 (p. 228)

For a Poisson process with bounded, integrable rate λ(t)\lambda(t)λ(t) and Λ(t)/t→λˉ∈(0,∞)\Lambda(t)/t\to\bar\lambda\in(0,\infty)Λ(t)/t→λˉ∈(0,∞), where Λ(t)=∫0tλ(s) ds\Lambda(t)=\int_0^t\lambda(s)\,dsΛ(t)=∫0t​λ(s)ds, the same equivalence holds with V(t)V(t)V(t) replaced by the rate-weighted average Vˉ(t)=Λ(t)−1∫0tU(s)λ(s) ds\bar V(t)=\Lambda(t)^{-1}\int_0^tU(s)\lambda(s)\,dsVˉ(t)=Λ(t)−1∫0t​U(s)λ(s)ds. Display (12), E{Y(t)}=∫0tE{U(s)}λ(s) dsE\{Y(t)\}=\int_0^tE\{U(s)\}\lambda(s)\,dsE{Y(t)}=∫0t​E{U(s)}λ(s)ds, is its analogue of (3).

Significance

Theorem 1 justifies replacing customer averages by time averages, and conversely, in any model where arrivals are Poisson and the system does not anticipate them. Examples are queue-length distributions seen by arrivals in M/G/c systems, blocking probabilities in Erlang loss models, and state probabilities at arrival epochs in networks with Poisson external input. It needs no ergodic theory of the observed process: convergence of one average has to be established separately, by whatever means suit the model, and the theorem transfers it to the other. Lemma 2 also implies versions of PASTA under weaker modes of convergence (Remark 6).

The result has been proved for four decades and is textbook material. What this mission adds is a machine-checked proof. No formalization of Theorem 1 in a proof assistant is known. A complete development would also contain machine-checked versions of several standard facts not yet available in Mathlib:

  • the strong law for the Poisson process;
  • a strong law for square-integrable martingale differences;
  • Stieltjes integration against a counting path.

Difficulty

The naive argument conditions on the arrival epochs and claims that each arrival "samples" the state at a uniformly random time. This fails because arrivals influence the state: after an arrival, a queue-length process is no longer independent of the arrival stream. LAA only says that the future increments of AAA are independent of the past of UUU. The difficulty is to turn this one-sided independence into an almost-sure statement about long-run averages, along every path and at all times rather than only at fixed ones.

On the technical side, the expected-value identity (3) needs a limit of grid sums. That limit relies on left continuity: without it, U(t)=1{A jumps at t}U(t)=\mathbf 1\{A \text{ jumps at } t\}U(t)=1{A jumps at t} satisfies LAA with V≡0V\equiv0V≡0 but Z≡1Z\equiv1Z≡1. The passage from expectations to a strong law needs a martingale structure and a second-moment bound, and the interpolation between grid times needs a pathwise argument.

Formalization scope

  • Time and paths. Time is R\mathbb RR, and every hypothesis concerns t≥0t\ge0t≥0 only. Processes are maps R→Ω→(⋅)\mathbb R\to\Omega\to(\cdot)R→Ω→(⋅). A Poisson process with intensity function λ(⋅)\lambda(\cdot)λ(⋅) is a counting process A:R→Ω→NA:\mathbb R\to\Omega\to\mathbb NA:R→Ω→N with A(0)=0A(0)=0A(0)=0, every path non-decreasing and right-continuous, Poisson-distributed increments with mean ∫stλ\int_s^t\lambda∫st​λ, and independent increments over any finite increasing sequence of times. The constant-rate case is Theorem 1's setting.
  • The averages. Y(t)Y(t)Y(t) is encoded as ∑k=1A(t)U(Tk)\sum_{k=1}^{A(t)}U(T_k)∑k=1A(t)​U(Tk​) over the arrival epochs Tk=inf⁡{s≥0:A(s)≥k}T_k=\inf\{s\ge0:A(s)\ge k\}Tk​=inf{s≥0:A(s)≥k}, which is the Lebesgue–Stieltjes integral ∫(0,t]U dA\int_{(0,t]}U\,dA∫(0,t]​UdA with multiplicities. Z(t)=0Z(t)=0Z(t)=0 when A(t)=0A(t)=0A(t)=0, and V(0)=0V(0)=0V(0)=0; limits do not see these values.
  • The standing hypotheses. These are carried as binders of the goal: measurability of {N(t)∈B}\{N(t)\in B\}{N(t)∈B} for t≥0t\ge0t≥0, path regularity w.p. 1 (left continuity at t>0t>0t>0, right limits at t≥0t\ge0t≥0), joint measurability on Ω×[0,∞)\Omega\times[0,\infty)Ω×[0,∞), and lack of anticipation as independence of the σ-field of future increments of AAA from Ft\mathcal F_tFt​. The milestones (2), (3), (7) and (11) need less: (2) and (3) are stated under the printed LAA, and (7) and (11) under no independence assumption at all.
  • The limit and the expectations. V(∞)V(\infty)V(∞) is an arbitrary function Ω→R\Omega\to\mathbb RΩ→R, shared by both sides of the equivalence. Expectations in the milestones come with integrability conclusions, or are lower integrals in [0,∞][0,\infty][0,∞], so that no identity holds through Lean's junk value 000 for non-integrable functions.
  • Ruled out. A formalization in which V(∞)V(\infty)V(∞) is quantified separately on each side, which loses "to the same limit". A goal that assumes Lemma 2, (3) or the strong law A(t)/t→λA(t)/t\to\lambdaA(t)/t→λ as a hypothesis. A definition of YYY that counts distinct jump times and not arrivals.

Welcome contributions:

  • a reusable Poisson-process library: the strong law, square moments, independence of increments from a past σ-field;
  • a martingale strong law of Feller's type;
  • Stieltjes sums against counting paths.

All of these are useful well beyond this mission.

Selected references

  • R. W. Wolff, Poisson Arrivals See Time Averages, Operations Research 30(2):223–231, 1982. https://doi.org/10.1287/opre.30.2.223
  • S. Watanabe, On discontinuous additive functionals and Lévy measures of a Markov process, Japanese Journal of Mathematics 34:53–70, 1964. https://doi.org/10.4099/jjm1924.34.0_53
  • B. Melamed and W. Whitt, On arrivals that see time averages, Operations Research 38(1):156–172, 1990. https://doi.org/10.1287/opre.38.1.156
  • P. Brémaud and J. Jacod, Processus ponctuels et martingales: résultats récents sur la modélisation et le filtrage, Advances in Applied Probability 9(2):362–416, 1977. https://doi.org/10.2307/1426091
  • S. Stidham, Regenerative processes in the theory of queues, with applications to the alternating-priority queue, Advances in Applied Probability 4(3):542–577, 1972.
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. II, 2nd ed., Wiley, 1971.
11 thms1 active userReviewed
Bandit AlgorithmsDynamic ProgrammingProbability·Captain: mikedeng1

Multi-armed Bandits and the Gittins Index: With Per-Project Horizons the Maximal M-Process Reward Is K − ∫_M^K ∏ᵢ ∂φᵢ/∂m dm and the Gittins Index Rule Attains ItResearch Paper

Motivation

The multi-armed bandit problem asks how to allocate effort sequentially among NNN independent projects, only one of which can be worked on at a time, so as to maximise expected total discounted reward. It is the model behind research planning, clinical-trial allocation and job scheduling, and it is the prototypical example of a Markov decision problem whose state space grows exponentially in NNN yet whose optimal policy is simple. Gittins and Jones (1974) and Gittins (1979) showed that each project can be given an index computed from that project alone, and that it is optimal always to engage a project of largest index. P. Whittle's 1980 paper gave a short proof of this theorem by attaching a retirement option to the process, and extended it to projects with individual horizons.

Timeline:

  • 1974–1979. Gittins and Jones introduce the dynamic allocation index; Gittins (1979, JRSS B) proves its optimality by an interchange argument.
  • 1980. Whittle (JRSS B 42, 143–149) introduces the MMM-process, proves the finite-horizon formula (Theorem 1 below), derives the infinite-horizon identity (12), and extends the result to superprocesses (Theorem 2).
  • 1980s–2010s. Weber (1992) and Tsitsiklis (1994) give further short proofs; the index theory is collected in Gittins, Glazebrook and Weber, Multi-armed Bandit Allocation Indices (Wiley, 2011).

Setting

There are NNN projects. Project iii has a state xix_ixi​ in a measurable space XiX_iXi​. Engaging project iii in state xix_ixi​ earns the expected reward Ri(xi)R_i(x_i)Ri​(xi​) and moves its state by a Markov kernel PiP_iPi​; the other projects' states do not change. Rewards are discounted by β\betaβ, 0≤β<10 \le \beta < 10≤β<1, and bounded:

k(1−β)≤Ri(xi)≤K(1−β).(1)k(1-\beta) \le R_i(x_i) \le K(1-\beta). \qquad (1)k(1−β)≤Ri​(xi​)≤K(1−β).(1)

The operator Liθ(x)=Ri(xi)+β E[θ(x(t+1))∣x(t)=x,i(t)=i]L_i\theta(x) = R_i(x_i) + \beta\,\mathbb E[\theta(x(t+1)) \mid x(t) = x, i(t) = i]Li​θ(x)=Ri​(xi​)+βE[θ(x(t+1))∣x(t)=x,i(t)=i] evaluates engaging project iii for one step.

In the MMM-process one may also retire at any time for the reward MMM. Its value F(x,M)F(x, M)F(x,M) solves F=max⁡(M,max⁡iLiF)F = \max(M, \max_i L_i F)F=max(M,maxi​Li​F) (4), and the value φi(xi,M)\varphi_i(x_i, M)φi​(xi​,M) of the single-project MMM-process solves φi=max⁡(M,Liφi)\varphi_i = \max(M, L_i\varphi_i)φi​=max(M,Li​φi​) (9).

With per-project horizons, project iii may be operated at most sis_isi​ more times. A project with si>0s_i > 0si​>0 is active, and DisD_i sDi​s lowers sis_isi​ by one. The single-project value φi(xi,si,M)\varphi_i(x_i, s_i, M)φi​(xi​,si​,M) satisfies φi(xi,0,M)=M\varphi_i(x_i, 0, M) = Mφi​(xi​,0,M)=M and

φi(xi,si,M)=max⁡[M, Ri(xi)+β E φi(xi(t+1),si−1,M)].(14)\varphi_i(x_i, s_i, M) = \max\big[M,\ R_i(x_i) + \beta\,\mathbb E\,\varphi_i(x_i(t+1), s_i - 1, M)\big]. \qquad (14)φi​(xi​,si​,M)=max[M, Ri​(xi​)+βEφi​(xi​(t+1),si​−1,M)].(14)

F(x,s,M)F(x, s, M)F(x,s,M) is the maximal expected reward of the MMM-process under these limits. The index Mi(xi,si)M_i(x_i, s_i)Mi​(xi​,si​) is the infimal MMM with φi(xi,si,M)=M\varphi_i(x_i, s_i, M) = Mφi​(xi​,si​,M)=M, and vi=(1−β)Miv_i = (1-\beta)M_ivi​=(1−β)Mi​ is the Gittins index. Finally

F^(x,s,M)=K−∫MK∏i∂φi(xi,si,m)∂m dm.(13)\hat F(x, s, M) = K - \int_M^K \prod_i \frac{\partial \varphi_i(x_i, s_i, m)}{\partial m}\, dm. \qquad (13)F^(x,s,M)=K−∫MK​i∏​∂m∂φi​(xi​,si​,m)​dm.(13)

Formalization targets

Goal: Theorem 1 (p. 147)

F(x,s,M)=F^(x,s,M),F(x, s, M) = \hat F(x, s, M),F(x,s,M)=F^(x,s,M),

and FFF is attained by the policy that, at (x,s)(x, s)(x,s), engages a project iii maximising Mi(xi,si)M_i(x_i, s_i)Mi​(xi​,si​) when this maximum exceeds MMM, and otherwise retires. The Lean goal has three conjuncts: F=F^F = \hat FF=F^, every measurable index rule (any tie-breaking) earns FFF, and no feasible measurable Markov policy earns more than FFF.

Milestones (the steps of the proof)

  • Lemma 1 (p. 144): F(x,M)F(x, M)F(x,M) is non-decreasing and convex in MMM, equals Φ(x)\Phi(x)Φ(x) for M≤kM \le kM≤k and MMM for M≥KM \ge KM≥K.
  • (18) (p. 147): Pi(x,s,M)=∏j≠i∂φj/∂MP_i(x,s,M) = \prod_{j \ne i}\partial\varphi_j/\partial MPi​(x,s,M)=∏j=i​∂φj​/∂M is a distribution function in MMM, equal to 111 for M≥M(i)=max⁡j≠iMjM \ge M_{(i)} = \max_{j\ne i} M_jM≥M(i)​=maxj=i​Mj​.
  • (19) (p. 147): F^=φiPi+∫M∞φi dmPi\hat F = \varphi_i P_i + \int_M^\infty \varphi_i\, d_m P_iF^=φi​Pi​+∫M∞​φi​dm​Pi​.
  • (21) (p. 148): F^≥LiF^\hat F \ge L_i\hat FF^≥Li​F^, with equality if Mi=max⁡jMj≥MM_i = \max_j M_j \ge MMi​=maxj​Mj​≥M.
  • Retirement case (p. 148): if max⁡jMj≤M\max_j M_j \le Mmaxj​Mj​≤M then F^=M\hat F = MF^=M.
  • (16) (p. 147): F^=max⁡(M,max⁡iLiF^)\hat F = \max(M, \max_i L_i\hat F)F^=max(M,maxi​Li​F^) and F^(x,0,M)=M\hat F(x, 0, M) = MF^(x,0,M)=M.

Further item

  • Infinite horizon (p. 148, formula (12) of p. 146): F(x,M)=K−∫MK∏i∂φi(xi,m)/∂m dmF(x, M) = K - \int_M^K \prod_i \partial\varphi_i(x_i, m)/\partial m\, dmF(x,M)=K−∫MK​∏i​∂φi​(xi​,m)/∂mdm, with the index rule optimal.

Significance

Theorem 1 reduces an NNN-project problem, whose state space is a product, to NNN one-dimensional retirement problems. The formula (13) shows more than optimality of the index rule: the derivative of the multi-project value in MMM is the product of the single-project derivatives, so the multi-project value is computable from the projects separately. The finite-horizon version gives an inductive argument that avoids the interchange arguments of earlier proofs, and the infinite-horizon identity (12) follows from it.

The result is classical and proved. What this mission adds is a machine-checked version in a generality not yet on the platform: heterogeneous projects (each with its own kernel and reward on its own measurable space), a retirement option, and per-project horizons. The platform already has a proved index theorem for identical arms sharing one kernel and reward without retirement, BanditAlgorithm.gittins_index_theorem (Lattimore–Szepesvári, Theorem 35.9), single-arm retirement values in charge form (GittinsFiniteRetirementValue), and open Beta–Bernoulli special cases from Bäuerle–Rieder (MDPFinance.InfiniteHorizonApplications.proposition_7_6_7, proposition_7_6_9, theorem_7_6_10). None of these states Theorem 1, formula (13) or formula (12).

Difficulty

The obvious approach, value iteration on the product state space, gives existence of an optimal policy but says nothing about its structure. The content of Theorem 1 lies in the identity of a multi-dimensional value with an integral of a product of one-dimensional derivatives. Verifying it requires differentiating single-project values in MMM (they are convex, but have a kink exactly at the index, where the choice of one-sided derivative matters), an integration by parts against a Stieltjes measure in MMM, and an exchange of the expectation over the next state with the MMM-integral. The exhausted projects (si=0s_i = 0si​=0) and the boundary M=MiM = M_iM=Mi​ need separate care in every step.

Formalization scope

  • Projects are indexed by Fin N (0-based; the paper uses 1,…,N1, \dots, N1,…,N). State spaces are arbitrary measurable spaces; no finiteness or countability is assumed. Kernels are Markov, rewards measurable and bounded as in (1), and 0≤β<10 \le \beta < 10≤β<1 (β = 0 is allowed). kkk and KKK are any constants satisfying (1).
  • Budgets are s : Fin N → ℕ; DisD_i sDi​s is Function.update s i (s i - 1) and is only applied to active projects.
  • F(x,s,M)F(x, s, M)F(x,s,M), the "maximal reward", is the backward-induction value: F(x,0,M)=MF(x, 0, M) = MF(x,0,M)=M and F=max⁡(M,max⁡i activeLiF)F = \max(M, \max_{i\ \text{active}} L_iF)F=max(M,maxi active​Li​F), defined by recursion on ∑isi\sum_i s_i∑i​si​. It is not defined through F^\hat FF^, the index, or a policy. φi(xi,si,M)\varphi_i(x_i, s_i, M)φi​(xi​,si​,M) is defined by (14) with φi(xi,0,M)=M\varphi_i(x_i, 0, M) = Mφi​(xi​,0,M)=M.
  • ∂/∂m\partial/\partial m∂/∂m is the right derivative. Since the φi\varphi_iφi​ are convex in mmm, this changes (13) at no point, and it makes (18) hold at the kink M=M(i)M = M_{(i)}M=M(i)​.
  • The index of an exhausted project is the paper's −∞-\infty−∞. In Lean index takes the junk value 0 there; every use (the index rule, M(i)M_{(i)}M(i)​, max⁡jMj\max_j M_jmaxj​Mj​) ranges over active projects only.
  • Policies are Markov in (x,s,M)(x, s, M)(x,s,M), valued in Option (Fin N) (none = retire), feasible (they engage only active projects) and measurable (each decision set is measurable), so that their expected rewards are well defined. The index rule allows arbitrary tie-breaking; the goal quantifies over every such rule.
  • Infinite-horizon values (Lemma 1, the further item) are any bounded measurable solutions of (2), (4), (9); such solutions exist and are unique by the contraction property.
  • (19) uses the Stieltjes measure of any monotone right-continuous function agreeing with PiP_iPi​, and integrates over m>Mm > Mm>M.
  • Trivializing formalizations are excluded: FFF is not F^\hat FF^ by definition, exhausted projects cannot be engaged by the index rule, and maxima over iii are seeded with MMM rather than taken as a junk real supremum.

A complete development needs measurability of the recursive values, convexity of φi\varphi_iφi​ in MMM with one-sided derivatives, Lebesgue–Stieltjes integration by parts, and Fubini for kernels. Convexity of finite-horizon retirement values and the integration-by-parts identity are reusable beyond this mission. Contributions to any milestone, and sorry-free lemmas on these ingredients, are welcome.

Selected references

  • P. Whittle, Multi-armed Bandits and the Gittins Index, J. R. Statist. Soc. B 42(2), 143–149, 1980. https://doi.org/10.1111/j.2517-6161.1980.tb01111.x
  • J. C. Gittins, Bandit Processes and Dynamic Allocation Indices, J. R. Statist. Soc. B 41(2), 148–177, 1979. https://doi.org/10.1111/j.2517-6161.1979.tb01068.x
  • D. Blackwell, Discounted Dynamic Programming, Ann. Math. Statist. 36(1), 226–235, 1965. https://doi.org/10.1214/aoms/1177700285
  • J. Gittins, K. Glazebrook, R. Weber, Multi-armed Bandit Allocation Indices, 2nd ed., Wiley, 2011. https://doi.org/10.1002/9780470980033
  • T. Lattimore, Cs. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 35. https://doi.org/10.1017/9781108571401
8 thms1 active userReviewed
ProbabilityReinforcement LearningStochastic Systems·Captain: mikedeng1

Asynchronous Stochastic Approximation and Q-Learning 2: Asynchronous Stochastic Approximation with Outdated Information Converges with Probability 1 Under a Weighted Maximum Norm ContractionResearch Paper

Motivation

Many iterative algorithms update only part of a vector at a time. In a parallel implementation, one processor may read a value written several rounds earlier by another processor. Random observations also perturb each update. John N. Tsitsiklis's 1994 paper gives conditions under which such an asynchronous stochastic iteration still converges. The paper develops the result to analyze Q-learning, where state-action values are revised from sampled costs and successor states. Its general theorem also applies to iterative fixed-point calculations beyond that application.

The central issue is that a processor can choose which component to update after seeing the past, and its input can be stale. A convergence theorem that presumes a fixed update schedule or current data would miss both features. The paper's Assumptions 1–3 describe when delays, sampling noise, and random step sizes remain compatible with almost-sure convergence. Assumption 5 gives a weighted maximum norm contraction for the iteration map. Theorem 3 combines these conditions into the target of this mission.

Setting

Fix a positive integer nnn and write x(t)∈Rnx(t)\in\mathbb R^nx(t)∈Rn for the vector after round t≥0t\ge0t≥0. Let F:Rn→RnF:\mathbb R^n\to\mathbb R^nF:Rn→Rn be the map whose fixed point the iteration seeks. For component iii, the step size αi(t)\alpha_i(t)αi​(t) lies in [0,1][0,1][0,1], the noise is wi(t)w_i(t)wi​(t), and τji(t)≤t\tau^i_j(t)\le tτji​(t)≤t is the time from which component jjj was read. Thus xi(t)x^i(t)xi(t) has coordinates xj(τji(t))x_j(\tau^i_j(t))xj​(τji​(t)). With αi(t)=0\alpha_i(t)=0αi​(t)=0 when component iii is idle, all rounds obey the single update equation

xi(t+1)=xi(t)+αi(t)(Fi(xi(t))−xi(t)+wi(t)).x_i(t+1)=x_i(t)+\alpha_i(t)\bigl(F_i(x^i(t))-x_i(t)+w_i(t)\bigr).xi​(t+1)=xi​(t)+αi​(t)(Fi​(xi(t))−xi​(t)+wi​(t)).

All quantities live on a probability space with law P\mathsf PP. The increasing filtration F(t)\mathcal F(t)F(t) represents information available when the step sizes and delays are selected, before the round's noise is observed. Assumption 1 says every timestamp τji(t)\tau^i_j(t)τji​(t) tends to infinity almost surely: no fixed old value remains in use forever. Assumption 2 makes the initial state, chosen step sizes, delays, and noise measurable at the specified times; the noise has conditional mean zero, and its conditional second moment is bounded by a deterministic affine function of the largest squared iterate seen so far. Assumption 3 requires, for each component, divergent total step size and a square-summable step-size sequence, with a deterministic bound on all squared partial sums.

For a vector vvv with strictly positive coordinates, the weighted maximum norm is ∥z∥v=max⁡i∣zi∣/vi\|z\|_v=\max_i |z_i|/v_i∥z∥v​=maxi​∣zi​∣/vi​. Assumption 5 provides x∗∈Rnx^*\in\mathbb R^nx∗∈Rn and β∈[0,1)\beta\in[0,1)β∈[0,1) such that ∥F(x)−x∗∥v≤β∥x−x∗∥v\|F(x)-x^*\|_v\le\beta\|x-x^*\|_v∥F(x)−x∗∥v​≤β∥x−x∗∥v​ for every xxx. Assumption 6, used in the boundedness milestone, requires the related growth bound ∥F(x)∥v≤β∥x∥v+D\|F(x)\|_v\le\beta\|x\|_v+D∥F(x)∥v​≤β∥x∥v​+D for some real DDD. The weighted norm permits different component scales.

Formalization targets

Boundedness under a weighted growth bound

Theorem 1 is the main intermediate target. Under Assumptions 1, 2, 3, and 6, it asserts

P ⁣(∃M∈R  ∀t,i, ∣xi(t)∣≤M)=1.\mathsf P\!\left(\exists M\in\mathbb R\;\forall t,i,\ |x_i(t)|\le M\right)=1.P(∃M∈R∀t,i, ∣xi​(t)∣≤M)=1.

The bound MMM may depend on the sample path. Lemmas 1–3 of the paper are milestones in its analysis: a scalar noisy recursion converges, its tails become uniformly small, and the pathwise bounds in the contradiction step hold.

Almost-sure convergence under a weighted contraction

The goal is Theorem 3, under Assumptions 1, 2, 3, and 5:

P ⁣(lim⁡t→∞x(t)=x∗)=1.\mathsf P\!\left(\lim_{t\to\infty}x(t)=x^*\right)=1.P(t→∞lim​x(t)=x∗)=1.

This theorem does not assume bounded iterates or Assumption 6 separately. Its proof uses Theorem 1 after deriving the needed growth bound from the contraction condition. Lemma 8 is the remaining milestone, comparing the coordinate iterates to an auxiliary deterministic recursion and a noise tail.

Significance

The result gives a fixed-point convergence guarantee when coordinates update at different times, delays can vary, and update choices can depend on past observations. In the paper's Q-learning application, these features describe exploratory sampling and possible parallel computation with old state-action values. For discounted problems, the associated Q-learning map contracts in the maximum norm, so Theorem 3 supplies the convergence step once the stochastic assumptions are checked (Tsitsiklis 1994, §7).

The mathematical results were proved in 1994; this mission asks for machine-checked proofs of their formal statements. Its reusable output would include a model of asynchronous noisy iteration, a scalar martingale-noise convergence lemma with random conditional variance bounds, and a precise interface between weighted contractions and pathwise convergence. The goal and milestone theorem files are currently statements with proof holes, while the definition file compiles without one.

Difficulty

A coordinate's next value depends on a vector assembled from observations at several earlier times. A direct estimate against the current error therefore does not close: the stale coordinates can reflect larger past errors. The noise condition is also tied to the largest iterate seen so far, so a deterministic global variance bound is unavailable before boundedness has been established. These two dependencies make the ordinary synchronous contraction argument insufficient. The scalar noise result and the pathwise comparison lemmas isolate the conditions needed for the boundedness and convergence statements.

Formalization scope

Vectors are functions Fin n → ℝ, with n>0n>0n>0; the source labels coordinates 1,…,n1,\ldots,n1,…,n, while Fin n starts at zero. Function order is componentwise. The model sets αi(t)=0\alpha_i(t)=0αi​(t)=0 on idle rounds and uses the paper's unified update equation. It does not store the sets of update times separately. The delay values on idle rounds are left arbitrary because they do not affect the update; the source chooses the current time there. All step sizes lie in [0,1][0,1][0,1], and all delays are at most the current time, on every sample path.

The probability law is a probability measure. The filtration consists of increasing sub-σ-algebras. The iterate sequence is explicitly assumed adapted in the main theorems, matching the paper's use of x(t)x(t)x(t) and its running maximum as F(t)\mathcal F(t)F(t)-measurable random variables. Conditional moment assumptions use integral inequalities over measurable sets, allowing generalized conditional expectations when the noise need not have a finite unconditional second moment. The conditional upper bound is required nonnegative almost surely, as the original inequality entails. Divergence and square summability use partial sums, so a non-summable series cannot receive a default value.

The maximum norm is the finite supremum of coordinate absolute values, and the weighted norm divides by the strictly positive coordinates of vvv. Almost-sure boundedness means a path-dependent finite bound on every coordinate and time. Pathwise Lemmas 3 and 8 are stated on a retained sample path, with the auxiliary quantities and hypotheses established at their locations in the paper; Lemma 8 uses the proof's translated and rescaled coordinates. These conventions rule out an empty coordinate type, junk integrals, and a vacuous boundedness claim. Contributions to the stated lemmas, their probabilistic infrastructure, and the final convergence proof are within scope.

Selected references

  • John N. Tsitsiklis, Asynchronous Stochastic Approximation and Q-Learning, Machine Learning 16 (1994), 185–202. DOI: 10.1023/A:1022689125041.
7 thms1 active userReviewed
ProbabilityReinforcement LearningStochastic Systems·Captain: mikedeng1

Asynchronous Stochastic Approximation and Q-Learning 1: Bounded Asynchronous Stochastic Approximation Iterates Converge with Probability 1 to the Unique Fixed Point of a Monotone Continuous MapResearch Paper

Motivation

Q-learning (Watkins, 1989) learns the optimal action values of a Markov decision problem from sampled transitions, without a model of the transition probabilities. At each step only one state–action pair is updated, with a noisy estimate of the Bellman operator evaluated at possibly outdated values of the other pairs. Watkins and Dayan (1992) gave a first convergence proof for discounted problems. Tsitsiklis (1994) and, independently, Jaakkola, Jordan and Singh (1994) placed Q-learning inside the theory of stochastic approximation: the Robbins–Monro scheme of iterating x←x+α (F(x)−x+w)x \leftarrow x + \alpha\,(F(x) - x + w)x←x+α(F(x)−x+w) with decreasing stepsizes and zero-mean noise, here in an asynchronous form where different components are updated at different times using delayed information, as in the distributed iterations of Bertsekas and Tsitsiklis (1989).

Tsitsiklis's paper proves convergence with probability 1 under two structural hypotheses on the iteration mapping FFF: a weighted maximum-norm contraction (Theorem 3), which covers discounted Q-learning, and monotonicity (Theorem 2), which covers undiscounted (stochastic shortest path) problems, whose Bellman operator is monotone but in general not a contraction. This mission formalizes the monotone case.

Setting

A mapping F:Rn→RnF:\mathbb R^n\to\mathbb R^nF:Rn→Rn with components F1,…,FnF_1,\dots,F_nF1​,…,Fn​ is given, and the goal is to solve F(x)=xF(x)=xF(x)=x. Time is discrete, t=0,1,2,…t=0,1,2,\dotst=0,1,2,…. The iterate x(t)∈Rnx(t)\in\mathbb R^nx(t)∈Rn evolves by

xi(t+1)=xi(t)+αi(t)(Fi(xi(t))−xi(t)+wi(t)),xi(t)=(x1(τ1i(t)),…,xn(τni(t))),x_i(t+1)=x_i(t)+\alpha_i(t)\bigl(F_i(x^i(t))-x_i(t)+w_i(t)\bigr),\qquad x^i(t)=\bigl(x_1(\tau^i_1(t)),\dots,x_n(\tau^i_n(t))\bigr),xi​(t+1)=xi​(t)+αi​(t)(Fi​(xi(t))−xi​(t)+wi​(t)),xi(t)=(x1​(τ1i​(t)),…,xn​(τni​(t))),

where αi(t)∈[0,1]\alpha_i(t)\in[0,1]αi​(t)∈[0,1] is a stepsize (αi(t)=0\alpha_i(t)=0αi​(t)=0 when component iii is not updated), wi(t)w_i(t)wi​(t) is noise, and 0≤τji(t)≤t0\le\tau^i_j(t)\le t0≤τji​(t)≤t are delays: the update of component iii may read component jjj as it was at an earlier time. All quantities are random variables on a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) with an increasing sequence of σ-fields {F(t)}\{\mathcal F(t)\}{F(t)}, the history up to the choice of the stepsizes at time ttt.

Vector inequalities are componentwise and eee is the vector of ones. The paper's assumptions are:

  • Assumption 1: every delay index τji(t)\tau^i_j(t)τji​(t) tends to infinity, with probability 1.
  • Assumption 2: x(0)x(0)x(0), αi(t)\alpha_i(t)αi​(t), τji(t)\tau^i_j(t)τji​(t) are F(t)\mathcal F(t)F(t)-measurable and wi(t)w_i(t)wi​(t) is F(t+1)\mathcal F(t+1)F(t+1)-measurable; E[wi(t)∣F(t)]=0E[w_i(t)\mid\mathcal F(t)]=0E[wi​(t)∣F(t)]=0; and E[wi2(t)∣F(t)]≤A+Bmax⁡jmax⁡τ≤t∣xj(τ)∣2E[w_i^2(t)\mid\mathcal F(t)]\le A+B\max_j\max_{\tau\le t}|x_j(\tau)|^2E[wi2​(t)∣F(t)]≤A+Bmaxj​maxτ≤t​∣xj​(τ)∣2 for deterministic constants A,BA,BA,B.
  • Assumption 3: ∑tαi(t)=∞\sum_t\alpha_i(t)=\infty∑t​αi​(t)=∞ and ∑tαi2(t)≤C\sum_t\alpha_i^2(t)\le C∑t​αi2​(t)≤C with probability 1, for a deterministic CCC.
  • Assumption 4: FFF is monotone (x≤y⇒F(x)≤F(y)x\le y\Rightarrow F(x)\le F(y)x≤y⇒F(x)≤F(y)), continuous, has a unique fixed point x∗x^*x∗, and F(x)−re≤F(x−re)≤F(x+re)≤F(x)+reF(x)-re\le F(x-re)\le F(x+re)\le F(x)+reF(x)−re≤F(x−re)≤F(x+re)≤F(x)+re for all xxx and all r>0r>0r>0.

In Lean the algorithm is the structure AsyncSA.Monotone.Algorithm with fields F, x, α, w, τ, and the assumptions are Assumption1–Assumption4.

Formalization targets

Goal: Theorem 2 (p. 189)

Under Assumptions 1–4, if x(t)x(t)x(t) is bounded with probability 1, then

lim⁡t→∞x(t)=x∗with probability 1.\lim_{t\to\infty}x(t)=x^*\qquad\text{with probability 1.}t→∞lim​x(t)=x∗with probability 1.

Boundedness is a hypothesis, not a conclusion: for monotone FFF it must be established separately (the paper does so for Q-learning in §7). The bound may differ between sample paths.

Milestones

  1. Lemma 1 (p. 190): for a scalar recursion W(t+1)=(1−α(t))W(t)+α(t)w(t)W(t+1)=(1-\alpha(t))W(t)+\alpha(t)w(t)W(t+1)=(1−α(t))W(t)+α(t)w(t) with martingale-difference noise whose conditional variance is bounded by an a.s. bounded B(t)B(t)B(t), and stepsizes with ∑α=∞\sum\alpha=\infty∑α=∞, ∑α2≤C\sum\alpha^2\le C∑α2≤C, W(t)→0W(t)\to0W(t)→0 with probability 1.
  2. Lemma 4 (p. 193): the sequences Uk+1=(Uk+F(Uk))/2U^{k+1}=(U^k+F(U^k))/2Uk+1=(Uk+F(Uk))/2, U0=x∗+reU^0=x^*+reU0=x∗+re, and Lk+1=(Lk+F(Lk))/2L^{k+1}=(L^k+F(L^k))/2Lk+1=(Lk+F(Lk))/2, L0=x∗−reL^0=x^*-reL0=x∗−re, satisfy F(Uk)≤Uk+1≤UkF(U^k)\le U^{k+1}\le U^kF(Uk)≤Uk+1≤Uk and F(Lk)≥Lk+1≥LkF(L^k)\ge L^{k+1}\ge L^kF(Lk)≥Lk+1≥Lk.
  3. Lemma 5 (p. 193): Uk→x∗U^k\to x^*Uk→x∗ and Lk→x∗L^k\to x^*Lk→x∗.
  4. Lemma 6 (p. 194): on a sample path where Lk≤x(t)≤UkL^k\le x(t)\le U^kLk≤x(t)≤Uk from time tkt_ktk​ on and all delays exceed tkt_ktk​ from time tk′t'_ktk′​ on, xi(t)≤Xi(t)+Wi(t;tk′)x_i(t)\le X_i(t)+W_i(t;t'_k)xi​(t)≤Xi​(t)+Wi​(t;tk′​), where XiX_iXi​ relaxes from UikU^k_iUik​ towards Fi(Uk)F_i(U^k)Fi​(Uk) and Wi(t;tk′)W_i(t;t'_k)Wi​(t;tk′​) accumulates the noise from tk′t'_ktk′​.
  5. Lemma 7 (p. 195): under the choices of δk\delta_kδk​ and tk′′t''_ktk′′​ made on pp. 194–195, xi(t)≤Uik+1x_i(t)\le U^{k+1}_ixi​(t)≤Uik+1​ for all t≥tk′′t\ge t''_kt≥tk′′​.

Significance

Theorem 2 is the convergence result for asynchronous stochastic approximation driven by a monotone mapping whose fixed point is unique. Its main application is Q-learning for stochastic shortest path problems with improper policies excluded, and more generally any learning scheme whose expected update is a monotone, sup-norm nonexpansive operator in the sense of (7) (dynamic programming operators are the standard examples). The same pattern, an a.s. bounded iterate plus a monotone mean map, recurs in later analyses of asynchronous and distributed learning algorithms.

The result has a published proof but, as far as the platform's catalog shows, no machine-checked one: there is no formalized asynchronous stochastic approximation theorem, and no formal Lemma 1 for random stepsizes and random conditional-variance bounds. A complete development provides the scalar almost-sure convergence lemma, the deterministic envelope argument for monotone maps, and the pathwise comparison steps, each of which is reusable.

Difficulty

The noise has a conditional variance that grows with the iterate, so it is neither bounded nor integrable a priori, and the stepsizes are random and chosen adaptively. The classical deterministic-bound argument for Lemma 1 does not apply directly. The iteration is not a contraction in any norm, so there is no Lyapunov function giving a geometric decrease, and the delays mean that the mapping is evaluated at a vector no single time index describes. Convergence has to be propagated from the deterministic envelopes Uk,LkU^k,L^kUk,Lk to the random iterate through a sequence of random times, one envelope at a time, and each step requires the noise accumulated after a random time to be small uniformly in the remaining horizon.

Formalization scope

  • Components are Fin n (0-based); vectors are Fin n → ℝ with the componentwise order, so Monotone F is Assumption 4(a) exactly. rerere is r • 1.
  • The update is stated in the paper's unified form for every ttt, with αi(t)=0\alpha_i(t)=0αi​(t)=0 off the update times; the update sets TiT^iTi are not represented. The paper sets τji(t)=t\tau^i_j(t)=tτji​(t)=t off TiT^iTi; the formalization leaves τji(t)\tau^i_j(t)τji​(t) free there, which is more general. αi(t)∈[0,1]\alpha_i(t)\in[0,1]αi​(t)∈[0,1] and τji(t)≤t\tau^i_j(t)\le tτji​(t)≤t hold on every sample path.
  • Conditional expectations are generalized, written with set integrals (CondMeanZero, CondSqLe): ∫Sw dP=0\int_S w\,dP=0∫S​wdP=0 for every F(t)\mathcal F(t)F(t)-set SSS on which www is integrable, and ∫Sw2 dP≤∫Sg+ dP\int_S w^2\,dP\le\int_S g^+\,dP∫S​w2dP≤∫S​g+dP in [0,∞][0,\infty][0,∞]. Mathlib's condExp is not used: it is 000 for non-integrable functions and would make the noise assumptions vacuous.
  • Series conditions use partial sums (divergence to +∞+\infty+∞; every partial sum at most CCC), never tsum, which is 000 for non-summable sequences. The constants A,B,CA,B,CA,B,C are chosen before the almost-sure quantifier; the bound on x(t)x(t)x(t) is chosen after it.
  • The paper treats x(t)x(t)x(t) as determined by F(t)\mathcal F(t)F(t) and uses this implicitly; Theorem 2 assumes it explicitly (Adapted).
  • Lemma 1 leaves W(0)W(0)W(0) unconstrained, as on the page. Lemmas 4 and 5 hold for every r>0r>0r>0. Lemmas 6 and 7 are pathwise: they fix one sample path and take the induction's objects (kkk, tkt_ktk​, tk′t'_ktk′​, tk′′t''_ktk′′​, XXX, δk\delta_kδk​) as given with exactly the properties the paper has established for them; they are not existential statements about these times.
  • A trivializing formalization (junk conditional expectations, tsum for the series, a deterministic bound on x(t)x(t)x(t), or a second unrelated x∗x^*x∗) is ruled out by the choices above.

Contributions welcome: a general almost-sure convergence theorem for Robbins–Monro recursions with generalized conditional moments (Lemma 1 and its tail version W(t;t0)W(t;t_0)W(t;t0​)), and lemmas on monotone maps satisfying (7).

Selected references

  • J. N. Tsitsiklis, Asynchronous Stochastic Approximation and Q-Learning, Machine Learning 16 (1994) 185–202. https://doi.org/10.1023/A:1022689125041
  • C. J. C. H. Watkins and P. Dayan, Q-learning, Machine Learning 8 (1992) 279–292. https://doi.org/10.1007/BF00992698
  • T. Jaakkola, M. I. Jordan and S. P. Singh, On the Convergence of Stochastic Iterative Dynamic Programming Algorithms, Neural Computation 6 (1994) 1185–1201. https://doi.org/10.1162/neco.1994.6.6.1185
  • D. P. Bertsekas and J. N. Tsitsiklis, Parallel and Distributed Computation: Numerical Methods, Prentice Hall, 1989. https://hdl.handle.net/1721.1/3719
  • B. T. Poljak and Ya. Z. Tsypkin, Pseudogradient adaptation and training algorithms, Automation and Remote Control 34 (1973) 377–397.
  • H. Robbins and S. Monro, A Stochastic Approximation Method, Annals of Mathematical Statistics 22 (1951) 400–407. https://doi.org/10.1214/aoms/1177729586
7 thms1 active userReviewed
Dynamic ProgrammingOptimizationProbability·Captain: mikedeng1

Negative Dynamic Programming IV: Switching at Each Stage to the Policy with the Better Continuation Return Does at Least as Well as Both PoliciesResearch Paper

Motivation

Policy improvement is one of the two classical ways of solving a Markov decision problem: start from a policy, compute its return, and change the decision wherever another action looks better against that return. Howard (1960, Dynamic Programming and Markov Processes) introduced it for finite state and action spaces, and Blackwell (1965) proved it for discounted problems on Borel spaces. A related routine combines two given policies instead of improving one: at each state, follow whichever policy has the larger return there. Eaton and Zadeh (1962, J. Basic Eng. Ser. D 84, 23–29) proved that this combination of two stationary policies is at least as good as both in the negative case with finite state and action spaces (as credited on p. 889 of Strauch's paper).

Strauch's paper Negative Dynamic Programming (Ann. Math. Statist. 37 (1966) 871–890) treats the negative case: all one-stage returns are non-positive (costs) and there is no discounting. This case covers stochastic shortest-path and optimal-stopping problems with positive costs, where expected total returns may be −∞-\infty−∞ and the contraction arguments of the discounted case are not available. Section 9 of the paper shows that both improvement routines remain valid there, for arbitrary randomized history-dependent policies on Borel spaces, and that they fail in the positive case (Examples 4.2 and 9.1 of the paper).

Timeline:

  • 1960, Howard: policy iteration for finite state and action spaces.
  • 1962, Eaton and Zadeh: the two-policy combination for finite negative problems.
  • 1965, Blackwell: both routines for discounted problems with Borel state and action spaces.
  • 1966, Strauch, §9: Howard's routine (Theorem 9.2), the history-dependent switching theorem (Theorem 9.3) and its Markov and stationary forms (Corollaries 9.1, 9.2) in the negative case on Borel spaces.

Setting

The state space SSS and the action space AAA are non-empty Borel sets. The law of motion q(⋅∣s,a)q(\cdot\mid s,a)q(⋅∣s,a) is a probability kernel from S×AS\times AS×A to SSS, and the return r(s,a,t)r(s,a,t)r(s,a,t) is a Borel function with −∞<r≤0-\infty<r\le 0−∞<r≤0 whose one-step expectation ∫r(s,a,t) q(dt∣s,a)\int r(s,a,t)\,q(dt\mid s,a)∫r(s,a,t)q(dt∣s,a) is finite at every (s,a)(s,a)(s,a). There is no discounting (β=1\beta=1β=1).

A policy π=(π1,π2,… )\pi=(\pi_1,\pi_2,\dots)π=(π1​,π2​,…) chooses the nnn-th action ana_nan​ from a probability kernel πn(⋅∣h)\pi_n(\cdot\mid h)πn​(⋅∣h) that may depend on the whole history h=(s1,a1,…,an−1,sn)h=(s_1,a_1,\dots,a_{n-1},s_n)h=(s1​,a1​,…,an−1​,sn​). The expected return from the initial state sss is

I(π)(s)=∑n=1∞π1q⋯πnqr (s)∈[−∞,0],I(\pi)(s)=\sum_{n=1}^{\infty}\pi_1q\cdots\pi_nqr\,(s)\in[-\infty,0],I(π)(s)=n=1∑∞​π1​q⋯πn​qr(s)∈[−∞,0],

the sum of the expected one-stage returns. For a terminal reward w≤0w\le 0w≤0 that depends on the history (s1,a1,…,sn+1)(s_1,a_1,\dots,s_{n+1})(s1​,a1​,…,sn+1​), In(π,w)I_n(\pi,w)In​(π,w) is the expected return of following π\piπ for nnn stages and then receiving www.

Given two policies σ\sigmaσ and τ\tauτ, their continuation returns at a history h=(s1,…,sn)h=(s_1,\dots,s_n)h=(s1​,…,sn​) are

un(h)=∑j=n∞σnq⋯σjqr (h),vn(h)=∑j=n∞τnq⋯τjqr (h),u_n(h)=\sum_{j=n}^{\infty}\sigma_nq\cdots\sigma_jqr\,(h),\qquad v_n(h)=\sum_{j=n}^{\infty}\tau_nq\cdots\tau_jqr\,(h),un​(h)=j=n∑∞​σn​q⋯σj​qr(h),vn​(h)=j=n∑∞​τn​q⋯τj​qr(h),

the expected returns from stage nnn on if σ\sigmaσ, respectively τ\tauτ, is used from hhh on with its own kernels fed the full history. The switching policy π\piπ uses σn\sigma_nσn​ on Bn={un>vn}B_n=\{u_n>v_n\}Bn​={un​>vn​} and τn\tau_nτn​ on its complement. In Lean these objects are contReturn, IsSwitch, wmax (for wn=max⁡(un,vn)w_n=\max(u_n,v_n)wn​=max(un​,vn​)), InH (for In(π,w)I_n(\pi,w)In​(π,w)) and I, in the namespace NegativeDP.Switching.

Formalization targets

Goal: Theorem 9.3 (negative case)

For all policies σ,τ\sigma,\tauσ,τ, the switching rule defines a policy π\piπ, and every such π\piπ satisfies

I(π)≥max⁡(I(σ),I(τ))at every initial state.I(\pi)\ge\max\big(I(\sigma),I(\tau)\big)\quad\text{at every initial state.}I(π)≥max(I(σ),I(τ))at every initial state.

Milestones (proof of Theorem 9.3, p. 888)

With wn=max⁡(un,vn)w_n=\max(u_n,v_n)wn​=max(un​,vn​) and π\piπ the switching policy:

I0(π,w1)=w1=max⁡(I(σ),I(τ)),I_0(\pi,w_1)=w_1=\max(I(\sigma),I(\tau)),I0​(π,w1​)=w1​=max(I(σ),I(τ)), wn=πn(r+un+1) on Bn,wn=πn(r+vn+1) on Bnc,w_n=\pi_n(r+u_{n+1})\text{ on }B_n,\qquad w_n=\pi_n(r+v_{n+1})\text{ on }B_n^c,wn​=πn​(r+un+1​) on Bn​,wn​=πn​(r+vn+1​) on Bnc​, wn≤πn(r+wn+1),In−1(π,wn)≤In(π,wn+1),In−1(π,wn)≥max⁡(I(σ),I(τ)).w_n\le\pi_n(r+w_{n+1}),\qquad I_{n-1}(\pi,w_n)\le I_n(\pi,w_{n+1}),\qquad I_{n-1}(\pi,w_n)\ge\max(I(\sigma),I(\tau)).wn​≤πn​(r+wn+1​),In−1​(π,wn​)≤In​(π,wn+1​),In−1​(π,wn​)≥max(I(σ),I(τ)).

Further results (not milestones)

Theorem 9.2 (Howard): if I(f,π)≥I(π)I(f,\pi)\ge I(\pi)I(f,π)≥I(π) then I(f(∞))≥I(π)I(f^{(\infty)})\ge I(\pi)I(f(∞))≥I(π). Corollary 9.1: the switching theorem for Markov policies, comparing I(n−1σ)I(^{n-1}\sigma)I(n−1σ) and I(n−1τ)I(^{n-1}\tau)I(n−1τ) at the current state. Corollary 9.2 (Eaton–Zadeh): for stationary f(∞),g(∞)f^{(\infty)},g^{(\infty)}f(∞),g(∞), the rule h=fh=fh=f where I(f(∞))≥I(g(∞))I(f^{(\infty)})\ge I(g^{(\infty)})I(f(∞))≥I(g(∞)) and h=gh=gh=g elsewhere satisfies I(h(∞))≥max⁡(I(f(∞)),I(g(∞)))I(h^{(\infty)})\ge\max(I(f^{(\infty)}),I(g^{(\infty)}))I(h(∞))≥max(I(f(∞)),I(g(∞))).

Significance

Theorem 9.3 yields an improvement step that needs only the returns of two policies, not an optimality equation or a value function. Its Markov and stationary forms give policy-combination results usable for stochastic shortest-path and positive-cost problems, and together with Theorem 9.2 they justify policy-iteration schemes in the negative case on general state spaces. Example 9.1 of the paper shows that no comparable routine exists in the positive case, so the sign assumption is essential.

The results are proved in the paper. No machine-checked version of any of them exists, for the negative case or on Borel spaces; the related items on Prove2Me treat finite or discounted models. This mission produces the statements in Lean over Blackwell's published model of history-dependent plans, a construction of continuation returns from an arbitrary history, and terminal rewards that depend on the whole history.

Difficulty

The argument of the discounted case, which passes to the limit through the vanishing tail βnwn\beta^n w_nβnwn​, is not available: with β=1\beta=1β=1 the terminal term does not vanish, and returns may be −∞-\infty−∞. Comparing unu_nun​ and vnv_nvn​ at the current state only is not enough either: for history-dependent policies the continuation returns depend on the whole history, and the switching set BnB_nBn​ must be shown to be Borel in the history before the switching rule is even a policy. The induction also requires integrating extended-real terminal rewards against the history law and identifying the integral of the one-step operator with the next-stage expected return.

Formalization scope

  • Borel sets are non-empty standard Borel types; Baire functions are measurable functions. Policies are Blackwell's DiscountedDP.Stationary.Plan (one Markov kernel per decision, on Hist S A n). Decisions are numbered from 000 in Lean, so Lean's index nnn is the paper's stage n+1n+1n+1.
  • Only the negative case is formalized (r≤0r\le0r≤0 real-valued, qqq-integrable at every (s,a)(s,a)(s,a), β=1\beta=1β=1). The paper states Theorem 9.3 for the discounted and negative cases; the discounted case is not part of this mission.
  • Returns lie in [−∞,0][-\infty,0][−∞,0] and are EReal values computed as minus the lintegral of the loss −r-r−r; Bochner integrals and toReal are never used, so a return of −∞-\infty−∞ is not silently turned into 000. I(π)I(\pi)I(π) is the sum of stage expectations, equal to eπρe_\pi\rhoeπ​ρ by monotone convergence.
  • Terminal rewards are read through their negative parts; they are applied only to wn≤0w_n\le 0wn​≤0.
  • The switching policy is characterized by the predicate IsSwitch, not constructed. A statement "every switching policy satisfies the bound" would hold vacuously if no plan satisfied the rule; the goal therefore also asserts that a switching plan exists, which is the content of the paper's "define π\piπ by". The same pattern is used in Corollaries 9.1 and 9.2 (the rule defines a measurable decision rule).
  • Ties un=vnu_n=v_nun​=vn​ go to τ\tauτ in Theorem 9.3, and I(n−1σ)=I(n−1τ)I(^{n-1}\sigma)=I(^{n-1}\tau)I(n−1σ)=I(n−1τ) to gng_ngn​ in Corollary 9.1 (strict >>> as printed); in Corollary 9.2 ties go to fff (non-strict ≥\ge≥ as printed).
  • Lemma 3.1 (In(π,0)↓I(π)I_n(\pi,0)\downarrow I(\pi)In​(π,0)↓I(π)), used in the last step of the proof, is posed in mission I of this series and not repeated here.

Contributions welcome: measurability of continuation returns in the history (needed for the existence part), the identification of the history law with the continuation law from the initial state, and a Chapman–Kolmogorov identity for the continuation kernels. These are reusable in any development on history-dependent policies over Borel spaces.

Selected references

  • R. E. Strauch, Negative Dynamic Programming, Ann. Math. Statist. 37(4) (1966) 871–890. https://doi.org/10.1214/aoms/1177699369
  • D. Blackwell, Discounted Dynamic Programming, Ann. Math. Statist. 36(1) (1965) 226–235. https://doi.org/10.1214/aoms/1177700285
  • J. H. Eaton and L. A. Zadeh, Optimal pursuit strategies in discrete-state probabilistic systems, J. Basic Eng. Ser. D 84 (1962) 23–29 (reference [7] of Strauch's paper).
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
9 thms1 active userReviewed
Dynamic ProgrammingOptimizationProbability·Captain: mikedeng1

Negative Dynamic Programming I: With Non-Positive Rewards, If an Optimal Policy Exists Then an Optimal Stationary Policy ExistsResearch Paper

Motivation

Many sequential decision problems accumulate costs that are never recovered: inventory holding and shortage costs, waiting times, the expected number of steps until a target is reached. Written as rewards, these are non-positive rewards summed over an infinite horizon without discounting. Ralph Strauch's paper Negative Dynamic Programming (Ann. Math. Statist. 37 (1966), doi:10.1214/aoms/1177699369) is the foundational treatment of this negative case on general Borel state and action spaces. It complements Blackwell's treatment of the discounted case (Blackwell 1965) and of the positive bounded case (Blackwell 1964, mimeographed), and it sets out which conclusions of the discounted theory survive when rewards are non-positive and undiscounted.

A central question in that theory is how simple an optimal policy can be taken to be. A policy may in principle randomize and consult the entire past history. Strauch showed that in the negative case, whenever an optimal policy exists, an optimal stationary one exists, using one measurable decision rule at every stage. This mission formalizes that result together with the reduction from general policies to semi-Markov ones on which its proof rests.

Timeline. Blackwell (1965) proved that in the discounted case a stationary optimal policy exists whenever an optimal policy does, and gave an example showing that Markov policies need not suffice on Borel spaces. Strauch (1966) proved the corresponding statement for the negative case and proved that semi-Markov policies, which remember the initial state as well as the current one, are enough.

Setting

A negative dynamic programming problem consists of non-empty Borel sets SSS (states) and AAA (actions), a law of motion q(⋅∣s,a)q(\cdot\mid s,a)q(⋅∣s,a), which is a probability kernel from S×AS\times AS×A to SSS, and a Borel return function r(s,a,t)r(s,a,t)r(s,a,t) with

r≤0,r>−∞,∫r(s,a,t) dq(t∣s,a)>−∞  for all (s,a).r\le 0,\qquad r>-\infty,\qquad \int r(s,a,t)\,dq(t\mid s,a)>-\infty\ \ \text{for all }(s,a).r≤0,r>−∞,∫r(s,a,t)dq(t∣s,a)>−∞  for all (s,a).

There is no discounting. A policy π=(π1,π2,… )\pi=(\pi_1,\pi_2,\dots)π=(π1​,π2​,…) chooses the action ana_nan​ at stage nnn from a probability kernel πn(⋅∣hn)\pi_n(\cdot\mid h_n)πn​(⋅∣hn​), where hn=(s1,a1,…,an−1,sn)h_n=(s_1,a_1,\dots,a_{n-1},s_n)hn​=(s1​,a1​,…,an−1​,sn​) is the history. A policy is Markov if an=fn(sn)a_n=f_n(s_n)an​=fn​(sn​) for Borel maps fn:S→Af_n:S\to Afn​:S→A, semi-Markov if an=gn(s1,sn)a_n=g_n(s_1,s_n)an​=gn​(s1​,sn​) for Borel gng_ngn​, and stationary, written f(∞)f^{(\infty)}f(∞), if an=f(sn)a_n=f(s_n)an​=f(sn​) for one Borel rule fff. Random Markov and random semi-Markov policies draw ana_nan​ from kernels in sns_nsn​, respectively (s1,sn)(s_1,s_n)(s1​,sn​).

The expected total return from the initial state sss is

I(π)(s)=∑n=1∞Esπ r(sn,an,sn+1)∈[−∞,0],I(\pi)(s)=\sum_{n=1}^{\infty}\mathbb E^{\pi}_{s}\,r(s_n,a_n,s_{n+1})\in[-\infty,0],I(π)(s)=n=1∑∞​Esπ​r(sn​,an​,sn+1​)∈[−∞,0],

the optimal return is v∗(s)=sup⁡πI(π)(s)v^*(s)=\sup_\pi I(\pi)(s)v∗(s)=supπ​I(π)(s) over all policies, and π∗\pi^*π∗ is optimal if I(π∗)(s)≥v∗(s)I(\pi^*)(s)\ge v^*(s)I(π∗)(s)≥v∗(s) for every sss. For a Borel rule fff, the operator TTT acts on non-positive Borel functions uuu by

Tu(s)=∫r(s,f(s),t)+u(t) dq(t∣s,f(s)).Tu(s)=\int r(s,f(s),t)+u(t)\,dq(t\mid s,f(s)).Tu(s)=∫r(s,f(s),t)+u(t)dq(t∣s,f(s)).

The namespace is NegativeDP.Stationary. The objects above are Problem, Plan, I, In, vstar, IsOptimal and T.

Formalization targets

Goal: Theorem 8.3 (negative case), p. 886

(∃ π∗  I(π∗)≥v∗) ⟹ ∃ f Borel,  I(f(∞))≥v∗.\big(\exists\,\pi^*\ \ I(\pi^*)\ge v^*\big)\ \Longrightarrow\ \exists\,f\ \text{Borel},\ \ I(f^{(\infty)})\ge v^* .(∃π∗  I(π∗)≥v∗) ⟹ ∃f Borel,  I(f(∞))≥v∗.

Milestones

  1. Lemma 2.1: for a kernel q(⋅∣x)q(\cdot\mid x)q(⋅∣x) and a Borel u≤0u\le 0u≤0 on X×YX\times YX×Y there is a Borel fff with u(x,f(x))≥∫u(x,y) dq(y∣x)u(x,f(x))\ge\int u(x,y)\,dq(y\mid x)u(x,f(x))≥∫u(x,y)dq(y∣x).
  2. Lemma 3.1 (N): In(π)↓I(π)I_n(\pi)\downarrow I(\pi)In​(π)↓I(π).
  3. Lemma 4.1 (a), (b): policies built from the conditional laws of ana_nan​ given (s1,sn)(s_1,s_n)(s1​,sn​), respectively given sns_nsn​ under an initial law ppp, reproduce the laws of (s1,sn,an,sn+1)(s_1,s_n,a_n,s_{n+1})(s1​,sn​,an​,sn+1​), respectively the ppp-averaged laws of (sn,an,sn+1)(s_n,a_n,s_{n+1})(sn​,an​,sn+1​).
  4. Theorem 4.1: for every policy π\piπ and initial law ppp there are a random semi-Markov π∗\pi^*π∗ and a random Markov π∗∗\pi^{**}π∗∗ with I(π)=I(π∗)I(\pi)=I(\pi^*)I(π)=I(π∗) and pI(π)=pI(π∗∗)pI(\pi)=pI(\pi^{**})pI(π)=pI(π∗∗) for every return function.
  5. Theorem 4.2 (N): if I(πnσ)≥I(σ)I(\pi^n\sigma)\ge I(\sigma)I(πnσ)≥I(σ) for all large nnn, then I(π)≥I(σ)I(\pi)\ge I(\sigma)I(π)≥I(σ).
  6. Theorem 4.3 (N): a semi-Markov τ\tauτ with I(τ)≥I(π)I(\tau)\ge I(\pi)I(τ)≥I(π) and a Markov σ\sigmaσ with pI(σ)≥pI(π)pI(\sigma)\ge pI(\pi)pI(σ)≥pI(π).
  7. Theorem 5.1 (N), parts (a)–(g): the properties of TTT, including TI(π)=I(f,π)TI(\pi)=I(f,\pi)TI(π)=I(f,π), TI(f(∞))=I(f(∞))=lim⁡nTn0TI(f^{(\infty)})=I(f^{(\infty)})=\lim_n T^n0TI(f(∞))=I(f(∞))=limn​Tn0 and In(π,v)=T1⋯TnvI_n(\pi,v)=T_1\cdots T_nvIn​(π,v)=T1​⋯Tn​v for Markov π\piπ.

Significance

Theorem 8.3 reduces a search over all randomized, history-dependent policies to a search over single measurable decision rules, whenever an optimal policy exists at all. It underlies policy iteration and the stationary-policy conclusions of the later negative-programming literature, and it shows that the negative case behaves like the discounted case on this point. In the positive case only a weaker statement holds. The reduction of §4 (Theorems 4.1–4.3) is reused throughout the paper: Theorem 8.1 on (p,ε)(p,\varepsilon)(p,ε)-optimal Markov policies starts from Theorem 4.3, and the value-iteration results of §9 use Lemma 3.1 and Theorem 5.1.

All results in this mission are proved in the paper. None of them has a machine-checked proof that we know of. The closest formal result is part 2 of Bertsekas's Proposition 7, formalized in an abstract monotone-mapping model (MonotoneDP.Increase.prop7_optimal_stationary_criterion). There, policies are sequences of selectors, so it contains neither the measure-theoretic reduction from randomized history-dependent policies nor Borel state spaces. The formal work here is to build the law of the controlled process on Borel spaces, carry out the conditional-distribution argument of Theorem 4.1, and combine it with the operator calculus of §5.

Difficulty

The obvious argument starts from an optimal π∗\pi^*π∗, takes its first decision rule fff, and shows that f(∞)f^{(\infty)}f(∞) is optimal. That fails for a general π∗\pi^*π∗, because its first action may be randomized and its later actions may depend on the entire history. One first needs Theorem 4.3, which says a non-random semi-Markov policy is at least as good. That theorem needs two things. One is Theorem 4.1, which replaces a history-dependent policy by one built from conditional distributions of actions, and this requires disintegration of measures on Borel spaces. The other is the measurable selection of Lemma 2.1, which the paper takes from Theorem 2 of Blackwell and Ryll-Nardzewski 1963, applied stage by stage, with Theorem 4.2 to pass to the limit. On Borel spaces Markov policies are not enough (Blackwell's example, Example 4.1 of the paper), so the semi-Markov step cannot be skipped. Returns can equal −∞-\infty−∞, and every limit exchange has to respect that.

Formalization scope

Borel sets are non-empty standard Borel types and Baire functions are measurable functions. The return rrr is real-valued, non-positive and integrable under q(⋅∣s,a)q(\cdot\mid s,a)q(⋅∣s,a) for every (s,a)(s,a)(s,a). Returns live in the extended reals. I(π)I(\pi)I(π), In(π,v)I_n(\pi,v)In​(π,v), TTT and all integrals of non-positive functions are computed as minus lower Lebesgue integrals of the corresponding losses in [0,∞][0,\infty][0,∞], so a return of −∞-\infty−∞ is never collapsed to 000. I(π)I(\pi)I(π) is the sum of stage expectations, which equals the paper's expectation of the total return by monotone convergence. v∗v^*v∗ is the supremum over every randomized history-dependent plan. Restricting it to Markov or stationary policies would make the goal weaker, and that encoding is ruled out. Only the negative case (r≤0r\le 0r≤0, β=1\beta=1β=1) is formalized. Results the paper labels "D, P, N" or "D, N" appear here in their N form.

Explicit choices:

  • Lean numbers decisions from 000. Hist S A n is the paper's Hn+1H_{n+1}Hn+1​ and the plan's kernel κ n is πn+1\pi_{n+1}πn+1​.
  • The objects π∗\pi^*π∗ and π∗∗\pi^{**}π∗∗ of Lemma 4.1 are defined in the paper's proof as conditional distributions. Here their defining property is a hypothesis: for every initial state, or after averaging over ppp, the joint law of (sn,an)(s_n,a_n)(sn​,an​) is the law of sns_nsn​ followed by the kernel.
  • In Theorem 4.1, "for any return function rrr" is a quantifier over every negative problem with the same law of motion, placed after the choice of π∗\pi^*π∗ and π∗∗\pi^{**}π∗∗.
  • In Theorem 5.1 (b), u+cu+cu+c is required to lie in M(S)M(S)M(S). In (d), the increasing part holds only on {sup⁡jTuj>−∞}\{\sup_jTu_j>-\infty\}{supj​Tuj​>−∞}.
  • In Theorem 5.1 (f), TTT is applied to I(π)I(\pi)I(π) for a general plan with no measurability hypothesis. The lower integral is defined for every function.

Infrastructure needed: the law of the controlled process (built here by iterated kernel composition, as in the published DiscountedDP.Stationary model), disintegration of kernels on standard Borel spaces, a measurable selection theorem of Blackwell–Ryll-Nardzewski type, and monotone convergence for lower integrals. The disintegration and selection results are reusable well beyond this paper. Contributions to Theorems 4.1 and 4.3 are especially welcome, since missions II–IV of this series build on them.

Selected references

  • R. E. Strauch, Negative Dynamic Programming, Ann. Math. Statist. 37(4) (1966) 871–890. https://doi.org/10.1214/aoms/1177699369
  • D. Blackwell, Discounted Dynamic Programming, Ann. Math. Statist. 36(1) (1965) 226–235. https://doi.org/10.1214/aoms/1177700285
  • D. Blackwell and C. Ryll-Nardzewski, Non-existence of everywhere proper conditional distributions, Ann. Math. Statist. 34(1) (1963) 223–225. https://doi.org/10.1214/aoms/1177704259
16 thms1 active userReviewed
CombinatoricsGraph Theory·Captain: mikedeng1

An Introduction to Timetabling 1: Every Class–Teacher Requirement Matrix Has a Timetable over Any p Days with Every Daily Load and Pair Count Between ⌊r/p⌋ and ⌈r/p⌉Research Paper

Motivation

School and university timetabling is one of the oldest applications of combinatorial optimization. In his invited review An introduction to timetabling (European Journal of Operational Research, 1985), D. de Werra opens with the class–teacher model: classes meet teachers for a prescribed number of one-period lectures, and the lectures must be placed into periods or days so that no class and no teacher is overloaded. Every richer timetabling model of the review (preassignments, unavailabilities, course scheduling) is built on top of this one, and the review keeps returning to its graph-theoretic reading as an edge-colouring problem in a bipartite multigraph.

The model comes in three levels of demand. The daily problem asks for a clash-free timetable. The weekly problem asks for an assignment of lectures to days within daily load limits. The balanced weekly problem asks, in addition, that the load of every class and every teacher be spread as evenly as possible over the week, and that the lectures of each class–teacher pair be spread evenly too. The last one is the practical requirement that a teacher should not have all four lectures with one class on Monday.

Timeline (as cited in the review).

  • 1916. D. König proves that a bipartite multigraph of maximum degree Δ\DeltaΔ can be edge-coloured with Δ\DeltaΔ colours. The review states it as Proposition 2.1, citing Berge's Graphes [1].
  • 1975. D. de Werra, "A few remarks on chromatic scheduling" (reference [37] of the review), gives the balanced version: for every ppp the edges of a bipartite multigraph can be ppp-coloured so that every node and every bundle of parallel edges is balanced. This is Proposition 2.3.
  • 1978. D. de Werra, "Some comments on a note about timetabling" (INFOR, reference [38]), gives the weekly version with daily load limits, Proposition 2.2.
  • 1985. The review collects the three results in matrix form as problems CT1, CT2 and CT3 and sketches a network-flow construction for CT3, citing Krarup [19].

Setting

There are mmm classes c1,…,cmc_1,\dots,c_mc1​,…,cm​ and nnn teachers t1,…,tnt_1,\dots,t_nt1​,…,tn​. The requirement matrix R=(rij)R=(r_{ij})R=(rij​) is an m×nm\times nm×n matrix of nonnegative integers: rijr_{ij}rij​ is the number of lectures class cic_ici​ must have with teacher tjt_jtj​. Write ri⋅=∑jrijr_{i\cdot}=\sum_j r_{ij}ri⋅​=∑j​rij​ for the total load of class cic_ici​ and r⋅j=∑irijr_{\cdot j}=\sum_i r_{ij}r⋅j​=∑i​rij​ for that of teacher tjt_jtj​. For nonnegative integers sss and p≥1p\ge1p≥1, ⌊s/p⌋\lfloor s/p\rfloor⌊s/p⌋ and ⌈s/p⌉\lceil s/p\rceil⌈s/p⌉ are the floor and ceiling of the rational s/ps/ps/p.

A schedule over ppp periods or days is an array x=(xijk)x=(x_{ijk})x=(xijk​) of nonnegative integers (i≤mi\le mi≤m, j≤nj\le nj≤n, k≤pk\le pk≤p) that places every lecture exactly once:

∑k=1pxijk=rijfor all i,j.(1)\sum_{k=1}^p x_{ijk}=r_{ij}\quad\text{for all } i,j. \tag{1}k=1∑p​xijk​=rij​for all i,j.(1)
  • CT1 asks in addition that xijk∈{0,1}x_{ijk}\in\{0,1\}xijk​∈{0,1} and that ∑jxijk≤1\sum_j x_{ijk}\le1∑j​xijk​≤1, ∑ixijk≤1\sum_i x_{ijk}\le1∑i​xijk​≤1: no class and no teacher has two lectures in one period.
  • CT2, given positive integers aia_iai​, bjb_jbj​, asks that ∑jxijk≤ai\sum_j x_{ijk}\le a_i∑j​xijk​≤ai​ and ∑ixijk≤bj\sum_i x_{ijk}\le b_j∑i​xijk​≤bj​ on every day kkk.
  • CT3 asks that on every day kkk
⌊ri⋅p⌋≤∑jxijk≤⌈ri⋅p⌉,⌊r⋅jp⌋≤∑ixijk≤⌈r⋅jp⌉,⌊rijp⌋≤xijk≤⌈rijp⌉.(8–10)\Big\lfloor \tfrac{r_{i\cdot}}{p}\Big\rfloor\le\sum_j x_{ijk}\le\Big\lceil \tfrac{r_{i\cdot}}{p}\Big\rceil,\quad \Big\lfloor \tfrac{r_{\cdot j}}{p}\Big\rfloor\le\sum_i x_{ijk}\le\Big\lceil \tfrac{r_{\cdot j}}{p}\Big\rceil,\quad \Big\lfloor \tfrac{r_{ij}}{p}\Big\rfloor\le x_{ijk}\le\Big\lceil \tfrac{r_{ij}}{p}\Big\rceil. \tag{8–10}⌊pri⋅​​⌋≤j∑​xijk​≤⌈pri⋅​​⌉,⌊pr⋅j​​⌋≤i∑​xijk​≤⌈pr⋅j​​⌉,⌊prij​​⌋≤xijk​≤⌈prij​​⌉.(8–10)

In the Lean development these are IsCT1 R p x, IsCT2 R p a b x and IsCT3 R p x, with the floor and ceiling written lo s p and hi s p and the totals rowSum R i, colSum R j.

Formalization targets

Goal: Proposition 2.3

∀ R∈Nm×n, ∀ p≥1:∃ x,  x solves CT3 for R over p days.\forall\,R\in\mathbb N^{m\times n},\ \forall\,p\ge1:\quad \exists\,x,\ \ x \text{ solves CT3 for } R \text{ over } p \text{ days}.∀R∈Nm×n, ∀p≥1:∃x,  x solves CT3 for R over p days.

The statement fixes no constant: it asserts that perfectly balanced weekly timetables always exist.

Milestones

  1. One balanced day (flow sketch, p. 153): for p≥1p\ge1p≥1 there is a matrix yyy satisfying the bounds (8), (9), (10) at once.
  2. The remaining days stay balanced (same sketch): if p≥2p\ge2p≥2 and ⌊s/p⌋≤y≤⌈s/p⌉\lfloor s/p\rfloor\le y\le\lceil s/p\rceil⌊s/p⌋≤y≤⌈s/p⌉, then ⌊s/p⌋≤⌊(s−y)/(p−1)⌋\lfloor s/p\rfloor\le\lfloor (s-y)/(p-1)\rfloor⌊s/p⌋≤⌊(s−y)/(p−1)⌋ and ⌈(s−y)/(p−1)⌉≤⌈s/p⌉\lceil (s-y)/(p-1)\rceil\le\lceil s/p\rceil⌈(s−y)/(p−1)⌉≤⌈s/p⌉.
  3. Proposition 2.1 (König): CT1 is solvable iff r⋅j≤pr_{\cdot j}\le pr⋅j​≤p and ri⋅≤pr_{i\cdot}\le pri⋅​≤p for all i,ji,ji,j.
  4. Proposition 2.2: CT2 is solvable iff r⋅j≤p bjr_{\cdot j}\le p\,b_jr⋅j​≤pbj​ and ri⋅≤p air_{i\cdot}\le p\,a_iri⋅​≤pai​.
  5. Minimum number of days: CT2 is solvable over ppp days iff p≥max⁡(max⁡j⌈r⋅j/bj⌉,max⁡i⌈ri⋅/ai⌉)p\ge\max\big(\max_j\lceil r_{\cdot j}/b_j\rceil,\max_i\lceil r_{i\cdot}/a_i\rceil\big)p≥max(maxj​⌈r⋅j​/bj​⌉,maxi​⌈ri⋅​/ai​⌉).
  6. Figure 1: the printed timetable for R=(124302)R=\begin{pmatrix}1&2&4\\3&0&2\end{pmatrix}R=(13​20​42​), p=3p=3p=3, solves CT3.

Significance

The result. Proposition 2.3 says that the balancing requirement costs nothing: whatever the requirement matrix, the week can be organised so that each class and each teacher has an essentially constant daily load and each class–teacher pair is spread evenly. It contains König's edge-colouring theorem (take ppp at least the maximum degree, so every daily load is at most one) and the weekly Proposition 2.2 as special cases. Combined with Proposition 2.1 applied to each day, it reduces weekly timetabling to independent daily problems, which is the decomposition the review recommends ("one may start by solving the weekly problem … and then solve separately the resulting daily problems", p. 154). In graph language it is the existence of equitable edge colourings of bipartite multigraphs, a standard tool in scheduling and in the theory of edge colourings.

Formalizing it. All results of this mission are classical and proved in the literature; none of them is formalized on the platform. Mathlib contains Hall's marriage theorem but not König's edge-colouring theorem for bipartite multigraphs, and not balanced or equitable colourings. A complete development gives a machine-checked König edge-colouring theorem in matrix form, the matrix-rounding step with simultaneous row, column and entry bounds, and the balanced-colouring theorem itself.

Difficulty

Each family of constraints alone is easy: spreading a single number rijr_{ij}rij​ evenly over ppp days, or a single row total, is a matter of division with remainder. The difficulty is that one array must satisfy (1), (8), (9) and (10) simultaneously, so that the per-entry roundings must add up to correct roundings of every row total and every column total on every day. Rounding each entry independently breaks the row and column constraints, and greedy day-by-day choices can leave a remainder that no longer fits the bounds. The crux is integrality: the rational average rij/pr_{ij}/prij​/p satisfies every bound on every day, but the problem asks for integers, and an integral one-day slice must round all entries, all row totals and all column totals consistently.

Formalization scope

Classes, teachers and days are Fin m, Fin n, Fin p; RRR and xxx are natural-number valued, which is the paper's "xijk≥0x_{ijk}\ge0xijk​≥0 integer". Constraint (4) of CT1 is written xijk≤1x_{ijk}\le1xijk​≤1. Floors and ceilings are Nat.floor and Nat.ceil of the rational quotient. In (8) and (9) they are applied to the row and column totals, never summed entrywise. The minimum number of days uses Finset.sup, whose empty value is 000, and is stated as an equivalence ("solvable over ppp days iff p≥pmin⁡p\ge p_{\min}p≥pmin​") rather than as an infimum.

Disclosed choices:

  • The goal and the one-day milestone assume p≥1p\ge1p≥1; the paper's "for any ppp" means any number of days, and for p=0p=0p=0 Lean's division returns 000.
  • The remaining-days milestone assumes p≥2p\ge2p≥2 so that p−1p-1p−1 days remain.
  • Propositions 2.1, 2.2 and the minimum-days statement hold for every ppp, including p=0p=0p=0, and assume nothing more than the page: ai,bja_i,b_jai​,bj​ positive.
  • The edge-colouring and network-flow readings of the paper are stated in prose only; the formal statements are in matrix form, which is how the propositions are stated.

The formalization does not admit a trivial reading: CT3 requires all four constraint families at once, (1) is an equality, and the sanity checks show both that the Figure 1 data satisfy CT3 and that CT1 is not satisfiable for R=(2)R=(2)R=(2) and p=1p=1p=1.

Useful infrastructure, reusable beyond this mission: integral flows with lower bounds, or total unimodularity of bipartite incidence matrices; König's edge-colouring theorem for bipartite multigraphs; floor and ceiling arithmetic for natural-number quotients. Proofs of any milestone, alternative proofs of the goal, and a sorry-free proof of the Figure 1 instance are all welcome.

Selected references

  • D. de Werra, An introduction to timetabling, European Journal of Operational Research 19 (1985) 151–162. https://doi.org/10.1016/0377-2217(85)90167-5
  • D. König, Über Graphen und ihre Anwendung auf Determinantentheorie und Mengenlehre, Mathematische Annalen 77 (1916) 453–465. https://doi.org/10.1007/BF01456961
  • C. Berge, Graphes, Gauthier-Villars, Paris, 1983 (reference [1] of the review).
  • D. de Werra, A few remarks on chromatic scheduling, in B. Roy (ed.), Combinatorial Programming: Methods and Applications, Reidel, Dordrecht, 1975, 337–342.
  • D. de Werra, Some comments on a note about timetabling, INFOR 16 (1978) 90–92.
  • J. Krarup, Chromatic optimisation: Limitations, objectives, uses, references, European Journal of Operational Research 11 (1982) 1–19.
8 thms1 active userReviewed
Dynamic ProgrammingProbability·Captain: mikedeng1

Optimal Inventory Policies for Assembly Systems Under Random Demands 1: In Long-Run Balance, an Assembly System Has the Optimal Policies of an Equivalent Series SystemResearch Paper

Motivation

An assembly system must coordinate the production of components that meet at a common downstream item. A shortage of any required component can delay the finished product, while producing a component too early incurs holding cost. In Rosling's 1989 study, the central question is whether optimal decisions for such a tree can be understood using the simpler theory of a pure series inventory system. The paper proves an equivalence when the initial inventory positions are in a condition it calls long-run balance. That equivalence gives a precise route from an assembly network to serial inventory control without discarding its lead times or its discounted costs.

Setting

There are items 1,…,N1,\ldots,N1,…,N in a tree rooted at end item 111. Every item i>1i>1i>1 has one immediate successor s(i)<is(i)<is(i)<i; one unit of each component is needed for an end unit. Let lil_ili​ be the production or delivery lead time of item iii. The total lead time MiM_iMi​ is the sum of lead times on the path from iii to the end item, with M0=0M_0=0M0​=0, and the equivalent lead time is Li=Mi−Mi−1L_i=M_i-M_{i-1}Li​=Mi​−Mi−1​. Items are indexed so that MiM_iMi​ is nondecreasing. These definitions and indexing conditions are in §§1–2 of the paper.

At the beginning of each period ttt, outstanding orders arrive, the controller chooses the post-order echelon position YitY_{it}Yit​, and then demand ξt\xi_tξt​ for the end item occurs. The pre-order position is XitX_{it}Xit​, while XktlX^l_{kt}Xktl​ is the position of predecessor kkk from orders old enough to arrive after its lead time. A decision is feasible when Xit≤Yit≤XktlX_{it}\le Y_{it}\le X^l_{kt}Xit​≤Yit​≤Xktl​ for every immediate predecessor kkk of iii. Decisions depend only on demands already observed. The demands are independent and identically distributed, nonnegative, and have a density and a finite positive mean.

The discounted Problem P charges echelon holding cost hih_ihi​ for item iii and a shortage coefficient p+H1p+H_1p+H1​ for the end item. Its discount factor is α\alphaα. The objective is the expectation of the sum over periods of the holding charges and the expected end-item shortfall over l1+1l_1+1l1​+1 demands, with a constant independent of the policy. The paper's Assumption requires every hi>0h_i>0hi​>0 and ∑ihiα−Ms(i)<p+H1\sum_i h_i\alpha^{-M_{s(i)}}<p+H_1∑i​hi​α−Ms(i)​<p+H1​. The system is in long-run balance in period ttt when positions of adjacent items, compared at the same age relative to total lead time, satisfy equation (5):

XitMi−μ≤Xi+1,tMi+1−μ(1≤i<N, 0≤μ<Mi).X^{M_i-\mu}_{it}\le X^{M_{i+1}-\mu}_{i+1,t} \quad(1\le i<N,\ 0\le\mu<M_i).XitMi​−μ​≤Xi+1,tMi+1​−μ​(1≤i<N, 0≤μ<Mi​).

Formalization targets

Equivalent series optimal policies

The equivalent series system has successor i−1i-1i−1, lead time LiL_iLi​, the same demand law and shortage coefficient, and holding coefficient hiαli−Lih_i\alpha^{l_i-L_i}hi​αli​−Li​. Theorem 2 states that its optimal policies and those of the assembly system agree when the assembly system is initially in long-run balance. In the formal statement, the first inclusion is unconditional; the reverse inclusion is conditional on Problem P attaining an optimum:

Opt⁡(P)⊆Opt⁡(Pseries),Opt⁡(P)≠∅⟹Opt⁡(Pseries)⊆Opt⁡(P).\operatorname{Opt}(P)\subseteq\operatorname{Opt}(P_{\mathrm{series}}), \qquad \operatorname{Opt}(P)\ne\varnothing \Longrightarrow \operatorname{Opt}(P_{\mathrm{series}})\subseteq\operatorname{Opt}(P).Opt(P)⊆Opt(Pseries​),Opt(P)=∅⟹Opt(Pseries​)⊆Opt(P).

The target includes Lemmas 1 and 2, Theorem 1, Corollary 1, and the cost identity displayed in the proof of Theorem 2. Lemma 1 limits excess production, Lemma 2 gives a production lower bound, Theorem 1 describes when long-run balance is reached and preserved, and Corollary 1 uses the adjacent series position in that result. Each is stated at the strength given on pp. 568–569 of the paper.

Significance

Theorem 2 identifies the same policy choices in a tree assembly problem and a series problem whose stages have modified lead times and holding coefficients. It makes the serial interpretation exact for initially balanced systems and supports the paper's later discussion of series-system calculations. The statement is an equivalence of optimal policies, rather than just an equality of numerical values, so both the feasible-policy comparison and the cost comparison matter.

The theorem and its supporting results are proved in the 1989 paper; they have not been machine-checked in this development. A complete formalization would supply a reusable account of finite-history inventory policies, random demand histories, echelon positions, and extended-real discounted objectives. The published serial model SupplyChainTheory_multiechelon represents a different stage-indexed system; the assembly tree, its initial pipeline, and Problem P still need their own definitions. The paper's order-up-to Corollary 2 relies on an extension of earlier serial results and is outside this target.

Difficulty

The first natural comparison is to replace the tree's predecessor constraints with adjacent-item constraints. Those feasible sets are not equal for arbitrary states: positions at different total lead times can cross, and initial orders placed before period 1 affect the earliest periods. Long-run balance controls the necessary position comparisons, but equation (5) is empty for an item with Mi=0M_i=0Mi​=0. The printed proof also uses a middle inequality outside the range covered by equation (5) when an equivalent lead time vanishes. A faithful statement must account for these boundary cases without defining the series problem through the assembly problem's optimal policies.

Formalization scope

Items use the paper's indices 1,…,N1,\ldots,N1,…,N, with N≥1N\ge1N≥1 and s(1)=0s(1)=0s(1)=0. Lean period kkk is paper period t=k+1t=k+1t=k+1; the policy sees exactly kkk earlier demands. The common demand law ν\nuν is a probability measure on the reals, concentrated on nonnegative values, absolutely continuous with respect to Lebesgue measure, integrable, and of positive mean. The law of demand over l1+1l_1+1l1​+1 periods is the pushforward of a finite product law under summation. Feasibility and the optimal-policy bounds are almost-sure statements, so changes on null histories do not alter them. Pathwise balance results quantify over one nonnegative demand path.

Initial positions include the orders placed before period 1. Their ages are monotone and obey the predecessor constraints inherited from that past. In addition to the paper's initial long-run balance, a separate boundary condition carries the missing comparison when Mi=0M_i=0Mi​=0. Discounting is restricted to 0<α<10<\alpha<10<α<1: at α=1\alpha=1α=1 the paper specifies average cost through a separate limiting prescription. The formal cost lies in the extended reals and is computed from its positive and negative parts; under the Assumption, feasible policies have a finite negative part. The policy-independent constant of equation (2) is omitted from both systems. “Optimal” means feasible and no more costly than every feasible policy, never a default value of an empty infimum.

The series system is built as a second instance of the same model, using the paper's successor, lead-time, and holding-coefficient transformations. Its cost and constraint (3) are then computed by the shared definitions. Contributions toward the lead-time identities, almost-sure policy comparisons, finite-time balance theorem, and extended-real cost identity are all part of the scope.

Selected references

  • Kaj Rosling, Optimal Inventory Policies for Assembly Systems under Random Demands, Operations Research 37(4):565–579, 1989. DOI: 10.1287/opre.37.4.565.
10 thms1 active userReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

METRIC: A Multi-Echelon Technique for Recoverable Item Control 2: Under Poisson Demand Expected Backorders Are Strictly Convex in the Mean, So a Point Estimate Understates ThemResearch Paper

Motivation

Spare-parts provisioning for repairable ("recoverable") items is a classical inventory problem: aircraft components fail, are sent to repair, and a stock of spares covers the units in the repair pipeline. Sherbrooke's METRIC model (Sherbrooke 1968), developed at RAND for the U.S. Air Force, measures the performance of a stock level by the expected number of backorders, the average number of unfilled demands outstanding at a random time. Every allocation computed by METRIC is driven by this quantity, and in particular by how it depends on the mean demand of each item.

For a new item that mean is not known. Air Force practice at the time produced a single engineering estimate of mean demand and computed backorders from it as if it were exact. In the section Demand Prediction (pp. 138–139) Sherbrooke argues that this practice is biased in one direction: under Poisson demand and any positive spare stock, the point estimate always understates expected backorders whenever the true mean is genuinely uncertain. This is his reason why a Bayesian treatment of demand is "of fundamental importance for all items, not merely low-demand items". The mission formalizes that claim and the computation behind it.

Setting

Fix one item. Its spare stock s∈{0,1,2,… }s \in \{0, 1, 2, \dots\}s∈{0,1,2,…} is stock on hand plus on order plus in repair, minus backorders; under one-for-one replenishment it is constant. Let the number of units in resupply at a random time be Poisson distributed with mean λ>0\lambda > 0λ>0:

p(x∣λ)=e−λλxx!,x=0,1,2,…p(x \mid \lambda) = e^{-\lambda}\frac{\lambda^x}{x!}, \qquad x = 0, 1, 2, \dotsp(x∣λ)=e−λx!λx​,x=0,1,2,…

The expected backorders at spare stock sss are, by the paper's eq. (2),

B(s∣λ)=∑x=s+1∞(x−s) p(x∣λ).B(s \mid \lambda) = \sum_{x=s+1}^{\infty} (x - s)\, p(x \mid \lambda).B(s∣λ)=x=s+1∑∞​(x−s)p(x∣λ).

In eq. (2) the mean is λT\lambda TλT (customer rate times mean resupply time); on p. 138 it is the mean demand over a unit time interval. Only the mean enters, so it is written as one parameter λ\lambdaλ. In Lean this is SherbrookeMetric.PointEstimate.backorders s lam, built on the published Poisson probabilities ServiceParts.StockLevels.poissonPmf.

Uncertain mean demand. The true mean takes the values λk>0\lambda_k > 0λk​>0, k∈Kk \in Kk∈K (KKK finite), with probabilities wk≥0w_k \ge 0wk​≥0, ∑kwk=1\sum_k w_k = 1∑k​wk​=1. The point estimate is the mean of this distribution, λˉ=∑kwkλk\bar\lambda = \sum_k w_k \lambda_kλˉ=∑k​wk​λk​, and the expected backorders accounting for the uncertainty are ∑kwkB(s∣λk)\sum_k w_k B(s \mid \lambda_k)∑k​wk​B(s∣λk​). The paper's example (p. 138) takes λ∈{0.5,1.5}\lambda \in \{0.5, 1.5\}λ∈{0.5,1.5} with probability 0.50.50.5 each, so λˉ=1\bar\lambda = 1λˉ=1; its procedure (p. 139) discretizes a gamma prior to five to ten values.

Formalization targets

Goal: the point estimate understates backorders (pp. 138–139)

If two distinct values λk≠λk′\lambda_k \ne \lambda_{k'}λk​=λk′​ both carry positive probability, then for every spare stock s≥1s \ge 1s≥1

B(s∣λˉ)<∑kwk B(s∣λk),B(s \mid \bar\lambda) < \sum_k w_k\, B(s \mid \lambda_k),B(s∣λˉ)<k∑​wk​B(s∣λk​),

and for s=0s = 0s=0 the two sides are equal for every prior. The goal fixes no constants and no particular prior.

Milestones

  1. Eq. (10), p. 139: for λ>0\lambda > 0λ>0, B(s∣⋅)B(s \mid \cdot)B(s∣⋅) is twice differentiable at λ\lambdaλ with
∂2B(s∣λ)∂λ2=e−λλs−1(s−1)!>0(s≥1),\frac{\partial^2 B(s \mid \lambda)}{\partial\lambda^2} = \frac{e^{-\lambda}\lambda^{s-1}}{(s-1)!} > 0 \quad (s \ge 1),∂λ2∂2B(s∣λ)​=(s−1)!e−λλs−1​>0(s≥1),

and second derivative 000 for s=0s = 0s=0. 2. Strict convexity, p. 139: for s≥1s \ge 1s≥1, λ↦B(s∣λ)\lambda \mapsto B(s \mid \lambda)λ↦B(s∣λ) is strictly convex on (0,∞)(0, \infty)(0,∞). 3. The worked example, p. 138 (off the goal's path): B(2∣1)=3e−1−1≈0.1036B(2 \mid 1) = 3e^{-1} - 1 \approx 0.1036B(2∣1)=3e−1−1≈0.1036 and 0.5 B(2∣0.5)+0.5 B(2∣1.5)≈0.14860.5\,B(2 \mid 0.5) + 0.5\,B(2 \mid 1.5) \approx 0.14860.5B(2∣0.5)+0.5B(2∣1.5)≈0.1486.

Significance

The result. Expected backorders are the objective METRIC minimizes, item by item, subject to a budget. If the objective is evaluated at a point estimate, every item with uncertain demand looks better stocked than it is, and since the size of the error varies by item, the marginal comparisons that drive the allocation are distorted. The inequality is the quantitative statement behind the paper's recommendation to compute backorders as a posterior mixture over possible mean demands. It also says that an underestimate of demand costs more than an overestimate of the same size when backorders are the objective. For s=0s = 0s=0 the bias vanishes because B(0∣λ)=λB(0 \mid \lambda) = \lambdaB(0∣λ)=λ is linear.

Formalizing it. The paper proves the statement in one line ("it is easy to show") by differentiating twice. No machine-checked version exists. A formal proof needs termwise differentiation of the Poisson backorder series, a closed form for its second derivative, and the passage from a positive second derivative to strict convexity and then to a strict finite Jensen inequality under a nondegenerate prior. The resulting facts about λ↦B(s∣λ)\lambda \mapsto B(s \mid \lambda)λ↦B(s∣λ) are reusable in any Poisson inventory model (base-stock, (s−1,s)(s-1, s)(s−1,s) policies, METRIC and VARI-METRIC). Convexity of BBB in the stock level sss, the paper's eq. (3), is a different statement; it is already posed on the platform as ServiceParts.StockLevels.backorder_differences (compound Poisson demand) and is not repeated here. The definition of the Poisson probabilities is the published ServiceParts.StockLevels.Basic (Muckstadt 2005).

Difficulty

Each step is classical, but none is a one-liner in Lean. The series B(s∣λ)B(s \mid \lambda)B(s∣λ) is an infinite sum whose terms depend on λ\lambdaλ both through e−λe^{-\lambda}e−λ and through λx\lambda^xλx, so differentiating it twice under the summation sign requires a uniform summability bound for the derivative series on a neighbourhood of λ\lambdaλ. The tempting shortcut of reasoning with deriv alone fails: deriv returns 000 at points of non-differentiability, so a formula for deriv (deriv B) says nothing about smoothness, and the milestone is stated with HasDerivAt for this reason. The strict inequality further needs strict convexity, not just convexity, and a hypothesis that the prior is not concentrated on one value: with a one-point prior both sides coincide.

Formalization scope

  • B(s∣λ)B(s \mid \lambda)B(s∣λ) is a real-valued tsum over x∈Nx \in \mathbb Nx∈N of (x−s) p(x∣λ)(x - s)\,p(x \mid \lambda)(x−s)p(x∣λ) for x>sx > sx>s and 000 otherwise. The family is summable for every real λ\lambdaλ; no statement relies on the tsum junk value.
  • Spare stock is a natural number; mean demand is real. Convexity and the second-derivative formula are stated for λ>0\lambda > 0λ>0, the paper's "for any positive λ\lambdaλ".
  • Explicit readings of the paper's phrases: "backorders computed from a point estimate" is B(s∣λˉ)B(s \mid \bar\lambda)B(s∣λˉ) with λˉ\bar\lambdaλˉ the prior mean (the paper assumes "the initial estimate is the mean of the true mean demand distribution"); "the correct value" is the prior expectation ∑kwkB(s∣λk)\sum_k w_k B(s \mid \lambda_k)∑k​wk​B(s∣λk​); "mean demand can assume more than one value" means two distinct values each of positive probability; "positive spare stock" means s≥1s \ge 1s≥1; "understate" is strict.
  • The prior is a finite distribution with positive support points. This covers the paper's two-point example and its five-to-ten-point discretization of a gamma prior; a general prior on (0,∞)(0, \infty)(0,∞) would need integrability hypotheses and is not part of the mission.
  • The printed value B∗(2)=0.1485B^*(2) = 0.1485B∗(2)=0.1485 is a rounding slip; the exact value is 0.14864…0.14864\ldots0.14864…, and the worked example states 0.14860.14860.1486.
  • A formalization that fixes sss, uses ≤\le≤ in place of <<<, drops the nondegeneracy hypothesis (making the strict statement false), or states the second derivative with deriv alone (vacuous at non-differentiable points) does not meet the target.
  • Not formalized: the remark that the understatement "is also true for probability distributions like the negative binomial, though difficult to prove analytically" (unproved on the page), the gamma prior and Bayes updating (a procedure), and the comment that the resulting allocation "will produce inferior results" (not a mathematical statement).
  • Contributions welcome: termwise differentiation lemmas for Poisson-weighted series, the closed form B(s∣λ)=λ−s+∑x<s(s−x)p(x∣λ)B(s \mid \lambda) = \lambda - s + \sum_{x<s}(s - x)p(x \mid \lambda)B(s∣λ)=λ−s+∑x<s​(s−x)p(x∣λ), and a strict finite Jensen inequality in the form used here.

Selected references

  • C. C. Sherbrooke, METRIC: A Multi-Echelon Technique for Recoverable Item Control, Operations Research 16(1) (1968), 122–141. https://doi.org/10.1287/opre.16.1.122
  • G. J. Feeney and C. C. Sherbrooke, The (s−1, s) Inventory Policy under Compound Poisson Demand, Management Science 12(5) (1966), 391–411. https://doi.org/10.1287/mnsc.12.5.391
  • J. A. Muckstadt, Analysis and Algorithms for Service Parts Supply Chains, Springer, 2005. https://doi.org/10.1007/0-387-27288-8
6 thms1 active userReviewed
Convex OptimizationOptimization·Captain: mikedeng1

METRIC: A Multi-Echelon Technique for Recoverable Item Control 1: The Marginal Conditions on the Convex Hull of Each Item's Decreasing Cost Function Determine a Unique Optimal AllocationResearch Paper

Why marginal allocation needs a convex hull

Service organizations keep repairable spare parts at a depot and at operating bases. Stock has a purchase or holding cost, while insufficient stock leaves backorders. Craig Sherbrooke's METRIC study describes how to evaluate such a system and distribute additional units among item types. Its fifth computational stage compares the reduction in expected backorders from the next unit with the cost of that unit. The comparison is delicate because the backorder function after optimizing the depot–base split can fail to be convex as a function of total item stock, even though a fixed depot-stock version is convex. Sherbrooke therefore introduces a convex extension before applying marginal analysis (Sherbrooke 1968, pp. 134–135).

This mission isolates the theorem in the paper's Appendix. It concerns abstract item functions with the properties needed for the allocation rule, so the result can be studied independently of the queueing assumptions and the FORTRAN procedure that produced those functions in METRIC. The paper supplies a proof of the Appendix theorem; the mission seeks a machine-checked formalization of its precise mathematical content (Sherbrooke 1968, pp. 140–141).

Setting: stock levels, costs, and the lower boundary

There is a finite collection of items indexed by iii. A decision assigns each item a stock level mi∈Nm_i\in\mathbb Nmi​∈N, where 000 is permitted. Item iii has a unit cost cic_ici​ and a real-valued function Ξi(m)\Xi_i(m)Ξi​(m) representing the backorder contribution associated with stock level mmm. In the METRIC application, Ξi\Xi_iΞi​ is obtained after choosing the best allocation of mmm units between depot and bases. The Appendix theorem uses only that Ξi\Xi_iΞi​ is nonincreasing and has a finite lower bound. “Decreasing” is read weakly: the paper's justification says that adding a unit “cannot exceed” the backorders at the previous level (Sherbrooke 1968, p. 136).

For a function g:N→Rg:\mathbb N\to\mathbb Rg:N→R, write Δg(m)=g(m+1)−g(m)\Delta g(m)=g(m+1)-g(m)Δg(m)=g(m+1)−g(m). The function is discretely convex when Δg(m+1)≥Δg(m)\Delta g(m+1)\ge\Delta g(m)Δg(m+1)≥Δg(m) at every level. The lower convex hull HiH_iHi​, written Ξi′\Xi_i'Ξi′​ in the paper, is the greatest discretely convex function at or below Ξi\Xi_iΞi​. It follows the lower boundary of the convex hull of the points (m,Ξi(m))(m,\Xi_i(m))(m,Ξi​(m)); a point above that boundary is lowered, while a contact point keeps its original value (Sherbrooke 1968, pp. 135–136, 140). The existing ServiceParts.StockLevels.Basic definition supplies Δ\DeltaΔ and Δ2\Delta^2Δ2 for real stock-level functions; this mission reuses it.

The original objective is the separable sum

J(m)=∑i(cimi+Ξi(mi)).J(m)=\sum_i\bigl(c_i m_i+\Xi_i(m_i)\bigr).J(m)=i∑​(ci​mi​+Ξi​(mi​)).

For each item, conditions (12) select the first level mˉi\bar m_imˉi​ where adding another unit no longer lowers the convexified cost:

ci+Hi(mˉi+1)−Hi(mˉi)≥0,mˉi>0⟹ci+Hi(mˉi)−Hi(mˉi−1)<0.c_i+H_i(\bar m_i+1)-H_i(\bar m_i)\ge0,\qquad \bar m_i>0\Longrightarrow c_i+H_i(\bar m_i)-H_i(\bar m_i-1)<0.ci​+Hi​(mˉi​+1)−Hi​(mˉi​)≥0,mˉi​>0⟹ci​+Hi​(mˉi​)−Hi​(mˉi​−1)<0.

The second condition is automatic at mˉi=0\bar m_i=0mˉi​=0, following the paper's convention Hi(−1)=+∞H_i(-1)=+\inftyHi​(−1)=+∞ (Sherbrooke 1968, p. 140, Eqs. (11)–(12)).

Formalization targets

The Appendix goal is that each item's conditions (12) have exactly one solution and that the vector formed from those solutions minimizes the original, possibly nonconvex objective:

∀i  ∃!mˉi∈N satisfying (12),J(mˉ)≤J(m)for every m∈NI.\forall i\;\exists!\bar m_i\in\mathbb N\text{ satisfying (12)}, \qquad J(\bar m)\le J(m)\quad\text{for every }m\in\mathbb N^I.∀i∃!mˉi​∈N satisfying (12),J(mˉ)≤J(m)for every m∈NI.

The milestone list follows the Appendix's claims: the lower boundary is a convex minorant; its marginal changes approach zero; (12) has a solution and that solution is unique; it minimizes the convexified single-item cost; and the selected level is a contact point where Hi(mˉi)=Ξi(mˉi)H_i(\bar m_i)=\Xi_i(\bar m_i)Hi​(mˉi​)=Ξi​(mˉi​). The final comparison is with JJJ, not just with the objective formed from HiH_iHi​ (Sherbrooke 1968, pp. 140–141).

What the result establishes

The theorem licenses the paper's marginal allocation rule even when an item's original backorder function has nonconvex points. The rule can use a convex lower boundary to identify a level, yet the resulting allocation is optimal for the original function. Without the contact-point conclusion, optimality of the modified objective alone would not give that guarantee. The theorem is stated for any finite number of independent items with the listed properties, so it is reusable beyond the specific depot–base model (Sherbrooke 1968, pp. 134–136, 140–141).

The paper proves the result informally. This mission's definitions and theorem statements compile locally as open Lean goals; they do not yet constitute a machine-checked proof. A related published Prove2Me result, ServiceParts.Allocation.allocOpt_correct, proves correctness of an allocation algorithm for piecewise-linear functions assumed convex. It does not address the convexification or contact claim here. The platform's posed ServiceParts.StockLevels.optimal_stock_criterion and greedy_fill_rate_optimal concern other marginal criteria and likewise do not settle this Appendix theorem. A successful development would provide reusable Lean infrastructure for lower convex envelopes of integer sequences, their forward differences, and separable finite allocations.

Difficulty

A one-step marginal comparison on the raw Ξi\Xi_iΞi​ is insufficient when its forward differences can fall and then rise: an apparent local stopping point need not minimize the full sequence. Replacing Ξi\Xi_iΞi​ by a convex minorant restores ordered marginal changes, but a minimizer of a smaller function need not minimize the original function. The central burden is therefore the exact relation between the lower boundary and the original points at a level selected by the strict condition in (12). Ties in the objective add a second precision issue: the selected level is unique under the rule even when the objective has more than one minimizer (Sherbrooke 1968, pp. 135, 140–141).

Formalization scope and conventions

Stock levels are natural numbers, item contributions and costs are real, and the item type is finite; the empty item type is allowed, making both the sum and the coordinatewise statement trivial. The functions Ξi\Xi_iΞi​ are nonincreasing and bounded below, as in the Appendix. The lower hull is a pointwise real supremum over all discretely convex minorants. Its defining family is nonempty and bounded at each point under the lower-bound hypothesis, which every hull theorem carries. The hull is therefore fixed by the input function rather than supplied as an arbitrary minorant. The goal compares every vector in NI\mathbb N^INI, without a budget restriction. The formalization does not use a default value for Hi(−1)H_i(-1)Hi​(−1): the predecessor condition applies only to positive stock levels.

The paper prints ci≥0c_i\ge0ci​≥0 with at least one positive cost. Its existence assertion fails when a particular ci=0c_i=0ci​=0: for Ξi(m)=1/(m+1)\Xi_i(m)=1/(m+1)Ξi​(m)=1/(m+1), a bounded, decreasing, convex sequence, the first inequality of (12) never holds. The goal and existence milestone therefore require ci>0c_i>0ci​>0 for every present item. The paper's phrase “unique optimizing” is interpreted as uniqueness of the stock vector determined by (12), together with its optimality. It cannot assert uniqueness among all minimizers: with c=1c=1c=1, Ξ(0)=1\Xi(0)=1Ξ(0)=1, and Ξ(m)=0\Xi(m)=0Ξ(m)=0 for m≥1m\ge1m≥1, levels 000 and 111 tie. The proof's own wording identifies (12) as the unique selection rule (Sherbrooke 1968, p. 140).

The formalization contains separate definitions for discrete convexity, the greatest lower hull, conditions (12), and objective (11). It welcomes proofs and general lemmas about convex integer sequences and finite separable sums. The METRIC computation, empirical Air Force data, equations (7)–(9), and the discussion of Lagrangian versus combinatorial solutions are context rather than goals of this mission. A definition that simply sets Hi=ΞiH_i=\Xi_iHi​=Ξi​, or a conclusion that minimizes only the hull objective, would omit the theorem's content.

Selected references

  • Craig C. Sherbrooke, METRIC: A Multi-Echelon Technique for Recoverable Item Control, Operations Research 16(1), 122–141, 1968. DOI: 10.1287/opre.16.1.122.
12 thms1 active userReviewed
Dynamic ProgrammingMarkov Chain·Captain: mikedeng1

Discrete Dynamic Programming with Sensitive Discount Optimality Criteria 1: If Every Stationary Policy Is Transient, Some Stationary Policy Maximizes the Expected Total Reward over All PoliciesResearch Paper

Motivation

A finite dynamic program with total reward is the basic model of sequential decision making without discounting: a system moves among finitely many states, a decision maker picks an action in each state, collects a reward, and the system moves on or stops. The quantity of interest is the expected total reward of a policy, summed over the whole (possibly infinite) horizon, and the question is whether a simple policy — one that uses the same decision rule at every step — is as good as any other.

For discounted or strictly substochastic models the answer has long been known. Shapley (1953) showed by successive approximations that, when every transition matrix has row sums strictly below one, some stationary policy maximizes the total reward among stationary policies; Howard (1960) gave the policy-improvement method for finding one; Blackwell (1962) showed that the maximum over all policies is attained among stationary ones. All of these rest on a contraction hypothesis ∥P(f)∥<1\|P(f)\|<1∥P(f)∥<1.

Veinott's 1969 paper (DOI 10.1214/aoms/1177697379), best known for its sensitive discount optimality criteria, opens in §2 by proving these classical results under the much weaker hypothesis that each stationary policy is transient, and without requiring the transition weights to be substochastic at all. Partial results in this direction were due to Eaton and Zadeh, Derman, and Denardo. The total-reward model without a contraction assumption covers stopping problems, shortest-path type problems and models in which "transition weights" are not probabilities (growth factors, populations), which is why the generalized model is of independent interest.

Setting

There are S≥1S\ge 1S≥1 states 1,…,S1,\dots,S1,…,S. In state sss a finite nonempty set AsA_sAs​ of actions is available; taking action aaa earns the real reward r(s,a)r(s,a)r(s,a) and assigns the transition weight p(t∣s,a)≥0p(t\mid s,a)\ge 0p(t∣s,a)≥0 to each state ttt. No bound on ∑tp(t∣s,a)\sum_t p(t\mid s,a)∑t​p(t∣s,a) is assumed. The set of decision rules is F=×s=1SAsF=\times_{s=1}^S A_sF=×s=1S​As​; for f∈Ff\in Ff∈F, r(f)r(f)r(f) is the vector (r(s,f(s)))s(r(s,f(s)))_s(r(s,f(s)))s​ and P(f)P(f)P(f) the matrix (p(t∣s,f(s)))s,t(p(t\mid s,f(s)))_{s,t}(p(t∣s,f(s)))s,t​.

A policy is a sequence π=(f1,f2,… )\pi=(f_1,f_2,\dots)π=(f1​,f2​,…) of decision rules. The policy f∞=(f,f,… )f^\infty=(f,f,\dots)f∞=(f,f,…) is stationary; (g,π)=(g,f1,f2,… )(g,\pi)=(g,f_1,f_2,\dots)(g,π)=(g,f1​,f2​,…) uses ggg first and then follows π\piπ; Nπ{}^N\piNπ repeats the first NNN rules of π\piπ forever and is called periodic. Let P0(π)=IP^0(\pi)=IP0(π)=I and PN(π)=P(f1)⋯P(fN)P^N(\pi)=P(f_1)\cdots P(f_N)PN(π)=P(f1​)⋯P(fN​). The policy π\piπ is transient if ∑N≥0PN(π)\sum_{N\ge0}P^N(\pi)∑N≥0​PN(π) converges, and then its vector of total returns is

V(π)=∑N=0∞PN(π) r(fN+1).V(\pi)=\sum_{N=0}^\infty P^N(\pi)\,r(f_{N+1}).V(π)=N=0∑∞​PN(π)r(fN+1​).

The one-step comparison v(g,π∗)=V(g,π∗)−V(π∗)v(g,\pi^*)=V(g,\pi^*)-V(\pi^*)v(g,π∗)=V(g,π∗)−V(π∗) measures the gain from deviating to ggg for one step. Vectors are compared coordinatewise, and x>yx>yx>y means x≥yx\ge yx≥y, x≠yx\ne yx=y. For a matrix BBB, ∥B∥=max⁡i∑j∣bij∣\|B\|=\max_i\sum_j|b_{ij}|∥B∥=maxi​∑j​∣bij​∣ and ∣σ(B)∣|\sigma(B)|∣σ(B)∣ is its spectral radius. Finally V∗=max⁡fV(f∞)V^*=\max_f V(f^\infty)V∗=maxf​V(f∞) and ℜV=max⁡g[r(g)+P(g)V]\Re V=\max_g[r(g)+P(g)V]ℜV=maxg​[r(g)+P(g)V], both coordinatewise.

Formalization targets

Goal: Corollary 6

If every stationary policy is transient, there is f∈Ff\in Ff∈F with

V(π)≤V(f∞)for every policy π.V(\pi)\le V(f^\infty)\qquad\text{for every policy }\pi.V(π)≤V(f∞)for every policy π.

The hypothesis concerns only the finitely many stationary policies; the conclusion compares against every policy, stationary or not.

Milestones

  1. Lemma 1. For transient π=(gi)\pi=(g_i)π=(gi​) and π∗\pi^*π∗: V(π)−V(π∗)=∑NPN(π) v(gN+1,π∗)V(\pi)-V(\pi^*)=\sum_N P^N(\pi)\,v(g_{N+1},\pi^*)V(π)−V(π∗)=∑N​PN(π)v(gN+1​,π∗), and V(g∞)−V(π∗)=[I−P(g)]−1v(g,π∗)V(g^\infty)-V(\pi^*)=[I-P(g)]^{-1}v(g,\pi^*)V(g∞)−V(π∗)=[I−P(g)]−1v(g,π∗).
  2. Lemma 2. If every stationary policy is transient and f∈Ff\in Ff∈F: either v(g,f∞)>0v(g,f^\infty)>0v(g,f∞)>0 for some ggg, and then V(g∞)>V(f∞)V(g^\infty)>V(f^\infty)V(g∞)>V(f∞), or v(g,f∞)≤0v(g,f^\infty)\le0v(g,f∞)≤0 for all ggg, which holds iff f∞f^\inftyf∞ is best among stationary policies.
  3. Corollary 1. If every stationary policy is transient, some stationary policy maximizes VVV over the stationary policies.
  4. Corollary 2. Under the same hypothesis, V∗V^*V∗ is the unique fixed point of ℜ\Reℜ.
  5. Lemma 3 (Hoffman). For every ε>0\varepsilon>0ε>0 and every program there is a positively similar program with max⁡g∥P~(g)∥<max⁡g∣σ(P(g))∣+ε\max_g\|\tilde P(g)\|<\max_g|\sigma(P(g))|+\varepsilonmaxg​∥P~(g)∥<maxg​∣σ(P(g))∣+ε.
  6. Corollary 4, read with "every" and with "some": stationary, periodic and arbitrary policies are transient together, and this is equivalent to ∥PN(π)∥<1\|P^N(\pi)\|<1∥PN(π)∥<1 for some N≥1N\ge1N≥1; with ∥P(g)∥≤1\|P(g)\|\le1∥P(g)∥≤1 also to ∥PS(π)∥<1\|P^S(\pi)\|<1∥PS(π)∥<1.
  7. Theorem 1. If every stationary policy is transient and π∗\pi^*π∗ is any policy: v(g,π∗)>0v(g,\pi^*)>0v(g,π∗)>0 implies V(g∞)>V(π∗)V(g^\infty)>V(\pi^*)V(g∞)>V(π∗), and v(⋅,π∗)≤0v(\cdot,\pi^*)\le0v(⋅,π∗)≤0 iff V(π)≤V(π∗)V(\pi)\le V(\pi^*)V(π)≤V(π∗) for all π\piπ.

Significance

Corollary 6 is the existence half of the theory of total-reward Markov decision processes: it says that the search for an optimal policy can be restricted to the finite set of stationary policies, and, together with Corollary 2 and Theorem 1, that such a policy is characterized by the optimality equation ℜV=V\Re V=VℜV=V and by the absence of one-step improvements. Corollary 4, which the paper's introduction singles out as the section's main new result, shows that transience of the finitely many stationary policies already forces transience of every policy, uniformly; this is what makes V(π)V(\pi)V(π) well defined for all policies. Hoffman's Lemma 3 converts transience into a contraction in a rescaled norm, the device behind geometric convergence of value iteration (Corollary 3 of the paper).

On the formal side, Mathlib has matrices, summability and spectral radii but no total-reward decision model. These results are proved in the 1969 paper and are standard in the textbook literature on Markov decision processes; none of them has a machine-checked proof that we know of. Related platform items concern other models: the stochastic shortest path results of Bertsekas and Tsitsiklis (a cost model with a termination state, stochastic rows and an infinite-cost assumption on improper policies) and Blackwell's discounted model; neither covers nonnegative, non-substochastic weights.

Difficulty

Without a contraction, the standard argument — ℜ\Reℜ is a contraction, so it has a unique fixed point attained by a stationary policy — has nothing to start from: ∥P(g)∥\|P(g)\|∥P(g)∥ may exceed one for every ggg, and the transition weights need not be probabilities, so no probabilistic coupling or stopping-time argument applies directly. Transience of each stationary policy is a statement about finitely many matrix powers P(g)NP(g)^NP(g)N, whereas the goal concerns infinite products of different matrices P(f1)P(f2)⋯P(f_1)P(f_2)\cdotsP(f1​)P(f2​)⋯, whose behaviour is not controlled by the spectral radii of the factors in general. Passing from the stationary policies to all policies is the step where the obvious argument fails.

Formalization scope

The Lean development fixes these conventions.

  • States are a nonempty finite type St; actions are a family of nonempty finite types A : St → Type, so FFF is the dependent function type (s : St) → A s, not a common action set.
  • A program is a structure Program St A with real rewards and nonnegative weights; no row-sum bound is part of the structure. Only 5° of Corollary 4 assumes ∥P(g)∥≤1\|P(g)\|\le1∥P(g)∥≤1.
  • Policies are deterministic Markov sequences ℕ → F, indexed from 000: π 0 is f1f_1f1​. "All policies" means all such sequences.
  • Transience is Summable of N↦PN(π)N\mapsto P^N(\pi)N↦PN(π) in the entrywise topology. VVV is a tsum; it is the genuine series exactly for transient policies.
  • >>> on vectors is written out as ≥\ge≥ and ≠\ne=; ∥⋅∥\|\cdot\|∥⋅∥ is the maximum absolute row sum, defined explicitly; ∣σ(⋅)∣|\sigma(\cdot)|∣σ(⋅)∣ is Mathlib's spectralRadius ℂ of the complexified matrix, valued in [0,∞][0,\infty][0,∞].
  • V∗V^*V∗ and ℜ\Reℜ are coordinatewise Finset.sup' over the finite set FFF.

A trivializing formalization is ruled out: the goal and Theorem 1 do not assume the competing policies transient (that would hide Corollary 4 inside the hypothesis), and since a non-summable tsum is 000, no statement compares VVV of a policy whose transience is not either assumed or implied by the hypotheses. The hypothesis "every stationary policy is transient" is satisfiable (for instance when all weights are zero) and is not implied by any row-sum bound.

A complete development needs Neumann series for nonnegative matrices, the Perron–Frobenius-type fact that a nonnegative matrix with spectral radius below one has a nonnegative (I−B)−1=∑BN(I-B)^{-1}=\sum B^N(I−B)−1=∑BN, and finite-dimensional spectral theory relating ∣σ(B)∣<1|\sigma(B)|<1∣σ(B)∣<1 to BN→0B^N\to0BN→0. These are reusable well beyond this mission; contributions of such lemmas, and of proofs of the milestones in any order, are welcome.

Selected references

  • A. F. Veinott, Jr., Discrete dynamic programming with sensitive discount optimality criteria, Ann. Math. Statist. 40(5):1635–1660, 1969. https://doi.org/10.1214/aoms/1177697379
  • D. Blackwell, Discrete dynamic programming, Ann. Math. Statist. 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • L. S. Shapley, Stochastic games, Proc. Nat. Acad. Sci. 39(10):1095–1100, 1953. https://doi.org/10.1073/pnas.39.10.1095
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • E. V. Denardo, Contraction mappings in the theory underlying dynamic programming, SIAM Review 9(2):165–177, 1967. https://doi.org/10.1137/1009030
  • C. Derman, On sequential decisions and Markov chains, Management Sci. 9(1):16–24, 1962. https://doi.org/10.1287/mnsc.9.1.16
12 thms1 active userReviewed
Dynamic ProgrammingProbability·Captain: mikedeng1

Optimal Ordering and Rationing Policies in a Nonstationary Dynamic Inventory Model with n Demand Classes I: Critical Rationing Levels z̄ₜ¹ ≥ ⋯ ≥ z̄ₜⁿ Give an Optimal Policy When Each aₜ Is 0 or 1Research Paper

Motivation

A firm that holds a single stock of a product often serves customers of different priority: military and civilian requisitions, contract and spot customers, emergency and routine orders for spare parts. When stock runs short, it must decide not only how much demand to satisfy but whose. Satisfying a low-priority order now may leave the firm unable to serve a high-priority order that arrives later in the same replenishment cycle. Inventory rationing asks for the optimal rule.

Veinott (Optimal policy in a dynamic, single product, nonstationary inventory model with several demand classes, Operations Research 13 (1965)) studied a model with nnn demand classes, but fixed in advance the rule that a lower class is served only when every higher class has been served in full, and gave conditions on the costs under which that rule is optimal. Topkis (Management Science 15 (1968), 160–176) dropped the fixed rule and characterized the optimal rationing policy within a replenishment period. Theorem 1 of that paper is the target of this mission. It extends the author's earlier two-class analysis; the two-class case was later partly rediscovered by Evans and by Kaplan. Critical-level rationing policies of this kind are a standard object in the later literature on multi-class inventory systems.

Setting

A period between two replenishments is divided into kkk intervals, indexed backwards: interval ttt has t−1t-1t−1 intervals after it, so the period starts in interval kkk and ends in interval 111. Demand comes in classes 1,…,n1,\dots,n1,…,n, with class nnn the most important. At the start of interval ttt the firm holds stock z≥0z\ge0z≥0 and faces the outstanding demand vector B=(B1,…,Bn)≥0B=(B^1,\dots,B^n)\ge0B=(B1,…,Bn)≥0: the backlog bbb carried in plus the new demand dtd_tdt​, whose law μt\mu_tμt​ on [0,∞)n[0,\infty)^n[0,∞)n has finite means. Demands of different intervals are independent.

The firm chooses the vector uuu of demand left unsatisfied, with 0≤u≤B0\le u\le B0≤u≤B, so that w=z−1⋅(B−u)≥0w=z-\mathbf 1\cdot(B-u)\ge0w=z−1⋅(B−u)≥0 units remain in stock, where 1⋅y=∑jyj\mathbf 1\cdot y=\sum_j y^j1⋅y=∑j​yj. It pays the penalty pt⋅up_t\cdot upt​⋅u and the holding cost ht(w)h_t(w)ht​(w). A fraction at≥0a_t\ge0at​≥0 of the unsatisfied demand is carried into the next interval: bt−1=atub_{t-1}=a_tubt−1​=at​u, with at=1a_t=1at​=1 meaning complete backlogging and at=0a_t=0at​=0 lost sales. At the end of interval 111 the salvage cost v1(z)+v2(z−1⋅b)v_1(z)+v_2(z-\mathbf 1\cdot b)v1​(z)+v2​(z−1⋅b) is charged. The standing assumptions are:

  • (A) hth_tht​ is convex and continuous on [0,∞)[0,\infty)[0,∞);
  • (B) v1v_1v1​ is convex and continuous on [0,∞)[0,\infty)[0,∞), v2v_2v2​ is convex and continuous on R\mathbb RR, and D+v2D^+v_2D+v2​ is bounded below, where D+D^+D+ is the right derivative;
  • (C) 0≤pt1≤⋯≤ptn0\le p_t^1\le\cdots\le p_t^n0≤pt1​≤⋯≤ptn​.

The minimal expected cost ftf_tft​ of the last ttt intervals and its expectation gtg_tgt​ satisfy

ft(z,B)=inf⁡0≤u≤Bw=z−1⋅(B−u)≥0[pt⋅u+ht(w)+gt−1(w,atu)],gt(z,b)=E ft(z,b+dt),f_t(z,B)=\inf_{\substack{0\le u\le B\\ w=z-\mathbf 1\cdot(B-u)\ge0}}\big[p_t\cdot u+h_t(w)+g_{t-1}(w,a_tu)\big],\qquad g_t(z,b)=\mathbb E\,f_t(z,b+d_t),ft​(z,B)=0≤u≤Bw=z−1⋅(B−u)≥0​inf​[pt​⋅u+ht​(w)+gt−1​(w,at​u)],gt​(z,b)=Eft​(z,b+dt​),

with g0(z,b)=v1(z)+v2(z−1⋅b)g_0(z,b)=v_1(z)+v_2(z-\mathbf 1\cdot b)g0​(z,b)=v1​(z)+v2​(z−1⋅b).

For a class jjj, with δj\delta_jδj​ its unit vector, the critical rationing level zˉtj∈[0,+∞]\bar z_t^j\in[0,+\infty]zˉtj​∈[0,+∞] is +∞+\infty+∞ if φtj(w)=ptjw+ht(w)+gt−1(w,atwδj)\varphi_t^j(w)=p_t^jw+h_t(w)+g_{t-1}(w,a_tw\delta_j)φtj​(w)=ptj​w+ht​(w)+gt−1​(w,at​wδj​) is strictly decreasing on [0,∞)[0,\infty)[0,∞), and is the smallest minimizer of φtj\varphi_t^jφtj​ on [0,∞)[0,\infty)[0,∞) otherwise. With B(j)=∑i≥jBiB^{(j)}=\sum_{i\ge j}B^iB(j)=∑i≥j​Bi, the rationing level policy leaves unsatisfied

uj=(B(j)−z+zˉtj)+∧Bj.u^j=\big(B^{(j)}-z+\bar z_t^j\big)^+\wedge B^j .uj=(B(j)−z+zˉtj​)+∧Bj.

In words: going down from class nnn, it serves as much of each class as it can without letting the stock fall below that class's critical level.

Formalization targets

Goal: Theorem 1

Suppose ai∈{0,1}a_i\in\{0,1\}ai​∈{0,1} for every i≤ti\le ti≤t. Then

  1. the rationing level policy attains ft(z,B)f_t(z,B)ft​(z,B) for every z≥0z\ge0z≥0, B≥0B\ge0B≥0;
  2. the critical levels are ordered as
zˉt1≥zˉt2≥⋯≥zˉtn;\bar z_t^1\ge\bar z_t^2\ge\cdots\ge\bar z_t^n;zˉt1​≥zˉt2​≥⋯≥zˉtn​;
  1. for ε>0\varepsilon>0ε>0, the differences ft(z,B)−ft(z+ε,B+εδj)f_t(z,B)-f_t(z+\varepsilon,B+\varepsilon\delta_j)ft​(z,B)−ft​(z+ε,B+εδj​) and gt(z,b)−gt(z+ε,b+εδj)g_t(z,b)-g_t(z+\varepsilon,b+\varepsilon\delta_j)gt​(z,b)−gt​(z+ε,b+εδj​) do not depend on B1,…,BjB^1,\dots,B^jB1,…,Bj and b1,…,bjb^1,\dots,b^jb1,…,bj.

Milestones

In attack order:

  1. Lemma 1: the infimum of a convex function over one block of variables is convex.
  2. Lemma 2: gtg_tgt​ and ftf_tft​ are convex and continuous on the orthant, and the infimum in (1) is a minimum.
  3. The critical levels exist, so they are well defined.
  4. Lemma 3: moving ε\varepsilonε of demand from class iii to a less important class j<ij<ij<i does not raise ftf_tft​ or gtg_tgt​.
  5. (6): ft(z,B)=min⁡wft(w;z,B)f_t(z,B)=\min_wf_t(w;z,B)ft​(z,B)=minw​ft​(w;z,B), where ft(w;z,B)f_t(w;z,B)ft​(w;z,B) is the cost of issuing exactly z−wz-wz−w units.
  6. Lemma 4: for each www, serving the classes in order of importance is optimal.
  7. Corollary 1: some optimal uuu never serves a class before every more important class has been served in full.

A companion item states the paper's remark that with a linear ordering cost c(y)=c⋅yc(y)=c\cdot yc(y)=c⋅y the optimal order is y(z)=(y(0)−z)+y(z)=(y(0)-z)^+y(z)=(y(0)−z)+.

Significance

Theorem 1 reduces the nnn-dimensional rationing decision in each interval to nnn numbers, which are computed from one-dimensional convex minimizations. Under complete or no backlogging this is the structural result that the rest of the paper builds on: the monotonicity of the levels in time (Theorem 2), the reduction of the backlog case to a single-interval problem (Theorem 3), and the multi-period ordering policy (Theorem 4). The hypothesis on aia_iai​ is sharp in the sense the paper shows: for a2∈(0,1)a_2\in(0,1)a2​∈(0,1) an example on pp. 165–166 has no optimal policy of this form.

The theorem is proved in the paper, but no part of it is machine-checked. A formal development would contribute a reusable treatment of finite-horizon dynamic programs whose value function is defined by an infimum and an expectation over an orthant, with convexity and continuity propagated through the recursion. It would also contribute the comparative statics of critical-level policies.

Difficulty

The obvious argument proves optimality of the rationing level policy by induction from convexity alone. That is not enough. Convexity gives a one-dimensional problem in www (by (6) and Lemma 4). But identifying its minimizer with the class-wise critical levels requires the marginal value of class-jjj demand to be independent of the demand of the less important classes, which is part (c). Part (c) is false when 0<at<10<a_t<10<at​<1, so the induction must carry (a), (b) and (c) together and use at∈{0,1}a_t\in\{0,1\}at​∈{0,1} at every step. A second difficulty is analytic: ftf_tft​ is an infimum and gtg_tgt​ an expectation, and before any structural argument starts the value functions must be shown to be finite, attained, continuous and integrable on the closed orthant (Lemma 2).

Formalization scope

  • Representation. Classes are Fin n; the paper's class jjj is index j−1j-1j−1, so class nnn is the largest index and (b) is Antitone. Intervals are natural numbers counted backwards, as in the paper. Vectors are Fin n → ℝ with the pointwise order.
  • Value functions. ftf_tft​ is defined by the recursion (1) itself, with a real infimum (sInf), and gtg_tgt​ by a Bochner integral against μt\mu_tμt​. Every statement about ftf_tft​, gtg_tgt​ is restricted to z≥0z\ge0z≥0 and B≥0B\ge0B≥0 (or b≥0b\ge0b≥0). Lemma 2's attainment and integrability conjuncts are what identify these values with the paper's.
  • Critical levels. The levels live in WithTop ℝ, with ⊤=+∞\top=+\infty⊤=+∞. They are specified by the predicate IsCriticalLevel: strictly decreasing for +∞+\infty+∞, smallest minimizer otherwise. They are never computed by a real sInf, which would give the junk value 000 when no minimizer exists.
  • Standing assumptions. (A)–(C) are imposed for 1≤t≤k1\le t\le k1≤t≤k. (B)'s limit condition is read as "D+v2D^+v_2D+v2​ is bounded below". D+D^+D+ is an extended-real right Dini derivative. Assumption (D) on the ordering cost is not used.
  • Added hypothesis. Lemma 1 adds the hypothesis that the function is bounded below on every fibre, because a real infimum cannot be −∞-\infty−∞.
  • Not stated. The paper's remark that Assumption (D) ensures an optimal order y(z)y(z)y(z) exists for a general continuous ccc is not formalized. With n=k=1n=k=1n=k=1, h1(w)=w2h_1(w)=w^2h1​(w)=w2, c(w)=w−w2c(w)=w-w^2c(w)=w−w2, p1=1p_1=1p1​=1, v1=v2=0v_1=v_2=0v1​=v2​=0 and demand 111 with certainty, (D) holds but c(y)+g1(y,0)=1−yc(y)+g_1(y,0)=1-yc(y)+g1​(y,0)=1−y for y≥1y\ge1y≥1, so no minimizer exists.
  • Ruled out. Theorem 1 is not proved by assuming Lemma 2, the shape of the optimal vector, or the paper's derivative formulas (8)–(9). Those appear only as milestones or not at all. Part (a) asserts optimality over all feasible uuu, not among rationing level policies.
  • Contributions welcome. Proofs of the milestones, general lemmas on convexity of partial infima and on continuity of parametric minima over polytopes, and integrability of functions of linear growth against laws with finite means.

Selected references

  • D. M. Topkis, Optimal ordering and rationing policies in a nonstationary dynamic inventory model with n demand classes, Management Science 15(3) (1968), 160–176. https://doi.org/10.1287/mnsc.15.3.160
  • A. F. Veinott, Jr., Optimal policy in a dynamic, single product, nonstationary inventory model with several demand classes, Operations Research 13(5) (1965), 761–778. https://doi.org/10.1287/opre.13.5.761
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970 (convexity of partial minima, Theorem 5.7). https://doi.org/10.1515/9781400873173
10 thms1 active userReviewed
Dynamic ProgrammingMarkov Chain·Captain: mikedeng1

Average Optimality in Dynamic Programming with General State Space: Under (W) or (S) and Bounded Relative Discounted Values, a Limit of Discount-Optimal Policies Is Average OptimalResearch Paper

Motivation

A Markov decision process with the average cost criterion asks for a policy that minimizes the long-run expected cost per unit time. The criterion is the natural one for inventory, queueing and maintenance systems that run indefinitely without a meaningful discount rate, and it is the standard benchmark in the theory of controlled Markov chains (Arapostathis et al. 1993, Hernández-Lerma and Lasserre 1996). Unlike the discounted criterion, it has no contraction to work with, and an average-optimal policy may fail to exist.

The classical route to average optimality is the vanishing discount approach: solve the β\betaβ-discounted problem, which is well behaved, and let β↑1\beta \uparrow 1β↑1. Schäl's paper gives conditions on a model with a general (Borel) state space under which this limit produces an average-optimal stationary policy.

Timeline. Taylor (1965) and Ross (1968) used the vanishing discount approach with equicontinuity via Arzelà–Ascoli. Sennott (1989) proved, for countable state spaces, that pointwise bounded relative discounted values yield an average cost optimality inequality and an average-optimal stationary policy. Schäl (1993, this mission) extended this to standard Borel state spaces under two alternative compactness–continuity conditions, (W) and (S). Later work, e.g. Feinberg, Kasyanov and Zadoianchuk (2012) and Feinberg and Liang (2022), weakened the compactness assumptions and studied when the inequality becomes an equation.

Setting

The model (S,A,A(⋅),q,c)(S, A, A(\cdot), q, c)(S,A,A(⋅),q,c) consists of standard Borel spaces SSS (states) and AAA (actions); nonempty action sets A(x)⊆AA(x) \subseteq AA(x)⊆A whose graph {(x,a):a∈A(x)}\{(x, a) : a \in A(x)\}{(x,a):a∈A(x)} is measurable; a transition law q(⋅∣x,a)q(\cdot \mid x, a)q(⋅∣x,a); and a measurable one-step cost c(x,a)∈[0,∞]c(x, a) \in [0, \infty]c(x,a)∈[0,∞]. A policy δ∈Δ\delta \in \Deltaδ∈Δ chooses, at each stage nnn, a randomized action that may depend on the whole history and lies in A(xn)A(x_n)A(xn​) with probability one. A stationary policy f∈Ff \in \mathbb Ff∈F is a measurable f:S→Af : S \to Af:S→A with f(x)∈A(x)f(x) \in A(x)f(x)∈A(x).

For a policy δ\deltaδ and initial state xxx, Jn(δ,x)J^n(\delta, x)Jn(δ,x) is the expected total cost of the first nnn stages, and

Φ(δ,x)=lim sup⁡n→∞1nJn(δ,x),g=inf⁡x∈Sinf⁡δ∈ΔΦ(δ,x).\Phi(\delta, x) = \limsup_{n\to\infty} \tfrac1n J^n(\delta, x), \qquad g = \inf_{x \in S}\inf_{\delta \in \Delta} \Phi(\delta, x).Φ(δ,x)=n→∞limsup​n1​Jn(δ,x),g=x∈Sinf​δ∈Δinf​Φ(δ,x).

A policy is average optimal if Φ(δ,x)=g\Phi(\delta, x) = gΦ(δ,x)=g for every xxx. The General Assumption is g<∞g < \inftyg<∞.

For 0<β<10 < \beta < 10<β<1, Jβ(δ,x)J_\beta(\delta, x)Jβ​(δ,x) is the expected total β\betaβ-discounted cost, vβ(x)=inf⁡δJβ(δ,x)v_\beta(x) = \inf_\delta J_\beta(\delta, x)vβ​(x)=infδ​Jβ​(δ,x), mβ=inf⁡xvβ(x)m_\beta = \inf_x v_\beta(x)mβ​=infx​vβ​(x), and wβ=vβ−mβ≥0w_\beta = v_\beta - m_\beta \ge 0wβ​=vβ​−mβ​≥0 is the relative discounted value function. The quantities gˉ\bar ggˉ​ and g‾\underline gg​ are the upper and lower limits of (1−β)mβ(1-\beta)m_\beta(1−β)mβ​ as β↑1\beta \uparrow 1β↑1. Condition (B) requires sup⁡β<1wβ(x)<∞\sup_{\beta < 1} w_\beta(x) < \inftysupβ<1​wβ​(x)<∞ for each xxx.

Condition (W): SSS is locally compact with countable base, the A(x)A(x)A(x) are compact and x↦A(x)x \mapsto A(x)x↦A(x) is upper semicontinuous, qqq is weakly continuous on the graph of AAA, and ccc is lower semicontinuous there. Condition (S): the A(x)A(x)A(x) are compact, and for each fixed xxx, a↦q(⋅∣x,a)a \mapsto q(\cdot \mid x, a)a↦q(⋅∣x,a) is setwise continuous and a↦c(x,a)a \mapsto c(x, a)a↦c(x,a) is lower semicontinuous on A(x)A(x)A(x).

Formalization targets

Goal: Theorem 3.8

Under the General Assumption, (B), and (W) or (S):

∃f1∈F: Φ(f1,x)=g  ∀x∈S,g=lim⁡β→1(1−β)mβ=lim⁡β→1(1−β)vβ(x)  ∀x.\exists f_1 \in \mathbb F:\ \Phi(f_1, x) = g \ \ \forall x \in S, \qquad g = \lim_{\beta\to1}(1-\beta)m_\beta = \lim_{\beta \to 1}(1-\beta)v_\beta(x)\ \ \forall x.∃f1​∈F: Φ(f1​,x)=g  ∀x∈S,g=β→1lim​(1−β)mβ​=β→1lim​(1−β)vβ​(x)  ∀x.

Moreover, for every sequence β(k)↑1\beta(k) \uparrow 1β(k)↑1 and every choice of β(k)\beta(k)β(k)-discount-optimal stationary policies fβ(k)f_{\beta(k)}fβ(k)​, some average-optimal f1f_1f1​ is a limit of them: under (W), f1(x)=lim⁡mfβm(xm)f_1(x) = \lim_m f_{\beta_m}(x_m)f1​(x)=limm​fβm​​(xm​) with βm\beta_mβm​ from {β(k)}\{\beta(k)\}{β(k)}, βm→1\beta_m \to 1βm​→1 and xm→xx_m \to xxm​→x; under (S), f1(x)=lim⁡mfβm(x)f_1(x) = \lim_m f_{\beta_m}(x)f1​(x)=limm​fβm​​(x).

Milestones

  1. Lemma 1.2: lim sup⁡β→1(1−β)Jβ(δ,x)≤Φ(δ,x)\limsup_{\beta\to1}(1-\beta)J_\beta(\delta, x) \le \Phi(\delta, x)limsupβ→1​(1−β)Jβ​(δ,x)≤Φ(δ,x), and g‾≤gˉ≤g\underline g \le \bar g \le gg​≤gˉ​≤g.
  2. Proposition 1.3: a finite measurable w‾≥0\underline w \ge 0w​≥0 and f1∈Ff_1 \in \mathbb Ff1​∈F with w‾(x)+g‾≥c(x,f1(x))+∫w‾ dq(x,f1(x))\underline w(x) + \underline g \ge c(x, f_1(x)) + \int \underline w\, dq(x, f_1(x))w​(x)+g​≥c(x,f1​(x))+∫w​dq(x,f1​(x)) give Φ(f1,⋅)=g=g‾=gˉ\Phi(f_1, \cdot) = g = \underline g = \bar gΦ(f1​,⋅)=g=g​=gˉ​.
  3. Proposition 2.1 and (2.2): existence of discount-optimal stationary policies, the discounted optimality equation and its relative form.
  4. Lemma 2.3: Fatou's lemma for setwise and for weakly converging measures.
  5. (3.2), Lemmas 3.3, 3.4: the lower limit w‾(x)=lim inf⁡k→∞,y→xwβ(k)(y)\underline w(x) = \liminf_{k\to\infty, y\to x} w_{\beta(k)}(y)w​(x)=liminfk→∞,y→x​wβ(k)​(y) is attained along measurable sequences.
  6. Proposition 3.5 and its (S) version (3.7): w‾\underline ww​ and some f1f_1f1​ satisfy the optimality inequality with g‾\underline gg​.

Significance

The theorem gives existence of an average-optimal stationary policy on a general state space from checkable model conditions plus pointwise bounds on relative values, without assuming a solution of the average cost optimality equation. It also identifies the optimal average cost as the Abelian limit of discounted values, and says how to compute an optimal policy: as a limit of discount-optimal ones. §4 of the paper verifies (B) through entrance-time bounds and applies the theorem to Assaf's invariant problem and to a finite-capacity inventory model.

The result is a published theorem; none of it is machine-checked. Formalizing it requires the measure-theoretic layer of Borel dynamic programming (canonical path measures of history-dependent policies, discounted optimality equations, measurable selection of minimizers and of accumulation points) and Fatou lemmas for varying measures. These components are reusable for any Borel-space MDP. Related platform work: the Feinberg–Liang average-cost optimality equation under an additional equicontinuity assumption is posed separately (FeinbergLiang.ACOE.acoe_of_assumptionEC); it is a different theorem.

Difficulty

The naive argument takes a pointwise limit of wβw_{\beta}wβ​ as β→1\beta \to 1β→1 in the relative optimality equation (2.2). Under (B) the family {wβ(x)}\{w_\beta(x)\}{wβ​(x)} is only bounded pointwise, so no subsequence need converge, and even a pointwise lower limit loses the continuity needed to pass ∫wβ dq(x,fβ(x))\int w_\beta\, dq(x, f_\beta(x))∫wβ​dq(x,fβ​(x)) to the limit when qqq is only weakly continuous. The generalized lower limit w‾(x)=lim inf⁡k,y→xw(k,y)\underline w(x) = \liminf_{k, y\to x} w(k, y)w​(x)=liminfk,y→x​w(k,y) repairs this, but then the limit has to be realized along measurably chosen states and indices, and the limiting actions must be selected measurably as accumulation points. The second obstacle is that only an inequality survives, with the constant g‾\underline gg​; turning it into average optimality needs the Tauberian comparison of Lemma 1.2.

Formalization scope

The model reuses the published FeinbergLiang.ACOE.MDP (history-dependent randomized policies, the Ionescu-Tulcea path measure, JnJ^nJn, JβJ_\betaJβ​, Φ\PhiΦ) with its constant lower = 0, and a local definition file adds action sets, admissibility, ggg, vβv_\betavβ​, mβm_\betamβ​, gˉ\bar ggˉ​, g‾\underline gg​, wβw_\betawβ​, w‾\underline ww​ and Conditions (W), (S), (B). Committed conventions:

  • All costs and values lie in [0,∞][0, \infty][0,∞]; (1−β)(1-\beta)(1−β) is a nonnegative extended real, and β→1\beta \to 1β→1 means β↑1\beta \uparrow 1β↑1.
  • Every infimum defining ggg and vβv_\betavβ​ runs over admissible policies only (actions in A(x)A(x)A(x) almost surely); qqq and ccc are defined on S×AS \times AS×A, but only their values on the graph of AAA enter.
  • wβw_\betawβ​ is a truncated difference, which equals vβ−mβv_\beta - m_\betavβ​−mβ​ because the General Assumption gives mβ<∞m_\beta < \inftymβ​<∞. The General Assumption is an explicit hypothesis of every statement that involves ggg, g‾\underline gg​, gˉ\bar ggˉ​, mβm_\betamβ​ or wβw_\betawβ​.
  • Upper semicontinuity of A(⋅)A(\cdot)A(⋅) is Berge's. Condition (W)(0) is part of CondW: the topology on SSS generates its σ-algebra and is locally compact, second countable and Hausdorff, hence metrizable; the metric ρ\rhoρ of §3 is a metric-space instance. Under (S) no topology on SSS is used, and the lower limit is lim inf⁡kwβ(k)(x)\liminf_k w_{\beta(k)}(x)liminfk​wβ(k)​(x) (the discrete metric).
  • (W)(1) prints "A(x)∈C(x)A(x) \in \mathcal C(x)A(x)∈C(x)", read as C(A)\mathcal C(A)C(A). (3.2) prints inf⁡k≥nw‾k(k,x)\inf_{k\ge n}\underline w_k(k, x)infk≥n​w​k​(k,x), which is false in general; the subscript-nnn version used in the proof of Lemma 3.4 is stated. "{βm}⊂{β(k)}\{\beta_m\} \subset \{\beta(k)\}{βm​}⊂{β(k)}, βm→1\beta_m \to 1βm​→1" is encoded as βm=β(km)\beta_m = \beta(k_m)βm​=β(km​) with km→∞k_m \to \inftykm​→∞.
  • Theorem 3.8's "{β(k)}\{\beta(k)\}{β(k)} can be any sequence" is a universal quantifier over sequences and over choices of discount-optimal policies.

A formalization that assumes an average cost optimality inequality or equation, or that assumes the existence of the limit lim⁡(1−β)mβ\lim(1-\beta)m_\betalim(1−β)mβ​, proves Proposition 1.3 rather than the goal; the goal derives the inequality from (W) or (S), (B) and the General Assumption alone. Contributions to the shared infrastructure (Markov property of the canonical process, measurable selection theorems such as Brown–Purves, Fatou lemmas for varying measures) are welcome as separate theorems. §4 of the paper (entrance-time bounds for (B)) is outside this mission.

Selected references

  • M. Schäl, Average Optimality in Dynamic Programming with General State Space, Mathematics of Operations Research 18(1), 163–172, 1993. https://doi.org/10.1287/moor.18.1.163
  • M. Schäl, Conditions for optimality in dynamic programming and for the limit of n-stage optimal policies to be optimal, Z. Wahrscheinlichkeitstheorie verw. Gebiete 32, 179–196, 1975. https://doi.org/10.1007/BF00532612
  • L. I. Sennott, Average cost optimal stationary policies in infinite state Markov decision processes with unbounded costs, Operations Research 37(4), 626–633, 1989. https://doi.org/10.1287/opre.37.4.626
  • R. F. Serfozo, Convergence of Lebesgue integrals with varying measures, Sankhyā Ser. A 44, 380–402, 1982.
  • A. Arapostathis, V. S. Borkar, E. Fernández-Gaucherand, M. K. Ghosh, S. I. Marcus, Discrete-time controlled Markov processes with average cost criterion: a survey, SIAM J. Control Optim. 31(2), 282–344, 1993. https://doi.org/10.1137/0331018
  • E. A. Feinberg, P. O. Kasyanov, N. V. Zadoianchuk, Average cost Markov decision processes with weakly continuous transition probabilities, Mathematics of Operations Research 37(4), 591–607, 2012. https://doi.org/10.1287/moor.1120.0555
14 thms1 active userReviewed
Algorithmic Game Theory·Captain: mikedeng1

The Fair Division of a Fixed Supply Among a Growing Population: WPO, Anonymity, Scale Invariance, Continuity and Population Monotonicity Characterize the Kalai–Smorodinsky SolutionResearch Paper

Motivation

Axiomatic bargaining theory asks which rule should divide a set of feasible utility vectors among a group of agents, and answers by listing properties a reasonable rule must have and determining the rules that have them. Nash's solution (Nash 1950) and the Kalai–Smorodinsky solution (Kalai and Smorodinsky 1975) are the two classical answers for a fixed set of two agents. Both characterizations take the number of agents as given.

In many division problems the group is not fixed: a supply of goods that was to be shared among some agents must later be shared among more. Thomson (1983) (Math. Oper. Res. 8:319–326) introduced a framework in which the population varies and a solution is a family of rules, one for each finite group. He proposed an axiom tying the rules for different groups together: when new agents arrive and the resources stay fixed, none of the original agents should gain (population monotonicity). The paper shows that this axiom, combined with four standard ones, singles out the Kalai–Smorodinsky solution.

Timeline.

  • 1950: Nash characterizes the Nash solution for two agents.
  • 1975: Kalai and Smorodinsky replace Nash's independence axiom by individual monotonicity and characterize their solution for two agents.
  • 1980: Roth (Internat. J. Game Theory 8, 129–132, cited as [5] in Thomson 1983) discusses the nnn-agent extension; Thomson notes that without comprehensiveness the nnn-agent solution can fail weak Pareto-optimality once n≥3n \ge 3n≥3.
  • 1983: Thomson characterizes the Kalai–Smorodinsky solution for a variable population by WPO, anonymity, scale invariance, continuity and population monotonicity. This is the result of this mission.

Setting

The agents are the natural numbers, and a group PPP is a nonempty finite set of agents. For a group PPP, RP\mathbb R^PRP is the space of real vectors indexed by PPP, and R+P\mathbb R^P_+R+P​ its nonnegative orthant. For vectors, x>yx > yx>y means xi>yix_i > y_ixi​>yi​ for every iii, x≧yx \geqq yx≧y means xi≥yix_i \ge y_ixi​≥yi​ for every iii, and x⩾yx \geqslant yx⩾y means x≧yx \geqq yx≧y with x≠yx \ne yx=y.

A division problem for PPP is a set S⊆R+PS \subseteq \mathbb R^P_+S⊆R+P​ that is compact, convex, contains a strictly positive vector, and is comprehensive: if x∈Sx \in Sx∈S and 0≦y≦x0 \leqq y \leqq x0≦y≦x, then y∈Sy \in Sy∈S. The class of these problems is ΣP\Sigma^PΣP. The subclass Σ~P\tilde\Sigma^PΣ~P also requires that whenever x,y∈Sx, y \in Sx,y∈S and y⩾xy \geqslant xy⩾x, some z∈Sz \in Sz∈S satisfies z>xz > xz>x.

A solution FFF chooses a point FP(S)∈SF^P(S) \in SFP(S)∈S for every group PPP and every S∈ΣPS \in \Sigma^PS∈ΣP. The ideal point of SSS is a(S)a(S)a(S), with ai(S)=max⁡x∈Sxia_i(S) = \max_{x \in S} x_iai​(S)=maxx∈S​xi​. The Kalai–Smorodinsky solution KKK selects the largest point of SSS on the segment from the origin to a(S)a(S)a(S):

KP(S)=t∗ a(S),t∗=max⁡{t≥0:t a(S)∈S}.K^P(S) = t^*\,a(S), \qquad t^* = \max\{t \ge 0 : t\,a(S) \in S\}.KP(S)=t∗a(S),t∗=max{t≥0:ta(S)∈S}.

The axioms on a solution FFF are:

  • WPO: no y∈Sy \in Sy∈S has y>FP(S)y > F^P(S)y>FP(S).
  • PO: no y∈Sy \in Sy∈S has y⩾FP(S)y \geqslant F^P(S)y⩾FP(S).
  • An: relabelling the agents along a bijection γ:P→P′\gamma : P \to P'γ:P→P′ relabels the outcome.
  • S. Inv: rescaling each agent's utility by a positive factor rescales the outcome the same way.
  • Cont: FP(Sk)→FP(S)F^P(S^k) \to F^P(S)FP(Sk)→FP(S) whenever Sk→SS^k \to SSk→S in the Hausdorff metric.
  • Mon: if P⊆QP \subseteq QP⊆Q, S∈ΣPS \in \Sigma^PS∈ΣP, T∈ΣQT \in \Sigma^QT∈ΣQ, and S=T∩RPS = T \cap \mathbb R^PS=T∩RP (the points of TTT that give zero to everyone outside PPP), then FiP(S)≥FiQ(T)F^P_i(S) \ge F^Q_i(T)FiP​(S)≥FiQ​(T) for every i∈Pi \in Pi∈P.

Formalization targets

Goal: the characterization (Theorems 1 and 3)

For every solution FFF,

F satisfies WPO, An, S. Inv, Cont, Mon  ⟺  FP(S)=KP(S)  for all finite P and all S∈ΣP.F \text{ satisfies WPO, An, S. Inv, Cont, Mon} \iff F^P(S) = K^P(S)\ \text{ for all finite } P \text{ and all } S \in \Sigma^P.F satisfies WPO, An, S. Inv, Cont, Mon⟺FP(S)=KP(S)  for all finite P and all S∈ΣP.

Milestones

  1. Theorem 1. KKK is a solution and satisfies WPO, An, S. Inv, Cont and Mon.
  2. Theorem 2, ∣P∣=2|P| = 2∣P∣=2. Under WPO, An, S. Inv and Mon, FP(S)≧KP(S)F^P(S) \geqq K^P(S)FP(S)≧KP(S) for every two-agent group.
  3. The replica problem (appendix). If a(S)=ePa(S) = e^Pa(S)=eP, aeP∈Sa e^P \in SaeP∈S and i0∈Pi_0 \in Pi0​∈P, there are Q⊇PQ \supseteq PQ⊇P with ∣Q∣=3∣P∣−2|Q| = 3|P| - 2∣Q∣=3∣P∣−2 and T∈ΣQT \in \Sigma^QT∈ΣQ such that T∩RP=ST \cap \mathbb R^P = ST∩RP=S and aeQ∈Ta e^Q \in TaeQ∈T. In addition, every agent j∈Qj \in Qj∈Q faces, in some slice of TTT, a relabelled copy of SSS in which jjj holds agent i0i_0i0​'s position.
  4. Theorem 2. Under WPO, An, S. Inv and Mon, FP(S)≧KP(S)F^P(S) \geqq K^P(S)FP(S)≧KP(S) for every PPP and every S∈ΣPS \in \Sigma^PS∈ΣP.
  5. Corollary 1. Under the same four axioms, F=KF = KF=K on every Σ~P\tilde\Sigma^PΣ~P.
  6. Density. Every S∈ΣPS \in \Sigma^PS∈ΣP is a Hausdorff limit of problems in Σ~P\tilde\Sigma^PΣ~P.
  7. Theorem 3. WPO, An, S. Inv, Cont and Mon imply F=KF = KF=K on every ΣP\Sigma^PΣP.

Two further statements accompany the goal. Corollary 2 says that no solution satisfies PO, An, S. Inv and Mon. Lemma 1 says that some solution other than KKK satisfies WPO, An, S. Inv and Mon.

Significance

The theorem identifies the Kalai–Smorodinsky solution as the only rule, among those treating agents symmetrically and ignoring utility units, under which an arrival of new claimants never benefits existing ones. Corollary 2 shows that weak Pareto-optimality cannot be strengthened to Pareto-optimality. Lemma 1 shows that continuity cannot be dropped. Together they fix the logical boundary of the result. The replica construction of the appendix is a reusable device: a problem in which every agent of a larger group faces an exact copy of one agent's situation.

The result has been proved since 1983. It has not been machine-checked, and to our knowledge no proof assistant library contains bargaining problems, solutions or the Kalai–Smorodinsky solution. The mission produces these definitions and checks the full argument, including two steps the paper asserts without proof. One is that the replica problem has the required slices. The other is that problems satisfying condition (c) are dense in the Hausdorff metric. Formalizing the paper also exposes a printed slip: Theorem 2 is stated as an equivalence, but only one direction is true and proved, and only that direction is stated here.

Difficulty

Theorem 1 asks for routine but real convex analysis. Continuity of KKK requires the ideal point and the maximal scalar t∗t^*t∗ to move continuously with SSS in the Hausdorff metric. Comprehensiveness and the strictly positive vector are what make this work.

The substance is in Theorem 2. The first thought is to compare FP(S)F^P(S)FP(S) with KP(S)K^P(S)KP(S) inside SSS alone, using only WPO, An and S. Inv. That cannot work: Lemma 1 exhibits a solution satisfying all four axioms that differs from KKK, so the argument must leave the group PPP. The proof builds a larger problem TTT in which every member of an enlarged group faces a copy of the worst-treated agent's position. Mon then caps each agent's payoff in TTT, and WPO fails at the diagonal point aeQa e^QaeQ. Choosing the groups and bijections, and verifying that each slice of the convex comprehensive hull is exactly the intended copy, is the delicate part. The paper dismisses it as "clear".

Theorem 3 needs the density of Σ~P\tilde\Sigma^PΣ~P in ΣP\Sigma^PΣP. An approximating problem must lose every flat face on its weak Pareto boundary while staying compact, convex and comprehensive.

Formalization scope

Agents are ℕ, where the paper uses {1,2,… }\{1, 2, \dots\}{1,2,…}; this relabelling is harmless. Groups are nonempty: for the empty group, R∅\mathbb R^\emptysetR∅ is a point and WPO would hold for no solution, so the page's "finite subsets" is read as nonempty finite subsets. A group is a Finset ℕ, and RP\mathbb R^PRP is the function type P → ℝ, whose metric is the sup metric. Hausdorff convergence uses Mathlib's extended Hausdorff distance Metric.hausdorffEDist. Convergence in it is equivalent to Euclidean Hausdorff convergence, because the norms are equivalent.

A solution is a total function on all sets, together with the hypothesis IsSolution F that FP(S)∈SF^P(S) \in SFP(S)∈S for S∈ΣPS \in \Sigma^PS∈ΣP. Every axiom quantifies over problems in ΣP\Sigma^PΣP only, and "FFF is the Kalai–Smorodinsky solution" means agreement on every ΣP\Sigma^PΣP. Two formalizations of the goal would be trivial or false, and the statements here rule out both: one that equates FFF and KKK as functions, and one that drops IsSolution.

The remaining conventions are these.

  • KKK and the ideal point use sSup. Both suprema are attained on ΣP\Sigma^PΣP.
  • T∩RPT \cap \mathbb R^PT∩RP is the set of xxx whose zero-extension lies in TTT.
  • An quantifies over bijections P ≃ P'.
  • Scalings have strictly positive factors.

Deviation from the page. Theorem 2's printed "if" direction is false, so only "only if" is stated. For example, choosing (2,1,1)(2,1,1)(2,1,1) on cch{(2,1,1),(0,2,0),(0,0,2)}\mathrm{cch}\{(2,1,1),(0,2,0),(0,0,2)\}cch{(2,1,1),(0,2,0),(0,0,2)} and KKK elsewhere gives a solution with F≧KF \geqq KF≧K that violates S. Inv. The replica milestone states the appendix construction existentially, for a generic agent i0i_0i0​ instead of agent 1.

Out of scope: Theorem 4 (solutions defined on Σ~P\tilde\Sigma^PΣ~P only, whose necessity proof is a sketch), and the remarks of §4.2–§4.4.

A complete development needs Hausdorff-metric continuity of maxima over compact sets and the convex comprehensive hull. It also needs elementary facts about slices and relabellings of comprehensive sets. All of these are reusable for other bargaining and fair-division formalizations. Contributions are welcome on any milestone, and on lemmas about ΣP\Sigma^PΣP that several milestones share.

Selected references

  • W. Thomson, The fair division of a fixed supply among a growing population, Mathematics of Operations Research 8(3):319–326, 1983. https://doi.org/10.1287/moor.8.3.319
  • E. Kalai and M. Smorodinsky, Other solutions to Nash's bargaining problem, Econometrica 43(3):513–518, 1975. https://doi.org/10.2307/1914280
  • J. F. Nash, The bargaining problem, Econometrica 18(2):155–162, 1950. https://doi.org/10.2307/1907266
  • A. E. Roth, An impossibility result for n-person games, International Journal of Game Theory 8:129–132, 1980 (as cited in Thomson 1983, reference [5]); see the reference list of https://doi.org/10.1287/moor.8.3.319
9 thms1 active userReviewed
ProbabilityStatisticsStochastic Systems·Captain: mikedeng1

Estimating Variance From High, Low and Closing Prices I: S_t(S_t − X_t) + I_t(I_t − X_t) Has Mean σ²t for Brownian Motion With Any DriftResearch Paper

Motivation

The logarithm of a share price is commonly modelled as a Brownian motion with drift, Xt=σBt+ctX_t=\sigma B_t+ctXt​=σBt​+ct. The Black–Scholes option pricing formula needs the volatility σ\sigmaσ but not the drift ccc, so a practitioner must estimate σ2\sigma^2σ2 from data. Observing the whole path would give σ2\sigma^2σ2 exactly through its quadratic variation, but a real observer sees far less. The most readily available daily information is the opening and closing prices together with the day's high and low.

Parkinson (1980) proposed an estimator from the high–low range, and Garman and Klass (1980) found the minimum-variance estimator among a class of quadratic functions of high, low and close. Both were derived assuming zero drift, c=0c=0c=0, and the Garman–Klass estimator is biased when c≠0c\neq0c=0. Rogers and Satchell (Ann. Appl. Probab. 1 (1991) 504–512) proposed the estimator

σ^2≡S1(S1−X1)+I1(I1−X1),\hat\sigma^2\equiv S_1(S_1-X_1)+I_1(I_1-X_1),σ^2≡S1​(S1​−X1​)+I1​(I1​−X1​),

which is unbiased for every drift. Their estimator is now a standard tool in empirical finance for range-based volatility measurement.

Setting

Fix a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) carrying a standard Brownian motion B=(Bt)t≥0B=(B_t)_{t\ge0}B=(Bt​)t≥0​: B0=0B_0=0B0​=0, its increments over disjoint intervals are independent and Gaussian with variance equal to the length of the interval, and every sample path t↦Bt(ω)t\mapsto B_t(\omega)t↦Bt​(ω) is continuous. Fix a drift c∈Rc\in\mathbb Rc∈R and a volatility σ≥0\sigma\ge0σ≥0. The log-price is

Xt=σBt+ct,t≥0,X_t=\sigma B_t+ct,\qquad t\ge0,Xt​=σBt​+ct,t≥0,

and, for a trading period [0,t][0,t][0,t], the running maximum and running minimum are

St=sup⁡0≤u≤tXu,It=inf⁡0≤u≤tXu.S_t=\sup_{0\le u\le t}X_u,\qquad I_t=\inf_{0\le u\le t}X_u.St​=0≤u≤tsup​Xu​,It​=0≤u≤tinf​Xu​.

Thus StS_tSt​, ItI_tIt​ and XtX_tXt​ are the high, the low and the close of the log-price (with the open normalized to X0=0X_0=0X0​=0). In Lean these are logPrice σ c B t ω, runMax σ c B t ω and runMin σ c B t ω in the namespace RogersSatchell.Unbiased.

The proof in the paper passes through an exponential time: a random variable TTT with P(T>x)=e−λxP(T>x)=e^{-\lambda x}P(T>x)=e−λx (rate λ>0\lambda>0λ>0, mean λ−1\lambda^{-1}λ−1), independent of the whole path BBB. For σ>0\sigma>0σ>0 the rates

α=c2+2λσ2−cσ2,β=c2+2λσ2+cσ2\alpha=\frac{\sqrt{c^2+2\lambda\sigma^2}-c}{\sigma^2},\qquad \beta=\frac{\sqrt{c^2+2\lambda\sigma^2}+c}{\sigma^2}α=σ2c2+2λσ2​−c​,β=σ2c2+2λσ2​+c​

appear, in Lean alpha σ c lam and beta σ c lam.

Formalization targets

Goal: display (3)

For every c∈Rc\in\mathbb Rc∈R, every σ≥0\sigma\ge0σ≥0 and every t≥0t\ge0t≥0, St(St−Xt)+It(It−Xt)S_t(S_t-X_t)+I_t(I_t-X_t)St​(St​−Xt​)+It​(It​−Xt​) is integrable and

E[St(St−Xt)+It(It−Xt)]=σ2t.E\big[S_t(S_t-X_t)+I_t(I_t-X_t)\big]=\sigma^2t.E[St​(St​−Xt​)+It​(It​−Xt​)]=σ2t.

At t=1t=1t=1 this is the unbiasedness of σ^2\hat\sigma^2σ^2 of display (2). The statement quantifies over all drifts; the absence of ccc on the right-hand side is the content.

Milestones (Section 2, pp. 505–506)

  1. At an independent exponential time TTT of rate λ\lambdaλ: ST∼Exp⁡(α)S_T\sim\operatorname{Exp}(\alpha)ST​∼Exp(α) and −IT∼Exp⁡(β)-I_T\sim\operatorname{Exp}(\beta)−IT​∼Exp(β).
  2. The Wiener–Hopf splitting: STS_TST​ and ST−XTS_T-X_TST​−XT​ are independent, and ST−XTS_T-X_TST​−XT​ has the law of −IT-I_T−IT​.
  3. E[ST(ST−XT)]=1/(αβ)=σ2/2λE[S_T(S_T-X_T)]=1/(\alpha\beta)=\sigma^2/2\lambdaE[ST​(ST​−XT​)]=1/(αβ)=σ2/2λ.
  4. E[ST(ST−XT)]=∫0∞λe−λt E[St(St−Xt)] dtE[S_T(S_T-X_T)]=\int_0^\infty\lambda e^{-\lambda t}\,E[S_t(S_t-X_t)]\,dtE[ST​(ST​−XT​)]=∫0∞​λe−λtE[St​(St​−Xt​)]dt.
  5. E[St(St−Xt)]=σ2t/2E[S_t(S_t-X_t)]=\sigma^2t/2E[St​(St​−Xt​)]=σ2t/2 for every t≥0t\ge0t≥0.
  6. E[It(It−Xt)]=σ2t/2E[I_t(I_t-X_t)]=\sigma^2t/2E[It​(It​−Xt​)]=σ2t/2 for every t≥0t\ge0t≥0.
  7. (off the goal's path) With Y1=S1(S1−X1)Y_1=S_1(S_1-X_1)Y1​=S1​(S1​−X1​), Y2=I1(I1−X1)Y_2=I_1(I_1-X_1)Y2​=I1​(I1​−X1​): EY12=EY22=σ4/2E Y_1^2=EY_2^2=\sigma^4/2EY12​=EY22​=σ4/2, E(Y1+Y2)2≤2σ4E(Y_1+Y_2)^2\le2\sigma^4E(Y1​+Y2​)2≤2σ4 and var⁡(σ^2)≤σ4\operatorname{var}(\hat\sigma^2)\le\sigma^4var(σ^2)≤σ4, for every drift ccc.

Significance

The goal certifies a drift-free unbiased volatility estimator built from four numbers per trading day. Because only σ2\sigma^2σ2 enters the Black–Scholes formula, an estimator whose mean does not depend on the nuisance parameter ccc is exactly what is needed. Milestone 7 complements this with a drift-uniform bound on its variance, var⁡(σ^2)≤σ4\operatorname{var}(\hat\sigma^2)\le\sigma^4var(σ^2)≤σ4, while the exact value 0.331σ40.331\sigma^40.331σ4 quoted in the paper is only available at c=0c=0c=0.

On the formalization side, the results are classical and proved; none is machine-checked as far as the platform's catalog shows. A complete development would give the first formal treatment of the joint law of the running maximum of drifted Brownian motion at an exponential time, of the Wiener–Hopf splitting at the maximum, and of a Laplace-inversion argument for a moment function of the time horizon. All three are reusable well beyond volatility estimation: in ruin theory, queueing (reflected Brownian motion), and the pricing of lookback and barrier options.

Difficulty

The obvious approach, computing E[St(St−Xt)]E[S_t(S_t-X_t)]E[St​(St​−Xt​)] directly from the joint density of (St,Xt)(S_t,X_t)(St​,Xt​) for drifted Brownian motion, requires the reflection principle combined with a Girsanov change of measure, followed by a double integral involving Gaussian tails, done separately for each sign of ccc. The cancellation that makes the drift disappear is not visible in that computation, and a statement specialized to c=0c=0c=0 (where the reflection principle alone suffices) does not carry over. Every step of the milestone list rests on path properties of Brownian motion (the strong Markov property, the law of the running maximum, splitting at the maximum) that Mathlib does not yet provide for IsBrownianReal, and the passage from milestone 4 to milestone 5 needs uniqueness of the Laplace transform.

Formalization scope

  • Brownian motion is Mathlib's ProbabilityTheory.IsBrownianReal B P with B : ℝ≥0 → Ω → ℝ, plus the hypothesis that every sample path is continuous (the standard choice of a continuous version). Time is ℝ≥0.
  • StS_tSt​ and ItI_tIt​ are the real sSup/sInf of the path over the interval [0,t][0,t][0,t]; with continuous paths they are attained. The supremum is never taken over all times or in extended reals.
  • "EEE" is the Bochner integral, and every expectation identity also asserts integrability, so no identity can hold through Lean's convention that a non-integrable function integrates to 000.
  • "TTT exponential with mean λ−1\lambda^{-1}λ−1" is HasLaw T (expMeasure λ) P; "parameter α\alphaα" is read as rate α\alphaα. "Independent of BBB" is independence from the path-valued random variable with the product σ-algebra. STS_TST​ is evaluated at TTT truncated to [0,∞)[0,\infty)[0,∞).
  • "Has the same law as" is equality of image measures, together with the almost-everywhere measurability of both maps.
  • "Inversion of the Laplace transform gives" becomes the fixed-time identity for every t≥0t\ge0t≥0 (milestones 5 and 6), separate from the Laplace identity (milestone 4).
  • Milestones 1 and 3 assume σ>0\sigma>0σ>0 because α,β\alpha,\betaα,β divide by σ2\sigma^2σ2; the Wiener–Hopf splitting, the goal, and milestones 4–7 allow σ≥0\sigma\ge0σ≥0.

A formalization that specializes to c=0c=0c=0, takes the supremum over all of [0,∞)[0,\infty)[0,∞), or omits the integrability conjuncts is not the statement of this mission.

Infrastructure that a complete development needs: the reflection principle or the strong Markov property for Brownian motion, the exponential-time law of the running maximum of a Lévy process, and uniqueness of Laplace transforms for continuous functions. All of these are reusable; contributions of any of them are welcome. Related platform items cover other objects and are credited here: running maxima and exit problems for spectrally negative Lévy processes (Avram2004.Exit.reflected), a drifted Brownian motion in characteristic-function form in a queueing-network setting (Reiman84.QueueLength.Paths), and a GI/G/1 Wiener–Hopf transform identity (QueueingFundamentals.GG1.wiener_hopf_transform).

Selected references

  • L. C. G. Rogers and S. E. Satchell, Estimating variance from high, low and closing prices, The Annals of Applied Probability 1(4), 1991, 504–512. https://doi.org/10.1214/aoap/1177005835
  • M. B. Garman and M. J. Klass, On the estimation of security price volatilities from historical data, Journal of Business 53(1), 1980, 67–78. https://doi.org/10.1086/296072
  • M. Parkinson, The extreme value method for estimating the variance of the rate of return, Journal of Business 53(1), 1980, 61–65. https://doi.org/10.1086/296071
  • P. Greenwood and J. Pitman, Fluctuation identities for Lévy processes and splitting at the maximum, Advances in Applied Probability 12(4), 1980, 893–902. https://doi.org/10.2307/1426747
9 thms1 active userReviewed
Convex OptimizationOptimization·Captain: mikedeng1

A Dual Approach to Solving Nonlinear Programming Problems by Unconstrained Optimization 3: Under Second-Order Conditions, Tolerances αₖ ≤ q[sup g_r − g_r(yᵏ)] Give |xᵏ − x̄| ≤ s|yᵏ − ȳ|Research Paper

Motivation

The method of multipliers (augmented Lagrangian method), proposed independently by Hestenes and Powell in 1969, solves a constrained optimization problem by a sequence of unconstrained minimizations of a penalized Lagrangian, updating a multiplier estimate between them. It became one of the standard algorithms of nonlinear programming and is the ancestor of ADMM and of the proximal-point view of dual methods. Rockafellar's 1973 paper (Math. Programming 5, 354–373) extended the method to inequality constraints with the penalty Lagrangian LrL_rLr​ and reinterpreted it as unconstrained maximization of a smooth concave dual function grg_rgr​. Its §4 shows that primal points recovered from any maximizing dual sequence are asymptotically minimizing; its §5, the subject of this mission, asks how fast they converge.

Timeline. 1969: Hestenes and Powell introduce multiplier methods for equality constraints. 1973: Rockafellar treats inequality constraints in the convex case through LrL_rLr​ and its dual (this paper), and in the same year applies the multiplier method of Hestenes and Powell to convex programming (J. Optim. Theory Appl. 12). 1976: Rockafellar's "Augmented Lagrangians and applications of the proximal point algorithm in convex programming" (Math. Oper. Res. 1) gives the general convergence theory.

Setting

Let X⊂RnX \subset \mathbb R^nX⊂Rn be convex and f0,f1,…,fm:X→Rf_0, f_1, \dots, f_m : X \to \mathbb Rf0​,f1​,…,fm​:X→R convex. The problem is

(P)minimize f0(x) over x∈X subject to fi(x)≤0, i=1,…,m.\text{(P)}\qquad \text{minimize } f_0(x) \text{ over } x \in X \text{ subject to } f_i(x) \le 0,\ i = 1, \dots, m.(P)minimize f0​(x) over x∈X subject to fi​(x)≤0, i=1,…,m.

With θ(t)=max⁡{0,t}\theta(t) = \max\{0, t\}θ(t)=max{0,t} and a parameter r>0r > 0r>0, the penalty Lagrangian is

Lr(x,y)=f0(x)+14r∑i=1m[θ(yi+2rfi(x))2−yi2],x∈X, y∈Rm,L_r(x, y) = f_0(x) + \frac{1}{4r}\sum_{i=1}^m \big[\theta(y_i + 2 r f_i(x))^2 - y_i^2\big], \qquad x \in X,\ y \in \mathbb R^m,Lr​(x,y)=f0​(x)+4r1​i=1∑m​[θ(yi​+2rfi​(x))2−yi2​],x∈X, y∈Rm,

and the dual problem (Dr)(D_r)(Dr​) maximizes gr(y)=inf⁡x∈XLr(x,y)g_r(y) = \inf_{x \in X} L_r(x, y)gr​(y)=infx∈X​Lr​(x,y) over all y∈Rmy \in \mathbb R^my∈Rm; sup⁡gr\sup g_rsupgr​ is its supremum. A maximizing sequence is a sequence {yk}\{y^k\}{yk} with gr(yk)→sup⁡grg_r(y^k) \to \sup g_rgr​(yk)→supgr​. The dual method of Theorem 4.1 takes a bounded maximizing sequence {yk}\{y^k\}{yk} and, for each kkk, a point xk∈Xx^k \in Xxk∈X that minimizes Lr(⋅,yk)L_r(\cdot, y^k)Lr​(⋅,yk) to within a tolerance αk\alpha_kαk​:

Lr(xk,yk)−gr(yk)≤αk,αk→0.(4.7)L_r(x^k, y^k) - g_r(y^k) \le \alpha_k, \qquad \alpha_k \to 0. \qquad (4.7)Lr​(xk,yk)−gr​(yk)≤αk​,αk​→0.(4.7)

The standing assumptions of §5 concern a point xˉ∈int⁡X\bar x \in \operatorname{int} Xxˉ∈intX that is an optimal solution of (P), near which f0,…,fmf_0, \dots, f_mf0​,…,fm​ are twice continuously differentiable, and a multiplier vector yˉ\bar yyˉ​ satisfying with xˉ\bar xxˉ the Kuhn–Tucker conditions (yˉi≥0\bar y_i \ge 0yˉ​i​≥0, fi(xˉ)≤0f_i(\bar x) \le 0fi​(xˉ)≤0, yˉifi(xˉ)=0\bar y_i f_i(\bar x) = 0yˉ​i​fi​(xˉ)=0, and xˉ\bar xxˉ minimizes f0+∑iyˉifif_0 + \sum_i \bar y_i f_if0​+∑i​yˉ​i​fi​ over XXX). With I={i:fi(xˉ)=0}I = \{i : f_i(\bar x) = 0\}I={i:fi​(xˉ)=0} the active set and H(x,y)=∇2f0(x)+∑i∈Iyi∇2fi(x)H(x, y) = \nabla^2 f_0(x) + \sum_{i \in I} y_i \nabla^2 f_i(x)H(x,y)=∇2f0​(x)+∑i∈I​yi​∇2fi​(x), they are: (i) yˉi≠0\bar y_i \ne 0yˉ​i​=0 for i∈Ii \in Ii∈I; (ii) the ∇fi(xˉ)\nabla f_i(\bar x)∇fi​(xˉ), i∈Ii \in Ii∈I, are linearly independent; (iii) z⋅H(xˉ,yˉ)z>0z \cdot H(\bar x, \bar y) z > 0z⋅H(xˉ,yˉ​)z>0 for every nonzero zzz with z⋅∇fi(xˉ)=0z \cdot \nabla f_i(\bar x) = 0z⋅∇fi​(xˉ)=0 for all i∈Ii \in Ii∈I.

Formalization targets

Goal: Corollary 5.3

Under the standing assumptions, with {yk},{xk},{αk}\{y^k\}, \{x^k\}, \{\alpha_k\}{yk},{xk},{αk​} as in (4.7), if for some q>0q > 0q>0

αk≤q [sup⁡gr−gr(yk)]for all sufficiently large k,(5.18)\alpha_k \le q\,[\sup g_r - g_r(y^k)] \quad \text{for all sufficiently large } k, \qquad (5.18)αk​≤q[supgr​−gr​(yk)]for all sufficiently large k,(5.18)

then there is a constant s>0s > 0s>0 with

∣xk−xˉ∣≤s ∣yk−yˉ∣for all sufficiently large k.(5.19)|x^k - \bar x| \le s\,|y^k - \bar y| \quad \text{for all sufficiently large } k. \qquad (5.19)∣xk−xˉ∣≤s∣yk−yˉ​∣for all sufficiently large k.(5.19)

No rate for {yk}\{y^k\}{yk} is fixed: the statement compares the primal error with the dual error, whatever method produces the dual sequence.

Milestones

  1. xˉ\bar xxˉ is the unique optimal solution to (P) and yˉ\bar yyˉ​ the unique optimal solution to the ordinary dual (D0)(D_0)(D0​) and every (Dr)(D_r)(Dr​) for r>0r > 0r>0 (§5, after (5.1)).
  2. Theorem 5.1 (i)–(iii): for every r,β>0r, \beta > 0r,β>0 there are ε,α>0\varepsilon, \alpha > 0ε,α>0 such that sup⁡gr−gr(y)≤ε\sup g_r - g_r(y) \le \varepsilonsupgr​−gr​(y)≤ε and Lr(x,y)−gr(y)≤αL_r(x, y) - g_r(y) \le \alphaLr​(x,y)−gr​(y)≤α force (x,y)(x, y)(x,y) into a β\betaβ-neighborhood of (xˉ,yˉ)(\bar x, \bar y)(xˉ,yˉ​) with x∈int⁡Xx \in \operatorname{int} Xx∈intX, where LrL_rLr​ is C2C^2C2, given locally by (5.4), and ∇x2Lr(x,y)\nabla_x^2 L_r(x, y)∇x2​Lr​(x,y) is positive definite.
  3. Theorem 5.1 (iv): the unique minimizer ξ(y)\xi(y)ξ(y) of Lr(⋅,y)L_r(\cdot, y)Lr​(⋅,y) over XXX is C1C^1C1 in yyy with derivative (5.5).
  4. Theorem 5.1 (v): grg_rgr​ is C2C^2C2 with negative definite Hessian (5.6)–(5.7).
  5. Corollary 5.2 (5.14): xk→xˉx^k \to \bar xxk→xˉ and yk→yˉy^k \to \bar yyk→yˉ​.
  6. Corollary 5.2 (5.15)–(5.17): a∣xk−ξ(yk)∣2≤αka|x^k - \xi(y^k)|^2 \le \alpha_ka∣xk−ξ(yk)∣2≤αk​, b1∣yk−yˉ∣I≤∣ξ(yk)−xˉ∣≤b2∣yk−yˉ∣Ib_1|y^k - \bar y|_I \le |\xi(y^k) - \bar x| \le b_2|y^k - \bar y|_Ib1​∣yk−yˉ​∣I​≤∣ξ(yk)−xˉ∣≤b2​∣yk−yˉ​∣I​, and c1∣yk−yˉ∣2≤gr(yˉ)−gr(yk)≤c2∣yk−yˉ∣2c_1|y^k - \bar y|^2 \le g_r(\bar y) - g_r(y^k) \le c_2|y^k - \bar y|^2c1​∣yk−yˉ​∣2≤gr​(yˉ​)−gr​(yk)≤c2​∣yk−yˉ​∣2.

Significance

Corollary 5.3 is the paper's answer to the practical question of how accurately each inner minimization must be done. A tolerance proportional to the current dual gap costs nothing in the order of convergence: the primal iterates then converge at least as fast as the dual ones. Since grg_rgr​ is C2C^2C2 with a negative definite Hessian near yˉ\bar yyˉ​ (Theorem 5.1 (v)), any locally linearly or superlinearly convergent unconstrained method applied to grg_rgr​ yields a primal sequence with the same rate. The estimates (5.15)–(5.17) are the quantitative bridge between inner accuracy, dual error and primal error, and reappear in later analyses of inexact augmented Lagrangian methods.

The results are proved in the paper (1973) and in textbook treatments; none of them has a machine-checked proof on this platform or in Mathlib. The mission produces a formal statement of the second-order theory of the penalty Lagrangian: the local smooth structure of LrL_rLr​ and grg_rgr​, the implicit minimizer map ξ\xiξ, and the rate comparison. Complete formal proofs of each milestone are the remaining work.

Difficulty

The obvious argument linearizes everything at (xˉ,yˉ)(\bar x, \bar y)(xˉ,yˉ​), but LrL_rLr​ is only C1C^1C1 globally: θ2\theta^2θ2 has a kink in its second derivative, so smoothness of LrL_rLr​ must first be established on a neighborhood of (xˉ,yˉ)(\bar x, \bar y)(xˉ,yˉ​), using complementary slackness and strict complementarity (i) to fix which branch of (2.4) each constraint follows. The sequence {(xk,yk)}\{(x^k, y^k)\}{(xk,yk)} is not assumed to converge; localizing it into that neighborhood requires the uniform statement of Theorem 5.1 (i) (with ε,α\varepsilon, \alphaε,α chosen after r,βr, \betar,β) and the uniqueness of xˉ\bar xxˉ and yˉ\bar yyˉ​. The minimizer map ξ\xiξ then comes from the implicit function theorem applied to ∇xLr(x,y)=0\nabla_x L_r(x, y) = 0∇x​Lr​(x,y)=0, and the formula for ∇2gr\nabla^2 g_r∇2gr​ needs the derivative of the envelope gr(y)=Lr(ξ(y),y)g_r(y) = L_r(\xi(y), y)gr​(y)=Lr​(ξ(y),y).

Formalization scope

  • Spaces. Primal points lie in EuclideanSpace ℝ (Fin n), multipliers in EuclideanSpace ℝ (Fin m); constraint indices are Fin m (0-based), and f0f_0f0​ is a separate argument.
  • Functions. The fif_ifi​ are total functions on Rn\mathbb R^nRn; convexity is assumed on XXX only (ConvexOn ℝ X, an explicit hypothesis of every theorem, the paper's standing assumption of p. 358), and twice continuous differentiability only on a neighborhood of xˉ\bar xxˉ. Smoothness of LrL_rLr​ and grg_rgr​ is always a conclusion, never a hypothesis.
  • Extended values. g0g_0g0​, grg_rgr​, sup⁡gr\sup g_rsupgr​ and the infimum in (P) are computed in EReal, so (4.7), (5.2), (5.3) and (5.18) are differences in [−∞,+∞][-\infty, +\infty][−∞,+∞]; r>0r > 0r>0 is explicit for the penalty Lagrangian, while L0L_0L0​ is defined separately.
  • Derivatives. Hessians are quadratic forms z⋅D(∇φ)(x)zz \cdot D(\nabla\varphi)(x) zz⋅D(∇φ)(x)z; every inverse matrix appears together with positive definiteness of the same matrix, so Lean's convention that a non-invertible map has inverse 000 never applies. Local identities such as (5.4) are stated as equality on a neighborhood, not globally.
  • Choices. The assumption of Theorem 4.1 that the asymptotic optimal value is finite is omitted because it holds under the §5 assumptions. "Generated as in Theorem 4.1" is spelled out as its hypotheses. In (5.15)–(5.17), ξ\xiξ is any function that picks a minimizer of Lr(⋅,y)L_r(\cdot, y)Lr​(⋅,y) over XXX whenever one exists; along yky^kyk it eventually coincides with the paper's unique minimizer. In (iv) and (v), the conclusions are stated for every yyy with sup⁡gr−gr(y)≤ε\sup g_r - g_r(y) \le \varepsilonsupgr​−gr​(y)≤ε, since they do not depend on xxx.
  • Ruled out. The goal does not assume that xkx^kxk or yky^kyk converge, nor that yk≠yˉy^k \ne \bar yyk=yˉ​, and s>0s > 0s>0 is one constant valid for all large kkk; a formalization assuming convergence, or one with an unsatisfiable second-order hypothesis, would be trivial. The standing assumptions and all sequence hypotheses are satisfiable (checked on f0(x)=∣x∣2f_0(x) = |x|^2f0​(x)=∣x∣2, f1(x)=1−e⋅xf_1(x) = 1 - e\cdot xf1​(x)=1−e⋅x in R1\mathbb R^1R1).
  • Infrastructure. The proofs need the implicit function theorem (Mathlib's Analysis/Calculus/Implicit), second derivatives of compositions, envelope differentiation, and the quadratic-growth estimates of a C2C^2C2 function with definite Hessian. Results on Hessian forms and on strict complementarity are reusable beyond this mission. Proofs of individual milestones are welcome independently.

Selected references

  • R. T. Rockafellar, A dual approach to solving nonlinear programming problems by unconstrained optimization, Mathematical Programming 5 (1973) 354–373. https://doi.org/10.1007/BF01580138
  • M. R. Hestenes, Multiplier and gradient methods, Journal of Optimization Theory and Applications 4 (1969) 303–320. https://doi.org/10.1007/BF00927673
  • M. J. D. Powell, A method for nonlinear constraints in minimization problems, in R. Fletcher (ed.), Optimization, Academic Press, 1969, 283–298.
  • R. T. Rockafellar, The multiplier method of Hestenes and Powell applied to convex programming, Journal of Optimization Theory and Applications 12 (1973) 555–562. https://doi.org/10.1007/BF00934777
  • R. T. Rockafellar, Augmented Lagrangians and applications of the proximal point algorithm in convex programming, Mathematics of Operations Research 1 (1976) 97–116. https://doi.org/10.1287/moor.1.2.97
8 thms1 active userReviewed
Convex OptimizationFunctional AnalysisOptimization·Captain: mikedeng1

Duality and Stability in Extremum Problems Involving Convex Functions 2: The Dual Supremum Equals the Lower Limit of the Perturbed Infimum, sup (P*) = lim inf_{z→0} inf (P(z))Research Paper

Motivation

A convex minimization problem comes with a dual maximization problem, and the dual value never exceeds the primal value. When the two values differ, a duality gap occurs. Dual bounds, Lagrangian relaxations and optimality certificates are then weaker than hoped. Conditions that rule the gap out are constraint qualifications such as Slater's condition and Rockafellar's notion of a stably set problem. Such conditions say when the gap vanishes, but not what the dual value is when it does not.

R. T. Rockafellar's 1967 paper answers that question for the Fenchel-type pair of problems built from a convex function, a concave function and a continuous linear map between infinite-dimensional spaces. Its Theorem 6 (§6, "Weak duality theorems", pp. 179–180) "explains the exact way in which inf (P) and sup (P*) can fail to be equal", by expressing the dual value through the primal problem alone: the dual supremum is the lower limit of the optimal values of slightly perturbed primal problems. This perturbational view of duality was later developed in Rockafellar's Conjugate Duality and Optimization (1974). It underlies the modern treatment of value functions in convex optimization.

Setting

Two real vector spaces EEE and E∗E^*E∗ are topologically paired when each carries a locally convex Hausdorff topology, they are in duality under a bilinear form ⟨x,x∗⟩\langle x,x^*\rangle⟨x,x∗⟩ that is continuous in each variable, and every continuous linear functional on either space is the pairing with exactly one element of the other. Let (E,E∗)(E,E^*)(E,E∗) and (F,F∗)(F,F^*)(F,F∗) be two such pairs. Let A:E→FA:E\to FA:E→F be continuous linear and A∗:F∗→E∗A^*:F^*\to E^*A∗:F∗→E∗ its adjoint, the continuous linear map with ⟨Ax,y∗⟩=⟨x,A∗y∗⟩\langle Ax,y^*\rangle=\langle x,A^*y^*\rangle⟨Ax,y∗⟩=⟨x,A∗y∗⟩.

A function f:E→[−∞,+∞]f:E\to[-\infty,+\infty]f:E→[−∞,+∞] is convex when its epigraph {(x,μ)∣μ∈R, μ≥f(x)}\{(x,\mu)\mid\mu\in\mathbb R,\ \mu\ge f(x)\}{(x,μ)∣μ∈R, μ≥f(x)} is convex in E×RE\times\mathbb RE×R. It is proper when it never takes −∞-\infty−∞ and is finite somewhere. A function ggg is proper concave when −g-g−g is convex, ggg never takes +∞+\infty+∞, and ggg is finite somewhere. The standing hypotheses are that fff is lower semicontinuous proper convex on EEE and ggg is upper semicontinuous proper concave on FFF. Their conjugates are

f∗(x∗)=sup⁡x{⟨x,x∗⟩−f(x)},g∗(y∗)=inf⁡y{⟨y,y∗⟩−g(y)}.f^*(x^*)=\sup_{x}\{\langle x,x^*\rangle-f(x)\},\qquad g^*(y^*)=\inf_{y}\{\langle y,y^*\rangle-g(y)\}.f∗(x∗)=xsup​{⟨x,x∗⟩−f(x)},g∗(y∗)=yinf​{⟨y,y∗⟩−g(y)}.

The primal problem (P) is to minimize f(x)−g(Ax)f(x)-g(Ax)f(x)−g(Ax) over x∈Ex\in Ex∈E. The dual problem (P*) is to maximize g∗(y∗)−f∗(A∗y∗)g^*(y^*)-f^*(A^*y^*)g∗(y∗)−f∗(A∗y∗) over y∗∈F∗y^*\in F^*y∗∈F∗. For z∈Fz\in Fz∈F the perturbed problem (P(zzz)) is to minimize f(x)−g(Ax−z)f(x)-g(Ax-z)f(x)−g(Ax−z). Its value defines the perturbation function

h(z)=inf⁡(P(z))=inf⁡x∈E{f(x)−g(Ax−z)},h(0)=inf⁡(P).h(z)=\inf(\mathrm P(z))=\inf_{x\in E}\{f(x)-g(Ax-z)\},\qquad h(0)=\inf(\mathrm P).h(z)=inf(P(z))=x∈Einf​{f(x)−g(Ax−z)},h(0)=inf(P).

The lower semicontinuous hull of hhh is hˉ(y)=lim inf⁡z→yh(z)\bar h(y)=\liminf_{z\to y}h(z)hˉ(y)=liminfz→y​h(z), where z=yz=yz=y is allowed, so that hˉ≤h\bar h\le hhˉ≤h. All infima and suprema are taken in [−∞,+∞][-\infty,+\infty][−∞,+∞].

Formalization targets

Goal: Theorem 6

sup⁡(P∗)=lim inf⁡z→0 [inf⁡(P(z))],\sup(\mathrm P^*)=\liminf_{z\to 0}\,[\inf(\mathrm P(z))],sup(P∗)=z→0liminf​[inf(P(z))],

valid except in the trivial case where the left side is −∞-\infty−∞ and the right side is +∞+\infty+∞. No consistency, constraint qualification or attainment is assumed, and neither side need be finite. The exception is exactly the stated conjunction. A version assuming (P) consistent would be weaker, since an inconsistent (P), with h(0)=+∞h(0)=+\inftyh(0)=+∞, may still have a finite lower limit.

Milestones: the four claims of the proof (p. 180)

  1. hˉ\bar hhˉ is a lower semicontinuous convex function on FFF.
  2. For every y∗∈F∗y^*\in F^*y∗∈F∗, with hˉ∗(y∗)=sup⁡y{⟨y,y∗⟩−hˉ(y)}\bar h^*(y^*)=\sup_y\{\langle y,y^*\rangle-\bar h(y)\}hˉ∗(y∗)=supy​{⟨y,y∗⟩−hˉ(y)},
−hˉ∗(y∗)=inf⁡y{hˉ(y)−⟨y,y∗⟩}=inf⁡z{h(z)−⟨z,y∗⟩}=g∗(y∗)−f∗(A∗y∗).-\bar h^*(y^*)=\inf_y\{\bar h(y)-\langle y,y^*\rangle\}=\inf_z\{h(z)-\langle z,y^*\rangle\}=g^*(y^*)-f^*(A^*y^*).−hˉ∗(y∗)=yinf​{hˉ(y)−⟨y,y∗⟩}=zinf​{h(z)−⟨z,y∗⟩}=g∗(y∗)−f∗(A∗y∗).
  1. (6.2): if hˉ\bar hhˉ is proper, then hˉ(0)=sup⁡y∗{⟨0,y∗⟩−hˉ∗(y∗)}\bar h(0)=\sup_{y^*}\{\langle 0,y^*\rangle-\bar h^*(y^*)\}hˉ(0)=supy∗​{⟨0,y∗⟩−hˉ∗(y∗)}.
  2. If hˉ\bar hhˉ is not proper, the maximand g∗(y∗)−f∗(A∗y∗)g^*(y^*)-f^*(A^*y^*)g∗(y∗)−f∗(A∗y∗) of (P*) is identically −∞-\infty−∞.

The paper's Lemma 2 (convexity of hhh) is used by the first claim. It is a milestone of the companion mission on Theorem 3 of the same paper and is not restated here.

Significance

Theorem 6 reduces every question about the dual value to a question about the primal value function near the origin. Strong duality inf⁡(P)=sup⁡(P∗)\inf(\mathrm P)=\sup(\mathrm P^*)inf(P)=sup(P∗) holds exactly when hhh is lower semicontinuous at 000 (outside the trivial case). A duality gap is exactly a downward jump of hhh at 000. The dual of (P*) obeys the same formula, which the paper uses to derive Theorem 7 on normal problems. An integer-lattice analogue appears in discrete convex analysis (Murota, Theorem 8.53, whose duality relation is already stated on Prove2Me as DiscreteConvex.ConjugacyDualityD.general_duality_relations). That statement has no topology and is not the same theorem.

The result is classical and its proof is published. As far as the platform's index shows, no machine-checked statement of it exists in the paper's generality, nor a statement of extended-real biconjugation on general paired locally convex spaces. The value of the mission is a formal proof in the paper's setting: arbitrary topologically paired spaces, extended-real-valued functions, and both the proper and the improper case of the hull. The biconjugation milestone (6.2) and the hull lemma are reusable for other perturbational duality results.

Difficulty

The obvious argument compares h(0)h(0)h(0) with the dual objective directly. It cannot give the theorem, because hhh may jump at 000, and the dual objective does not detect the value of hhh at a single point: the target is a lower limit, not a value. In infinite dimensions, conjugacy recovers a function only when it is lower semicontinuous and convex for a topology compatible with the pairing, so the statement depends on the full compatibility of the pairing on FFF, not on a norm. The usual statements of biconjugation cover proper functions only, whereas here the lower limit may take both values ±∞\pm\infty±∞, and both cases of the theorem must be covered. Finally, extended-real arithmetic must be tracked so that the dual objective, defined from f∗f^*f∗, g∗g^*g∗ and A∗A^*A∗, is matched in every infinite case.

Formalization scope

Values lie in EReal. Infima and suprema are complete-lattice ⨅ and ⨆, so an empty or unbounded family gives ±∞\pm\infty±∞ as in the paper. The lower limit is Filter.liminf h (nhds y) over the full neighbourhood filter: a punctured limit would change the theorem. Convexity is epigraph convexity in E×RE\times\mathbb RE×R, and properness is the paper's two-sided condition. A topological pairing is a structure holding a bilinear map, separate continuity, and existence and uniqueness of representing elements in both directions. No norm, inner product or finite dimension is assumed. The adjoint A∗A^*A∗ is continuous linear data satisfying the adjoint identity. The conjugates f∗f^*f∗, g∗g^*g∗ are defined by the paper's formulas from fff, ggg, so their regularity is a consequence, not a hypothesis. Properness of fff and ggg excludes the form (+∞)−(+∞)(+\infty)-(+\infty)(+∞)−(+∞) from f(x)−g(Ax−z)f(x)-g(Ax-z)f(x)−g(Ax−z) and from g∗(y∗)−f∗(A∗y∗)g^*(y^*)-f^*(A^*y^*)g∗(y∗)−f∗(A∗y∗). No statement is repaired relative to the page.

The dual value is the supremum of the maximand built from f∗f^*f∗, g∗g^*g∗ and A∗A^*A∗ as on p. 172. Defining sup⁡(P∗)\sup(\mathrm P^*)sup(P∗) through hˉ\bar hhˉ (for instance as the biconjugate of hˉ\bar hhˉ at 000) would make Theorem 6 true by definition and is ruled out.

A complete development needs extended-real conjugates on paired spaces, the lower semicontinuous hull and the closure of a convex epigraph, and Fenchel–Moreau for proper lower semicontinuous convex functions on a locally convex space. All of these are reusable beyond this mission. Proofs of the milestones, and lemmas toward Fenchel–Moreau in this generality, are welcome contributions.

Selected references

  • R. T. Rockafellar, Duality and Stability in Extremum Problems Involving Convex Functions, Pacific J. Math. 21 (1967), 167–187. https://doi.org/10.2140/pjm.1967.21.167
  • W. Fenchel, On conjugate convex functions, Canad. J. Math. 1 (1949), 73–77. https://doi.org/10.4153/CJM-1949-007-x
  • A. Brøndsted, Conjugate convex functions in topological vector spaces, Mat.-Fys. Medd. Dansk. Vid. Selsk. 34 (1964) (reference [2] of the paper; no DOI).
  • J.-J. Moreau, Fonctions convexes en dualité, multigraph, Séminaires de Mathématique, Faculté des Sciences, Université de Montpellier, 1962 (reference [12] of the paper; no DOI).
  • R. T. Rockafellar, Conjugate Duality and Optimization, CBMS-NSF Regional Conference Series in Applied Mathematics 16, SIAM, 1974. https://doi.org/10.1137/1.9781611970524
  • K. Murota, Discrete Convex Analysis, SIAM, 2003, Theorem 8.53. https://doi.org/10.1137/1.9780898718508
8 thms1 active userReviewed
Convex OptimizationOptimization·Captain: mikedeng1

A Dual Approach to Solving Nonlinear Programming Problems by Unconstrained Optimization 1: Approximate Minimizers of L_r(·, yᵏ) along a Bounded Maximizing Dual Sequence Are Asymptotically MinimizingResearch Paper

Motivation

Constrained convex programs are routinely solved by turning them into a sequence of unconstrained problems. The classical route is the ordinary Lagrangian L0(x,y)=f0(x)+∑iyifi(x)L_0(x, y) = f_0(x) + \sum_i y_i f_i(x)L0​(x,y)=f0​(x)+∑i​yi​fi​(x), whose dual function g0g_0g0​ is in general nonsmooth and equal to −∞-\infty−∞ off the orthant y≥0y \ge 0y≥0, so maximizing it requires a constrained, nonsmooth method. In 1969 Hestenes (JOTA 4, 1969) and Powell (in Optimization, ed. Fletcher, Academic Press, 1969) proposed the method of multipliers for equality constraints, which adds a quadratic penalty to the Lagrangian. Rockafellar's paper (Math. Programming 5, 1973) gives the inequality-constrained version, the penalty Lagrangian LrL_rLr​, and shows that for convex programs its dual is a smooth, unconstrained, concave maximization problem with the same solutions and value as the ordinary dual. The method of multipliers built on this Lagrangian, now called the augmented Lagrangian method, underlies ADMM and many large-scale solvers.

Timeline. Hestenes and Powell (1969): multiplier method for equality constraints. Rockafellar (1973, this paper; and JOTA 12, 1973): the inequality-constrained penalty Lagrangian, its duality theory, and convergence of the multiplier method for convex programs. Rockafellar (Math. Oper. Res. 1, 1976): the method of multipliers identified as the proximal point algorithm applied to the dual. Bertsekas (Constrained Optimization and Lagrange Multiplier Methods, 1982): the general nonconvex theory.

This mission covers the first half of the paper: the duality theory of LrL_rLr​ (§3) and the theorem that maximizing the penalty dual yields asymptotically optimal primal sequences (§4, Theorem 4.1).

Setting

Let XXX be a nonempty convex subset of a real vector space EEE and f0,f1,…,fmf_0, f_1, \dots, f_mf0​,f1​,…,fm​ convex real functions on XXX. The problem is

(P)minimize f0(x) over x∈X subject to fi(x)≤0, i=1,…,m.\text{(P)}\qquad \text{minimize } f_0(x) \text{ over } x \in X \text{ subject to } f_i(x) \le 0,\ i = 1, \dots, m.(P)minimize f0​(x) over x∈X subject to fi​(x)≤0, i=1,…,m.

Multipliers yyy range over Rm\mathbb R^mRm, with Euclidean norm ∣⋅∣|\cdot|∣⋅∣ and inner product u⋅yu \cdot yu⋅y. With θ(t)=max⁡{0,t}\theta(t) = \max\{0, t\}θ(t)=max{0,t} and a parameter r>0r > 0r>0, the penalty Lagrangian is

Lr(x,y)=f0(x)+14r∑i=1m[θ(yi+2rfi(x))2−yi2],L_r(x, y) = f_0(x) + \frac{1}{4r} \sum_{i=1}^m \big[\theta(y_i + 2 r f_i(x))^2 - y_i^2\big],Lr​(x,y)=f0​(x)+4r1​i=1∑m​[θ(yi​+2rfi​(x))2−yi2​],

defined for all y∈Rmy \in \mathbb R^my∈Rm with no sign restriction. The dual function is gr(y)=inf⁡x∈XLr(x,y)g_r(y) = \inf_{x \in X} L_r(x, y)gr​(y)=infx∈X​Lr​(x,y), and the dual problem (Dr)(D_r)(Dr​) maximizes grg_rgr​ over Rm\mathbb R^mRm; g0g_0g0​ and (D0)(D_0)(D0​) are the same with L0L_0L0​, and sup⁡g0\sup g_0supg0​ is the dual optimal value. In Lean these objects are Lr, L0, gr, g0, dualValue, and Fr is the perturbed objective Fr(x,u)=f0(x)+r∣u∣2F_r(x, u) = f_0(x) + r|u|^2Fr​(x,u)=f0​(x)+r∣u∣2 if u≥f(x)u \ge f(x)u≥f(x), +∞+\infty+∞ otherwise.

A sequence {xk}\{x^k\}{xk} in XXX is asymptotically feasible if lim sup⁡kfi(xk)≤0\limsup_k f_i(x^k) \le 0limsupk​fi​(xk)≤0 for every iii. The asymptotic optimal value (asympValue) is the infimum of lim sup⁡kf0(xk)\limsup_k f_0(x^k)limsupk​f0​(xk) over asymptotically feasible sequences, and a sequence attaining it is asymptotically minimizing (IsAsympMinimizing). A maximizing sequence for (Dr)(D_r)(Dr​) is a sequence {yk}\{y^k\}{yk} with gr(yk)→sup⁡grg_r(y^k) \to \sup g_rgr​(yk)→supgr​.

Formalization targets

Goal: Theorem 4.1

Suppose the asymptotic optimal value in (P) is finite, r>0r > 0r>0, {yk}\{y^k\}{yk} is a bounded maximizing sequence for (Dr)(D_r)(Dr​), and xk∈Xx^k \in Xxk∈X satisfies

Lr(xk,yk)−gr(yk)≤αk,αk→0.L_r(x^k, y^k) - g_r(y^k) \le \alpha_k, \qquad \alpha_k \to 0.Lr​(xk,yk)−gr​(yk)≤αk​,αk​→0.

Then {xk}\{x^k\}{xk} is asymptotically minimizing for (P).

Milestones

  1. Theorem 3.1: Lr(x,y)=min⁡u{Fr(x,u)+u⋅y}L_r(x, y) = \min_u \{F_r(x, u) + u \cdot y\}Lr​(x,y)=minu​{Fr​(x,u)+u⋅y}; LrL_rLr​ is convex in xxx and concave in yyy.
  2. Theorem 3.2: gr(y)=max⁡z{g0(z)−14r∣z−y∣2}g_r(y) = \max_z \{g_0(z) - \frac{1}{4r}|z - y|^2\}gr​(y)=maxz​{g0​(z)−4r1​∣z−y∣2}; (Dr)(D_r)(Dr​) and (D0)(D_0)(D0​) have the same supremum and optimal solutions; if g0≢−∞g_0 \not\equiv -\inftyg0​≡−∞, grg_rgr​ is finite and C1C^1C1 with ∂gr/∂yi=max⁡{−yi/2r,fi(x)}\partial g_r/\partial y_i = \max\{-y_i/2r, f_i(x)\}∂gr​/∂yi​=max{−yi​/2r,fi​(x)} at any xxx attaining gr(y)g_r(y)gr​(y).
  3. Corollary 3.3: gr(y)+(y′−y)⋅∇gr(y)≥gr(y′)≥gr(y)+(y′−y)⋅∇gr(y)−14r∣y′−y∣2g_r(y) + (y' - y)\cdot\nabla g_r(y) \ge g_r(y') \ge g_r(y) + (y'-y)\cdot\nabla g_r(y) - \frac{1}{4r}|y'-y|^2gr​(y)+(y′−y)⋅∇gr​(y)≥gr​(y′)≥gr​(y)+(y′−y)⋅∇gr​(y)−4r1​∣y′−y∣2.
  4. §4 (p. 364): the asymptotic optimal value equals the dual optimal value when the latter is not −∞-\infty−∞ or asymptotically feasible sequences exist.
  5. Lemmas 4.2 and 4.3: r∣∇gr(y)∣2≤sup⁡gr−gr(y)r|\nabla g_r(y)|^2 \le \sup g_r - g_r(y)r∣∇gr​(y)∣2≤supgr​−gr​(y), and r∣∇yLr(x,y)−∇gr(y)∣2≤αr|\nabla_y L_r(x, y) - \nabla g_r(y)|^2 \le \alphar∣∇y​Lr​(x,y)−∇gr​(y)∣2≤α under (4.7).
  6. (4.9)–(4.11): u↦F0(x,u)+u⋅y+r∣u∣2u \mapsto F_0(x, u) + u \cdot y + r|u|^2u↦F0​(x,u)+u⋅y+r∣u∣2 has the unique minimizer ∇yLr(x,y)\nabla_y L_r(x, y)∇y​Lr​(x,y).

Significance

Theorem 4.1 says that any procedure that drives the smooth, unconstrained dual grg_rgr​ to its supremum, while computing Lr(⋅,yk)L_r(\cdot, y^k)Lr​(⋅,yk)-minimizers only approximately, produces an asymptotically optimal primal sequence. It needs no constraint qualification, no existence of a dual or primal optimal solution, and not even feasibility of (P): only that the asymptotic optimal value is finite. Together with Theorem 3.2 it justifies the multiplier method as a dual ascent on a C1C^1C1 concave function with Lipschitz gradient, and it is the starting point of the convergence theory of augmented Lagrangian methods.

None of these statements is formalized on Prove2Me or in Mathlib, which has Lagrangian duality only in special forms and no theory of the penalty Lagrangian or of asymptotic optimal values. The Qi–Sun augmented Lagrangian items on the platform (NonsmoothNewton.AugLagrangian.*) use the (r/2)(r/2)(r/2)-scaled function on Rn\mathbb R^nRn and concern smoothness in (x,y)(x, y)(x,y), not the dual function. The results of this paper are classical and proved; this mission formalizes them.

Difficulty

The obvious argument compares the primal iterates with a saddle point: if yˉ\bar yyˉ​ is a dual optimal solution and (P) is normal, approximate minimizers of Lr(⋅,yˉ)L_r(\cdot, \bar y)Lr​(⋅,yˉ​) are approximately optimal. Theorem 4.1 assumes neither. The function grg_rgr​ need not attain its supremum, (P) need not be normal or even feasible, and there may be no Kuhn–Tucker vector, so there is no saddle point to compare with; the only data are the dual values gr(yk)g_r(y^k)gr​(yk), the boundedness of {yk}\{y^k\}{yk} and the tolerances αk\alpha_kαk​. The difficulty is to obtain primal feasibility and optimality information from dual convergence alone, measured against the asymptotic optimal value rather than the infimum in (P). Every ingredient is extended-real-valued: g0g_0g0​ is −∞-\infty−∞ off the orthant, grg_rgr​ may be identically −∞-\infty−∞, and the asymptotic optimal value may be ±∞\pm\infty±∞. Mathlib does not package this part of convex analysis (partial conjugates, envelopes of extended-real concave functions, the asymptotic duality theorem).

Formalization scope

EEE is a bare real vector space (AddCommGroup E, Module ℝ E) with no topology, as in the paper. The functions fif_ifi​ are total functions E→RE \to \mathbb RE→R assumed convex on XXX; only their values on XXX enter. Constraint indices are Fin m (0-based) and f0f_0f0​ is a separate argument. Multipliers live in EuclideanSpace ℝ (Fin m). The standing assumption of §3 (XXX nonempty convex, all fif_ifi​ convex) is a hypothesis of every theorem.

Explicit choices:

  • grg_rgr​, g0g_0g0​, the dual value, the asymptotic optimal value and every lim sup⁡\limsuplimsup are computed in EReal, so ±∞\pm\infty±∞ are represented and no infimum is replaced by a junk real value.
  • r>0r > 0r>0 is an explicit hypothesis wherever LrL_rLr​ is used; L0L_0L0​ is a separate definition.
  • (4.7) is written Lr(xk,yk)≤gr(yk)+αkL_r(x^k, y^k) \le g_r(y^k) + \alpha_kLr​(xk,yk)≤gr​(yk)+αk​ in EReal, equivalent to the printed difference; only αk→0\alpha_k \to 0αk​→0 is assumed.
  • Concavity or convexity of extended-real functions is stated through convex hypographs and epigraphs; "max" in (3.5) is attainment of the greatest value.
  • Gradients are taken of the real coercion of grg_rgr​, and only under hypotheses that make grg_rgr​ finite.
  • Dual optimal solutions do not exist when gr≡−∞g_r \equiv -\inftygr​≡−∞ (the paper's convention, p. 361).
  • Lemmas 4.2, 4.3 and (4.9)–(4.11) are stated for one point rather than along a sequence; the paper's statements are their instances.
  • Misprints: "concave in y∈Yy \in Yy∈Y" (Theorem 3.1) reads Rm\mathbb R^mRm; the lost minus sign in Lemma 4.2 is restored.

The goal must not be replaced by "f0(xk)→inf⁡(P)f_0(x^k) \to \inf\text{(P)}f0​(xk)→inf(P) and lim sup⁡fi(xk)≤0\limsup f_i(x^k) \le 0limsupfi​(xk)≤0": that is the special case of normal problems with feasible solutions. Nor may it assume a Slater point, a Kuhn–Tucker vector, or feasibility of (P), each of which makes it a special case.

A complete development needs extended-real convex analysis on Rm\mathbb R^mRm (partial conjugates, Moreau envelopes of concave functions, the asymptotic duality theorem), which is reusable beyond this mission. Contributions proving any milestone, or general lemmas on Moreau envelopes of extended-real concave functions, are welcome.

Selected references

  • R. T. Rockafellar, A dual approach to solving nonlinear programming problems by unconstrained optimization, Mathematical Programming 5 (1973) 354–373. https://doi.org/10.1007/BF01580138
  • M. R. Hestenes, Multiplier and gradient methods, Journal of Optimization Theory and Applications 4 (1969) 303–320. https://doi.org/10.1007/BF00927673
  • M. J. D. Powell, A method for nonlinear constraints in minimization problems, in R. Fletcher (ed.), Optimization, Academic Press, 1969, 283–298.
  • R. T. Rockafellar, The multiplier method of Hestenes and Powell applied to convex programming, Journal of Optimization Theory and Applications 12 (1973) 555–562. https://doi.org/10.1007/BF00934777
  • R. T. Rockafellar, Augmented Lagrangians and applications of the proximal point algorithm in convex programming, Mathematics of Operations Research 1 (1976) 97–116. https://doi.org/10.1287/moor.1.2.97
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970. https://doi.org/10.1515/9781400873173
  • D. P. Bertsekas, Constrained Optimization and Lagrange Multiplier Methods, Academic Press, 1982.
11 thms1 active userReviewed
Convex OptimizationFunctional AnalysisOptimization·Captain: mikedeng1

Duality and Stability in Extremum Problems Involving Convex Functions 1: A Convex Program Is Stably Set If and Only If Its Infimum Equals the Attained Maximum of the Dual, inf (P) = max (P*)Research Paper

Motivation

In convex optimization, a dual problem supplies a bound on what a primal minimization problem can achieve. The bound can be useful even when no minimizer is known, but an equality of the primal and dual values says more: it certifies that the bound is exact. In applications, one also wants a dual variable that actually attains the bound, since that variable can act as a multiplier or a sensitivity certificate. Rockafellar's 1967 paper asks when such an attained equality follows from the behavior of the primal value under small changes to the problem Rockafellar 1967.

The paper works with locally convex spaces paired with their continuous duals, rather than limiting the question to finite-dimensional vectors or normed spaces. In this setting, ordinary finite-dimensional constraint qualifications need not describe the relevant behavior. Theorem 3 gives a criterion in terms of the perturbation function itself. It also states the corresponding criterion with the primal and dual roles reversed Rockafellar 1967, §5.

Setting

Let EEE and E′E'E′ be real locally convex Hausdorff spaces in topological duality, with pairing ⟨x,x′⟩E\langle x,x'\rangle_E⟨x,x′⟩E​. Let FFF and F′F'F′ be another such pair. Each pairing represents every continuous linear functional on either member uniquely by a point of the other member. Let A:E→FA:E\to FA:E→F be continuous linear, and let its continuous adjoint A∗:F′→E′A^*:F'\to E'A∗:F′→E′ satisfy ⟨Ax,y′⟩F=⟨x,A∗y′⟩E\langle Ax,y'\rangle_F=\langle x,A^*y'\rangle_E⟨Ax,y′⟩F​=⟨x,A∗y′⟩E​.

The primal data are a lower semicontinuous proper convex function f:E→[−∞,+∞]f:E\to[-\infty,+\infty]f:E→[−∞,+∞] and an upper semicontinuous proper concave function g:F→[−∞,+∞]g:F\to[-\infty,+\infty]g:F→[−∞,+∞]. Here proper means that fff never takes −∞-\infty−∞ and is finite somewhere, while ggg never takes +∞+\infty+∞ and is finite somewhere. Convexity means convexity of the real epigraph, and concavity means convexity of −g-g−g. Their conjugates are f∗(x′)=sup⁡x(⟨x,x′⟩E−f(x))f^*(x')=\sup_x(\langle x,x'\rangle_E-f(x))f∗(x′)=supx​(⟨x,x′⟩E​−f(x)) and g∗(y′)=inf⁡y(⟨y,y′⟩F−g(y))g^*(y')=\inf_y(\langle y,y'\rangle_F-g(y))g∗(y′)=infy​(⟨y,y′⟩F​−g(y)) Rockafellar 1967, §2.

The primal problem (P)(P)(P) minimizes f(x)−g(Ax)f(x)-g(Ax)f(x)−g(Ax) over EEE. Its dual (P∗)(P^*)(P∗) maximizes g∗(y′)−f∗(A∗y′)g^*(y')-f^*(A^*y')g∗(y′)−f∗(A∗y′) over F′F'F′. A translation z∈Fz\in Fz∈F changes the primal objective to f(x)−g(Ax−z)f(x)-g(Ax-z)f(x)−g(Ax−z), giving

h(z)=inf⁡x∈E{f(x)−g(Ax−z)},h(0)=inf⁡(P).h(z)=\inf_{x\in E}\{f(x)-g(Ax-z)\},\qquad h(0)=\inf(P).h(z)=x∈Einf​{f(x)−g(Ax−z)},h(0)=inf(P).

The primal problem is stably set when it is consistent, meaning h(0)<+∞h(0)<+\inftyh(0)<+∞, and when directional rates of change of hhh at zero cannot be arbitrarily negative in every neighborhood of zero. The instability test is made only when h(0)h(0)h(0) is finite. Consequently h(0)=−∞h(0)=-\inftyh(0)=−∞ counts as stable, as the paper explicitly observes Rockafellar 1967, §4–5. The dual stability condition is the same definition applied to the dual's minimization form (P′)(P')(P′), with perturbations in E′E'E′.

Formalization targets

The goal is both directions of Theorem 3, including the dual statement:

(P) stably set⟺inf⁡(P)=max⁡(P∗),(P)\text{ stably set}\quad\Longleftrightarrow\quad \inf(P)=\max(P^*),(P) stably set⟺inf(P)=max(P∗), min⁡(P)=sup⁡(P∗)⟺(P∗) stably set.\min(P)=\sup(P^*)\quad\Longleftrightarrow\quad (P^*)\text{ stably set}.min(P)=sup(P∗)⟺(P∗) stably set.

The symbols max⁡\maxmax and min⁡\minmin assert that the stated value is attained. A statement equating only an infimum and a supremum would omit part of the theorem. The mission's milestones are the convexity of hhh (Lemma 2), the equivalence between stability and a nonempty subdifferential ∂h(0)\partial h(0)∂h(0), the criterion linking a subgradient to inequality (5.1), and weak duality (Lemma 1). Each is a claim stated in the paper's proof or as a numbered lemma Rockafellar 1967, pp. 174, 178–179.

Significance

The theorem turns a local property of the optimal-value function into an exact, attained duality statement. A dual optimum has operational meaning: its point y′∈F′y'\in F'y′∈F′ is a continuous linear response to perturbations z∈Fz\in Fz∈F, expressed through ⟨z,y′⟩F\langle z,y'\rangle_F⟨z,y′⟩F​. The converse says that attained exact duality already forces the same stability property. The dual half adds a symmetric criterion for attainment of the primal minimum Rockafellar 1967, Theorem 3.

The 1967 result is proved in the cited paper; this mission asks for its Lean formalization. A complete development would give reusable definitions for paired locally convex spaces, extended-real conjugates, epigraph convexity, and perturbation-based stability. The milestone statements expose the intermediate mathematical claims separately, so later formalizations can use the parts they need without importing the entire theorem.

Difficulty

Weak duality by itself gives only an inequality. It does not supply a dual point achieving the primal infimum, and equality of two extended-real lattice values does not establish attainment. The central issue is that a perturbation function can have a finite value at zero yet fall at arbitrarily steep rates in nearby directions; then no continuous linear support at zero need exist. Infinite primal values bring two additional cases: inconsistency when h(0)=+∞h(0)=+\inftyh(0)=+∞, and the paper's stable case when h(0)=−∞h(0)=-\inftyh(0)=−∞. The dual half requires the topology on E′E'E′ because the translated dual problem is perturbed there Rockafellar 1967, §§4–5.

Formalization scope

The Lean representation uses EReal for all objective and conjugate values; its complete lattice gives the paper's ±∞\pm\infty±∞ values for unbounded or empty extrema. Spaces are arbitrary locally convex Hausdorff real topological vector spaces equipped with a pairing that identifies each space with the continuous linear dual of the other. The adjoint is continuous linear data constrained by the pairing identity. Properness rules out endpoint arithmetic of the form +∞−(+∞)+\infty-(+\infty)+∞−(+∞) in the primal and dual objectives. The conjugates are defined from fff and ggg; their regularity is not assumed separately.

Stability is encoded using the positive one-sided lower limit of directional difference quotients, which equals the paper's limit for convex hhh. It requires consistency and excludes arbitrarily negative rates in every neighborhood. It is not defined by ∂h(0)≠∅\partial h(0)\ne\varnothing∂h(0)=∅: that equivalence is an independent milestone. Attained extrema are represented by greatest and least elements of the ranges of the objective functions, rather than by equality of lattice values alone. The formalization includes both halves of Theorem 3 and all four listed milestones. Contributions toward general convex analysis on paired spaces and toward the extended-real endpoint cases are useful beyond this mission.

Selected references

  • R. T. Rockafellar, Duality and Stability in Extremum Problems Involving Convex Functions, Pacific Journal of Mathematics 21 (1967), 167–187. DOI: 10.2140/pjm.1967.21.167.
7 thms1 active userReviewed
PreviousPage 60 of 67Next

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