Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Operations Research

2,210 missions · 1,090 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

Open1120Completed1090All2210
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 thms2 active usersReviewed
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 thms2 active usersReviewed
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 thms2 active usersReviewed
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 thms2 active usersReviewed
Dynamic ProgrammingMarkov Chain·Captain: mikedeng1

On Finding Optimal Policies in Discrete Dynamic Programming with No Discounting 1: If G(f) ∪ H(f) Is Empty, f Maximizes the Gain and Then the Bias, and Each Improvement Step Raises (x, y, z)Research Paper

Motivation

A controller observes a finite system period after period, chooses an action in each state, earns an income and moves the system at random. When future income is not discounted, the natural criterion is the average return per unit time (the gain), but many policies share the maximal gain while differing in their transient income. Blackwell (1962) showed that the policies that are optimal as the discount factor tends to one, the 1-optimal policies, are exactly the stationary policies that first maximize the gain and then, among those, the bias. He gave no finite procedure for the second maximization. Veinott (1966) supplied one: an extension of Howard's policy improvement method in which a second improvement test, on the bias, is run after the gain test is exhausted, with a third vector z(f)z(f)z(f) guaranteeing termination. The method and its sensitivity hierarchy became the starting point of the nnn-discount optimality theory developed by Veinott (1969) and treated in Puterman's Markov Decision Processes (1994), Chapter 10.

Timeline:

  • 1960: Howard, Dynamic Programming and Markov Processes: policy improvement for the discounted and the average-return problems.
  • 1962: Blackwell, Discrete Dynamic Programming: existence of stationary policies optimal for all discount factors near one; the expansion Vβ(f∞)=x(f)/(1−β)+y(f)+o(1)V_\beta(f^\infty)=x(f)/(1-\beta)+y(f)+o(1)Vβ​(f∞)=x(f)/(1−β)+y(f)+o(1); nearly optimal (1-optimal) policies characterized by lexicographic maximization of (x,y)(x,y)(x,y).
  • 1966: Veinott, this paper: the extended policy improvement method that finds a 1-optimal stationary policy in finitely many steps (Theorem 6), and a finite-horizon characterization of the same policies (Theorem 7).
  • 1969: Veinott, Discount optimality and sensitive optimality: the full hierarchy of nnn-discount optimal policies and the corresponding nested improvement method.

Setting

There are finitely many states sss and a finite set of actions. Choosing action aaa in state sss earns the income i(s,a)i(s,a)i(s,a) and moves the system to state s′s's′ with probability q(s′∣s,a)q(s'\mid s,a)q(s′∣s,a). A decision rule f∈Ff\in Ff∈F picks an action f(s)f(s)f(s) in each state; r(f)r(f)r(f) is the vector with entries i(s,f(s))i(s,f(s))i(s,f(s)) and Q(f)Q(f)Q(f) the stochastic matrix with entries q(s′∣s,f(s))q(s'\mid s,f(s))q(s′∣s,f(s)). A policy is a sequence (f1,f2,… )(f_1,f_2,\dots)(f1​,f2​,…) of decision rules, f∞=(f,f,… )f^\infty=(f,f,\dots)f∞=(f,f,…) is a stationary policy, and for 0≤β<10\le\beta<10≤β<1

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

is the vector of expected discounted returns. For vectors, u≥vu\ge vu≥v is coordinatewise and u>vu>vu>v means u≥vu\ge vu≥v and u≠vu\ne vu=v.

Let Q∗(f)Q^*(f)Q∗(f) be the Cesàro limit of the powers of Q(f)Q(f)Q(f). The gain x(f)x(f)x(f) and the bias y(f)y(f)y(f) are the unique solutions of

[I−Q(f)]x=0,Q∗(f)x=Q∗(f)r(f);[I−Q(f)]y=r(f)−x(f),Q∗(f)y=0,[I-Q(f)]x=0,\quad Q^*(f)x=Q^*(f)r(f);\qquad [I-Q(f)]y=r(f)-x(f),\quad Q^*(f)y=0,[I−Q(f)]x=0,Q∗(f)x=Q∗(f)r(f);[I−Q(f)]y=r(f)−x(f),Q∗(f)y=0,

and z(f)z(f)z(f) is the unique solution of [I−Q(f)]z=−y(f)[I-Q(f)]z=-y(f)[I−Q(f)]z=−y(f), Q∗(f)z=0Q^*(f)z=0Q∗(f)z=0. Write F′F'F′ for the decision rules of maximal gain and F′′⊂F′F''\subset F'F′′⊂F′ for those of maximal bias within F′F'F′.

The two improvement sets compare fff with a decision rule ggg through the state-by-state tests

(i) [Q(g)x(f)]s≥[x(f)]s,(ii) [r(g)+Q(g)y(f)]s≥[x(f)+y(f)]s.\text{(i) } [Q(g)x(f)]_s\ge[x(f)]_s,\qquad \text{(ii) } [r(g)+Q(g)y(f)]_s\ge[x(f)+y(f)]_s .(i) [Q(g)x(f)]s​≥[x(f)]s​,(ii) [r(g)+Q(g)y(f)]s​≥[x(f)+y(f)]s​.

G(f)G(f)G(f) consists of the ggg for which (i) holds everywhere, (ii) holds wherever (i) is an equality, some inequality is strict, and g(s)=f(s)g(s)=f(s)g(s)=f(s) wherever both are equalities. E(f)E(f)E(f) consists of the ggg for which (i) and (ii) are equalities at every state. For g∈E(f)g\in E(f)g∈E(f),

(iii) [−y(f)+Q(g)z(f)]s≥[z(f)]s,\text{(iii) } [-y(f)+Q(g)z(f)]_s\ge[z(f)]_s,(iii) [−y(f)+Q(g)z(f)]s​≥[z(f)]s​,

and H(f)H(f)H(f) consists of the g∈E(f)g\in E(f)g∈E(f) for which (iii) holds everywhere, strictly somewhere, with g(s)=f(s)g(s)=f(s)g(s)=f(s) wherever it is an equality.

Formalization targets

Goal: Theorem 6 (p. 1290)

For every f∈Ff\in Ff∈F:

  1. G(f)=∅ ⇒ f∈F′G(f)=\varnothing\ \Rightarrow\ f\in F'G(f)=∅ ⇒ f∈F′;
  2. G(f)∪H(f)=∅ ⇒ f∈F′′G(f)\cup H(f)=\varnothing\ \Rightarrow\ f\in F''G(f)∪H(f)=∅ ⇒ f∈F′′;
  3. g∈G(f) ⇒ x(g)>x(f)g\in G(f)\ \Rightarrow\ x(g)>x(f)g∈G(f) ⇒ x(g)>x(f), or x(g)=x(f)x(g)=x(f)x(g)=x(f) and y(g)>y(f)y(g)>y(f)y(g)>y(f);
  4. g∈H(f) ⇒ x(g)=x(f)g\in H(f)\ \Rightarrow\ x(g)=x(f)g∈H(f) ⇒ x(g)=x(f), and y(g)>y(f)y(g)>y(f)y(g)>y(f), or y(g)=y(f)y(g)=y(f)y(g)=y(f) and z(g)>z(f)z(g)>z(f)z(g)>z(f).

Part 2 is the stopping certificate and parts 3 and 4 are the progress guarantee; together they say that the extended method raises (x,y,z)(x,y,z)(x,y,z) lexicographically and stops at a decision rule in F′′F''F′′.

Milestones

  • Theorem 3 (Blackwell): Vβ(f∞)=x(f)/(1−β)+y(f)+ϵ(β,f)V_\beta(f^\infty)=x(f)/(1-\beta)+y(f)+\epsilon(\beta,f)Vβ​(f∞)=x(f)/(1−β)+y(f)+ϵ(β,f) with ϵ(β,f)→0\epsilon(\beta,f)\to0ϵ(β,f)→0 as β→1−\beta\to1^-β→1−, and the unique-solution characterizations of x(f)x(f)x(f), y(f)y(f)y(f) (already posed on the platform, referenced).
  • Lemma 1 (Blackwell): g∈E(f)⇒x(g)=x(f)g\in E(f)\Rightarrow x(g)=x(f)g∈E(f)⇒x(g)=x(f), and y(g)=y(f)y(g)=y(f)y(g)=y(f) if moreover Q∗(g)Q∗(f)=Q∗(g)Q^*(g)Q^*(f)=Q^*(g)Q∗(g)Q∗(f)=Q∗(g) (referenced).
  • Theorem 1: for fixed 0≤β<10\le\beta<10≤β<1, exactly one of "f∞f^\inftyf∞ has no one-step improvement and is β\betaβ-optimal" and "some ggg gives Vβ(g,f∞)>Vβ(f∞)V_\beta(g,f^\infty)>V_\beta(f^\infty)Vβ​(g,f∞)>Vβ​(f∞) and Vβ(g∞)>Vβ(f∞)V_\beta(g^\infty)>V_\beta(f^\infty)Vβ​(g∞)>Vβ​(f∞)".
  • Theorem 4: F′′F''F′′ is the nonempty set of fff with f∞f^\inftyf∞ 1-optimal.
  • Theorem 5 and Corollary 1: G(f)=∅⇒f∈F′G(f)=\varnothing\Rightarrow f\in F'G(f)=∅⇒f∈F′; g∈G(f)⇒Vβ(g∞)>Vβ(f∞)g\in G(f)\Rightarrow V_\beta(g^\infty)>V_\beta(f^\infty)g∈G(f)⇒Vβ​(g∞)>Vβ​(f∞) for β\betaβ near one, hence the lexicographic increase of (x,y)(x,y)(x,y).
  • Lemma 4: for g∈E(f)g\in E(f)g∈E(f), y(g)=y(f)+w(g)y(g)=y(f)+w(g)y(g)=y(f)+w(g), where w(g)w(g)w(g) is the unique solution of [I−Q(g)]w=0[I-Q(g)]w=0[I−Q(g)]w=0, Q∗(g)w=Q∗(g)(−y(f))Q^*(g)w=Q^*(g)(-y(f))Q∗(g)w=Q∗(g)(−y(f)).
  • (12): z(f)z(f)z(f) is the unique solution of its system.
  • Lemma 5: G(f)=∅G(f)=\varnothingG(f)=∅ and y(f)≥y(g)y(f)\ge y(g)y(f)≥y(g) for all g∈E(f)g\in E(f)g∈E(f) imply f∈F′′f\in F''f∈F′′.
  • Two steps of the proof of Theorem 6: H(f)=∅⇒y(g)≤y(f)H(f)=\varnothing\Rightarrow y(g)\le y(f)H(f)=∅⇒y(g)≤y(f) on E(f)E(f)E(f); and g∈H(f)⇒w(g)>w(f)=0g\in H(f)\Rightarrow w(g)>w(f)=0g∈H(f)⇒w(g)>w(f)=0, or w(g)=w(f)=0w(g)=w(f)=0w(g)=w(f)=0 and z(g)>z(f)z(g)>z(f)z(g)>z(f).

Significance

Theorem 6 turns Blackwell's existence result into an algorithm. Blackwell's characterization requires maximizing the bias over F′F'F′, a set with no explicit description; Lemma 5 shows that maximizing over the explicitly available set E(f)E(f)E(f) suffices, and Lemma 4 shows that this maximization has the same form as the original gain maximization, so the familiar policy improvement machinery applies a second time. The same mechanism, iterated, gives the nnn-discount optimal policies of the later sensitivity theory and the lexicographic policy improvement algorithms in standard texts.

The results are proved in the paper (with a correction to the proof of Lemma 5 credited to Bruce Miller). They are not formalized in any proof assistant known to the mission. A complete development yields machine-checked policy improvement for average and bias optimality on top of the published Blackwell model, including the convergence-free closed forms of gain, bias and zzz and the facts about the limit matrix Q∗Q^*Q∗ and the deviation matrix they rest on.

Difficulty

Parts 1 and 3 are Blackwell's policy improvement for the gain, transported to Veinott's set G(f)G(f)G(f). The new content is in parts 2 and 4, and in both the obvious argument fails at the same place: the bias of g∈E(f)g\in E(f)g∈E(f) cannot be compared with the bias of fff by a state-by-state test in the original problem, because E(f)E(f)E(f) is a product of action sets E(s,f)E(s,f)E(s,f) different from the original ones, and Blackwell's comparison works only after a reduction to a problem in which the reward is −y(f)-y(f)−y(f) and the role of the gain is played by w(g)w(g)w(g). A second difficulty is Lemma 5: E(f)E(f)E(f) may be a proper subset of F′F'F′ (Example 3 of the paper), so maximizing the bias over E(f)E(f)E(f) does not obviously maximize it over F′F'F′. The certificate does not follow from the gain and bias tests at fff alone, and the paper's original proof of it contained an error (corrected, as the paper records, by Bruce Miller).

Formalization scope

Everything is built on the published Blackwell definitions (BlackwellDiscreteDP.NearOne.Model, LimitMatrix, GainBias): one finite action type available in every state (Veinott's AsA_sAs​ are all equal to it), decision rules St → Act, policies indexed from 000 (π 0 is f1f_1f1​), real vectors St → ℝ with the pointwise order, and VecGt for the paper's >>> (not coordinatewise strict). Q∗(f)Q^*(f)Q∗(f) is the published Cesàro limit lim⁡(N+1)−1∑i=0NQ(f)i\lim (N+1)^{-1}\sum_{i=0}^N Q(f)^ilim(N+1)−1∑i=0N​Q(f)i, the same limit as Veinott's N−1∑i=0N−1N^{-1}\sum_{i=0}^{N-1}N−1∑i=0N−1​. The gain and bias are the published closed forms x(f)=Q∗(f)r(f)x(f)=Q^*(f)r(f)x(f)=Q∗(f)r(f) and y(f)=H(f)r(f)y(f)=H(f)r(f)y(f)=H(f)r(f) with the deviation matrix H(f)H(f)H(f); the new vectors are closed forms too: w(g)=Q∗(g)(−y(f))w(g)=Q^*(g)(-y(f))w(g)=Q∗(g)(−y(f)) and z(f)=H(f)(−y(f))z(f)=H(f)(-y(f))z(f)=H(f)(−y(f)), and their characterizations by (10) and (12) are milestones. 1-optimality is the published IsNearlyOptimal, which compares against every policy. Veinott's set H(f)H(f)H(f) is HSet, to keep it apart from the deviation matrix Hf.

G(f)G(f)G(f) and H(f)H(f)H(f) are defined literally from the paper's inequalities, including the clauses "at least one strict" and "g(s)=f(s)g(s)=f(s)g(s)=f(s) where the tests are equalities". Dropping either clause makes parts 3 and 4 false (a ggg that only reshuffles ties would count as an improvement); replacing F′′F''F′′ or G(f)G(f)G(f) by a set defined through the conclusion of the theorem would make the goal trivial. Neither is acceptable.

The reduction "replace AsA_sAs​ by E(s,f)E(s,f)E(s,f) and r(g)r(g)r(g) by −y(f)-y(f)−y(f)" is not instantiated, since the published model has a single action set; its two uses in the proof of Theorem 6 are milestones stated in the original model. A development of the general model with state-dependent action sets, and of the limit-matrix identities Q∗Q=QQ∗=Q∗Q∗=Q∗Q^*Q=QQ^*=Q^*Q^*=Q^*Q∗Q=QQ∗=Q∗Q∗=Q∗, (I−Q)H=I−Q∗(I-Q)H=I-Q^*(I−Q)H=I−Q∗, Q∗H=0Q^*H=0Q∗H=0, would be reusable well beyond this mission. Proofs of any milestone are welcome, as is a proof of the published Theorem 3 and Lemma 1, on which most of the mission rests.

Selected references

  • D. Blackwell, Discrete Dynamic Programming, Ann. Math. Statist. 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • A. F. Veinott, Jr., On Finding Optimal Policies in Discrete Dynamic Programming with No Discounting, Ann. Math. Statist. 37(5):1284–1294, 1966. https://doi.org/10.1214/aoms/1177699272
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • A. F. Veinott, Jr., Discount Optimality and Sensitive Optimality, Ann. Math. Statist. 40(5):1635–1660, 1969. https://doi.org/10.1214/aoms/1177697379
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
16 thms2 active usersReviewed
Convex OptimizationFunctional AnalysisOptimization·Captain: mikedeng1

Duality and Stability in Extremum Problems Involving Convex Functions 3: If f Is Finite at x and g Is Finite and Continuous at Ax, Then (P) Is Stably Set and inf (P(z)) Is Continuous Near z = 0Research Paper

Motivation

A convex program is useful in practice only if its optimal value responds reasonably to small changes in the data. Lagrangian and Fenchel duality theory makes this precise: the dual problem attains its optimum and has no duality gap exactly when the primal value function does not fall off infinitely steeply under small perturbations. A constraint qualification is a checkable condition on the data that guarantees this good behaviour; Slater's condition (a strictly feasible point) is the best-known example in finite dimensions.

R. T. Rockafellar's 1967 paper Duality and Stability in Extremum Problems Involving Convex Functions (Pacific J. Math. 21 (1967) 167–187) develops Fenchel-type duality for the problem of minimizing f(x)−g(Ax)f(x) - g(Ax)f(x)−g(Ax) in general locally convex spaces. It introduces the notion of a stably set problem, shows that stability is equivalent to strong duality with an attained dual optimum (its Theorem 3), and gives in Theorem 1 a general sufficient condition for stability. Theorem 1 is the infinite-dimensional analogue of Slater's condition and is the form in which the result is usually applied: one exhibits a single point where fff is finite and ggg is finite and continuous.

Timeline. Fenchel (1951) proved the duality theorem for A=IA = IA=I in Rn\mathbb{R}^nRn under relative-interior conditions. Brøndsted (1964) and Moreau (1966–67) extended conjugate duality to paired locally convex spaces. Rockafellar's 1967 paper (this mission) added the linear map AAA, the perturbation function hhh, the notion of stability, and Theorem 1. The perturbational approach was later systematized in Rockafellar's Conjugate Duality and Optimization (SIAM, 1974).

Setting

Let EEE and FFF be real locally convex Hausdorff topological vector spaces and A:E→FA : E \to FA:E→F a continuous linear map. Let f:E→[−∞,+∞]f : E \to [-\infty, +\infty]f:E→[−∞,+∞] and g:F→[−∞,+∞]g : F \to [-\infty, +\infty]g:F→[−∞,+∞].

  • fff is convex if its epigraph {(x,μ)∣x∈E,μ∈R,μ≥f(x)}\{(x, \mu) \mid x \in E, \mu \in \mathbb{R}, \mu \ge f(x)\}{(x,μ)∣x∈E,μ∈R,μ≥f(x)} is a convex subset of E×RE \times \mathbb{R}E×R; it is proper if f(x)>−∞f(x) > -\inftyf(x)>−∞ for all xxx and f(x)<+∞f(x) < +\inftyf(x)<+∞ for some xxx. ggg is concave if −g-g−g is convex, and proper concave if g<+∞g < +\inftyg<+∞ everywhere and g>−∞g > -\inftyg>−∞ somewhere.
  • Throughout, fff is lower semicontinuous proper convex and ggg is upper semicontinuous proper concave. Their effective domains are C={x∣f(x)<+∞}C = \{x \mid f(x) < +\infty\}C={x∣f(x)<+∞} and D={y∣g(y)>−∞}D = \{y \mid g(y) > -\infty\}D={y∣g(y)>−∞}.
  • The primal problem is
(P)minimize f(x)−g(Ax) over x∈E,(P) \qquad \text{minimize } f(x) - g(Ax) \text{ over } x \in E,(P)minimize f(x)−g(Ax) over x∈E,

and its perturbations are (P(z))(P(z))(P(z)): minimize f(x)−g(Ax−z)f(x) - g(Ax - z)f(x)−g(Ax−z), for z∈Fz \in Fz∈F. The perturbation function is h(z)=inf⁡(P(z))=inf⁡x{f(x)−g(Ax−z)}∈[−∞,+∞]h(z) = \inf (P(z)) = \inf_x \{ f(x) - g(Ax - z) \} \in [-\infty, +\infty]h(z)=inf(P(z))=infx​{f(x)−g(Ax−z)}∈[−∞,+∞], so h(0)=inf⁡(P)h(0) = \inf (P)h(0)=inf(P). (P)(P)(P) is consistent if h(0)<+∞h(0) < +\inftyh(0)<+∞.

  • When h(0)h(0)h(0) is finite, the directional derivative is h′(0;z)=lim⁡ε↓0[h(εz)−h(0)]/εh'(0; z) = \lim_{\varepsilon \downarrow 0} [h(\varepsilon z) - h(0)]/\varepsilonh′(0;z)=limε↓0​[h(εz)−h(0)]/ε.
  • (P)(P)(P) is unstably set if h(0)h(0)h(0) is finite and every neighbourhood of 000 contains vectors zzz with h′(0;z)h'(0; z)h′(0;z) a negative number of arbitrarily large magnitude (−∞-\infty−∞ included). (P)(P)(P) is stably set if it is consistent but not unstably set.

Formalization targets

Goal: Theorem 1 (p. 175)

Suppose there exists x∈Ex \in Ex∈E such that fff is finite at xxx and ggg is finite and continuous at AxAxAx. Then

(P) is stably setandthere is a neighbourhood U of 0 on which z↦inf⁡(P(z)) is continuous.(P) \text{ is stably set} \quad\text{and}\quad \text{there is a neighbourhood } U \text{ of } 0 \text{ on which } z \mapsto \inf (P(z)) \text{ is continuous}.(P) is stably setandthere is a neighbourhood U of 0 on which z↦inf(P(z)) is continuous.

The neighbourhood UUU is left unspecified, as in the paper.

Milestones (in the order the proof uses them)

  1. (4.4) {z∣h(z)<+∞}={Ax−y∣f(x)<+∞, g(y)>−∞}=A(C)−D\{z \mid h(z) < +\infty\} = \{Ax - y \mid f(x) < +\infty,\ g(y) > -\infty\} = A(C) - D{z∣h(z)<+∞}={Ax−y∣f(x)<+∞, g(y)>−∞}=A(C)−D.
  2. (4.5) A(C)A(C)A(C) meets int⁡D\operatorname{int} DintD, and 0∈A(C)−int⁡D⊆int⁡(A(C)−D)0 \in A(C) - \operatorname{int} D \subseteq \operatorname{int}(A(C) - D)0∈A(C)−intD⊆int(A(C)−D).
  3. Epigraph of hhh has interior (p. 176): the hypograph G={(y,μ)∣g(y)≥μ>−∞}G = \{(y, \mu) \mid g(y) \ge \mu > -\infty\}G={(y,μ)∣g(y)≥μ>−∞} has nonempty interior, (Ax,λ)−G(Ax, \lambda) - G(Ax,λ)−G lies in the epigraph of hhh for every (x,λ)(x, \lambda)(x,λ) in the epigraph of fff, and so the epigraph of hhh has nonempty interior.
  4. Continuity on the interior of the domain (p. 176): 0∈int⁡{h<+∞}0 \in \operatorname{int}\{h < +\infty\}0∈int{h<+∞} and hhh is continuous there.
  5. (4.6) For a convex hhh with h(0)h(0)h(0) finite: h(z)≥h(0)+h′(0;z)h(z) \ge h(0) + h'(0; z)h(z)≥h(0)+h′(0;z) and h′(0;z)≥−h′(0;−z)h'(0; z) \ge -h'(0; -z)h′(0;z)≥−h′(0;−z) for all zzz.

Significance

The result. Combined with the paper's Theorem 3, Theorem 1 yields: if fff is finite at some xxx where ggg is finite and continuous at AxAxAx, then inf⁡(P)=max⁡(P∗)\inf (P) = \max (P^*)inf(P)=max(P∗), with the dual maximum attained. This is the standard sufficient condition for Fenchel–Rockafellar duality in infinite dimensions, used in calculus of variations, optimal control, and the convex analysis of integral functionals. The continuity half of Theorem 1 says that the optimal value depends continuously on translations of the constraint data near the unperturbed problem, a basic sensitivity statement.

Formalizing it. The theorem is proved (1967) and appears in many textbooks, but there is no machine-checked version on this platform. Mathlib contains continuity criteria for real-valued convex functions on open sets of normed or finite-dimensional spaces (ConvexOn.continuousOn_tfae, ConvexOn.continuousOn_interior), but nothing for extended-real-valued convex functions on general topological vector spaces, no perturbation function, and no notion of a stably set problem. A complete development would provide reusable infrastructure: the epigraph-interior continuity criterion for [−∞,+∞][-\infty, +\infty][−∞,+∞]-valued convex functions and the elementary calculus of one-sided directional derivatives.

Difficulty

The obvious argument says: ggg is continuous at AxAxAx, so h(z)≤f(x)−g(Ax−z)h(z) \le f(x) - g(Ax - z)h(z)≤f(x)−g(Ax−z) is bounded above near 000, hence hhh is continuous at 000 and its directional derivatives are bounded. Two steps of this fail without care. First, the passage from "bounded above near a point" to "continuous" requires convexity of hhh (Lemma 2 of the paper, proved in the companion mission) and a continuity criterion valid in an arbitrary topological vector space, with values in [−∞,+∞][-\infty, +\infty][−∞,+∞]; the normed-space proofs in Mathlib do not apply. Second, hhh may take the value −∞-\infty−∞, and the derivative may be −∞-\infty−∞ in some directions; the bookkeeping of extended-real arithmetic (where (+∞)+(−∞)(+\infty) + (-\infty)(+∞)+(−∞) is not defined mathematically and is given a junk value in Lean) has to be done honestly. Finally, upper bounds on h′(0;⋅)h'(0;\cdot)h′(0;⋅) must be converted into lower bounds, which is where the second inequality of (4.6) enters; an upper bound alone does not give stability.

Formalization scope

All values are in Lean's EReal. Convexity is convexity of the epigraph with real second coordinate (the paper's definition, p. 170); concavity is convexity of −g-g−g. Properness is stated as in the paper. The perturbation function is the EReal infimum ⨅ x, f x - g (A x - z); under properness the undefined form (+∞)−(+∞)(+\infty) - (+\infty)(+∞)−(+∞) never arises. The directional derivative (4.3) is the lower limit of the difference quotient along ε→0+\varepsilon \to 0^+ε→0+, which equals the paper's limit whenever it exists (always, for convex hhh with h(0)h(0)h(0) finite). "Unstably set" quantifies over all neighbourhoods of 000 and all real MMM, with h′(0;z)<−Mh'(0;z) < -Mh′(0;z)<−M allowing −∞-\infty−∞. "Stably set" is h(0)<+∞h(0) < +\inftyh(0)<+∞ together with "not unstably set", so inf⁡(P)=−∞\inf (P) = -\inftyinf(P)=−∞ is stably set, as the paper says on p. 176. Continuity is with respect to the order topology of EReal, and "continuous at AxAxAx" is continuity of ggg itself at that point, not of its restriction to DDD.

The paper's standing setting (§3) includes dual spaces E∗,F∗E^*, F^*E∗,F∗, the adjoint A∗A^*A∗ and the conjugates f∗,g∗f^*, g^*f∗,g∗. Neither Theorem 1 nor its proof uses them, so they are omitted and the theorem is stated for every pair of real locally convex Hausdorff spaces, which includes every paired setting. The lower and upper semicontinuity of fff and ggg are standing hypotheses of the paper and are kept, although the proof does not use them. Inequality (4.6) is stated for an arbitrary convex function finite at 000, the generality in which the paper invokes it. No statement was repaired.

A definition of "stably set" that already presumed finiteness or continuity of hhh near 000, or that tested the derivative only in a fixed set of directions, would make the first conclusion of Theorem 1 trivial; the definition used here is the paper's p. 175 definition verbatim, applied to an arbitrary function hhh. The definitions are local to this mission; the companion missions on Theorem 3 and Theorem 6 of the same paper define the same objects in their own namespaces. Contributions are welcome on the milestones in any order, and in particular on a general continuity criterion for extended-real-valued convex functions on topological vector spaces, which is reusable well beyond this mission.

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
  • A. Brøndsted, Conjugate convex functions in topological vector spaces, Mat.-Fys. Medd. Dansk. Vid. Selsk. 34 (1964), no. 2.
  • W. Fenchel, Convex Cones, Sets and Functions, lecture notes, Princeton University, 1951.
  • J. J. Moreau, Fonctionnelles convexes, Séminaire Leray, Collège de France, 1966–67.
  • 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
9 thms2 active usersReviewed
Bandit AlgorithmsProbabilityStatistics·Captain: mikedeng1

Some Aspects of the Sequential Design of Experiments I: Greedy Sampling with Density-Zero Forced Draws Earns max(α, β) per Draw from Any Two Populations with Finite MeansResearch Paper

Motivation

An experimenter can draw observations from two populations AAA and BBB, one at a time, and wants the sum of the observations to be as large as possible. The populations might be two treatments, two seed varieties or two manufacturing processes; their means are unknown. Each draw both earns a reward and tells the experimenter something about the population it came from. This is the two-armed bandit problem. Herbert Robbins posed it in its modern form in his 1952 address to the American Mathematical Society, Some aspects of the sequential design of experiments, the paper usually credited with founding the field.

Section 2 of that paper asks a basic question (display (12), p. 532): is there any sampling rule whose average reward per draw approaches the larger of the two means, whatever the populations are? Robbins answers yes, for any two populations with finite means, using one explicit rule: forced sampling along a sparse schedule, greedy choice otherwise. This mission formalizes that answer.

Timeline:

  • 1933. Thompson proposes a randomized rule for choosing between two treatments (Biometrika 25).
  • 1952. Robbins states the problem for general populations and gives the rule Rˉ\bar RRˉ with lim⁡nLn(A,B,Rˉ)=0\lim_n L_n(A,B,\bar R) = 0limn​Ln​(A,B,Rˉ)=0 for any two populations with finite means. The argument is only indicated ("it can be shown").
  • 1985. Lai and Robbins replace o(n)o(n)o(n) loss by the optimal logarithmic regret for parametric families (Adv. Appl. Math. 6).
  • 2020. Lattimore and Szepesvári give the textbook account of explore-then-commit and ε\varepsilonε-greedy rules, which descend from forced sampling (Bandit Algorithms).

Setting

Population AAA has distribution function FFF and population BBB has GGG, with expectations

α=∫−∞∞x dF(x),β=∫−∞∞x dG(x),\alpha = \int_{-\infty}^{\infty} x\,dF(x), \qquad \beta = \int_{-\infty}^{\infty} x\,dG(x),α=∫−∞∞​xdF(x),β=∫−∞∞​xdG(x),

assumed to exist, i.e. to be finite (display (1), p. 529). Nothing else is assumed about FFF and GGG.

A sampling rule RRR draws x1,x2,…x_1, x_2, \dotsx1​,x2​,… one at a time; the population of the iii-th draw may depend on x1,…,xi−1x_1, \dots, x_{i-1}x1​,…,xi−1​, and given that choice xix_ixi​ is a fresh draw from the chosen population. Write Sn=x1+⋯+xnS_n = x_1 + \cdots + x_nSn​=x1​+⋯+xn​. The loss of RRR after nnn draws (display (9), p. 531) is

Ln(A,B,R)=max⁡(α,β)−E ⁣(Snn),L_n(A, B, R) = \max(\alpha, \beta) - E\!\left(\frac{S_n}{n}\right),Ln​(A,B,R)=max(α,β)−E(nSn​​),

the average shortfall per draw compared with someone who knows the better population and samples only from it.

The forcing schedule (display (13), p. 532) is a pair of disjoint, strictly increasing sequences of positive integers

1=a1<a2<⋯ ,2=b1<b2<⋯1 = a_1 < a_2 < \cdots, \qquad 2 = b_1 < b_2 < \cdots1=a1​<a2​<⋯,2=b1​<b2​<⋯

of density zero: the fraction of the integers 1,…,n1, \dots, n1,…,n that are an aaa or a bbb tends to 000.

The rule Rˉ\bar RRˉ: at draw iii, sample AAA if iii is an aaa, sample BBB if iii is a bbb, and otherwise sample AAA if the mean of the previous observations from AAA is strictly larger than the mean of the previous observations from BBB, and BBB if it is not (a tie goes to BBB).

Formalization targets

Goal: Section 2, Eq. (16)

For every pair of populations with finite means and every forcing schedule,

lim⁡n→∞Ln(A,B,Rˉ)=0.\lim_{n\to\infty} L_n(A, B, \bar R) = 0.n→∞lim​Ln​(A,B,Rˉ)=0.

The goal is about the specific rule Rˉ\bar RRˉ and every schedule, not about the mere existence of a rule. It contains no rate and no constant, so it stays valid when the rule is analysed more finely.

Milestone: Eq. (14), almost-sure average

lim⁡n→∞Snn=max⁡(α,β)with probability 1.\lim_{n\to\infty} \frac{S_n}{n} = \max(\alpha, \beta) \quad\text{with probability } 1.n→∞lim​nSn​​=max(α,β)with probability 1.

Milestone: Eq. (15), expected average

lim⁡n→∞E ⁣(Snn)=max⁡(α,β).\lim_{n\to\infty} E\!\left(\frac{S_n}{n}\right) = \max(\alpha, \beta).n→∞lim​E(nSn​​)=max(α,β).

The goal follows from (15) by the definition (9); the paper's chain is (14) ⇒ (15) ⇒ (16).

Significance

The result. The theorem answers question (12) and shows that "learning while earning" costs nothing in the long run, per draw, under no assumption beyond finite means: no bounded support, no variance, no parametric family. It is the first consistency result for an adaptive allocation rule, and it fixes the benchmark later refined by logarithmic-regret theory. In modern terms, a forced-exploration greedy policy has regret o(n)o(n)o(n) on every two-armed bandit with integrable rewards.

Formalizing it. The paper gives no proof; it says the results "can be shown". A machine-checked proof records the argument in full. The platform already has finite-horizon regret bounds for ε\varepsilonε-greedy with bounded rewards (FoundationsRL.Bandits.epsilon_greedy_regret_bound), consistency in the stronger Lai–Robbins sense as a definition (ConsistentBanditPolicy), and a forced-sample tail bound for the Lasso bandit (BastaniBayati.LassoBandit.forced_sample_estimator_tail). None of these covers a deterministic greedy rule, almost-sure convergence, or unbounded rewards with only a first moment, and none of them proves (14)–(16).

Difficulty

The obvious argument is: each population is sampled infinitely often because of the forced draws, so each running mean converges by the strong law, so greedy eventually picks the better population, and the forced draws are negligible. Two steps are not routine.

First, the strong law applies to i.i.d. sequences, while the observations from AAA arrive at random, history-dependent times. The values seen from AAA have to be identified, in law, with an i.i.d. sequence that is independent of the times at which they are used.

Second, passing from (14) to (15) needs uniform integrability of Sn/nS_n/nSn​/n, and only first moments are available. No second moment is assumed, so variance bounds are not available.

When α=β\alpha = \betaα=β greedy need not settle on either population; the statement must hold anyway, and an argument that waits for greedy to "lock in" does not cover this case.

Formalization scope

The populations are a published two-armed BanditAlgorithm.StochasticBandit 2. AAA is arm 0 and BBB is arm 1; α\alphaα and β\betaβ are banditArmMean. A rule is a published BanditPolicy 2, and EEE is the integral against the published infinite-horizon law banditTrajMeasure, whose coordinate ttt is the paper's draw t+1t+1t+1. Explicit readings of the paper's phrases:

  • "the expectations exist" means both reward laws are Integrable. This is the only assumption on the populations: the class DDD of the paper is left arbitrary, and α=β\alpha = \betaα=β is allowed.
  • "density 0" means #({1,…,n} ∩ (range a ∪ range b)) / n → 0 in R\mathbb RR. The sequences are infinite and 0-indexed (a 0 = 1, b 0 = 2).
  • "according as … exceeds or does not exceed": AAA exactly when meanA_AA​ > meanB_BB​, so ties go to BBB.
  • "with probability 1" is ∀ᵐ under the trajectory law, and "lim" is Tendsto … atTop along n∈Nn \in \mathbb Nn∈N.
  • Sn/nS_n/nSn​/n uses real division; its value at n=0n = 0n=0 plays no role.

Trivializing formalizations are excluded. Without integrability the means and expectations are junk zeros; this is ruled out by the integrability hypothesis. Replacing Rˉ\bar RRˉ by "there exists a rule" would weaken the goal to (12). Finite forcing sets would make the statement false.

The needed infrastructure is a representation of the adaptive sampling process by per-population i.i.d. reward sequences, the strong law along random subsequences, and a uniform-integrability argument for averages under only a first moment. All three are reusable for other forced-exploration and greedy policies. Contributions of these general lemmas as separate theorems are welcome.

Selected references

  • H. Robbins, Some aspects of the sequential design of experiments, Bull. Amer. Math. Soc. 58(5) (1952), 527–535. https://doi.org/10.1090/S0002-9904-1952-09620-8
  • W. R. Thompson, On the likelihood that one unknown probability exceeds another in view of the evidence of two samples, Biometrika 25 (1933), 285–294. https://doi.org/10.2307/2332286
  • T. L. Lai and H. Robbins, Asymptotically efficient adaptive allocation rules, Adv. Appl. Math. 6 (1985), 4–22. https://doi.org/10.1016/0196-8858(85)90002-8
  • T. Lattimore and Cs. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020. https://doi.org/10.1017/9781108571401
8 thms2 active usersReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Regenerative Stochastic Processes 1: The State Probabilities of an Aperiodic Equilibrium Process Converge to (1/μ₁)∫φ_A(v){1 − F(v)}dvResearch Paper

Motivation

Many stochastic systems studied in operations research "start afresh" at certain random instants: a single-server queue each time a customer arrives to find the server idle, an inventory system each time stock is replenished to its order level, a reliability system each time a failed unit is replaced. Between such instants the system may evolve in a complicated way, but its future after one of them does not depend on its past. W. L. Smith's 1955 paper Regenerative stochastic processes made this idea into a general theory. Its first main result, Theorem 2, says that the state probabilities of such a process converge as time grows, and gives the limit explicitly in terms of the behaviour of the process within one cycle and the law of the cycle length.

This limit theorem is the standard way of proving that a queue, an inventory or a reliability model has a limiting distribution and of computing it: one exhibits regeneration points and evaluates one cycle.

Timeline.

  • 1948: Blackwell proves that the renewal function of a non-lattice renewal process has increments H(t+h)−H(t)→h/μ1H(t+h) - H(t) \to h/\mu_1H(t+h)−H(t)→h/μ1​ (Duke Math. J. 15).
  • 1949: Erdős, Feller and Pollard prove the discrete (lattice) renewal theorem.
  • 1954: Smith proves the key renewal theorem for bounded, non-increasing, integrable kernels, and a version for kernels tending to zero when some convolution power of the cycle law has an absolutely continuous part (Proc. Roy. Soc. Edinburgh A 64).
  • 1955: Smith introduces regenerative and equilibrium processes and proves Theorem 2 (this paper).

Setting

A general renewal process is a sequence t0,t1,t2,…t_0, t_1, t_2, \dotst0​,t1​,t2​,… of independent non-negative random variables in which t1,t2,…t_1, t_2, \dotst1​,t2​,… have a common law FFF, not concentrated at 000, with mean μ1=∫x dF(x)∈(0,∞]\mu_1 = \int x\,dF(x) \in (0,\infty]μ1​=∫xdF(x)∈(0,∞], and the delay t0t_0t0​ has a law KKK. The regeneration epochs are Tk=t0+⋯+tkT_k = t_0 + \dots + t_kTk​=t0​+⋯+tk​, and ntn_tnt​ is the number of epochs in [0,t][0,t][0,t]. The renewal measure is

HK=∑n≥0K∗F∗n,H_K = \sum_{n \ge 0} K * F^{*n},HK​=n≥0∑​K∗F∗n,

so that HK([0,t])=E ntH_K([0,t]) = \mathbb E\, n_tHK​([0,t])=Ent​. The law FFF is periodic with period ϖ>0\varpi > 0ϖ>0 if all its mass sits on {0,ϖ,2ϖ,… }\{0, \varpi, 2\varpi, \dots\}{0,ϖ,2ϖ,…}; otherwise ϖ=0\varpi = 0ϖ=0 and FFF is aperiodic. FFF belongs to the class S\mathfrak SS if some convolution power F∗kF^{*k}F∗k, k≥1k \ge 1k≥1, has a non-zero absolutely continuous component.

An equilibrium process E(z,A,{ti})\mathcal E(\mathfrak z, \mathcal A, \{t_i\})E(z,A,{ti​}) consists of a process xtx_txt​ on a measurable state space X\mathfrak XX, a class A\mathcal AA of measurable sets of states, a family of probability measures P{⋅∣z}P\{\cdot \mid z\}P{⋅∣z} indexed by boundary conditions z∈zz \in \mathfrak zz∈z, and under each of them a general renewal process whose cycle law FFF does not depend on zzz and whose delay has law KzK_zKz​. For each A∈AA \in \mathcal AA∈A there is a measurable function φA\varphi_AφA​, depending on AAA only, such that

P{xt∈A∣z; nt>0; Lt}=φA(t−Lt),P\{x_t \in A \mid z;\ n_t > 0;\ L_t\} = \varphi_A(t - L_t),P{xt​∈A∣z; nt​>0; Lt​}=φA​(t−Lt​),

where LtL_tLt​ is the epoch of the last regeneration at or before ttt. In words: once a regeneration has occurred, the chance of being in AAA at time ttt depends only on the time elapsed since the last one.

Formalization targets

Goal: Theorem 2

If the process is aperiodic (ϖ=0\varpi = 0ϖ=0) and the regeneration event is certain (Kz(+∞)=1K_z(+\infty) = 1Kz​(+∞)=1), then for every zzz and every A∈AA \in \mathcal AA∈A satisfying one of the regularity conditions (iv)′'′ (φA{1−F}\varphi_A\{1-F\}φA​{1−F} integrable and monotonic), (iv)a′′''_aa′′​ (μ1<∞\mu_1 < \inftyμ1​<∞ and φA{1−F}\varphi_A\{1-F\}φA​{1−F} of locally bounded variation) or (iv)b′′''_bb′′​ (μ1<∞\mu_1 < \inftyμ1​<∞ and F∈SF \in \mathfrak SF∈S),

lim⁡t→∞P{xt∈A∣z}=1μ1∫0∞φA(v){1−F(v)} dv,\lim_{t\to\infty} P\{x_t \in A \mid z\} = \frac{1}{\mu_1} \int_0^\infty \varphi_A(v)\{1 - F(v)\}\,dv,t→∞lim​P{xt​∈A∣z}=μ1​1​∫0∞​φA​(v){1−F(v)}dv,

the limit being 000 when μ1=∞\mu_1 = \inftyμ1​=∞.

Milestones

  1. Theorem A(a), the key renewal theorem: for bounded, non-increasing, integrable Ψ\PsiΨ and aperiodic FFF, ∫0tΨ(t−t′) dHK(t′)→(K(+∞)/μ1)∫0∞Ψ\int_0^t \Psi(t-t')\,dH_K(t') \to (K(+\infty)/\mu_1)\int_0^\infty \Psi∫0t​Ψ(t−t′)dHK​(t′)→(K(+∞)/μ1​)∫0∞​Ψ.
  2. Lemma A: for F∈SF \in \mathfrak SF∈S, (1−G∗(s))/(1−F∗(s))(1 - G^*(s))/(1 - F^*(s))(1−G∗(s))/(1−F∗(s)) is the Laplace–Stieltjes transform of a function of bounded variation with net variation λ1/μ1\lambda_1/\mu_1λ1​/μ1​.
  3. Theorem 1: the same limit for bounded integrable Ψ→0\Psi \to 0Ψ→0 when F∈SF \in \mathfrak SF∈S and μ1<∞\mu_1 < \inftyμ1​<∞.
  4. (3·4·3): P{xt∈A∣z}=P{xt∈A,t0>t∣z}+∫0tφA(t−τ){1−F(t−τ)} dHKz(τ)P\{x_t \in A \mid z\} = P\{x_t \in A, t_0 > t \mid z\} + \int_0^t \varphi_A(t-\tau)\{1-F(t-\tau)\}\,dH_{K_z}(\tau)P{xt​∈A∣z}=P{xt​∈A,t0​>t∣z}+∫0t​φA​(t−τ){1−F(t−τ)}dHKz​​(τ).
  5. (3·4·5): ∫t−Δtg(t−v) dHK(v)→μ1−1∫0Δg\int_{t-\Delta}^t g(t-v)\,dH_K(v) \to \mu_1^{-1}\int_0^\Delta g∫t−Δt​g(t−v)dHK​(v)→μ1−1​∫0Δ​g for the page's kernel g=φA(1−F)g=\varphi_A(1-F)g=φA​(1−F) of locally bounded variation.
  6. (3·4·7): ∫0t−Δ{1−F(t−v)} dH(v)→μ1−1∫Δ∞{1−F}\int_0^{t-\Delta}\{1-F(t-v)\}\,dH(v) \to \mu_1^{-1}\int_\Delta^\infty\{1-F\}∫0t−Δ​{1−F(t−v)}dH(v)→μ1−1​∫Δ∞​{1−F}; the limit is at most ε\varepsilonε for large enough Δ\DeltaΔ.

Significance

The result. Theorem 2 reduces the long-run behaviour of a regenerative system to a one-cycle computation: the limiting probability of AAA is the expected time spent in AAA during a cycle divided by the expected cycle length. It underlies the existence of limiting distributions for the waiting time in the GI/G/1 queue, the number in system in many queueing networks, inventory levels under (s,S)(s,S)(s,S) policies and the availability of repairable systems, and it is the continuous-time counterpart of the ergodic theorem for positive recurrent Markov chains. The paper's later sections apply it to semi-Markov processes.

Formalizing it. The results here are classical and proved; none is machine-checked. Mathlib has measure convolution and the strong law of large numbers but no renewal measure, no Blackwell or key renewal theorem, and no regenerative process. On Prove2Me only the discrete Erdős–Feller–Pollard renewal theorem for renewal sequences is proved. A completed mission supplies the continuous-time key renewal theorem in two forms, a reusable renewal-measure interface, and a general limit theorem for regenerative processes on which queueing and inventory results can be built.

Difficulty

The decomposition (3·4·3) is a direct consequence of independence and the renewal structure. The difficulty is the key renewal theorem. Blackwell's theorem controls HKH_KHK​ on intervals of fixed length; passing from intervals to a general kernel requires the kernel to be directly Riemann integrable, which is why Theorem A asks for monotonicity and Theorem 2 lists three alternative regularity conditions. A merely integrable kernel tending to zero is not enough for a general aperiodic FFF: HKH_KHK​ may concentrate on a set where the kernel has tall narrow spikes. Theorem 1 removes monotonicity only for F∈SF \in \mathfrak SF∈S, through a Laplace-transform argument that needs Lemma A, the uniqueness theorem for Laplace transforms and the fact that the singular part of HKH_KHK​ contributes nothing in the limit. Blackwell's theorem itself, for a non-lattice law with possibly infinite mean, is not in any library and is a substantial development of its own.

Formalization scope

Laws are measures on R\mathbb RR carried by [0,∞)[0,\infty)[0,∞); the distribution function is F(t)=F((−∞,t])F(t) = F((-\infty,t])F(t)=F((−∞,t]) and 1−F(v)=F((v,∞))1 - F(v) = F((v,\infty))1−F(v)=F((v,∞)). The mean μ1\mu_1μ1​ is an extended non-negative real, so μ1=∞\mu_1 = \inftyμ1​=∞ is a value; every statement with a 1/μ11/\mu_11/μ1​ treats μ1=∞\mu_1 = \inftyμ1​=∞ and μ1<∞\mu_1 < \inftyμ1​<∞ as separate cases rather than relying on a default value of division. Stieltjes integrals ∫0t⋯dHK\int_0^t \cdots dH_K∫0t​⋯dHK​ are integrals against the renewal measure over the closed interval [0,t][0,t][0,t]. Aperiodicity is the lattice condition on FFF, not a density condition. The delay law KKK in Theorem A and Theorem 1 may have mass below one.

In the equilibrium process the conditional-probability representation is stated as the defining identity of conditional probability for every Borel set of last-regeneration epochs, every t≥0t \ge 0t≥0, every zzz and every A∈AA \in \mathcal AA∈A. The paper writes TntT_{n_t}Tnt​​ for the last regeneration epoch, although under its own indexing that symbol is the first epoch after ttt; the formalization uses the last epoch at or before ttt. The delay t0t_0t0​ is real-valued, so the regeneration event is certain (hypothesis (iii)); improper delays and cycles, which §3 of the paper also allows, are outside this mission.

A trivializing formalization would condition only on {nt>0}\{n_t > 0\}{nt​>0} rather than on the epoch of the last regeneration, or fix μ1<∞\mu_1 < \inftyμ1​<∞ globally; both are ruled out, and hypothesis (iv) is imposed separately for the one set AAA of the conclusion.

Infrastructure needed: Blackwell's renewal theorem (non-lattice, finite or infinite mean), direct Riemann integrability, Laplace–Stieltjes transforms of functions of bounded variation and their uniqueness. All of these are reusable well beyond this paper; contributions of any of them are welcome. The convolution power and the Laplace–Stieltjes transform are taken from the published definition QueueingFundamentals.MG1.transforms.

Selected references

  • W. L. Smith, Regenerative stochastic processes, Proc. R. Soc. Lond. A 232 (1955), 6–31. https://doi.org/10.1098/rspa.1955.0198
  • W. L. Smith, Asymptotic renewal theorems, Proc. Roy. Soc. Edinburgh A 64 (1954), 9–48. https://doi.org/10.1017/S0080454100007482
  • D. Blackwell, A renewal theorem, Duke Math. J. 15 (1948), 145–150. https://doi.org/10.1215/S0012-7094-48-01568-3
  • P. Erdős, W. Feller, H. Pollard, A property of power series with positive coefficients, Bull. Amer. Math. Soc. 55 (1949), 201–204. https://doi.org/10.1090/S0002-9904-1949-09203-0
  • S. Asmussen, Applied Probability and Queues, 2nd ed., Springer, 2003, Ch. V–VI. https://doi.org/10.1007/b97236
10 thms2 active usersReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Regenerative Stochastic Processes 3: A Cumulative Process Has Mean (κ₁/μ₁)t + o(t) and Variance (t/μ₁){σ₂² − 2ρσ₁σ₂κ₁/μ₁ + σ₁²(κ₁/μ₁)²} + o(t)Research Paper

Why cumulative-process moments matter

Many stochastic systems accumulate a real-valued quantity while repeatedly returning to a state at which a new cycle begins. A queue may accumulate work or cost, a component may accumulate wear, and a recurrent system may accumulate time in a state. The observations at a fixed clock time usually cut through a cycle. This makes the moments of the observed process different from the moments of a sum stopped exactly at a regeneration epoch. W. L. Smith introduced cumulative processes to state mean, variance, ergodic, and central limit results for this setting in a common language (Smith 1955, §5).

The mean growth rate describes the long-run reward per unit time. The variance growth rate also records the dependence between a cycle's length and its reward. That dependence matters in systems where unusually long cycles tend to accumulate unusually large rewards; assuming the two are independent would erase a term in Smith's formula (Smith 1955, Theorem 8). This mission targets the exact first-order mean and variance asymptotics, along with the source results Smith uses to pass from completed cycles to observations at ordinary times.

Renewal and cumulative-process setting

Work on one probability space (Ω,P)(\Omega,P)(Ω,P). The cycle lengths t1,t2,…t_1,t_2,\ldotst1​,t2​,… are nonnegative, independent, identically distributed random variables whose common law is not concentrated at zero. Set T0=0T_0=0T0​=0 and Tn=t1+⋯+tnT_n=t_1+\cdots+t_nTn​=t1​+⋯+tn​ for n≥1n\geq1n≥1. Thus TnT_nTn​ is the nnnth renewal epoch after the initial renewal at time zero. For t≥0t\geq0t≥0, ntn_tnt​ counts the epochs Tk≤tT_k\leq tTk​≤t, including T0T_0T0​. The corresponding renewal function is HU(t)=E[nt]H_U(t)=\mathbb E[n_t]HU​(t)=E[nt​], where U=δ0U=\delta_0U=δ0​ is Smith's zero-delay law. These conventions come from §2·1 and §5·2 of the paper (Smith 1955, pp. 9 and 23).

A cumulative process wtw_twt​ is real valued, starts at w0=0w_0=0w0​=0, and has almost surely bounded variation on each finite nonnegative time interval. The cycle reward is yn=wTn−wTn−1y_n=w_{T_n}-w_{T_{n-1}}yn​=wTn​​−wTn−1​​. Write w~t\tilde w_tw~t​ for the total variation of the path on [0,t][0,t][0,t] and y~n\tilde y_ny~​n​ for its variation on [Tn−1,Tn][T_{n-1},T_n][Tn−1​,Tn​]. For the moment results, the cycle vectors (tn,yn,y~n)(t_n,y_n,\tilde y_n)(tn​,yn​,y~​n​) are independent and identically distributed across nnn. Their coordinates within one cycle may be dependent. This joint-cycle interpretation is required by Smith's common joint distribution for (ti,yi)(t_i,y_i)(ti​,yi​) in the proof of Lemma 5 (Smith 1955, pp. 23–24).

Let μr=E[t1r]\mu_r=\mathbb E[t_1^r]μr​=E[t1r​], κr=E[y1r]\kappa_r=\mathbb E[y_1^r]κr​=E[y1r​], and κ~r=E[y~1r]\tilde\kappa_r=\mathbb E[\tilde y_1^r]κ~r​=E[y~​1r​] when the moments exist. Put σ12=var⁡(t1)\sigma_1^2=\operatorname{var}(t_1)σ12​=var(t1​), σ22=var⁡(y1)\sigma_2^2=\operatorname{var}(y_1)σ22​=var(y1​), and c=cov⁡(t1,y1)c=\operatorname{cov}(t_1,y_1)c=cov(t1​,y1​). Smith writes c=ρσ1σ2c=\rho\sigma_1\sigma_2c=ρσ1​σ2​, with ρ\rhoρ the cycle length–reward correlation. The covariance remains defined when either variance is zero. The auxiliary sum Yt=∑i=1nt+1yiY_t=\sum_{i=1}^{n_t+1}y_iYt​=∑i=1nt​+1​yi​ includes a reward beyond the cycles completed by time ttt, exactly as in (5·2·1) (Smith 1955, p. 23).

Formalization targets

The first target is the mean part of Theorem 8. If μ1\mu_1μ1​ and κ~1\tilde\kappa_1κ~1​ are finite, then

Ewt=κ1μ1t+o(t)(t→∞).\mathbb E w_t=\frac{\kappa_1}{\mu_1}t+o(t)\qquad(t\to\infty).Ewt​=μ1​κ1​​t+o(t)(t→∞).

The goal includes the variance part under the additional assumptions μ2<∞\mu_2<\inftyμ2​<∞ and κ~2<∞\tilde\kappa_2<\inftyκ~2​<∞:

var⁡(wt)=tμ1{σ22−2cκ1μ1+σ12(κ1μ1)2}+o(t).\operatorname{var}(w_t)=\frac{t}{\mu_1} \left\{\sigma_2^2-2c\frac{\kappa_1}{\mu_1} +\sigma_1^2\left(\frac{\kappa_1}{\mu_1}\right)^2\right\}+o(t).var(wt​)=μ1​t​{σ22​−2cμ1​κ1​​+σ12​(μ1​κ1​​)2}+o(t).

Both limits are along real time, and neither assumes that a cycle's length and reward are independent. The milestone list contains the mean and variance limits for YtY_tYt​, the cycle-moment estimate used for the incomplete cycle, and Theorem 8(i) as the explicit mean target (Smith 1955, Lemmas 4, 5, 9 and Theorem 8).

What the result supplies

The theorem gives a linear approximation to the process's expected value and variance, with errors smaller than the observation horizon. The leading variance coefficient separates reward variability, cycle-length variability, and their covariance. It can therefore be used without a false independence assumption when the duration of a cycle affects the amount accumulated during it. The formulas are first-order statements; they do not claim a bounded error or a limiting distribution (Smith 1955, (5·3·6)–(5·3·7)).

Formalizing these statements requires reusable definitions of renewal counts, path variation, random-cycle rewards, and the moment conditions that make expectations and variances genuine. The statement is a draft target, not a claim that Smith's proof already has a machine-checked reconstruction. A completed development would also give formal tools for other regenerative reward models whose observations occur between renewal epochs.

Main mathematical difficulty

The auxiliary sum YtY_tYt​ is sampled at a random index, while wtw_twt​ is observed at a deterministic clock time. They differ by part of a cycle that crosses ttt. Ordinary laws for sums of a fixed number of independent rewards do not directly control either this random index or the crossing-cycle contribution. At second order, a bound on the mean difference alone does not determine the variance difference. The length–reward covariance must also survive the passage from completed cycles to the continuous-time process (Smith 1955, pp. 24–28).

Formalization scope and conventions

Lean uses real time and real-valued paths. Cycle laws are represented by random variables on one probability space; the renewal at zero is explicit. The renewal count takes the value zero on a path with infinitely many renewals before a finite time, a null event under the nondegenerate i.i.d. length law. Variation is represented by Mathlib's extended nonnegative eVariationOn and converted to a real number only under the almost-sure bounded-variation condition. The theorem states integrability of wtw_twt​ and its square as consequences of the cycle-moment assumptions, avoiding default values for divergent real integrals or variance. A finite rrrth moment is an integrability condition, not a comparison between a real number and infinity.

The paper's exact identity (5·2·2) is off by one under its own definitions of ntn_tnt​ and YtY_tYt​; the mission targets its valid asymptotic consequence (5·2·3). The last variance in the printed Lemma 5 coefficient is σ22\sigma_2^2σ22​, while Theorem 8 and the calculation require σ12\sigma_1^2σ12​. Milestone provenance retains the printed text; the Lean statements use the corrected coefficient. Lemma 9 is formalized for the absolute pppth moment E∣y1∣p\mathbb E|y_1|^pE∣y1​∣p of the cycle increment, which is the printed statement for a nonnegative cycle quantity such as the variation y~n\tilde y_ny~​n​ to which Theorem 8 applies it. Solvers may contribute the renewal and random-index estimates needed for the listed targets. A definition that makes rewards independent of cycle lengths would remove the covariance term and would not represent this mission's model.

Selected references

  • W. L. Smith, Regenerative stochastic processes, Proceedings of the Royal Society of London, Series A 232(1188):6–31, 1955. DOI: 10.1098/rspa.1955.0198.
7 thms2 active usersReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Renewal Theory and Its Ramifications: The Elementary Renewal Theorem H(t)/t → 1/μ₁ as t → ∞, Including the Case μ₁ = ∞Research Paper

Motivation

A renewal process models the successive replacements of an article that fails and is replaced at once: light bulbs, machine components, the inter-arrival times of a queue. The central quantity is the renewal function H(t)H(t)H(t), the expected number of replacements up to time ttt. Long-run average costs of maintenance and inventory policies, the throughput of regenerative systems and the rates in renewal–reward arguments are all read off the growth of H(t)H(t)H(t). W. L. Smith's survey Renewal Theory and Its Ramifications (J. R. Statist. Soc. B, 1958) organized the field around this function and opened with its oldest general limit result, the elementary renewal theorem, proved in full in §1.2 (pp. 245–247).

Timeline.

  • 1941 — W. Feller gives the first rigorous proof of the elementary renewal theorem, through a Tauberian theorem for Laplace integrals.
  • 1946 — C. Stein proves, for general sequential sampling procedures, that the stopping index has a finite exponential moment; for renewal processes this gives finite moments of all orders of the count NtN_tNt​.
  • 1948 — J. L. Doob gives a purely probabilistic proof, through the strong law of large numbers.
  • 1958 — Smith presents Doob's proof in modified form: an identity for the residual lifetime gives the lower bound, and a truncation of the lifetimes gives the upper bound, also when the mean lifetime is infinite.

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space and X1,X2,…X_1, X_2, \dotsX1​,X2​,… real random variables that are mutually independent, identically distributed, non-negative, and not almost surely zero: P(Xi=0)<1P(X_i = 0) < 1P(Xi​=0)<1. Lifetimes equal to zero with positive probability are allowed.

  • The renewal epochs are S0=0S_0 = 0S0​=0 and Sn=X1+⋯+XnS_n = X_1 + \dots + X_nSn​=X1​+⋯+Xn​.
  • The counting variable NtN_tNt​ is the number of n≥1n \ge 1n≥1 with Sn≤tS_n \le tSn​≤t, the number of renewals in [0,t][0,t][0,t]; for t≥0t \ge 0t≥0 it is the largest nnn with Sn≤tS_n \le tSn​≤t.
  • The renewal function is H(t)=ENtH(t) = \mathbb E N_tH(t)=ENt​ and the mean lifetime is μ1=EXi∈(0,∞]\mu_1 = \mathbb E X_i \in (0,\infty]μ1​=EXi​∈(0,∞].
  • The residual lifetime ζt\zeta_tζt​ is defined by SNt+1=t+ζtS_{N_t+1} = t + \zeta_tSNt​+1​=t+ζt​.
  • For Δ>0\Delta > 0Δ>0 the truncated process is Xi†=min⁡(Xi,Δ)X_i^\dagger = \min(X_i,\Delta)Xi†​=min(Xi​,Δ), with associated Sn†S_n^\daggerSn†​, Nt†N_t^\daggerNt†​, H†H^\daggerH†, μ1†\mu_1^\daggerμ1†​, ζt†\zeta_t^\daggerζt†​.

In Lean these are IsRenewalProcess P X, S X n, N X t, H X P t, mu1 X P, zeta X t and trunc Δ X in the namespace SmithRenewal.Elementary.

Formalization targets

Goal: the elementary renewal theorem (§1.2, p. 246)

H(t)t⟶μ1−1(t→∞),\frac{H(t)}{t} \longrightarrow \mu_1^{-1} \qquad (t \to \infty),tH(t)​⟶μ1−1​(t→∞),

with μ1≤∞\mu_1 \le \inftyμ1​≤∞ and μ1−1=0\mu_1^{-1} = 0μ1−1​=0 when μ1=∞\mu_1 = \inftyμ1​=∞. No moment beyond the first is assumed, and not even the first: the infinite-mean case is part of the goal.

Milestones, in the order of the paper's argument

  1. Stein's result (p. 245). There is θ0>0\theta_0 > 0θ0​>0 with EeθNt<∞\mathbb E e^{\theta N_t} < \inftyEeθNt​<∞ for every real θ≤θ0\theta \le \theta_0θ≤θ0​; hence NtN_tNt​ has finite moments of all orders and H(t)<∞H(t) < \inftyH(t)<∞.
  2. Equation (1.1) (p. 246). If μ1<∞\mu_1 < \inftyμ1​<∞, then for t≥0t \ge 0t≥0
t+Eζt=μ1{1+H(t)}.t + \mathbb E\zeta_t = \mu_1\{1 + H(t)\}.t+Eζt​=μ1​{1+H(t)}.
  1. Lower bound (p. 246). If μ1<∞\mu_1 < \inftyμ1​<∞, lim inf⁡t→∞H(t)/t≥μ1−1\liminf_{t\to\infty} H(t)/t \ge \mu_1^{-1}liminft→∞​H(t)/t≥μ1−1​.
  2. Truncation (p. 246). (Xi†)(X_i^\dagger)(Xi†​) is a renewal process, Sn†≤SnS_n^\dagger \le S_nSn†​≤Sn​, Nt†≥NtN_t^\dagger \ge N_tNt†​≥Nt​, H†(t)≥H(t)H^\dagger(t) \ge H(t)H†(t)≥H(t) and ζt†≤Δ\zeta_t^\dagger \le \Deltaζt†​≤Δ.
  3. Upper bound (p. 246). For every Δ>0\Delta > 0Δ>0,
lim sup⁡t→∞H(t)t≤lim sup⁡t→∞H†(t)t≤{μ1†}−1.\limsup_{t\to\infty}\frac{H(t)}{t} \le \limsup_{t\to\infty}\frac{H^\dagger(t)}{t} \le \{\mu_1^\dagger\}^{-1}.t→∞limsup​tH(t)​≤t→∞limsup​tH†(t)​≤{μ1†​}−1.
  1. Letting Δ→∞\Delta \to \inftyΔ→∞ (p. 247). μ1†→μ1\mu_1^\dagger \to \mu_1μ1†​→μ1​ in [0,∞][0,\infty][0,∞].

Significance

The result. The elementary renewal theorem is the law of large numbers for the renewal function: in the long run renewals occur at mean rate 1/μ11/\mu_11/μ1​. It is the basis of the renewal–reward theorem, of long-run average cost formulas for replacement, maintenance and (s,S)(s,S)(s,S) inventory policies, and of rate computations for regenerative queues. The sharper results of Smith's survey — Blackwell's theorem (1.2) and the key renewal theorem (1.3) — refine it and reduce to it on averaging.

Formalizing it. The theorem has been proved since 1941; what this mission adds is a machine-checked development of the continuous-time, real-valued renewal process in Lean, which Mathlib does not contain. Mathlib has the strong law of large numbers, independence and identical distribution, but no renewal counting process, no Wald identity and no renewal function. The platform holds a proved discrete Erdős–Feller–Pollard theorem for integer renewal sequences, a different statement about a different object; to the curators' knowledge the elementary renewal theorem for general non-negative lifetimes has not been formalized.

Difficulty

The almost-sure statement Nt/t→1/μ1N_t/t \to 1/\mu_1Nt​/t→1/μ1​ is close to the strong law, since SNt≤t<SNt+1S_{N_t} \le t < S_{N_t+1}SNt​​≤t<SNt​+1​. The obvious next step, taking expectations, fails: almost-sure convergence does not imply convergence of means, and Nt/tN_t/tNt​/t has no evident integrable dominating function. The exact relation (1.1) involves a sum with a random number of terms stopped at Nt+1N_t + 1Nt​+1, and by itself it bounds H(t)/tH(t)/tH(t)/t from one side only, because the residual lifetime ζt\zeta_tζt​ can have infinite mean. When μ1=∞\mu_1 = \inftyμ1​=∞ the relation is unavailable altogether, yet the theorem still claims a limit. Throughout, NtN_tNt​ is a priori allowed to be infinite on a null set and H(t)H(t)H(t) to be infinite, so finiteness itself is part of what must be established.

Formalization scope

  • Representation. Lifetimes are X : ℕ → Ω → ℝ, with the paper's X1,X2,…X_1, X_2, \dotsX1​,X2​,… as X 0, X 1, …. IsRenewalProcess P X bundles measurability, mutual independence (iIndepFun), IdentDistrib (X i) (X 0), non-negativity at every sample point, and P {X 0 = 0} < 1. Strict positivity is not assumed.
  • Counting. NtN_tNt​ is the cardinality in ℕ∞ of {n≥1:Sn≤t}\{n \ge 1 : S_n \le t\}{n≥1:Sn​≤t}; it is 000 for t<0t < 0t<0 and may be ∞\infty∞ on a null set.
  • Expectations. H(t)H(t)H(t), μ1\mu_1μ1​ and Eζt\mathbb E\zeta_tEζt​ are lower Lebesgue integrals with values in [0,∞][0,\infty][0,∞]. No finiteness is presupposed; finiteness of H(t)H(t)H(t) is milestone 1.
  • Ratios and limits. H(t)/tH(t)/tH(t)/t is formed in [0,∞][0,\infty][0,∞] and limits are taken as t→∞t \to \inftyt→∞ along the reals; μ1−1\mu_1^{-1}μ1−1​ is the inverse in [0,∞][0,\infty][0,∞], so ∞−1=0\infty^{-1} = 0∞−1=0 is the paper's convention.
  • Residual lifetime. ζt=SNt+1−t\zeta_t = S_{N_t+1} - tζt​=SNt​+1​−t, reading NtN_tNt​ through ENat.toNat; on the null event Nt=∞N_t = \inftyNt​=∞ this is S1−tS_1 - tS1​−t, which never affects an expectation.
  • Truncation. H†H^\daggerH†, μ1†\mu_1^\daggerμ1†​, ζt†\zeta_t^\daggerζt†​ are the same definitions applied to trunc Δ X, never separate formulas.

Ruled out. A goal restricted to μ1<∞\mu_1 < \inftyμ1​<∞, a renewal function defined through ∑rP(Sr≤t)\sum_r P(S_r \le t)∑r​P(Sr​≤t) or the renewal equation, or a real-valued ratio with 1/μ11/\mu_11/μ1​ in R\mathbb RR (where 1/0=01/0 = 01/0=0 and an infinite integral becomes 000) would each be a different, weaker or trivially true statement; none of them is the goal.

Needed infrastructure and welcome contributions. A Wald identity for stopping indices of i.i.d. sums with values in [0,∞][0,\infty][0,∞]; the comparison of a renewal count with a negative binomial count; uniform-in-ttt moment bounds for NtN_tNt​; and the lim inf/lim sup squeeze in [0,∞][0,\infty][0,∞]. The renewal process definitions and the Wald identity are reusable for Blackwell's theorem, the key renewal theorem and renewal–reward arguments. Alternative proofs of the goal (Feller's Tauberian route, a uniform-integrability argument) are welcome as long as they prove the stated goal.

Selected references

  • W. L. Smith, Renewal Theory and Its Ramifications, J. R. Statist. Soc. B 20(2):243–283, 1958. https://doi.org/10.1111/j.2517-6161.1958.tb00294.x
  • W. Feller, On the integral equation of renewal theory, Ann. Math. Statist. 12(3):243–267, 1941. https://doi.org/10.1214/aoms/1177731708
  • C. Stein, A note on cumulative sums, Ann. Math. Statist. 17(4):498–499, 1946. https://doi.org/10.1214/aoms/1177730890
  • J. L. Doob, Renewal theory from the point of view of the theory of probability, Trans. Amer. Math. Soc. 63(3):422–438, 1948. https://doi.org/10.1090/S0002-9947-1948-0025098-8
8 thms2 active usersReviewed
Linear OptimizationOptimizationProbability+1·Captain: mikedeng1

On Adaptive-Step Primal-Dual Interior-Point Algorithms for Linear Programming 4: For a Random Subspace, ‖Pq‖⁻∞ ≤ (log n/n)‖r‖² with Probability Tending to OneResearch Paper

Motivation

Primal–dual interior point methods follow a path of strictly feasible solutions to a linear program. Their worst case iteration bounds come from controlling a term that is quadratic in each search step. Mizuno, Todd, and Ye asked whether that term is typically much smaller than its worst case bound under a model in which a certain subspace is randomly oriented. Theorem 5 in their technical report gives a probability bound for the negative part of that term. It is a statement about one randomly oriented subspace and a fixed input vector, rather than a stochastic model for an entire algorithm run. The authors explicitly note that assigning the same random subspace model independently at successive iterations would be inconsistent with the algorithm's evolving state. Mizuno, Todd, and Ye, §6

Setting

Fix a dimension nnn, an integer ddd with 0≤d≤n0\le d\le n0≤d≤n, and a vector r∈Rnr\in\mathbb R^nr∈Rn. Draw a random ddd-dimensional subspace UUU from the distribution invariant under orthogonal transformations. Let ppp be the Euclidean orthogonal projection of rrr onto UUU, and put q=r−pq=r-pq=r−p, its projection onto U⊥U^\perpU⊥. The matrix P=diag⁡(p)P=\operatorname{diag}(p)P=diag(p) turns the vector qqq into the coordinatewise product Pq=(pjqj)j=1nPq=(p_jq_j)_{j=1}^nPq=(pj​qj​)j=1n​.

For a coordinate vector zzz, let z−=(min⁡{zj,0})j=1nz^-=(\min\{z_j,0\})_{j=1}^nz−=(min{zj​,0})j=1n​ and ∥z∥∞−=∥z−∥∞\|z\|^-_\infty=\|z^-\|_\infty∥z∥∞−​=∥z−∥∞​. Thus ∥Pq∥∞−\|Pq\|^-_\infty∥Pq∥∞−​ records the magnitude of the largest negative coordinate of PqPqPq. An unsubscripted vector norm is always the Euclidean ℓ2\ell_2ℓ2​ norm. These definitions follow the report's notation on printed pages 2 and 4. Mizuno, Todd, and Ye, §§1–2

The formal model samples an (n−d)×n(n-d)\times n(n−d)×n matrix GGG with independent standard normal entries and sets U=ker⁡GU=\ker GU=kerG. The report itself gives this construction as an example of the orthogonally invariant law. With probability one, this null space has dimension ddd. The construction covers the endpoint cases d=0d=0d=0 and d=nd=nd=n as well: the projection product is then zero. This probabilistic model has no linear programming data in its statement. The optimization setting explains why the quantity matters, while the result depends only on Euclidean projection geometry. Mizuno, Todd, and Ye, §6

Formalization targets

Theorem 5

For arbitrary choices rn∈Rnr_n\in\mathbb R^nrn​∈Rn and dn≤nd_n\le ndn​≤n at each dimension, the central target is

Pr⁡{∥Pnqn∥∞−≤log⁡nn∥rn∥22}⟶1(n⟶∞).\Pr\left\{\|P_nq_n\|^-_\infty\le \frac{\log n}{n}\|r_n\|_2^2\right\} \longrightarrow 1\qquad(n\longrightarrow\infty).Pr{∥Pn​qn​∥∞−​≤nlogn​∥rn​∥22​}⟶1(n⟶∞).

The logarithm is natural. The theorem asks for the exact coefficient shown in the report, rather than only an asymptotic order. The choice of rnr_nrn​ and dnd_ndn​ may change with nnn; the result does not require a common probability space for all dimensions. Mizuno, Todd, and Ye, Theorem 5, printed p. 13

Source milestones

The mission includes Lemma 6, which identifies a beta distributed radial coordinate and a uniform spherical direction for a projected vector; the componentwise identities and inequality (18)–(19); the Gaussian norm limit (20); the Gaussian coordinate maximum limit cited in the proof; and Lemma 7, which bounds the sup norm of a rotated uniform spherical direction by 3log⁡n/n\sqrt{3\log n/n}3logn/n​ with probability tending to one. Their statements, constants, and order follow printed pages 14–15 of the report. Mizuno, Todd, and Ye, §6

Significance

The result gives a precise high probability bound for the negative coordinates of the projection product. In the report this product represents the second order term of a primal–dual search direction, and a smaller value permits a larger admissible step in the relevant neighborhood analysis. The theorem therefore supplies a mathematically definite part of the paper's discussion of anticipated improved behavior. It does not by itself prove a typical iteration count: the paper does not provide a consistent random model for the sequence of subspaces visited by the algorithm. Mizuno, Todd, and Ye, §§2, 6–7

The report proves Theorem 5 and the two numbered lemmas on paper. The formalization work is to provide machine checked proofs of the random subspace representation, the beta and spherical laws, the finite dimensional Gaussian limits, and their connection to the projection bound. These results are reusable in other questions about random projections and coordinatewise estimates. The statements in this mission are open formalization targets; compilation of a statement with a proof placeholder does not count as a machine checked proof.

Difficulty

A direct norm bound on ppp and qqq loses the coordinate information needed for the factor log⁡n/n\log n/nlogn/n. The difficult part is that the desired bound concerns the most negative coordinate of a product of two dependent projections, while the distribution is specified through a random subspace. The paper's deterministic identity (18)–(19) relates this product to an angular coordinate. The remaining probabilistic statements must control the largest coordinate of a uniformly distributed spherical vector, including the numerical constant in Lemma 7. The laws of the radial and angular coordinates also need a sound measurable construction; simply writing a mapped measure without checking the map would not establish the claimed distributions.

Formalization scope

Vectors are EuclideanSpace ℝ (Fin n), so ∥r∥\|r\|∥r∥ is the ℓ2\ell_2ℓ2​ norm. Coordinate sup norms are separate definitions. A complete development needs finite dimensional inner product geometry, orthogonal projections, Gaussian product measures, beta measures, the uniform spherical law, and limits of real probabilities. The spherical law is encoded as the direction of a standard Gaussian vector. The Gaussian matrix construction fixes the invariant subspace distribution and must be connected to the stated ddd-dimensional law almost surely.

Lemma 6 concerns d,m≥1d,m\ge1d,m≥1 and n≥2n\ge2n≥2, where the beta parameters and the spherical direction are nondegenerate. Its angular direction is assigned zero at the zero coordinate, which has probability zero in this regime; the claimed decomposition and unit norm hold almost surely. Theorem 5 retains d=0d=0d=0, d=nd=nd=n, and r=0r=0r=0. Lemma 7 is stated only for frames in dimensions at least two; finitely many smaller dimensions are assigned probability one in its limit expression. Equation (20) keeps the report's condition ε>0\varepsilon>0ε>0. All limits are probabilities tending to one, never probability one at every finite nnn.

Contributions should preserve the source's constants and all three claims of Lemma 6. A proof of the beta law alone, or a bound for a single fixed direction, does not close the corresponding target. The invariant random subspace and projection model, the Gaussian and spherical distribution facts, and the coordinate estimates are each useful independently of this mission.

Selected references

  • Shinji Mizuno, Michael J. Todd, and Yinyu Ye, On Adaptive-Step Primal-Dual Interior-Point Algorithms for Linear Programming, Cornell ORIE Technical Report No. 944, 1990, revised 1991; published in Mathematics of Operations Research 18(4), 1993. DOI
  • Sidney I. Resnick, Extreme Values, Regular Variation, and Point Processes, Springer, 1987, pp. 42 and 71, cited in the report for the Gaussian maximum estimate. DOI
7 thms2 active usersReviewed
Algorithmic Game TheoryProbability·Captain: mikedeng1

Comparison of Threshold Stop Rules and Maximum for Independent Nonnegative Random Variables II: For I.I.D. Variables the Constant 2 Is Best Possible over Threshold RulesResearch Paper

Motivation

A prophet inequality compares two observers of a sequence of nonnegative random variables X1,…,XnX_1, \dots, X_nX1​,…,Xn​. The prophet knows all values in advance and collects Xn∗=max⁡(X1,…,Xn)X_n^* = \max(X_1, \dots, X_n)Xn∗​=max(X1​,…,Xn​). The gambler sees the values one at a time and must decide, irrevocably, when to stop and collect the current value. For independent variables the gambler's optimal value is at least half of EXn∗EX_n^*EXn∗​, and the factor 222 is sharp. Prophet inequalities are a basic tool in the analysis of online mechanisms, posted-price auctions and online selection problems, where the gambler's rule is a pricing policy and the prophet is the offline optimum.

Optimal stopping rules are often difficult to compute and to implement. A threshold rule, which stops at the first value at least ccc, is a posted price, and is the form used in applications. Samuel-Cahn (Ann. Probab. 12 (1984) 1213–1216) proved that a threshold rule alone attains the factor 222: with mmm a median of Xn∗X_n^*Xn∗​, Theorem 1 of the paper gives EXn∗≤2E+Xs(m)EX_n^* \le 2E^+X_{s(m)}EXn∗​≤2E+Xs(m)​ or EXn∗≤2E+Xt(m)EX_n^* \le 2E^+X_{t(m)}EXn∗​≤2E+Xt(m)​. Mission I of this series formalizes that theorem.

Timeline (as recounted on p. 1213 of the paper).

  • 1978: Krengel and Sucheston show EXn∗≤2Vn(X‾)EX_n^* \le 2V_n(\underline X)EXn∗​≤2Vn​(X​), where VnV_nVn​ is the optimal stopping value, for independent Xi≥0X_i \ge 0Xi​≥0; the constant 222 cannot be improved for any n≥2n \ge 2n≥2.
  • 1981: Hill and Kertz show that strict inequality holds in all but trivial cases.
  • 1982: Hill and Kertz show that for i.i.d. XiX_iXi​ the best constant αn\alpha_nαn​ for optimal rules depends on nnn and is bounded by 1.61.61.6.
  • 1983: Kertz (unpublished at the time) proves lim⁡αn=1+a∗=1.341…\lim \alpha_n = 1 + a^* = 1.341\ldotslimαn​=1+a∗=1.341… for a constant a∗a^*a∗ given by an integral equation.
  • 1984: Samuel-Cahn shows that a median threshold rule achieves the factor 222 (Theorem 1), and that for threshold rules the factor 222 cannot be lowered even for i.i.d. variables (Theorem 2). This mission is Theorem 2.

Setting

Fix n≥1n \ge 1n≥1 and a probability law μ\muμ on [0,∞)[0, \infty)[0,∞). Let X1,…,XnX_1, \dots, X_nX1​,…,Xn​ be independent with common law μ\muμ, and Xn∗=max⁡(X1,…,Xn)X_n^* = \max(X_1, \dots, X_n)Xn∗​=max(X1​,…,Xn​). For a constant c≥0c \ge 0c≥0 the threshold rules are

  • t(c)t(c)t(c): the smallest i<ni < ni<n with Xi≥cX_i \ge cXi​≥c, and t(c)=nt(c) = nt(c)=n otherwise;
  • s(c)s(c)s(c): the smallest i<ni < ni<n with Xi>cX_i > cXi​>c, and s(c)=ns(c) = ns(c)=n otherwise.

The stopped value is Xt(c)X_{t(c)}Xt(c)​ or Xs(c)X_{s(c)}Xs(c)​. The truncated expectations are E+Xt(c)=E[Xt(c)I(Xt(c)≥c)]E^+X_{t(c)} = E[X_{t(c)} I(X_{t(c)} \ge c)]E+Xt(c)​=E[Xt(c)​I(Xt(c)​≥c)] and E+Xs(c)=E[Xs(c)I(Xs(c)>c)]E^+X_{s(c)} = E[X_{s(c)} I(X_{s(c)} > c)]E+Xs(c)​=E[Xs(c)​I(Xs(c)​>c)]: they discard the forced stop at time nnn below the threshold. The class Tn∗T_n^*Tn∗​ is the set of all t(c)t(c)t(c) and s(c)s(c)s(c) with c≥0c \ge 0c≥0.

The lower half of the theorem uses an explicit family. For 0<a<10 < a < 10<a<1, b>0b > 0b>0, c>0c > 0c>0 and n>b+cn > b + cn>b+c, the variables Xi(n)X_i^{(n)}Xi(n)​ take the values 000, aaa, 111 with probabilities 1−(b+c)/n1 - (b+c)/n1−(b+c)/n, c/nc/nc/n, b/nb/nb/n. Two constants enter:

a∗=c(1−e−b)−be−b(1−e−c)c(1−e−b−c),Q(b,c)=1+e−b−e−b−c1−e−b−c−b(e−b−e−b−c)2c(1−e−b−c)(1−e−b).a^* = \frac{c(1 - e^{-b}) - b e^{-b}(1 - e^{-c})}{c(1 - e^{-b-c})}, \qquad Q(b, c) = 1 + \frac{e^{-b} - e^{-b-c}}{1 - e^{-b-c}} - \frac{b(e^{-b} - e^{-b-c})^2}{c(1 - e^{-b-c})(1 - e^{-b})}.a∗=c(1−e−b−c)c(1−e−b)−be−b(1−e−c)​,Q(b,c)=1+1−e−b−ce−b−e−b−c​−c(1−e−b−c)(1−e−b)b(e−b−e−b−c)2​.

This a∗a^*a∗ is unrelated to the a∗a^*a∗ of the NOTE in §1 of the paper.

In Lean (SamuelCahnProphet.IID), a sample is x : Fin n → ℝ under iidLaw μ n, the product measure; tIdx x c and sIdx x c are t(c)t(c)t(c) and s(c)s(c)s(c); Emax, EstopT, EstopS, EplusT, EplusS are EXn∗EX_n^*EXn∗​, EXt(c)EX_{t(c)}EXt(c)​, EXs(c)EX_{s(c)}EXs(c)​ and the E+E^+E+ terms; supE and supEplus are the two suprema over Tn∗T_n^*Tn∗​; threePoint n a b c is the law of Xi(n)X_i^{(n)}Xi(n)​; aStarIID and Q are the constants above.

Formalization targets

Goal: Theorem 2 (p. 1215)

sup⁡nsup⁡X‾[EXn∗sup⁡t∈Tn∗E+Xt]=sup⁡nsup⁡X‾[EXn∗sup⁡t∈Tn∗EXt]=2,\sup_n \sup_{\underline X} \left[\frac{EX_n^*}{\sup_{t \in T_n^*} E^+X_t}\right] = \sup_n \sup_{\underline X} \left[\frac{EX_n^*}{\sup_{t \in T_n^*} EX_t}\right] = 2,nsup​X​sup​[supt∈Tn∗​​E+Xt​EXn∗​​]=nsup​X​sup​[supt∈Tn∗​​EXt​EXn∗​​]=2,

over i.i.d. nonnegative X‾\underline XX​. It is stated as three facts: EXn∗≤2sup⁡Tn∗E+XtEX_n^* \le 2 \sup_{T_n^*} E^+X_tEXn∗​≤2supTn∗​​E+Xt​ for every nnn and law; sup⁡Tn∗E+Xt≤sup⁡Tn∗EXt\sup_{T_n^*} E^+X_t \le \sup_{T_n^*} EX_tsupTn∗​​E+Xt​≤supTn∗​​EXt​; and for every ε>0\varepsilon > 0ε>0 some nnn and law with (2−ε)sup⁡Tn∗EXt<EXn∗(2 - \varepsilon)\sup_{T_n^*} EX_t < EX_n^*(2−ε)supTn∗​​EXt​<EXn∗​.

Milestones (proof of Theorem 2, p. 1215)

  1. The upper bound EXn∗≤2sup⁡Tn∗E+XtEX_n^* \le 2\sup_{T_n^*} E^+X_tEXn∗​≤2supTn∗​​E+Xt​, attributed to Theorem 1.
  2. lim⁡nEXn(n)∗=1−e−b+a{e−b−e−b−c}\lim_n EX_n^{(n)*} = 1 - e^{-b} + a\{e^{-b} - e^{-b-c}\}limn​EXn(n)∗​=1−e−b+a{e−b−e−b−c}.
  3. For the three-point law, sup⁡Tn∗EXt=max⁡{EXt(a),EXt(1)}\sup_{T_n^*} EX_t = \max\{EX_{t(a)}, EX_{t(1)}\}supTn∗​​EXt​=max{EXt(a)​,EXt(1)​}.
  4. W(a)=lim⁡nEXt(a)(n)=(1−e−b−c)(b+ac)/(b+c)W(a) = \lim_n EX^{(n)}_{t(a)} = (1 - e^{-b-c})(b + ac)/(b + c)W(a)=limn​EXt(a)(n)​=(1−e−b−c)(b+ac)/(b+c).
  5. W(1)=lim⁡nEXt(1)(n)=1−e−bW(1) = \lim_n EX^{(n)}_{t(1)} = 1 - e^{-b}W(1)=limn​EXt(1)(n)​=1−e−b.
  6. W(a∗)=W(1)W(a^*) = W(1)W(a∗)=W(1) and 0<a∗<10 < a^* < 10<a∗<1.
  7. With a=a∗a = a^*a=a∗, lim⁡nEXn(n)∗/sup⁡Tn∗EXt(n)=Q(b,c)\lim_n EX_n^{(n)*}/\sup_{T_n^*} EX_t^{(n)} = Q(b, c)limn​EXn(n)∗​/supTn∗​​EXt(n)​=Q(b,c).
  8. Q(b,c)→2Q(b, c) \to 2Q(b,c)→2 as b→0+b \to 0^+b→0+ and c→∞c \to \inftyc→∞.

Significance

Theorem 1 says a posted price recovers half of the prophet's value. Theorem 2 says this guarantee is tight within the class of threshold rules even under the most favourable independence structure, identical distributions. This matters because for optimal rules the i.i.d. constant is at most 1.61.61.6 (Hill and Kertz 1982); the theorem separates threshold rules from optimal rules in the i.i.d. case and sets the benchmark that later single-threshold and order-selection analyses compare against.

The result is proved in the paper; to our knowledge no machine-checked proof exists. This mission produces one: a formal model of threshold rules on an i.i.d. sample, exact asymptotics of the expected maximum and of two stopped values for a triangular array of three-point laws, the reduction of the class Tn∗T_n^*Tn∗​ to two rules, and the two-parameter limit. The upper bound (milestone 1) is the i.i.d. case of mission I's goal, and may later be closed by reference to it.

Difficulty

The limits are "easily seen" on the page, but each requires controlling (1−x/n)n−1(1 - x/n)^{n-1}(1−x/n)n−1 uniformly with the exact law of a stopped index on a product space, including the forced stop at nnn whose contribution vanishes only in the limit. Milestone 3 is a finite claim over an uncountable family of rules: every t(c)t(c)t(c) and s(c)s(c)s(c) with c≥0c \ge 0c≥0 must be shown to coincide almost surely with one of t(0)t(0)t(0), t(a)t(a)t(a), t(1)t(1)t(1) or stopping at nnn, and the first and last must be shown dominated by t(a)t(a)t(a) for every finite n>b+cn > b + cn>b+c, not only asymptotically. The final step is a joint limit in (b,c)(b, c)(b,c), in which b/(1−e−b)→1b/(1 - e^{-b}) \to 1b/(1−e−b)→1 while the correction term vanishes like 1/c1/c1/c; an iterated limit is not the statement.

Formalization scope

The i.i.d. variables are the coordinates of Rn\mathbb R^nRn under the product measure μ⊗n\mu^{\otimes n}μ⊗n; all quantities depend only on the joint law, so the supremum over X‾\underline XX​ is a supremum over laws μ\muμ with μ((−∞,0))=0\mu((-\infty, 0)) = 0μ((−∞,0))=0. Indices are 0-based in Fin n with [NeZero n], the paper's index nnn being ⊤. Expectations are lintegrals of ENNReal.ofReal in [0,∞][0, \infty][0,∞]: no integrability is assumed and EXn∗=∞EX_n^* = \inftyEXn∗​=∞ is allowed. The sup over Tn∗T_n^*Tn∗​ ranges over c≥0c \ge 0c≥0 and over both families t(c)t(c)t(c) and s(c)s(c)s(c). Limits along the triangular array are indexed by n=k+1n = k + 1n=k+1 and taken in R\mathbb RR after toReal; the early terms with n≤b+cn \le b + cn≤b+c, where the clipped weights of threePoint do not form a probability measure, do not affect any limit.

The page's ratios are not written literally: in [0,∞][0, \infty][0,∞] the quotients 0/00/00/0 and ∞/∞\infty/\infty∞/∞ take junk values, so a literal supremum of ratios would be decided by degenerate laws. The goal's third fact uses a strict inequality and requires an explicit probability law on [0,∞)[0, \infty)[0,∞), which rules out the Dirac mass at 000 and sub-probability witnesses.

A complete development needs: the law of the first index of a product sample entering a set, expectations of finite-valued functions under Measure.pi, the limit (1−x/n)n→e−x(1 - x/n)^n \to e^{-x}(1−x/n)n→e−x along a triangular array, and elementary bounds on the exponential. The first two are reusable for any threshold or secretary-type stopping problem on i.i.d. samples. Proofs of the milestones in any order are welcome, as is a proof of the upper bound that does not route through the median.

Selected references

  • E. Samuel-Cahn, Comparison of threshold stop rules and maximum for independent nonnegative random variables, Ann. Probab. 12(4) (1984) 1213–1216. https://doi.org/10.1214/aop/1176993150
  • U. Krengel and L. Sucheston, On semiamarts, amarts, and processes with finite value, in Probability on Banach Spaces, Adv. Probab. Related Topics 4, Dekker, New York (1978) 197–266.
  • T. P. Hill and R. P. Kertz, Ratio comparisons of supremum and stop rule expectations, Z. Wahrsch. verw. Gebiete 56 (1981) 283–285. https://doi.org/10.1007/BF00536175
  • T. P. Hill and R. P. Kertz, Comparisons of stop rule and supremum expectations of i.i.d. random variables, Ann. Probab. 10(2) (1982) 336–345. https://doi.org/10.1214/aop/1176993861
10 thms2 active usersReviewed
Algorithmic Game TheoryAnalysisProbability·Captain: mikedeng1

Values of Large Games II: Oceanic Games 1: Closed-Form Values of Interior Oceanic GamesResearch Paper

Motivation

Weighted voting bodies often combine a few large blocs with a mass of small, unorganized voters: shareholders' meetings with a handful of large holders and a dispersed float, legislatures with party blocs and independents. The Shapley value measures each participant's voting power as the probability of being pivotal — the one whose arrival first turns a losing coalition into a winning one — when participants arrive in a uniformly random order. For many small voters this computation becomes a combinatorial problem whose size grows with the number of voters.

Milnor and Shapley (RAND RM-2649, 1961; revised as Mathematics of Operations Research 3(4), 1978) replaced the small voters by a continuum, the ocean, and obtained explicit formulas for the power of the large voters. The memorandum is the second of a RAND series on values of large games; the first (L. S. Shapley and N. Z. Shapiro, Values of Large Games, I: A Limit Theorem, RM-2648, 1960) proves the limit theorem for finite games with many small players on which the oceanic model rests. This mission formalizes the part of the memorandum that leads to explicit closed forms for the values of interior oceanic games (§2, §4, §5).

Setting

There are mmm major players M={1,…,m}M = \{1, \dots, m\}M={1,…,m} with weights w1,…,wm≥0w_1, \dots, w_m \ge 0w1​,…,wm​≥0, and w(S)=∑j∈Swjw(S) = \sum_{j \in S} w_jw(S)=∑j∈S​wj​. The ocean is the interval I=[0,1]I = [0,1]I=[0,1] with Lebesgue measure, carrying total weight α>0\alpha > 0α>0. In the oceanic game [c;w1,…,wm;α][c; w_1, \dots, w_m; \alpha][c;w1​,…,wm​;α] with quota ccc, a coalition wins when the weight of its major players plus α\alphaα times its share of the ocean is at least ccc.

The random order is modelled by a uniform random point x=(x1,…,xm)x = (x_1, \dots, x_m)x=(x1​,…,xm​) of the cube ImI^mIm: major player jjj is inserted into the ocean at position xjx_jxj​, and P(t)={j:xj<t}P(t) = \{ j : x_j < t \}P(t)={j:xj​<t} is the set of major players placed before position ttt. Player iii is pivotal when

w(P(xi))+αxi≤c≤w(P(xi))+wi+αxi,(2.4)w(P(x_i)) + \alpha x_i \le c \le w(P(x_i)) + w_i + \alpha x_i, \qquad (2.4)w(P(xi​))+αxi​≤c≤w(P(xi​))+wi​+αxi​,(2.4)

and the value φi\varphi_iφi​ of player iii is the probability of (2.4), i.e. the volume of the set Ai⊆ImA_i \subseteq I^mAi​⊆Im where it holds. The combined value of the ocean is Φ=1−∑iφi\Phi = 1 - \sum_{i} \varphi_iΦ=1−∑i​φi​ (2.5).

With the quota yyy as a variable, Γ(y)=[y;w1,…,wm;α]\Gamma(y) = [y; w_1, \dots, w_m; \alpha]Γ(y)=[y;w1​,…,wm​;α] has values φi(y)\varphi_i(y)φi​(y), Φ(y)\Phi(y)Φ(y), and the pivot location F(y)=inf⁡{t≥0:w(P(t))+αt≥y}F(y) = \inf\{t \ge 0 : w(P(t)) + \alpha t \ge y\}F(y)=inf{t≥0:w(P(t))+αt≥y} is a random, nondecreasing, piecewise linear function of yyy with expectation E{F(y)}E\{F(y)\}E{F(y)}. Adding a major player m+1m+1m+1 of weight wm+1w_{m+1}wm+1​ gives the game Γ+\Gamma^+Γ+.

The game is interior when

w(M)≤c≤α,w(M) \le c \le \alpha,w(M)≤c≤α,

that is, the ocean alone wins and the major players together lose. With wˉj=α−wj\bar w_j = \alpha - w_jwˉj​=α−wj​, define π(S)=∏j∈Swjα∏j∈M−Swˉjα\pi(S) = \prod_{j \in S} \tfrac{w_j}{\alpha} \prod_{j \in M - S} \tfrac{\bar w_j}{\alpha}π(S)=∏j∈S​αwj​​∏j∈M−S​αwˉj​​ for S⊆MS \subseteq MS⊆M, the analogous product πi(S)\pi_i(S)πi​(S) over M−{i}M - \{i\}M−{i} for S⊆M−{i}S \subseteq M - \{i\}S⊆M−{i}, and the integers a0=1a_0 = 1a0​=1, an=1−nan−1a_n = 1 - n a_{n-1}an​=1−nan−1​, i.e. 1,0,1,−2,9,−44,…1, 0, 1, -2, 9, -44, \dots1,0,1,−2,9,−44,…

Formalization targets

Goal: Theorem 6 (p. 20)

In an interior game, with s=∣S∣s = |S|s=∣S∣,

φi=wiα∑S⊆M−{i}as πi(S),Φ=∑S⊆Mas π(S).\varphi_i = \frac{w_i}{\alpha} \sum_{S \subseteq M - \{i\}} a_s \, \pi_i(S), \qquad \Phi = \sum_{S \subseteq M} a_s \, \pi(S).φi​=αwi​​S⊆M−{i}∑​as​πi​(S),Φ=S⊆M∑​as​π(S).

Both identities are part of the goal. The values do not depend on ccc within the interior range.

Milestones

  1. §2, p. 5: the pivot sets A1,…,AmA_1, \dots, A_mA1​,…,Am​ overlap only in measure zero.
  2. (4.3): φi(y)=Prob⁡{F(y)=xi}\varphi_i(y) = \operatorname{Prob}\{F(y) = x_i\}φi​(y)=Prob{F(y)=xi​} for 0≤y≤w(M)+α0 \le y \le w(M) + \alpha0≤y≤w(M)+α.
  3. (4.4)–(4.5): for 0<y<w(M)+α0 < y < w(M) + \alpha0<y<w(M)+α, FFF is differentiable at yyy almost surely, ∑iφi(y)=Prob⁡{F′(y)=0}\sum_i \varphi_i(y) = \operatorname{Prob}\{F'(y) = 0\}∑i​φi​(y)=Prob{F′(y)=0} and Φ(y)=Prob⁡{F′(y)=1/α}\Phi(y) = \operatorname{Prob}\{F'(y) = 1/\alpha\}Φ(y)=Prob{F′(y)=1/α}.
  4. Theorem 2, (4.7): Φ(y)=α ddyE{F(y)}\Phi(y) = \alpha \, \frac{d}{dy} E\{F(y)\}Φ(y)=αdyd​E{F(y)}.
  5. Lemma, (4.12)–(4.13): φm+1+(z)=1α∫t1t2Φ(y) dy\varphi^+_{m+1}(z) = \frac{1}{\alpha} \int_{t_1}^{t_2} \Phi(y)\, dyφm+1+​(z)=α1​∫t1​t2​​Φ(y)dy with t1=max⁡(z−wm+1,0)t_1 = \max(z - w_{m+1}, 0)t1​=max(z−wm+1​,0), t2=min⁡(z,w(M)+α)t_2 = \min(z, w(M) + \alpha)t2​=min(z,w(M)+α).
  6. Theorem 5, (5.4): if [c;w1,…,wm;α][c; w_1, \dots, w_m; \alpha][c;w1​,…,wm​;α] and [d;w1,…,wm+1;α][d; w_1, \dots, w_{m+1}; \alpha][d;w1​,…,wm+1​;α] are both interior, φm+1+=1αΦwm+1\varphi^+_{m+1} = \frac{1}{\alpha} \Phi w_{m+1}φm+1+​=α1​Φwm+1​.
  7. Proof of Theorem 6, p. 21: the right-hand sides above add up to 1, an identity valid for all real wjw_jwj​ and α≠0\alpha \ne 0α=0.

Further items, not milestones: the Corollary (5.5), Theorem 3 (averaged over all quotas, each value equals the player's share of the total weight), Theorem 4 (small players behave like ocean), and (5.8) with its footnote (∣an∣|a_n|∣an​∣ is the nearest integer to n!/en!/en!/e and counts derangements).

Significance

Theorem 6 turns the voting power of the large blocs, a priori a probability over a continuum of orderings, into a finite multilinear polynomial in the ratios wj/αw_j/\alphawj​/α. Table 1 of the memorandum lists the cases m≤3m \le 3m≤3, and the theorem gives every mmm. Its coefficients are signed derangement numbers. The Corollary (5.5) states that a major player's value per vote equals the ocean's value per vote in the game without that player.

The memorandum's arguments are short and partly heuristic: "E commutes with the derivative", the disjointness of the pivot sets is "obvious", and the induction for Theorem 6 relies on the symmetry of the value in the major players, which is never stated. A formalization makes each of these steps precise, including the measure-zero exceptions and the quota ranges. To our knowledge none of these results has a machine-checked proof; Mathlib has the Lebesgue measure on cubes, interval integrals and derangement numbers, but no game-theoretic value with a continuum of players.

Difficulty

The values are volumes of regions of ImI^mIm cut out by inequalities whose shape depends on the order of the coordinates, so a direct computation splits into m!m!m! order cells, with the quota ccc entering each. The paper's route avoids this by passing through the random function FFF, Theorem 2 and the Lemma; that route needs differentiation under the integral sign for a function that is only piecewise linear in yyy, with kinks at random locations, and an exact bookkeeping of the interval of integration when the quota approaches the ends of [0,w(M)+α][0, w(M) + \alpha][0,w(M)+α]. Theorem 6 is then an induction on mmm that uses Theorem 5 for every player in turn, so it also needs the invariance of φi\varphi_iφi​ under a relabelling of the major players.

Formalization scope

  • Major players are Fin m (m=0m = 0m=0 is allowed; then Φ=1\Phi = 1Φ=1). The probability of an event is the Lebesgue volume of its intersection with [0,1]m[0,1]^m[0,1]m; no probability space is built.
  • P(t)P(t)P(t) uses the strict inequality xj<tx_j < txj​<t, as printed.
  • φi\varphi_iφi​ is defined as the volume of the pivot set (2.4), for every real quota. Φ\PhiΦ is defined by (2.5), as the paper allows ("We might equally well take (2.5) as the definition of Φ\PhiΦ"). Neither is defined through the formulas of Theorem 6 or through FFF; defining them that way would make the goal an unfolding, and is ruled out.
  • The paper writes (4.2) as a minimum F(y)=min⁡{x∣w(P(x))+αx≥y}F(y) = \min\{x \mid w(P(x)) + \alpha x \ge y\}F(y)=min{x∣w(P(x))+αx≥y}, which need not be attained; FFF is the infimum over t≥0t \ge 0t≥0, the value shown in its Fig. 3.
  • The standing assumptions wj≥0w_j \ge 0wj​≥0 and α>0\alpha > 0α>0 (§2) are explicit hypotheses. The p. 5 footnote's 0≤c≤w(M)+α0 \le c \le w(M)+\alpha0≤c≤w(M)+α applies to the pivot-set milestone. Other quota ranges are explicit: 0≤y≤w(M)+α0 \le y \le w(M) + \alpha0≤y≤w(M)+α for (4.3) and Theorem 2 (one-sided derivatives at the ends), the open interval for (4.4)–(4.5) (two-sided derivatives, stated with HasDerivAt), and 0≤z≤w(M)+wm+1+α0 \le z \le w(M) + w_{m+1} + \alpha0≤z≤w(M)+wm+1​+α for the Lemma, as on p. 14.
  • The added player is appended with Fin.snoc as index Fin.last m.
  • Corollary (5.5) assumes wi>0w_i > 0wi​>0, since it divides by wiw_iwi​. Theorem 4, stated in the paper "in the general oceanic game", is false at quota 000 and when the limit game has no winning coalition; it is stated for 0<c≤w(M−{i})+α0 < c \le w(M - \{i\}) + \alpha0<c≤w(M−{i})+α.
  • The identity of milestone 7 is pure algebra and is stated for all real weights and α≠0\alpha \ne 0α=0.

A complete development needs: measurability of the pivot sets and of FFF in xxx, the structure of FFF as a piecewise linear function of yyy, differentiation of E{F}E\{F\}E{F}, and invariance of the values under permutations of the major players. The pivot-set and FFF infrastructure is reusable for the companion mission on limits of finite weighted majority games. Contributions of any of the milestones, of the symmetry lemma, and of the non-milestone items are welcome.

Selected references

  • J. W. Milnor and L. S. Shapley, Values of Large Games, II: Oceanic Games, The RAND Corporation, Research Memorandum RM-2649, February 1961. https://www.rand.org/pubs/research_memoranda/RM2649.html
  • J. W. Milnor and L. S. Shapley, Values of Large Games II: Oceanic Games, Mathematics of Operations Research 3(4):290–307, 1978. https://doi.org/10.1287/moor.3.4.290
  • L. S. Shapley, A Value for n-Person Games, in Contributions to the Theory of Games II, Annals of Mathematics Studies 28, Princeton University Press, 1953, 307–317. https://doi.org/10.1515/9781400881970-018
  • L. S. Shapley and N. Z. Shapiro, Values of Large Games, I: A Limit Theorem, The RAND Corporation, Research Memorandum RM-2648, November 1960.
  • R. J. Aumann and L. S. Shapley, Values of Non-Atomic Games, Princeton University Press, 1974. https://doi.org/10.1515/9781400867080
9 thms2 active usersReviewed
Dynamic ProgrammingLinear OptimizationMarkov Chain·Captain: mikedeng1

Linear Programming and Sequential Decisions: An Optimal Solution of the Equilibrium LP Yields a Stationary Decision Rule of Least Expected Monthly CostResearch Paper

Motivation

Alan S. Manne's Linear Programming and Sequential Decisions (Management Science 6(3), 1960, pp. 259–267) is the first formulation of an infinite-horizon, average-cost sequential decision problem as a linear program. The illustration is a single-item inventory problem, but the construction, with unknowns indexed by a state and a decision and constraints expressing statistical equilibrium, became the standard state–action frequency linear program of Markov decision processes. Later LP approaches to average-cost Markov decision processes, including constrained ones, build on it.

Timeline of the LP approach to average-cost problems:

  • 1960 — Manne: the inventory model as a linear program in the joint probabilities of (stock level, production quantity); mixed strategies allowed; the decision rule is read off as a conditional probability.
  • 1960 — H. M. Wagner, in a companion note in the same issue, shows that an optimal solution consisting of pure strategies exists.
  • 1962 — C. Derman (Management Science 9(1), 1962) gives the general finite-state, finite-action version, assuming every stationary randomized rule yields an irreducible chain.
  • 1960 — F. d'Epenoux (Revue Française de Recherche Opérationnelle 4, No. 14; English translation 1963) treats the discounted criterion by linear programming, as Manne's closing note records.

Setting

A positive integer TTT bounds inventory accumulation; the stock levels are 0,1,…,T0,1,\dots,T0,1,…,T. At the start of a month the initial stock iii is observed and a production quantity jjj is chosen; the available stock is k=i+jk=i+jk=i+j. The month's demand n∈{0,1,2,… }n\in\{0,1,2,\dots\}n∈{0,1,2,…} is independent of everything else and has law pnp_npn​. Backlogs are excluded, so the terminal stock is t=max⁡(0,k−n)t=\max(0,k-n)t=max(0,k−n), which becomes the next initial stock. A finite set AAA of admissible pairs (i,j)(i,j)(i,j), all with i+j≤Ti+j\le Ti+j≤T and containing (i,0)(i,0)(i,0) for every i≤Ti\le Ti≤T, lists the decisions available at each stock level. Costs are three arbitrary real functions: C1(i)C_1(i)C1​(i) of the initial stock, C2(j)C_2(j)C2​(j) of the production quantity, and C3(n−k)C_3(n-k)C3​(n−k) of the shortage level.

A stationary randomized decision rule q(j∣i)q(j\mid i)q(j∣i) is a conditional probability of producing jjj at stock iii, supported on admissible pairs. It makes the initial stock a Markov chain. A statistical equilibrium of qqq is a stationary distribution y=(y0,…,yT)y=(y_0,\dots,y_T)y=(y0​,…,yT​) of that chain: the law y′y'y′ of the terminal stock equals the law yyy of the initial stock, (2). The expected monthly cost (1) of qqq in the equilibrium yyy is

EC1(i)+EC2(j)+EC3(n−k),\mathcal EC_1(i)+\mathcal EC_2(j)+\mathcal EC_3(n-k),EC1​(i)+EC2​(j)+EC3​(n−k),

the expectation taken under the joint law yi q(j∣i) pny_i\,q(j\mid i)\,p_nyi​q(j∣i)pn​ of (initial stock, production, demand).

The linear program has one unknown xijx_{ij}xij​ per admissible pair, the joint probability of (initial stock iii, production jjj). Its constraints are xij≥0x_{ij}\ge0xij​≥0, (4) ∑i,jxij=1\sum_{i,j}x_{ij}=1∑i,j​xij​=1, and the equilibrium equations

(8.t)∑jxtj=∑i,j,n:i+j−n=tpnxij(t=1,…,T),\text{(8.t)}\qquad \sum_j x_{tj}=\sum_{\substack{i,j,n:\\ i+j-n=t}}p_nx_{ij}\qquad(t=1,\dots,T),(8.t)j∑​xtj​=i,j,n:i+j−n=t​∑​pn​xij​(t=1,…,T),

and its objective (9) is ∑i,jcijxij\sum_{i,j}c_{ij}x_{ij}∑i,j​cij​xij​ with the cost coefficients (10)

cij=C1(i)+C2(j)+∑npnC3(n−i−j).c_{ij}=C_1(i)+C_2(j)+\sum_np_nC_3(n-i-j).cij​=C1​(i)+C2​(j)+n∑​pn​C3​(n−i−j).

The companion equation (8.0) for t=0t=0t=0 has right-hand side ∑i+j−n≤0pnxij\sum_{i+j-n\le0}p_nx_{ij}∑i+j−n≤0​pn​xij​ and is omitted from the constraints. A feasible xxx is decoded into yi=∑jxijy_i=\sum_jx_{ij}yi​=∑j​xij​ and q(j∣i)=xij/yiq(j\mid i)=x_{ij}/y_iq(j∣i)=xij​/yi​.

Formalization targets

The paper labels no theorem or lemma. The goal is assembled from §1 (third paragraph), §3 (N.B.), §4 (last two paragraphs), §5 and §7 (3), and every milestone is cited by section, display, table or footnote.

Goal: an LP optimum gives an optimal stationary rule

Assume ∑npn∣C3(n−i−j)∣<∞\sum_np_n|C_3(n-i-j)|<\infty∑n​pn​∣C3​(n−i−j)∣<∞ for every admissible pair. Then the linear program has an optimal solution, and for every optimal solution x∗x^*x∗, with decoding (q∗,y∗)(q^*,y^*)(q∗,y∗), q∗q^*q∗ is a stationary randomized rule, y∗y^*y∗ is a statistical equilibrium of q∗q^*q∗, and

Cost(q∗,y∗)=∑i,jcijxij∗≤Cost(q,y)\mathrm{Cost}(q^*,y^*)=\sum_{i,j}c_{ij}x^*_{ij}\le \mathrm{Cost}(q,y)Cost(q∗,y∗)=i,j∑​cij​xij∗​≤Cost(q,y)

for every stationary randomized rule qqq and every statistical equilibrium yyy of qqq.

Milestones

  1. (7): under a rule in a distribution yyy, the law of the terminal stock is the right-hand side of (7)/(8) evaluated at xij=yiq(j∣i)x_{ij}=y_iq(j\mid i)xij​=yi​q(j∣i).
  2. (8.0)–(8.T): a rule in statistical equilibrium yields a point satisfying x≥0x\ge0x≥0, (4) and all of (8.0)–(8.T).
  3. (8.0) is redundant: (4) and (8.1)–(8.T) imply (8.0).
  4. §3, N.B.: every feasible xxx equals yiq(j∣i)y_iq(j\mid i)yi​q(j∣i) for its decoding (q,y)(q,y)(q,y), with yyy an equilibrium of qqq.
  5. (10): the expected monthly cost (1) under the joint law xijpnx_{ij}p_nxij​pn​ equals ∑cijxij\sum c_{ij}x_{ij}∑cij​xij​.
  6. Table 1: the cost coefficients of the §6 example (T=3T=3T=3, p=(2/3,0,1/3)p=(2/3,0,1/3)p=(2/3,0,1/3), C1(i)=iC_1(i)=iC1​(i)=i, C2(j)=3jC_2(j)=3jC2​(j)=3j, C3(m)=max⁡[0,6m]C_3(m)=\max[0,6m]C3​(m)=max[0,6m], j∈{0,1}j\in\{0,1\}j∈{0,1}) are 4,5,3,4,2,5,34,5,3,4,2,5,34,5,3,4,2,5,3.
  7. Table 2, footnote 3: x01=1/3x_{01}=1/3x01​=1/3, x11=2/9x_{11}=2/9x11​=2/9, x20=4/9x_{20}=4/9x20​=4/9 is optimal with cost 31/931/931/9; the do-nothing solution costs 444.
  8. Footnote 5: the implicit prices −7/3,−13/3,−11/3-7/3,-13/3,-11/3−7/3,−13/3,−11/3 of (8.1)–(8.3), with 31/931/931/9 on (4), are an optimal dual solution.

Significance

The result turns an infinite-horizon control problem into a finite linear program. Equilibrium joint laws of (state, decision) under stationary randomized rules are exactly the feasible points of a polytope, and the average cost is linear on it. Consequences include computability by the simplex method; an economic reading of the dual variables (Manne's footnote 5 interprets them as the relative advantage of starting at a given stock level, related to Bellman's functional equation); and, in later work, the treatment of side constraints, which dynamic programming handles poorly.

The result is classical and proved in the paper (largely by inspection of the definitions). It has not been formalized. The formalization adds three things. First, a precise statement of what is optimized when the chain of a rule is not irreducible: the paper's §7 (3) concedes that a "decomposable" optimum makes the equilibrium depend on initial conditions, and the goal resolves this by optimizing over (rule, equilibrium) pairs. Second, an explicit treatment of the stock levels the equilibrium never visits, where the paper's quotient xij/∑jxijx_{ij}/\sum_jx_{ij}xij​/∑j​xij​ is undefined. Third, a machine-checked numerical example whose LP is derived from the general definitions, not entered by hand. Derman's later irreducible-case version exists on the platform as a separate open statement; this mission covers Manne's irreducibility-free version on state-dependent action sets.

Difficulty

Each step is elementary; the work is bookkeeping across three descriptions of the same object. The equilibrium is defined through the transition kernel of the controlled chain, the LP through the displayed sums over (i,j,n)(i,j,n)(i,j,n) with conditions i+j−n≤0i+j-n\le0i+j−n≤0 and i+j−n=ti+j-n=ti+j−n=t, and the cost through the joint law of three variables. Identifying them needs a reindexing of the admissible pairs by stock level, the interchange of a finite sum with an infinite sum over demands, and ∑npn=1\sum_np_n=1∑n​pn​=1. The naive argument "the LP constraints are the equilibrium equations, so the LP optimum is the optimal rule" skips two points. The constraints omit (8.0), so equilibrium at stock level 000 must be recovered from (4) and the bound i+j≤Ti+j\le Ti+j≤T. And the decoding fails at unvisited stock levels unless a default action is supplied. Existence of an LP optimum requires compactness of the feasible polytope, not just its nonemptiness.

Formalization scope

All statements live in the namespace ManneLP.Equilibrium. Conventions:

  • Stock levels and production quantities are natural numbers; a model carries T>0T>0T>0, the admissible set AAA (a Finset (ℕ × ℕ) with i+j≤Ti+j\le Ti+j≤T and every (i,0)∈A(i,0)\in A(i,0)∈A), a demand law p:N→Rp:\mathbb N\to\mathbb Rp:N→R with pn≥0p_n\ge0pn​≥0 and HasSum p 1, and costs C1,C2:N→RC_1,C_2:\mathbb N\to\mathbb RC1​,C2​:N→R, C3:Z→RC_3:\mathbb Z\to\mathbb RC3​:Z→R. The shortage level n−i−jn-i-jn−i−j is an integer; no convexity, sign or monotonicity of the costs is assumed.
  • The admissible set is a parameter: §6 imposes a capacity limit j≤1j\le1j≤1. Reading of the page: i+j≤Ti+j\le Ti+j≤T is how §2's requirement max⁡(0,k−n)≤T\max(0,k-n)\le Tmax(0,k−n)≤T holds whatever the demand; (i,0)∈A(i,0)\in A(i,0)∈A (producing nothing is possible) is implicit in §2.
  • The terminal stock is computed by truncated subtraction in N\mathbb NN, which equals max⁡(0,k−n)\max(0,k-n)max(0,k−n). Sums over demands are tsums; the demand is not assumed bounded. The goal and the cost identity assume the expected shortage cost at each admissible pair is finite (absolutely summable), which the page takes for granted.
  • A statistical equilibrium is a stationary distribution of the chain of the rule, defined from the transition probabilities, not from (8). The expected monthly cost is defined from the joint law of (stock, production, demand), not as ∑cijxij\sum c_{ij}x_{ij}∑cij​xij​. The LP constraint set omits (8.0), exactly as the page does.
  • The decoded rule uses the default action j=0j=0j=0 at stock levels with ∑jxij=0\sum_jx_{ij}=0∑j​xij​=0; any admissible default would do.
  • Table 2's x30=εx_{30}=\varepsilonx30​=ε is the paper's device against degeneracy; the example's solution has x30=0x_{30}=0x30​=0. Footnote 5 prints no price for (4); 31/931/931/9 is the price forced by equal objectives, and the dual optimum is not claimed unique.

Trivializing formalizations are ruled out: equilibrium is not defined as (8) (which would make milestone 2 vacuous), (8.0) is not a constraint (which would make milestone 3 vacuous), the cost is not defined as ∑cijxij\sum c_{ij}x_{ij}∑cij​xij​ (which would make milestone 5 and the goal's cost clause definitional), and the optimality comparison ranges over all rules and all of their equilibria, not over irreducible chains or pure rules.

Contributions welcome: proofs of the milestones and the goal; computations of the §6 example from the general definitions; reusable lemmas on stationary distributions of finite stochastic matrices and on the existence of LP optima over compact polytopes.

Selected references

  • A. S. Manne, Linear Programming and Sequential Decisions, Management Science 6(3), 259–267, 1960. https://doi.org/10.1287/mnsc.6.3.259
  • H. M. Wagner, On the Optimality of Pure Strategies, Management Science 6(3), 268–269, 1960. https://doi.org/10.1287/mnsc.6.3.268
  • C. Derman, On Sequential Decisions and Markov Chains, Management Science 9(1), 16–24, 1962. https://doi.org/10.1287/mnsc.9.1.16
  • F. d'Epenoux, A Probabilistic Production and Inventory Problem, Management Science 10(1), 98–108, 1963 (translation of the 1960 French paper). https://doi.org/10.1287/mnsc.10.1.98
13 thms2 active usersReviewed
Algorithmic Game TheoryMechanism Design·Captain: mikedeng1

Job Matching, Coalition Formation, and Gross Substitutes 1: Under Gross Substitutes the Salary-Adjustment Process Reaches a Discrete Core Allocation in Finitely Many RoundsResearch Paper

Motivation

Labor markets match workers to firms, and the terms of each match (the salary) are negotiated along with the match itself. A firm's output depends on the whole team it hires, so a firm cares about sets of workers, not individual workers one at a time. Kelso and Crawford (1982) asked when such a market has a stable outcome, the core, in which no firm and group of workers can agree on terms that all of them prefer, and when a simple decentralized auction finds one.

Their answer is the gross-substitutes condition: raising some workers' salaries never makes a firm withdraw an offer from a worker whose salary has not risen. Under it, an ascending process in which firms make offers and workers reject all but their favorite reaches a core allocation. This condition became the standard hypothesis for the existence of Walrasian equilibrium with indivisible goods (Gul and Stacchetti 1999), it is the hypothesis behind matching with contracts (Hatfield and Milgrom 2005), and the process is the ancestor of ascending auction designs.

Timeline.

  • 1962: Gale and Shapley, deferred acceptance for one-to-one and many-to-one matching without money.
  • 1971: Shapley and Shubik, the assignment game: one-to-one matching with transferable utility; the core is nonempty and is the set of solutions of a dual linear program.
  • 1981: Crawford and Knoer, a salary-adjustment process for one-to-one matching with money, converging to the core.
  • 1982: Kelso and Crawford, many-to-one matching with money and production complementarities; existence of the core under gross substitutes via the salary-adjustment process (Theorem 1, the target of this mission).

Setting

There are finitely many workers i∈Wi \in Wi∈W and firms j∈Fj \in Fj∈F, with at least one firm. Worker iii's utility of working for firm jjj at salary sss is ui(j;s)u^i(j; s)ui(j;s), strictly increasing and continuous in sss. Firm jjj's gross product from hiring the set C⊆WC \subseteq WC⊆W is yj(C)y^j(C)yj(C), and its profit at the salary vector sj=(s1j,…,smj)s^j = (s_{1j},\dots,s_{mj})sj=(s1j​,…,smj​) is

πj(C;sj)=yj(C)−∑i∈Csij.\pi^j(C; s^j) = y^j(C) - \sum_{i \in C} s_{ij}.πj(C;sj)=yj(C)−i∈C∑​sij​.

Mj(sj)M^j(s^j)Mj(sj) is the set of profit-maximizing CCC. Each pair has a starting salary σij\sigma_{ij}σij​. The assumptions (p. 1486) are (MP) yj(C∪{i})−yj(C)−σij≥0y^j(C \cup \{i\}) - y^j(C) - \sigma_{ij} \ge 0yj(C∪{i})−yj(C)−σij​≥0 for i∉Ci \notin Ci∈/C; (NFL) yj(∅)=0y^j(\emptyset) = 0yj(∅)=0; and (GS): if C∈Mj(sj)C \in M^j(s^j)C∈Mj(sj) and s~j≥sj\tilde s^j \ge s^js~j≥sj, some C~∈Mj(s~j)\tilde C \in M^j(\tilde s^j)C~∈Mj(s~j) contains {i∈C:s~ij=sij}\{i \in C : \tilde s_{ij} = s_{ij}\}{i∈C:s~ij​=sij​}.

In the discrete market with unit δ>0\delta > 0δ>0, firm jjj may pay worker iii only σij+kδ\sigma_{ij} + k\deltaσij​+kδ, k=0,1,2,…k = 0, 1, 2, \dotsk=0,1,2,…. An allocation sends each worker iii to a firm f(i)f(i)f(i) at a salary sif(i)s_{if(i)}sif(i)​; it is individually rational (D1) if sif(i)≥σif(i)s_{if(i)} \ge \sigma_{if(i)}sif(i)​≥σif(i)​ and every firm's profit is nonnegative. It is a (discrete) core allocation (D3) if it is individually rational, pays permitted salaries, and no firm jjj, set CCC and permitted salaries rjr^jrj satisfy ui(j;rij)>ui(f(i);sif(i))u^i(j; r_{ij}) > u^i(f(i); s_{if(i)})ui(j;rij​)>ui(f(i);sif(i)​) for all i∈Ci \in Ci∈C and πj(C;rj)>πj(Cj;sj)\pi^j(C; r^j) > \pi^j(C^j; s^j)πj(C;rj)>πj(Cj;sj).

The salary-adjustment process (pp. 1488–1489), verbatim:

R1. Firms begin facing a set of permitted salaries sij(0)=σijs_{ij}(0) = \sigma_{ij}sij​(0)=σij​. Permitted salaries at round ttt, sij(t)s_{ij}(t)sij​(t), remain constant, except as noted below. In round zero, each firm makes offers to all workers; this is costless by (MP).

R2. On each round, each firm makes offers to the members of one of its favorite sets of workers, given the schedule of permitted salaries sj(t)≡[s1j(t),…,smj(t)]s^j(t) \equiv [s_{1j}(t), \dots, s_{mj}(t)]sj(t)≡[s1j​(t),…,smj​(t)]. That is, firm jjj makes offers to the members of Cj[sj(t)]C^j[s^j(t)]Cj[sj(t)], where Cj[sj(t)]C^j[s^j(t)]Cj[sj(t)] maximizes πj[C;sj(t)]\pi^j[C; s^j(t)]πj[C;sj(t)]. Firms may break ties between sets of workers however they like, with the following exception: Any offer made by firm jjj in round t−1t - 1t−1 that was not rejected must be repeated in round ttt. By (GS), the firm sacrifices no profits in doing this, since (by R4) other workers' permitted salaries cannot have fallen, and the salary of a worker who did not reject an offer remains constant.

R3. Each worker who receives one or more offers rejects all but his or her favorite (taking salaries into account), which he or she tentatively accepts. Workers may break ties at any time however they like.

R4. Offers not rejected in previous periods remain in force. If worker iii rejected an offer from firm jjj in round t−1t - 1t−1, sij(t)=sij(t−1)+1s_{ij}(t) = s_{ij}(t - 1) + 1sij​(t)=sij​(t−1)+1; otherwise sij(t)=sij(t−1)s_{ij}(t) = s_{ij}(t - 1)sij​(t)=sij​(t−1). Firms continue to make offers to their favorite sets of workers, taking into account their permitted salaries.

R5. The process stops when no rejections are issued in some period. Workers then accept the offers that remain in force from the firms they have not rejected.

Formalization targets

Goal: Theorem 1 (p. 1489)

"The salary-adjustment process R1–R5 converges in finite time to a discrete core allocation in the discrete market for which it is defined." Formally, under the assumptions above:

(∃ a run) ∧ ∀ρ run: (∃T: ρ issues no rejections in round T) ∧ (∀T such rounds, outcomeρ(T) is a discrete core allocation).\Big(\exists \text{ a run}\Big)\ \wedge\ \forall \rho \text{ run}:\ \Big(\exists T:\ \rho \text{ issues no rejections in round } T\Big)\ \wedge\ \Big(\forall T \text{ such rounds},\ \text{outcome}_\rho(T) \text{ is a discrete core allocation}\Big).(∃ a run) ∧ ∀ρ run: (∃T: ρ issues no rejections in round T) ∧ (∀T such rounds, outcomeρ​(T) is a discrete core allocation).

Milestones, in the paper's order

  1. R2 is well defined: a run exists (each firm has a favorite set containing its unrejected offers).
  2. Lemma 1: every worker has at least one offer in every period.
  3. Lemma 2: after finitely many rounds every worker has exactly one offer and the process stops.
  4. Lemma 3: the allocation at a stopping round is individually rational.
  5. Lemma 4: the allocation at a stopping round is a discrete core allocation.

Significance

Theorem 1 gives the existence of a core allocation in every discrete market satisfying (MP), (NFL) and (GS), with no convexity of production and arbitrary complementarity within the limits of (GS). It is the step from which the paper derives the existence of a strict core allocation of the continuous market (Theorem 2, by letting the unit shrink), and with additional no-ties assumptions the firm-optimality of the process's outcome (Theorem 4) and the comparative statics of entry and exit (Theorem 5).

The result is proved in the paper and has been reproved in more general settings; it has no machine-checked proof known to us. Nothing of this paper was on Prove2Me before this series. Related platform work, credited but not reused: the Gale–Shapley deferred-acceptance development (GS62CollegeAdmissions.*, proved), the no-money ancestor of this process; and the Shapley–Shubik assignment game (AssignmentGame.CoreLP), whose core the process approximates when production is additively separable. Neither states anything about this process. This mission is mission 1 of a series of seven on the paper: 2 (strict core of the continuous market), 3 (one-sided coalition formation), 4 (firm-optimality), 5 (comparative statics), 6 (gross substitutes and decreasing returns), 7 (a market without a core). Each states its own model.

Difficulty

The process is quantified over all tie-breakings, so no single computation settles it; the statements are about every sequence of rounds consistent with R1–R5. Two points carry the content. First, R2 imposes a constraint that may not be satisfiable: a firm must repeat its unrejected offers and choose a profit-maximizing set. Without (GS) no such set need exist and the process is not defined. Second, the core property at the stopping round compares the outcome with coalitions using salaries the process never reached; the comparison is with salaries on the discrete grid only, and it is false if coalitions may use salaries below σij\sigma_{ij}σij​ or off the grid. Termination is not automatic either: the process may continue after a round without rejections, salaries are real numbers, and no bound on the number of rounds is given.

Formalization scope

Lean representation, in namespace KelsoCrawford.Process:

  • Market W F carries u, y, σ; workers and firms are finite types, with [Nonempty F] (the paper's n≥1n \ge 1n≥1; with no firms and some worker no run exists).
  • Allocation assigns every worker to a firm (no unemployment, as in the paper's fff).
  • (GS) is GrossSubstitutesOn (M.y j) (M.gridVectors δ j) for each firm: the discrete (GS), since the paper notes that a discrete market may satisfy (GS) while its continuous version does not.
  • The core is D3 with permitted salaries M.grid δ ={σij+kδ:k∈N}= \{\sigma_{ij} + k\delta : k \in \mathbb N\}={σij​+kδ:k∈N}.
  • A Run records salaries, offers and tentative choices per round; IsRun is R1–R4, Stopped is R5's "no rejections", outcome is R5's allocation.

Explicit readings of the paper's phrases:

  • "converges in finite time" = every run has a round without rejections; no bound on that round is claimed;
  • "to a discrete core allocation" = at every round without rejections, the allocation read off is in the discrete core;
  • the unit 111 of R4 is a parameter δ>0\delta > 0δ>0 (same theorem in rescaled units);
  • σij\sigma_{ij}σij​ is data; its defining relation ui(j;σij)=ui(0;0)u^i(j;\sigma_{ij}) = u^i(0;0)ui(j;σij​)=ui(0;0) is not assumed (a more general statement).

The existence of a run is part of the goal: without it, statements about all runs would be vacuous. Fixing a tie-breaking rule would turn the statements into claims about a single run and is ruled out; so are the strict core D2 (false here because of ties at the grid) and an integer grid below σij\sigma_{ij}σij​ (false for improving coalitions). Proofs of the milestones and reusable infrastructure for ascending processes are welcome.

Selected references

  • A. S. Kelso, Jr. and V. P. Crawford, Job matching, coalition formation, and gross substitutes, Econometrica 50(6), 1982, 1483–1504. https://doi.org/10.2307/1913392
  • V. P. Crawford and E. M. Knoer, Job matching with heterogeneous firms and workers, Econometrica 49(2), 1981, 437–450. https://doi.org/10.2307/1913320
  • D. Gale and L. S. Shapley, College admissions and the stability of marriage, American Mathematical Monthly 69(1), 1962, 9–15. https://doi.org/10.2307/2312726
  • L. S. Shapley and M. Shubik, The assignment game I: The core, International Journal of Game Theory 1, 1971, 111–130. https://doi.org/10.1007/BF01753437
  • F. Gul and E. Stacchetti, Walrasian equilibrium with gross substitutes, Journal of Economic Theory 87(1), 1999, 95–124. https://doi.org/10.1006/jeth.1999.2531
  • J. W. Hatfield and P. R. Milgrom, Matching with contracts, American Economic Review 95(4), 2005, 913–935. https://doi.org/10.1257/0002828054825466
8 thms2 active usersReviewed
ProbabilityStatistics·Captain: mikedeng1

The Data-Driven Newsvendor Problem: New Bounds and Insights I: The SAA Order Is ε-Optimal with Probability at Least 1 − 2exp(−Nε²min(b,h)/((18 + 8ε)(b + h)))Research Paper

Motivation

The newsvendor problem is the basic model of stocking under uncertain demand: an order quantity is fixed before a random demand is observed, and every unit short or left over is penalized. Its solution is a quantile of the demand distribution. In practice that distribution is unknown and only a sample of past demands is available. The standard remedy, sample average approximation (SAA), replaces the expectation by the empirical average over the sample and orders the corresponding sample quantile. The practical question is how many observations make the SAA order nearly as good as the true optimum, without assuming anything about the demand distribution.

Levi, Roundy and Shmoys (Math. Oper. Res. 32(4), 2007) gave the first distribution-free answer, using Hoeffding's inequality. Levi, Perakis and Uichanco (Oper. Res. 63(6), 2015) improved it with Bernstein's inequality. The improvement matters most when the service level is high, which is the typical case in inventory practice. This mission formalizes that improved bound, Theorem 2 of the 2015 paper.

Setting

A retailer orders q∈Rq\in\mathbb Rq∈R units before a real demand DDD with law μ\muμ and cdf F(q)=Pr⁡(D≤q)F(q)=\Pr(D\le q)F(q)=Pr(D≤q) is realized. Unmet demand costs b>0b>0b>0 per unit (underage cost) and unsold stock costs h>0h>0h>0 per unit (overage cost). The expected cost is

C(q)=E[b(D−q)++h(q−D)+],C(q)=\mathbb E\big[b(D-q)^+ + h(q-D)^+\big],C(q)=E[b(D−q)++h(q−D)+],

which is finite when E∣D∣<∞\mathbb E|D|<\inftyE∣D∣<∞. The critical quantile is q∗=inf⁡{q:F(q)≥b/(b+h)}q^*=\inf\{q:F(q)\ge b/(b+h)\}q∗=inf{q:F(q)≥b/(b+h)}, and it minimizes CCC.

An order qqq is ϵ\epsilonϵ-optimal when its relative regret (C(q)−C(q∗))/C(q∗)(C(q)-C(q^*))/C(q^*)(C(q)−C(q∗))/C(q∗) is at most ϵ\epsilonϵ, i.e. C(q)≤(1+ϵ)C(q∗)C(q)\le(1+\epsilon)C(q^*)C(q)≤(1+ϵ)C(q∗). The set of such orders is SϵS_\epsilonSϵ​. The function CCC is convex with one-sided derivatives

∂+C(q)=−b+(b+h)F(q),∂−C(q)=−b+(b+h)Pr⁡(D<q).\partial_+C(q)=-b+(b+h)F(q),\qquad \partial_-C(q)=-b+(b+h)\Pr(D<q).∂+​C(q)=−b+(b+h)F(q),∂−​C(q)=−b+(b+h)Pr(D<q).

The LRS interval is

SϵLRS={q:∂−C(q)≤ϵ3min⁡(b,h) and ∂+C(q)≥−ϵ3min⁡(b,h)}.S^{LRS}_\epsilon=\Big\{q:\partial_-C(q)\le\tfrac\epsilon3\min(b,h)\ \text{and}\ \partial_+C(q)\ge-\tfrac\epsilon3\min(b,h)\Big\}.SϵLRS​={q:∂−​C(q)≤3ϵ​min(b,h) and ∂+​C(q)≥−3ϵ​min(b,h)}.

Given an i.i.d. sample D1,…,DND^1,\dots,D^ND1,…,DN from μ\muμ, the empirical cdf is F^N(q)=1N∑k1[Dk≤q]\hat F_N(q)=\frac1N\sum_k\mathbf 1[D^k\le q]F^N​(q)=N1​∑k​1[Dk≤q], and the SAA solution is the sample quantile

Q^N=inf⁡{q:F^N(q)≥b/(b+h)}.\hat Q_N=\inf\{q:\hat F_N(q)\ge b/(b+h)\}.Q^​N​=inf{q:F^N​(q)≥b/(b+h)}.

It is a random variable through the sample.

Formalization targets

Goal: Theorem 2 (improved LRS bound)

For every demand law with E∣D∣<∞\mathbb E|D|<\inftyE∣D∣<∞, every N≥1N\ge1N≥1 and every 0<ϵ≤10<\epsilon\le10<ϵ≤1,

Pr⁡(Q^N∉Sϵ)≤2exp⁡(−Nϵ218+8ϵ⋅min⁡{b,h}b+h).\Pr\big(\hat Q_N\notin S_\epsilon\big)\le 2\exp\Big(-\frac{N\epsilon^2}{18+8\epsilon}\cdot\frac{\min\{b,h\}}{b+h}\Big).Pr(Q^​N​∈/Sϵ​)≤2exp(−18+8ϵNϵ2​⋅b+hmin{b,h}​).

Milestones, in the order of the paper's proof

  1. (§2, p. 7) CCC is convex, and its one-sided derivatives are the two formulas above.
  2. (Theorem EC.1) Bernstein's inequality for i.i.d. bounded variables: Pr⁡(1N∑iXi−EX1≥t)≤exp⁡(−Nt2/(2σ2+2tc/3))\Pr\big(\frac1N\sum_iX^i-\mathbb E X^1\ge t\big)\le\exp\big(-Nt^2/(2\sigma^2+2tc/3)\big)Pr(N1​∑i​Xi−EX1≥t)≤exp(−Nt2/(2σ2+2tc/3)).
  3. (Proposition EC.1) For every γ>0\gamma>0γ>0, Pr⁡(∂−C(Q^N)≤γ and ∂+C(Q^N)≥−γ)≥1−2exp⁡(−3Nγ2/(6bh+8γ(b+h)))\Pr\big(\partial_-C(\hat Q_N)\le\gamma\text{ and }\partial_+C(\hat Q_N)\ge-\gamma\big)\ge1-2\exp\big(-3N\gamma^2/(6bh+8\gamma(b+h))\big)Pr(∂−​C(Q^​N​)≤γ and ∂+​C(Q^​N​)≥−γ)≥1−2exp(−3Nγ2/(6bh+8γ(b+h))).
  4. (Display (3)) For 0<ϵ≤10<\epsilon\le10<ϵ≤1, SϵLRS⊆SϵS^{LRS}_\epsilon\subseteq S_\epsilonSϵLRS​⊆Sϵ​.

Significance

The earlier LRS bound has the exponent −29Nϵ2(min⁡{b,h}/(b+h))2-\frac29N\epsilon^2\big(\min\{b,h\}/(b+h)\big)^2−92​Nϵ2(min{b,h}/(b+h))2. Theorem 2 replaces the square by the first power. When the critical ratio b/(b+h)b/(b+h)b/(b+h) approaches 111 (high service levels), min⁡{b,h}/(b+h)\min\{b,h\}/(b+h)min{b,h}/(b+h) is small, and the required sample size drops accordingly. Raising the service level from 95% to 99% multiplies the sample size the LRS bound requires by 25, but the sample size Theorem 2 requires only by 5 (p. 9). The bound holds for every demand distribution, with no density, continuity or support assumption.

The milestones are reusable on their own. One is the one-sided derivative formula for the expected newsvendor cost. Another is Bernstein's inequality for i.i.d. bounded variables, which Mathlib does not have; it has Hoeffding's inequality. The third is a distribution-free concentration statement for sample quantiles. The result is proved in the paper. To our knowledge none of these statements is formalized; this mission produces machine-checked versions.

Difficulty

A Hoeffding-type argument yields only the squared dependence on min⁡{b,h}/(b+h)\min\{b,h\}/(b+h)min{b,h}/(b+h). The improvement needs the variance F(1−F)F(1-F)F(1−F) of the indicator 1[D≤q]\mathbf 1[D\le q]1[D≤q], which is small near extreme quantiles. Bernstein's inequality applies at a fixed point qqq. The sample quantile, however, is random, and FFF can jump. The event that Q^N\hat Q_NQ^​N​ falls left of the target quantile therefore has to be reduced to deviations of F^N\hat F_NF^N​ at deterministic points, with care at atoms of DDD, where ∂+C\partial_+C∂+​C and ∂−C\partial_-C∂−​C differ. The final step from the derivatives to the relative regret requires convexity of CCC and a lower bound on C(q∗)C(q^*)C(q∗) that holds for every distribution.

Formalization scope

  • Model. The demand law is a probability measure μ on ℝ, with no sign restriction (the page's q≥0q\ge0q≥0 plays no role here). FFF is Mathlib's cdf μ, and Pr⁡(D<q)\Pr(D<q)Pr(D<q) is μ (Set.Iio q). The realized cost is the published InventoryControl.newsboyLoss h b q d, and CCC is a Bochner integral. Every statement that evaluates CCC assumes Integrable id μ (E∣D∣<∞\mathbb E|D|<\inftyE∣D∣<∞). This is the standing assumption under which CCC is an expectation. It also rules out the trivializing formalization in which a non-integrable cost integrates to 000 and every order is ϵ\epsilonϵ-optimal.
  • Quantiles. q∗q^*q∗ and Q^N\hat Q_NQ^​N​ are infima (sInf) of sets that are nonempty and bounded below under the hypotheses, never argmins or choice functions. The sample is x : Fin N → ℝ under the product measure Measure.pi (fun _ => μ), with N≥1N\ge1N≥1; the indices are 0-based.
  • Probabilities. "With probability at least 1−p1-p1−p" is stated as an upper bound ppp on the outer measure of the failure set.
  • ϵ\epsilonϵ-optimality is the multiplicative form C(q)≤(1+ϵ)C(q∗)C(q)\le(1+\epsilon)C(q^*)C(q)≤(1+ϵ)C(q∗), which avoids dividing by C(q∗)C(q^*)C(q∗).
  • Pinned hypotheses.
    • The goal and milestone 4 are stated for 0<ϵ≤10<\epsilon\le10<ϵ≤1. The paper says "for any ϵ>0\epsilon>0ϵ>0", but both statements fail for large ϵ\epsilonϵ. Take b=h=1b=h=1b=h=1, N=1N=1N=1 and D∈{0,M}D\in\{0,M\}D∈{0,M} with Pr⁡(D=M)=0.005\Pr(D=M)=0.005Pr(D=M)=0.005. Then q∗=0q^*=0q∗=0, and the order MMM has relative regret 198198198, yet at ϵ=150\epsilon=150ϵ=150 the bound promises a failure probability of about 1.9⋅10−41.9\cdot10^{-4}1.9⋅10−4.
    • In Theorem EC.1, the centred bound ∣X1−EX1∣≤c|X^1-\mathbb EX^1|\le c∣X1−EX1∣≤c is added to the printed ∣X1∣≤c|X^1|\le c∣X1∣≤c. It holds for the indicators to which the paper applies the inequality.

A complete development needs the following:

  • the one-sided derivatives of a convex integral functional;
  • Bernstein's inequality for product measures;
  • the quantile-to-cdf reduction for the empirical and the true cdf;
  • the convexity estimate behind (3).

The Bernstein inequality and the sample-quantile concentration are useful beyond this mission. Contributions to any milestone are welcome.

Selected references

  • R. Levi, G. Perakis, J. Uichanco, The Data-Driven Newsvendor Problem: New Bounds and Insights, Operations Research 63(6), 2015. https://doi.org/10.1287/opre.2015.1422. Statements are cited from the authors' accepted manuscript (MIT DSpace), body pp. 7–9 and e-companion pp. ec5–ec6.
  • R. Levi, R. O. Roundy, D. B. Shmoys, Provably Near-Optimal Sampling-Based Policies for Stochastic Inventory Control Models, Mathematics of Operations Research 32(4), 2007. https://doi.org/10.1287/moor.1070.0272
  • S. N. Bernstein, Theory of Probability, Moscow, 1927.
  • P. H. Zipkin, Foundations of Inventory Management, McGraw-Hill, 2000.
7 thms2 active usersReviewed
Combinatorics·Captain: mikedeng1

Sequencing Jobs to Minimize Total Weighted Completion Time Subject to Precedence Constraints 1: The Series-Parallel Algorithm Returns an Optimal SequenceResearch Paper

Motivation

Sequencing jobs on one machine to minimize the total weighted completion time ∑jwjCj\sum_j w_jC_j∑j​wj​Cj​ is one of the basic problems of scheduling theory. Without precedence constraints it is solved by Smith's ratio rule (1956): sequence the jobs in nonincreasing order of wj/pjw_j/p_jwj​/pj​. With arbitrary precedence constraints the problem is NP-hard, as Lawler shows in the same report. Between these two extremes lies the class of series parallel precedence constraints, which covers chains, rooted trees and their nested combinations, and which is exactly the class that can be assembled from single jobs by "all of this before all of that" and "this independently of that".

Lawler's report (IRIA-LABORIA No. 205, 1976; Annals of Discrete Mathematics 2, 1978) gives an O(nlog⁡n)O(n\log n)O(nlogn) algorithm for this class, once a decomposition of the constraints is known. It is the standard reference for the polynomial case of 1 ∣ prec ∣ ∑wjCj1\,|\,\mathrm{prec}\,|\,\sum w_jC_j1∣prec∣∑wj​Cj​.

Timeline.

  • 1956, Smith: the ratio rule, no precedence constraints.
  • 1964, Conway, Maxwell and Miller: parallel chains with unit weights.
  • 1971–1973, Baker, Horn, Adolphson and Hu: rooted trees, in O(nlog⁡n)O(n\log n)O(nlogn).
  • 1975, Sidney: job modules and ρ\rhoρ-maximal initial sets, for arbitrary precedence constraints, without an efficient method to find them.
  • 1976/1978, Lawler: series parallel constraints in O(nlog⁡n)O(n\log n)O(nlogn); NP-completeness for arbitrary constraints.

Setting

There are nnn jobs, forming a finite set NNN, to be processed by a single machine. Precedence constraints are given by an acyclic digraph G=(N,A)G=(N,A)G=(N,A): job iii must precede job jjj if there is a directed path from iii to jjj. Job jjj has a processing time pj>0p_j>0pj​>0 and a real weight wjw_jwj​ (of either sign). A feasible sequence lists every job once and never puts a job before one that must precede it. The machine starts at time 000 without idle time, so the completion time CjC_jCj​ of job jjj is the sum of the processing times of jjj and the jobs before it. The cost of a sequence is ∑j∈NwjCj\sum_{j\in N} w_jC_j∑j∈N​wj​Cj​, and an optimal sequence is a feasible sequence of minimum cost.

A transitive series parallel digraph is built from single nodes by series composition (N1∪N2, A1∪A2∪N1×N2)(N_1\cup N_2,\ A_1\cup A_2\cup N_1\times N_2)(N1​∪N2​, A1​∪A2​∪N1​×N2​) and parallel composition (N1∪N2, A1∪A2)(N_1\cup N_2,\ A_1\cup A_2)(N1​∪N2​, A1​∪A2​) of digraphs on disjoint node sets. GGG is series parallel if its transitive closure is transitive series parallel. A decomposition tree records such a construction: its leaves are the jobs, and its internal nodes are marked SSS (left son before right son) or PPP.

Sidney's theory works with three notions. A nonempty M⊆NM\subseteq NM⊆N is a module if every job outside MMM must precede all of MMM, must follow all of MMM, or is unconstrained with respect to all of MMM. A subset I⊆MI\subseteq MI⊆M is an initial set of MMM if it contains, with each of its jobs, every job of MMM that must precede it. With

ρ(I)=∑j∈Iwj∑j∈Ipj,\rho(I)=\frac{\sum_{j\in I}w_j}{\sum_{j\in I}p_j},ρ(I)=∑j∈I​pj​∑j∈I​wj​​,

an initial set I∗I^*I∗ is ρ\rhoρ-maximal if ρ(I∗)≥ρ(I)\rho(I^*)\ge\rho(I)ρ(I∗)≥ρ(I) for every initial set III of MMM.

A composite job is a sequence of jobs treated as one job whose weight and processing time are the sums over its jobs. Lawler's algorithm works bottom-up on the decomposition tree and represents an optimal sequence for each node's module as a set of composite jobs: a leaf gives its job, a PPP-node the union of its sons' sets, and an SSS-node the output of the series procedure (Steps 1–3, p. 11), which absorbs elements of M1M_1M1​ and M2M_2M2​ into a composite job k=(i,k)k=(i,k)k=(i,k) or k=(k,j)k=(k,j)k=(k,j) until the ratios separate.

Formalization targets

Goal: the algorithm is correct

For a decomposition tree TTT of GGG and any run of the algorithm on TTT producing the set FFF of composite jobs, every arrangement LLL of FFF in nonincreasing ratio order, with each composite job expanded into its sequence, is an optimal sequence:

flatten⁡(L) is an optimal sequence for N.\operatorname{flatten}(L)\ \text{is an optimal sequence for } N .flatten(L) is an optimal sequence for N.

Ties, both in the algorithm's choice of minimal and maximal elements and in the final sort, may be broken arbitrarily.

Milestones

  1. Subtrees are modules (p. 7): the leaves of any subtree of a decomposition tree form a module.
  2. Theorem 1 (p. 7): an optimal sequence for a module extends to an optimal sequence for NNN in which the module's jobs keep their order.
  3. Existence (Definition 3, p. 8): every module has a ρ\rhoρ-maximal initial set.
  4. Theorem 2 (p. 8): for a ρ\rhoρ-maximal initial set III of a module MMM, some optimal sequence for NNN runs III consecutively, before all other jobs of MMM.
  5. Ratio order (p. 10): composite jobs in nonincreasing ratio order cost no more than in any other order.
  6. Parallel composition (p. 10): the union of two representing sets represents the parallel composition.
  7. Series composition, separated ratios (p. 10): if every ratio in M1M_1M1​ exceeds every ratio in M2M_2M2​, the union represents the series composition.
  8. Series composition, Steps 1–3 (pp. 10–11): the output of the series procedure represents the series composition.

A companion theorem states that the algorithm always has a run.

Significance

The result places 1 ∣ prec ∣ ∑wjCj1\,|\,\mathrm{prec}\,|\,\sum w_jC_j1∣prec∣∑wj​Cj​ with series parallel constraints in polynomial time. Sidney's module and ρ\rhoρ-maximal initial set machinery, which it uses, is the decomposition later used in approximation algorithms for general precedence constraints; Theorems 1 and 2 hold for arbitrary acyclic constraints.

The algorithm and Sidney's theorems are proved in the literature; none of them has a machine-checked proof. The report proves Theorems 1 and 2 by citation to Sidney's 25 lemmas and argues the algorithm's correctness informally in a few paragraphs. A formal development supplies the missing invariants (what exactly is preserved at each node of the tree) and checks that arbitrary tie-breaking is harmless.

Difficulty

The algorithm's correctness rests on an invariant the page states only in passing: that composite jobs behave as single jobs. Read literally, "nonincreasing ratio order is optimal for M1M_1M1​ and for M2M_2M2​" does not imply the same for their parallel composition. A composite job of two unconstrained jobs can be optimal on its own module yet blocks a better interleaving once another module is added. The invariant that makes the induction go through is that every composite job is a ρ\rhoρ-maximal initial set of itself, and the series procedure must be shown to preserve it while merging. The second difficulty is Theorems 1 and 2 themselves: exchange arguments over sequences of a whole module, with real weights of either sign, under arbitrary acyclic constraints.

Formalization scope

Jobs have a type ι\iotaι with decidable equality; NNN is a Finset ι; the arcs are a relation G : ι → ι → Prop with endpoints in NNN, acyclic in the sense that no job reaches itself by a path, and "must precede" is Relation.TransGen G. Processing times are positive on NNN, weights are arbitrary reals. The objective and optimality are the published SingleMachinePrec.Biclique.WeightedCompletion; feasibility is checked against the arcs of GGG, which for a sequence listing each job once is the same as against its paths. "Optimal for MMM" uses the job set MMM.

The decomposition tree is an inductive SPTree with leaves, SSS-nodes and PPP-nodes. It is tied to GGG by three hypotheses: its leaves are distinct, they are exactly NNN, and on NNN the transitive closure of GGG equals the arc relation of the transitive series parallel digraph the tree builds. Composite jobs are lists of jobs, sets of composite jobs are lists of lists, and their ratio is ∑w/∑p\sum w/\sum p∑w/∑p over the list. The algorithm is an inductive relation (Run, SeriesMerge, SeriesLoop), so every tie-breaking is a run. The dummies of ratio ±∞\pm\infty±∞ in Step 1 become vacuous conditions on empty sets.

Committed conventions and disclosed deviations:

  • Lean evaluates 0/0=00/0=00/0=0, so ρ(∅)=0\rho(\emptyset)=0ρ(∅)=0; ρ\rhoρ-maximality compares nonempty initial sets only and requires the maximal set to be nonempty, and composite jobs are nonempty.
  • Modules use the disjunction of (4.1)–(4.3); for acyclic GGG and nonempty MMM this is the page's "exactly one".
  • "Represents an optimal sequence" includes the composite invariant (every nonempty proper prefix has ratio at most the whole). Without it the parallel and series milestones are false.
  • In the parallel and series milestones, M1M_1M1​, M2M_2M2​ and M1∪M2M_1\cup M_2M1​∪M2​ are assumed to be modules, as on the page (the sons of a node of the decomposition tree and the node itself). Without this, a path through a job outside M1∪M2M_1\cup M_2M1​∪M2​ could constrain two of its jobs while feasibility on M1∪M2M_1\cup M_2M1​∪M2​ does not see it, and the series milestone would be false.
  • The introduction's "nondecreasing order of the ratios" (p. 1) is a slip for the nonincreasing order used in §5; the formalization uses nonincreasing.

The goal assumes nothing about modules, Theorem 2 or subtrees, only the tree, the data and a run, and the companion theorem shows that runs exist, so the goal is neither trivial nor vacuous.

Needed infrastructure: exchange arguments for ∑wjCj\sum w_jC_j∑wj​Cj​ on lists, restriction of sequences to modules, induction over decomposition trees. Theorems 1 and 2 and the ratio-order lemma are reusable in any 1 ∣ prec ∣ ∑wjCj1\,|\,\mathrm{prec}\,|\,\sum w_jC_j1∣prec∣∑wj​Cj​ development. Proofs of any milestone, and of the goal from the milestones, are welcome.

Selected references

  • E. L. Lawler, Sequencing jobs to minimize total weighted completion time subject to precedence constraints, IRIA-LABORIA Rapport de Recherche No. 205, December 1976. https://hal.science/hal-04716371v1. Journal version: Annals of Discrete Mathematics 2 (1978), 75–90. https://doi.org/10.1016/S0167-5060(08)70323-6
  • J. B. Sidney, Decomposition algorithms for single-machine sequencing with precedence relations and deferral costs, Operations Research 23 (1975), 283–298. https://doi.org/10.1287/opre.23.2.283
  • W. E. Smith, Various optimizers for single-stage production, Naval Research Logistics Quarterly 3 (1956), 59–66. https://doi.org/10.1002/nav.3800030106
  • J. Valdes, R. E. Tarjan, E. L. Lawler, The recognition of series parallel digraphs, SIAM Journal on Computing 11 (1982), 298–313. https://doi.org/10.1137/0211023
11 thms2 active usersReviewed
CombinatoricsProbability·Captain: mikedeng1

Subadditive Ergodic Theory 6: The Ulam–Hammersley Constant of the Longest Increasing Subsequence Satisfies (8/π)^{1/2} ≤ c ≤ δ^{1/2} + δ^{−1/2}Research Paper

Motivation

Ulam asked, in the early 1960s, how long the longest increasing subsequence of a random permutation typically is. The question is a test case for a whole class of problems in combinatorial probability: a quantity defined by an optimisation over exponentially many configurations (here, all subsequences) whose typical size has to be found without enumerating them. The same structure appears in last-passage percolation, in the patience-sorting card game, in sequence comparison, and in scheduling problems where the longest chain of a random partial order determines a makespan.

J. F. C. Kingman's IMS Special Invited Paper Subadditive ergodic theory (Ann. Probab. 1 (1973), 883–899) presents Ulam's problem in §2.4 as an application of the subadditive ergodic theorem, following J. M. Hammersley, and then proves explicit bounds on the limiting constant. This mission formalizes those bounds.

Timeline.

  • Ulam (1961) raised the question and conjectured, from simulations, that the typical length grows like a constant times n\sqrt nn​.
  • Erdős and Szekeres (1935) had already shown deterministically that every permutation of nnn elements has an increasing or a decreasing subsequence of length at least n\sqrt nn​.
  • Hammersley (A few seedlings of research, Proc. Sixth Berkeley Symp. 1 (1972), 345–394) proved, by embedding the permutation in a planar Poisson process and applying a subadditivity argument, that n−1/2n^{-1/2}n−1/2 times the length converges in probability to a constant ccc, and showed 12π≤c≤e\tfrac12\pi\le c\le e21​π≤c≤e.
  • Kingman (1973), the paper of this mission, refined the bounds to (8/π)1/2≤c≤δ1/2+δ−1/2(8/\pi)^{1/2}\le c\le\delta^{1/2}+\delta^{-1/2}(8/π)1/2≤c≤δ1/2+δ−1/2, that is 1.59<c<2.491.59<c<2.491.59<c<2.49.
  • Logan and Shepp (1977) and Vershik and Kerov (1977) later identified the constant exactly. That later work is not part of this mission.

Setting

Let Sn\mathcal S_nSn​ be the group of permutations of {1,2,…,n}\{1,2,\dots,n\}{1,2,…,n}. For σ∈Sn\sigma\in\mathcal S_nσ∈Sn​, a sequence of positions 1≤i1<i2<⋯<ik≤n1\le i_1<i_2<\dots<i_k\le n1≤i1​<i2​<⋯<ik​≤n is ascending if σ(i1)<σ(i2)<⋯<σ(ik)\sigma(i_1)<\sigma(i_2)<\dots<\sigma(i_k)σ(i1​)<σ(i2​)<⋯<σ(ik​). The length of the longest ascending sequence, l(σ)l(\sigma)l(σ), is the largest such kkk.

The uniform distribution on Sn\mathcal S_nSn​ gives each of the n!n!n! permutations probability 1/n!1/n!1/n!, so an event A⊆SnA\subseteq\mathcal S_nA⊆Sn​ has probability P{A}=∣A∣/n!P\{A\}=|A|/n!P{A}=∣A∣/n!. Let πn\pi_nπn​ denote a permutation drawn from this distribution. The sequence n−1/2 l(πn)n^{-1/2}\,l(\pi_n)n−1/2l(πn​) converges in probability to a real number ccc if, for every ε>0\varepsilon>0ε>0,

P{∣n−1/2 l(πn)−c∣>ε}→0(n→∞).P\{|n^{-1/2}\,l(\pi_n)-c|>\varepsilon\}\to0\qquad(n\to\infty).P{∣n−1/2l(πn​)−c∣>ε}→0(n→∞).

For integers k≥1k\ge1k≥1, νk(σ)\nu_k(\sigma)νk​(σ) denotes the number of ascending sequences of length kkk in σ\sigmaσ. For 0<α<b0<\alpha<b0<α<b write

E(α,b)=2α+(b−α)log⁡(b−α)−αlog⁡α−blog⁡b,E(\alpha,b)=2\alpha+(b-\alpha)\log(b-\alpha)-\alpha\log\alpha-b\log b ,E(α,b)=2α+(b−α)log(b−α)−αlogα−blogb,

the exponent appearing in Kingman's condition (2.4.8). (The paper calls the second variable β\betaβ; in Lean it is bbb, because β\betaβ also names the constant below.)

Formalization targets

Goal: Theorem 8

Let ccc be the limit in probability of n−1/2l(πn)n^{-1/2}l(\pi_n)n−1/2l(πn​). Let δ\deltaδ be the unique positive root of log⁡(1+δ)=2δ/(1+δ)\log(1+\delta)=2\delta/(1+\delta)log(1+δ)=2δ/(1+δ), and β=δ1/2+δ−1/2\beta=\delta^{1/2}+\delta^{-1/2}β=δ1/2+δ−1/2. Then

(8π)1/2≤c≤β(2.4.4)\Big(\frac8\pi\Big)^{1/2}\le c\le\beta \tag{2.4.4}(π8​)1/2≤c≤β(2.4.4)

and hence

1.59<c<2.49.(2.4.5)1.59<c<2.49. \tag{2.4.5}1.59<c<2.49.(2.4.5)

Numerically δ≈3.9216\delta\approx3.9216δ≈3.9216 and β≈2.4853\beta\approx2.4853β≈2.4853. The goal states (2.4.4) and (2.4.5) as printed, together with the existence and uniqueness of δ\deltaδ.

Milestones

  1. Theorem 7 (Hammersley). There is an absolute constant ccc such that n−1/2l(πn)→cn^{-1/2}l(\pi_n)\to cn−1/2l(πn​)→c in probability.
  2. The double integral of the lower-bound argument: ∫0∞ ⁣∫0∞x e−12(x+y)2 dx dy=(π/8)1/2\int_0^\infty\!\int_0^\infty x\,e^{-\frac12(x+y)^2}\,dx\,dy=(\pi/8)^{1/2}∫0∞​∫0∞​xe−21​(x+y)2dxdy=(π/8)1/2.
  3. First moment of ν\nuν: for k≥1k\ge1k≥1, E(νk)=(nk)(k!)−1E(\nu_k)=\binom nk(k!)^{-1}E(νk​)=(kn​)(k!)−1.
  4. Subsequence count: if l(σ)≥kl(\sigma)\ge kl(σ)≥k then νk(σ)≥(l(σ)k)\nu_k(\sigma)\ge\binom{l(\sigma)}kνk​(σ)≥(kl(σ)​).
  5. (2.4.7): for 1≤k≤r1\le k\le r1≤k≤r, P{l(π)≥r}≤(nk)[k!(rk)]−1P\{l(\pi)\ge r\}\le\binom nk\big[k!\binom rk\big]^{-1}P{l(π)≥r}≤(kn​)[k!(kr​)]−1.
  6. (2.4.8): if 0<α<b0<\alpha<b0<α<b and E(α,b)<0E(\alpha,b)<0E(α,b)<0, then P{l(π)≥b n1/2}→0P\{l(\pi)\ge b\,n^{1/2}\}\to0P{l(π)≥bn1/2}→0.
  7. The optimisation: inf⁡{b>0:∃α∈(0,b), E(α,b)<0}=δ1/2+δ−1/2\inf\{b>0:\exists\alpha\in(0,b),\ E(\alpha,b)<0\}=\delta^{1/2}+\delta^{-1/2}inf{b>0:∃α∈(0,b), E(α,b)<0}=δ1/2+δ−1/2.

Significance

The result. Theorem 8 was, at the time, the sharpest rigorous information about Ulam's constant. Its upper bound comes from a first-moment computation that applies to any random structure in which long increasing chains can be counted; the same calculation bounds the longest chain in random partial orders and the height of random kkk-dimensional orders. The lower bound shows that a greedy path through a Poisson process already achieves a positive fraction of the optimum, an argument reused for last-passage percolation models.

Formalizing it. All results here are proved in the literature; none is open. To the best of our knowledge none of them has been machine-checked. A complete development produces: an exact non-asymptotic tail bound on the longest increasing subsequence ((2.4.7)), useful on its own; a Stirling-type asymptotic for products of binomial coefficients at scale n\sqrt nn​; and, through Theorem 7, a formal existence proof of the Ulam constant. Theorem 7 is the substantial piece: the paper's proof is a sketch through a continuous-parameter subadditive ergodic theorem and a planar Poisson process.

Difficulty

The upper bound needs care with asymptotics: (2.4.7) holds for each nnn, but the passage to (2.4.8) uses Stirling's formula with kkk and rrr integers tending to infinity at rate n\sqrt nn​, and the infimum in milestone 7 is not attained (the admissible set is open), so the argument must produce, for every b>βb>\betab>β, a suitable α\alphaα.

The lower bound is where the obvious approach fails. A first-moment or counting argument gives only upper bounds on lll; a lower bound requires exhibiting long ascending sequences. The paper's argument does this with a greedy path in a planar Poisson process, which is not a statement about uniform permutations and needs the Poissonization of Theorem 7 to transfer back. Proving c≥(8/π)1/2c\ge(8/\pi)^{1/2}c≥(8/π)1/2 directly from the counting definition of lll is not available. Both bounds also need the existence of ccc, which is Theorem 7.

Formalization scope

  • Sn\mathcal S_nSn​ is Equiv.Perm (Fin n); the permutation is named σ\sigmaσ in Lean because π\piπ is Real.pi.
  • l(σ)l(\sigma)l(σ) is the largest cardinality of a finite set of positions on which σ\sigmaσ is strictly increasing; νk(σ)\nu_k(\sigma)νk​(σ) is the number of such sets with exactly kkk elements.
  • Probabilities under the uniform law are proportions ∣A∣/n!|A|/n!∣A∣/n!. Convergence in probability depends only on the law of each πn\pi_nπn​ (the paper notes this on p. 895), so no common probability space is introduced. Time is n∈Nn\in\mathbb Nn∈N, and at n=0n=0n=0 Lean reads l/0l/\sqrt0l/0​ as 000, which does not affect a limit.
  • The constant of Theorem 8 enters as a hypothesis: the goal is stated for every real ccc to which n−1/2l(πn)n^{-1/2}l(\pi_n)n−1/2l(πn​) converges in probability. Such a limit is unique, and Theorem 7 shows it exists. No sign or bound on ccc is assumed. The goal and milestone 7 assert that the positive root δ\deltaδ exists and is unique, so the upper bound cannot hold vacuously for want of a root.
  • The double integral is stated as a value only; the claim that it is the mean of i.i.d. increments of a Poisson greedy path is not formalized.

Needed infrastructure: counting arguments on Finset.powersetCard; Stirling's formula (Mathlib has Stirling.tendsto_stirlingSeq_sqrt_pi); elementary calculus for the root δ\deltaδ; Gaussian-type integrals on the quadrant. Theorem 7 additionally needs Poisson point processes in the plane, which Mathlib lacks, or another route to the existence of the limit. Contributions of that infrastructure are welcome and reusable well beyond this mission. The counting bounds (milestones 3–5) are independent of Theorem 7 and are a natural first target.

Selected references

  • J. F. C. Kingman, Subadditive ergodic theory, Annals of Probability 1(6) (1973), 883–899. https://doi.org/10.1214/aop/1176996798
  • J. M. Hammersley, A few seedlings of research, Proc. Sixth Berkeley Symposium on Mathematical Statistics and Probability, Vol. 1 (1972), 345–394. https://projecteuclid.org/euclid.bsmsp/1200514101
  • S. M. Ulam, Monte Carlo calculations in problems of mathematical physics, in Modern Mathematics for the Engineer, Second Series, McGraw-Hill (1961), 261–281.
  • P. Erdős and G. Szekeres, A combinatorial problem in geometry, Compositio Mathematica 2 (1935), 463–470. http://www.numdam.org/item/CM_1935__2__463_0/
9 thms2 active usersReviewed
Dynamical SystemsProbabilityStochastic Systems·Captain: mikedeng1

Subadditive Ergodic Theory 3: A Separable Continuous-Parameter Subadditive Process with E(Ω_I) < ∞ Has x₀ₜ/t → ξ with Probability One and in Mean, E(ξ) = γResearch Paper

Motivation

Many random growth models attach a cost, distance, or accumulated quantity to each time interval. If the quantity over a long interval is at most the sum over two adjacent intervals, it is subadditive. A stable rate over long intervals is useful even when the underlying random system does not have a simple independent-increment description. Kingman's 1973 account places percolation and products of random matrices among the applications of this framework. Its basic theorem treats integer time; the present mission concerns the change to every nonnegative real time. Kingman, §1.1 and §1.4.

The change matters because observing a process at integer times can miss arbitrarily large behavior between observations. Kingman gives a smooth stationary-increment example in Theorem 3 where no prescribed increasing bound eventually controls the values at all real times. Theorem 4 gives a condition that does control this local behavior. These two results together explain why the continuous-time statement needs more than a formal change of index type. Kingman, Theorems 3–4.

Setting

Work on a probability space (S,F,P)(S,\mathcal F,P)(S,F,P). A continuous-parameter subadditive process is a family of real random variables xstx_{st}xst​ indexed by 0≤s<t0\le s<t0≤s<t. It satisfies xsu≤xst+xtux_{su}\le x_{st}+x_{tu}xsu​≤xst​+xtu​ whenever 0≤s<t<u0\le s<t<u0≤s<t<u. Its stationarity says that, for every real shift τ≥0\tau\ge0τ≥0, the complete shifted family (xs+τ,t+τ)s<t(x_{s+\tau,t+\tau})_{s<t}(xs+τ,t+τ​)s<t​ has the same joint distribution as (xst)s<t(x_{st})_{s<t}(xst​)s<t​. Finally, the mean gt=E(x0t)g_t=E(x_{0t})gt​=E(x0t​) exists as a finite real number for each t>0t>0t>0 and obeys gt≥−Atg_t\ge-Atgt​≥−At for one constant AAA. These are the continuous-time versions of Kingman's conditions S₁, S₂, and S₃. Equality of the law of each individual coordinate would be too weak for S₂. Kingman, pp. 883–884, 887.

For an interval I⊆[0,∞)I\subseteq[0,\infty)I⊆[0,∞), the oscillation is ΩI=sup⁡s<t, s,t∈I∣xst∣\Omega_I=\sup_{s<t,\,s,t\in I}|x_{st}|ΩI​=sups<t,s,t∈I​∣xst​∣. A process has the local oscillation condition when E(ΩI)<∞E(\Omega_I)<\inftyE(ΩI​)<∞ for one nondegenerate interval III. In §1.4 the paper states that this condition then holds on every bounded interval. The quantity γ=inf⁡t>0gt/t\gamma=\inf_{t>0}g_t/tγ=inft>0​gt​/t is the mean growth rate. Kingman, (1.4.1), (1.4.6)–(1.4.7).

The paper also requires separability. Here this means that, outside one probability-zero set, the value at every admissible pair of times can be approached along a sequence from a fixed countable dense set of pairs. It is a condition on how the uncountable family is observed, and it permits discontinuous sample paths. Kingman cites the standard separability convention without defining it in §1.4; the mission makes the convention explicit. Kingman, Theorem 4 and following discussion.

Formalization targets

Theorem 4: convergence at all real times

For a separable process satisfying S₁–S₃ and the local oscillation condition, the target is an integrable real random variable ξ\xiξ such that

x0tt⟶ξalmost surely and in L1(P)(t→∞, t∈R),E(ξ)=γ=inf⁡u>0guu.\frac{x_{0t}}{t}\longrightarrow\xi\quad\text{almost surely and in }L^1(P) \quad(t\to\infty,\ t\in\mathbb R), \qquad E(\xi)=\gamma=\inf_{u>0}\frac{g_u}{u}.tx0t​​⟶ξalmost surely and in L1(P)(t→∞, t∈R),E(ξ)=γ=u>0inf​ugu​​.

The time variable ranges over all real values tending to infinity. The integer-time assertion (1.4.8) is a separate milestone, not the goal. Other milestones identify the deterministic mean rate, extend the oscillation condition to bounded intervals, record the bounds at times between consecutive integers, and state the vanishing of normalized unit-interval oscillation. Each comes from a sentence or display in §1.4. Kingman, Theorem 4 and proof.

Significance

Theorem 4 gives a long-run rate for a broad stationary subadditive family without assuming that its trajectories are continuous or differentiable. Its mean statement identifies the expectation of the random limit with a deterministic infimum of normalized expectations. The paper notes that the usual continuous-time ergodic theorem for additive integral processes is a corollary, because such processes satisfy its oscillation condition. The condition is therefore compatible with familiar additive models while also covering discontinuous subadditive ones. Kingman, p. 890.

The theorem and its argument are known from the paper; this mission asks for a machine-checked development of the stated result. A completed development would provide reusable formal interfaces for joint-law stationarity of an uncountable family, separability, extended-valued oscillations, and almost-sure plus L1L^1L1 limits. The proposed theorem statements compile as open goals; compiling them does not prove them. Kingman, §1.4.

Difficulty

An integer-time subadditive theorem controls x0n/nx_{0n}/nx0n​/n only on its discrete skeleton. It cannot by itself rule out large values of x0t/tx_{0t}/tx0t​/t for times between consecutive integers; Theorem 3 shows that such behavior can occur even with smooth stationary sample paths and finite expectations. A continuous-time result must control local variation as the observation window moves to large times. The uncountable supremum in ΩI\Omega_IΩI​ also needs a genuine extended value and a measurability convention. Kingman, Theorems 3–4.

The paper's displayed assertion (1.4.1), that gt/tg_t/tgt​/t converges as real t→∞t\to\inftyt→∞ under S₁–S₃ alone, needs qualification: a discontinuous additive function can make a deterministic subadditive mean with no such limit. The corresponding milestone includes the finite-oscillation condition assumed by Theorem 4. This correction is disclosed in the theorem's formalization note. Kingman, (1.4.1), (1.4.7).

Formalization scope

Lean indexes the family by R→R→S→R\mathbb R\to\mathbb R\to S\to\mathbb RR→R→S→R and uses only 0≤s<t0\le s<t0≤s<t; values at other pairs carry no meaning. Each valid coordinate is measurable. S₁ is pointwise in the sample point, while S₂ is equality of the probability laws of the complete path before and after every nonnegative real shift. S₃ states integrability of x0tx_{0t}x0t​ for every t>0t>0t>0 and one linear lower bound on its mean. The sample-space type is called SSS so that ΩI\Omega_IΩI​ denotes oscillation without ambiguity.

Oscillation is valued in the extended nonnegative reals. Thus an unbounded supremum is infinite, and the expected-oscillation condition cannot hold because of a default real-supremum value. Separability is the countable graph-approximation condition outside one measurable null set. The premise is finiteness on one closed interval [a,b][a,b][a,b] with 0≤a<b0\le a<b0≤a<b; the propagation milestone covers bounded intervals with either choice of endpoints. The limit in Theorem 4 uses the filter at infinity on real time. Its almost-sure convergence and convergence in mean are separate clauses, and ξ\xiξ is integrable. No continuity of paths, ergodicity, or independence is assumed.

A complete proof may build on Mathlib's measure theory, filters, Borel–Cantelli lemmas, and real analysis. The process and oscillation definitions, along with the finite-oscillation and skeleton statements, are reusable beyond this particular theorem. Contributions that establish these interfaces and the named intermediate statements are within scope. A statement limited to integer times, a marginal-only version of stationarity, or a real supremum that returns a default value on an unbounded set would not express this target.

Selected references

  • J. F. C. Kingman, Subadditive ergodic theory, The Annals of Probability 1(6):883–899, 1973. DOI: 10.1214/aop/1176996798.
7 thms2 active usersReviewed
CombinatoricsTheoretical Computer Science·Captain: mikedeng1

Flowshop and Jobshop Schedules: Complexity and Approximation 2: The 3-Partition Flow Shop on Three Machines Has a Preemptive Schedule of Finish Time 2tB Iff a 3-Partition ExistsResearch Paper

Motivation

A flow shop is the simplest multi-stage production model: every job passes through the same machines in the same order, and the question is how to sequence the work so that everything is finished as early as possible. Gonzalez and Sahni's 1978 paper in Operations Research settled the computational complexity of the preemptive version of this problem, in which a task may be interrupted and resumed later on the same machine. For two machines the optimal finish time is computed by Johnson's rule, and preemption does not help. The paper shows that with three machines the preemptive problem is already NP-complete, and its second result, Theorem 2, strengthens this to NP-completeness in the strong sense: the problem stays hard even when the task times are written in unary.

Strong NP-completeness matters because it rules out a pseudo-polynomial algorithm, one whose running time is polynomial in the sum of the task lengths. The preemptive three-machine flow shop (F3∣pmtn∣Cmax⁡F3\mid pmtn\mid C_{\max}F3∣pmtn∣Cmax​ in later notation) is a standard entry in complexity classifications of scheduling problems, and Theorem 2 is the reference for its status. The paper notes that Garey and Johnson obtained a proof independently.

Timeline. Johnson (1954) solved the two-machine flow shop. Garey, Johnson and Sethi (1976) proved the non-preemptive three-machine flow shop NP-complete in the strong sense. Gonzalez and Sahni (1978) treated the preemptive case: Theorem 1 (ordinary NP-completeness via Partition) and Theorem 2 (strong NP-completeness via 3-Partition), the subject of this mission.

Setting

A flow shop has m≥1m\ge 1m≥1 processors P1,…,PmP_1,\dots,P_mP1​,…,Pm​ and a finite set of jobs. Task jjj of job iii runs on PjP_jPj​ and takes time tj,i≥0t_{j,i}\ge 0tj,i​≥0; zero times are allowed. For each job, task j≥2j\ge 2j≥2 can begin only after task j−1j-1j−1 has been completed, and schedules start at time 000.

A preemptive schedule is given, as in the paper's footnote on p. 40, by finitely many pieces (s,f)(s,f)(s,f) per task: the task is processed on its processor during [s,f)[s,f)[s,f). Pieces have 0≤s<f0\le s<f0≤s<f, pieces on the same processor do not overlap, the pieces of a task have total length tj,it_{j,i}tj,i​, and a piece of task j′j'j′ starts only after every piece of every earlier task j<j′j<j'j<j′ of the same job has ended. A task has no preemption when it is processed in at most one piece; a non-preemptive schedule has no preemption anywhere. The completion time of job iii is fi(S)f_i(S)fi​(S), the end of its last piece, and the finish time is FT(S)=max⁡ifi(S)FT(S)=\max_i f_i(S)FT(S)=maxi​fi​(S).

3-Partition. An instance C=(a1,…,as,B)C=(a_1,\dots,a_s,B)C=(a1​,…,as​,B), s=3ts=3ts=3t, consists of a positive integer BBB and nonnegative integers aia_iai​ with ∑iai=tB\sum_i a_i=tB∑i​ai​=tB and B/4<ai<B/2B/4<a_i<B/2B/4<ai​<B/2. It has a 3-partition if {1,…,s}\{1,\dots,s\}{1,…,s} splits into ttt disjoint sets L1,…,LtL_1,\dots,L_tL1​,…,Lt​, each of three elements with ∑j∈Lkaj=B\sum_{j\in L_k}a_j=B∑j∈Lk​​aj​=B.

The instance FS. From CCC the proof of Lemma 4 builds a three-processor flow shop with s+t+2s+t+2s+t+2 jobs:

  • jobs 1,…,s1,\dots,s1,…,s: times (ai, 0, ai)(a_i,\,0,\,a_i)(ai​,0,ai​) on (P1,P2,P3)(P_1,P_2,P_3)(P1​,P2​,P3​);
  • job s+1s+1s+1: (0, 2B, B)(0,\,2B,\,B)(0,2B,B);
  • jobs s+i+1s+i+1s+i+1, 1≤i≤t−21\le i\le t-21≤i≤t−2: (B, 2B, B)(B,\,2B,\,B)(B,2B,B);
  • job s+ts+ts+t: (B, 2B, 0)(B,\,2B,\,0)(B,2B,0);
  • job s+t+1s+t+1s+t+1: (0, 0, B)(0,\,0,\,B)(0,0,B);
  • job s+t+2s+t+2s+t+2: (B, 0, 0)(B,\,0,\,0)(B,0,0).

Each processor carries total work exactly 2tB2tB2tB, and the threshold is τ=2tB\tau=2tBτ=2tB.

Formalization targets

Goal: Theorem 2, as Lemma 4's equivalence

For every 3-Partition instance CCC with t≥2t\ge 2t≥2,

∃ S preemptive schedule of FS: FT(S)≤2tB⟺C has a 3-partition,\exists\,S \text{ preemptive schedule of } FS:\ FT(S)\le 2tB \quad\Longleftrightarrow\quad C \text{ has a 3-partition},∃S preemptive schedule of FS: FT(S)≤2tB⟺C has a 3-partition,

and every task time of FSFSFS satisfies tj,i≤2Bt_{j,i}\le 2Btj,i​≤2B. The second clause records that the instance's numbers are bounded by those of CCC, the reduction's contribution to "the problem size being measured as the sum of the length of the tasks".

Milestones

  1. Lemma 3 (p. 40). For a flow shop with m≥1m\ge 1m≥1 processors, every preemptive schedule SSS can be replaced by a schedule S′S'S′ with no preemptions on P1P_1P1​ and on PmP_mPm​ and FT(S′)=FT(S)FT(S')=FT(S)FT(S′)=FT(S).
  2. Lemma 4(a) (p. 41). If CCC has a 3-partition, FSFSFS has a non-preemptive schedule with FT≤2tBFT\le 2tBFT≤2tB.
  3. First step of Lemma 4(b) (pp. 41–42). In every preemptive schedule of FSFSFS with FT≤2tBFT\le 2tBFT≤2tB, the jobs among 1,…,s1,\dots,s1,…,s whose P1P_1P1​ task is completed by time 2B2B2B have ∑t1,i=B\sum t_{1,i}=B∑t1,i​=B.
  4. Lemma 4(b) (pp. 41–42). If CCC has no 3-partition, every preemptive schedule of FSFSFS has FT>2tBFT>2tBFT>2tB.

Significance

The result. Theorem 2 places the preemptive three-machine flow shop among the strongly NP-hard scheduling problems, so no algorithm polynomial in the number of jobs and the total processing time exists unless P = NP. It also shows that allowing preemption, which makes several single-stage problems (such as P∣pmtn∣Cmax⁡P\mid pmtn\mid C_{\max}P∣pmtn∣Cmax​) easy, does not help for three-stage flow shops. Lemma 3, that preemptions on the first and last machines can be removed without changing the finish time, holds for any number of machines and is a reusable structural fact about flow-shop schedules.

Formalizing it. The result is proved on paper, and its proof of the "only if" direction is an informal busy-processor argument repeated window by window. As far as is known, no part of it has a machine-checked proof. A formal development has to make the interval accounting rigorous: why each processor is busy throughout [0,2tB][0,2tB][0,2tB], why exactly BBB units of element jobs end on P1P_1P1​ by 2B2B2B, and how the argument restarts on [2B,2tB][2B,2tB][2B,2tB]. Lemma 3 needs an exchange argument on piece representations. Both are new for the platform.

Difficulty

The direction "3-partition ⇒\Rightarrow⇒ schedule" is a direct construction. The hard direction is the converse. Preemption lets any task be split across many intervals, so the usual non-preemptive arguments, which reason about the order in which whole tasks run, do not apply directly. The paper's argument that the window [0,2B][0,2B][0,2B] must contain exactly three element jobs of total BBB on P1P_1P1​ depends on every processor being continuously busy, and turning "otherwise there is idle time" into a precise statement requires a careful account of which jobs are available to each processor at each moment. The induction on windows is then not a literal restriction of the schedule to a smaller instance, because pieces may cross the boundary at 2B2B2B.

Formalization scope

  • Times are real numbers; the 3-Partition data are natural numbers cast to R\mathbb RR. Processors are Fin m with P1=P_1=P1​= 0; in FSFSFS, P1,P2,P3P_1,P_2,P_3P1​,P2​,P3​ are 0, 1, 2.
  • The 3-Partition instance is the published ResourceScheduling.Chain.ThreePartition (0-based indices, t parts, b =B=B=B, Valid, HasSolution), whose definition is the paper's p. 37 problem.
  • Preemptive schedules are finite sets of pieces per task; precedence is required between every pair of tasks j<j′j<j'j<j′ of a job, so a zero task occupies no time and does not break the job's order. Finish time is a maximum over jobs with baseline 000, never an unattained supremum.
  • "No preemptions on PjP_jPj​" means at most one piece per task on PjP_jPj​.
  • Not formalized: "NP-complete", the reduction symbol ∝\propto∝, "the problem size being measured as the sum of the length of the tasks", and Lemma 2 (membership in NP). The goal states the equivalence Lemma 4 proves for the constructed instance, plus the bound tj,i≤2Bt_{j,i}\le 2Btj,i​≤2B on its task times.
  • Added hypothesis: t≥2t\ge 2t≥2. For t<2t<2t<2 the paper's job indices s+1s+1s+1 and s+ts+ts+t coincide with conflicting times, so the construction is undefined there.
  • The first step of Lemma 4(b) is read as: the sum of t1,it_{1,i}t1,i​ over element jobs whose P1P_1P1​ task has completed by time 2B2B2B equals BBB.
  • A trivializing formalization is ruled out: the schedules quantified over are all preemptive schedules of the specific instance FS(C)FS(C)FS(C), the threshold 2tB2tB2tB is explicit, and the validity conditions B/4<ai<B/2B/4<a_i<B/2B/4<ai​<B/2 are kept, so the schedule side cannot match the weaker "partition into ttt groups of sum BBB".

Contributions welcome: the interval-accounting lemmas (busy processors, work available before a time), Lemma 3's exchange argument, and the schedule of Figure 2.

Selected references

  • T. Gonzalez, S. Sahni, Flowshop and Jobshop Schedules: Complexity and Approximation, Operations Research 26(1):36–52, 1978. https://doi.org/10.1287/opre.26.1.36
  • M. R. Garey, D. S. Johnson, R. Sethi, The Complexity of Flowshop and Jobshop Scheduling, Mathematics of Operations Research 1(2):117–129, 1976. https://doi.org/10.1287/moor.1.2.117
  • S. M. Johnson, Optimal two- and three-stage production schedules with setup times included, Naval Research Logistics Quarterly 1(1):61–68, 1954. https://doi.org/10.1002/nav.3800010110
  • M. R. Garey, D. S. Johnson, "Strong" NP-Completeness Results: Motivation, Examples, and Implications, Journal of the ACM 25(3):499–508, 1978. https://doi.org/10.1145/322077.322090
8 thms2 active usersReviewed
Dynamic ProgrammingLinear OptimizationMarkov Chain+1·Captain: mikedeng1

Linear Programming and Finite Markovian Control Problems VII: Bias Optimality — Four Equivalent Characterizations of a Bias Optimal Pure Stationary PolicyTextbook

Why bias optimality matters

A finite Markov decision problem can have several policies with the same long-run average reward even though they behave differently before reaching a recurrent class. Average reward discards a finite initial advantage: dividing total reward by the horizon sends any fixed transient contribution to zero. In applications where the process runs for a long but unspecified time, this leaves a genuine choice among average-optimal policies. Bias optimality uses discounted values as the discount factor approaches one to resolve that choice. Kallenberg develops the criterion in Chapter 5 of Linear Programming and Finite Markovian Control Problems, following Blackwell's earlier notion of a nearly optimal policy.

The chapter asks for a way to recognize a bias optimal policy without comparing it directly with every possible sequence of history-dependent, randomized decisions. Its central characterization, Theorem 5.2.2, gives three tests involving only pure stationary policies. That change in the comparison class matters: there are finitely many pure stationary rules, while a general policy may depend on an unbounded history. The theorem also explains why average optimality alone leaves policies untied only at the gain level, while their bias vectors can differ. The two-state example in Figure 5.2.1 exhibits an average-optimal stationary rule that is not bias optimal (Kallenberg, pp. 163–164).

The finite decision model

The state space is E={1,…,N}E=\{1,\ldots,N\}E={1,…,N} with N>0N>0N>0. Each state iii has its own finite, nonempty set A(i)A(i)A(i) of admissible actions. Choosing a∈A(i)a\in A(i)a∈A(i) earns the real reward riar_{ia}ria​ immediately and moves to state jjj with probability piajp_{iaj}piaj​. The rows are stochastic: piaj≥0p_{iaj}\ge0piaj​≥0 and ∑jpiaj=1\sum_jp_{iaj}=1∑j​piaj​=1. This is the chapter's standing assumption, stated at the opening of §5.2 (Kallenberg, p. 162).

A policy R∈CR\in CR∈C assigns a probability distribution on the actions available at the current state after every finite history. Thus CCC includes randomized and history-dependent decisions. A pure stationary policy f∞∈CDf^\infty\in C_Df∞∈CD​ instead fixes one action f(i)∈A(i)f(i)\in A(i)f(i)∈A(i) for each state and uses it in every period. Time starts at t=1t=1t=1. From initial state iii, let vit(R)v_i^t(R)vit​(R) be expected reward in period ttt, and let viα(R)=∑t≥1αt−1vit(R)v_i^\alpha(R)=\sum_{t\ge1}\alpha^{t-1}v_i^t(R)viα​(R)=∑t≥1​αt−1vit​(R) be expected discounted reward for 0≤α<10\le\alpha<10≤α<1. The optimal discounted value viαv_i^\alphaviα​ is the supremum of viα(R)v_i^\alpha(R)viα​(R) over all R∈CR\in CR∈C, taken separately for each state.

The average reward is ϕi(R)=lim inf⁡T→∞T−1∑t=1Tvit(R)\phi_i(R)=\liminf_{T\to\infty}T^{-1}\sum_{t=1}^T v_i^t(R)ϕi​(R)=liminfT→∞​T−1∑t=1T​vit​(R); its optimal value ϕi\phi_iϕi​ is again the statewise supremum over CCC. The corresponding limsup is ϕ^i(R)\hat\phi_i(R)ϕ^​i​(R). A policy is average optimal when ϕi(R)=ϕi\phi_i(R)=\phi_iϕi​(R)=ϕi​ at every state. It is bias optimal when viα(R)−viα→0v_i^\alpha(R)-v_i^\alpha\to0viα​(R)−viα​→0 as α↑1\alpha\uparrow1α↑1 at every state (Kallenberg, pp. 21–23 and 161).

For a pure stationary fff, write P(f)ij=pi,f(i),jP(f)_{ij}=p_{i,f(i),j}P(f)ij​=pi,f(i),j​ and r(f)i=ri,f(i)r(f)_i=r_{i,f(i)}r(f)i​=ri,f(i)​. The stationary matrix P∗(f)P^*(f)P∗(f) is the Cesàro limit of the powers of P(f)P(f)P(f). The deviation matrix and bias vector are

D(f)=(I−P(f)+P∗(f))−1−P∗(f),u(f∞)=D(f)r(f).D(f)=\bigl(I-P(f)+P^*(f)\bigr)^{-1}-P^*(f), \qquad u(f^\infty)=D(f)r(f).D(f)=(I−P(f)+P∗(f))−1−P∗(f),u(f∞)=D(f)r(f).

The gain of f∞f^\inftyf∞ is ϕ(f∞)=P∗(f)r(f)\phi(f^\infty)=P^*(f)r(f)ϕ(f∞)=P∗(f)r(f). These are the book's Definitions 2.4.2 and notation (2.5.5), and their finite stochastic-matrix properties are recorded in Theorem 2.4.1 (Kallenberg, pp. 29 and 33–34).

Formalization targets

The goal is Theorem 5.2.2, for each pure stationary f∗∞f_*^\inftyf∗∞​. It asserts that the following are equivalent: (i) f∗∞f_*^\inftyf∗∞​ is bias optimal against the value over all CCC; (ii) for every f∞∈CDf^\infty\in C_Df∞∈CD​, the vector limit lim⁡α↑1(vα(f∗∞)−vα(f∞))\lim_{\alpha\uparrow1}\bigl(v^\alpha(f_*^\infty)-v^\alpha(f^\infty)\bigr)limα↑1​(vα(f∗∞​)−vα(f∞)) exists and is nonnegative; (iii) f∗∞f_*^\inftyf∗∞​ is average optimal and, at every state iii, its bias is maximal among pure stationary policies optimal at that state; and (iv) for every f∞∈CDf^\infty\in C_Df∞∈CD​, the vector limit

lim⁡T→∞1T∑t=1T∑s=1t(vs(f∗∞)−vs(f∞))≥0\lim_{T\to\infty}\frac1T\sum_{t=1}^T\sum_{s=1}^t \bigl(v^s(f_*^\infty)-v^s(f^\infty)\bigr)\ge0T→∞lim​T1​t=1∑T​s=1∑t​(vs(f∗∞​)−vs(f∞))≥0

exists. These limits are read in the extended reals: a strictly positive gain gap makes a difference tend to +∞+\infty+∞, which satisfies the displayed inequality. The period rewards vsv^svs in the last formula are not discounted values. The printed clause (iii) has a typographical error in the set following max; its proof on p. 164 supplies the intended restriction ϕi(f∞)=ϕi\phi_i(f^\infty)=\phi_iϕi​(f∞)=ϕi​. The formal statement uses that reading and records it explicitly.

Two earlier chapter results are milestones. Lemma 5.2.1 bounds the Abel limsup (1−α)viα(R)(1-\alpha)v_i^\alpha(R)(1−α)viα​(R) by the upper average reward ϕ^i(R)\hat\phi_i(R)ϕ^​i​(R) for any policy. Theorem 5.2.1 says that bias optimality implies average optimality, with a two-state example showing that average optimality does not imply bias optimality. The later §5.3 linear-programming construction is a separate route to finding a bias optimal policy and is outside this mission's statement layer.

What the characterization gives

The equivalence allows bias optimality to be checked through discounted differences, bias vectors, or accumulated period rewards. Its bias-vector clause identifies the relevant comparison set: a policy can be optimal in average reward at one state without being optimal at every state, and that statewise distinction cannot be discarded. It also makes the bias criterion finer than average optimality, as the two-state counterexample shows (Kallenberg, pp. 163–165).

The source proves these results; the mission asks for machine-checked proofs of the stated equivalence and its two supporting results. The finite history and reward definitions can support later formalizations of Kallenberg's average-reward and constrained models. The matrix definitions can also be reused for results about finite Markov chains, including the Cesàro limit and deviation matrix. No machine-checked proof of this specific four-way characterization is claimed here.

Where the difficulty lies

Comparing average rewards alone loses the transient reward information that bias is designed to retain. The discounted comparison has an apparent divergence of order (1−α)−1(1-\alpha)^{-1}(1−α)−1 whenever two policies have different gains; the finite residual becomes meaningful only after those gain terms are separated. The accumulated-reward test also takes a second Cesàro average, so a direct identification with ordinary average reward would miss its bias contribution. The theorem has to preserve both the gain ordering and the finite bias remainder across these limiting regimes (Kallenberg, pp. 164–165).

For a general policy, the discounted value is defined by infinitely many history-dependent choices, whereas P∗P^*P∗ and DDD apply to one fixed stationary matrix. This is the obstacle in passing from clause (i), which compares with all CCC, to the tests against CDC_DCD​. Treating the optimal discounted value as a supremum over stationary policies by definition would erase that obstacle and change the theorem.

Formalization scope

Lean uses Fin N with N>0N>0N>0 for states and a finite action type with nonempty state-dependent admissible subsets. Rewards are real, transition rows are stochastic, and policies are distributions on actions after complete finite histories. The finite sum of products defining each history's probability supplies vit(R)v_i^t(R)vit​(R); no measure-theoretic path space is needed. Discounted rewards use a real infinite sum for α\alphaα near one from below. Average rewards are real liminf and limsup values of bounded sequences. Optimal values are statewise suprema over all admissible policies, not over just CDC_DCD​.

The matrix P∗P^*P∗ is a Cesàro limit and DDD uses the book's inverse formula. Their convergence and nonsingularity for finite stochastic matrices are mathematical obligations, not added assumptions of the goal. The T=0T=0T=0 value of a totalized average and the value of a discounted sum outside its summable range do not enter the limits. Contributions to the finite-chain limit facts, boundedness of reward criteria, the Abel/Cesàro comparison, and the four equivalences are all within scope. A formalization that restricts the optimum in bias optimality to pure stationary policies would not be this theorem.

Selected references

  • L. C. M. Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam, 1983. Publisher repository.
  • David Blackwell, “Discrete Dynamic Programming,” Annals of Mathematical Statistics 33 (1962), 719–726. DOI.
8 thms2 active usersReviewed
Dynamic ProgrammingLinear OptimizationMarkov Chain·Captain: mikedeng1

Linear Programming and Markov Decision Chains 3: The Representative of a Pure Stationary Policy Is an Extreme Point of the Dual LPResearch Paper

Linear programs for average-reward Markov decision chains

A Markov decision chain is a controlled Markov chain: in each state the controller picks an action, collects a reward and moves to a random next state with probabilities that depend on the state and the action. Under the average reward criterion, the long-run reward per step, an optimal policy can be computed by linear programming. For chains in which every stationary policy has a single recurrent class (the unichain case) this goes back to Manne (1960), de Ghellinck (1960) and d'Epenoux (1960): the variables of the dual linear program are long-run state–action frequencies, and the vertices of its feasible set are exactly the pure stationary policies.

In the general multichain case a policy may split the state space into several recurrent classes with transient states between them, and the frequency picture breaks down. Denardo and Fox (1968) and Denardo (1970) gave linear programs that require solving several programs in sequence. Hordijk and Kallenberg (Management Science 25(4), 1979) showed that one pair of dual linear programs suffices: from an optimal dual solution one reads off an average optimal policy (their Theorems 7 and 8). To make the correspondence between policies and dual solutions explicit, they attach to every stationary policy a representative, a particular feasible solution of the dual program, and prove (Theorem 10) that the representative of a pure stationary policy is a vertex of the feasible set. This mission formalizes Theorem 10.

Timeline:

  • 1960: Manne; de Ghellinck; d'Epenoux. The linear program for unichain average-reward problems, with pure policies at the vertices.
  • 1962: Blackwell. The limit matrix P∗P^*P∗ and deviation matrix DDD of a finite stochastic matrix, and their identities (Ann. Math. Statist. 33).
  • 1968–1970: Denardo and Fox; Denardo. Multichain problems by a sequence of linear programs.
  • 1979: Hordijk and Kallenberg. A single dual pair for the multichain case; representatives of stationary policies; Theorem 10.

Setting

The state space EEE is finite. Each state iii has a finite nonempty set A(i)A(i)A(i) of actions; action aaa in state iii earns riar_{ia}ria​ and moves to jjj with probability piaj≥0p_{iaj}\ge 0piaj​≥0, ∑jpiaj=1\sum_j p_{iaj}=1∑j​piaj​=1. Fix weights βj>0\beta_j>0βj​>0 with ∑jβj=1\sum_j\beta_j=1∑j​βj​=1.

The dual linear program has one pair of variables xia,yiax_{ia},y_{ia}xia​,yia​ for each state iii and each admissible action a∈A(i)a\in A(i)a∈A(i). Its feasible set consists of the (x,y)(x,y)(x,y) with

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

A pure stationary policy f∞f^\inftyf∞ uses the action f(i)∈A(i)f(i)\in A(i)f(i)∈A(i) whenever the chain is in state iii. Its transition matrix is P(f)=(pif(i)j)P(f)=(p_{if(i)j})P(f)=(pif(i)j​). For a stochastic matrix PPP, the limit matrix P∗=lim⁡n1n∑k=1nPk−1P^*=\lim_n\frac1n\sum_{k=1}^nP^{k-1}P∗=limn​n1​∑k=1n​Pk−1 exists, and the deviation matrix is D=(I−P+P∗)−1−P∗D=(I-P+P^*)^{-1}-P^*D=(I−P+P∗)−1−P∗. A state is recurrent if every state reachable from it can reach it back, and transient otherwise; the set TTT collects the transient states, and the states reachable from a recurrent state form an ergodic set. Write E1,…,EmE_1,\dots,E_mE1​,…,Em​ for the ergodic sets of P(f)P(f)P(f).

The representative of f∞f^\inftyf∞ is

xia(f)=[βTP∗(f)]i δaf(i),yia(f)=[βTD(f)+γTP∗(f)]i δaf(i),x_{ia}(f)=[\beta^TP^*(f)]_i\,\delta_{af(i)},\qquad y_{ia}(f)=[\beta^TD(f)+\gamma^TP^*(f)]_i\,\delta_{af(i)},xia​(f)=[βTP∗(f)]i​δaf(i)​,yia​(f)=[βTD(f)+γTP∗(f)]i​δaf(i)​,

with γl=0\gamma_l=0γl​=0 for l∈Tl\in Tl∈T and, for l∈Ejl\in E_jl∈Ej​, γl=max⁡i∈Ej(−∑kβkdki)/∑k∈Ejpki∗\gamma_l=\max_{i\in E_j}\big(-\sum_k\beta_kd_{ki}\big)\big/\sum_{k\in E_j}p^*_{ki}γl​=maxi∈Ej​​(−∑k​βk​dki​)/∑k∈Ej​​pki∗​. The paper defines the same formulas for randomized stationary policies π\piπ, with πia\pi_{ia}πia​ in place of δaf(i)\delta_{af(i)}δaf(i)​.

Formalization targets

Goal: Theorem 10 (p. 361)

(x(f),y(f)) is an extreme point of the feasible set of the dual linear program(x(f),y(f))\ \text{is an extreme point of the feasible set of the dual linear program}(x(f),y(f)) is an extreme point of the feasible set of the dual linear program

for every finite Markov decision chain, every positive probability vector β\betaβ and every pure stationary policy f∞f^\inftyf∞. The statement contains feasibility of the representative.

Milestones

  1. §3.3, pp. 359–360: the representative (x(π),y(π))(x(\pi),y(\pi))(x(π),y(π)) of any stationary policy is feasible.
  2. Proof of Theorem 10, p. 362: for a stochastic PPP, every solution of xT(I−P)=0x^T(I-P)=0xT(I−P)=0, xT+yT(I−P)=βTx^T+y^T(I-P)=\beta^TxT+yT(I−P)=βT (system (7)) satisfies xT=βTP∗x^T=\beta^TP^*xT=βTP∗ and yT=βTD+yTP∗y^T=\beta^TD+y^TP^*yT=βTD+yTP∗.
  3. Proof of Theorem 10, p. 362: such a solution has yi=(βTD)iy_i=(\beta^TD)_iyi​=(βTD)i​ for i∈Ti\in Ti∈T.
  4. Proof of Theorem 10, p. 362: on each ergodic set EkE_kEk​ of P(f)P(f)P(f) there is a state i(k)i(k)i(k) with yi(k)f(i(k))(f)=0y_{i(k)f(i(k))}(f)=0yi(k)f(i(k))​(f)=0.
  5. Proof of Theorem 10, p. 362 (Chung, p. 33): a row vector zzz with zi=∑l∈Ekzlpliz_i=\sum_{l\in E_k}z_lp_{li}zi​=∑l∈Ek​​zl​pli​ on an ergodic set EkE_kEk​ that vanishes at one state of EkE_kEk​ vanishes on all of EkE_kEk​.

Significance

Theorem 10 is the vertex half of the policy–solution correspondence of Hordijk and Kallenberg: every pure stationary policy appears as a basic feasible solution of one linear program, in the multichain case and without any communication assumption. It connects the simplex method on that program with the set of pure policies, and it is a building block for the later literature on linear programming for multichain Markov decision problems. The paper also records that the converse fails: an extreme point may induce a randomized policy.

The result is proved in the paper. As far as is known it has not been machine-checked. A formal proof also checks the exact form of γ\gammaγ: the paper prints the denominator of γl\gamma_lγl​ as ∑kpki∗\sum_k p^*_{ki}∑k​pki∗​, a sum over all states, and with that reading the representative is not feasible as soon as transient states feed an ergodic set (two states, 0→1→10\to1\to10→1→1: y1=−β0/2y_1=-\beta_0/2y1​=−β0​/2). The denominator ∑k∈Ejpki∗\sum_{k\in E_j}p^*_{ki}∑k∈Ej​​pki∗​ is the one the paper's own feasibility computation on p. 360 uses, and it is the one stated here.

Difficulty

Feasibility is a calculation with the identities PP∗=P∗P=P∗P∗=P∗PP^*=P^*P=P^*P^*=P^*PP∗=P∗P=P∗P∗=P∗ and (I−P)D=I−P∗(I-P)D=I-P^*(I−P)D=I−P∗. Extremality is the substance. Restricted to the pairs (i,f(i))(i,f(i))(i,f(i)), the constraints become the square system (7) in the state variables, and system (7) determines xxx and the transient part of yyy, but on each ergodic set it determines yyy only up to adding a multiple of the stationary distribution of that class: the matrix I−PI-PI−P is singular, with one degree of freedom per ergodic set. The naive argument, that the equality constraints alone pin the point down, therefore fails as soon as there is an ergodic set; the extra information has to come from the nonnegativity constraints, and that is why the exact value of γ\gammaγ matters. In the general multichain setting this requires the class structure of a finite Markov chain (closed classes, transient states, the support of P∗P^*P∗, uniqueness of invariant vectors on a closed communicating class), little of which is in Mathlib in usable form.

Formalization scope

  • The model is the published MarkovDecisionProcesses.StationaryMDP: finite states, finite actions, admissible sets A(i)A(i)A(i) (nonempty), transition probabilities nonnegative with unit row sums. P∗P^*P∗ and DDD are the published limitMatrix and deviationMatrix of Blackwell's Lemma 1, whose identities are the open platform theorems BlackwellDiscreteDP.NearOne.lemma_1a and lemma_1d.
  • The dual variables are functions on the subtype of admissible state–action pairs, so non-admissible actions have no coordinates. The feasible set is a subset of (Pair→R)×(Pair→R)(\mathrm{Pair}\to\mathbb R)\times(\mathrm{Pair}\to\mathbb R)(Pair→R)×(Pair→R) and "extreme point" is Mathlib's Set.extremePoints ℝ. Membership in it includes feasibility.
  • Row vectors act by vecMul. Recurrence and accessibility are the published IsRecurrent and Accessible; the ergodic set of a recurrent lll is the set of states accessible from lll. The maximum in γ\gammaγ is a Finset.sup' over that finite nonempty set.
  • γ\gammaγ uses the corrected denominator ∑k∈Ejpki∗\sum_{k\in E_j}p^*_{ki}∑k∈Ej​​pki∗​. A formalization with γ=0\gamma=0γ=0, or one in which the non-admissible coordinates of the program are free, is a different and false or trivial statement and is ruled out.
  • Stationary randomized rules are nonnegative weights on A(i)A(i)A(i) summing to one; the pure rule of fff is the indicator of f(i)f(i)f(i).
  • Useful contributions: the class decomposition of a finite stochastic matrix (closed classes, pki∗=0p^*_{ki}=0pki∗​=0 for transient iii, positivity of pii∗p^*_{ii}pii∗​ on recurrent states), uniqueness of invariant vectors on a closed communicating class, and proofs of Blackwell's Lemma 1(a), 1(d). All of these are reusable beyond this mission.

Selected references

  • A. Hordijk and L. C. M. Kallenberg, Linear Programming and Markov Decision Chains, Management Science 25(4):352–362, 1979. https://doi.org/10.1287/mnsc.25.4.352
  • D. Blackwell, Discrete Dynamic Programming, Annals of Mathematical Statistics 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • K. L. Chung, Markov Chains with Stationary Transition Probabilities, Springer, 1960. https://doi.org/10.1007/978-3-642-49686-8
  • E. V. Denardo, On Linear Programming in a Markov Decision Problem, Management Science 16(5):281–288, 1970. https://doi.org/10.1287/mnsc.16.5.281
  • E. V. Denardo and B. L. Fox, Multichain Markov Renewal Programs, SIAM Journal on Applied Mathematics 16(3):468–487, 1968. https://doi.org/10.1137/0116038
  • A. S. Manne, Linear Programming and Sequential Decisions, Management Science 6(3):259–267, 1960. https://doi.org/10.1287/mnsc.6.3.259
9 thms2 active usersReviewed
Convex OptimizationLinear OptimizationOptimization·Captain: mikedeng1

The Ellipsoid Method and Its Consequences in Combinatorial Optimization: With a Weak Separation Oracle, the Rounded Ellipsoid Method Is ε-Optimal After N = 4n²⌈log(2R²‖c‖/(rε))⌉ StepsResearch Paper

Motivation

The ellipsoid method decides questions about a convex set K⊆RnK \subseteq \mathbb{R}^nK⊆Rn by maintaining an ellipsoid that contains the relevant part of KKK and shrinking it step by step. Introduced for convex minimization by Yudin and Nemirovskii and by Shor in the 1970s, it became famous in 1979 when Khachiyan used it to show that linear programming is solvable in polynomial time. Grötschel, Lovász and Schrijver (Combinatorica 1 (1981)) observed that the method never needs an explicit description of KKK: it only needs, for a query point yyy, either a confirmation that yyy is (nearly) in KKK or a hyperplane (nearly) separating yyy from KKK. From this they derived that optimization and separation are polynomially equivalent for convex bodies, which in turn gives polynomial algorithms for problems with exponentially many constraints: matroid intersection, submodular function minimization, and the stable set problem in perfect graphs.

The engine of all of these applications is a single quantitative statement, Theorem (2.4) of the paper: with a weak separation oracle and with all numbers rounded to a fixed number of binary digits, a prescribed number NNN of ellipsoid steps produces an ε\varepsilonε-optimal point.

Timeline. 1976–1977: Yudin–Nemirovskii and Shor, the method for convex programming. 1979: Khachiyan, polynomial-time linear programming. 1981: Gács–Lovász publish a complete proof of Khachiyan's result with the explicit rounded update; Grötschel–Lovász–Schrijver state and prove the weak-oracle version, Theorem (2.4), and its combinatorial consequences; Bland–Goldfarb–Todd survey the method (Oper. Res. 29 (1981)). 1988: the monograph of Grötschel, Lovász and Schrijver (Springer) gives the full theory of weak oracles.

Setting

All norms are Euclidean: ∥v∥=vTv\|v\| = \sqrt{v^{\mathsf T}v}∥v∥=vTv​, and for a symmetric matrix ∥A∥\|A\|∥A∥ is the largest absolute eigenvalue. S(a0,ρ)S(a_0,\rho)S(a0​,ρ) is the closed Euclidean ball of radius ρ\rhoρ about a0a_0a0​, and S(K,δ)S(K,\delta)S(K,δ) the set of points within distance δ\deltaδ of KKK.

A convex body (K,a0,r,R)(K, a_0, r, R)(K,a0​,r,R) consists of a compact convex K⊆RnK\subseteq\mathbb{R}^nK⊆Rn, n≥2n\ge 2n≥2, and 0<r≤R0<r\le R0<r≤R with

S(a0,r)⊆K⊆S(a0,R).S(a_0,r)\subseteq K\subseteq S(a_0,R).S(a0​,r)⊆K⊆S(a0​,R).

A weak separation oracle with precision δ>0\delta>0δ>0 answers a query yyy either with "y∈S(K,δ)y\in S(K,\delta)y∈S(K,δ)", or with a vector ddd, ∥d∥≥1\|d\|\ge 1∥d∥≥1, such that dTx≤dTy+δd^{\mathsf T}x\le d^{\mathsf T}y+\deltadTx≤dTy+δ for all x∈Kx\in Kx∈K.

Given an objective ccc and an accuracy ε>0\varepsilon>0ε>0 (with ε<r\varepsilon<rε<r and ∥c∥≥1\|c\|\ge 1∥c∥≥1), set

N=4n2⌈log⁡2R2∥c∥rε⌉,δ=R2 4−N300n,p=5N.N = 4n^2\left\lceil \log\frac{2R^2\|c\|}{r\varepsilon}\right\rceil,\qquad \delta = \frac{R^2\,4^{-N}}{300n},\qquad p = 5N .N=4n2⌈logrε2R2∥c∥​⌉,δ=300nR24−N​,p=5N.

Start from x0=a0x_0=a_0x0​=a0​, A0=R2IA_0=R^2IA0​=R2I. At step kkk query the oracle at xkx_kxk​. If it answers "feasible", kkk is a feasible index and a=ca=ca=c; otherwise a=−da=-da=−d. Put bk=Aka/aTAkab_k = A_ka/\sqrt{a^{\mathsf T}A_ka}bk​=Ak​a/aTAk​a​ and

xk∗=xk+1n+1bk,Ak∗=2n2+32n2(Ak−2n+1bkbkT),x_k^* = x_k+\frac{1}{n+1}b_k,\qquad A_k^* = \frac{2n^2+3}{2n^2}\Bigl(A_k-\frac{2}{n+1}b_kb_k^{\mathsf T}\Bigr),xk∗​=xk​+n+11​bk​,Ak∗​=2n22n2+3​(Ak​−n+12​bk​bkT​),

and obtain xk+1x_{k+1}xk+1​, Ak+1A_{k+1}Ak+1​ by rounding xk∗x_k^*xk∗​, Ak∗A_k^*Ak∗​ to ppp binary digits, keeping Ak+1A_{k+1}Ak+1​ symmetric. The ellipsoids are Ek={x:(x−xk)TAk−1(x−xk)≤1}E_k=\{x : (x-x_k)^{\mathsf T}A_k^{-1}(x-x_k)\le 1\}Ek​={x:(x−xk​)TAk−1​(x−xk​)≤1}, and KkK_kKk​ is the set of points of KKK whose objective value is at least that of every feasible centre found before step kkk.

In Lean, IsRoundedRun K c a₀ R δ p N x A feas a d records exactly these conditions, Kk is KkK_kKk​, and EkE_kEk​ is the published LinearOptimization.ellipsoid (x k) (A k).

Formalization targets

Goal: Theorem (2.4)

If j<Nj<Nj<N is a feasible index whose centre is best among the feasible centres, cTxj=max⁡{cTxk:k<N feasible}c^{\mathsf T}x_j=\max\{c^{\mathsf T}x_k : k<N \text{ feasible}\}cTxj​=max{cTxk​:k<N feasible}, then

cTxj ≥ max⁡x∈KcTx−ε.c^{\mathsf T}x_j \ \ge\ \max_{x\in K} c^{\mathsf T}x - \varepsilon .cTxj​ ≥ x∈Kmax​cTx−ε.

The statement is for every run, i.e. for every sequence of valid oracle answers and every admissible rounding.

Milestones, in attack order

  1. (13): the explicit inverse (Ak∗)−1=2n22n2+3(Ak−1+2n−1aaTaTAka)(A_k^*)^{-1}=\frac{2n^2}{2n^2+3}\bigl(A_k^{-1}+\frac{2}{n-1}\frac{aa^{\mathsf T}}{a^{\mathsf T}A_ka}\bigr)(Ak∗​)−1=2n2+32n2​(Ak−1​+n−12​aTAk​aaaT​), and Ak∗≻0A_k^*\succ 0Ak∗​≻0.
  2. Lemma (2.1): A0,…,ANA_0,\dots,A_NA0​,…,AN​ are positive definite, ∥xk∥≤∥a0∥+R2k\|x_k\|\le\|a_0\|+R2^k∥xk​∥≤∥a0​∥+R2k, ∥Ak∥≤R22k\|A_k\|\le R^22^k∥Ak​∥≤R22k, ∥Ak−1∥≤R−24k\|A_k^{-1}\|\le R^{-2}4^k∥Ak−1​∥≤R−24k.
  3. Lemma (2.2): μ(Ek+1)<e−1/(5n)μ(Ek)\mu(E_{k+1}) < e^{-1/(5n)}\mu(E_k)μ(Ek+1​)<e−1/(5n)μ(Ek​).
  4. Lemma (2.3): Kk⊆EkK_k\subseteq E_kKk​⊆Ek​ for k=0,…,Nk=0,\dots,Nk=0,…,N.
  5. (32): μ(KN)≤μ(EN)≤e−N/(4n)μ(E0)=e−N/(4n)RnVn\mu(K_N)\le\mu(E_N)\le e^{-N/(4n)}\mu(E_0)=e^{-N/(4n)}R^nV_nμ(KN​)≤μ(EN​)≤e−N/(4n)μ(E0​)=e−N/(4n)RnVn​.
  6. (34): the piece above the level ttt of the cone with base the rrr-disc through x0x_0x0​ orthogonal to ccc and apex y∈Ky\in Ky∈K has volume Vn−1rn−1(ζ−cTx0)n∥c∥(ζ−tζ−cTx0)n\frac{V_{n-1}r^{n-1}(\zeta-c^{\mathsf T}x_0)}{n\|c\|}\bigl(\frac{\zeta-t}{\zeta-c^{\mathsf T}x_0}\bigr)^nn∥c∥Vn−1​rn−1(ζ−cTx0​)​(ζ−cTx0​ζ−t​)n, which bounds μ({z∈K:cTz≥t})\mu(\{z\in K: c^{\mathsf T}z\ge t\})μ({z∈K:cTz≥t}) from below.

Significance

Theorem (2.4) turns any weak separation procedure for a convex body into a weak optimization procedure, with a number of oracle calls and a numerical precision polynomial in nnn, log⁡R\log RlogR, log⁡(1/r)\log(1/r)log(1/r), log⁡∥c∥\log\|c\|log∥c∥ and log⁡(1/ε)\log(1/\varepsilon)log(1/ε). This is the "only if" half of the paper's Theorem (3.1), and through it the source of the polynomial algorithms of Chapters 4–6 of the paper and of the 1988 monograph. Its rounding analysis is what makes the method an algorithm on finite-precision numbers rather than an argument about exact real arithmetic.

The result is proved, and has been for over forty years. What this mission adds is a machine-checked proof of the rounded, weak-oracle version, including the error analysis that the paper compresses into "rounding errors can be estimated similarly". Related items already on the platform formalize exact-arithmetic ellipsoid methods: Bertsimas–Tsitsiklis's central-cut method for polyhedra (LinearOptimization.ellipsoid_method_correct, proved) and Bubeck's version for convex minimization with a first-order oracle (arXiv:1405.4980). Neither has a weak oracle, the inflated factor (2n2+3)/(2n2)(2n^2+3)/(2n^2)(2n2+3)/(2n2), or rounding.

Difficulty

For the exact update with factor n2/(n2−1)n^2/(n^2-1)n2/(n2−1) and an exact separating hyperplane through the centre, containment and volume decrease are a classical computation. Here three perturbations interact. The cut is shifted by δ\deltaδ, so the retained half-ellipsoid is slightly larger than a half. The rounded matrix differs from Ak∗A_k^*Ak∗​ by up to n2−pn2^{-p}n2−p in norm, which could destroy positive definiteness if the smallest eigenvalue were not controlled from below, and Lemma (2.1)'s bound R24−kR^24^{-k}R24−k is what controls it. The containment Kk+1⊆Ek+1K_{k+1}\subseteq E_{k+1}Kk+1​⊆Ek+1​ must absorb both errors, and it is the inflation factor (2n2+3)/(2n2)(2n^2+3)/(2n^2)(2n2+3)/(2n2), chosen larger than the optimal one, that leaves room. The paper bounds the remainder term in (29) only by "similar methods"; making that bound explicit is the bulk of the work. The final step also needs the volume rate e−N/(4n)e^{-N/(4n)}e−N/(4n) in (32), which is sharper than iterating Lemma (2.2) and requires the exact per-step volume ratio of the inflated update.

Formalization scope

Rn\mathbb{R}^nRn is Fin n → ℝ with Lebesgue measure. Since Lean's norm on Fin n → ℝ is the sup norm, the Euclidean norm is written out (euclNorm), and the bounds ∥Ak∥≤R22k\|A_k\|\le R^22^k∥Ak​∥≤R22k, ∥Ak−1∥≤R−24k\|A_k^{-1}\|\le R^{-2}4^k∥Ak−1​∥≤R−24k are stated as quadratic-form (eigenvalue) bounds. NNN uses the natural logarithm and the integer ceiling.

The runs generalize the page in three ways, each of which makes the theorems stronger: the oracle's answers are any answers valid for its specification; rounding is any symmetric value within 2−p2^{-p}2−p entrywise; and data are real rather than rational.

The page's standing assumptions ε<r\varepsilon<rε<r, ∥c∥≥1\|c\|\ge1∥c∥≥1, n≥2n\ge2n≥2 (p. 173) are hypotheses. Two hypotheses are added, because the page's NNN, δ\deltaδ and ppp are absolute numbers and the claims fail at extreme scales:

  • R≥1R\ge 1R≥1 (Lemmas (2.1)–(2.3), (32), Theorem (2.4)): for R=r=2−1000R=r=2^{-1000}R=r=2−1000, ε=r/2\varepsilon=r/2ε=r/2, n=2n=2n=2, rounding can make A1=0A_1=0A1​=0.
  • ε≤1\varepsilon\le1ε≤1 (Lemma (2.3), (32), Theorem (2.4)): for R=r=1013R=r=10^{13}R=r=1013, ε=0.99r\varepsilon=0.99rε=0.99r, n=2n=2n=2, δ>2r\delta>2rδ>2r, and a valid oracle can cut away all of KKK.

Neither is needed in (13) or (34).

A run predicate without the oracle clause would make Lemma (2.3) false, and one with exact equality instead of rounding would state a weaker theorem; the goal quantifies over every run, never over some run. Positive definiteness of the AkA_kAk​ is a consequence (Lemma (2.1)), not a hypothesis: since Lean's inverse of a singular matrix is 000, assuming it would hide the lemma's content.

Out of scope: the paper's polynomial-time claims (Theorem (3.1) and its consequences), the bit length of the numbers, and the rationality of inputs, since no oracle-machine model with bit complexity exists in Mathlib or on the platform.

Reusable infrastructure: volumes of ellipsoids and of cone pieces, Sherman–Morrison-type inverses, and perturbation bounds for positive definite matrices. Contributions of these as separate lemmas are welcome.

Selected references

  • M. Grötschel, L. Lovász, A. Schrijver, The ellipsoid method and its consequences in combinatorial optimization, Combinatorica 1(2) (1981) 169–197. https://doi.org/10.1007/bf02579273
  • P. Gács, L. Lovász, Khachiyan's algorithm for linear programming, Mathematical Programming Study 14 (1981) 61–68. https://doi.org/10.1007/BFb0120921
  • L. G. Khachiyan, A polynomial algorithm in linear programming, Soviet Mathematics Doklady 20 (1979) 191–194 (English translation of the original article).
  • R. G. Bland, D. Goldfarb, M. J. Todd, The ellipsoid method: a survey, Operations Research 29(6) (1981) 1039–1091. https://doi.org/10.1287/opre.29.6.1039
  • M. Grötschel, L. Lovász, A. Schrijver, Geometric Algorithms and Combinatorial Optimization, Springer, 1988. https://doi.org/10.1007/978-3-642-97881-4
  • D. Bertsimas, J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, Ch. 8. Book record.
  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8 (2015). https://arxiv.org/abs/1405.4980
10 thms2 active usersReviewed
CombinatoricsLinear OptimizationOptimization·Captain: mikedeng1

An Additive Algorithm for Solving Linear Programs with Zero-One Variables: In Finitely Many Iterations the Additive Algorithm Yields an Optimal Solution or Proves InfeasibilityResearch Paper

Motivation

Binary decisions arise when a variable records whether a project is selected, a facility is opened, or an action is taken. Linear constraints then describe the resources or conditions those choices must satisfy. Egon Balas's 1965 paper gives a direct algorithm for a finite linear program with zero-one variables: it begins with all variables at zero, adds variables with value one, and uses explicit tests to discard assignments that cannot improve the best feasible assignment found so far. The paper states that the procedure eventually produces an optimal feasible solution or a conclusion that none exists. Its numbered convergence theorem is the target of this mission. Balas (1965)

The result is historically distinct from algorithms that solve a continuous relaxation and then enforce integrality. Balas describes his method as a direct combinatorial search over binary assignments, with additions and subtractions used to update costs and slacks. The theorem concerns the correctness and finite termination of the particular steps printed in the paper, including their backward scan and cancellation rules. The local catalog contains work on branch and bound for a biconvex program, but no existing platform item about a zero-one programming algorithm with these steps; the biconvex result concerns a different model and algorithm. Balas (1965)

Setting

Let NNN be a finite set of binary coordinates and MMM a finite set of constraints. The data are a real matrix A=(aij)i∈M,j∈NA=(a_{ij})_{i\in M,j\in N}A=(aij​)i∈M,j∈N​, a real vector b=(bi)i∈Mb=(b_i)_{i\in M}b=(bi​)i∈M​, and nonnegative objective coefficients cj≥0c_j\ge0cj​≥0. A binary assignment is represented by the set J⊆NJ\subseteq NJ⊆N of coordinates assigned one; all other coordinates are zero. Its slack and cost are

yi(J)=bi−∑j∈Jaij,z(J)=∑j∈Jcj.y_i(J)=b_i-\sum_{j\in J}a_{ij},\qquad z(J)=\sum_{j\in J}c_j.yi​(J)=bi​−j∈J∑​aij​,z(J)=j∈J∑​cj​.

The assignment is feasible when yi(J)≥0y_i(J)\ge0yi​(J)≥0 for every i∈Mi\in Mi∈M. It is optimal when it is feasible and has no greater cost than any other feasible assignment. These are Balas's problem PPP and solutions (1)–(8). The coefficients of AAA and bbb may have either sign; NNN and MMM may be empty. Balas (1965), pp. 519, 523

The algorithm generates assignments J0,J1,…,JsJ_0,J_1,\ldots,J_sJ0​,J1​,…,Js​, starting at J0=∅J_0=\varnothingJ0​=∅. Among the generated feasible assignments, their least cost is the ceiling z∗(s)z^{*(s)}z∗(s); if there are none, z∗(s)=+∞z^{*(s)}=+\inftyz∗(s)=+∞. Each generated assignment has an improving set NpN_pNp​ formed when it first appears. Later steps cancel candidate indices and keep records CksC_k^sCks​ of which values attached to an earlier assignment have been cancelled by the time JsJ_sJs​ is generated. The algorithm either processes the latest assignment, scans earlier strict subsets in descending order, or stops. Its value-based choice rule permits several choices when both value and cost tie. Balas (1965), pp. 523–528

Formalization targets

The paper's two lemmas and Theorem 1 establish the cancellation claims used by its convergence theorem. Lemma 1 says a feasible completion Jt⊃JsJ_t\supset J_sJt​⊃Js​ below the current ceiling adds no index in CsC^sCs; Lemma 2 makes the corresponding assertion for an earlier assignment under its stated complete-cancellation hypothesis. Theorem 1 says that an abandoned assignment has no better feasible completion. The two numbered parts of the convergence proof assert that a single iteration cannot continue indefinitely and that no assignment is generated twice. A remark after (16) records that a feasible generated assignment has an empty improving set. Balas (1965), pp. 529–533

The mission's goal is Convergence Theorem 2:

every run from J0=∅ stops after finitely many steps, with either an optimal feasible assignment or a valid infeasibility verdict.\text{every run from }J_0=\varnothing\text{ stops after finitely many steps, with either an optimal feasible assignment or a valid infeasibility verdict.}every run from J0​=∅ stops after finitely many steps, with either an optimal feasible assignment or a valid infeasibility verdict.

The finite-step assertion includes progress: every reachable state before a stopping situation has a successor. At a stop, z∗(s)=+∞z^{*(s)}=+\inftyz∗(s)=+∞ means no feasible binary assignment exists; if the ceiling is finite, a generated assignment attaining it exists and every generated assignment at that cost is optimal for PPP. These clauses make the paper's two possible outcomes explicit. Balas (1965), Convergence Theorem 2 and step 5a

Significance

The theorem certifies the algorithm as a complete decision and optimization procedure for the stated finite binary program. The infeasibility outcome concerns every possible binary assignment, not only the assignments the algorithm happened to visit. The optimality outcome similarly compares the reported assignment against all feasible assignments. Without these global claims, reaching a stopping situation would only show that the current search path has no remaining candidates. Balas (1965), pp. 526, 533

The result was proved in the 1965 paper. The work here is to state its algorithm and correctness claims in Lean and provide a target for a machine-checked proof; the submitted theorem files are open statements. The finite binary-program model, cost and slack functions, ceiling with infinity, and state-transition vocabulary can also support formal analyses of other exact enumeration procedures. The particular cancellation and backward-scan rules belong to Balas's algorithm. Balas (1965)

Difficulty

It is immediate that there are finitely many binary assignments. That alone does not show finite termination: the paper's step 5 may revisit earlier generated assignments, and the rules must prevent repeated work within one iteration as well as repeated generated assignments across iterations. It also does not justify pruning. When an improving set becomes empty, the remaining challenge is to show that no feasible assignment omitted by the search improves the ceiling. These are the separate claims recorded in parts (a) and (b), Lemmas 1–2, and Theorem 1. Balas (1965), pp. 529–533

Formalization scope

Lean uses Fin n and Fin m for the paper's one-based index sets. A binary assignment is a Finset (Fin n). A general finite zero-one linear program is its own definition; problem PPP adds the paper's standing assumption cj≥0c_j\ge0cj​≥0. There is no positive-size assumption on either index set. The algorithm stores generated assignments, each improving set as formed, cancellation snapshots, current cancellations, and its program point. Slack and cost are recomputed from the assignment by (6) and (21). Reachability is the reflexive transitive closure of the printed steps, and all milestone claims about states are restricted to reachable ones. The strict symbol ⊂\subset⊂ means proper inclusion as the paper's footnote specifies. Balas (1965), pp. 523–525

The ceiling is represented in WithTop ℝ, with ⊤\top⊤ for +∞+\infty+∞. The cost tests (14), (17), (24), and (29) are written additively so they retain the paper's meaning when no feasible assignment has yet been generated. The improving set NpN_pNp​ remains fixed after generation; the step-5 scan uses Nks=Nk−(Cks∪Dks)N_k^s=N_k-(C_k^s\cup D_k^s)Nks​=Nk​−(Cks​∪Dks​) with the stored snapshot CksC_k^sCks​, as in (18). Step 1a cancels the cost-bound indices for every earlier assignment, and steps 6a and 7b resume the scan below the index just checked. The final tie break permits any index still tied after minimizing its cost. “In a finite number of iterations” is encoded as no infinite run plus a next step at each reachable non-stopped state. “No feasible solution” quantifies over all binary assignments. “Abandoned” is the predicate specified before Theorem 1: uku^kuk is abandoned when the algorithm is instructed to stop, or to check some NpsN_p^sNps​ with p<k≤sp<k\le sp<k≤s, including the indices step 5 passes over because their remaining improving set is empty. Lemma 2 reads Cps+1C_p^{s+1}Cps+1​ either as the cancellations accumulated so far during iteration s+1s+1s+1 or as the cancellation records at the transition that obtains us+1u^{s+1}us+1. Balas (1965), pp. 525–533

The paper prints z∗(k)z^{*(k)}z∗(k) in Theorem 1, but its algorithm and proof use the ceiling at the abandonment iteration, z∗(s)z^{*(s)}z∗(s); the Lean theorem states that corrected version and retains the original wording in the milestone record. A transition system that is stuck before a declared stopping situation, a ceiling encoded as a finite real sentinel, or a verdict quantified only over generated assignments would make the goal weaker than the paper's claim. Contributions toward the milestone proofs, state invariants, and reusable finite-search lemmas are in scope. The preliminary reduction of a general binary program to PPP, the efficiency remarks, numerical examples, and the modified algorithm of Remark II are outside this mission. Balas (1965), pp. 519, 528–533

Selected references

  • Egon Balas, An Additive Algorithm for Solving Linear Programs with Zero-One Variables, Operations Research 13(4), 517–546, 1965. DOI: 10.1287/opre.13.4.517
10 thms2 active usersReviewed
ProbabilityStatistics·Captain: mikedeng1

Residual Life Time at Great Age 1: Every Nondegenerate Limit Law of the Normed Residual Life Time Is of Type Π, Π_γ, Γ_α or Γ_{γ,α}Research Paper

Motivation

A component with a random lifetime XXX that has survived to age ttt still has a random residual life time X−tX - tX−t. Reliability engineering, actuarial science and the statistics of exceedances over high thresholds all ask how the conditional law of X−tX - tX−t given X>tX > tX>t behaves when the age ttt is large. If XXX is exponential, the residual life has the same law at every age (lack of memory). In general it changes with ttt, and the natural question, as in the limit theory of sample maxima, is which laws can arise as limits once the residual life is suitably rescaled and shifted.

A. A. Balkema and L. de Haan answered this question in Residual Life Time at Great Age (The Annals of Probability 2, 1974). The answer — a short list of limit types — later underlies the peaks-over-threshold method of extreme value statistics, where the continuous limit laws reappear as the generalized Pareto family (Pickands, 1975). This mission formalizes the classification theorem of the paper, Theorem 1, together with the steps of its proof in §1.

Setting

Let XXX be a real random variable with distribution function FFF and distribution tail R(x)=1−F(x)=P{X>x}R(x) = 1 - F(x) = P\{X > x\}R(x)=1−F(x)=P{X>x}. Throughout, R(x)>0R(x) > 0R(x)>0 for every xxx (equivalently F(x)<1F(x) < 1F(x)<1 for all xxx), so that the conditioning event {X>t}\{X > t\}{X>t} never has probability zero. The residual life distribution function at age ttt is

Ft(x)=P{X−t≤x∣X>t},(1)F_t(x) = P\{X - t \le x \mid X > t\}, \tag{1}Ft​(x)=P{X−t≤x∣X>t},(1)

which vanishes for x<0x < 0x<0.

A family of distribution functions HtH_tHt​ converges weakly to GGG as t→∞t \to \inftyt→∞ if Ht(x)→G(x)H_t(x) \to G(x)Ht​(x)→G(x) at every continuity point xxx of GGG. A distribution function GGG is nondegenerate if it is not the distribution function of a point mass. GGG is of type KKK if G(x)=K(ax+b)G(x) = K(ax + b)G(x)=K(ax+b) for all xxx, with a>0a > 0a>0 and bbb real.

The limit laws are the following distribution functions, all equal to 000 for x<0x < 0x<0; for x≥0x \ge 0x≥0,

Π(x)=1−e−x,Γα(x)=1−(1+x)−α,\Pi(x) = 1 - e^{-x}, \qquad \Gamma_\alpha(x) = 1 - (1+x)^{-\alpha},Π(x)=1−e−x,Γα​(x)=1−(1+x)−α, Πγ(x)=1−exp⁡(−γ [1+x]),Γγ,α(x)=1−exp⁡(−γ [1+αlog⁡(1+x)]),\Pi_\gamma(x) = 1 - \exp\big(-\gamma\,[1 + x]\big), \qquad \Gamma_{\gamma,\alpha}(x) = 1 - \exp\big(-\gamma\,[1 + \alpha\log(1+x)]\big),Πγ​(x)=1−exp(−γ[1+x]),Γγ,α​(x)=1−exp(−γ[1+αlog(1+x)]),

with α,γ>0\alpha, \gamma > 0α,γ>0 and [a][a][a] the integer part of aaa. The first two are continuous; the last two are discrete, with jumps where 1+x1 + x1+x, respectively 1+αlog⁡(1+x)1 + \alpha\log(1+x)1+αlog(1+x), crosses an integer.

The lemmas of §1 use a second normalization, which shifts XXX instead of X−tX - tX−t:

P(X−b(t)a(t)>x  ∣  X>t)=min⁡(1,R(b(t)+xa(t))R(t))→S(x)weakly,(2–3)P\Big(\frac{X - b(t)}{a(t)} > x \;\Big|\; X > t\Big) = \min\Big(1, \frac{R(b(t) + x a(t))}{R(t)}\Big) \to S(x) \quad \text{weakly}, \tag{2–3}P(a(t)X−b(t)​>x​X>t)=min(1,R(t)R(b(t)+xa(t))​)→S(x)weakly,(2–3)

where 1−S1 - S1−S is a nondegenerate distribution function. The two normalizations differ by b(t)↦b(t)+tb(t) \mapsto b(t) + tb(t)↦b(t)+t.

Formalization targets

Goal: Theorem 1 (p. 796)

If F(x)<1F(x) < 1F(x)<1 for all xxx, a(t)>0a(t) > 0a(t)>0, and

Ft(b(t)+xa(t))→G(x)weakly as t→∞F_t\big(b(t) + x a(t)\big) \to G(x) \quad \text{weakly as } t \to \inftyFt​(b(t)+xa(t))→G(x)weakly as t→∞

for a nondegenerate distribution function GGG, then GGG is of type Π\PiΠ, Πγ\Pi_\gammaΠγ​, Γα\Gamma_\alphaΓα​ or Γγ,α\Gamma_{\gamma,\alpha}Γγ,α​ for some α,γ>0\alpha, \gamma > 0α,γ>0.

Milestones (§1, pp. 794–797)

  1. Lemma 1. Under (2), for each continuity point yyy of SSS with 0<S(y)<10 < S(y) < 10<S(y)<1 there are A(y)≥1A(y) \ge 1A(y)≥1 and B(y)B(y)B(y) with
S(x) S(y)=S(B(y)+xA(y))whenever S(x)<1.(4)S(x)\,S(y) = S\big(B(y) + xA(y)\big) \quad \text{whenever } S(x) < 1. \tag{4}S(x)S(y)=S(B(y)+xA(y))whenever S(x)<1.(4)
  1. Corollary. S(x)>0S(x) > 0S(x)>0 for all xxx.
  2. Lemma 2. An unbounded non-increasing HHH on (x0,∞)(x_0, \infty)(x0​,∞) that agrees with SSS where S<1S < 1S<1 and solves H(x)H(y)=H(B(y)+xA(y))H(x)H(y) = H(B(y) + xA(y))H(x)H(y)=H(B(y)+xA(y)) agrees with SSS where H<1H < 1H<1.
  3. Case 1 of the proof: if A(y)=1A(y) = 1A(y)=1 for every yyy in the set YYY of continuity points with S(y)<1S(y) < 1S(y)<1, then 1−S1 - S1−S is of type Π\PiΠ or Πγ\Pi_\gammaΠγ​.
  4. The commutation identity of Case 2: B(y1)+A(y1)B(y2)=B(y2)+A(y2)B(y1)B(y_1) + A(y_1)B(y_2) = B(y_2) + A(y_2)B(y_1)B(y1​)+A(y1​)B(y2​)=B(y2​)+A(y2​)B(y1​) for y1,y2∈Yy_1, y_2 \in Yy1​,y2​∈Y.
  5. Case 2 of the proof: if A(y)>1A(y) > 1A(y)>1 for some y∈Yy \in Yy∈Y, then 1−S1 - S1−S is of type Γα\Gamma_\alphaΓα​ or Γγ,α\Gamma_{\gamma,\alpha}Γγ,α​.
  6. The closing display: each of the four laws G=1−SG = 1 - SG=1−S reproduces itself, min⁡(1,S(B(t)+xA(t))/S(t))=S(x)\min\big(1, S(B(t) + xA(t))/S(t)\big) = S(x)min(1,S(B(t)+xA(t))/S(t))=S(x) for every t>0t > 0t>0 and suitable A(t)>0A(t) > 0A(t)>0, B(t)B(t)B(t); so all four types occur as limits.

Significance

Theorem 1 is to residual lives what the extremal types theorem of Fisher–Tippett and Gnedenko is to maxima: it reduces the asymptotic analysis of the residual life to a four-type list, and with it the question of domains of attraction (§§2–3 of the paper) becomes well posed. The continuous types Π\PiΠ and Γα\Gamma_\alphaΓα​ are, after a change of parameters, the exponential and Pareto members of the generalized Pareto family used to model exceedances over high thresholds; the discrete types Πγ\Pi_\gammaΠγ​ and Γγ,α\Gamma_{\gamma,\alpha}Γγ,α​ show that once a shift is allowed, lattice-like tails produce limits with atoms, a phenomenon that the scale-only Theorem 2 excludes.

The theorem has been proved since 1974. It is not formalized in any proof assistant known to us, and Mathlib has neither weak convergence of distribution functions in the form used here, nor types, nor the residual-life limit laws. A formal development provides these objects, the functional equation (4) and its solution on a half line, and a checked proof that the four-type list is exactly right — including the discrete types, which are easy to lose in an informal treatment.

Difficulty

The obvious approach is to pass to the limit in the identity relating the residual lives at ages ttt and b(t)b(t)b(t), obtaining a Cauchy-type functional equation for SSS, and to solve it. Two features block a direct application of the classical solution. First, the limit is a minimum with 111, so convergence carries no information on the half line where S=1S = 1S=1: equation (4) holds only where S(x)<1S(x) < 1S(x)<1, and it does not determine SSS by itself (the paper exhibits S0(x)=e−xS_0(x) = e^{-x}S0​(x)=e−x for x≥1x \ge 1x≥1, S0=1S_0 = 1S0​=1 for x<1x < 1x<1, which satisfies (4) with A=1A = 1A=1, B(y)=yB(y) = yB(y)=y, yet 1−S01 - S_01−S0​ is of no limit type); Lemma 2 is needed to recover SSS where S=1S = 1S=1. Second, the solutions of the shifted equation φ(x)+φ(y)=φ(B(y)+x)\varphi(x) + \varphi(y) = \varphi(B(y) + x)φ(x)+φ(y)=φ(B(y)+x) for a monotone φ\varphiφ are not only linear: a periodic perturbation is possible, and its analysis produces the discrete laws through the integer part. A proof that assumes continuity of SSS misses Πγ\Pi_\gammaΠγ​ and Γγ,α\Gamma_{\gamma,\alpha}Γγ,α​.

Formalization scope

The law of XXX is a probability measure μ\muμ on R\mathbb RR; R(x)=μ((x,∞))R(x) = \mu((x,\infty))R(x)=μ((x,∞)) and Ft(x)=μ((t,t+x])/μ((t,∞))F_t(x) = \mu((t, t+x])/\mu((t,\infty))Ft​(x)=μ((t,t+x])/μ((t,∞)), with probabilities taken as real numbers. Every statement assumes μ((x,∞))>0\mu((x,\infty)) > 0μ((x,∞))>0 for all xxx, the paper's standing assumption; Lean's division by zero would otherwise make the conditional laws meaningless. The normalizations satisfy a(t)>0a(t) > 0a(t)>0 for all ttt (only large ttt matter). A limit distribution function is the distribution function of a probability measure ν\nuν on R\mathbb RR, so no mass escapes to ±∞\pm\infty±∞; nondegenerate means ν\nuν is not a point mass; the limit tail is S(x)=ν((x,∞))S(x) = \nu((x,\infty))S(x)=ν((x,∞)), which is right-continuous. Weak convergence is convergence at the continuity points of the limit and nowhere else. The integer part is Int.floor. Each limit law is defined to be 000 for x<0x < 0x<0.

Theorem 1 is stated in the normalization (1) of the theorem, the lemmas and cases in the normalization (2) of §1, as printed. Theorem 1 names its fourth family Γα,γ\Gamma_{\alpha,\gamma}Γα,γ​; it is the introduction's Γγ,α\Gamma_{\gamma,\alpha}Γγ,α​. In Lemma 2 the left endpoint x0x_0x0​ may be −∞-\infty−∞ (Case 1 applies the lemma on the whole line), and the condition that B(y)+xA(y)B(y) + xA(y)B(y)+xA(y) lies in (x0,∞)(x_0, \infty)(x0​,∞) for x>x0x > x_0x>x0​ is written out, since (8) presupposes it. "A pair (A(y),B(y))(A(y), B(y))(A(y),B(y)) in Lemma 1" and "A(y)=1A(y) = 1A(y)=1", "A(y)>1A(y) > 1A(y)>1" are stated through pairs satisfying (4); the proof of Lemma 1 shows the pair is unique. The commutation identity is posed without the Case 2 assumption, which its derivation does not use. No hypothesis of the paper is dropped and none is added beyond these readings.

The statement is not trivialized by dropping nondegeneracy (a point-mass limit is always attainable), by requiring convergence at every xxx (which would exclude the discrete types), or by defining the limit laws without the integer part (which would turn the discrete types into continuous ones); the formalization does none of these.

A complete development needs: the residual-life distribution function and the normed tail, weak convergence of distribution functions, types, the four limit laws; then monotone solutions of Cauchy-type functional equations on half lines, with their periodic perturbations. The functional-equation results and the closing-display computations are reusable beyond this mission, for instance for the scale-only Theorem 2 and for the domain-of-attraction results of §§2–3. Proofs of any milestone, of alternative routes to Theorem 1, and of the closing display for each family separately are welcome.

Selected references

  • A. A. Balkema, L. de Haan, Residual Life Time at Great Age, The Annals of Probability 2 (1974), no. 5, 792–804. https://doi.org/10.1214/aop/1176996548 (the source of every statement of this mission: the published article).
  • B. Gnedenko, Sur la distribution limite du terme maximum d'une série aléatoire, Annals of Mathematics 44 (1943), 423–453. https://doi.org/10.2307/1968974
  • J. Pickands III, Statistical Inference Using Extreme Order Statistics, The Annals of Statistics 3 (1975), 119–131. https://doi.org/10.1214/aos/1176343003
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. II, Wiley, 1966.
10 thms2 active usersReviewed
PreviousPage 11 of 45Next

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