Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Stochastic Systems

166 missions · 57 completed

The mathematics of systems that evolve under randomness, modeled as families of random variables indexed by time — from Markov chains and martingales to Brownian motion and stochastic differential equations. The field spans stochastic analysis, filtering and optimal control under uncertainty, ergodic behavior of random dynamics, and concentration of measure, with models reaching across physics, engineering, finance, and biology.

Missions

Open109Completed57All166
🏆Completed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Stochastic Dynamic Programming and the Control of Queueing Systems II: The Discount Optimality EquationTextbook

Motivation

Control problems for queueing systems (admission control, routing, service rate selection, inventory replenishment) are naturally modelled as Markov decision chains with a countable state space, such as the number of customers in a buffer, and with costs that grow without bound in the state, such as holding costs proportional to queue length. The expected discounted cost criterion is the first infinite horizon criterion applied to such models, and it is also the tool through which the average cost criterion is treated later in the same book (Chapters 6–8 of Sennott's text reach average cost optimal policies through limits of discounted problems as the discount factor tends to one).

Classical treatments of discounted dynamic programming assume bounded costs, under which the dynamic programming operator is a contraction and has a unique bounded fixed point. That assumption fails for queueing models. This mission formalizes Chapter 4, Sections 4.1–4.4, of L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999), which develops the discounted theory for nonnegative, possibly unbounded costs, where value functions may be infinite.

Timeline of the underlying theory:

  • 1965. Blackwell (Ann. Math. Statist. 36) establishes the discounted theory with bounded rewards.
  • 1966. Strauch (Ann. Math. Statist. 37) treats "negative" dynamic programming, the case of nonpositive rewards (equivalently nonnegative costs), with no boundedness assumption.
  • 1977–1978. Bertsekas (SIAM J. Control Optim. 15) and Bertsekas and Shreve (Stochastic Optimal Control: The Discrete-Time Case) give the abstract monotone-mapping framework covering both cases.
  • 1999. Sennott's text states the countable-state, finite-action, nonnegative-cost discounted theory in the form used for queueing control, with general history-dependent randomized policies.

Setting

A Markov decision chain Δ\DeltaΔ has a countable state space SSS; for each state iii a finite nonempty action set AiA_iAi​; for each a∈Aia \in A_ia∈Ai​ a nonnegative finite cost C(i,a)C(i,a)C(i,a) and a probability distribution (Pij(a))j∈S(P_{ij}(a))_{j \in S}(Pij​(a))j∈S​ of the next state. A policy θ\thetaθ chooses the action at time nnn at random from a distribution θ(⋅∣hn)\theta(\cdot \mid h_n)θ(⋅∣hn​) on AinA_{i_n}Ain​​ that may depend on the entire history hn=(i0,a0,…,an−1,in)h_n = (i_0, a_0, \dots, a_{n-1}, i_n)hn​=(i0​,a0​,…,an−1​,in​). A stationary policy fff always chooses f(i)∈Aif(i) \in A_if(i)∈Ai​ in state iii; for it one writes C(i,f)=C(i,f(i))C(i,f) = C(i,f(i))C(i,f)=C(i,f(i)) and Pij(f)=Pij(f(i))P_{ij}(f) = P_{ij}(f(i))Pij​(f)=Pij​(f(i)).

Fix a discount factor α∈(0,1)\alpha \in (0,1)α∈(0,1). For an initial state iii and a policy θ\thetaθ, the nnn-horizon cost with terminal cost zero and the infinite horizon discounted cost are

vθ,α,n(i)=∑t=0n−1αtEθ[C(Xt,At)∣X0=i],Vθ,α(i)=∑t=0∞αtEθ[C(Xt,At)∣X0=i],v_{\theta,\alpha,n}(i) = \sum_{t=0}^{n-1} \alpha^t E_\theta[C(X_t,A_t) \mid X_0 = i], \qquad V_{\theta,\alpha}(i) = \sum_{t=0}^{\infty} \alpha^t E_\theta[C(X_t,A_t) \mid X_0 = i],vθ,α,n​(i)=t=0∑n−1​αtEθ​[C(Xt​,At​)∣X0​=i],Vθ,α​(i)=t=0∑∞​αtEθ​[C(Xt​,At​)∣X0​=i],

and the value functions are vα,n(i)=inf⁡θvθ,α,n(i)v_{\alpha,n}(i) = \inf_\theta v_{\theta,\alpha,n}(i)vα,n​(i)=infθ​vθ,α,n​(i) and Vα(i)=inf⁡θVθ,α(i)V_\alpha(i) = \inf_\theta V_{\theta,\alpha}(i)Vα​(i)=infθ​Vθ,α​(i), infima over all policies. All of these lie in [0,∞][0,\infty][0,∞]. A policy is discount optimal if Vθ,α=VαV_{\theta,\alpha} = V_\alphaVθ,α​=Vα​. The discount optimality equation is

W(i)=min⁡a∈Ai{C(i,a)+α∑jPij(a)W(j)},i∈S.(4.9)W(i) = \min_{a \in A_i} \Big\{ C(i,a) + \alpha \sum_j P_{ij}(a) W(j) \Big\}, \qquad i \in S. \tag{4.9}W(i)=a∈Ai​min​{C(i,a)+αj∑​Pij​(a)W(j)},i∈S.(4.9)

With W=VαW = V_\alphaW=Vα​, Bi(α)B_i(\alpha)Bi​(α) denotes the set of actions attaining the minimum at iii.

Formalization targets

Goal: Theorem 4.1.4

VαV_\alphaVα​ solves (4.9); every W:S→[0,∞]W : S \to [0,\infty]W:S→[0,∞] solving (4.9) satisfies Vα≤WV_\alpha \le WVα​≤W; and every stationary policy fαf_\alphafα​ with

C(i,fα)+α∑jPij(fα)Vα(j)=min⁡a{C(i,a)+α∑jPij(a)Vα(j)}for all iC(i,f_\alpha) + \alpha \sum_j P_{ij}(f_\alpha) V_\alpha(j) = \min_a \Big\{ C(i,a) + \alpha \sum_j P_{ij}(a) V_\alpha(j) \Big\} \quad \text{for all } iC(i,fα​)+αj∑​Pij​(fα​)Vα​(j)=amin​{C(i,a)+αj∑​Pij​(a)Vα​(j)}for all i

is discount optimal. No boundedness of costs and no finiteness of VαV_\alphaVα​ is assumed.

Milestones

In attack order: Lemma 4.1.1 (vθ,α,n↑Vθ,αv_{\theta,\alpha,n} \uparrow V_{\theta,\alpha}vθ,α,n​↑Vθ,α​); Proposition 4.1.2 (a supersolution of the one-policy equation dominates ve,α,n+αnEe[W(Xn)]v_{e,\alpha,n} + \alpha^n E_e[W(X_n)]ve,α,n​+αnEe​[W(Xn​)] and Ve,αV_{e,\alpha}Ve,α​); Corollary 4.1.3 (a supersolution of the optimality inequality dominates Vf,α≥VαV_{f,\alpha} \ge V_\alphaVf,α​≥Vα​); then, beyond the goal, Corollary 4.1.5 (αnEfα[Vα(Xn)∣X0=i]→0\alpha^n E_{f_\alpha}[V_\alpha(X_n) \mid X_0 = i] \to 0αnEfα​​[Vα​(Xn​)∣X0​=i]→0 where Vα(i)<∞V_\alpha(i) < \inftyVα​(i)<∞), Proposition 4.2.2 and Corollary 4.2.4 (conditions under which a solution of (4.9) equals VαV_\alphaVα​), Proposition 4.3.1 (vα,n↑Vαv_{\alpha,n} \uparrow V_\alphavα,n​↑Vα​, and limit points of finite horizon optimal stationary policies are discount optimal) and Proposition 4.4.1 (optimal policies are exactly those concentrated on the sets Bi(α)B_{i}(\alpha)Bi​(α) along histories of positive probability).

Significance

Theorem 4.1.4 is the foundation for everything in the book that concerns discounted costs: it produces an optimal stationary deterministic policy, identifies VαV_\alphaVα​ among the many solutions of (4.9) (Example 4.2.1 of the book gives a one-parameter family of finite solutions), and underlies value iteration (Proposition 4.3.1) and the approximating-sequence method of Sections 4.6–4.7. The average cost results of Chapters 6–8 are proved from it by letting α→1\alpha \to 1α→1. Proposition 4.4.1 describes the full set of optimal policies, including randomized and history-dependent ones.

These are known results with published proofs. The contribution of this mission is a machine-checked development of the discounted theory for countable state spaces with unbounded costs and infinite values, over the general policy class. Related statements on the platform (the monotone-mapping propositions of Bertsekas 1977 in the MonotoneDP missions, and bounded-cost or finite-state discounted results) use different models and are open; no machine-checked proof of the present statements is known to this mission.

Difficulty

The contraction argument that settles the bounded case is unavailable: with unbounded costs the operator in (4.9) has many fixed points, and VαV_\alphaVα​ can equal +∞+\infty+∞ at some states, so neither uniqueness of fixed points nor subtraction of values is available. The optimality equation compares the infimum over all history-dependent randomized policies with a one-step minimum, so the general policy class and the law of the process under it must be handled directly; restricting attention to Markov or stationary policies begs the question. Every limit exchange (monotone limits of finite horizon costs, the passage to limit points of policies in Proposition 4.3.1) takes place in [0,∞][0,\infty][0,∞], where finite-valued arguments do not transfer verbatim.

Formalization scope

The Lean development lives in the namespace SennottDP.Discounted. Conventions:

  • The state space is a type S with [Countable S]; actions form a type Act and A i : Finset Act is nonempty. Costs are ℝ≥0; transition probabilities are ℝ≥0∞ with ∑' j, P i a j = 1 for a ∈ A i.
  • A history at time nnn is a pair Fin (n+1) → S, Fin n → Act; a policy assigns to every history a distribution on the action set of its last state. The probability of a history is the product of the policy and transition probabilities; expectations are ℝ≥0∞ sums over histories, so no integrability conditions arise.
  • All values (vθ,α,nv_{\theta,\alpha,n}vθ,α,n​, Vθ,αV_{\theta,\alpha}Vθ,α​, vα,nv_{\alpha,n}vα,n​, VαV_\alphaVα​, and the competing solutions WWW) are ℝ≥0∞-valued; 0⋅∞=00 \cdot \infty = 00⋅∞=0. The discount factor is α : ℝ≥0 with 0 < α and α < 1. Terminal costs are zero.
  • VαV_\alphaVα​ and vα,nv_{\alpha,n}vα,n​ are infima over the type of all general policies. Defining them over stationary policies only would make the optimality of fαf_\alphafα​ a tautology; that formalization is ruled out.
  • Proposition 4.4.1: the book states the equivalence without a finiteness assumption, but its necessity argument needs Vα<∞V_\alpha < \inftyVα​<∞, and necessity fails otherwise. Sufficiency is stated in general and necessity under Vα<∞V_\alpha < \inftyVα​<∞ everywhere.

Useful infrastructure, reusable by the later missions of this series (approximating sequences, average cost): the shift of a general policy after its first step, the Chapman–Kolmogorov identity for the history law, and the computation Ef[W(Xn+1)]=Ef[∑jPXnj(f)W(j)]E_f[W(X_{n+1})] = E_f[\sum_j P_{X_n j}(f) W(j)]Ef​[W(Xn+1​)]=Ef​[∑j​PXn​j​(f)W(j)] for stationary policies. Contributions of such lemmas, and proofs of any milestone, are welcome.

Selected references

  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley Series in Probability and Statistics, John Wiley & Sons, 1999, Chapter 4. https://doi.org/10.1002/9780470317037
  • D. Blackwell, Discounted dynamic programming, Annals of Mathematical Statistics 36 (1965), 226–235. https://doi.org/10.1214/aoms/1177700285
  • R. E. Strauch, Negative dynamic programming, Annals of Mathematical Statistics 37 (1966), 871–890. https://doi.org/10.1214/aoms/1177699369
  • D. P. Bertsekas, Monotone mappings with application in dynamic programming, SIAM Journal on Control and Optimization 15 (1977), 438–464. https://doi.org/10.1137/0315031
  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978.
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
12 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Stochastic Dynamic Programming and the Control of Queueing Systems I: Finite Horizon Optimality and Approximating SequencesTextbook

Motivation

Controlled queueing systems (admission control, routing, service-rate selection) are naturally modelled as Markov decision chains whose state is a buffer content and therefore ranges over a countably infinite set. Linn Sennott's Stochastic Dynamic Programming and the Control of Queueing Systems (Wiley, 1999, DOI 10.1002/9780470317037) develops the dynamic programming theory for exactly this setting: countable state space, finite action sets, nonnegative and possibly unbounded costs, and value functions that are allowed to be infinite. The book's computational method, the approximating sequence method (ASM), replaces the infinite chain by a sequence of finite truncations and asks when optimal values and policies of the truncations converge to those of the original chain.

This mission is the first of a series on the book. It covers Chapter 3, finite horizon optimization, together with the model of Chapter 2 and three results from Appendices A and B that the chapter uses. The finite horizon theory is the entry point: it is where the book's general policy class, its extended-valued cost criteria and its approximating sequences are first used together.

Setting

A Markov decision chain Δ\DeltaΔ has a countable state space SSS; for each i∈Si \in Si∈S a finite nonempty action set AiA_iAi​; a finite cost C(i,a)≥0C(i,a) \ge 0C(i,a)≥0; and for each a∈Aia \in A_ia∈Ai​ a transition distribution (Pij(a))j∈S(P_{ij}(a))_{j \in S}(Pij​(a))j∈S​. A history at time ttt is ht=(i0,a0,…,it−1,at−1,it)h_t = (i_0, a_0, \dots, i_{t-1}, a_{t-1}, i_t)ht​=(i0​,a0​,…,it−1​,at−1​,it​), and a general policy θ\thetaθ chooses the action at time ttt from a distribution θ(⋅∣ht)\theta(\cdot \mid h_t)θ(⋅∣ht​) on AitA_{i_t}Ait​​: it may use the whole history and may randomize. Stationary policies fff (f(i)∈Aif(i) \in A_if(i)∈Ai​) and deterministic Markov policies (a stationary policy for each time) are special cases.

Fix a finite terminal cost F≥0F \ge 0F≥0 and a discount factor 0<α≤10 < \alpha \le 10<α≤1 (α=1\alpha = 1α=1 is the undiscounted case). The nnn horizon expected discounted cost of θ\thetaθ from initial state iii is

vθ,α,n(i)=∑t=0n−1αtEθ[C(Xt,At)∣X0=i]+αnEθ[F(Xn)∣X0=i],v_{\theta,\alpha,n}(i) = \sum_{t=0}^{n-1} \alpha^t E_\theta[C(X_t,A_t) \mid X_0 = i] + \alpha^n E_\theta[F(X_n) \mid X_0 = i],vθ,α,n​(i)=t=0∑n−1​αtEθ​[C(Xt​,At​)∣X0​=i]+αnEθ​[F(Xn​)∣X0​=i],

and the value function is vα,n(i)=inf⁡θvθ,α,n(i)v_{\alpha,n}(i) = \inf_\theta v_{\theta,\alpha,n}(i)vα,n​(i)=infθ​vθ,α,n​(i) over all general policies. Both may be +∞+\infty+∞. A policy is optimal for the nnn horizon if it attains vα,n(i)v_{\alpha,n}(i)vα,n​(i) at every iii. For n≥1n \ge 1n≥1 put uα,n(i,a)=C(i,a)+α∑jPij(a)vα,n−1(j)u_{\alpha,n}(i,a) = C(i,a) + \alpha \sum_j P_{ij}(a) v_{\alpha,n-1}(j)uα,n​(i,a)=C(i,a)+α∑j​Pij​(a)vα,n−1​(j) and let Bi(α,n)B_i(\alpha,n)Bi​(α,n) be the set of a∈Aia \in A_ia∈Ai​ minimizing it.

An approximating sequence (ΔN)N≥N0(\Delta_N)_{N \ge N_0}(ΔN​)N≥N0​​ has finite nonempty state spaces SNS_NSN​ increasing to SSS, the same actions and costs, and transition distributions Pij(a;N)P_{ij}(a;N)Pij​(a;N) on SNS_NSN​ converging to Pij(a)P_{ij}(a)Pij​(a) as N→∞N \to \inftyN→∞. Its value functions are vα,nNv^N_{\alpha,n}vα,nN​. In an augmentation type approximating sequence, the probability Pir(a)P_{ir}(a)Pir​(a) of leaving SNS_NSN​ to rrr is redistributed over SNS_NSN​ by an augmentation distribution qj(i,a,r,N)q_j(i,a,r,N)qj​(i,a,r,N). Assumption FH(α\alphaα, nnn) requires lim sup⁡Nvα,nN(i)\limsup_N v^N_{\alpha,n}(i)limsupN​vα,nN​(i) to be finite and at most vα,n(i)v_{\alpha,n}(i)vα,n​(i) for every iii. A stationary policy eee is a limit point of stationary policies eNe^NeN if, along a subsequence, eNr(i)=e(i)e^{N_r}(i) = e(i)eNr​(i)=e(i) eventually for each iii.

Formalization targets

Goal: Theorem 3.2.3

For fixed n≥1n \ge 1n≥1,

(∀i: lim⁡N→∞vα,nN(i)=vα,n(i)<∞)  ⟺  FH(α,n),\Big(\forall i:\ \lim_{N\to\infty} v^N_{\alpha,n}(i) = v_{\alpha,n}(i) < \infty\Big) \iff \mathrm{FH}(\alpha,n),(∀i: N→∞lim​vα,nN​(i)=vα,n​(i)<∞)⟺FH(α,n),

and under either condition every limit point ene_nen​ of stationary policies enNe^N_nenN​ with enN(i)∈BiN(α,n)e^N_n(i) \in B^N_i(\alpha,n)enN​(i)∈BiN​(α,n) satisfies en(i)∈Bi(α,n)e_n(i) \in B_i(\alpha,n)en​(i)∈Bi​(α,n) for all i∈Si \in Si∈S.

Milestones

  1. Proposition A.1.1: a probability average of uuu is at least min⁡u\min uminu, with equality iff the distribution is concentrated on the minimizers.
  2. Theorem 3.1.2: the finite horizon optimality equation vα,n(i)=min⁡auα,n(i,a)v_{\alpha,n}(i) = \min_a u_{\alpha,n}(i,a)vα,n​(i)=mina​uα,n​(i,a), and the characterization of all optimal general policies.
  3. Corollary 3.1.4: choosing fn−t(i)∈Bi(α,n−t)f_{n-t}(i) \in B_i(\alpha,n-t)fn−t​(i)∈Bi​(α,n−t) yields an optimal deterministic Markov policy.
  4. Proposition 2.5.6: the augmentation (2.19) defines an approximating distribution.
  5. Lemma 3.2.2: vα,0N→vα,0v^N_{\alpha,0} \to v_{\alpha,0}vα,0N​→vα,0​ and lim inf⁡Nvα,nN≥vα,n\liminf_N v^N_{\alpha,n} \ge v_{\alpha,n}liminfN​vα,nN​≥vα,n​.
  6. Propositions B.3 and B.5: sequences of stationary policies, for Δ\DeltaΔ or for (ΔN)(\Delta_N)(ΔN​), have limit points.
  7. Propositions 3.3.1, 3.3.2 and 3.3.4: three sufficient conditions for FH(α\alphaα, nnn), namely bounded costs, an augmentation sending excess probability to a finite set, and the augmentation inequality (3.20).

Significance

Theorem 3.1.2 is the finite horizon dynamic programming equation in the generality the rest of the book needs: the value function is an infimum over history-dependent randomized policies, and the equation holds with infinite values allowed. Its characterization of optimal policies is Bellman's principle of optimality in necessary-and-sufficient form. Corollary 3.1.4 shows that deterministic Markov policies suffice. The discounted chapter builds on these results, since its value function is the limit of finite horizon ones, and so does the value iteration algorithm of the average cost chapters.

Theorem 3.2.3 is the finite horizon case of the approximating sequence method. It says exactly when finite truncations give the right answer, and it reduces the question to Assumption FH, for which Section 3.3 gives checkable conditions. The same structure (a lim inf inequality, a lim sup assumption, a limit point of optimal truncated policies) recurs for the discounted and the average cost criteria in later chapters.

The results are proved in the book. None of them is formalized: the platform has finite horizon dynamic programming only for Markov policies, abstract monotone mappings or finite reward-maximizing MDPs, and nothing on approximating sequences. A formalization contributes a Lean model of Markov decision chains with general policies and extended-valued criteria, which the later missions of the series restate and can merge with this one.

Difficulty

The obvious proof of the optimality equation conditions on the first action and state and then applies the induction hypothesis to the rest of the trajectory. With general policies the rest of the trajectory is governed by a continuation policy that depends on the first state and action, and the decomposition of the path law into a first step and a continuation must be proved from the definition of the process, not assumed. Infinite values also make the "only if" direction delicate: a strict inequality between expected costs becomes an equality once both sides are infinite.

For approximating sequences, the natural idea is to pass to the limit in the optimality equation of ΔN\Delta_NΔN​. This fails in general. Example 3.2.1 of the book has lim⁡Nv1,2N(0)=2>1=v1,2(0)\lim_N v^N_{1,2}(0) = 2 > 1 = v_{1,2}(0)limN​v1,2N​(0)=2>1=v1,2​(0), because truncation moves probability onto states of high cost and dominated convergence is not available. Only the lim inf inequality holds for free, through a generalized Fatou lemma for approximating distributions. The lim sup side is exactly what Assumption FH supplies. The limit point argument then needs the compactness statement of Appendix B and the fact that a lim inf can be passed through a minimum over a finite set.

Formalization scope

The state space is a type S with [Countable S], the actions a type Act, and A i : Finset Act is nonempty. Costs are ℝ≥0, transition probabilities ℝ≥0∞ summing to 1 over S, and all values and expectations are in ℝ≥0∞, so infima over policies are lattice infima and +∞ is a genuine value. A history is the list of past state–action pairs, most recent first, with the current state, and a policy gives a distribution on A i for every history. Expectations are sums over histories of the path probabilities ∏θ(as∣hs)Pisis+1(as)\prod \theta(a_s \mid h_s) P_{i_s i_{s+1}}(a_s)∏θ(as​∣hs​)Pis​is+1​​(as​), which is the book's (2.6) and (2.9), not the dynamic programming recursion. The discount factor satisfies 0<α≤10 < \alpha \le 10<α≤1 in every statement. An approximating sequence is indexed by N∈NN \in \mathbb NN∈N with a start level N0N_0N0​; its value functions are set to 000 for the finitely many NNN at which a given state is not yet in SNS_NSN​, which does not affect limits.

The optimality equation must not be made definitional by defining vθ,α,nv_{\theta,\alpha,n}vθ,α,n​ or vα,nv_{\alpha,n}vα,n​ through the recursion (3.2). The policy class must not be restricted to deterministic Markov policies either, since that would make the characterization in Theorem 3.1.2 a different statement. Theorem 3.1.2(ii)(2) is stated with the guard vα,n(i)<∞v_{\alpha,n}(i) < \inftyvα,n​(i)<∞; the book omits it, and without it the "only if" direction is false (see the item's note).

A complete development needs the first-step decomposition of the path law under a general policy, the generalized Fatou lemma for approximating distributions (Proposition A.2.5, a milestone of the Appendix A mission of this series), and lim inf / lim sup manipulations in ℝ≥0∞. The model definitions are reusable by every later mission of the series. Contributions are welcome at every milestone, including proofs of the definitional sanity facts (for instance vθ,α,0=Fv_{\theta,\alpha,0} = Fvθ,α,0​=F).

Selected references

  • Linn I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley Series in Probability and Statistics, John Wiley & Sons, 1999. https://doi.org/10.1002/9780470317037
  • Martin L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994 (the standard reference for finite horizon dynamic programming with history-dependent randomized policies).
  • Richard Bellman, Dynamic Programming, Princeton University Press, 1957.
14 thms3 active usersReviewed
Algorithmic Game TheoryDynamical SystemsProbability·Captain: mikedeng1

On the Global Convergence of Stochastic Fictitious Play IV: Almost Sure Convergence in Supermodular Games with a Unique Rest PointResearch Paper

Motivation

Fictitious play is the oldest model of learning in games: each player repeatedly best-responds to the empirical frequencies of the opponents' past play. Stochastic fictitious play adds random payoff disturbances before each choice, so that players choose smoothed ("perturbed") best responses. It is a standard model in economics and in the study of learning in games (Fudenberg and Levine, 1998), and its long-run behavior is described through a deterministic mean dynamic, the perturbed best response dynamic, using stochastic approximation theory (Benaïm and Hirsch, 1999).

Supermodular games model strategic complementarities: the gain from moving to a higher strategy increases when opponents move to higher strategies. They arise in coordination, oligopoly and macroeconomic models (Milgrom and Roberts, 1990; Vives, 1990). Hofbauer and Sandholm (Econometrica 2002) show that in such games stochastic fictitious play converges almost surely whenever its mean dynamic has a unique rest point. This mission formalizes that result and the chain of lemmas behind it (Section 5 and the Appendix of the paper).

Timeline. Benaïm and Hirsch (1999) observed that supermodular games with exactly two strategies per player yield strongly monotone perturbed best response dynamics. Hofbauer and Sandholm (2002) extended this to any number of strategies by introducing stochastic dominance coordinates, and proved Theorem 6.1(iv). Benaïm (2000) supplied the low-dimensional convergence theorem used for the dimension ≤ 2 clause.

Setting

A ppp player normal form game gives player α\alphaα an ordered finite strategy set Sα={0,…,nα−1}S^\alpha = \{0,\dots,n^\alpha - 1\}Sα={0,…,nα−1} and a utility uαu^\alphauα on pure profiles. Σ=∏αΔSα\Sigma = \prod_\alpha \Delta S^\alphaΣ=∏α​ΔSα is the set of mixed profiles, and player α\alphaα's payoff vector is Uiα(x−α)=∑s: sα=iuα(s)∏β≠αxsββU^\alpha_i(x^{-\alpha}) = \sum_{s:\, s^\alpha = i} u^\alpha(s) \prod_{\beta \ne \alpha} x^\beta_{s^\beta}Uiα​(x−α)=∑s:sα=i​uα(s)∏β=α​xsββ​.

The game is strictly supermodular if for all distinct players α≠β\alpha \ne \betaα=β and all profiles s,s^s, \hat ss,s^ with sα>s^αs^\alpha > \hat s^\alphasα>s^α and s−α=s^−αs^{-\alpha} = \hat s^{-\alpha}s−α=s^−α, the difference uα(s)−uα(s^)u^\alpha(s) - u^\alpha(\hat s)uα(s)−uα(s^) is strictly increasing in sβ=s^βs^\beta = \hat s^\betasβ=s^β.

Each player α\alphaα has a shock density fαf^\alphafα on Rnα\mathbb R^{n^\alpha}Rnα, strictly positive, whose choice function Ciα(π)=P(argmax⁡jπj+εj=i)C^\alpha_i(\pi) = P(\operatorname{argmax}_j \pi_j + \varepsilon_j = i)Ciα​(π)=P(argmaxj​πj​+εj​=i) is continuously differentiable. The perturbed best response is B~α(x−α)=Cα(Uα(x−α))\tilde B^\alpha(x^{-\alpha}) = C^\alpha(U^\alpha(x^{-\alpha}))B~α(x−α)=Cα(Uα(x−α)), and the perturbed best response dynamic is

(P)x˙α=B~α(x−α)−xα.(\mathrm P)\qquad \dot x^\alpha = \tilde B^\alpha(x^{-\alpha}) - x^\alpha .(P)x˙α=B~α(x−α)−xα.

RP(P)RP(\mathrm P)RP(P) is its set of rest points in Σ\SigmaΣ and CR(P)CR(\mathrm P)CR(P) its chain recurrent set.

In standard stochastic fictitious play the shocks εtα\varepsilon^\alpha_tεtα​ have densities fαf^\alphafα and are independent over time and across players. From an arbitrary initial pure profile ζ1\zeta_1ζ1​, each player at time t+1t+1t+1 plays the pure strategy maximizing Ukα(Zt−α)+(εtα)kU^\alpha_k(Z_t^{-\alpha}) + (\varepsilon^\alpha_t)_kUkα​(Zt−α​)+(εtα​)k​, where Zt=1t∑u≤tζuZ_t = \frac1t \sum_{u \le t} \zeta_uZt​=t1​∑u≤t​ζu​ is the vector of empirical frequencies.

The stochastic dominance coordinates are (Tαxα)i=∑j>ixjα∈Rnα−1(T^\alpha x^\alpha)_i = \sum_{j > i} x^\alpha_j \in \mathbb R^{n^\alpha - 1}(Tαxα)i​=∑j>i​xjα​∈Rnα−1, the mass on strategies above iii; Tx≤TyT x \le T yTx≤Ty means each yαy^\alphayα stochastically dominates xαx^\alphaxα. In these coordinates (P) becomes a dynamic (T) on T(Σ)T(\Sigma)T(Σ).

Formalization targets

Goal: Theorem 6.1(iv), unique rest point clause

For a strictly supermodular game with p≥2p \ge 2p≥2 players and shock densities as above, if RP(P)={x∗}RP(\mathrm P) = \{x^*\}RP(P)={x∗} then

P(lim⁡t→∞Zt=x∗)=1,P\Big(\lim_{t\to\infty} Z_t = x^*\Big) = 1,P(t→∞lim​Zt​=x∗)=1,

on every probability space, for every independent shock family with the given densities and every initial profile.

Milestones

  • Lemma A.2, eq. (14), Lemma A.3 and eqs. (17)–(18): the order-theoretic and differential facts behind monotonicity.
  • Theorem 5.1: T−αy−α≥T−αx−α⇒TαB~α(y−α)≥TαB~α(x−α)T^{-\alpha} y^{-\alpha} \ge T^{-\alpha} x^{-\alpha} \Rightarrow T^\alpha \tilde B^\alpha(y^{-\alpha}) \ge T^\alpha \tilde B^\alpha(x^{-\alpha})T−αy−α≥T−αx−α⇒TαB~α(y−α)≥TαB~α(x−α).
  • Theorem 5.2: there are rest points x‾,xˉ\underline x, \bar xx​,xˉ with RP(P)⊆[x‾,xˉ]RP(\mathrm P) \subseteq [\underline x, \bar x]RP(P)⊆[x​,xˉ].
  • Proposition 5.3: (P) and (T) are linearly conjugate.
  • Theorem 5.4: (T) is cooperative and irreducible.
  • Corollary 5.5(i)–(ii): (P) is strongly monotone, and CR(P)⊆[x‾,xˉ]CR(\mathrm P) \subseteq [\underline x, \bar x]CR(P)⊆[x​,xˉ], so CR(P)={x∗}CR(\mathrm P) = \{x^*\}CR(P)={x∗} when the rest point is unique.

Significance

The result gives global almost-sure convergence of a stochastic learning process in a broad class of games with many strategies, where earlier results needed two strategies per player or specific payoff structures. It also shows which properties of the choice function matter: only eqs. (17)–(18), not the symmetry of its derivative used for potential and zero-sum games.

The paper's proof is complete but relies on outside results: stochastic approximation (Benaïm–Hirsch 1999, Benaïm 1999), monotone dynamical systems (Smith 1995), and the inclusion of the chain recurrent set in the global attractor (Robinson 1995). None of these, nor the Hofbauer–Sandholm theorem itself, is formalized in any proof assistant as far as known. The mission produces a machine-checked version of the theorem and of the Section 5 monotonicity theory.

Difficulty

The monotonicity lemmas are finite-dimensional calculus and summation by parts. The substantial steps are elsewhere. Strong monotonicity of a cooperative irreducible system (Corollary 5.5(i)) is a theorem of monotone dynamical systems that Mathlib does not have, and it must hold on the closed, non-open state space T(Σ)T(\Sigma)T(Σ). The step from the ODE to the random process needs the stochastic approximation theorem: the empirical frequencies are an asymptotic pseudotrajectory of (P), and their limit set is almost surely internally chain transitive. Knowing that x∗x^*x∗ is globally asymptotically stable for (P) does not by itself give almost-sure convergence of ZtZ_tZt​. The limit set of the random process must be related to the chain recurrent set of (P), which is where Corollary 5.5(ii) enters.

Formalization scope

Players are Fin p, strategies Fin (n α) (0-based, same order as the paper), with every nα≥1n^\alpha \ge 1nα≥1. Mixed profiles live in the ambient space ∏αRnα\prod_\alpha \mathbb R^{n^\alpha}∏α​Rnα with the sup norm. The fields of (P) and (T) are defined on the whole ambient space, so partial derivatives are ordinary Fréchet derivatives. Densities are [0,∞][0,\infty][0,∞]-valued. Solutions are forward solutions staying in the state space. The chain recurrent set quantifies over solutions, which are unique here because the fields are C1C^1C1. The process ZtZ_tZt​ is defined pathwise from the shocks, with ties in the argmax broken by the smallest index (a null event). Densities may differ across players.

A statement about the ODE (P), or about a single noise law such as logit, would be a different and much weaker theorem. The goal is about the random process ZtZ_tZt​, on every probability space carrying independent shocks with the given densities. Irreducibility and strong monotonicity additionally assume that two distinct players each have at least two strategies; when one player owns every stochastic dominance coordinate and has at least two of them, supermodularity holds vacuously while irreducibility fails.

A complete development needs: random utility choice functions and their derivatives; monotone and cooperative ODE theory on convex sets; the chain recurrent set and the global attractor; stochastic approximation for processes with step size 1/t1/t1/t. The last three are reusable well beyond this mission. Contributions to any milestone, and general-purpose lemmas on cooperative systems or stochastic approximation, are welcome.

Selected references

  • J. Hofbauer and W. H. Sandholm, On the Global Convergence of Stochastic Fictitious Play, Econometrica 70 (2002), 2265–2294. https://doi.org/10.1111/1468-0262.00376 (formalized from the authors' manuscript of February 21, 2002)
  • M. Benaïm and M. W. Hirsch, Mixed Equilibria and Dynamical Systems Arising from Repeated Games, Games and Economic Behavior 29 (1999), 36–72. https://doi.org/10.1006/game.1997.0636
  • M. Benaïm, Dynamics of Stochastic Approximation Algorithms, Séminaire de Probabilités XXXIII, Lecture Notes in Mathematics 1709, Springer (1999). https://doi.org/10.1007/BFb0096509
  • M. Benaïm, Convergence with Probability One of Stochastic Approximation Algorithms Whose Average is Cooperative, Nonlinearity 13 (2000), 601–616. https://doi.org/10.1088/0951-7715/13/3/305
  • H. L. Smith, Monotone Dynamical Systems, AMS Mathematical Surveys and Monographs 41 (1995). https://doi.org/10.1090/surv/041
  • P. Milgrom and J. Roberts, Rationalizability, Learning, and Equilibrium in Games with Strategic Complementarities, Econometrica 58 (1990), 1255–1277. https://doi.org/10.2307/2938316
  • D. Fudenberg and D. K. Levine, The Theory of Learning in Games, MIT Press (1998).
17 thms3 active usersReviewed
Operations ResearchProbability·Captain: Shuze Chen

Processing Networks XIII: Back-Pressure Control for Packet NetworksTextbook

Motivation

Mission XII (12-packet-networks-model) built the discrete-time, slotted packet-network model from scratch and proved the chapter's own version of the fluid-to-stochastic stability bridge (Theorem 12.10). That result is only useful once paired with an actual control policy whose fluid model can be shown stable. J. G. Dai and J. Michael Harrison's Processing Networks: Fluid Models and Stability (Cambridge University Press, forthcoming; cited here from the authors' pre-publication draft, 2020-4-2, http://spnbook.org) supplies exactly such a policy in Sections 12.4-12.5: back-pressure control (called max-weight when the network is single-hop), a rule that has become the default choice in the switching and wireless-scheduling literature because it requires no advance knowledge of arrival rates and achieves the largest possible stability region. This mission formalizes back-pressure control for the discrete-time packet network model and proves it maximally stable — the chapter's own counterpart to mission VIII's continuous-time Theorem 9.12.

Setting

At the start of each timeslot, having observed the current buffer contents zzz, the max-weight/ back-pressure (MW/BP) policy solves max⁡s∈S(z)z⋅Rs\max_{s\in S(z)} z\cdot Rsmaxs∈S(z)​z⋅Rs (Eq. 12.41), where S(z):={s∈S:Bs≤z}S(z) := \{s\in S : Bs\le z\}S(z):={s∈S:Bs≤z} restricts the schedule set SSS (mission XII) to what is actually available given zzz. Equivalently (Eq. 12.42-12.43), writing wj(z):=zu(j)−zd(j)w_j(z) := z_{u(j)} - z_{d(j)}wj​(z):=zu(j)​−zd(j)​ (with z0:=0z_0 := 0z0​:=0) for the "weight" of activity jjj, the policy maximizes ∑jwj(z)sj\sum_j w_j(z) s_j∑j​wj​(z)sj​ — the schedule that clears the most "backlog pressure" per timeslot. The policy is deterministic (no randomization variable is needed, since (12.41) is a genuine optimization problem, not one that inherently requires randomized tie-breaking).

Formalization targets

Goal: Theorem 12.16 — aperiodicity, irreducibility, and conditional positive recurrence

Consider a packet network satisfying (12.1) and Assumption 12.1, operating under back-pressure control. The DTMC ZZZ is aperiodic and irreducible unconditionally. If the stability condition (12.26) — the existence of s^∈⟨S⟩\hat s\in\langle S\rangles^∈⟨S⟩ with λ<Rs^\lambda < R\hat sλ<Rs^ — is additionally satisfied, ZZZ is positive recurrent. This is the mission's headline result, and it packages both a structural fact (irreducibility/aperiodicity, needed regardless of load) and a conditional stability fact (positive recurrence, needed only under (12.26)) in one theorem.

Supporting milestones

Lemma 12.17 shows the optimization problem (12.41) always has a nonzero solution whenever the network is nonempty — the fact that back-pressure never "idles unnecessarily," which Lemma 12.18 uses to show every state can reach the empty state (hence irreducibility) and that state 000 has period 111 (hence aperiodicity, via (12.1)'s own assumption that no external arrivals is possible with positive probability). Lemma 12.20 is the back-pressure fluid equation (12.44), the discrete-time analog of mission VIII's Theorem 9.8: at each regular point, the fluid-scaled buffer content dotted with the fluid departure rate equals the maximum of that same dot product over the convex hull of the schedule set. Lemma 12.21 shows this fluid model is stable whenever (12.26) holds, via an explicit quadratic Lyapunov function.

Significance

The result itself. Theorem 12.16 shows that back-pressure control — a rule requiring no knowledge of arrival rates, computed fresh from the current buffer contents every timeslot — is maximally stable: combined with Theorem 12.8 and Proposition 12.9 (mission XII), it stabilizes every packet network arrival-rate vector that any policy could possibly stabilize. This is the discrete-time, slotted analog of mission VIII's Theorem 9.12, and the two proofs share their essential Lyapunov argument (the book's own text calls Lemma 12.21's proof "almost identical to that of Theorem 9.12"), even though the two chapters' back-pressure equations are built from different underlying objects — mission VIII's continuous-time allocation polytope versus this chapter's convex hull of a discrete schedule set.

Formalizing it. A live prior-art check (GET /theorems?q=back-pressure, q=max-weight) finds no relevant hits, matching mission VIII's own finding for the continuous-time version. This mission formalizes the back-pressure optimization problem and policy, the back-pressure fluid equation, and its stability from scratch, restating (per this series' convention for concurrently-drafted chunks sharing a sub-namespace) the minimal apparatus needed from mission XII: the packet network model, Assumption 12.1, the raw processes, fluid limit paths, the fluid equations (12.31)-(12.36), and the ambient-chain machinery, plus a new Aperiodic predicate this chunk needs that mission XII's own results do not.

Difficulty

The obvious approach to Lemma 12.20's back-pressure fluid equation — directly differentiate the discrete system equation — obscures the actual argument, which reduces a maximum over the (potentially non-polytope) discrete schedule set SSS to a maximum over its convex hull ⟨S⟩\langle S\rangle⟨S⟩ (justified because a linear functional on a compact polytope is maximized at an extreme point) and then shows that every schedule with a strictly smaller objective value than the maximizer contributes zero derivative to the usage-counting process T^s\hat T_sT^s​ — the discrete-time analog of mission VIII's Lemmas 9.10-9.11. A second difficulty is connecting the maximum-over-a- finite-set at the fluid-scaled level to Definition 12.3's discrete, arrival-indexed back-pressure policy: this mission's own Lemma 12.20 item states the fluid-relevant consequence of the discrete policy as a documented hypothesis (mirroring mission XI's own scope decision for its structurally identical WWTA fluid equation) rather than re-deriving it from the raw stochastic recursion, which would require reconstructing infrastructure outside this chapter's own numbered results.

Formalization scope

The packet network model, Assumption 12.1, the raw processes, and the fluid-limit apparatus are restated verbatim from mission XII (12-packet-networks-model), since concurrently-drafted chunks sharing a sub-namespace do not import one another's Lean files. IsBPOptimal is phrased via domination over the feasible-at-zzz schedule set, not sSup/argmax, per this series' junk-value-avoidance convention; the same convention is applied to the maximum over ⟨S⟩\langle S\rangle⟨S⟩ in the back-pressure fluid equation. The formalization does not admit a trivializing reading: irreducibility and aperiodicity are the same non-vacuous renewal-theoretic notions used throughout this series (Aperiodic requires a genuine positive self-transition probability, not a vacuously-true condition), and the goal's positive-recurrence conjunct is genuinely conditional on (12.26), stated with the correct strict inequality rather than weakened to ≤\le≤. Contributions completing the five by sorry proofs are welcome, particularly Lemma 12.17's hop-count induction and Lemma 12.20's extreme-point/zero-derivative argument (mirroring mission VIII's own Lemmas 9.10-9.11, adapted to discrete time).

Selected references

  • J. G. Dai and J. Michael Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press (forthcoming), pre-publication draft 2020-4-2. http://spnbook.org
8 thms3 active usersReviewed
Operations ResearchProbability·Captain: Shuze Chen

Processing Networks XII: Packet Networks, Subcriticality and Fluid LimitsTextbook

Motivation

Internet routers, wireless base stations, and data-switch fabrics all face the same recurring decision: in each discrete time slot, which of many possible transfer operations should be executed, given the packets currently queued and the physical constraints (link capacities, interference between simultaneous transmissions) on what can be done at once? J. G. Dai and J. Michael Harrison's Processing Networks: Fluid Models and Stability (Cambridge University Press, forthcoming; cited here from the authors' pre-publication draft, 2020-4-2, http://spnbook.org) devotes Chapter 12 to exactly this question, under the name packet networks. Unlike every prior chapter of the book, which works in continuous time with Poisson-driven Markov chains, this chapter builds its stability theory from scratch for a discrete-time, slotted model — the natural setting for a system that makes one scheduling decision per clock tick. This mission formalizes the chapter's foundational layer: the model itself, its notion of a feasible schedule and control policy, subcriticality, and the discrete-time fluid-limit machinery that Chapters 13 and 14 (back-pressure control and random proportional scheduling, respectively) build their own stability proofs on top of.

Setting

A packet network (Section 12.1) has I packet classes and J activities (service types); activity jjj transfers a packet from its input class u(j)u(j)u(j) to its output class d(j)d(j)d(j) (or removes it from the network if d(j)=0d(j)=0d(j)=0), giving an I×JI\times JI×J input-output matrix RRR. A processing plan for class iii (Definition 12.2) is a chain of activities from iii to exit; Assumption 12.1 requires every class to have one and forbids cycles. In each timeslot the system manager chooses a schedule s∈Z+Js\in\mathbb Z^J_+s∈Z+J​ from a feasible set SSS satisfying the packet-availability constraint Bs≤zBs\le zBs≤z (the current buffer contents); SSS is typically built (Section 12.2) from a link usage matrix AAA and a set CCC of feasible link configurations via Sc:={s:As≤c}S_c := \{s : As\le c\}Sc​:={s:As≤c}, S:=⋃c∈CScS := \bigcup_{c\in C} S_cS:=⋃c∈C​Sc​. A Markovian control policy (Definition 12.3, Eq. 12.8) chooses s(τ)=f(Z(τ−1),U(τ))s(\tau) = f(Z(\tau-1), U(\tau))s(τ)=f(Z(τ−1),U(τ)) from the current buffer contents and an independent randomization variable; it is admissible if it never overdraws a buffer, and stable if the resulting discrete-time Markov chain ZZZ is irreducible and positive recurrent.

Formalization targets

Goal: Theorem 12.10 — fluid limit stability implies positive recurrence

If the DTMC ZZZ under a Markovian policy fff is irreducible and its fluid limit is stable (Definitions 12.14-12.15), then ZZZ is positive recurrent. This is the chapter's own version of Theorem 6.2 (mission III) — the technical fulcrum that lets a deterministic fluid-model stability argument certify the stability of the original discrete, stochastic system — restated for a genuinely different probabilistic model, since Theorem 6.2 was built under continuous-time, Poisson-arrival hypotheses this chapter does not share.

Supporting milestones

Propositions 12.6-12.7 characterize the convex hulls ⟨Sc⟩\langle S_c\rangle⟨Sc​⟩ and ⟨S⟩\langle S\rangle⟨S⟩ as explicit polytopes cut out by the link usage matrix — the combinatorial core that Theorem 12.8 (stability implies subcriticality, this chapter's analog of Theorem 5.2) and Proposition 12.9 (a necessary condition for subcriticality) both build on. Lemma 12.11 records that the schedule-usage counting process is Lipschitz; Lemma 12.12 is the functional strong law of large numbers the external arrival process satisfies; and Theorem 12.13 combines them to establish existence of discrete-time fluid limits satisfying the chapter's own fluid equations (12.31)-(12.36) — the chapter's analog of Theorem 6.5.

Significance

The result itself. Theorem 12.10 is what makes the rest of Chapter 12 (and Chapters 13-14) tractable: rather than analyzing an infinite-state discrete-time Markov chain's positive recurrence directly — a notoriously hard problem in general — it suffices to exhibit a deterministic fluid model and show every solution of that fluid model empties in finite time. This is the same strategy Chapter 6 established for the book's continuous-time model, but Chapter 12 cannot simply invoke that earlier theorem: the packet network model uses discrete time slots rather than a continuous clock, and its probabilistic structure (arbitrary i.i.d. arrival increments rather than Poisson arrivals) is different enough that the fluid-limit compactness argument has to be redone, even though — as the book's own text notes — "the proof mimics that of Theorem 6.2."

Formalizing it. A live prior-art check (GET /theorems?q=packet+network, q=discrete-time+Markov+chain, q=slotted+time) finds no relevant hits. A dedicated further check for MarkovMixing, a different mission's own corpus offering a PositiveRecurrent predicate for Markov chains, found a representationally distinct formalization (a row-function transition kernel rather than this series' own PMF-based jump-chain convention); this mission restates positive recurrence and irreducibility locally instead, consistent with every mission in this series since mission I. Everything else — the packet network model, schedules and configurations, the subcritical region, Markovian policies, and the discrete-time fluid-limit apparatus — is formalized from scratch.

Difficulty

The most consequential decision in this mission is representational, not mathematical: Theorem 12.10's fluid-limit-stability hypothesis quantifies over all fluid limit paths, which are themselves scaling limits of a genuinely stochastic discrete-time process — reconstructing that process from Chapter 2/4's own primitive stochastic elements (arrival processes, phase-type service mechanics) would require rebuilding infrastructure this chapter's own numbered results do not supply. Following mission III's own precedent for its structurally identical Theorem 6.5, this mission instead takes the raw, per-initial-state schedule-usage and arrival processes as given data satisfying only the recap properties the chapter's own proofs actually cite (Eq. 12.9-12.10's system equation, monotonicity), and fixes a single sample point together with an explicit SLLN hypothesis rather than a bare "for almost all ω\omegaω" quantifier — matching the book's own statement of Theorem 12.13, which itself begins "Fix an ω∈Ω1\omega\in\Omega_1ω∈Ω1​" rather than quantifying almost everywhere within the theorem itself. A second difficulty is genuinely combinatorial: Proposition 12.6's proof constructs an explicit product-form probability distribution over schedules (one independent randomization per link) whose mean recovers an arbitrary point of the polytope {Ax≤c}\{Ax\le c\}{Ax≤c} — a real combinatorial argument, not a formal consequence of the convex-hull operator's definition.

Formalization scope

Classes, activities, links, schedules and configurations are represented via Fin-indexed types throughout; S and C are taken as Finsets (every worked example in the book has finitely many configurations, and the link usage matrix's single-1-per-column structure bounds each schedule component, so this is a genuine, if implicit, standing feature of the model rather than an added restriction). IsScheduleSetAt/IsScheduleSet characterize ScS_cSc​/SSS via an ↔ against the underlying capacity constraint, rather than constructing them, matching how set-valued model data is handled elsewhere in this series. The formalization does not admit a trivializing reading: the ambient chain's positive recurrence (PositiveRecurrent) is the same non-vacuous renewal-theoretic notion used throughout this series, PacketFluidLimitStable quantifies over every genuine fluid limit path (not a hand-picked one), and subcriticalRegion is stated with a strict inequality (As^<c^A\hat s < \hat cAs^<c^) exactly as Eq. 12.24 requires, not weakened to ≤\le≤. Contributions completing the eight by sorry proofs are welcome, particularly Proposition 12.6's explicit randomized- schedule construction and Theorem 12.13's compactness argument (mirroring mission III's own Theorem 6.5 proof, adapted to discrete time).

Selected references

  • J. G. Dai and J. Michael Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press (forthcoming), pre-publication draft 2020-4-2. http://spnbook.org
14 thms3 active usersReviewed
🏆Completed
Operations ResearchProbability·Captain: Shuze Chen

Processing Networks XI: Maximal Stability of Workload-Weighted Task AllocationTextbook

Motivation

Large-scale data-intensive computing splits a job into many small "map tasks," each of which must be assigned to one of thousands of general-purpose servers in a data center — the MapReduce paradigm introduced by Dean and Ghemawat (2008). Because a task's input data is stored on only a few of those servers, routing it to a server that already holds its data ("data locality") avoids costly network transfer, so a task-allocation policy that ignores locality can leave a server farm badly underutilized even when raw compute capacity is ample. J. G. Dai and J. Michael Harrison's Processing Networks: Fluid Models and Stability (Cambridge University Press, forthcoming; cited here from the authors' pre-publication draft, 2020-4-2, http://spnbook.org) devotes Chapter 11 to a rigorous stability analysis of Xie, Yekkehkhany, and Lu's (2016) workload-weighted task allocation (WWTA) policy, which routes each arriving task to whichever eligible server currently carries the least (locality-weighted) backlog. This mission formalizes the chapter's central result: WWTA is not merely a reasonable heuristic but is maximally stable — it keeps the system stable whenever any routing policy could.

Setting

A task allocation model (Sections 11.2-11.3) has L task categories and K servers; a class is a pair (ℓ,k)(\ell,k)(ℓ,k), a category routed to a specific server, with mean service time mℓk>0m_{\ell k} > 0mℓk​>0 (Eq. 11.3) reflecting both data locality (local, rack-local, or remote access) and the server's relative processing speed. Tasks in category ℓ\ellℓ arrive according to a Markovian arrival process (MArP) with long-run average rate νℓ\nu_\ellνℓ​ — a substantially more general model than the independent Poisson streams used elsewhere in the book, needed to capture batches of map tasks generated from a single job. Routing is by immediate commitment: each task is assigned to a server the instant it arrives, based only on its category and the current backlog, with no possibility of later reassignment. The workload of server kkk at time ttt (Eq. 11.7) is Wk(t):=∑ℓmℓkZℓk(t)W_k(t) := \sum_\ell m_{\ell k} Z_{\ell k}(t)Wk​(t):=∑ℓ​mℓk​Zℓk​(t), the locality-weighted total backlog assigned to it. Workload-weighted task allocation (WWTA), Definition 11.3, routes an arriving category-ℓ\ellℓ task to any server achieving argmin⁡kmℓkWk(t−)\operatorname{argmin}_{k} m_{\ell k} W_k(t-)argmink​mℓk​Wk​(t−) (Eq. 11.8, ties broken arbitrarily), where W(t−)W(t-)W(t−) is the workload vector's left limit at the arrival instant.

Formalization targets

Goal: Theorem 11.6 — WWTA fluid model stability under the load condition

If there exists λ=(λℓk)≥0\lambda = (\lambda_{\ell k}) \ge 0λ=(λℓk​)≥0 with ∑kλℓk=νℓ\sum_k \lambda_{\ell k} = \nu_\ell∑k​λℓk​=νℓ​ for each category (Eq. 11.4) and ∑ℓmℓkλℓk<1\sum_\ell m_{\ell k}\lambda_{\ell k} < 1∑ℓ​mℓk​λℓk​<1 for each server (Eq. 11.5), then the WWTA fluid model — the deterministic fluid equations (11.11)-(11.16) that arise as scaling limits of the stochastic model under WWTA control — is stable: every solution reaches the zero state in finite time proportional to its initial size.

Supporting milestones

Lemma 11.2 shows this load condition is equivalent to subcriticality of the task allocation model, in the sense of Section 5.2's general definition, reducing an existence statement over the model's full G,R,A,bG,R,A,bG,R,A,b apparatus to a simple linear-feasibility check. Theorem 11.4 establishes that fluid limits of the stochastic model exist and satisfy the general fluid equations (11.11)-(11.15) under any immediate-commitment routing policy, and the WWTA-specific equation (11.16) under WWTA — the chapter's version of the fluid-limit machinery Chapter 6 builds for the book's standard model, adapted to Markovian (not Poisson) arrivals and immediate-commitment routing. Theorem 11.5 is the corresponding replacement for Theorem 6.2 (mission III): fluid limit stability implies stability of the original stochastic model. Corollary 11.7 is the mission's other headline consequence: WWTA is maximally stable, stabilizing the model whenever any simply structured routing policy could.

Significance

The result itself. A task-allocation heuristic motivated purely by an intuitive "balance-the-weighted-backlog" idea turns out to have the strongest stability guarantee a policy can have: it never needs re-tuning as arrival rates change, and no alternative policy can stabilize a regime WWTA cannot. Xie, Yekkehkhany, and Lu (2016) proved this fact (calling it "throughput optimality") by direct analysis of the discrete stochastic model using a quadratic Lyapunov function; Dai and Harrison's contribution is to prove the same conclusion via the fluid-model route, and — because the task allocation model violates two of the standing assumptions under which Chapter 6's general theory was built (MArP rather than Poisson arrivals, immediate-commitment routing rather than the book's default relaxed control) — to show that the general fluid-stability machinery survives those changes with only minor modification.

Formalizing it. A live prior-art check (GET /theorems?q=task+allocation, q=server%20farm, q=data%20locality) finds no relevant hits on the platform (workload returns one unrelated text-corpus-statistics result). This mission formalizes the task allocation model, WWTA, the fluid equations, and the stochastic-to-fluid bridge from scratch, reusing Mathlib's general real-analysis, measure-theory, and PMF-based Markov-chain substrate, and restating (per this series' convention for concurrently-drafted chunks) the minimal apparatus needed from missions I and III.

Difficulty

The obvious approach to Definition 11.3 — pick a canonical minimizer of mℓ⋅W⋅(t−)m_{\ell\cdot}W_\cdot(t-)mℓ⋅​W⋅​(t−), e.g. via Finset.min' — silently narrows WWTA to a single tie-breaking rule, when (11.8) explicitly allows any minimizer; this mission instead states WWTA as domination over every server, accepting every admissible tie-break. A second difficulty is genuinely structural: Theorem 11.4's "for almost all ω\omegaω" existence claim is a measure-theoretic statement about a probability space that mission III's own analogous Theorem 6.5 sidesteps by fixing a sample point ω\omegaω together with the specific SLLN limit that argument needs — this mission follows the same precedent rather than introducing a bare "almost everywhere" quantifier, which does not by itself supply the type information Lean's typeclass resolution needs to identify an ambient measure. A third is connecting Definition 11.3's discrete, arrival-indexed routing rule to the raw (pre-limit) process family that Theorem 11.4's existence argument operates on: the book's own proof derives the needed consequence (Eq. 11.22, "server kkk receives no more category-ℓ\ellℓ tasks in a neighbourhood of ttt") via an explicit ε\varepsilonε-δ\deltaδ argument from the discrete policy, which this mission takes as a documented hypothesis rather than re-deriving, since building the arrival-sequence-to-counting-process reconstruction is genuinely Chapter 2/4 machinery outside this chapter's own numbered results.

Formalization scope

Classes are represented as pairs (ℓ,k) : Fin L × Fin K rather than flattened to a single index, avoiding an arbitrary choice of encoding. TaskAllocationProcessFamily, FluidLimitPath, and TaskAllocationFluidLimitStable restate mission III's SPNProcessFamily/FluidLimitPath/ FluidLimitStable apparatus, adapted to this model's (E,D,Z) triple and doubly-indexed classes; PositiveRecurrent restates mission I's renewal-theoretic positive-recurrence notion. The formalization does not admit a trivializing reading: IsWWTA accepts every admissible tie-break rather than a single canonical one, SatisfiesWWTAFluidEquation requires Nonempty (Fin K) so its min_{k} is a genuine minimum rather than a junk value at zero servers, and the goal's conclusion WWTAFluidStable is the same non-vacuous fluid-model-stability predicate (Definition 6.3, specialized) used throughout this series. Contributions completing the five by sorry proofs are welcome, particularly Theorem 11.4's fluid-limit compactness argument (mirroring mission III's own Theorem 6.5 proof) and Theorem 11.6's explicit quadratic-Lyapunov-function argument.

Selected references

  • J. G. Dai and J. Michael Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press (forthcoming), pre-publication draft 2020-4-2. http://spnbook.org
  • J. Dean and S. Ghemawat, "MapReduce: simplified data processing on large clusters," Communications of the ACM 51 (2008), 107–113.
  • Q. Xie, A. Yekkehkhany, and Y. Lu, "Scheduling with multi-level data locality: throughput and heavy-traffic optimality," IEEE INFOCOM 2016.
10 thms3 active usersReviewed
Operations ResearchProbability·Captain: Shuze Chen

Processing Networks X: Maximal Stability of Proportionally Fair ControlTextbook

Motivation

Mission IX (09-proportional-fairness-core) formalized proportional fairness (PF) as a control policy and proved the technical core of its stability theory: under a load condition, the PF fluid model is stable (Theorem 10.5), via an entropy Lyapunov function that is genuinely not Lipschitz continuous — a departure from every other stability argument in J. G. Dai and J. Michael Harrison's Processing Networks: Fluid Models and Stability (Cambridge University Press, forthcoming; cited here from the authors' pre-publication draft, 2020-4-2, http://spnbook.org). A stability theorem for one fixed arrival-rate vector is, on its own, a narrower claim than practitioners actually want: real systems see load that changes over time, and a control policy worth adopting should not need re-tuning every time the mix of traffic shifts. This mission completes Theorem 10.5's proof and turns it into exactly that stronger guarantee — proportional fairness is maximally stable: stable throughout the entire region where any policy could be stable, without knowing the arrival rates in advance — and specializes the result to two concrete network families, bandwidth-sharing networks and queueing networks under head-of-line proportional processor sharing (HLPPS), that were already familiar from earlier in the book under different control policies.

Setting

Fix a unitary network operating under PF control with mean service times m>0m > 0m>0, routing matrix PPP, a partition of job classes into demand groups {I(ℓ),ℓ∈L}\{\mathcal I(\ell), \ell \in \mathcal L\}{I(ℓ),ℓ∈L}, and a reduced allocation set A~⊂R+L\tilde{\mathcal A} \subset \mathbb R^{\mathcal L}_+A~⊂R+L​ (all restated from mission IX, Definition 10.3). The entropy Lyapunov function φ(t):=∑iZi(t)log⁡(D˙i(t)/αi)\varphi(t) := \sum_i Z_i(t)\log(\dot D_i(t)/\alpha_i)φ(t):=∑i​Zi​(t)log(D˙i​(t)/αi​) (Eq. 10.38, mission IX) admits an alternative decomposition φ=∑ℓφℓ\varphi = \sum_\ell \varphi_\ellφ=∑ℓ​φℓ​ in terms of the within-group entropy term

f(t):=∑ℓ∈L∑i∈I(ℓ)Zi(t)log⁡ ⁣(Zi(t)Yℓ(t)),Y(t):=GZ(t)(Eq. 10.50),f(t) := \sum_{\ell\in\mathcal L}\sum_{i\in\mathcal I(\ell)} Z_i(t)\log\!\left(\frac{Z_i(t)}{Y_\ell(t)}\right), \qquad Y(t) := GZ(t) \quad \text{(Eq. 10.50)},f(t):=ℓ∈L∑​i∈I(ℓ)∑​Zi​(t)log(Yℓ​(t)Zi​(t)​),Y(t):=GZ(t)(Eq. 10.50),

with the convention that the term for class iii is 000 when Zi(t)=0Z_i(t)=0Zi​(t)=0. Here D+D^+D+/D−D^-D− denote the upper-right/upper-left Dini derivatives (Appendix A.4, Eqs. A.9-A.10): at a point where the ordinary derivative may not exist, these one-sided lim sup⁡\limsuplimsups still let a Lyapunov-drift argument go through. A control policy is maximally stable (Section 5.7) for a network if its implementation does not depend on the arrival-rate vector λ\lambdaλ and it is stable for every λ\lambdaλ in the network's stability region Λ∗\Lambda^*Λ∗ — the largest region any policy could possibly stabilize.

Formalization targets

Goal: Corollary 10.16 — maximal stability of PF control for a unitary network

IsMaximallyStable(λ↦PFFluidStable(λ,m,P,grp,A~))\text{IsMaximallyStable}\Big(\lambda \mapsto \text{PFFluidStable}(\lambda, m, P, \mathrm{grp}, \tilde{\mathcal A})\Big)IsMaximallyStable(λ↦PFFluidStable(λ,m,P,grp,A~))

for the single PF policy value (its implementation never depends on λ\lambdaλ). This is the applied payoff of Theorem 10.5 (mission IX): combined with Theorem 6.2 (mission III, fluid stability implies SPN stability) and Corollary 5.6 (mission II, a λ\lambdaλ-independent policy stable throughout the subcritical region is automatically maximally stable), it upgrades a single-λ\lambdaλ stability statement to the strongest form the book's own framework can express.

Supporting milestones

Lemmas 10.11-10.15 supply the remaining technical content of Theorem 10.5's proof that mission IX's own milestones left open: Lemma 10.11 is the uniform negative-drift bound ∑iZ˙i(t)log⁡(D˙i(t)/αi)≤−ε\sum_i \dot Z_i(t)\log(\dot D_i(t)/\alpha_i) \le -\varepsilon∑i​Z˙i​(t)log(D˙i​(t)/αi​)≤−ε at every regular point with Z(t)≠0Z(t) \ne 0Z(t)=0; Lemmas 10.12-10.14 establish continuity and two successively sharper Dini-derivative bounds on the within-group entropy term fff; Lemma 10.15 shows that positivity of the departure rate D˙i(t)\dot D_i(t)D˙i​(t) propagates from occupied classes to every class. Corollaries 10.17 and 10.18 specialize the goal to bandwidth-sharing networks and to HLPPS-controlled queueing networks, respectively.

Significance

The result itself. A stability theorem tied to one fixed λ\lambdaλ is of limited practical use: it would need to be re-verified every time the arrival-rate vector changes, which real traffic does constantly. Maximal stability removes that dependency entirely — a single policy, implemented without any knowledge of λ\lambdaλ, is guaranteed stable throughout the full region any control could stabilize. Corollaries 10.17 and 10.18 make this concrete for two network families with independent histories in the literature: bandwidth-sharing networks (the original motivation for proportional fairness, Kelly 1997) and queueing networks under HLPPS, connecting PF's static, utility-theoretic motivation to a scheduling rule that predates it.

Formalizing it. A live prior-art check (GET /theorems?q=proportional%20fairness, q=maximal%20stability, q=bandwidth%20sharing) finds no relevant hits on the platform. This mission formalizes the remaining entropy-Lyapunov lemmas, the within-group entropy term, the BWS and HLPPS network models (restated locally, since no other drafted chunk covers Sections 4.5-4.6), and the maximal-stability predicate, reusing only Mathlib's general real-analysis substrate (Dini derivatives via Filter.limsup) and definitions restated from missions II, III, V, and IX under this series' restate-not-import convention for concurrently-drafted chunks.

Difficulty

The obvious approach to Corollary 10.16 — restate "maximally stable" with an explicit λ\lambdaλ-dependent policy family and add "the policy doesn't actually depend on λ\lambdaλ" as a side hypothesis — obscures the point: a policy that is definitionally independent of λ\lambdaλ is a stronger and cleaner claim than one that happens to satisfy an extra equation. This formalization instead instantiates the abstract policy type at Unit, so λ\lambdaλ-independence holds by construction rather than as a hypothesis to verify, matching the book's own reading of Section 5.7's definition. A second difficulty is Lemma 10.13's Dini-derivative inequality (Eq. 10.56): the plain-text extraction of this display equation loses bracket and subscript structure that changes its meaning, so the exact grouping was confirmed against the PDF page directly and cross-checked against the book's own re-derivation of the same bracketed expression inside Lemma 10.14's proof. A third is Corollary 10.17's proof, which genuinely depends on three facts outside this chunk's own chapter portion (Proposition 4.4 and the Section 4.4 model translation, Proposition 5.1, Theorem 5.2); rather than silently assuming them or re-deriving their proofs from scratch, they are stated as explicit hypotheses of the milestone itself, so the item's actual content — deriving the two-sided conclusion — is exactly what remains to be proved.

Formalization scope

RestatedCore, RestatedFluidModel, and the maximal-stability predicate MaximalStability are restated verbatim (or, for MaximalStability, in shape) from missions IX, III/V, and II respectively, since concurrently-drafted chunks in this series do not import one another's Lean files even when they share a sub-namespace. New to this chunk: diniUpperLeft (Eq. A.10, needed alongside mission IX's diniUpperRight for Lemma 10.13's two-sided bound), the within-group entropy term withinGroupEntropy (Eq. 10.50, deliberately not named f, since the book's own f already denotes the unrelated PF optimization objective of Eq. 10.2 within the same chapter), and BWSNetworkData/QueueingNetworkDataHL/HLPPSFluidStable (Sections 4.5-4.6, restated locally since no drafted chunk's BRIEF.md covers them). The formalization does not admit a trivializing reading: IsMaximallyStable is instantiated with the genuine, non-vacuous predicate PFFluidStable/HLPPSFluidStable — the same predicate whose stability Theorem 10.5 (mission IX) already establishes on the load-condition region — never with a policy type or stability predicate engineered to make the maximal-stability claim vacuous. Contributions completing the eight by sorry proofs are welcome, particularly Lemma 10.13's Dini-derivative estimate (Section B.4's preliminary results) and Lemma 10.15's connectivity argument (Appendix B.9/B.17).

Selected references

  • J. G. Dai and J. Michael Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press (forthcoming), pre-publication draft 2020-4-2. http://spnbook.org
  • F. P. Kelly, "Charging and rate control for elastic traffic," European Transactions on Telecommunications 8 (1997), 33–37.
  • F. P. Kelly, A. K. Maulloo, and D. K. H. Tan, "Rate control for communication networks: shadow prices, proportional fairness and stability," Journal of the Operational Research Society 49 (1998), 237–252.
13 thms3 active usersReviewed
Operations ResearchProbability·Captain: Shuze Chen

Processing Networks IX: Fluid Stability of the Proportionally Fair AllocationTextbook

Motivation

Every control policy formalized so far in this series — HLSPS (mission VI), back-pressure/ max-weight (mission VIII) — allocates service effort to entire job classes as indivisible units. Proportional fairness takes a different starting point: it is a general-purpose recipe for dividing a shared, continuously divisible resource among competing demands, originally developed for bandwidth allocation in communication networks and later adopted throughout economics and operations research as the canonical notion of a "fair" allocation. J. G. Dai and J. Michael Harrison's Processing Networks: Fluid Models and Stability (Cambridge University Press, forthcoming; cited here from the authors' pre-publication draft, 2020-4-2, http://spnbook.org) devotes Chapter 10 to showing that proportional fairness, applied dynamically to a processing network's current buffer contents, is not just an attractive fairness criterion but a maximally stable control policy — stable throughout the entire subcritical region of any unitary network. This mission formalizes the static optimization problem underlying proportional fairness, its key structural properties, the resulting fluid model, and the deepest single theorem of the chapter: fluid stability under the standard load condition, proved via a Lyapunov function that is explicitly not Lipschitz continuous — a genuine departure from every other stability proof in the book.

Setting

The PF allocation function ψ(z)\psi(z)ψ(z) solves, for a demand vector z∈R+Iz \in \mathbb R^I_+z∈R+I​, the concave optimization problem max⁡x∈A∑izilog⁡(xi)\max_{x \in \mathcal A} \sum_i z_i \log(x_i)maxx∈A​∑i​zi​log(xi​) (Eq. 10.3-10.4) over a bounded, closed, convex, monotone capacity-constraint set A\mathcal AA. When A\mathcal AA has the special "aggregate" structure induced by grouping classes with identical resource requirements into demand groups, ψ\psiψ satisfies a resource-relevant aggregation property (Proposition 10.2): its value depends on the full demand vector only through group-level aggregates. Applying ψ\psiψ dynamically — recomputing it from the current buffer-content vector at every decision time — to a unitary network (one-to-one correspondence between job classes and service types) under relaxed control defines the PF control policy, whose fluid limit is the PF fluid model (Definition 10.3, Eqs. 10.29-10.35).

Formalization targets

Goal: Theorem 10.5 — fluid stability of the PF control policy

If the load condition (10.37) — an equivalent, group-level-aggregate reformulation of the standard load condition ρ<b\rho < bρ<b — holds, then the PF fluid model is stable. Combined with Theorem 6.2 (mission III) and Corollary 5.6, this is the technical core of showing PF control is maximally stable, exactly the same shape of result as mission VIII's back-pressure theorem, but for a policy defined by a fundamentally different (utility-maximization, rather than weighted-throughput-maximization) principle.

Supporting milestones

Lemma 10.1 establishes that ψ\psiψ is well-defined at all (existence), essentially unique where it matters (uniqueness on positive-demand coordinates), extreme, scale-invariant, and continuous — six properties that everything downstream depends on. Proposition 10.2 is the aggregation property described above. Proposition 10.4 restates the standard load condition in the group-level-aggregate coordinates Theorem 10.5's proof actually uses. Lemmas 10.6, 10.7, 10.8, and 10.9 develop the properties of the entropy Lyapunov function φ(t):=∑iZi(t)log⁡(D˙i(t)/αi)\varphi(t) := \sum_i Z_i(t)\log(\dot D_i(t)/\alpha_i)φ(t):=∑i​Zi​(t)log(D˙i​(t)/αi​) (Eq. 10.38) that Theorem 10.5's proof needs: nonnegativity (and strict positivity away from the origin), continuity on (0,∞)(0,\infty)(0,∞), a uniform upper bound on its Dini derivative, and a pointwise bound on that derivative at regular points, in terms of the fluid-scale departure and content rates.

Significance

The result itself. Theorem 10.5 shows that proportional fairness — motivated purely by a static fairness axiom (Eq. 10.14) with no reference to queueing dynamics at all — turns out to be a maximally stable dynamic control policy once applied recursively to a unitary network's evolving buffer contents. This is a substantive and non-obvious fact: nothing in PF's static definition anticipates a stability guarantee, and the book's own text stresses the mismatch between PF's static motivation (utility/fairness) and the metric of interest for a queueing system (buffer content, response time). Unlike essentially every other stability proof in the book, Theorem 10.5's proof uses a Lyapunov function (φ\varphiφ) that is provably not absolutely continuous, which is why it needs Lemma 8.11's more delicate Dini-derivative extinction criterion (mission V) rather than the simpler Lipschitz-based criteria (Lemmas 8.5/8.6) used everywhere else.

Formalizing it. A live prior-art check (GET /theorems?q=proportional%20fairness, q=entropy, q=concave%20optimization) finds no relevant hits — the one "entropy" result on the platform is an unrelated matrix-multiplication construction. This mission formalizes the concave PF optimization problem, its allocation function, the aggregation property, and the entropy Lyapunov machinery entirely from scratch, reusing only Mathlib's general convex-analysis and EReal substrate.

Difficulty

The chapter's own convention log⁡(0)=−∞\log(0) = -\inftylog(0)=−∞, 0log⁡(0)=00\log(0) = 00log(0)=0 (Eq. 10.2) cannot be captured by Mathlib's Real.log, whose value at 0 is 0, not -\infty — a silent substitution would corrupt exactly the boundary behavior Lemma 10.1(a)'s existence/uniqueness argument turns on (distinguishing feasible points with xi=0x_i=0xi​=0 for some i∈I+(z)i \in \mathcal I_+(z)i∈I+​(z), which must be strictly dominated, from those without). This mission instead defines the PF objective via EReal, using an explicit extended logarithm (⊥ at 0) and Mathlib's own convention that EReal multiplication satisfies 0 * y = 0 for every y — which reproduces the book's 0 log(0) = 0 rule automatically, with no case split, a pleasant instance of genuine Mathlib substrate reuse resolving what looked like a from-scratch formalization problem. A second difficulty is structural: ψ\psiψ is not merely "a maximizer" but a specific maximizer, normalized to zero on every coordinate with zero demand (Eq. 10.5) — needed so that Lemma 10.1(c)/(d)'s scale-invariance and continuity statements are about a genuine function of zzz, not merely about an arbitrarily-chosen selection from a possibly-multivalued correspondence.

Formalization scope

IsPFDomain, f, IsPFMaximizer, and psi formalize Section 10.1's optimization problem directly, with IsPFMaximizer phrased as "feasible and dominates every feasible alternative" (avoiding sSup/⨆ entirely, per this series' junk-value-avoidance convention). IsTotalArrivalRates (restating Eq. 2.38) and RegularPoint (restating Definition 8.7) are restated locally, matching this series' convention that drafts do not import one another. diniUpperRight duplicates mission V's LyapunovCriteria.diniUpperRight verbatim — this chunk's own BRIEF.md dependency list does not include mission V, so, per the same restate-not-import convention, it is restated here rather than cross-imported (the duplication is intentional and documented, not an oversight). Lemma 10.7 (continuity of φ\varphiφ on (0,∞)(0,\infty)(0,∞)) is added beyond BRIEF.md's own disposition table: the book itself lists it as one of "the following five lemmas" (10.6, 10.7, 10.8, 10.9, 10.11) that suffice to prove Theorem 10.5, on the same page as Lemmas 10.6/10.8/10.9 — a planning-time omission caught during drafting and documented in HARD.md. Lemma 10.11 itself, though stated on the same page, is not included here: the companion chunk (10-proportional-fairness-applications) explicitly begins at "Lemma 10.11 onward," and its own negative-drift conclusion is exactly what completes Theorem 10.5's proof — a dependency this mission's goal theorem does not need to expose in its own statement, since (10.37) is already the theorem's complete, book-stated hypothesis. IsPFDomain, IsPFMaximizer, psi, groupAggregate, IsPFFluidModelSolution, and phi are the primary reusable contributions; contributions completing the eight by sorry proofs, especially Lemma 10.1's six-part argument and the entropy-Lyapunov lemmas' analysis (Section B.4's preliminary results), are welcome.

Selected references

  • J. G. Dai and J. Michael Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press (forthcoming), pre-publication draft 2020-4-2. http://spnbook.org
  • F. P. Kelly, A. K. Maulloo, and D. K. H. Tan, "Rate control for communication networks: shadow prices, proportional fairness and stability," Journal of the Operational Research Society 49 (1998), 237–252.
  • R. Srikant and L. Ying, Communication Networks: An Optimization, Control, and Stochastic Networks Perspective, Cambridge University Press, 2014.
12 thms3 active usersReviewed
🏆Completed
Operations ResearchProbability·Captain: Shuze Chen

Processing Networks VIII: Maximal Stability of Back-Pressure ControlTextbook

Motivation

Every stability result up through mission VII proves that a particular control policy — a fixed priority list, HLSPS, a policy tailored to one network's topology — keeps a specific processing network stable throughout its subcritical region. None of them answer a more practical question a system designer actually faces: given an arbitrary Leontief network (one where every activity has a well-defined, unique buffer it draws from), is there a single control rule, computable from the network's data alone with no bespoke analysis, that is guaranteed stable whenever stability is possible at all? J. G. Dai and J. Michael Harrison's Processing Networks: Fluid Models and Stability (Cambridge University Press, forthcoming; cited here from the authors' pre-publication draft, 2020-4-2, http://spnbook.org) answers this in Chapter 9 with the back-pressure (equivalently, in the single-hop case, max-weight) control policy: at every decision time, choose the allocation of service effort that maximizes a bilinear "weighted throughput" objective built directly from current buffer contents. This mission formalizes the policy, the characteristic fluid equation it induces, and the resulting maximal-stability theorem — the chapter's central result and one of the most cited scheduling policies in the queueing-networks literature.

Setting

A Leontief network (Definition 9.5) is an SPN whose input-output matrix RRR satisfies two assumptions: Assumption 9.1, that each activity has a unique buffer it draws material from (so i(j)i(j)i(j), the buffer served by activity jjj, is well-defined), and Assumption 9.2, that there is a nonnegative activity-level vector driving every buffer's net output rate strictly positive — the structural condition under which the network can be drained at all. The back-pressure (or, in the single-server, single-hop case, max-weight) control policy chooses, at each decision time, the feasible allocation β\betaβ of service rates that maximizes the bilinear objective p(β,z^)=z^⋅Rβp(\beta, \hat z) = \hat z \cdot R\betap(β,z^)=z^⋅Rβ, where z^\hat zz^ is the current vector of buffer contents. The "relaxed" version of the policy allows β\betaβ to range continuously over the allocation polytope A={β∈R+J:Aβ≤b}\mathcal A = \{\beta \in \mathbb R^J_+ : A\beta \le b\}A={β∈R+J​:Aβ≤b}; the "basic" version restricts to integer service-initiation decisions in a genuine SPN with discrete jobs. A network's static planning problem's optimal value γ∗<1\gamma^* < 1γ∗<1 is the subcriticality condition throughout this chapter, exactly as in missions II, III, and V.

Formalization targets

Goal: Theorem 9.12 — maximal stability of relaxed back-pressure

Consider a Leontief network operating under the relaxed back-pressure control policy. If the static planning problem has optimal objective value γ∗<1\gamma^* < 1γ∗<1, then the corresponding fluid limit is stable, and hence, by Theorem 6.2 (mission III), the network's ambient Markov chain is positive recurrent. This is the chapter's payoff: back-pressure control needs no network-specific tuning — it stabilizes every Leontief network throughout its entire subcritical region, the same universal guarantee mission VI showed only for feedforward networks and HLSPS control specifically.

Supporting milestones

Lemma 9.3 and Proposition 9.4 develop the linear-algebraic machinery of basis matrices: any feasible material-balance vector can be re-expressed using only III "basic" activities (Lemma 9.3), and Assumption 9.2 holds if and only if some basis's associated matrix has spectral radius below one (Proposition 9.4) — the practical, checkable criterion for the network being well-posed at all. Proposition 9.6 shows the back-pressure optimization problem always admits a solution among the finitely many extreme allocations, licensing Remark 9.7's standing convention of restricting attention to that finite set. Lemma 9.10 shows a zzz-maximal extreme allocation can always be chosen to idle any activity whose buffer is currently empty — a fact that looks obvious but genuinely needs proof, because at the fluid level an activity can serve an instantaneously empty buffer at a positive rate (Section 9.5's tandem-model illustration). Theorem 9.8 is the chapter's characteristic fluid equation: under relaxed back-pressure control, the realized fluid service-rate derivative always achieves the bilinear maximum over the allocation polytope, at every regular point. Lemma 9.11 derives this from the raw ("pre-limit") stochastic dynamics — a strictly dominated allocation accrues no processing time — via a genuine limit-passage argument. Theorem 9.13 and Lemma 9.14 extend the maximal-stability guarantee from the relaxed policy to the basic (discrete-decision) policy, under the extra restriction that each server pool is a single server acting alone; this needs a residual-time strong law of large numbers (Lemma 9.14) to show that a server's decision to switch away from a dominated allocation happens quickly enough, relative to elapsed time, that the fluid limit is unaffected.

Significance

The result itself. Theorem 9.12 is the book's formalization of the max-weight/back-pressure maximal-stability theorem originally due to Tassiulas and Ephremides (1992) for multi-hop packet radio networks, later popularized under the "back-pressure" name by Tassiulas (1995) and extended substantially by Dai and Lin (2005), on whose work this chapter is explicitly based. Unlike every policy considered in missions IV, VI, and VII, back-pressure requires no topology-specific insight to design or verify — it is defined uniformly from BBB, Γ\GammaΓ, AAA, and current buffer contents, and Theorem 9.12 certifies it stable for every Leontief network in its subcritical region. This universality is precisely what distinguishes it from HLSPS (mission VI), which needs the network to be feedforward or the policy to be head-of-the-line proportional-sampling before the same guarantee holds.

Formalizing it. A live prior-art check (GET /theorems?q=max-weight%20scheduling, q=back-pressure) returns no hits, so this mission formalizes the policy, its characteristic fluid equation, and both stability theorems entirely from scratch. SPNPlanningData, the input-output matrix R, and the static planning problem are restated from mission II's own apparatus; RegularPoint is restated from mission V's Definition 8.7.

Difficulty

The chapter's central subtlety is that "operating under back-pressure control" cannot be stated directly as a hypothesis on the fluid-limit path (D^,F^,T^,Z^)(\hat D,\hat F,\hat T,\hat Z)(D^,F^,T^,Z^) itself: the policy is defined in terms of the discrete, pre-limit decision process, and its fluid-level consequence — the characteristic equation (9.22) — is a genuine theorem (9.8), not a restatement of the policy's definition. Formalizing Theorem 9.8 naively by hypothesizing "T^\hat TT^ satisfies (9.22)" would make Lemma 9.11 (whose conclusion (9.28)-(9.31) is what Theorem 9.8's own proof literally invokes) circular relative to it. This mission instead hypothesizes Lemma 9.11's raw, pre-limit optimality condition (hYopt: a strictly dominated allocation accrues no processing time over any interval where domination persists) as the operational meaning of "following the back-pressure rule," and derives (9.28)-(9.31) from it as Lemma 9.11's genuine conclusion — Fed into Theorem 9.8 exactly as the book's own proof does ("By Lemma 9.11 and the fact that ∑βY^˙β(t)=1\sum_\beta \dot{\hat Y}_\beta(t) = 1∑β​Y^˙β​(t)=1..."). A second difficulty is Theorem 9.13's genuinely distinct proof from Theorem 9.12's: the basic (discrete) policy's fluid limit satisfying the same characteristic equation is not automatic, and needs the residual-time SLLN of Lemma 9.14 plus two extra structural hypotheses (each server pool is a single server, each activity uses exactly one server) that go beyond "basic vs. relaxed" and are stated explicitly rather than folded silently into the policy's name.

Formalization scope

SPNPlanningData, its input-output matrix R, and the static planning problem (SPPFeasible, IsOptimalSPPValue) are restated unmodified from mission II's own apparatus (drafts in this series do not import one another); RegularPoint is restated unmodified from mission V's Definition 8.7. "Basis" is named ActivityBasis, not Basis, to avoid colliding with Mathlib's vector-space Basis type — a deliberate departure from the book's own overloaded terminology, which its own text flags as "slightly narrower than [the] standard meaning in linear programming theory." ExtremeAllocations reuses Mathlib's Set.extremePoints directly rather than restating extreme-point theory from scratch, and Proposition 9.4's spectral-radius condition reuses Mathlib's own spectralRadius (Mathlib.Analysis.Normed.Algebra.Spectrum) rather than defining eigenvalues by hand. IsZMaximal (Definition 9.9) is phrased as "feasible and dominates every feasible alternative" rather than via an explicit sSup/⨆ expression, which sidesteps any Mathlib junk-value risk while remaining definitionally equivalent to "achieves the maximum" whenever a maximizer exists — the same convention this series has used since mission III. Theorem 9.8's hypothesis that the fluid limit "operates under relaxed back-pressure control" is packaged as Lemma 9.11's own conclusion (hTY/hYmono/hYsum/hYopt), matching the book's proof architecture exactly rather than re-deriving it inline. Theorem 9.13 states its two extra single-server hypotheses (hb1, hA01) explicitly as the mission's own BRIEF.md warns to. Lemma 9.14's condition (9.44) — quoted in the book's preparatory material for Theorem 9.13 rather than in the excerpt originally assembled for this lemma — was located directly in source.txt (p. 178, PDF p. 194) and confirmed verbatim, not reconstructed; its formalization (h944) matches the confirmed text exactly. The one acknowledged source inconsistency, noted by BRIEF.md itself, is that (9.56)'s printed left-hand side reads u_i(s,ω) where the surrounding proof otherwise uses t throughout — treated as a typesetting slip and formalized with t, as the lemma evidently intends. IsFluidModelSolution, IsRelaxedBPFluidSolution, RelaxedBPFluidStable, ActivityBasis, AllocationPolytope, and IsZMaximal are the primary reusable contributions; contributions completing the nine by sorry proofs, especially Lemma 9.11's limit-passage argument and Lemma 9.14's SLLN chain, are welcome.

Selected references

  • J. G. Dai and J. Michael Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press (forthcoming), pre-publication draft 2020-4-2. http://spnbook.org
  • L. Tassiulas and A. Ephremides, "Stability properties of constrained queueing systems and scheduling policies for maximum throughput in multihop radio networks," IEEE Transactions on Automatic Control 37 (1992), 1936–1948.
  • J. G. Dai and W. Lin, "Maximum pressure policies in stochastic processing networks," Operations Research 53 (2005), 197–218.
14 thms3 active usersReviewed
🏆Completed
Operations ResearchProbability·Captain: Shuze Chen

Processing Networks V: Lyapunov Stability Criteria for Fluid ModelsTextbook

Motivation

Mission III's Theorem 6.2 reduces SPN stability to a question about deterministic fluid model solutions: does every solution of a fixed system of equations get driven to the origin, uniformly in its starting size? Mission IV showed how to derive the extra, policy-specific equations a fluid model must satisfy. What remains is a method for proving that a system of fluid equations forces extinction — and the standard tool for that, across dynamical systems generally, is a Lyapunov function: a scalar-valued potential that decreases along every trajectory. J. G. Dai and J. Michael Harrison's Processing Networks: Fluid Models and Stability (Cambridge University Press, forthcoming; cited here from the authors' pre-publication draft, 2020-4-2, http://spnbook.org) devotes Chapter 8 to making this method precise for fluid models, and to explaining exactly why it is easier to apply here than the analogous drift condition for the underlying Markov chain.

The chapter's calculus culminates in a genuinely delicate real-analysis fact: the ordinary "Lyapunov function decreases everywhere it should" argument needs the function to be differentiable, but fluid model solutions are typically only Lipschitz (hence differentiable only almost everywhere), and some Lyapunov functions used later in the book (Chapter 10's entropy function) are not even Lipschitz. The chapter's most general result, Lemma 8.11, resolves this by working with the upper-right Dini derivative rather than the ordinary one, following an approach whose subtlety is illustrated by a counterexample due to L. Massoulié when one of its three hypotheses is dropped.

Setting

Throughout this mission, (D,F,T,Z) (without hats) denotes an arbitrary solution of the fluid equations (6.1)-(6.6), restated from mission III (drafts in this series do not import one another). A function ggg is Lipschitz if it satisfies a Lipschitz bound on every bounded set, with a constant that may depend on the set; it is globally Lipschitz if one constant works everywhere. A point t>0t > 0t>0 is a regular point of a fluid model solution if all four components are differentiable there; because every solution is globally Lipschitz, the non-regular points form a Lebesgue-null set. A Lyapunov function for a fluid model is a Lipschitz function H:R+I→R+H : \mathbb{R}^I_+ \to \mathbb{R}_+H:R+I​→R+​ with H(0)=0H(0)=0H(0)=0 and H(z)≠0H(z) \ne 0H(z)=0 for z≠0z \ne 0z=0 — a positive-definite potential.

Formalization targets

Goal: Lemma 8.11 — the general Dini-derivative extinction criterion

For f:R+→R+f : \mathbb{R}_+ \to \mathbb{R}_+f:R+​→R+​ continuous on (0,∞)(0,\infty)(0,∞), with a locally bounded upper Dini derivative D+fD^+fD+f and D+f(t)≤−εD^+f(t) \le -\varepsilonD+f(t)≤−ε for a.e. ttt with f(t)>0f(t) > 0f(t)>0:

f(t)=0for t≥f(0)/ε.f(t) = 0 \quad \text{for } t \ge f(0)/\varepsilon.f(t)=0for t≥f(0)/ε.

This is the weakest natural target: it drops the Lipschitz requirement of Lemma 8.5 entirely, replacing it with only continuity plus a one-sided, locally bounded derivative condition, and Lemmas 8.5 and 8.6 are recovered as the special cases f=H∘Zf = H \circ Zf=H∘Z for HHH Lipschitz (respectively linear-type and square-root-type drift bounds).

Supporting milestones

Lemma 8.2 (composition of Lipschitz functions) and Lemma 8.3 (every fluid model solution is globally Lipschitz) supply the regularity Lemma 8.5 needs. Lemma 8.5 (linear drift bound) and Lemma 8.6 (square-root drift bound) are the two directly-applicable extinction criteria the book presents before generalizing to Lemma 8.11. Lemma 8.9 identifies a structural fact used in nearly every application: at a regular point, an empty buffer's fluid arrival and departure rates necessarily coincide. Lemma 8.10 gives the calculus of a pointwise maximum's derivative, needed for piecewise-linear Lyapunov functions. Theorem 8.12 is the chapter's worked illustration: the tandem queueing network's fluid model is stable under the standard load condition, proved with a linear Lyapunov function that (the chapter goes on to show) does not translate into a valid Markov-chain drift bound — the concrete illustration of why the fluid-model method earns its keep.

Significance

The result itself. Lemma 8.11 is the single tool every subsequent stability chapter of the book applies: feedforward and generalized Jackson networks, the Rybko–Stolyar boundary, back-pressure control, proportionally fair allocation (whose entropy Lyapunov function is exactly the non-Lipschitz case this lemma was built to handle), and task allocation all conclude fluid model stability via an instance of this criterion. Theorem 8.12's side observation — the same Lyapunov function that works effortlessly for the fluid model fails to give a Markov-chain drift bound at all — is the chapter's explicit argument for why fluid-model methodology is not just a convenience but a genuine technical advance over direct Markov-chain analysis.

Formalizing it. Searches for "Lyapunov function," "Dini derivative," and "Lipschitz continuous" (q=Lyapunov%20function, q=Dini%20derivative) surface no reusable extinction-criterion result; the one Lyapunov-adjacent hit, posDef_quadratic_form_lower_bound, is an unrelated quadratic-form bound. This mission is a from-scratch formalization of the fluid model's Lyapunov calculus, reusing Mathlib's own LipschitzOnWith/LipschitzWith substrate for Definition 8.1 rather than restating ordinary Lipschitz continuity, per this mission's own BRIEF.md recommendation.

Difficulty

The central difficulty is Lemma 8.11 itself: proving that a bound on the upper Dini derivative D+f(t)D^+f(t)D+f(t) (not the ordinary derivative) forces fff to decrease is genuinely subtler than the Lipschitz case, because D+fD^+fD+f is one-sided and may not correspond to an actual rate of change at every point. The book's own proof needs a technical intermediate inequality (8.8), f(b)−f(a)≤∫abD+ff(b)-f(a) \le \int_a^b D^+ff(b)−f(a)≤∫ab​D+f, and states explicitly that this can fail without the local upper-boundedness hypothesis (b) — citing a counterexample of L. Massoulié — so a formalization that dropped condition (b) as "obviously implied by continuity" would be proving a false generalization, not a faithful specialization. A second difficulty, specific to Lemma 8.5/8.6's formalization, is that the hypothesis "f˙(t)≤−ε\dot f(t) \le -\varepsilonf˙​(t)≤−ε for almost all ttt with Z(t)≠0Z(t)\ne 0Z(t)=0" implicitly presupposes f˙(t)\dot f(t)f˙​(t) exists almost everywhere (a fact Lemma 8.3 supplies, not something to assume outright) — stating the hypothesis as a universally quantified implication over any witnessing derivative avoids smuggling in an unearned existence claim.

Formalization scope

Mission III's fluid-equation apparatus is restated locally (per that mission's own note that later chunks cannot import its draft), unmodified. Definition 8.1's two Lipschitz notions (bounded-set-wise and global) are formalized via Mathlib's own LipschitzOnWith, generalized over arbitrary (pseudo)metric domain and codomain types so the same definition serves g:Rd→Rmg:\mathbb{R}^d\to\mathbb{R}^mg:Rd→Rm and g:Rm→Rg:\mathbb{R}^m\to\mathbb{R}g:Rm→R uniformly — reusing Mathlib substrate rather than restating Definition 8.1's ε\varepsilonε-δ\deltaδ inequality from scratch, per BRIEF.md's explicit recommendation. The upper-right Dini derivative is restated inline (Appendix A.4 is out of series scope) via Filter.limsup along the right-neighborhood filter, and is used throughout Lemma 8.11 in place of the ordinary derivative — using deriv instead would be a strictly stronger, unfaithful hypothesis. Lemma 8.10's pointwise maximum is a supremum over the finite index type Fin d, always a genuine maximum with no junk-value risk. Theorem 8.12 restates the tandem queueing network's already-reduced fluid equations (8.11)-(8.15) directly, since Figure 1.1 belongs to Chapter 1, outside this mission series. A formalization that replaced Lemma 8.11's Dini-derivative hypotheses with ordinary-derivative ones, or that dropped condition (b)'s local bound, would each be an unfaithful strengthening or a false generalization — both ruled out here. The Lyapunov extinction criteria (lyapunov_extinction_linear, lyapunov_extinction_sqrt, dini_extinction_criterion) are the primary reusable contributions, intended for direct reuse (matching shape, since drafts do not import one another) by every later stability mission in the series; contributions completing the eight by sorry proofs are welcome.

Selected references

  • J. G. Dai and J. Michael Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press (forthcoming), pre-publication draft 2020-4-2. http://spnbook.org
  • L. Massoulié, "Structural properties of proportional fairness: stability and insensitivity," Annals of Applied Probability 17 (2007), 809–839.
  • J. G. Dai, "On positive Harris recurrence of multiclass queueing networks: a unified approach via fluid limit models," Annals of Applied Probability 5 (1995), 49–77.
13 thms3 active usersReviewed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

On the Optimal Dividend Problem for a Spectrally Negative Lévy Process I: Optimality of the Barrier Strategy at c* in the Classical Dividend ProblemResearch Paper

Motivation

An insurance company's surplus grows with premiums and falls with claims. In the Cramér–Lundberg model with a positive safety loading, the surplus drifts to +∞+\infty+∞ with probability one. De Finetti (1957) objected that a company does not accumulate capital indefinitely: surplus above some level is paid out to shareholders. He proposed choosing the payout policy to maximize the expected discounted dividends paid before ruin. This is the optimal dividend problem. It is one of the basic stochastic control problems of actuarial mathematics and corporate finance, and it serves as a test case for singular control of processes with jumps.

The classical answer is a barrier strategy: pay out whatever lifts the surplus above a level aaa and nothing else. Jeanblanc and Shiryaev (1995) proved this optimal when the surplus is a Brownian motion with drift, and Gerber and Shiu studied the same Brownian setting. Azcue and Muler (2005) showed that it can fail in the Cramér–Lundberg model, where the optimal policy may be a band strategy. Avram, Palmowski and Pistorius (Ann. Appl. Probab. 17 (2007) 156–180) treated a general spectrally negative Lévy process, a process with stationary independent increments and only downward jumps. They found the value of every barrier strategy in closed form through the scale function of the process and identified the best barrier level c∗c^*c∗. They also gave a verification condition under which the barrier at c∗c^*c∗ is optimal among all strategies. Loeffen (2008) later showed that the condition holds whenever the Lévy measure has a completely monotone density.

Setting

Let X=(Xt)t≥0X=(X_t)_{t\ge0}X=(Xt​)t≥0​ be a spectrally negative Lévy process on a filtered probability space (Ω,F,F,P)(\Omega,\mathcal F,\mathbb F,P)(Ω,F,F,P) with X0=0X_0=0X0​=0 and Lévy triplet (c,σ,ν)(c,\sigma,\nu)(c,σ,ν). Its Laplace exponent is ψ(θ)=log⁡E[eθX1]\psi(\theta)=\log\mathbf E[e^{\theta X_1}]ψ(θ)=logE[eθX1​], finite for θ≥0\theta\ge0θ≥0:

ψ(θ)=cθ+σ22θ2+∫(−∞,0)(eθy−1−θy1{∣y∣<1})ν(dy).\psi(\theta)=c\theta+\tfrac{\sigma^2}{2}\theta^2+\int_{(-\infty,0)}\bigl(e^{\theta y}-1-\theta y\mathbf 1_{\{|y|<1\}}\bigr)\nu(dy).ψ(θ)=cθ+2σ2​θ2+∫(−∞,0)​(eθy−1−θy1{∣y∣<1}​)ν(dy).

Increments after time sss are independent of Fs\mathcal F_sFs​. Initial capital xxx is added to XXX. The standing assumptions are the following: XXX does not have monotone paths, E[X1]>−∞\mathbf E[X_1]>-\inftyE[X1​]>−∞, and either σ>0\sigma>0σ>0, ∫(−1,0)∣y∣ ν(dy)=∞\int_{(-1,0)}|y|\,\nu(dy)=\infty∫(−1,0)​∣y∣ν(dy)=∞, or ν\nuν has a density.

A dividend strategy is a nondecreasing, left-continuous, adapted process LLL with L0=0L_0=0L0​=0. The risk process is Ut=x+Xt−LtU_t=x+X_t-L_tUt​=x+Xt​−Lt​ and the ruin time is σL=inf⁡{t≥0:Ut<0}\sigma^L=\inf\{t\ge0:U_t<0\}σL=inf{t≥0:Ut​<0}. The strategy is admissible (L∈ΠL\in\PiL∈Π) if no lump sum exceeds the current reserves. Its value is

vL(x)=E[∫0σLe−qt dLt],v∗(x)=sup⁡L∈ΠvL(x),v_L(x)=\mathbf E\Bigl[\int_0^{\sigma^L}e^{-qt}\,dL_t\Bigr],\qquad v_*(x)=\sup_{L\in\Pi}v_L(x),vL​(x)=E[∫0σL​e−qtdLt​],v∗​(x)=L∈Πsup​vL​(x),

with discount rate q>0q>0q>0. For C∈[0,∞]C\in[0,\infty]C∈[0,∞], Π≤C\Pi_{\le C}Π≤C​ consists of the admissible strategies that keep Ut≤CU_t\le CUt​≤C for t>0t>0t>0.

The qqq-scale function W=W(q)W=W^{(q)}W=W(q) is the unique continuous nondecreasing function on [0,∞)[0,\infty)[0,∞) with ∫0∞e−θyW(y) dy=1/(ψ(θ)−q)\int_0^\infty e^{-\theta y}W(y)\,dy=1/(\psi(\theta)-q)∫0∞​e−θyW(y)dy=1/(ψ(θ)−q) for large θ\thetaθ. It is extended by W=0W=0W=0 on (−∞,0)(-\infty,0)(−∞,0). The barrier strategy πa\pi_aπa​ reflects x+Xx+Xx+X at the level aaa, paying (x−a)+(x-a)^+(x−a)+ at time 000. The paper computes its value

va(x)=W(x)W′(a) (0≤x≤a),va(x)=x−a+W(a)W′(a) (x>a),v_a(x)=\frac{W(x)}{W'(a)}\ (0\le x\le a),\qquad v_a(x)=x-a+\frac{W(a)}{W'(a)}\ (x>a),va​(x)=W′(a)W(x)​ (0≤x≤a),va​(x)=x−a+W′(a)W(a)​ (x>a),

and the optimal barrier level is c∗=inf⁡{a>0:W′(a)≤W′(x) ∀x>0}c^*=\inf\{a>0: W'(a)\le W'(x)\ \forall x>0\}c∗=inf{a>0:W′(a)≤W′(x) ∀x>0}, read as 000 when this set is empty and W′(0+)≤W′(x)W'(0+)\le W'(x)W′(0+)≤W′(x) for all x>0x>0x>0. The generator is

Γf(x)=σ22f′′(x)+cf′(x)+∫(−∞,0)[f(x+y)−f(x)−f′(x)y1{∣y∣<1}] ν(dy).\Gamma f(x)=\tfrac{\sigma^2}{2}f''(x)+cf'(x)+\int_{(-\infty,0)}[f(x+y)-f(x)-f'(x)y\mathbf 1_{\{|y|<1\}}]\,\nu(dy).Γf(x)=2σ2​f′′(x)+cf′(x)+∫(−∞,0)​[f(x+y)−f(x)−f′(x)y1{∣y∣<1}​]ν(dy).

Formalization targets

Goal: Theorem 2 (p. 14)

Assume σ>0\sigma>0σ>0, or XXX has bounded variation, or vc∗∈C2(0,∞)v_{c^*}\in C^2(0,\infty)vc∗​∈C2(0,∞). Then c∗<∞c^*<\inftyc∗<∞ and:

(i)πc∗∈Π≤c∗,vπc∗(x)=vc∗(x)=sup⁡π∈Π≤c∗vπ(x)(x≥0);\text{(i)}\quad \pi_{c^*}\in\Pi_{\le c^*},\qquad v_{\pi_{c^*}}(x)=v_{c^*}(x)=\sup_{\pi\in\Pi_{\le c^*}}v_\pi(x)\quad(x\ge0);(i)πc∗​∈Π≤c∗​,vπc∗​​(x)=vc∗​(x)=π∈Π≤c∗​sup​vπ​(x)(x≥0); (ii)(Γvc∗−qvc∗)(x)≤0  ∀x>c∗ ⟹ v∗(x)=vc∗(x) (x≥0),  π∗=πc∗.\text{(ii)}\quad (\Gamma v_{c^*}-qv_{c^*})(x)\le0\ \ \forall x>c^*\ \Longrightarrow\ v_*(x)=v_{c^*}(x)\ (x\ge0),\ \ \pi_*=\pi_{c^*}.(ii)(Γvc∗​−qvc∗​)(x)≤0  ∀x>c∗ ⟹ v∗​(x)=vc∗​(x) (x≥0),  π∗​=πc∗​.

The goal fixes no constants: the barrier level and the value function are both given by the scale function of the given process.

Milestones

  • Proposition 1 (p. 7): vπa(x)=W(x)/W′(a)v_{\pi_a}(x)=W(x)/W'(a)vπa​​(x)=W(x)/W′(a) for a>0a>0a>0, x∈[0,a]x\in[0,a]x∈[0,a].
  • Lemma 2(i) (p. 15): c∗<∞c^*<\inftyc∗<∞.
  • Proposition 3(i) (p. 15): va(x)≤vc∗(x)v_a(x)\le v_{c^*}(x)va​(x)≤vc∗​(x) for x∈[0,c∗]x\in[0,c^*]x∈[0,c∗], a≥0a\ge0a≥0.
  • Lemma 3(i) (p. 16): vc∗′(x)≥1v_{c^*}'(x)\ge1vc∗′​(x)≥1 for x>0x>0x>0.
  • Proposition 4(i) (p. 18): a C2C^2C2 (unbounded variation) or C1C^1C1 (bounded variation) solution www of max⁡{Γw−qw,1−w′}=0\max\{\Gamma w-qw,1-w'\}=0max{Γw−qw,1−w′}=0 on (0,C)(0,C)(0,C) dominates sup⁡Π≤Cvπ\sup_{\Pi_{\le C}}v_\pisupΠ≤C​​vπ​.
  • Lemma 4 (p. 20): (Γvc∗−qvc∗)(x)=0(\Gamma v_{c^*}-qv_{c^*})(x)=0(Γvc∗​−qvc∗​)(x)=0 on (0,c∗)(0,c^*)(0,c∗) when c∗>0c^*>0c∗>0.

Significance

The theorem gives an explicit solution to a singular control problem for a general Lévy model. The candidate value function and barrier level are expressed through one special function, W(q)W^{(q)}W(q), and optimality over all strategies reduces to one inequality on (c∗,∞)(c^*,\infty)(c∗,∞). It is the basis of the later literature on scale-function methods in dividend problems (Loeffen 2008, Kyprianou–Rivero–Song 2010, and the refracted and Parisian variants). Part (i) holds with no condition on the Lévy measure. Part (ii) shows exactly where barrier optimality can fail.

The paper's proofs use fluctuation identities (exit problems, excursion theory) and Itô's formula for semimartingales with jumps. None of these is in Mathlib. As far as is known, none of these results has been machine-checked. A formalization would produce a Lévy-process and scale-function layer, a formal model of singular control with jumps and lump-sum payments, and a checked verification argument. Each of these can be reused beyond this paper.

Difficulty

The analytic part is elementary once the value formula (5.1) is available: the choice of c∗c^*c∗, Proposition 3(i) and Lemma 3(i) follow from the shape of W′W'W′. The difficulty lies in the two probabilistic steps. Proposition 1 identifies the value of a reflected process through exit identities for XXX. Those identities rest on excursion theory, or on the martingale property of e−qtW(Xt)e^{-qt}W(X_t)e−qtW(Xt​) up to exit. The verification step, Proposition 4(i), needs Itô's formula for w(Ut)w(U_t)w(Ut​). Here UUU is a jump process controlled by a left-continuous finite-variation process that may itself jump. The change-of-variables formula must also run under only C1C^1C1 regularity when XXX has bounded variation. Just proving that Γw−qw≤0\Gamma w-qw\le0Γw−qw≤0 and w′≥1w'\ge1w′≥1 imply a supermartingale inequality does not settle the question: the lump-sum payments and the jumps of XXX enter the Itô expansion separately and must each be bounded.

Formalization scope

Time is [0,∞)[0,\infty)[0,∞) (ℝ≥0). XXX is a structure carrying the triplet (c,σ,ν)(c,\sigma,\nu)(c,σ,ν) and pathwise càdlàg paths with only downward jumps. It also carries independence of increments from the filtration and stationarity. Its law is fixed by the Laplace transform E[eθXt]=etψ(θ)\mathbf E[e^{\theta X_t}]=e^{t\psi(\theta)}E[eθXt​]=etψ(θ) for θ≥0\theta\ge0θ≥0. The standing assumptions of §2 and (3.3) are bundled as one predicate. The scale function is a hypothesis on a function argument WWW (it is unique). W′(0+)W'(0+)W′(0+) is an extended real, since it is +∞+\infty+∞ for unbounded variation without a Gaussian part.

Values of strategies and value functions lie in [0,∞][0,\infty][0,∞]. The dividend integral is a Lebesgue–Stieltjes integral over [0,σL)∪{0}[0,\sigma^L)\cup\{0\}[0,σL)∪{0}: it counts the lump sum at time 000 and excludes a payment at the ruin instant.

Several conventions are fixed, and each is disclosed in the item it affects:

  • Admissibility. The paper requires Lt+−Lt<UtL_{t+}-L_t<U_tLt+​−Lt​<Ut​. The formalization uses ≤\le≤, because the paper's own strategy of paying out everything at once needs it.
  • Barrier level (5.2). Printed over a>0a>0a>0 and "all xxx", the defining set is empty for Brownian motion with nonpositive drift. The printed set (with x>0x>0x>0) is kept whenever it is nonempty; when it is empty and W′(0+)≤W′(x)W'(0+)\le W'(x)W′(0+)≤W′(x) for all x>0x>0x>0 — the second alternative in the proof of Lemma 2(i) — c∗=0c^*=0c∗=0, and otherwise c∗=∞c^*=\inftyc∗=∞.
  • Printed slips. The integral ∫−10x ν(dx)\int_{-1}^0 x\,\nu(dx)∫−10​xν(dx) in (3.3) is read as ∫∣x∣ ν(dx)\int|x|\,\nu(dx)∫∣x∣ν(dx). In (3.4), e−θxe^{-\theta x}e−θx is read as e−θye^{-\theta y}e−θy, and in Theorem 2(i), πc∗\pi^*_cπc∗​ is read as πc∗\pi_{c^*}πc∗​.
  • Proposition 4(i) is stated for initial capital x≤Cx\le Cx≤C. Beyond CCC, www is unconstrained and the printed claim fails.
  • Lemma 4 carries the smoothness proviso of Theorem 2 on (0,c∗)(0,c^*)(0,c∗).

A trivializing encoding is ruled out: the value is not a real supremum, the barrier strategy is constructed rather than assumed, and c∗<∞c^*<\inftyc∗<∞ is a conclusion.

A complete development needs:

  • Lévy processes and their Laplace exponents;
  • scale functions and the exit identity Ex[e−qT1{XT=a}]=W(x)/W(a)\mathbf E_x[e^{-qT}\mathbf 1_{\{X_T=a\}}]=W(x)/W(a)Ex​[e−qT1{XT​=a}​]=W(x)/W(a);
  • reflected processes;
  • Itô's formula for jump semimartingales with finite-variation controls.

The Lévy and scale-function layer is shared with the companion mission on the bail-out problem. Contributions of general lemmas (Stieltjes integration by parts, optional stopping for càdlàg martingales) are welcome.

Selected references

  • F. Avram, Z. Palmowski, M. R. Pistorius, On the optimal dividend problem for a spectrally negative Lévy process, Ann. Appl. Probab. 17 (2007) 156–180. https://arxiv.org/abs/math/0702893
  • P. Azcue, N. Muler, Optimal reinsurance and dividend distribution policies in the Cramér–Lundberg model, Math. Finance 15 (2005) 261–308.
  • M. Jeanblanc-Picqué, A. N. Shiryaev, Optimization of the flow of dividends, Russian Math. Surveys 50 (1995) 257–277.
  • R. L. Loeffen, On optimality of the barrier strategy in de Finetti's dividend problem for spectrally negative Lévy processes, Ann. Appl. Probab. 18 (2008) 1669–1680.
  • A. E. Kyprianou, Introductory Lectures on Fluctuations of Lévy Processes with Applications, Springer, 2006. https://doi.org/10.1007/978-3-540-31343-4
31 thms3 active usersReviewed
Operations ResearchProbability·Captain: Shuze Chen

Processing Networks II: Subcriticality is Necessary for StabilityTextbook

Motivation

Before a queueing network's stability can be studied in any depth, a much cruder question has to be settled: is stability even possible for the given arrival rates and service capacities, under any control policy at all? For a single M/M/1 queue the answer is the familiar λ<μ\lambda < \muλ<μ, but a general stochastic processing network (SPN) — many buffers, many activities, servers that can be pooled or shared across job classes — has no single scalar "utilization" to compare against a threshold. J. G. Dai and J. Michael Harrison's Processing Networks: Fluid Models and Stability (Cambridge University Press, forthcoming; cited here from the authors' pre-publication draft, 2020-4-2, http://spnbook.org) answers this with a linear program: the static planning problem, first formulated by Harrison (2000). This mission formalizes the theorem that answers the crude question in one direction — no control policy can stabilize a network outside the region that program identifies — which is why, as the book puts it, "throughout the remainder of this book, attention is essentially restricted to subcritical networks."

Setting

An SPN has III buffers, indexed by i∈Ii \in \mathcal{I}i∈I, and JJJ activities, indexed by j∈Jj \in \mathcal{J}j∈J. Its first-order data — the quantities that matter for a capacity calculation, as opposed to full stochastic detail — are: the I×JI \times JI×J material requirement matrix BBB (BijB_{ij}Bij​ = number of class-iii items one type-jjj service consumes), the I×JI \times JI×J mean output matrix Γ\GammaΓ (its jjjth column is the expected output vector of a type-jjj service), the mean service times mj>0m_j > 0mj​>0, the K×JK \times JK×J capacity consumption matrix AAA (server pool kkk against activity jjj), and the server-pool capacities b∈R+Kb \in \mathbb{R}_+^Kb∈R+K​. From these,

R:=(B−Γ)M−1,M:=diag⁡(m1,…,mJ),R := (B - \Gamma)M^{-1}, \qquad M := \operatorname{diag}(m_1, \dots, m_J),R:=(B−Γ)M−1,M:=diag(m1​,…,mJ​),

so that RijR_{ij}Rij​ is the long-run average rate at which activity jjj depletes buffer iii's content.

Given an arrival-rate vector λ∈R+I\lambda \in \mathbb{R}_+^Iλ∈R+I​, the static planning problem (SPP) is the linear program

γ∗(λ):=min⁡x≥0, γ γs.t.Rx=λ,Ax≤γb,\gamma^\ast(\lambda) := \min_{x \ge 0,\, \gamma} \ \gamma \quad \text{s.t.} \quad Rx = \lambda, \quad Ax \le \gamma b,γ∗(λ):=x≥0,γmin​ γs.t.Rx=λ,Ax≤γb,

whose decision variable xjx_jxj​ is a long-run average activity rate and whose objective γ\gammaγ upper-bounds every server pool's utilization. The network is subcritical at λ\lambdaλ if γ∗(λ)<1\gamma^\ast(\lambda) < 1γ∗(λ)<1, and the subcritical region is Λ:={λ:γ∗(λ)<1}\Lambda := \{\lambda : \gamma^\ast(\lambda) < 1\}Λ:={λ:γ∗(λ)<1}.

An SPN is stable (Definition 3.6, mission I) when its ambient Markov chain is positive recurrent, equivalently has a unique stationary distribution, equivalently its buffer contents converge in distribution to a non-defective limit. This mission's chapter portion (Chapters 4-5) also treats three extensions used elsewhere in the book: a Markovian arrival process replacing independent Poisson arrivals; alternate routing with immediate commitment, where arrivals must be routed into an eligible buffer at the instant they arrive, with routing rates constrained by an augmented version of the SPP; and processor sharing (PS) networks, whose service discipline falls outside the book's ordinary relaxed-control framework and is instead analyzed through an equivalent head-of-line (EHL) model built to have the same generator.

Formalization targets

Goal: Theorem 5.2 — only subcritical networks can be stable

(baseline stochastic assumptions) ∧ (Markov representation) ∧ (SPN stable)  ⟹  λ∈Λ.\text{(baseline stochastic assumptions)} \ \wedge \ \text{(Markov representation)} \ \wedge \ \text{(SPN stable)} \implies \lambda \in \Lambda.(baseline stochastic assumptions) ∧ (Markov representation) ∧ (SPN stable)⟹λ∈Λ.

This is the weakest target that captures the chapter's content: it asserts nothing about which policy achieves stability, or whether subcriticality is sufficient (Chapters 6 onward answer that, case by case, and Chapter 5 itself gives two counterexamples where it is not) — only that subcriticality is unconditionally necessary.

Further results (milestones)

Proposition 4.1 (a strong law of large numbers for class-level arrivals under randomized routing), Proposition 4.4 (PS-network stability reduces to EHL-model stability), Proposition 5.1 (for a unitary network, subcriticality reduces to the classical load condition ρ<b\rho < bρ<b), and Corollaries 5.4-5.6 (the same necessity conclusion under a Markovian arrival process, under alternate routing, and its consequence for maximally stable policies).

Significance

The result itself. Theorem 5.2 converts "can this network be stabilized at all?" from an open-ended search over control policies into a single linear-program feasibility check on first-order data alone. Corollary 5.6 turns this into the standard proof template every later chapter uses: exhibit a policy whose implementation does not reference λ\lambdaλ, show it is stable throughout the subcritical region, and conclude maximal stability — without having to separately characterize the true stability region Λ∗\Lambda^\astΛ∗, which the book calls "a deep mathematical problem" in general.

Formalizing it. A search of the platform for "processing network," "static planning problem," and "linear program" returned no hits: the SPN-specific static planning problem — its decision variables xxx tied to a network's material-balance matrix RRR and capacity matrix AAA — has no existing counterpart, though the platform's linear-optimization field (16 missions) has general LP duality substrate a future proof of Proposition 5.1 or Theorem 5.2 could draw on. This mission is a from-scratch formalization of the SPP, the subcritical region, and the necessity theorem.

Difficulty

The natural first attempt states Theorem 5.2 as a claim about the buffer-contents process Z(t)Z(t)Z(t) directly. This fails to separate cleanly from the proof, because the actual argument passes through an auxiliary quantity — the stationary mean x:=Eπ[N(0)]x := \mathbb{E}_\pi[N(0)]x:=Eπ​[N(0)] under the chain's (unique, by stability) stationary distribution π\piπ — that has no meaning outside a specific proof strategy. The formalization instead states the goal purely in terms of the data (R,A,b)(R, A, b)(R,A,b) and the hypothesis of stability, exactly as the book's own statement does, leaving xxx's construction to the (currently sorry) proof. A second difficulty is Corollary 5.4's Markovian arrival process: naively reusing BaselineAssumptions with a non-Poisson arrival process is impossible, since Poisson-ness is a mandatory structural field of that definition, not an optional hypothesis — the corollary needs its own hypothesis structure that changes exactly the one clause Assumption 2.1(a) contributes and nothing else.

Formalization scope

Buffers and activities are Fin I, Fin J; matrices are Matrix over ℝ. The subcritical region is defined via the optimal SPP value γ∗\gamma^\astγ∗, formalized with Mathlib's IsLeast (attained infimum, matching the book's own "γ∗≤1\gamma^\ast \le 1γ∗≤1 iff xxx exists" phrasing, which presupposes attainment) rather than a bare existential — a formalization using, say, sInf would silently commit to junk values on an infeasible or unbounded LP and would not obviously match the book's own usage of γ∗\gamma^\astγ∗ as literally attained. The basic SPN model's full state-process construction (Sections 2.3-2.4) is not re-derived from scratch here; Theorem 5.2 instead takes the structural facts its own proof invokes — the capacity constraint AN(t)≤bAN(t) \le bAN(t)≤b (Eq. 2.11) and the material-requirement matrix BBB — as explicit data, reusing mission I's BaselineAssumptions and MarkovRepresentation for the stochastic and Markov-chain apparatus. Proposition 4.4's shared- generator fact between a PS network and its EHL model (the actual content the book's construction of Section 4.4 establishes) is likewise taken as an explicit hypothesis rather than rebuilt from the refined-class/phase-type machinery of Eqs. (4.19)-(4.29); reconstructing that machinery from scratch, or reproving Proposition 4.1's SLLN from the chain's strong Markov property at regeneration times, are both welcome future contributions. A formalization that stated Theorem 5.2 with Λ\LambdaΛ replaced by an unconstrained existential (dropping the LP structure entirely) would trivialize the chapter's actual content — the LP-feasibility characterization is what makes Λ\LambdaΛ checkable, and is preserved here in full.

Selected references

  • J. G. Dai and J. Michael Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press (forthcoming), pre-publication draft 2020-4-2. http://spnbook.org
  • J. M. Harrison, "Brownian models of open processing networks: canonical representation of workload," Annals of Applied Probability 10 (2000), 75-103.
  • J. G. Dai and W. Lin, "Maximum pressure policies in stochastic processing networks," Operations Research 53 (2005), 197-218.
13 thms3 active usersReviewed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Asymptotic Optimality of Tailored Base-Surge Policies in Dual-Sourcing Inventory Systems: Asymptotic Optimality of the Best TBS Policy for Long Lead TimesResearch Paper

Motivation

Firms that can buy the same item from two suppliers, a cheap slow one and a fast expensive one, face the dual-sourcing inventory problem: how much to order from each source in every period when demand is random and unmet demand is backlogged. Global sourcing (offshore regular supply plus a near-shore express supply) is the standard example (Allon and Van Mieghem 2010). When the two lead times differ by more than one period, the optimal policy depends on the whole pipeline of outstanding orders. No simple optimal policy is known, and dynamic programming is intractable for long lead times.

The tailored base-surge (TBS) policy orders a constant amount from the slow source and uses the fast source to bring the expedited inventory position up to a fixed level. It is simple, and it is used in practice. Janakiraman, Seshadri and Sheopuri (JSS, Management Science 2015) showed that its best parameters solve a convex program that does not depend on the regular lead time, and they conjectured, with numerical support, that TBS is near-optimal when that lead time is long.

Timeline:

  • Karlin and Scarf (1958), Scarf (1960): structure of optimal single-source backlog policies with a lead time.
  • Sheopuri, Janakiraman and Seshadri (2010): reduction of dual-sourcing policies to the truncated regular pipeline and the expedited inventory position (Lemma 1 here).
  • Allon and Van Mieghem (2010): the TBS policy, with conjectures and numerical evidence.
  • JSS (2015): the TBS cost formula and a convex program for its parameters.
  • Xin and Goldberg (2018): proof of the conjecture with an explicit rate (Management Science 64(1), 2018). This mission formalizes that result.

Setting

Let DDD be a nonnegative random variable with finite mean E[D]\mathbb E[D]E[D] that is not almost surely constant. Demands D1,D2,…D_1, D_2, \dotsD1​,D2​,… are i.i.d. copies of DDD. The regular source has lead time LLL, the express source has lead time L0≥0L_0 \ge 0L0​≥0, and L>L0+1L > L_0 + 1L>L0​+1. In period ttt the controller orders qtR≥0q^R_t \ge 0qtR​≥0 and qtE≥0q^E_t \ge 0qtE​≥0; then qt−LR+qt−L0Eq^R_{t-L} + q^E_{t-L_0}qt−LR​+qt−L0​E​ arrives and DtD_tDt​ is realized, so the on-hand inventory evolves as It+1=It+qt−LR+qt−L0E−DtI_{t+1} = I_t + q^R_{t-L} + q^E_{t-L_0} - D_tIt+1​=It​+qt−LR​+qt−L0​E​−Dt​ and may be negative. Initially nothing is on order and I1=−∑i=1G^D−i′I_1 = -\sum_{i=1}^{\hat G} D'_{-i}I1​=−∑i=1G^​D−i′​, where the D−i′D'_{-i}D−i′​ are further i.i.d. copies of DDD and P(G^=k)=2−k\mathbb P(\hat G = k) = 2^{-k}P(G^=k)=2−k, k≥1k \ge 1k≥1.

The per-period cost is c qt−L0E+G(It+1)c\,q^E_{t-L_0} + G(I_{t+1})cqt−L0​E​+G(It+1​) with G(y)=hy++by−G(y) = h y^+ + b y^-G(y)=hy++by−, where b,h>0b, h > 0b,h>0 and c>0c > 0c>0 is the express premium (the regular unit cost is normalized to 000). An admissible policy π∈Π\pi \in \Piπ∈Π chooses the two orders in period ttt as deterministic measurable functions of (qt−LR,…,qt−1R,qt−L0E,…,qt−1E,It)(q^R_{t-L}, \dots, q^R_{t-1}, q^E_{t-L_0}, \dots, q^E_{t-1}, I_t)(qt−LR​,…,qt−1R​,qt−L0​E​,…,qt−1E​,It​). Its long-run average cost is

C(π)=lim sup⁡T→∞1T∑t=L0+1TE[Ctπ],OPT(L)=inf⁡π∈ΠC(π).C(\pi) = \limsup_{T\to\infty}\frac1T\sum_{t=L_0+1}^T \mathbb E[C^\pi_t], \qquad \mathrm{OPT}(L) = \inf_{\pi\in\Pi}C(\pi).C(π)=T→∞limsup​T1​t=L0​+1∑T​E[Ctπ​],OPT(L)=π∈Πinf​C(π).

With the expedited inventory position I^t=It+∑k=t−L0t−1qkE+∑k=t−Lt−L+L0qkR\hat I_t = I_t + \sum_{k=t-L_0}^{t-1}q^E_k + \sum_{k=t-L}^{t-L+L_0}q^R_kI^t​=It​+∑k=t−L0​t−1​qkE​+∑k=t−Lt−L+L0​​qkR​, the TBS policy πr,S\pi_{r,S}πr,S​ orders qtR=rq^R_t = rqtR​=r and qtE=max⁡(0,S−I^t)q^E_t = \max(0, S - \hat I_t)qtE​=max(0,S−I^t​). A best TBS pair (r∗,S∗)(r^*, S^*)(r∗,S∗) minimizes C(πr,S)C(\pi_{r,S})C(πr,S​) over 0≤r≤E[D]0 \le r \le \mathbb E[D]0≤r≤E[D] and S∈RS \in \mathbb RS∈R (first in rrr through F∞(r)=inf⁡SC(πr,S)F^\infty(r) = \inf_S C(\pi_{r,S})F∞(r)=infS​C(πr,S​), then in SSS).

The constants ϵ0\epsilon_0ϵ0​ and Y0Y_0Y0​ are explicit functionals of the law of DDD and of L0,b,h,cL_0, b, h, cL0​,b,h,c. They are built from g=inf⁡xE[G(x−∑i=1L0+1Di′)]g = \inf_x\mathbb E[G(x - \sum_{i=1}^{L_0+1}D'_i)]g=infx​E[G(x−∑i=1L0​+1​Di′​)], U=c E[D]+E[G(−∑i=1L0+1Di′)]U = c\,\mathbb E[D] + \mathbb E[G(-\sum_{i=1}^{L_0+1}D'_i)]U=cE[D]+E[G(−∑i=1L0​+1​Di′​)], p0=P(D<E[D])p_0 = \mathbb P(D < \mathbb E[D])p0​=P(D<E[D]), the mean absolute deviation η0\eta_0η0​, and the large-deviation quantities γϵ,ϑϵ\gamma_\epsilon, \vartheta_\epsilonγϵ​,ϑϵ​ of ϕϵ(θ)=eθ(E[D]−ϵ)E[e−θD]\phi_\epsilon(\theta) = e^{\theta(\mathbb E[D]-\epsilon)}\mathbb E[e^{-\theta D}]ϕϵ​(θ)=eθ(E[D]−ϵ)E[e−θD] (p. 441).

Formalization targets

Goal: Theorem 1 (p. 441)

For all L0≥0L_0 \ge 0L0​≥0, ϵ∈(0,1)\epsilon \in (0,1)ϵ∈(0,1) and L>ϵ0−2+Y0ϵ−2L > \epsilon_0^{-2} + Y_0\epsilon^{-2}L>ϵ0−2​+Y0​ϵ−2,

C(πr∗,S∗)OPT(L)<1+ϵ.\frac{C(\pi_{r^*,S^*})}{\mathrm{OPT}(L)} < 1 + \epsilon.OPT(L)C(πr∗,S∗​)​<1+ϵ.

The threshold does not depend on LLL, so the statement gives an explicit, inverse-polynomial rate. Its limit form C(πr∗,S∗)/OPT(L)→1C(\pi_{r^*,S^*})/\mathrm{OPT}(L) \to 1C(πr∗,S∗​)/OPT(L)→1 is Corollary 1 of the paper.

Milestones

In the order the proof uses them:

  • the bound g≤OPT(L)≤Ug \le \mathrm{OPT}(L) \le Ug≤OPT(L)≤U;
  • Lemma 1, the reduction to Π^\hat\PiΠ^ (quoted from Sheopuri et al.);
  • Eq. (3), the TBS cost formula C(πr,S)=c(E[D]−r)+E[G(I∞r+S−∑i=1L0+1Di′)]C(\pi_{r,S}) = c(\mathbb E[D]-r) + \mathbb E[G(I^r_\infty + S - \sum_{i=1}^{L_0+1}D'_i)]C(πr,S​)=c(E[D]−r)+E[G(I∞r​+S−∑i=1L0​+1​Di′​)] (quoted from JSS);
  • Theorem 2, the existence of a stationary-like vector (χ∗,L,q∗,L,I∗,L)(\chi^{*,L}, q^{*,L}, \mathcal I^{*,L})(χ∗,L,q∗,L,I∗,L) with rL=E[χ1∗,L]r_L = \mathbb E[\chi^{*,L}_1]rL​=E[χ1∗,L​];
  • Corollary 2 and Lemma 2, the lower bound OPT(L)≥c(E[D]−rL)+(1−α)VαL−L0(rL,−∞)\mathrm{OPT}(L) \ge c(\mathbb E[D]-r_L) + (1-\alpha)V^{L-L_0}_\alpha(r_L,-\infty)OPT(L)≥c(E[D]−rL​)+(1−α)VαL−L0​​(rL​,−∞) through a discounted single-source problem;
  • Lemma 3, the Bellman equation and structure of that problem (quoted from JSS and Scarf 1960);
  • Lemma 4 (8) and (9), and Corollary 3, the passage to the infinite horizon and to base-stock policies;
  • Lemma 5, the random-walk maxima MkrM^r_kMkr​ (proof omitted in the paper);
  • Lemmas 8–9 and Corollary 4: rL<E[D]−ϵ0r_L < \mathbb E[D] - \epsilon_0rL​<E[D]−ϵ0​ once L>ϵ0−2+L0+1L > \epsilon_0^{-2} + L_0 + 1L>ϵ0−2​+L0​+1.

Significance

The theorem shows that one of the simplest dual-sourcing heuristics is asymptotically optimal as the regular lead time grows. This is the regime where exact dynamic programming is hopeless. The best TBS parameters come from a convex program independent of LLL, so the result yields an algorithm whose running time does not grow with LLL and whose optimality gap is bounded explicitly for every finite LLL. It extends the lower-bounding technique of Xin and Goldberg's lost-sales work (Operations Research 2016) from a static to a dynamic relaxation.

Formalization adds the following. To the best of available knowledge, none of the objects involved (average-cost inventory control with backlog, TBS policies, Lindley-type maxima of random walks with their Spitzer identity) exists in Mathlib or on the platform. The paper's proof defers several ingredients to the literature or omits them: Lemma 1, Eq. (3), Lemma 3, and the details of Lemmas 5 and 7. A complete formal proof must supply them. The result is proved on paper but not formalized anywhere.

Difficulty

An optimal dual-sourcing policy need not be stationary, its induced Markov chain need not have a stationary distribution, and the inventory is unbounded below. The natural argument would compare the optimal policy's steady state with the TBS steady state, and it fails at its first step. Theorem 2 replaces the steady state by a vector with a few distributional properties, built from time averages. That construction, and the independence structure it must carry, is the central technical step. The conditional Jensen step then leads to a single-source problem with possibly negative demand, where textbook interchange-of-limits theorems do not apply directly. Finally, bounding rLr_LrL​ away from E[D]\mathbb E[D]E[D] requires a quantitative lower bound on the growth of random-walk maxima under only a first-moment assumption.

Formalization scope

Conventions of the Lean development (namespace XinGoldbergTBS.Asymptotic):

  • The law of DDD is a probability measure on R\mathbb RR with no mass on (−∞,0)(-\infty,0)(−∞,0), finite mean, and no atom of mass 111. The paper's "strictly positive (possibly infinite) variance" is read as "not almost surely constant".
  • cR=0c_R = 0cR​=0, b>0b > 0b>0, h>0h > 0h>0, c>0c > 0c>0, and L,L0L, L_0L,L0​ are natural numbers. The paper's standing assumption L>L0+1L > L_0 + 1L>L0​+1 is a hypothesis wherever the paper states it; in Theorem 1 it follows from the threshold.
  • Costs, expectations, C(π)C(\pi)C(π), OPT(L)\mathrm{OPT}(L)OPT(L), VαnV^n_\alphaVαn​ and Vα∞V^\infty_\alphaVα∞​ take values in [0,∞][0,\infty][0,∞], so infinite costs are never truncated. The ratio in Theorem 1 is stated as C(πr∗,S∗)<(1+ϵ)OPT(L)C(\pi_{r^*,S^*}) < (1+\epsilon)\mathrm{OPT}(L)C(πr∗,S∗​)<(1+ϵ)OPT(L), which is equivalent because 0<g≤OPT(L)≤U<∞0 < g \le \mathrm{OPT}(L) \le U < \infty0<g≤OPT(L)≤U<∞.
  • Π\PiΠ is exactly the paper's class: deterministic, time-dependent, measurable, nonnegative orders that depend on the pipeline and inventory. It is neither restricted to stationary policies nor enlarged to randomized ones. TBS policies are members, so C(πr,S)≥OPT(L)C(\pi_{r,S}) \ge \mathrm{OPT}(L)C(πr,S​)≥OPT(L) by construction.
  • ϑϵ∈[0,∞]\vartheta_\epsilon \in [0,\infty]ϑϵ​∈[0,∞] is the supremum of the minimizers of ϕϵ\phi_\epsilonϕϵ​ on [0,∞)[0,\infty)[0,∞), and it is ∞\infty∞ if the infimum is not attained; 1/∞=01/\infty = 01/∞=0.
  • The existence of a best TBS pair is asserted in the paper via JSS. The goal therefore also asserts that some TBS policy with 0≤r≤E[D]0 \le r \le \mathbb E[D]0≤r≤E[D] meets the bound, so it cannot hold vacuously when no minimizer exists.
  • rLr_LrL​ belongs to a witness of Theorem 2, and the results that use it hold for every witness.
  • The single-source class Πˉ\bar\PiΠˉ ("feasible nonanticipative policies, as typically defined") is read as nonnegative orders that are measurable functions of past demands. In Lemma 3 "increasing" is read as nondecreasing, and convexity in xxx includes finiteness.
  • The paper states Eq. (3) without a range for rrr; it is stated here for 0≤r≤E[D]0 \le r \le \mathbb E[D]0≤r≤E[D], the TBS parameters over which the paper optimizes. At r=E[D]r = \mathbb E[D]r=E[D] both sides are +∞+\infty+∞. In Lemma 8, the range's upper end is +∞+\infty+∞ when ϵ=0\epsilon = 0ϵ=0.
  • Differences such as Vα∞−VαnV^\infty_\alpha - V^n_\alphaVα∞​−Vαn​ and M∞r−MnrM^r_\infty - M^r_nM∞r​−Mnr​ are stated additively, and the negative terms of (9) and Corollary 3 are moved to the other side.

Lemma 1, Eq. (3) and Lemma 3 are results the paper quotes from Sheopuri et al. (2010), JSS and Scarf (1960). Proposition 1 (conditional-expectation form of the bound) is not included.

A trivializing formalization is ruled out: OPT(L)\mathrm{OPT}(L)OPT(L) ranges over the full admissible class, the constants are definitions rather than hypotheses, and the goal includes an existence clause.

Reusable beyond this mission: average-cost inventory models with lead times, discounted single-source backlog value functions, and Spitzer-type identities for random-walk maxima. Contributions to any milestone are welcome.

Selected references

  • L. Xin and D. A. Goldberg, Asymptotic Optimality of Tailored Base-Surge Policies in Dual-Sourcing Inventory Systems, Management Science 64(1):437–452, 2018. https://doi.org/10.1287/mnsc.2016.2607
  • G. Janakiraman, S. Seshadri and A. Sheopuri, Analysis of Tailored Base-Surge Policies in Dual Sourcing Inventory Systems, Management Science 61(7):1547–1561, 2015.
  • G. Allon and J. A. Van Mieghem, Global Dual Sourcing: Tailored Base-Surge Allocation to Near- and Offshore Production, Management Science 56(1):110–124, 2010.
  • A. Sheopuri, G. Janakiraman and S. Seshadri, New Policies for the Stochastic Inventory Control Problem with Two Supply Sources, Operations Research 58(3):734–745, 2010.
  • H. Scarf, The Optimality of (s, S) Policies in the Dynamic Inventory Problem, in Mathematical Methods in the Social Sciences, Stanford University Press, 1960, pp. 196–202.
  • L. Xin and D. A. Goldberg, Optimality Gap of Constant-Order Policies Decays Exponentially in the Lead Time for Lost Sales Models, Operations Research 64(6):1556–1565, 2016.
20 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingMarkov ChainOperations Research·Captain: mikedeng1

Markov-Renewal Programming. I: Formulation, Finite Return Models: Policy Iteration Finds an Optimal Stationary Policy for the Discounted Infinite-Horizon Markov-Renewal ProgramResearch Paper

Motivation

Many operational systems move between a finite number of states at random times: a machine alternates between working and repair, a queue between occupancy levels, an inventory between stock positions. When the time spent in a state is not exponential and not a fixed period, neither discrete-time Markov decision processes nor continuous-time Markov chains describe the system faithfully. William S. Jewell's 1963 paper Markov-Renewal Programming. I extends Howard's Markov decision processes to Markov-renewal processes (also called semi-Markov processes), in which the time between transitions is a random variable whose law depends on the current state, the next state, and the decision taken. The resulting model, now called a semi-Markov decision process, is standard in maintenance, queueing control and reliability.

Timeline:

  • 1954: Lévy, Smith and Takács independently introduce Markov-renewal and semi-Markov processes; Pyke later surveys them.
  • 1960: Howard, Dynamic Programming and Markov Processes, introduces policy iteration for finite discrete-time Markov decision processes.
  • 1962: Blackwell, Discrete Dynamic Programming, shows that for the discounted discrete-time problem a stationary policy is optimal among all policies.
  • 1963: Jewell formulates Markov-renewal programming, with a continuous discount factor α, and carries Howard's algorithm and Blackwell's stationarity result over to it. Part II of the paper treats the undiscounted (infinite-return) models.

Setting

A Markov-renewal program has a finite set of states SSS (the paper's i=1,…,Ni = 1, \dots, Ni=1,…,N) and a finite, nonempty set of alternatives (the paper's z=1,…,Zz = 1, \dots, Zz=1,…,Z), each available in every state. For each alternative zzz and states i,ji, ji,j it specifies:

  • a transition probability pijz≥0p^z_{ij} \ge 0pijz​≥0, with ∑jpijz=1\sum_j p^z_{ij} = 1∑j​pijz​=1;
  • a sojourn-time distribution FijzF^z_{ij}Fijz​, the law of the time τ\tauτ between entering iii and moving to jjj, with τ≥0\tau \ge 0τ≥0 and Fijz(0)=0F^z_{ij}(0) = 0Fijz​(0)=0;
  • for each continuous discount factor α>0\alpha > 0α>0, a real number ρijz(α)\rho^z_{ij}(\alpha)ρijz​(α), the expected discounted return earned during that transition.

The Laplace–Stieltjes transform f~ijz(s)=∫0∞e−st dFijz(t)\tilde f^z_{ij}(s) = \int_0^\infty e^{-st}\,dF^z_{ij}(t)f~​ijz​(s)=∫0∞​e−stdFijz​(t) is the expected discount E[e−sτ]\mathbb E[e^{-s\tau}]E[e−sτ] over one interval. The average one-step return is ρiz(α)=∑jpijzρijz(α)\rho^z_i(\alpha) = \sum_j p^z_{ij}\rho^z_{ij}(\alpha)ρiz​(α)=∑j​pijz​ρijz​(α), and for a vector of returns vvv the test quantity is

ρiz(α)+∑jpijz f~ijz(α) vj.\rho^z_i(\alpha) + \sum_j p^z_{ij}\,\tilde f^z_{ij}(\alpha)\,v_j .ρiz​(α)+j∑​pijz​f~​ijz​(α)vj​.

A stationary policy is a map d:S→Ad : S \to Ad:S→A; a nonstationary policy is a sequence π=(π0,π1,… )\pi = (\pi_0, \pi_1, \dots)π=(π0​,π1​,…) of such maps, πk\pi_kπk​ being used at the kkk-th transition. The nnn-step return Viπ(n)V^\pi_i(n)Viπ​(n) of a policy, with boundary rewards Vi(0,α)V_i(0,\alpha)Vi​(0,α), is the test quantity of π0(i)\pi_0(i)π0​(i) applied to the (n−1)(n-1)(n−1)-step return of the shifted policy; the optimal nnn-step return Vi(n,α)V_i(n,\alpha)Vi​(n,α) of equation (6) replaces π0(i)\pi_0(i)π0​(i) by a maximum over zzz. The value-determination equations (15) of a stationary policy ddd are vi=ρid(i)(α)+∑jpijd(i)f~ijd(i)(α)vjv_i = \rho^{d(i)}_i(\alpha) + \sum_j p^{d(i)}_{ij}\tilde f^{d(i)}_{ij}(\alpha) v_jvi​=ρid(i)​(α)+∑j​pijd(i)​f~​ijd(i)​(α)vj​.

The algorithm of Fig. 1 alternates two steps: solve (15) for the current policy, then in every state pick an alternative maximizing the test quantity, keeping the old alternative if it still attains the maximum. It stops when two successive policies are identical.

Formalization targets

Goal (p. 947)

For every α>0\alpha > 0α>0: (15) has a unique solution for every stationary policy, and every run (dk,vk)(d_k, v_k)(dk​,vk​) of Fig. 1 reaches dK+1=dKd_{K+1} = d_KdK+1​=dK​ with K<ZNK < Z^NK<ZN, where

lim⁡n→∞VidK(n)=(vK)i,lim⁡n→∞Viπ(n)≤(vK)i  ∀π,lim⁡n→∞Vi(n,α)=(vK)i,\lim_{n\to\infty} V^{d_K}_i(n) = (v_K)_i,\qquad \lim_{n\to\infty} V^\pi_i(n) \le (v_K)_i \ \ \forall \pi,\qquad \lim_{n\to\infty} V_i(n,\alpha) = (v_K)_i ,n→∞lim​VidK​​(n)=(vK​)i​,n→∞lim​Viπ​(n)≤(vK​)i​  ∀π,n→∞lim​Vi​(n,α)=(vK​)i​,

for every state iii and all boundary rewards, every limit existing. This is the paper's "the algorithm of Fig. 1 produces an optimal, stationary policy that is as good as any optimal, nonstationary policy".

Milestones

  1. p. 945: 0≤pijzf~ijz(s)<10 \le p^z_{ij}\tilde f^z_{ij}(s) < 10≤pijz​f~​ijz​(s)<1 for s>0s > 0s>0.
  2. Claim (a): (15) has exactly one solution for each stationary policy.
  3. Eq. (15): the nnn-step return of a stationary policy converges to a solution of (15).
  4. p. 946: I−q~(α)I - \tilde q(\alpha)I−q~​(α) is invertible and ([I−q~(α)]−1)ii≥1([I-\tilde q(\alpha)]^{-1})_{ii} \ge 1([I−q~​(α)]−1)ii​≥1.
  5. Claim (b): a change of policy raises the return of some state and lowers none.
  6. Claim (c): a policy reproduced by the improvement step is optimal among stationary policies.
  7. Claim (d): a run of Fig. 1 terminates within ZNZ^NZN cycles.
  8. Eq. (14): Vi(n,α)V_i(n,\alpha)Vi​(n,α) converges, independently of the boundary rewards, to a solution of vi=max⁡z{ρiz(α)+∑jpijzf~ijz(α)vj}v_i = \max_z\{\rho^z_i(\alpha) + \sum_j p^z_{ij}\tilde f^z_{ij}(\alpha) v_j\}vi​=maxz​{ρiz​(α)+∑j​pijz​f~​ijz​(α)vj​}.
  9. p. 946: some stationary policy's return dominates the limiting return of every nonstationary policy.

Significance

The result says that the infinite-step discounted Markov-renewal program is solved exactly, in finitely many cycles, by a finite-dimensional algorithm, and that the answer is a stationary policy. As the paper notes, this matters operationally because a nonstationary policy is hard to follow. The sojourn distributions enter only through the numbers f~ijz(α)\tilde f^z_{ij}(\alpha)f~​ijz​(α), so the same algorithm serves any sojourn-time law. For fixed α\alphaα the model is a discounted Markov decision process whose discount factor depends on the transition, which contains Howard's and Blackwell's constant-discount problem as the case of intervals of fixed length (p. 943).

The results are classical and proved in the literature. The paper itself refers the proofs to Howard and Blackwell. Machine-checked versions exist on this platform for finite stochastic shortest path and constant-discount problems (Bertsekas, Dynamic Programming and Optimal Control, Prop. 7.2.2 and 7.3.1, mission Dynamic Programming and Optimal Control VII). No formal treatment of Markov-renewal programs, of transition-dependent discounting, or of the retention rule of Fig. 1 is known to exist. The mission produces a verified policy-iteration theorem for semi-Markov decision processes, with an explicit termination bound and the comparison against nonstationary policies.

Difficulty

The discount over one transition, f~ijz(α)\tilde f^z_{ij}(\alpha)f~​ijz​(α), varies with iii, jjj and zzz, so the problem is not a constant-γ\gammaγ contraction of textbook form; the relevant bound is that every row of q~(α)\tilde q(\alpha)q~​(α) sums to less than one, which rests on Fijz(0)=0F^z_{ij}(0) = 0Fijz​(0)=0. Entries in [0,1)[0, 1)[0,1) alone, the paper's stated justification of Claim (a), do not make I−q~(α)I - \tilde q(\alpha)I−q~​(α) invertible: the 2×22 \times 22×2 matrix with every entry 1/21/21/2 has entries in [0,1)[0,1)[0,1), yet III minus it is singular.

Finite termination is not automatic either. If the improvement step may switch between tied maximizers, the iterates can cycle forever between two policies with equal returns; the retention rule of Fig. 1 excludes this, and Claim (b) must deliver a strict increase in some state, with no decrease anywhere, to rule out revisiting a policy. Comparing with nonstationary policies requires controlling returns of arbitrary policy sequences, whose limits must be shown to exist, not assumed.

Formalization scope

  • States and alternatives are finite types; alternatives are nonempty. Every alternative is available in every state.
  • FijzF^z_{ij}Fijz​ is a probability measure on R\mathbb RR with no mass on (−∞,0](-\infty, 0](−∞,0]. The transform is integrated over (0,∞)(0, \infty)(0,∞), which carries all the mass.
  • The one-transition returns ρijz(α)\rho^z_{ij}(\alpha)ρijz​(α) are arbitrary real numbers, a generalization of the paper's Stieltjes integral (4), which is not formalized. The reward functions Rijz(t∣τ)R^z_{ij}(t\mid\tau)Rijz​(t∣τ) do not appear.
  • Returns of policies are defined by the one-step recursion (the policy form of (6)); the Markov-renewal process is not built as a stochastic process.
  • Policies are the paper's: deterministic and Markov, nonstationary ones indexed by the number of transitions made. Randomized and history-dependent policies are not in the comparison class.
  • The following informal words are read as follows. "Solve the set of simultaneous equations": (15) has exactly one solution. "Strictly increases the expected return of at least one state": no state's return decreases and one strictly increases, under the hypothesis that the policy changed. "No other policy can lead to higher expected returns" in Claim (c): no stationary policy. "Terminates in a finite number of cycles": two successive policies coincide at some cycle K<ZNK < Z^NK<ZN. "If there is no improvement in the test quantity, retain the same alternative": the old alternative is kept whenever it attains the maximum. "Optimal" and "as good as any nonstationary policy": the limiting return of the returned policy dominates that of every policy from every state, for all boundary rewards. "lim⁡n→∞Vi(n,α)\lim_{n\to\infty} V_i(n,\alpha)limn→∞​Vi​(n,α)": the limit is proved to exist. "max⁡z\max_zmaxz​": a maximum over the finite nonempty set of alternatives.
  • Eq. (14) is printed with vi(α)v_i(\alpha)vi​(α) inside the sum over jjj; the formalization uses vj(α)v_j(\alpha)vj​(α), as (6), (15) and Fig. 1 do.
  • Every statement fixes one α>0\alpha > 0α>0. The undiscounted models (16)–(19), the finite-time and mixed-horizon models (9)–(13), and the infinite-time case of the stationarity result are out of scope.
  • The return of a policy is never defined through a matrix inverse, whose Mathlib value for a singular matrix is 000; (15) is a predicate, and the goal asserts unique solvability, so a vacuous reading through junk inverses or assumed limits is excluded.

Reusable infrastructure: bounds for substochastic matrices with row sums below one (invertibility, Neumann series, nonnegative inverse), convergence of iterated Bellman operators with transition-dependent discount, and the policy-iteration termination argument with a tie-breaking rule. Proofs of any milestone and alternative arguments are welcome.

Selected references

  • W. S. Jewell, Markov-Renewal Programming. I: Formulation, Finite Return Models, Operations Research 11(6), 938–948, 1963. https://doi.org/10.1287/opre.11.6.938
  • W. S. Jewell, Markov-Renewal Programming. II: Infinite Return Models, Example, Operations Research 11(6), 949–971, 1963. https://doi.org/10.1287/opre.11.6.949
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • D. Blackwell, Discrete Dynamic Programming, Annals of Mathematical Statistics 33(2), 719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • R. Pyke, Markov Renewal Processes: Definitions and Preliminary Properties, Annals of Mathematical Statistics 32(4), 1231–1242, 1961. https://doi.org/10.1214/aoms/1177704863
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 3rd ed., Athena Scientific, 2005, Section 7.2–7.3.
12 thms3 active usersReviewed
Probability·Captain: mikedeng1

Markov Processes: Characterization and Convergence VII: Strong approximation of independent sumsTextbook

Comparing random sums with continuous paths

A sum of independent random increments is a basic model for accumulated noise. A continuous Gaussian process offers a different description of that noise, one that can be studied at every nonnegative time. To compare their individual trajectories, both objects must live on the same probability space. The question is whether their paths can remain close over a whole finite range of observation times, with a quantitative bound on the chance of a large discrepancy. Ethier and Kurtz state such a result for independent sums in Chapter 7, Section 5, Theorem 5.1 of Markov Processes: Characterization and Convergence, printed page 356.

Probability laws and partial sums

Let μ\muμ be a probability measure on the real line. Assume that it has finite exponential moments in a neighborhood of zero: there is a0>0a_0>0a0​>0 such that

∫Reax μ(dx)<∞(∣a∣≤a0).\int_{\mathbb R} e^{ax}\,\mu(dx)<\infty\qquad (|a|\leq a_0).∫R​eaxμ(dx)<∞(∣a∣≤a0​).

This hypothesis controls both tails of the distribution. In particular, its mean mmm and variance σ2\sigma^2σ2 are finite. The distribution need not be centered, symmetric, bounded, or have positive variance. Let ξ1,ξ2,…\xi_1,\xi_2,\ldotsξ1​,ξ2​,… denote independent random variables each with distribution μ\muμ, and write Sk=ξ1+⋯+ξkS_k=\xi_1+\cdots+\xi_kSk​=ξ1​+⋯+ξk​ for their partial sums.

A Brownian motion with drift and variance rate m,σ2m,\sigma^2m,σ2 can be written as W(t)=mt+σB(t)W(t)=mt+\sigma B(t)W(t)=mt+σB(t), where BBB is standard real Brownian motion and σ\sigmaσ is the nonnegative square root of the variance. When σ=0\sigma=0σ=0, this expression gives the deterministic path mtmtmt. A coupling specifies a joint probability law for the entire sequence and the Brownian path while preserving their required individual laws. The sequence coordinates are independent of one another; independence between the sequence and the Brownian path is not part of the requirement.

The strong approximation target

Theorem 5.1 asserts that a coupling and positive constants C,K,λC,K,\lambdaC,K,λ, depending only on μ\muμ, exist such that

P ⁣{max⁡1≤k≤n∣Sk−W(k)∣>Clog⁡n+x}<Ke−λx\mathbb P\!\left\{\max_{1\leq k\leq n}|S_k-W(k)|>C\log n+x\right\}<K e^{-\lambda x}P{1≤k≤nmax​∣Sk​−W(k)∣>Clogn+x}<Ke−λx

for every integer n≥1n\geq1n≥1 and every real x>0x>0x>0. Both inequalities displayed here are strict. One joint construction works simultaneously for every horizon nnn and every positive excess xxx; neither the coupling nor the constants are chosen anew after those parameters are specified. At n=1n=1n=1, the logarithmic term is zero, so the same assertion controls the discrepancy at the first observation time.

The mission consists of this full theorem. The rescaling and Poisson consequences discussed later in the section are outside its target. There are no separate supporting theorem milestones in the accepted grouping.

What the estimate provides

The estimate controls the largest discrepancy among all partial sums up to a specified horizon. Its deterministic threshold grows logarithmically with that horizon, and its remaining tail decreases exponentially with the excess above the threshold. This makes the theorem a quantitative comparison of trajectories on a common space. The opening of Section 5 identifies strong approximation of independent sums as its subject and introduces approximation of the Poisson process as a subsequent consequence.

The mathematical result is a known theorem stated by Ethier and Kurtz. The present formal target asks for a checked proof of that statement, including the existence of its coupling. The statement is supplied with an unproved theorem body; no proof of the strong approximation estimate is asserted here.

Why the coupling is demanding

The prescribed marginal laws do not themselves determine the joint relationship that makes the paths close. The construction must preserve independence within the entire increment sequence and the Brownian finite-dimensional laws while also satisfying a maximal estimate for every finite horizon. A comparison of the distributions at one terminal time does not supply these simultaneous path requirements. The exponential tail and the uniform choice of constants are both part of the goal.

Representation and conventions

The common carrier is a pair consisting of a real sequence indexed by natural numbers and a continuous real path indexed by nonnegative real times. A probability measure on this carrier is the unknown coupling. Its first coordinate at index zero represents ξ1\xi_1ξ1​, so summing over the first kkk natural indices represents SkS_kSk​ exactly. Its second coordinate is standard Brownian motion; the affine expression mt+σB(t)mt+\sigma B(t)mt+σB(t) supplies the general drift and variance.

The finite maximum event is expressed by the existence of an integer kkk with 1≤k≤n1\leq k\leq n1≤k≤n whose error exceeds the threshold. This avoids any convention for a maximum of an empty set. Exponential integrability supplies the finite moments needed for the mean and variance. The probability bound uses the nonnegative extended-real embedding of the positive finite quantity Ke−λxK e^{-\lambda x}Ke−λx. The formal statement retains the full exponential-moment class, including point masses. Existing probability-measure, independence, law, Brownian-motion, and variance definitions supply the mathematical vocabulary.

Selected references

Stewart N. Ethier and Thomas G. Kurtz, Markov Processes: Characterization and Convergence, Wiley, 1986 (held reprint copyright 1986/2005), Chapter 7, Section 5, Theorem 5.1 and equation (5.1), printed page 356; local source PDF page 365. The book title and authors are recorded on local PDF page 2.

18 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Stochastic Orders IV: The Increasing Convex and Increasing Concave OrdersTextbook

Comparing location and spread together

Chapter I's usual stochastic order compares "how large" two random variables tend to be; Chapter III's convex order compares "how spread out" they are, holding the mean fixed. Chapter IV's increasing convex and increasing concave orders combine the two: X≤icxYX \le_{icx} YX≤icx​Y says XXX is both smaller and less variable than YYY in a single comparison, without forcing equal means. These are the orders a decision-maker with risk-averse (concave-utility) or risk-loving (convex-cost) preferences actually uses to rank random outcomes, since expected utility is exactly an expectation of an increasing concave or convex function. This mission formalizes both orders and their coupling characterization: the submartingale/supermartingale analogue, one chapter over, of Chapter III's Strassen martingale coupling for the plain convex order.

The increasing convex and increasing concave orders

Let XXX be a real-valued random variable on a probability space (Ω,μ)(\Omega,\mu)(Ω,μ), and let YYY be a real-valued random variable on a (possibly different) probability space (Ω′,ν)(\Omega',\nu)(Ω′,ν). XXX is smaller than YYY in the increasing convex order, written X≤icxYX \le_{icx} YX≤icx​Y, if

E[φ(X)]≤E[φ(Y)]for every increasing convex φ:R→R for which the two expectations exist,E[\varphi(X)] \le E[\varphi(Y)] \quad \text{for every increasing convex } \varphi:\mathbb{R}\to\mathbb{R} \text{ for which the two expectations exist,}E[φ(X)]≤E[φ(Y)]for every increasing convex φ:R→R for which the two expectations exist,

and smaller than YYY in the increasing concave order, X≤icvYX \le_{icv} YX≤icv​Y, if the same holds for every increasing concave φ\varphiφ. Taking φ(x)=x\varphi(x)=xφ(x)=x (increasing and both convex and concave) gives E[X]≤E[Y]E[X]\le E[Y]E[X]≤E[Y] under either order — unlike the convex order, no equality of means is forced. Two equivalent tail-integral characterizations (Theorem 4.A.2) make the orders tractable: X≤icxYX\le_{icx}YX≤icx​Y iff ∫x∞Fˉ(u) du≤∫x∞Gˉ(u) du\int_x^\infty \bar F(u)\,du \le \int_x^\infty \bar G(u)\,du∫x∞​Fˉ(u)du≤∫x∞​Gˉ(u)du for every xxx, and X≤icvYX\le_{icv}YX≤icv​Y iff ∫−∞xF(u) du≥∫−∞xG(u) du\int_{-\infty}^x F(u)\,du \ge \int_{-\infty}^x G(u)\,du∫−∞x​F(u)du≥∫−∞x​G(u)du for every xxx, where Fˉ,Gˉ\bar F,\bar GFˉ,Gˉ and F,GF,GF,G are the survival and distribution functions.

Formalization targets

Goal: the submartingale-coupling characterization (Theorem 4.A.5, increasing convex case)

X≤icxY  ⟺  ∃ (Ω′′,ρ), X^,Y^:Ω′′→R with X^=stX, Y^=stY, E[Y^∣X^]≥X^ a.s.X \le_{icx} Y \iff \exists\,(\Omega'',\rho),\ \hat X,\hat Y:\Omega''\to\mathbb{R}\text{ with } \hat X=_{st}X,\ \hat Y=_{st}Y,\ E[\hat Y\mid\hat X]\ge\hat X\text{ a.s.}X≤icx​Y⟺∃(Ω′′,ρ), X^,Y^:Ω′′→R with X^=st​X, Y^=st​Y, E[Y^∣X^]≥X^ a.s.

Furthermore, X^,Y^\hat X,\hat YX^,Y^ can be chosen so that [Y^∣X^=x][\hat Y\mid\hat X=x][Y^∣X^=x] stochastically increases with xxx (in ≤st\le_{st}≤st​). This is the increasing-convex analogue of Chapter III's Theorem 3.A.4: instead of a martingale, {X^,Y^}\{\hat X,\hat Y\}{X^,Y^} need only be a submartingale — the copy of YYY is, conditionally on the copy of XXX, at least a fair randomization of it. The book states its proof is "similar to the proof of Theorem 3.A.4" and calls the constructive direction "not easy to prove"; this mission states the theorem faithfully, including the "Furthermore" strengthening, without attempting a proof.

Companion: the supermartingale-coupling characterization (Theorem 4.A.5, increasing concave case)

The same theorem's other bracketed case: X≤icvYX \le_{icv} YX≤icv​Y iff there exist X^,Y^\hat X,\hat YX^,Y^ on a common space with X^=stX\hat X=_{st}XX^=st​X, Y^=stY\hat Y=_{st}YY^=st​Y, and {Y^,X^}\{\hat Y,\hat X\}{Y^,X^} a supermartingale, E[X^∣Y^]≤Y^E[\hat X\mid\hat Y]\le\hat YE[X^∣Y^]≤Y^ a.s. — note the swapped roles of X^\hat XX^ and Y^\hat YY^ in the conditioning relative to the increasing-convex case, not merely a flipped inequality. Drafted as a separate Lean theorem from the goal (see Formalization scope), since the two conditioning structures are genuinely different predicates, not sign-flipped rewrites of one another.

Supporting milestones

  • Theorem 4.A.1, the duality relation: X≤icxY  ⟺  −X≥icv−YX\le_{icx}Y \iff -X\ge_{icv}-YX≤icx​Y⟺−X≥icv​−Y, and X≤icvY  ⟺  −X≥icx−YX\le_{icv}Y\iff -X\ge_{icx}-YX≤icv​Y⟺−X≥icx​−Y — the increasing-order analogue of Theorem 3.A.12(a)'s duality for the plain convex order.
  • Theorem 4.A.2, the tail-integral characterizations above, for integrable X,YX,YX,Y.
  • Theorem 4.A.8(d), closure under convolution: independent Xi≤icxYiX_i\le_{icx}Y_iXi​≤icx​Yi​ (resp. ≤icv\le_{icv}≤icv​) for i=1,…,mi=1,\dots,mi=1,…,m gives ∑iXi≤icx∑iYi\sum_i X_i \le_{icx} \sum_i Y_i∑i​Xi​≤icx​∑i​Yi​ (resp. ≤icv\le_{icv}≤icv​) — the increasing-order analogue of Chapter III's Theorem 3.A.12(d), which the book itself says "can be proven as in Theorem 3.A.12."

Significance

The increasing convex and concave orders are the natural language of expected-utility comparisons: a risk-averse agent with concave utility uuu prefers YYY to XXX exactly when X≤icvYX\le_{icv}YX≤icv​Y implies E[u(X)]≤E[u(Y)]E[u(X)]\le E[u(Y)]E[u(X)]≤E[u(Y)] for every increasing concave uuu — the order is defined precisely so that "every risk-averse agent with increasing utility agrees" collapses to one comparison. In operations research this underlies stochastic dominance of the second kind in portfolio and inventory models, and the increasing-convex order similarly formalizes "second-order stochastic dominance for costs" used to compare random cost/loss distributions under risk-loving or regret-averse preferences. The submartingale-coupling characterization is what turns the intractable "for every increasing convex φ\varphiφ" quantifier into a single explicit construction, exactly as Strassen's theorem does for the plain convex order — and, being the direct chapter-IV successor to Chapter III's coupling theorem in this series, it fixes the second data point for what a "coupling-characterization" mission in this book's series looks like when the order being characterized is not symmetric between the two variables' roles.

No platform prior art exists: GET /theorems?q=increasing+convex, q=increasing+concave, and q=submartingale return zero genuinely matching hits (the one submartingale hit, a bandit subgaussian maximal inequality, uses Doob's inequality for a concentration bound, not this order). This mission restates the increasing convex/concave orders and their coupling characterization as a foundational, self-contained pair of definitions, parallel in structure to Chunk 03's convex-order mission but independently drafted (drafts cannot import each other's Lean).

Difficulty

The chief formalization risk is the one this chapter's own brief flags explicitly: the book states Theorem 4.A.5 as a single statement with bracketed alternatives ("X≤icxYX\le_{icx}YX≤icx​Y [X≤icvYX\le_{icv}YX≤icv​Y] iff … {X^,Y^}\{\hat X,\hat Y\}{X^,Y^} is a submartingale [{Y^,X^}\{\hat Y,\hat X\}{Y^,X^} is a supermartingale] …"), and the two cases are not symmetric rewrites of each other — the conditioning variable in E[Ŷ|X̂]≥X̂ swaps to E[X̂|Ŷ]≤Ŷ in the concave case, not just a flipped inequality on the same conditioning. A Lean statement that tried to unify both cases with a single Or or a naive sign-flip would either conflate two different predicates or silently state the wrong condition for one of the two cases. The duality theorem (4.A.1) compounds this risk in the other direction: its content is exactly that ≤icx\le_{icx}≤icx​ and ≥icv\ge_{icv}≥icv​ are related (by negating the variables), so a formalization that makes this equivalence provable by unfolding definitions (rather than as a genuine ↔ between two independently-stated predicates) would trivialize the one theorem whose entire content is that relationship.

Formalization scope

Random variables are measurable functions into R\mathbb{R}R from arbitrary measurable spaces, matching this series' convention; IcxOrder μ ν X Y and IcvOrder μ ν X Y are drafted as two separate definitions (not one order parametrized by an Or of function classes), each quantifying over Monotone φ ∧ ConvexOn ℝ Set.univ φ (resp. ConcaveOn) with the two expectations' existence stated as explicit Integrable hypotheses inside the ∀, exactly as Chunk 03's ConvexOrder. Equality in law is ProbabilityTheory.IdentDistrib. The goal's submartingale condition uses Mathlib's conditional-expectation notation X̂ ≤ᵐ[ρ] ρ[Ŷ | m] with m the σ-algebra generated by X̂; its companion's supermartingale condition uses ρ[X̂ | m'] ≤ᵐ[ρ] Ŷ with m' generated by Ŷ instead — the conditioning variable is genuinely swapped between the two theorems, matching the book's own bracket ordering {X̂,Ŷ} vs. {Ŷ,X̂}. The "Furthermore" clause in both is kept (not dropped), via Mathlib's ProbabilityTheory.condDistrib, restated as the relevant conditional-distribution kernel's survival function being monotone at every threshold — the same shape Chapter I's UsualOrder and Chunk 03's goal theorem use, necessarily restated locally since drafts cannot import another mission's definitions.

Theorem 4.A.1 (duality) and Theorem 4.A.8(d) (convolution closure) are each drafted as a single Lean theorem with two independent conjuncts (an ∧ of two ↔s, or of two implications), one per bracketed case, since the book states both cases as the two halves of one theorem sharing every hypothesis — this is not the same shape as the goal/companion split, where the two cases have genuinely different internal structure (the swapped conditioning) rather than a shared statement instantiated at two function classes. A trivializing formalization this mission rules out: stating Theorem 4.A.1's duality by relabeling IcvOrder as IcxOrder applied to negated arguments (making the equivalence a rfl or single simp unfolding) rather than keeping the two orders as independently-defined predicates whose relationship is the theorem's actual content.

This mission draws on no platform prior art (searches for "increasing convex", "increasing concave", and "submartingale" as of 2026-09-18 return zero genuine matches — the sole submartingale hit is an unrelated bandit concentration inequality via Doob's inequality). Reusable beyond this mission: the IcxOrder/IcvOrder definition pattern and the submartingale/supermartingale coupling shape parallel Chunk 03's ConvexOrder martingale-coupling pattern closely enough that a future chapter needing "coupling characterization of a location-and-spread order" (none of the remaining chapters currently in this series' first wave) could restate the same shape with minimal adaptation.

Selected references

  • M. Shaked and J. G. Shanthikumar, Stochastic Orders, Springer Series in Statistics, Springer, 2007, Chapter 4 (Univariate Monotone Convex and Related Orders), §4.A. https://doi.org/10.1007/978-0-387-34675-5
  • This series' Chunk 03 (StochasticOrders.Convex), for the plain convex order and Strassen's martingale coupling this chapter's submartingale/supermartingale coupling directly generalizes.
7 thms3 active usersReviewed
🏆Completed
Operations ResearchProbability·Captain: mikedeng1

Stochastic Orders II: The Mean Residual Life OrderTextbook

Motivation

A device's mean residual life at age ttt — its conditional expected remaining lifetime given that it has survived to ttt — is one of the oldest and most interpretable summaries in reliability and survival analysis: it is what an insurer, a maintenance planner, or a hospital outcomes researcher actually wants to know about a unit still in service. Comparing two mean residual life functions pointwise gives the mean residual life order ≤mrl\le_{mrl}≤mrl​, a natural "the survivor of XXX is worn less, on average, than the survivor of YYY" comparison that is weaker than the usual stochastic order but not directly comparable to it (the book states plainly that neither implies the other in general). This mission formalizes the order's definition and its precise relationship to the stronger hazard rate order ≤hr\le_{hr}≤hr​: under an extra monotone-ratio condition the two orders coincide, and one direction of that coincidence always holds. A third milestone gives one of the chapter's closure properties, showing that "decreasing mean residual life" (DMRL) — an aging notion used throughout reliability theory to describe units that wear out, rather than improve, with age — is preserved under adding independent noise.

Setting

Fix a probability space (Ω,μ)(\Omega,\mu)(Ω,μ) and a real-valued random variable XXX with survival function Fˉ(x)=P{X>x}\bar F(x) = P\{X>x\}Fˉ(x)=P{X>x} and finite mean. The mean residual life function of XXX at ttt is

m(t)={E[X−t∣X>t],t<t∗;0,otherwise,t∗=sup⁡{t:Fˉ(t)>0}.m(t) = \begin{cases} E[X-t \mid X>t], & t < t^*; \\ 0, & \text{otherwise,} \end{cases} \qquad t^* = \sup\{t : \bar F(t) > 0\}.m(t)={E[X−t∣X>t],0,​t<t∗;otherwise,​t∗=sup{t:Fˉ(t)>0}.

For a second random variable YYY on (Ω′,ν)(\Omega',\nu)(Ω′,ν) with mrl function lll, XXX is smaller than YYY in the mean residual life order, X≤mrlYX \le_{mrl} YX≤mrl​Y, if m(t)≤l(t)m(t) \le l(t)m(t)≤l(t) for every ttt. The hazard rate order, restated in this mission's own namespace (Chapter 1's version cannot be imported — see Formalization scope), is the general, absolute-continuity-free comparison Fˉ(x)Gˉ(y)≥Fˉ(y)Gˉ(x)\bar F(x)\bar G(y) \ge \bar F(y)\bar G(x)Fˉ(x)Gˉ(y)≥Fˉ(y)Gˉ(x) for all x≤yx \le yx≤y, where Gˉ\bar GGˉ is YYY's survival function. A random variable XXX is DMRL (decreasing mean residual life) if its mrl function mmm is decreasing in ttt.

Formalization targets

Goal — Theorem 2.A.2

(m(t)l(t) increases in t) and X≤mrlY   ⟹   X≤hrY.\left(\frac{m(t)}{l(t)}\text{ increases in }t\right)\ \text{and}\ X \le_{mrl} Y \ \implies\ X \le_{hr} Y.(l(t)m(t)​ increases in t) and X≤mrl​Y ⟹ X≤hr​Y.

Combined with the companion milestone below, this is a genuine conditional equivalence: under the monotone-ratio hypothesis, ≤mrl\le_{mrl}≤mrl​ and ≤hr\le_{hr}≤hr​ coincide, and in particular X≤mrlY  ⟹  X≤stYX \le_{mrl} Y \implies X \le_{st} YX≤mrl​Y⟹X≤st​Y under that condition. Without the hypothesis, the book states explicitly (the paragraph immediately preceding Theorem 2.A.1) that neither ≤st\le_{st}≤st​ nor ≤mrl\le_{mrl}≤mrl​ implies the other.

Milestones, in attack order

  • Theorem 2.A.1. X≤hrY  ⟹  X≤mrlYX \le_{hr} Y \implies X \le_{mrl} YX≤hr​Y⟹X≤mrl​Y — the one-directional link that motivates the goal theorem: the hazard rate order, strictly stronger in general, always implies the mean residual life order.
  • Theorem 2.A.11. If XXX is DMRL and ZZZ is a nonnegative random variable independent of XXX, then X≤mrlX+ZX \le_{mrl} X+ZX≤mrl​X+Z — one of the chapter's closure properties (§2.A.3): adding independent nonnegative noise to a DMRL random variable can only increase it in the mean residual life order.

Each milestone is stated exactly as the book states it: no constant is hard-coded, no O(⋅)O(\cdot)O(⋅) or asymptotic approximation is involved, and the goal's monotone-ratio hypothesis is the genuine ratio m(t)/l(t)m(t)/l(t)m(t)/l(t), not two separately-monotone functions (a different, unrelated condition the book itself does not state).

Significance

The mean residual life order sits at a specific point in the book's own hierarchy of orders: strictly implied by the hazard rate order (Theorem 2.A.1), and — the goal theorem — reversible into the hazard rate order under one extra monotonicity hypothesis on the ratio of the two mrl functions. This "sandwich" structure is exactly the kind of comparison-of-orders result that makes Chapter 1's usual and hazard rate orders (already formalized in Chunk 01 of this series, restated locally here since drafts cannot import each other) into a genuinely connected theory rather than a list of unrelated definitions. The DMRL closure property (Theorem 2.A.11) is separately significant: DMRL is one of the book's standard "aging" notions, used in reliability engineering to model components that wear out over time, and its preservation under adding independent noise is a basic tool for building compound reliability models (e.g. a component with an added, uncorrelated failure mode) from simpler DMRL parts.

No prior art exists on the platform for either order: GET /theorems?q=mean+residual+life returns zero hits, and GET /theorems?q=hazard+rate returns exactly one hit (DQJSQ.theorem2_ifr), an unrelated queueing-theory IFR (increasing failure rate) lemma about patience densities in a fluid queueing model, not this order — it names a different object under a coincidentally similar keyword and is not reused. This mission is a foundational island for the mean residual life order.

Difficulty

The mrl function is a genuinely two-case object: a real conditional expectation on {t:Fˉ(t)>0}\{t : \bar F(t) > 0\}{t:Fˉ(t)>0}, and a hard 000 outside that region. The goal theorem's proof (not formalized here; only the statement is a milestone) differentiates mmm and lll, uses the identity r(t)=m′(t)/m(t)+1/m(t)r(t) = m'(t)/m(t) + 1/m(t)r(t)=m′(t)/m(t)+1/m(t) relating the mrl function to the hazard rate, and compares the two resulting hazard-rate expressions using the ratio's monotonicity — a genuinely analytic argument, not a routine unfolding of definitions. The chief formalization difficulty is keeping the shape of ≤mrl\le_{mrl}≤mrl​ (a pointwise comparison of a derived function) visibly distinct from the function-class shape of ≤st\le_{st}≤st​ used in Chapter 1, since the book explicitly warns that conflating the two orders is a live error (neither implies the other in general) — see Formalization scope below for how each shape is kept separate.

Formalization scope

All three random variables in this mission's milestones are real-valued measurable functions on a MeasureTheory.Measure space, matching this series' Chapter 1 convention (Chunk 01). The mrl function mrl μ X t is defined as if 0 < P{X>t} then (∫ ω in {X>t}, (X ω - t) ∂μ) / P{X>t} else 0, formalizing the case split on t<t∗t < t^*t<t∗ directly via positivity of the survival probability (its defining equivalent under the survival function's monotonicity) rather than through the derived quantity t∗t^*t∗ itself. MrlOrder μ ν X Y is ∀ t : ℝ, mrl μ X t ≤ mrl ν Y t — a direct pointwise comparison of two functions, deliberately kept a different shape from Chapter 1's UsualOrder (a ∀ φ ∈ 𝒞, E[φ∘X] ≤ E[φ∘Y] function-class quantifier), since the book's own warning that ≤st\le_{st}≤st​ and ≤mrl\le_{mrl}≤mrl​ neither implies the other is a warning against treating them as interchangeable comparison shapes.

The hazard rate order is restated locally in this chapter's own namespace (StochasticOrders.MeanResidualLife.HazardRateOrder) rather than imported from Chunk 01's StochasticOrders.Usual.HazardRateOrder, because each chapter's mission is drafted and reviewed as an independent Prove2Me proposal and one draft cannot import another draft's unpublished Lean; its definition is identical in shape to Chunk 01's own restatement of the general, absolute-continuity-free survival-function form of ≤hr\le_{hr}≤hr​ (not the density-ratio form, which requires absolute continuity the book does not assume at this level of generality).

Every milestone that consumes mrl carries explicit Integrable hypotheses on the random variables involved (Integrable X μ, and Integrable Y ν or Integrable Z μ as applicable), formalizing the book's own standing "finite mean" hypothesis from §2.A.1's definition of the mrl function: without it, the Bochner integral inside mrl would return its junk value 0 for a non-integrable variable on some tail set, letting a hypothesis like MrlOrder μ ν X Y hold of a function that is not actually the book's mean residual life function. DMRL μ X is Antitone (mrl μ X), the book's own "m(t)m(t)m(t) is decreasing in ttt" in the weak, non-strict monotone sense used throughout the book for "increasing"/"decreasing".

A trivializing formalization this mission rules out: stating the goal theorem with the ratio hypothesis as two separate monotonicity conditions on mmm and lll individually (rather than genuine monotonicity of the ratio m(t)/l(t)m(t)/l(t)m(t)/l(t) on the region where l(t)>0l(t)>0l(t)>0) would be a different, strictly stronger and easier-to-satisfy hypothesis than the book's own — the milestone here states MonotoneOn (fun t => mrl μ X t / mrl ν Y t) {t | 0 < mrl ν Y t}, the genuine ratio restricted to where the denominator does not vanish, matching Theorem 2.A.2's own "m(t)/l(t)m(t)/l(t)m(t)/l(t) increases in ttt" verbatim.

Selected references

  • M. Shaked and J. G. Shanthikumar, Stochastic Orders, Springer Series in Statistics, Springer 2007, Chapter 2 (Mean Residual Life Orders), §2.A. https://doi.org/10.1007/978-0-387-34675-5
  • W. Whitt, "Uniform Conditional Stochastic Order," Journal of Applied Probability, 1980 (characterizations of IFR/DFR by the likelihood ratio order, cited by the book's remarks section as background for the chapter's aging notions).
  • This series' Chunk 01 (StochasticOrders.Usual), for the usual and hazard rate orders this chapter's own restated definitions parallel.
7 thms3 active usersReviewed
🏆Completed
Convex OptimizationMachine LearningOperations Research+1·Captain: mikedeng1

First-Order and Stochastic Optimization Methods for Machine Learning IV: Variance-Reduced Mirror Descent for Finite-Sum ProblemsTextbook

Motivation

Empirical-risk-minimization objectives in machine learning are finite sums: Ψ(x)=1m∑i=1mfi(x)+h(x)\Psi(x) = \frac{1}{m}\sum_{i=1}^m f_i(x) + h(x)Ψ(x)=m1​∑i=1m​fi​(x)+h(x), one smooth term fif_ifi​ per training example (or per worker, in a distributed setting), plus a simple nonsmooth regularizer hhh. Chapter 4's basic stochastic mirror descent handles this by sampling a single random component gradient ∇fit(x)\nabla f_{i_t}(x)∇fit​​(x) as an unbiased estimator of ∇f(x)\nabla f(x)∇f(x) — but that estimator's variance is a constant throughout the algorithm, which caps the achievable convergence rate. Variance-reduced mirror descent asks a sharper question: can an unbiased finite-sum gradient estimator be built whose variance itself vanishes as the algorithm approaches the optimum? The answer — periodic full-gradient snapshots combined with single-component corrections — is the SVRG-style idea this mission formalizes in Lan's general-norm mirror-descent framework, with an explicit, sampling-distribution-dependent constant rather than a generic O(⋅)O(\cdot)O(⋅).

Setting

Fix a closed convex set XXX in a real normed space EEE, and the finite-sum composite problem min⁡x∈X{Ψ(x):=f(x)+h(x)}\min_{x\in X}\{\Psi(x):=f(x)+h(x)\}minx∈X​{Ψ(x):=f(x)+h(x)} (Eq. (5.3.1)), where f(x)=1m∑i=1mfi(x)f(x)=\frac1m\sum_{i=1}^m f_i(x)f(x)=m1​∑i=1m​fi​(x) is the average of mmm smooth convex component functions, each with LiL_iLi​-Lipschitz gradient ∇fi\nabla f_i∇fi​ (∥∇fi(x)−∇fi(y)∥∗≤Li∥x−y∥\|\nabla f_i(x)-\nabla f_i(y)\|_*\le L_i\|x-y\|∥∇fi​(x)−∇fi​(y)∥∗​≤Li​∥x−y∥), and hhh is a simple, possibly nondifferentiable convex function. fff is possibly μ\muμ-strongly convex, μ≥0\mu\ge0μ≥0 (Eq. (5.3.2)); this mission's goal takes μ=0\mu=0μ=0 (§5.3.1, "Smooth Problems Without Strong Convexity"). A fixed probability distribution Q={q1,…,qm}Q=\{q_1,\dots,q_m\}Q={q1​,…,qm​} on the component indices governs the algorithm's random sampling, and

LQ:=1mmax⁡i=1,…,mLiqiL_Q := \frac{1}{m}\max_{i=1,\dots,m}\frac{L_i}{q_i}LQ​:=m1​i=1,…,mmax​qi​Li​​

is the section's key aggregate smoothness constant (Eq. (5.3.4)), replacing the plain average LLL wherever component-wise variance enters the analysis. Variance-reduced mirror descent (Algorithm 5.6) is a multi-epoch method: each epoch of length TsT_sTs​ recomputes a full gradient ∇f(x~)\nabla f(\tilde x)∇f(x~) at a snapshot point x~\tilde xx~, then runs TsT_sTs​ inner iterations using the estimator Gt:=(∇fit(xt)−∇fit(x~))/(qitm)+∇f(x~)G_t := \big(\nabla f_{i_t}(x_t)-\nabla f_{i_t}(\tilde x)\big)/(q_{i_t}m) + \nabla f(\tilde x)Gt​:=(∇fit​​(xt​)−∇fit​​(x~))/(qit​​m)+∇f(x~) and the mirror-descent-with-composite-term update xt+1:=arg⁡min⁡x∈X{γ[⟨Gt,x⟩+h(x)]+V(xt,x)}x_{t+1}:=\arg\min_{x\in X}\{\gamma[\langle G_t,x\rangle+h(x)]+V(x_t,x)\}xt+1​:=argminx∈X​{γ[⟨Gt​,x⟩+h(x)]+V(xt​,x)}, where VVV is the Bregman divergence of a fixed distance-generating function, exactly as in Chapters 3-4.

Formalization targets

Goal — Corollary 5.8

With θ=1\theta=1θ=1, γ=1/(16LQ)\gamma=1/(16L_Q)γ=1/(16LQ​), and the doubling epoch schedule T1=7T_1=7T1​=7, Ts=2Ts−1T_s=2T_{s-1}Ts​=2Ts−1​ (Eq. (5.3.17)),

E[Ψ(xˉS)−Ψ(x∗)]≤82S−1[114(Ψ(x0)−Ψ(x∗))+16LQ V(x0,x∗)]\mathbb E[\Psi(\bar x_S)-\Psi(x^*)] \le \frac{8}{2^{S-1}}\left[\frac{11}{4}\big(\Psi(x_0)-\Psi(x^*)\big)+16L_Q\,V(x_0,x^*)\right]E[Ψ(xˉS​)−Ψ(x∗)]≤2S−18​[411​(Ψ(x0​)−Ψ(x∗))+16LQ​V(x0​,x∗)]

for every epoch count S≥1S\ge1S≥1, where xˉS\bar x_SxˉS​ is the weighted average of the epoch snapshots (Eq. (5.3.16)).

Supporting milestones, in attack order

  • Lemma 5.12 — the per-component gradient-variation bound 1m∑i1mqi∥∇fi(x)−∇fi(x∗)∥∗2≤2LQ[Ψ(x)−Ψ(x∗)]\frac1m\sum_i\frac1{mq_i}\|\nabla f_i(x)-\nabla f_i(x^*)\|_*^2 \le 2L_Q[\Psi(x)-\Psi(x^*)]m1​∑i​mqi​1​∥∇fi​(x)−∇fi​(x∗)∥∗2​≤2LQ​[Ψ(x)−Ψ(x∗)], the basic smoothness consequence from which the estimator's variance bound is built.
  • Lemma 5.13 — unbiasedness (E[δt]=0\mathbb E[\delta_t]=0E[δt​]=0) and two variance bounds (E[∥δt∥∗2]≤2LQ[… ]\mathbb E[\|\delta_t\|_*^2]\le 2L_Q[\dots]E[∥δt​∥∗2​]≤2LQ​[…] and ≤4LQ[… ]\le 4L_Q[\dots]≤4LQ​[…]) for the variance-reduced estimator's error δt:=Gt−∇f(xt)\delta_t:=G_t-\nabla f(x_t)δt​:=Gt​−∇f(xt​).
  • Lemma 5.14 — the one-step progress bound combining Lemma 5.13's variance control with the mirror-descent update's three-point inequality.
  • Theorem 5.6 — the general epoch-level convergence bound (with an arbitrary epoch-length schedule TsT_sTs​ and stepsize γ\gammaγ satisfying 4LQγ≤14L_Q\gamma\le14LQ​γ≤1) that Corollary 5.8 instantiates.

Every constant is exactly the book's: LQL_QLQ​'s own sampling-distribution-dependent definition (never specialized to uniform qi=1/mq_i=1/mqi​=1/m), and Corollary 5.8's explicit 8/2S−18/2^{S-1}8/2S−1, 11/411/411/4, 16LQ16L_Q16LQ​ — not a generic O(⋅)O(\cdot)O(⋅) — are all taken verbatim.

Significance

This is the series' first genuinely finite-sum result: unlike Chapters 3-4's single abstract objective fff, here fff is structurally a named average of mmm component functions, and the sampling distribution {qi}\{q_i\}{qi​} over those components is a first-class free parameter of both the algorithm and the analysis (not fixed to uniform sampling) — LQL_QLQ​ itself depends on this choice, and a formalization that hard-codes qi=1/mq_i=1/mqi​=1/m would understate what Lemma 5.12's own proof needs. Getting Theorem 5.6/Corollary 5.8 right also requires keeping two nested indices straight: inner iterations ttt within an epoch, and outer epoch counts sss, with the convergence bound stated in terms of the epoch count SSS alone — and keeping the two "gap" quantities Ψ(x0)−Ψ(x∗)\Psi(x_0)-\Psi(x^*)Ψ(x0​)−Ψ(x∗) (an objective-value gap) and V(x0,x∗)V(x_0,x^*)V(x0​,x∗) (a Bregman-divergence gap) distinct throughout, since they enter Corollary 5.8's final bound with different explicit coefficients (11/411/411/4 vs. 16LQ16L_Q16LQ​) and neither generically bounds the other.

No result on the platform models a finite-sum objective with mmm named component functions sampled by a general index distribution {qi}\{q_i\}{qi​}, a variance-reduction snapshot/anchor point, or this specific SVRG-style estimator, as of 2026-09-18 (q=finite sum, q=variance reduction, q=SVRG, q=component function, q=variance reduced gradient, q=mirror descent finite sum — see Prior art below).

Difficulty

The central difficulty is Theorem 5.6's own epoch-weight sequence wsw_sws​: the book defines ws:=(1−4LQγ)(Ts−1−1)−4LQγTsw_s:=(1-4L_Q\gamma)(T_{s-1}-1)-4L_Q\gamma T_sws​:=(1−4LQ​γ)(Ts−1​−1)−4LQ​γTs​ explicitly only for s≥2s\ge2s≥2 (Eq. (5.3.14)), yet the displayed sums ∑s=1Sws\sum_{s=1}^S w_s∑s=1S​ws​ in (5.3.15)-(5.3.16) run from s=1s=1s=1. A 2026-09-19 revision found that this, combined with the epoch snapshot x~s\tilde x_sx~s​ being constrained only by membership in XXX and not tied to the algorithm's own dynamics, made the originally drafted statements false, not merely incomplete: an adversarial, unboundedly-large-Ψ\PsiΨ, ω\omegaω-independent x~1\tilde x_1x~1​ together with w1→∞w_1\to\inftyw1​→∞ violates the stated conclusion. The fix restores the connection via an auxiliary epoch-boundary sequence and the per-epoch progress inequality Theorem 5.6's own proof derives from Lemma 5.14 (see epoch_convergence_bound's hepoch hypothesis), and resolves w1w_1w1​ by extending (5.3.14)'s domain to s≥1s\ge1s≥1 via a fixed "epoch 0" length T0T_0T0​ — w_1 is no longer left free beyond positivity. finite_sum_variance_reduced_rate instantiates T0:=T1/2=3.5T_0:=T_1/2=3.5T0​:=T1​/2=3.5 concretely, reproducing the arithmetic Corollary 5.8's own proof is internally consistent with (w1=3/4(3.5−1)−1/4⋅7=1/8w_1 = 3/4(3.5-1)-1/4\cdot7 = 1/8w1​=3/4(3.5−1)−1/4⋅7=1/8, matching the closed form (1/8)T1−3/4=1/8(1/8)T_1-3/4=1/8(1/8)T1​−3/4=1/8) — this was previously only a documented-but-unresolved observation, not yet a stated hypothesis.

Formalization scope

All five items are stated over a general real normed space [NormedAddCommGroup E] [NormedSpace ℝ E], matching the mirror-descent chunks' general-norm convention (never specialized to Euclidean space or squared distance) — VVV is a free two-point function throughout, and each ∇fi\nabla f_i∇fi​, ∇f\nabla f∇f, GtG_tGt​ are continuous linear functionals E →L[ℝ] ℝ, whose Mathlib operator norm supplies the dual norm ∥⋅∥∗\|\cdot\|_*∥⋅∥∗​ with no separate definition needed. This is the trivializing formalization this mission rules out: hard-coding qi=1/mq_i=1/mqi​=1/m (uniform sampling) or V(x,y)=12∥x−y∥2V(x,y)=\frac12 \|x-y\|^2V(x,y)=21​∥x−y∥2 (Euclidean Bregman divergence) would understate both LQL_QLQ​'s dependence on the sampling distribution (the whole point of Lemma 5.12's bound) and the general-norm apparatus the rest of this book series shares.

Ψ(x_0)-Ψ(x^*) and V(x_0,x^*) are kept as two syntactically distinct terms throughout — never conflated or bounded one by the other — matching Corollary 5.8's own two separate coefficients. Corollary 5.8's own explicit constants (8/2S−18/2^{S-1}8/2S−1, 11/411/411/4, 16LQ16L_Q16LQ​) are stated verbatim rather than left as an unspecified O(⋅)O(\cdot)O(⋅), per Hard Rule 6.

Left out of scope, for time: the gradient-computation-count complexity bound (Eq. (5.3.19), an O(⋅)O(\cdot)O(⋅) statement about total oracle calls, not a convergence-rate inequality on Ψ\PsiΨ) and §5.3.2's strongly-convex case (Theorem 5.7, a geometric-decay bound Δs≤ρΔs−1\Delta_s\le\rho\Delta_{s-1}Δs​≤ρΔs−1​ under μ>0\mu>0μ>0) are natural continuations reusing this mission's variance_reduced_progress_bound milestone, not attempted here.

Prior art

q=finite sum, q=variance reduction, q=SVRG, q=component function, q=variance reduced gradient, and q=mirror descent finite sum were all searched on 2026-09-18. The only topically-adjacent hit across all six queries is ShiOptRates.Stochastic.variance_purchase_ classical ("Classical variance reduction is cost-neutral..."), which models plain minibatch SGD on a smooth objective with an i.i.d.-noise oracle characterized by a single scalar variance σ^2\hat\sigma^2σ^2 and a minibatch-size trade-off — no finite-sum structure with mmm named component functions, no sampling distribution {qi}\{q_i\}{qi​}, no snapshot/anchor point x~\tilde xx~, and a different question (cost-neutrality of minibatch size vs. this mission's convergence rate for a fixed variance-reduction scheme). Not reused; every item in this mission is drafted fresh.

Selected references

  • G. Lan, First-Order and Stochastic Optimization Methods for Machine Learning, Springer Series in the Data Sciences, Springer 2020, Chapter 5, §5.3. https://doi.org/10.1007/978-3-030-39568-1
  • R. Johnson, T. Zhang, "Accelerating stochastic gradient descent using predictive variance reduction," Advances in Neural Information Processing Systems (NeurIPS), 2013 (the SVRG estimator this section's gradient estimator generalizes to the composite mirror-descent setting).
  • A. Nemirovski, A. Juditsky, G. Lan, A. Shapiro, "Robust stochastic approximation approach to stochastic programming," SIAM Journal on Optimization, 19(4), 2009, pp. 1574-1609.
5 thms3 active usersReviewed
Probability·Captain: wenxinzhang

First-passage time of Brownian motion to an exponentially decaying boundaryOpen Problem

Submission hold — source-fidelity repair (2026-09-04). The public goal restricts answers to elementary expression trees and is only a stronger subquestion. It does not formalize the source's broader special-function closed-form question. The existing published target is preserved, with this scope warning. Do not confirm or submit this version as a faithful formalization of the full source. The legacy mathematical target below is retained for traceability while the replacement is prepared.

Motivation

A standard Brownian motion starts below the exponentially decaying boundary b(t)=b0 exp(-ct). The first time it crosses the boundary has a continuous density characterized by a generalized Abel--Volterra integral equation. The source asks for an explicit distribution, motivated in part by neuronal threshold models with a decaying refractory boundary.

This mission turns CUHK-Shenzhen AI Math Problem 13, First-passage time of Brownian motion to an exponentially decaying boundary, into an auditable Lean campaign. The objective is not merely to transcribe notation: it is to expose the mathematical model, the capstone, and a smaller attack surface as separate artifacts that other formalizers can inspect and reuse.

Setting

Construct one expression in a fixed elementary language whose evaluation is a continuous nonnegative density on positive times, solves the Abel equation, and integrates to one. The language contains real constants, rational constants, arithmetic, exp, log, square root, trigonometric functions, and the normal density. The first milestone drops elementary representability and normalization and asks for a continuous nonnegative Abel solution.

Significance

Solving this target would settle the precise finite or analytic core represented by the Lean statement and would create reusable infrastructure in Brownian motion, first-passage times, stochastic processes, Volterra integral equations. Even a rigorous disproof is valuable: several entries in this collection deliberately ask whether an attractive extrapolation is true, and Lean forces a counterexample to satisfy every side condition. The mission therefore treats theorem proving and model criticism as equally legitimate research outcomes.

Difficulty

Moving-boundary first-passage laws rarely have elementary closed forms. The Abel kernel is singular at the upper endpoint, and showing that a candidate equation solution is the actual passage density requires uniqueness and probability normalization. The capstone may be false under the selected expression language; a non-elementarity theorem would be a legitimate disproof of this precise formal target.

Suggested attack route

Formalize existence and uniqueness for the Volterra equation using weakly singular kernels, then connect it to Brownian first passage. Explore transformations suggested by the exponential boundary, Laplace transforms, and iterative resolvent kernels. Symbolic or numerical calculations may reveal special-function rather than elementary structure. If so, characterize the required extension of the expression language and prove why the current language is insufficient.

Formalization scope

The already-published goal uses finite elementary-expression trees with arithmetic, exp/log/sqrt, sin/cos and normal density. The source explicitly permits standard special functions beyond this language. Accordingly the published declaration is a stronger elementary-only subquestion, not a faithful replacement for the full closed-form question. It is preserved as an existing result; its proof or disproof must not be reported as settling every special-function formula. The Abel-solution milestone asserts only existence of a continuous nonnegative solution; uniqueness, normalization, and identification with the first-passage density remain separate obligations. A complete source-faithful replacement needs an agreed formula class or a concrete proposed formula, not an unrestricted function renamed a closed form.

Milestones

For each positive boundary height and decay parameter, there exists a continuous nonnegative solution of the stated Abel equation on positive times. This node asserts existence only, not uniqueness, unit mass, or an elementary closed form.

Timeline and literature status

The CUHK-Shenzhen AI Math Problems page added this problem on June 23, 2026. At the drafting date, August 31, 2026, the status and target corrections described above were checked against the source page and the cited primary material.

Acceptance criteria

A contribution may prove the displayed theorem or refute it by constructing data satisfying every Lean hypothesis while negating the conclusion. Informal changes of model do not count: any proposed correction must be submitted as a separately reviewed statement with an explanation of which source ambiguity or false implication it repairs. Definitions must remain computational or mathematically constrained; fields that simply assume the desired conclusion are not acceptable. Every proof must compile against the mission's pinned Mathlib revision, use no sorry, and expose a top-level theorem solution when submitted to Prove2Me.

The main theorem is intentionally separated from a smaller milestone. Contributors should preserve that dependency order, publish reusable lemmas rather than monolithic tactics, and report whether a lemma is analytic, algebraic, combinatorial, or infrastructure-only. Numerical evidence, external computer algebra, and exhaustive search are welcome for discovery, but a final certificate must be replayable by Lean. If an external result is invoked, its hypotheses must be represented in the formal statement or proved in the dependency tree.

Formal verification policy

The files were built locally with Lean 4.30.0 and Mathlib revision c5ea00351c28e24afc9f0f84379aa41082b1188f, the supported Prove2Me environment at drafting time. The mission definition file is ordered before all theorem files, and each theorem imports exactly that public definition module or Mathlib. Independent blind read-backs accompany the draft items so reviewers can compare what the Lean code literally says with this mathematical description. Human confirmation remains required before the public proposal can be submitted for moderation.

Selected references

  • Original CUHK-Shenzhen problem
5 thms3 active usersReviewed
🏆Completed
Operations Research·Captain: tianyipeng

Markov Entanglement: Decomposition Error via Agent-wise TV DistanceResearch Paper

Multi-agent reinforcement learning approximates a global value function by summing per-agent local value functions learned independently — a trick that works surprisingly well in practice (ride-hailing dispatch, restless bandits) but had no general theoretical justification. Chen and Peng (arXiv:2506.02385) explain why: they define a Markov entanglement measure for the joint transition dynamics of a multi-agent MDP, directly analogous to quantum entanglement of a two-party state, and show it controls exactly how much error this value-decomposition trick incurs. This mission formalizes their sharpest quantitative bound (Theorem 4): the error of decomposing the global Q-function into per-agent local Q-functions is controlled, entrywise, by the agent-wise total-variation measure of Markov entanglement.

4 thms3 active usersReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Asymptotic Optimality of Order-up-to Policies in Lost Sales Inventory Systems: Ordering Up to the Newsvendor Level for Penalty b + τh Is Asymptotically Optimal as b → ∞Research Paper

Motivation

Periodic-review inventory systems face a simple choice each period: how much to order before the next demand is known. When unmet demand is lost, the order can affect the stock available several periods later without preserving a backlog that records earlier shortages. This makes the optimal policy difficult to describe when replenishment takes time. An order-up-to policy offers a practical rule: order enough to bring the inventory position to a fixed level. Huh, Janakiraman, Muckstadt and Rusmevichientong ask when that simple rule performs as well as the best admissible lost-sales policy as the penalty for a lost unit grows. Their working paper, pp. 3–4 and 17–18, proves asymptotic optimality for a particular level obtained from a related backorder system.

The motivating costs are concrete. A lost sale may represent an expedited service part or a missed sale whose cost is much larger than one period of holding inventory. The paper's central comparison concerns the high-penalty regime while holding the demand law, lead time and holding rate fixed. The fixed-level policy can be computed from the distribution of demand over the lead time plus the order period; it does not require solving the full lost-sales control problem. The paper also supplies a finite-penalty bound, which this mission retains as a milestone. Huh et al., pp. 3–4, 17–18.

Setting

Let D1,D2,…D_1,D_2,\ldotsD1​,D2​,… be independent, identically distributed nonnegative demands with finite positive mean. An order takes a fixed integer lead time τ≥1\tau\ge1τ≥1 to arrive. At the start of period ttt, the order placed τ\tauτ periods earlier arrives; then a new order is placed, and demand DtD_tDt​ is observed. Unmet demand is lost. At period end, each unit remaining on hand incurs holding cost h>0h>0h>0, and each lost unit incurs penalty b>0b>0b>0. The inventory position counts on-hand units and outstanding orders. An order-up-to-SSS policy raises this position to S≥0S\ge0S≥0 whenever possible.

Write CL,S(h,b)C^{\mathcal L,S}(h,b)CL,S(h,b) for the long-run average cost of that policy and CL∗(h,b)C^{\mathcal L*}(h,b)CL∗(h,b) for the infimum over admissible policies. The corresponding backorder system retains unmet demand as negative net inventory and charges bbb per backordered unit per period. For an order-up-to level SSS, its stationary average cost is

CB,S(h,b)=hE[(S−D)+]+bE[(D−S)+],D=∑i=1τ+1Di.C^{\mathcal B,S}(h,b)=h\mathbb E[(S-\mathbf D)^+]+b\mathbb E[(\mathbf D-S)^+],\qquad \mathbf D=\sum_{i=1}^{\tau+1}D_i.CB,S(h,b)=hE[(S−D)+]+bE[(D−S)+],D=i=1∑τ+1​Di​.

The newsvendor level SB∗(h,b)S^{\mathcal B*}(h,b)SB∗(h,b) is the smallest nonnegative SSS with Pr⁡(D≤S)≥b/(b+h)\Pr(\mathbf D\le S)\ge b/(b+h)Pr(D≤S)≥b/(b+h); it attains the best backorder order-up-to cost CB∗(h,b)C^{\mathcal B*}(h,b)CB∗(h,b). The paper's Assumption 1 concerns this lead-time demand D\mathbf DD: if mD(t)=E[D−t∣D>t]m_{\mathbf D}(t)=\mathbb E[\mathbf D-t\mid\mathbf D>t]mD​(t)=E[D−t∣D>t] when the conditioning event has positive probability and zero otherwise, then mD(t)/t→0m_{\mathbf D}(t)/t\to0mD​(t)/t→0 as t→∞t\to\inftyt→∞. Huh et al., pp. 3–4, 9, 11–12.

Formalization targets

Asymptotically optimal order-up-to level

Fix hhh, τ\tauτ and the demand law satisfying Assumption 1. Set Sb+τh=SB∗(h,b+τh)S_{b+\tau h}=S^{\mathcal B*}(h,b+\tau h)Sb+τh​=SB∗(h,b+τh). The goal is the equivalent multiplicative form of Theorem 15(b): for every ε>0\varepsilon>0ε>0, all sufficiently large bbb satisfy

inf⁡S≥0CL,S(h,b)≤CL,Sb+τh(h,b)≤(1+ε)CL∗(h,b).\inf_{S\ge0}C^{\mathcal L,S}(h,b)\le C^{\mathcal L,S_{b+\tau h}}(h,b)\le(1+\varepsilon)C^{\mathcal L*}(h,b).S≥0inf​CL,S(h,b)≤CL,Sb+τh​(h,b)≤(1+ε)CL∗(h,b).

The infimum over order-up-to levels captures the paper's best such policy. The right-hand comparator remains the infimum over all admissible lost-sales policies. The multiplicative form also covers an almost-surely constant demand law, where both costs can be zero and a literal ratio would be undefined. Huh et al., Theorem 15(b), p. 17.

Explicit finite-penalty bound

Theorem 15(a) is a milestone. With S′=SB∗(h,b/(τ+1))S'=S^{\mathcal B*}(h,b/(\tau+1))S′=SB∗(h,b/(τ+1)) and ψ(S′;h,q)=qE[(D−S′)+]/(hE[(S′−D)+])\psi(S';h,q)=q\mathbb E[(\mathbf D-S')^+]/(h\mathbb E[(S'-\mathbf D)^+])ψ(S′;h,q)=qE[(D−S′)+]/(hE[(S′−D)+]), its factor is

1+νbψ(S′;h,b/(τ+1))1+ψ(S′;h,b/(τ+1)),νb=(b+τh)(τ+1)b.\frac{1+\nu_b\psi(S';h,b/(\tau+1))}{1+\psi(S';h,b/(\tau+1))},\qquad \nu_b=\frac{(b+\tau h)(\tau+1)}{b}.1+ψ(S′;h,b/(τ+1))1+νb​ψ(S′;h,b/(τ+1))​,νb​=b(b+τh)(τ+1)​.

The milestone states the bound where the expected holding quantity in ψ\psiψ is positive. Earlier milestones state the pathwise comparison of the systems, the two-sided average-cost comparison with penalties b/(τ+1)b/(\tau+1)b/(τ+1) and b+τhb+\tau hb+τh, the lower bound on unrestricted lost-sales optimal cost, the newsvendor formula, and the backorder sensitivity results used by the theorem. Huh et al., Lemmas 5, 9, 13 and Theorems 6, 15, pp. 11–18.

Significance

The theorem gives a specific computable stock level whose relative cost loss vanishes in the high-penalty regime. It addresses the gap between a tractable backorder benchmark and the more difficult lost-sales control problem. The finite-penalty factor states how the comparison depends on lead time, holding cost, penalty and the shortage-to-holding ratio; the asymptotic statement alone would not quantify that dependence. The paper establishes these mathematical results; the mission asks for machine-checked proofs of the stated Lean targets. Huh et al., pp. 17–18.

Formalizing the result would also supply reusable infrastructure for coupled inventory systems: measurable demand-path laws, pathwise recursions with delayed delivery, extended nonnegative long-run costs, and a clean comparison between an explicit policy and the infimum over unrestricted policies. The backorder newsvendor and mean-residual-life components can be reused beyond this particular lost-sales model.

Difficulty

The backorder system has a closed stationary cost formula, while a lost-sales order-up-to process generally cannot be replaced directly by that formula. The paper notes that its on-hand inventory distribution need not converge from every starting state, even under a fixed order-up-to policy. One must therefore justify the long-run comparison without assuming stationarity from an arbitrary start. A second difficulty is the benchmark: comparing only against other order-up-to policies is too weak to establish Theorem 15, because the goal uses the optimal cost over all admissible lost-sales policies. Huh et al., pp. 14–16, 18.

Formalization scope

Lean reuses the published CappedBaseStock lost-sales model. Its demands are nonnegative and i.i.d. with finite positive mean; τ≥1\tau\ge1τ≥1 and h,b>0h,b>0h,b>0. Period zero in Lean is period one in the paper. Both coupled processes start with zero on-hand stock and an empty pipeline. Inventory XtX_tXt​ is read immediately after delivery, before current demand. Lost-sales costs lie in [0,∞][0,\infty][0,∞] and use the limsup of expected Cesàro averages; the backorder closed form uses real Bochner expectations under finite-mean demand. The paper's stationary lost-sales cost and this Cesàro cost are identified using its long-run results, but those convergence results are outside this proposal. Huh et al., pp. 14–16.

The paper prints nonnegative rates in Theorem 15, while its displayed newsvendor fraction and shortage-to-holding ratios require positive denominators. Theorem 6(a) therefore states the ratio limit for nonconstant demand laws. The main theorem uses a multiplicative limit bound that also covers constant demand, where the printed ratio is undefined.

The quantity CL∗C^{\mathcal L*}CL∗ is an infimum over measurable, history-dependent policies with private randomization; no attaining policy is assumed. The backorder optimum is an infimum over nonnegative order-up-to levels. Assumption 1 is imposed on the sum of τ+1\tau+1τ+1 demands, and the limit b→∞b\to\inftyb→∞ is expressed by a positive threshold uniform over all parameter records with the fixed lead time and holding rate. The mission excludes a restricted policy comparator, a fixed penalty, a one-period lead-time specialization, and Assumption 1 on single-period demand. Solvers may contribute proofs of any milestone, along with finite-mean and measurability lemmas needed to connect the model to the backorder benchmarks.

Selected references

  • W. T. Huh, G. Janakiraman, J. A. Muckstadt and P. Rusmevichientong, Asymptotic Optimality of Order-up-to Policies in Lost Sales Inventory Systems, working paper, December 4, 2006; published in Management Science 55(3), 2009. DOI: 10.1287/mnsc.1080.0945.
  • G. Janakiraman, S. Seshadri and G. Shanthikumar, A Comparison of the Optimal Costs of Two Canonical Inventory Systems, working paper, Stern School of Business, New York University, 2005; bound quoted in Huh et al., §5, p. 13. Quoted source.
11 thms2 active usersReviewed
Markov ChainOperations ResearchProbability·Captain: mikedeng1

Reversibility and Stochastic Networks IX: Partial Balance — Equivalent Characterizations via Truncation, Rate Changes and Time ReversalTextbook

Why partial balance

Equilibrium distributions of Markov models of networks are rarely computed by solving the full equilibrium equations directly. In the classical product-form results (migration processes, Jackson and Kelly networks, loss networks, clustering processes) the equilibrium distribution satisfies a stronger, local family of equations, and that is what makes it computable. The strongest such family is detailed balance, which characterizes reversibility. Many models that are not reversible still satisfy an intermediate family, partial balance: the probability flux balances not pair by pair but across a chosen set of transitions. F. P. Kelly's Reversibility and Stochastic Networks (Wiley, 1979) uses partial balance throughout: quasi-reversibility in Chapter 3 is a form of it, and the models that display it tend to be insensitive, meaning their equilibrium distribution does not change when exponential holding times are replaced by general ones with the same mean.

Section 9.4 of the book collects what partial balance means in a single statement. Theorem 9.5 summarizes Exercises 1.6.2–1.6.4 and 1.7.7–1.7.8 and gives five operational characterizations of partial balance. Corollaries 9.6–9.8 translate them into the language of spatial processes, and Theorem 9.9 turns partial balance of a coarse description into a product-form equilibrium for a finer one. This last step is the mechanism behind insensitivity.

Setting

A Markov process on a state space S\mathcal SS has transition rates q(j,k)≥0q(j,k)\ge0q(j,k)≥0 for j≠kj\ne kj=k, with q(j,j)=0q(j,j)=0q(j,j)=0. It is irreducible: every state can be reached from every other through transitions of positive rate. An equilibrium distribution is a collection of positive numbers π(j)\pi(j)π(j) summing to one that satisfies the equilibrium equations

π(j)∑k∈Sq(j,k)=∑k∈Sπ(k)q(k,j),j∈S.\pi(j)\sum_{k\in\mathcal S}q(j,k)=\sum_{k\in\mathcal S}\pi(k)q(k,j),\qquad j\in\mathcal S.π(j)k∈S∑​q(j,k)=k∈S∑​π(k)q(k,j),j∈S.

For an irreducible process on a finite state space it exists and is unique.

Given a set A⊆S\mathcal A\subseteq\mathcal SA⊆S, π\piπ satisfies partial balance with respect to A\mathcal AA if

π(j)∑k∈Aq(j,k)=∑k∈Aπ(k)q(k,j),j∈A.\pi(j)\sum_{k\in\mathcal A}q(j,k)=\sum_{k\in\mathcal A}\pi(k)q(k,j),\qquad j\in\mathcal A.π(j)k∈A∑​q(j,k)=k∈A∑​π(k)q(k,j),j∈A.

Truncating the process to A\mathcal AA deletes every transition out of A\mathcal AA, and the result is required to be irreducible within A\mathcal AA. The time-reversed process of a process with equilibrium distribution π\piπ has rates π(k)q(k,j)/π(j)\pi(k)q(k,j)/\pi(j)π(k)q(k,j)/π(j).

A spatial process has JJJ sites, the vertices of a graph GGG. Site jjj carries an attribute njn_jnj​ from a finite set Nj\mathcal N_jNj​, and the state space is S=N1×⋯×NJ\mathcal S=\mathcal N_1\times\cdots\times\mathcal N_JS=N1​×⋯×NJ​. Write TjmnT_j^m\mathbf nTjm​n for the state n\mathbf nn with the attribute of site jjj changed to mmm. The process must satisfy three conditions: only one site changes at a time; the rate q(n,Tjmn)q(\mathbf n,T_j^m\mathbf n)q(n,Tjm​n) depends on the other sites only through the neighbours of jjj; and any TjmnT_j^m\mathbf nTjm​n can be reached from n\mathbf nn without changing the other sites. The conditional distribution of site jjj given the rest is P(nj∣nG−j)=π(n)/∑mπ(Tjmn)P(n_j\mid\mathbf n_{G-j})=\pi(\mathbf n)/\sum_m\pi(T_j^m\mathbf n)P(nj​∣nG−j​)=π(n)/∑m​π(Tjm​n). A Markov field is a positive distribution whose conditional distributions depend only on the neighbours of jjj.

Formalization targets

Goal: Theorem 9.5

For an irreducible process on a finite S\mathcal SS with equilibrium distribution π\piπ, a nonempty A\mathcal AA within which the truncated process is irreducible, and a constant c>0c>0c>0, c≠1c\ne1c=1, the following are equivalent:

  1. partial balance with respect to A\mathcal AA;
  2. the equilibrium distribution of the truncated process is π(j)/∑k∈Aπ(k)\pi(j)/\sum_{k\in\mathcal A}\pi(k)π(j)/∑k∈A​π(k);
  3. multiplying the rates q(j,k)q(j,k)q(j,k), j,k∈Aj,k\in\mathcal Aj,k∈A, by ccc leaves the equilibrium distribution unchanged;
  4. multiplying the rates q(j,k)q(j,k)q(j,k), j∈Aj\in\mathcal Aj∈A, k∉Ak\notin\mathcal Ak∈/A, by ccc changes the equilibrium distribution to
Bπ(j) (j∈A),Bcπ(j) (j∉A),B−1=∑j∈Aπ(j)+c∑j∉Aπ(j);B\pi(j)\ (j\in\mathcal A),\qquad Bc\pi(j)\ (j\notin\mathcal A),\qquad B^{-1}=\sum_{j\in\mathcal A}\pi(j)+c\sum_{j\notin\mathcal A}\pi(j);Bπ(j) (j∈A),Bcπ(j) (j∈/A),B−1=j∈A∑​π(j)+cj∈/A∑​π(j);
  1. time reversal and truncation to A\mathcal AA commute.

When S−A\mathcal S-\mathcal AS−A is nonempty, these are also equivalent to:

  1. the chain observed just before each exit from A\mathcal AA and the chain observed just after each entry into A\mathcal AA have the same equilibrium distribution.

Milestones

  • Corollary 9.6: the equivalences for the sets on which all sites but jjj are frozen, i.e. partial balance (9.26) at a site.
  • Corollary 9.7: on a state space with at least two states, partial balance at every site makes π\piπ a Markov field, with 0<π(n)<10<\pi(\mathbf n)<10<π(n)<1 as in the book's definition.
  • Corollary 9.8: the equivalences for the set on which site jjj is frozen at one attribute (9.27).
  • Theorem 9.9: if a reduced description n=f(x)\mathbf n=f(\mathbf x)n=f(x) has a distribution π(n)\pi(\mathbf n)π(n) in partial balance for the rates (9.31), then the finer process has equilibrium distribution π(x)=π(n)∏jPj(xj∣nj)\pi(\mathbf x)=\pi(\mathbf n)\prod_jP_j(x_j\mid n_j)π(x)=π(n)∏j​Pj​(xj​∣nj​).

What the results give

Theorem 9.5 makes partial balance testable by operations on the process itself: truncation, speeding up or slowing down transitions, and time reversal. The book points to close relationships between statement (iv) and the product form of Section 2.3, and between statement (ii) and part (iii) of Theorem 3.12. Corollary 9.6 (iv) explains why the reversed migration process has such a simple form. Corollary 9.7 strengthens Theorem 9.3 by replacing reversibility with partial balance at each site. Theorem 9.9 is the step from partial balance to insensitivity: it is what the book uses to show that a spatial process keeps its equilibrium distribution when the lifetimes of attributes are mixtures of gamma distributions.

All of these results were proved in 1979. None has a machine-checked proof. The platform has the reversible special case of statement (ii) (KellyStochasticNetworks.truncated_reversible) and the rate-level objects for time reversal and truncation, which this mission reuses. Formalizing Theorem 9.5 also produces a reusable account of embedded exit and entry chains of a finite Markov process.

Difficulty

Most of the equivalences (i)–(v) are short manipulations of the equilibrium equations, but each direction from a property of an altered process back to partial balance needs uniqueness of equilibrium distributions for irreducible finite processes, and (v) ⇒ (i) also needs their existence. Mathlib has neither in the form needed here. Statement (vi) is a different kind of claim. The equilibrium distribution of the exit chain is proportional to the exit flux π(j)∑k∉Aq(j,k)\pi(j)\sum_{k\notin\mathcal A}q(j,k)π(j)∑k∈/A​q(j,k), and that of the entry chain to the entry flux. Proving this requires the hitting distributions and the Green's function of the jump chain killed on leaving a set, and the convergence of the series that define them. Corollary 9.8 (v) inherits that work. Theorem 9.9 requires uniqueness for the reduced frozen processes and careful bookkeeping of the fibres {xj:fj(xj)=nj}\{x_j:f_j(x_j)=n_j\}{xj​:fj​(xj​)=nj​}.

Formalization scope

State spaces are finite types, and every sum is an unconditional sum over a finite type. Because the state space is finite, the book's extra condition for (vi), a finite flux out of A\mathcal AA, holds automatically. Rates are real functions with q(j,j)=0q(j,j)=0q(j,j)=0 built into the hypotheses; the reduced rates of (9.31) also have zero self-rates. "The equilibrium distribution of a process is XXX" means: XXX is positive, sums to one, satisfies the equilibrium equations, and every distribution with these properties equals XXX. The book's "c≠0c\ne0c=0 or 111" is read as c>0c>0c>0, c≠1c\ne1c=1, so that altered rates remain rates. Truncation to A\mathcal AA is the published truncatedRates, a process on the subtype A\mathcal AA, and the reversed rates are the published reversedRates. The exit and entry chains are defined from the jump chain through series of restricted matrix powers. Spatial processes live on ∏jNj\prod_j\mathcal N_j∏j​Nj​ with TjmT_j^mTjm​ given by Function.update. In Theorem 9.9 the graph is complete, as the book assumes from p. 202 on.

The equilibrium distribution of the truncated process must be the unique positive normalized solution of the truncated equilibrium equations. It must not be defined as the conditional distribution, which would make (ii) a tautology. For the same reason (iii) and (iv) are stated through the equilibrium equations of the altered rates, not by assumption.

Theorem 9.10 (p. 207) is not a target. Its hypothesis, that a nominal lifetime "can have any distribution with unit mean", is not defined on the page, and the point-process and lifetime description it needs lies outside this rate-level development.

Contributions are welcome at every level: uniqueness and existence of equilibrium distributions for irreducible finite rate matrices (reusable across the series), convergence of the killed Green's function, and proofs of the corollaries from the goal.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, Chichester, 1979; reissued Cambridge University Press, 2011. https://doi.org/10.1017/CBO9781139171724 (§9.4, pp. 200–208; §1.6, pp. 25–27)
  • F. P. Kelly and E. Yudovina, Stochastic Networks, Cambridge University Press, 2014. https://doi.org/10.1017/CBO9781139565363
11 thms2 active usersReviewed
Graph TheoryMarkov ChainOperations Research+2·Captain: mikedeng1

Reversibility and Stochastic Networks VIII: Markov Fields — A Positive Random Field Is Markov iff It Factorizes over the Simplices of the GraphTextbook

Motivation

Many systems consist of a finite number of sites whose states influence one another only locally: fruit trees in an orchard that are diseased or healthy, power sources that are working or broken, individuals holding one of several views. Chapter 9 of F. P. Kelly, Reversibility and Stochastic Networks (Wiley, 1979) asks which joint distributions such systems have in equilibrium. Earlier chapters of the book produce product-form distributions in which the components are independent; spatial models instead give a limited dependence, and §9.1 makes that notion precise through Markov fields.

The central characterization, that a positive random field is Markov with respect to a graph exactly when it factorizes over the cliques of that graph, is the theorem of Hammersley and Clifford (1971, unpublished manuscript), with published proofs by Besag (1974), Grimmett (1973) and Preston (1973). It underlies Gibbs random fields in statistical mechanics, spatial statistics, image analysis and graphical models. Kelly's §§9.2–9.3 then use it to identify the equilibrium distributions of interacting-particle Markov processes ("spatial processes"), connecting it to reversibility and partial balance.

Setting

There are JJJ sites, the vertices of a finite graph GGG; ∂j\partial j∂j is the set of neighbours of site jjj and G−jG-jG−j the set of sites other than jjj. Site jjj carries an attribute njn_jnj​ from a finite set Nj\mathcal N_jNj​, and a state is n=(n1,…,nJ)\mathbf n=(n_1,\dots,n_J)n=(n1​,…,nJ​) in S=N1×⋯×NJ\mathcal S=\mathcal N_1\times\cdots\times\mathcal N_JS=N1​×⋯×NJ​. For a set of sites HHH, nH\mathbf n_HnH​ is the vector of attributes of the sites in HHH. The operator TjmT_j^mTjm​ changes the attribute of site jjj to mmm.

A random field is a function π\piπ on S\mathcal SS with π(n)>0\pi(\mathbf n)>0π(n)>0 for every state and ∑nπ(n)=1\sum_{\mathbf n}\pi(\mathbf n)=1∑n​π(n)=1. The conditional probability that site jjj has attribute njn_jnj​ given all other sites is

P(nj∣nG−j)=π(n)∑m∈Njπ(Tjmn).(9.1)P(n_j\mid\mathbf n_{G-j}) = \frac{\pi(\mathbf n)}{\sum_{m\in\mathcal N_j}\pi(T_j^m\mathbf n)}. \qquad (9.1)P(nj​∣nG−j​)=∑m∈Nj​​π(Tjm​n)π(n)​.(9.1)

π\piπ is a Markov field if P(nj∣nG−j)=P(nj∣n∂j)P(n_j\mid\mathbf n_{G-j}) = P(n_j\mid\mathbf n_{\partial j})P(nj​∣nG−j​)=P(nj​∣n∂j​) for every jjj and n\mathbf nn (9.2): the attribute of a site depends on the rest of the system only through its neighbours. A simplex is a single site or a set of sites any two of which are neighbours; C\mathcal CC is the set of simplices of GGG.

A spatial process is a Markov process n(t)\mathbf n(t)n(t) on S\mathcal SS with rates qqq such that (i) only one component changes at a time, (ii) q(n,Tjmn)q(\mathbf n,T_j^m\mathbf n)q(n,Tjm​n) depends on n\mathbf nn only through njn_jnj​ and n∂j\mathbf n_{\partial j}n∂j​, and (iii) TjmnT_j^m\mathbf nTjm​n can be reached from n\mathbf nn by transitions that do not alter nG−j\mathbf n_{G-j}nG−j​. The general spatial process of §9.3 has rates

q(n,Tjmn)=λj(nj,m) Φ(n)ΦG−j(nG−j)(9.15)q(\mathbf n,T_j^m\mathbf n)=\lambda_j(n_j,m)\,\frac{\Phi(\mathbf n)}{\Phi_{G-j}(\mathbf n_{G-j})} \qquad (9.15)q(n,Tjm​n)=λj​(nj​,m)ΦG−j​(nG−j​)Φ(n)​(9.15)

for positive functions Φ\PhiΦ, ΦG−j\Phi_{G-j}ΦG−j​.

Formalization targets

Goal: Theorem 9.2 (p. 186)

A random field π\piπ is a Markov field if and only if

π(n)=B∏C∈CϕC(nC),n∈S,(9.5)\pi(\mathbf n) = B\prod_{C\in\mathcal C}\phi_C(\mathbf n_C), \qquad \mathbf n\in\mathcal S, \qquad (9.5)π(n)=BC∈C∏​ϕC​(nC​),n∈S,(9.5)

for some constant BBB and functions ϕC\phi_CϕC​.

Milestones

  • Lemma 9.1 (p. 185): the conditional probabilities P(nj∣nG−j)P(n_j\mid\mathbf n_{G-j})P(nj​∣nG−j​), j∈Gj\in Gj∈G, n∈S\mathbf n\in\mathcal Sn∈S, determine the random field uniquely.
  • Theorem 9.3 (p. 189): the equilibrium distribution of a reversible spatial process is a Markov field.
  • Theorem 9.4 (p. 193): for the rates (9.15), with αj>0\alpha_j>0αj​>0 solving αj(n)∑mλj(n,m)=∑mαj(m)λj(m,n)\alpha_j(n)\sum_m\lambda_j(n,m)=\sum_m\alpha_j(m)\lambda_j(m,n)αj​(n)∑m​λj​(n,m)=∑m​αj​(m)λj​(m,n) (9.16), the equilibrium distribution is
π(n)=B ∏j=1Jαj(nj)Φ(n),(9.17)\pi(\mathbf n) = B\,\frac{\prod_{j=1}^J\alpha_j(n_j)}{\Phi(\mathbf n)}, \qquad (9.17)π(n)=BΦ(n)∏j=1J​αj​(nj​)​,(9.17)

and it satisfies the partial balance equations (9.18) site by site.

Significance

Theorem 9.2 turns a statement about conditional laws, which is how local interaction is usually specified, into an explicit parametrization of the joint law by clique potentials. On a lattice with binary attributes it reduces a Markov field to one parameter per site and one per pair of adjacent sites, giving the form π(n)=BαMβR\pi(\mathbf n)=B\alpha^M\beta^Rπ(n)=BαMβR (9.9). Theorem 9.3 shows that local, reversible dynamics produce Markov-field equilibria, and Theorem 9.4 gives a family of non-reversible processes, containing the closed migration process of Chapter 2, whose equilibria are still explicit; its partial balance equations are the bridge to §9.4.

All four results are classical and proved in the book. They are not, to our knowledge, machine-checked in this discrete form. The platform has an open statement of Hammersley–Clifford in a different setting, HighDimStat.GraphicalModels.thm11_8_hammersley_clifford (Wainwright, High-Dimensional Statistics, Theorem 11.8): a random vector in RV\mathbb R^VRV with a strictly positive Lebesgue density and the global (separation) Markov property. Neither statement implies the other as formalized, so this mission poses Kelly's finite, local version separately. A formal proof here also gives reusable infrastructure: conditional probabilities of a distribution on a finite product space, and factorizations over the cliques of a graph.

Difficulty

The "if" direction is routine. The "only if" direction is where the content lies: the functions ϕC\phi_CϕC​ must be produced from π\piπ alone, and a product over the cliques of GGG must reproduce π\piπ at every state, not only at the states whose nonzero attributes sit on a single clique. The natural first idea, one factor per site read off from the conditional laws, fails as soon as two sites interact. The Markov property must also be brought from its explicit form (9.2), which involves a marginal over the non-neighbours, into a usable statement about π\piπ itself. Strict positivity is essential: without it the "only if" direction is false (Exercise 9.2.2). For Theorem 9.3, condition (iii) cannot be dropped: Exercise 9.2.2 gives a reversible process satisfying (i) and (ii) whose equilibrium is not a Markov field, so any argument that uses only the local form of the rates fails.

Formalization scope

  • Sites form an arbitrary finite type V with decidable equality; attributes at site j form a finite type N j, which may differ between sites. States are dependent functions (j : V) → N j, and TjmnT_j^m\mathbf nTjm​n is Function.update n j m. The graph is a Mathlib SimpleGraph V, so ∂j\partial j∂j is G.neighborSet j.
  • A random field is a real function, positive at every state, with finite sum 111. P(nj∣n∂j)P(n_j\mid\mathbf n_{\partial j})P(nj​∣n∂j​) is the conditional probability computed from π\piπ (a ratio of finite sums), so (9.2) is stated literally.
  • Simplices are the nonempty cliques of the given graph GGG, including single sites. The factorization ranges over exactly these sets; a product over all subsets of sites, or over the cliques of the complete graph, would make the goal trivially true and is ruled out.
  • Theorems 9.3 and 9.4 are read at the level of rates: "equilibrium distribution of a reversible process" is a positive distribution summing to one in detailed balance with qqq (the published KellyStochasticNetworks.DetailedBalance), and "equilibrium distribution" in 9.4 is a positive distribution summing to one satisfying the equilibrium equations (KellyStochasticNetworks.FullBalance), together with its uniqueness under irreducibility. The Markov process itself is not constructed. The state space is always finite, so all sums are finite.
  • Contributions welcome: proofs of any item, general lemmas on conditional laws over finite product spaces, and a formal account of the general Hammersley–Clifford theorem that both this mission and the Wainwright statement could use.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, 1979, Chapter 9. https://www.statslab.cam.ac.uk/~frank/BOOKS/kelly_book.html
  • J. Besag, Spatial interaction and the statistical analysis of lattice systems, J. Roy. Statist. Soc. B 36 (1974), 192–236. https://doi.org/10.1111/j.2517-6161.1974.tb00999.x
  • G. R. Grimmett, A theorem about random fields, Bull. London Math. Soc. 5 (1973), 81–84. https://doi.org/10.1112/blms/5.1.81
  • C. J. Preston, Generalized Gibbs states and Markov random fields, Adv. Appl. Probab. 5 (1973), 242–261. https://doi.org/10.2307/1426035
  • M. J. Wainwright, High-Dimensional Statistics, Cambridge University Press, 2019, Theorem 11.8. https://doi.org/10.1017/9781108627771
8 thms2 active usersReviewed
Markov ChainOperations ResearchProbability·Captain: mikedeng1

Reversibility and Stochastic Networks III: Open Networks of Queues with General Customer Routes Have Product-Form EquilibriumTextbook

Motivation

Networks of queues model systems in which jobs visit a sequence of service stations: items in a manufacturing job-shop, packets in a communication network, patients moving between hospital departments. The open migration process of Chapter 2 of F. P. Kelly, Reversibility and Stochastic Networks (Wiley, 1979), and the job-shop networks of Jackson (Jackson 1963) route a customer leaving a queue at random, independently of where he has been. That rules out the most common situation in practice: an item that has passed machines 1 and 3 must next go to machine 4, while an item that has passed machines 2 and 3 must go to machine 5.

Section 3.1 of the book removes this restriction. Customers are divided into types, a type fixes a deterministic route through the queues, and a stochastic routing rule is recovered by using one type per possible route. Within each queue, the order of service is described by two position-dependent functions, which cover first-come first-served KKK-server queues, last-come first-served, processor sharing and service in random order. Theorem 3.1 states that, for every such network, the equilibrium distribution is a product of explicit single-queue factors. This is the result behind the "Kelly network" and "Kelly-type queue" terminology of later work (Kelly 1975; Baskett, Chandy, Muntz, Palacios 1975).

Setting

There are III customer types and JJJ queues. Customers of type iii enter the system in a Poisson stream of rate ν(i)>0\nu(i)>0ν(i)>0 and visit the queues r(i,1),r(i,2),…,r(i,S(i))r(i,1),r(i,2),\dots,r(i,S(i))r(i,1),r(i,2),…,r(i,S(i)) in that order before leaving; two successive stages of a route are at different queues.

Queue jjj holds its njn_jnj​ customers in positions 1,…,nj1,\dots,n_j1,…,nj​. Each customer needs an exponentially distributed amount of service with unit mean. The queue supplies total service effort at rate ϕj(nj)\phi_j(n_j)ϕj​(nj​), with ϕj(n)>0\phi_j(n)>0ϕj​(n)>0 for n>0n>0n>0; a proportion γj(l,nj)\gamma_j(l,n_j)γj​(l,nj​) goes to the customer in position lll. An arriving customer takes position lll with probability δj(l,nj+1)\delta_j(l,n_j+1)δj​(l,nj​+1). For each n≥1n\ge1n≥1, γj(⋅,n)\gamma_j(\cdot,n)γj​(⋅,n) and δj(⋅,n)\delta_j(\cdot,n)δj​(⋅,n) are probability vectors on {1,…,n}\{1,\dots,n\}{1,…,n}.

The class of the customer in position lll of queue jjj is cj(l)=(tj(l),sj(l))c_j(l)=(t_j(l),s_j(l))cj​(l)=(tj​(l),sj​(l)), his type and the stage of his route. The state of queue jjj is cj=(cj(1),…,cj(nj))\mathbf c_j=(c_j(1),\dots,c_j(n_j))cj​=(cj​(1),…,cj​(nj​)) and the state of the network is C=(c1,…,cJ)\mathbf C=(\mathbf c_1,\dots,\mathbf c_J)C=(c1​,…,cJ​). Its transition rates q(C,D)q(\mathbf C,\mathbf D)q(C,D), displays (3.1)–(3.6), are the sums of the intensities of all events taking C\mathbf CC to D\mathbf DD: a departure from the system (intensity ϕj(nj)γj(l,nj)\phi_j(n_j)\gamma_j(l,n_j)ϕj​(nj​)γj​(l,nj​)), a move from position lll of queue jjj to position mmm of the next queue kkk (intensity ϕj(nj)γj(l,nj)δk(m,nk+1)\phi_j(n_j)\gamma_j(l,n_j)\delta_k(m,n_k+1)ϕj​(nj​)γj​(l,nj​)δk​(m,nk​+1)), and an arrival into position mmm of the first queue kkk of a route (intensity ν(i)δk(m,nk+1)\nu(i)\delta_k(m,n_k+1)ν(i)δk​(m,nk​+1)).

With αj(i,s)=ν(i)\alpha_j(i,s)=\nu(i)αj​(i,s)=ν(i) if r(i,s)=jr(i,s)=jr(i,s)=j and 000 otherwise, set

aj=∑i,sαj(i,s),bj−1=∑n=0∞ajn∏l=1nϕj(l),πj(cj)=bj∏l=1njαj(tj(l),sj(l))ϕj(l).a_j=\sum_{i,s}\alpha_j(i,s),\qquad b_j^{-1}=\sum_{n=0}^{\infty}\frac{a_j^n}{\prod_{l=1}^{n}\phi_j(l)},\qquad \pi_j(\mathbf c_j)=b_j\prod_{l=1}^{n_j}\frac{\alpha_j(t_j(l),s_j(l))}{\phi_j(l)}.aj​=i,s∑​αj​(i,s),bj−1​=n=0∑∞​∏l=1n​ϕj​(l)ajn​​,πj​(cj​)=bj​l=1∏nj​​ϕj​(l)αj​(tj​(l),sj​(l))​.

Formalization targets

Goal: Theorem 3.1 (p. 61)

If every series defining bj−1b_j^{-1}bj−1​ converges, then

π(C)=∏j=1Jπj(cj)\pi(\mathbf C)=\prod_{j=1}^{J}\pi_j(\mathbf c_j)π(C)=j=1∏J​πj​(cj​)

is positive, sums to 111 over all network states, and satisfies the equilibrium equations

π(C)∑Dq(C,D)=∑Dπ(D) q(D,C)for every C.\pi(\mathbf C)\sum_{\mathbf D}q(\mathbf C,\mathbf D)=\sum_{\mathbf D}\pi(\mathbf D)\,q(\mathbf D,\mathbf C)\quad\text{for every }\mathbf C.π(C)D∑​q(C,D)=D∑​π(D)q(D,C)for every C.

Milestones

  • Theorem 3.2 (p. 62). The time-reversed rates π(D)q(D,C)/π(C)\pi(\mathbf D)q(\mathbf D,\mathbf C)/\pi(\mathbf C)π(D)q(D,C)/π(C) are the rates of the reversed network: routes traversed backwards, γj\gamma_jγj​ and δj\delta_jδj​ interchanged.
  • Corollary 3.4 (p. 63). Queue jjj is independent of the rest of the network, is in state cj\mathbf c_jcj​ with probability πj(cj)\pi_j(\mathbf c_j)πj​(cj​), holds nnn customers with probability bjajn/∏l=1nϕj(l)b_ja_j^n/\prod_{l=1}^n\phi_j(l)bj​ajn​/∏l=1n​ϕj​(l) (3.7), and a customer in position lll is of class (i,s)(i,s)(i,s) with probability αj(i,s)/aj\alpha_j(i,s)/a_jαj​(i,s)/aj​.
  • Corollary 3.5 (p. 63). A type-iii customer reaching queue jjj at stage sss finds it in state cj\mathbf c_jcj​ with probability πj(cj)\pi_j(\mathbf c_j)πj​(cj​).
  • Lemma 3.13 (p. 89). For a multiclass queue with Poisson arrivals of rate ν(c)\nu(c)ν(c) and departure intensities ν(c)ϕc(n)\nu(c)\phi_c(\mathbf n)ν(c)ϕc​(n): reversible ⇔\Leftrightarrow⇔ quasi-reversible ⇔\Leftrightarrow⇔ Φ(n)=ϕc(n)Φ(n−ec)\Phi(\mathbf n)=\phi_c(\mathbf n)\Phi(\mathbf n-\mathbf e_c)Φ(n)=ϕc​(n)Φ(n−ec​) for some positive Φ\PhiΦ (3.26).

Significance

Theorem 3.1 gives the full joint law of a network in which routes carry memory, and its corollaries turn it into usable performance formulas: each queue behaves, in its marginal law and as seen by arriving customers, like an isolated queue fed by a Poisson stream of rate aja_jaj​, even though the actual arrival stream at queue jjj is not Poisson. Mean sojourn times along a route then follow from Little's result. Theorem 3.2 identifies the reversed process as a network of the same kind; it is the source of the departure-stream results (Corollary 3.3) and of the arrival theorem (Corollary 3.5). Lemma 3.13 isolates the condition (3.26) under which state-dependent arrival rates preserve the product form (Theorem 3.14).

The results are classical and proved in the book. None of them has a machine-checked proof: the Prove2Me catalogue holds the rate-level theorems for migration processes (Chapter 2 of Kelly–Yudovina), and open targets for the BCMP and Jackson models, which have different state descriptions. This mission adds a formal model of the position-structured multiclass network itself, with the summation over coinciding transitions that (3.2), (3.4) and (3.6) require, and product-form, reversal and arrival-theorem statements over it.

Difficulty

The obvious first attempt, detailed balance, fails: π(C)q(C,D)\pi(\mathbf C)q(\mathbf C,\mathbf D)π(C)q(C,D) and π(D)q(D,C)\pi(\mathbf D)q(\mathbf D,\mathbf C)π(D)q(D,C) differ in general, because a customer's route cannot be run backwards inside the same network (q(D,C)q(\mathbf D,\mathbf C)q(D,C) is usually 000 when q(C,D)>0q(\mathbf C,\mathbf D)>0q(C,D)>0). The equilibrium equations therefore involve, for each state, all its predecessors at once. The rates are themselves sums over coinciding transitions, so a statement about individual events does not transfer to the rates without accounting for which positions lead to the same successor state. In Lean this brings in insertion into and deletion from position lists, the relabelling of stages, and the normalization of a product over a countable space of JJJ-tuples of lists, reorganized by queue length together with the identity ∑classes at jαj=aj\sum_{\text{classes at } j}\alpha_j=a_j∑classes at j​αj​=aj​.

Formalization scope

  • Finite types and queues. Types are Fin I, queues Fin J; the book allows countably many types with ∑iν(i)<∞\sum_i\nu(i)<\infty∑i​ν(i)<∞. A network state is a function assigning to each queue a list of classes (i,s)(i,s)(i,s) with r(i,s)=jr(i,s)=jr(i,s)=j; the state space is countable and all sums over it are tsum/HasSum.
  • Indexing. Stages and list positions are 000-based in Lean; γj(l,n)\gamma_j(l,n)γj​(l,n) and δj(l,n)\delta_j(l,n)δj​(l,n) keep the book's 111-based position argument.
  • Rate level. Equilibrium means: positive, summing to 111, and satisfying the equilibrium equations (the published KellyStochasticNetworks.FullBalance). The existence of the Markov process, irreducibility and non-explosion are not formalized. "The reversed process" (Theorem 3.2) is read through the reversed rates π(D)q(D,C)/π(C)\pi(\mathbf D)q(\mathbf D,\mathbf C)/\pi(\mathbf C)π(D)q(D,C)/π(C); "the probability he finds" (Corollary 3.5) is read as a ratio of equilibrium arrival fluxes; quasi-reversibility is its rate characterization (3.8), (3.10).
  • Normalizing constants. bjb_jbj​ is defined through a tsum, which Lean sets to 000 for a divergent series; every theorem assumes the series converges, the book's "none of b1,…,bJb_1,\dots,b_Jb1​,…,bJ​ is zero".
  • No trivial instance. The goal holds for arbitrary III, JJJ, ν\nuν, routes, ϕj\phi_jϕj​, γj\gamma_jγj​, δj\delta_jδj​ subject only to the book's constraints; a proof for a single queue, or for fixed γ=δ\gamma=\deltaγ=δ disciplines, does not prove it. In Lemma 3.13 the function Φ\PhiΦ is required to be positive, since Φ≡0\Phi\equiv0Φ≡0 satisfies (3.26) for every queue.

Infrastructure that a complete development needs: list insertion/deletion lemmas for position bookkeeping, sums of products over ∏jList(⋅)\prod_j \mathrm{List}(\cdot)∏j​List(⋅), and a bijection-of-events argument for summed rates. The quasi-reversibility predicate and the reversed-rate apparatus are reusable for the closed networks of §3.4 and the symmetric queues of §3.3. Contributions are welcome on any milestone, in any order.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, John Wiley & Sons, 1979. https://www.statslab.cam.ac.uk/~frank/BOOKS/kelly_book.html
  • F. P. Kelly, Networks of queues with customers of different types, Journal of Applied Probability 12 (1975), 542–554. https://doi.org/10.2307/3212785
  • F. Baskett, K. M. Chandy, R. R. Muntz, F. G. Palacios, Open, closed, and mixed networks of queues with different classes of customers, Journal of the ACM 22 (1975), 248–260. https://doi.org/10.1145/321879.321887
  • J. R. Jackson, Jobshop-like queueing systems, Management Science 10 (1963), 131–142. https://doi.org/10.1287/mnsc.10.1.131
  • F. P. Kelly, E. Yudovina, Stochastic Networks, Cambridge University Press, 2014. https://doi.org/10.1017/CBO9781139565363
10 thms2 active usersReviewed
Markov ChainOperations ResearchProbability·Captain: mikedeng1

Reversibility and Stochastic Networks IV: Symmetric Queues with Gamma-Mixture Service RequirementsTextbook

Why symmetric queues

The classical product-form results for queueing networks (Jackson, Kelly, Baskett–Chandy–Muntz–Palacios) assume exponentially distributed service requirements, because then the state of a queue need not record how much service each customer has received. Real service times are rarely exponential: telephone call lengths, job sizes in time-shared computers and web transfers are far from it. Symmetric queues, introduced in §3.3 of F. P. Kelly, Reversibility and Stochastic Networks (Wiley, 1979), form the class of single queues for which the stationary distribution of the number of customers, and of their classes, depends on the service requirement distribution only through its mean. This property, insensitivity, is what makes Erlang's loss formula valid for arbitrarily distributed call lengths (Kelly, p. 79), and it is the reason processor-sharing, last-come-first-served preemptive and infinite-server stations may appear with general service in product-form networks.

Timeline. Sevastyanov (1957) proved that Erlang's loss formula holds for arbitrarily distributed call lengths. Kelly (1975, 1976) introduced queues with customers of different types whose effort and arrival-position functions coincide, and showed product form for networks of them with non-exponential service built from exponential stages; Barbour (1976) extended the method of stages; Baskett, Chandy, Muntz and Palacios (1975) gave product form for networks containing processor-sharing, LCFS-preemptive and infinite-server stations with phase-type service. Kelly's 1979 book presents the symmetric queue in the form formalized here.

Setting

A symmetric queue holds customers in positions 1,2,…,n1, 2, \dots, n1,2,…,n, where nnn is the number present. It operates as follows (Kelly, p. 72):

  1. the service requirement of a customer is a random variable whose distribution may depend on the class of the customer;
  2. a total service effort is supplied at rate ϕ(n)\phi(n)ϕ(n), with ϕ(n)>0\phi(n) > 0ϕ(n)>0 for n>0n > 0n>0;
  3. a proportion γ(l,n)\gamma(l, n)γ(l,n) of this effort, ∑l=1nγ(l,n)=1\sum_{l=1}^n \gamma(l, n) = 1∑l=1n​γ(l,n)=1, goes to the customer in position lll; when he leaves, the customers in positions l+1,…,nl+1, \dots, nl+1,…,n move down by one;
  4. an arriving customer moves into position l∈{1,…,n+1}l \in \{1, \dots, n+1\}l∈{1,…,n+1} with probability γ(l,n+1)\gamma(l, n+1)γ(l,n+1) — the same function — and the customers in positions l,…,nl, \dots, nl,…,n move up by one.

Server-sharing (γ(l,n)=1/n\gamma(l, n) = 1/nγ(l,n)=1/n), the stack (γ(n,n)=1\gamma(n, n) = 1γ(n,n)=1, last come first served preemptive), the queue with no waiting room and the infinite-server queue are examples (pp. 73–74).

Customers of class ccc arrive in a Poisson stream of rate ν(c)\nu(c)ν(c). On arrival a class-ccc customer receives a refined class (c,z)(c, z)(c,z) with probability p(c,z)p(c, z)p(c,z), ∑zp(c,z)=1\sum_z p(c, z) = 1∑z​p(c,z)=1, and then needs w(c,z)≥1w(c, z) \ge 1w(c,z)≥1 independent stages of service, each exponentially distributed with mean d(c,z)>0d(c, z) > 0d(c,z)>0. The class-ccc service requirement is therefore a mixture of gamma distributions with mean

a(c)=∑zp(c,z) w(c,z) d(c,z),a(c) = \sum_z p(c, z)\, w(c, z)\, d(c, z),a(c)=z∑​p(c,z)w(c,z)d(c,z),

and the work arriving per unit time is a=∑cν(c)a(c)a = \sum_c \nu(c) a(c)a=∑c​ν(c)a(c). The record of the customer in position lll is c(l)=(c(l),z(l),u(l))\mathbf c(l) = (c(l), z(l), u(l))c(l)=(c(l),z(l),u(l)), u(l)u(l)u(l) the stage in progress, and c=(c(1),…,c(n))\mathbf c = (\mathbf c(1), \dots, \mathbf c(n))c=(c(1),…,c(n)) is a Markov process. Its transitions are: an arrival of class (c,z)(c,z)(c,z) into position lll at stage 111, at rate ν(c)p(c,z)γ(l,n+1)\nu(c)p(c,z)\gamma(l, n+1)ν(c)p(c,z)γ(l,n+1); and, at rate ϕ(n)γ(l,n)/d(c(l),z(l))\phi(n)\gamma(l,n)/d(c(l),z(l))ϕ(n)γ(l,n)/d(c(l),z(l)), completion of the current stage of the customer in position lll, which moves him to the next stage or, after stage w(c(l),z(l))w(c(l), z(l))w(c(l),z(l)), out of the queue. The normalizing constant is

b−1=∑n=0∞an∏l=1nϕ(l).(3.15)b^{-1} = \sum_{n=0}^{\infty} \frac{a^n}{\prod_{l=1}^n \phi(l)}. \tag{3.15}b−1=n=0∑∞​∏l=1n​ϕ(l)an​.(3.15)

Formalization targets

Goal: Theorem 3.8

When (3.15) converges, the distribution

π(c)=b∏l=1nν(c(l)) p(c(l),z(l)) d(c(l),z(l))ϕ(l)(3.18)\pi(\mathbf c) = b \prod_{l=1}^n \frac{\nu(c(l))\, p(c(l), z(l))\, d(c(l), z(l))}{\phi(l)} \tag{3.18}π(c)=bl=1∏n​ϕ(l)ν(c(l))p(c(l),z(l))d(c(l),z(l))​(3.18)

is the equilibrium distribution of c\mathbf cc, and under it

P(n customers)=b an∏l=1nϕ(l),P(classes c1,…,cn∣n)=∏l=1nν(cl) a(cl)a,\mathbb P(n \text{ customers}) = \frac{b\,a^n}{\prod_{l=1}^n \phi(l)}, \qquad \mathbb P(\text{classes } c_1, \dots, c_n \mid n) = \prod_{l=1}^n \frac{\nu(c_l)\, a(c_l)}{a},P(n customers)=∏l=1n​ϕ(l)ban​,P(classes c1​,…,cn​∣n)=l=1∏n​aν(cl​)a(cl​)​,

and the queue is quasi-reversible with respect to the classification ccc and to (c,z)(c, z)(c,z): from every state, the rate of arrivals of each class does not depend on the state, both for the process and its time reversal (relations (3.8) and (3.10) of p. 67).

Milestones

  • Eqs. (3.14)–(3.15): the case of one refinement per class, π(c)=b∏lν(c(l))d(c(l))/ϕ(l)\pi(\mathbf c) = b\prod_l \nu(c(l))d(c(l))/\phi(l)π(c)=b∏l​ν(c(l))d(c(l))/ϕ(l) with a=∑cν(c)d(c)w(c)a = \sum_c \nu(c)d(c)w(c)a=∑c​ν(c)d(c)w(c).
  • Eqs. (3.16)–(3.17): in that case, the law of nnn, and given nnn independent positions of class ccc with probability ν(c)d(c)w(c)/a\nu(c)d(c)w(c)/aν(c)d(c)w(c)/a and uniform stage.
  • Eq. (3.18): the equilibrium distribution under gamma-mixture service.
  • Lemma 3.9: mixtures of gamma distributions approximate, at continuity points, the distribution function of any positive random variable.

Significance

Theorem 3.8 gives the stationary law of a symmetric queue in closed form and shows that it depends on the service requirement distributions only through their means a(c)a(c)a(c). Quasi-reversibility (part (iii)) is the property that lets symmetric queues be placed in networks: Kelly's §3.2 shows that a network of quasi-reversible queues has a product-form equilibrium, so Theorem 3.8 is the single-queue input to product-form networks with processor-sharing, LCFS-preemptive and infinite-server stations and class-dependent, non-exponential service. Lemma 3.9 is the approximation step behind the extension to arbitrary service distributions (Theorem 3.10).

These results are classical and proved in the book. To our knowledge none of them is machine-checked; Mathlib has the gamma distribution and distribution functions but no queueing theory. The mission produces a formal model of the symmetric queue as a countable-state Markov process, its equilibrium distribution, the insensitive marginals and the rate characterization of quasi-reversibility, all reusable by the chapter on networks of quasi-reversible queues.

Difficulty

The obvious first attempt, detailed balance, fails: the stage process is not reversible in general, since an intermediate stage completion has no transition back. The equilibrium equations must be verified in full, over a countable state space in which a single state is reached from infinitely many others. The symmetry condition γ≡δ\gamma \equiv \deltaγ≡δ is essential and must enter the argument: without it (for first-come-first-served, say) the distribution (3.18) is false for non-exponential service. Positions shift on every arrival and departure, so the bookkeeping of which list results from which event, including coincidences when neighbouring customers have identical records, is the main formal burden. The marginal computations sum (3.18) over lists of records, where convergence must be tracked, and Lemma 3.9 needs an explicit construction of approximating gamma mixtures.

Formalization scope

  • The state is a List of customer records (class, refined class, stage); list index iii is position l=i+1l = i + 1l=i+1, and γ(l,n)\gamma(l, n)γ(l,n), ϕ(n)\phi(n)ϕ(n) keep the book's 111-based indexing. The state space consists of the lists whose records have ν(c)p(c,z)>0\nu(c)p(c,z) > 0ν(c)p(c,z)>0 and 1≤u≤w(c,z)1 \le u \le w(c, z)1≤u≤w(c,z): records of a refined class arriving at rate zero are unreachable and excluded.
  • Classes C\mathcal CC and refinements Z\mathcal ZZ are arbitrary countable types. All infinite sums are HasSum or tsum with explicit convergence hypotheses: ∑cν(c)<∞\sum_c \nu(c) < \infty∑c​ν(c)<∞ (finite exit rates, the book's standing assumption of §1.1), convergence of a(c)a(c)a(c), of aaa, and of (3.15). "Equilibrium distribution" means positive, summing to one, and satisfying the equilibrium equations with convergent series.
  • The statement is rate level: (3.18) is shown to satisfy the equilibrium equations of the stage process, and quasi-reversibility is its rate characterization (3.8), (3.10). That these describe the stationary process and its time reversal is the book's Chapter 1 and is not reformalized.
  • Trivializing readings ruled out: the goal keeps ppp, www and ddd general (not w≡1w \equiv 1w≡1, which would make the result Section 3.1's exponential case); the arrival position uses the same γ\gammaγ as the service split; and in Lemma 3.9 the approximants must be genuine gamma mixtures with integer shapes, which a point mass is not.
  • Not planned: Theorem 3.10 (arbitrary service distributions; only an outline of proof and a continuous state space the book does not construct) and Theorem 3.11 (reversibility of the number in queue, a non-Markov process).

Welcome contributions: proofs of the milestones, lemmas about List.insertIdx/List.eraseIdx bookkeeping for queues with positions, and summation over lists of records.

Selected references

  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, Chichester, 1979, §3.3, pp. 72–82. https://www.statslab.cam.ac.uk/~frank/BOOKS/kelly_book.html
  • F. P. Kelly, Networks of queues with customers of different types, Journal of Applied Probability 12 (1975), 542–554. https://www.jstor.org/journal/japplprob
  • F. P. Kelly, Networks of queues, Advances in Applied Probability 8 (1976), 416–432. https://www.jstor.org/journal/advaapplprob
  • A. D. Barbour, Networks of queues and the method of stages, Advances in Applied Probability 8 (1976), 584–591. https://www.jstor.org/journal/advaapplprob
  • B. A. Sevastyanov, An ergodic theorem for Markov processes and its application to telephone systems with refusals, Theory of Probability and its Applications 2 (1957), 104–112.
  • F. Baskett, K. M. Chandy, R. R. Muntz, F. G. Palacios, Open, closed, and mixed networks of queues with different classes of customers, Journal of the ACM 22 (1975), 248–260. https://doi.org/10.1145/321879.321887
9 thms2 active usersReviewed
PreviousPage 2 of 7Next

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