Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Operations Research

1,339 missions · 649 completed

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

Missions

Open690Completed649All1339
ProbabilityStochastic Systems·Captain: mikedeng1

Regenerative Stochastic Processes 4: Cumulative Processes on the Same Regeneration Points Are Jointly Asymptotically NormalResearch Paper

Motivation

Many quantities in queueing, inventory and reliability models are additive functionals of a regenerative process: the total work processed by a server up to time ttt, the cost accumulated by an inventory policy, the time a machine spends broken. Each such quantity grows by independent, identically distributed amounts over the cycles between successive regeneration points. W. L. Smith called these cumulative processes in Regenerative stochastic processes (Proc. R. Soc. Lond. A, 1955), the paper that introduced the term "regenerative process" and laid out its limit theory. Long-run averages of such quantities are estimated by simulation and by statistical observation of real systems. Confidence intervals for these estimates, and the regenerative method of simulation output analysis, rest on the central limit theorem for cumulative processes. When several quantities are estimated at once (a ratio of two rewards, a vector of costs), they rest on its joint version for several cumulative processes driven by the same regenerations.

Timeline:

  • 1949. Feller proves the central limit theorem for the renewal counting process.
  • 1952. Anscombe proves that a central limit theorem survives replacing the number of summands by a random index mtm_tmt​ with mt/ψ(t)→1m_t/\psi(t)\to 1mt​/ψ(t)→1 in probability, without independence between the index and the summands (Anscombe, Proc. Camb. Phil. Soc. 48, 1952).
  • 1955. Smith extends Anscombe's theorem to random vectors and deduces the univariate (Theorem 9, Corollary 9·1) and multivariate (Theorem 10) central limit theorems for cumulative processes (Smith 1955).

Setting

On a probability space (Ω,P)(\Omega, P)(Ω,P), let t1,t2,…t_1, t_2, \dotst1​,t2​,… be independent, identically distributed, non-negative random variables with P{t1=0}<1P\{t_1 = 0\} < 1P{t1​=0}<1 (a renewal process), and t0=0t_0 = 0t0​=0. The regeneration epochs are Tk=t0+t1+⋯+tkT_k = t_0 + t_1 + \dots + t_kTk​=t0​+t1​+⋯+tk​ (k≥0k \ge 0k≥0), and ntn_tnt​ is the number of epochs in [0,t][0,t][0,t] (in Smith's words, the greatest kkk with Tk−1≤tT_{k-1} \le tTk−1​≤t, where T−1=0T_{-1} = 0T−1​=0). Write μr=Et1r\mu_r = E t_1^rμr​=Et1r​.

A real process wtw_twt​ with w0=0w_0 = 0w0​=0 is a cumulative process if (C1) its cycle increments yn=Δnwt=wTn−wTn−1y_n = \Delta_n w_t = w_{T_n} - w_{T_{n-1}}yn​=Δn​wt​=wTn​​−wTn−1​​, n≥1n \ge 1n≥1, are i.i.d., and (C2) with probability one its paths have bounded variation on every finite interval. The variation process w~t=∫0t∣dwt∣\tilde w_t = \int_0^t |\mathrm d w_t|w~t​=∫0t​∣dwt​∣ has increments y~n=Δnw~t\tilde y_n = \Delta_n \tilde w_ty~​n​=Δn​w~t​. Moments are written κr=Eynr\kappa_r = E y_n^rκr​=Eynr​ and κ~r=Ey~n r\tilde\kappa_r = E \tilde y_n^{\,r}κ~r​=Ey~​nr​.

MMM cumulative processes wt(1),…,wt(M)w^{(1)}_t, \dots, w^{(M)}_twt(1)​,…,wt(M)​ are based on the same sequence of regeneration points when the cycle vectors (tn,yn(1),…,yn(M),y~n(1),…,y~n(M))(t_n, y^{(1)}_n, \dots, y^{(M)}_n, \tilde y^{(1)}_n, \dots, \tilde y^{(M)}_n)(tn​,yn(1)​,…,yn(M)​,y~​n(1)​,…,y~​n(M)​) are i.i.d. in nnn. Put κ1(i)=Ey1(i)\kappa^{(i)}_1 = E y^{(i)}_1κ1(i)​=Ey1(i)​. The covariance matrices are

akl=cov⁡(y1(k),y1(l)),bkl=cov⁡(y1(k)−κ1(k)μ1t1,  y1(l)−κ1(l)μ1t1).a_{kl} = \operatorname{cov}(y^{(k)}_1, y^{(l)}_1), \qquad b_{kl} = \operatorname{cov}\Big(y^{(k)}_1 - \tfrac{\kappa^{(k)}_1}{\mu_1} t_1,\; y^{(l)}_1 - \tfrac{\kappa^{(l)}_1}{\mu_1} t_1\Big).akl​=cov(y1(k)​,y1(l)​),bkl​=cov(y1(k)​−μ1​κ1(k)​​t1​,y1(l)​−μ1​κ1(l)​​t1​).

Formalization targets

Goal: Theorem 10

If μ1<∞\mu_1 < \inftyμ1​<∞ and E(y~1(i))2<∞E(\tilde y^{(i)}_1)^2 < \inftyE(y~​1(i)​)2<∞ for every iii, then as t→∞t \to \inftyt→∞

(wt(i)−κ1(i)nt(t/μ1)1/2)i=1M→ d N(0,a),\left(\frac{w^{(i)}_t - \kappa^{(i)}_1 n_t}{(t/\mu_1)^{1/2}}\right)_{i=1}^M \xrightarrow{\ d\ } \mathcal N(0, a),((t/μ1​)1/2wt(i)​−κ1(i)​nt​​)i=1M​ d ​N(0,a),

and if in addition μ2<∞\mu_2 < \inftyμ2​<∞,

(wt(i)−(κ1(i)/μ1) t(t/μ1)1/2)i=1M→ d N(0,b).\left(\frac{w^{(i)}_t - (\kappa^{(i)}_1/\mu_1)\,t}{(t/\mu_1)^{1/2}}\right)_{i=1}^M \xrightarrow{\ d\ } \mathcal N(0, b).((t/μ1​)1/2wt(i)​−(κ1(i)​/μ1​)t​)i=1M​ d ​N(0,b).

Milestones

  • The renewal strong law nt/t→1/μ1n_t/t \to 1/\mu_1nt​/t→1/μ1​ almost surely (§5·3).
  • Lemma 8: if μ1<∞\mu_1 < \inftyμ1​<∞ and κ~p<∞\tilde\kappa_p < \inftyκ~p​<∞, then (wt+Zt−wt)/t1/p→0(w_{t+Z_t} - w_t)/t^{1/p} \to 0(wt+Zt​​−wt​)/t1/p→0 almost surely, where Zt=∑1nt+1ti−tZ_t = \sum_1^{n_t+1} t_i - tZt​=∑1nt​+1​ti​−t.
  • Theorem B (Anscombe): P{∑1mtyi/(σψ(t)1/2)≤α}→Φ(α)P\{\sum_1^{m_t} y_i/(\sigma\psi(t)^{1/2}) \le \alpha\} \to \Phi(\alpha)P{∑1mt​​yi​/(σψ(t)1/2)≤α}→Φ(α) for i.i.d. centred yiy_iyi​ with variance σ2>0\sigma^2 > 0σ2>0 and mt/ψ(t)→1m_t/\psi(t) \to 1mt​/ψ(t)→1 in probability.
  • Its MMM-dimensional form (§5·4): ψ(t)−1/2∑1mtyj→dN(0,a)\psi(t)^{-1/2}\sum_1^{m_t} \mathbf y_j \xrightarrow{d} \mathcal N(0, a)ψ(t)−1/2∑1mt​​yj​d​N(0,a) for i.i.d. centred random vectors.
  • Theorem 9: if Ey1=0E y_1 = 0Ey1​=0 and var⁡y1=σ2>0\operatorname{var} y_1 = \sigma^2 > 0vary1​=σ2>0, then P{wt/(σ(t/μ1)1/2)≤α}→Φ(α)P\{w_t/(\sigma(t/\mu_1)^{1/2}) \le \alpha\} \to \Phi(\alpha)P{wt​/(σ(t/μ1​)1/2)≤α}→Φ(α).
  • Corollary 9·1: the univariate forms of both assertions of the goal, with normalisations σ=(κ2−κ12)1/2\sigma = (\kappa_2 - \kappa_1^2)^{1/2}σ=(κ2​−κ12​)1/2 and γ=var⁡(y1−(κ1/μ1)t1)\gamma = \operatorname{var}(y_1 - (\kappa_1/\mu_1)t_1)γ=var(y1​−(κ1​/μ1​)t1​).

Significance

Theorem 10 is the multivariate central limit theorem for regenerative processes. Its second assertion with M=2M = 2M=2 and the delta method gives the asymptotic normality of ratio estimators wt(1)/wt(2)w^{(1)}_t / w^{(2)}_twt(1)​/wt(2)​, the basis of the regenerative method of simulation output analysis. With wt=ntw_t = n_twt​=nt​, Corollary 9·1 recovers Feller's central limit theorem for renewal processes, which Smith points out (p. 9). The first assertion, with the random centring κ1nt\kappa_1 n_tκ1​nt​, needs only μ1<∞\mu_1 < \inftyμ1​<∞, which matters for heavy-tailed cycle lengths.

The results are classical and proved, and none of them is formalized. Mathlib has the central limit theorem for i.i.d. real sums with a deterministic number of terms and multivariate Gaussian laws, but no random-index central limit theorem, no renewal counting process and no regenerative process. A formal development would supply Anscombe's theorem (useful well beyond renewal theory, for sequential analysis and random sums), the renewal strong law and a reusable model of cumulative processes.

Difficulty

The obvious argument writes wtw_twt​ as the sum of the first ntn_tnt​ cycle increments plus a remainder and applies the classical central limit theorem. This fails at two points. First, the number of summands ntn_tnt​ is random and depends on the summands themselves (cycle lengths and rewards are typically dependent), so the classical theorem with a deterministic index does not apply and conditioning on ntn_tnt​ destroys the i.i.d. structure. Anscombe's theorem is needed exactly for this; it requires control of the partial sums uniformly over a window of indices around t/μ1t/\mu_1t/μ1​, not at a single index. Second, the remainder over the incomplete cycle at time ttt must be shown negligible on the scale t\sqrt tt​ using only a second moment of the cycle variation; Lemma 8 does this almost surely. For the vector statement, the scalar theorem must be lifted to convergence in distribution in RM\mathbb R^MRM with a possibly degenerate covariance matrix, where the scalar theorem's hypothesis σ>0\sigma > 0σ>0 can fail along some directions.

Formalization scope

  • Time is real; every limit is along t→∞t \to \inftyt→∞ in R\mathbb RR. Processes are functions w:R→Ω→Rw : \mathbb R \to \Omega \to \mathbb Rw:R→Ω→R (or a family indexed by Fin M); cycle lengths are a sequence N→Ω→R\mathbb N \to \Omega \to \mathbb RN→Ω→R with t0=0t_0 = 0t0​=0.
  • ntn_tnt​ is a natural number, the number of epochs Tj≤tT_j \le tTj​≤t; on the null event where infinitely many epochs are ≤t\le t≤t it is 000. Finiteness is never assumed.
  • w~t\tilde w_tw~t​ is the total variation (eVariationOn) of the path on [0,t][0,t][0,t], set to 000 for all ttt on paths of infinite variation, as Smith allows.
  • Condition (C1) is read for the whole cycle vector (tn,yn,y~n)(t_n, y_n, \tilde y_n)(tn​,yn​,y~​n​). No independence between components is assumed. Assuming the cycle length independent of the rewards, or the components independent, would make aaa diagonal or force bbb into a special form; that trivialization is ruled out.
  • "Jointly normally distributed with covariance matrix aaa" is TendstoInDistribution to multivariateGaussian 0 a on EuclideanSpace ℝ (Fin M). The matrices aaa and bbb are defined as covariance matrices, hence positive semidefinite, so the limit is a genuine (possibly degenerate) Gaussian law and not Mathlib's Dirac fallback for non-PSD input.
  • The scalar statements keep the paper's form: convergence of P{⋅≤α}P\{\cdot \le \alpha\}P{⋅≤α} to Φ(α)=\Phi(\alpha) =Φ(α)= cdf (gaussianReal 0 1) α for every real α\alphaα. The paper's implicit σ>0\sigma > 0σ>0 and γ>0\gamma > 0γ>0 are explicit hypotheses; without them the quotients are 000 in Lean and the statements would be false.
  • μ1<∞\mu_1 < \inftyμ1​<∞, μ2<∞\mu_2 < \inftyμ2​<∞ and Ey~2<∞E\tilde y^2 < \inftyEy~​2<∞ are Integrable hypotheses, never encoded through the value of an integral.

Contributions welcome: a proof of Anscombe's theorem from Mathlib's central limit theorem; the renewal strong law from strong_law_ae; measurability lemmas for ntn_tnt​ and w~t\tilde w_tw~t​; the Cramér–Wold step.

Selected references

  • W. L. Smith, Regenerative stochastic processes, Proc. R. Soc. Lond. A 232(1188):6–31, 1955. https://doi.org/10.1098/rspa.1955.0198
  • F. J. Anscombe, Large-sample theory of sequential estimation, Proc. Cambridge Philos. Soc. 48, 600, 1952 (cited in Smith 1955, p. 31).
  • W. Feller, Fluctuation theory of recurrent events, Trans. Amer. Math. Soc. 67, 98, 1949 (cited in Smith 1955, p. 31).
  • J. L. Doob, Renewal theory from the point of view of the theory of probability, Trans. Amer. Math. Soc. 63, 422, 1948 (cited in Smith 1955, p. 31).
9 thms1 active userReviewed
Convex OptimizationProbability·Captain: mikedeng1

Stochastic Convex Programming: Basic Duality 2: With a Bounded Second-Stage Set the Intrinsic First-Stage Problem Coincides with the One Induced by P and Recourse Is AttainedResearch Paper

Motivation

Two-stage stochastic programming with recourse models a decision taken in two steps: a first-stage decision x1x_1x1​ is fixed before a random outcome sss is observed, and a recourse decision x2(s)x_2(s)x2​(s) is taken afterwards, once sss is known. The model goes back to Dantzig (1955) and Beale (1955) and is the basic template of stochastic optimization in operations research: capacity planning before demand is known, production before prices are revealed, reservoir management before inflows are observed.

When the outcome space is not finite, the recourse is a function x2(⋅)x_2(\cdot)x2​(⋅), and the problem must specify the class of functions it ranges over. Rockafellar and Wets (Pacific J. Math. 62 (1976) 173–195) develop the duality theory of the convex case with recourse functions that are measurable and essentially bounded (L∞\mathcal L^\inftyL∞), the setting in which the dual multipliers and their interpretation as prices become available. Their §3 asks whether that restriction loses anything: whether minimizing over L∞\mathcal L^\inftyL∞ recourses gives the same first-stage problem as minimizing, scenario by scenario, the best attainable second-stage cost.

Setting

Let (S,Σ,σ)(S,\Sigma,\sigma)(S,Σ,σ) be a probability space. The data are closed convex nonempty sets C1⊆Rn1C_1\subseteq\mathbb R^{n_1}C1​⊆Rn1​, C2⊆Rn2C_2\subseteq\mathbb R^{n_2}C2​⊆Rn2​, finite convex functions f10,f1if_{10},f_{1i}f10​,f1i​ on Rn1\mathbb R^{n_1}Rn1​ (i=1,…,m1i=1,\dots,m_1i=1,…,m1​), and functions f20(s,x1,x2)f_{20}(s,x_1,x_2)f20​(s,x1​,x2​), f2i(s,x1,x2)f_{2i}(s,x_1,x_2)f2i​(s,x1​,x2​) (i=1,…,m2i=1,\dots,m_2i=1,…,m2​), finite and jointly convex in (x1,x2)(x_1,x_2)(x1​,x2​) for each sss, and measurable in sss for each (x1,x2)(x_1,x_2)(x1​,x2​), summable for i=0i=0i=0 and bounded for i≥1i\ge1i≥1. These are the paper's standing assumptions.

With X=Rn1×Ln2∞X=\mathbb R^{n_1}\times\mathcal L^\infty_{n_2}X=Rn1​×Ln2​∞​, the essential objective of the problem P\mathbf PP is

f(x1,x2)=F1(x1,0)+∫SF2(s,x1,x2(s),0) σ(ds),f(x_1,x_2)=F_1(x_1,0)+\int_S F_2\big(s,x_1,x_2(s),0\big)\,\sigma(ds),f(x1​,x2​)=F1​(x1​,0)+∫S​F2​(s,x1​,x2​(s),0)σ(ds),

where F1(x1,u1)=f10(x1)F_1(x_1,u_1)=f_{10}(x_1)F1​(x1​,u1​)=f10​(x1​) if x1∈C1x_1\in C_1x1​∈C1​ and f1i(x1)≤u1if_{1i}(x_1)\le u_{1i}f1i​(x1​)≤u1i​ for all iii, and +∞+\infty+∞ otherwise, and F2(s,x1,x2,u2)=f20(s,x1,x2)F_2(s,x_1,x_2,u_2)=f_{20}(s,x_1,x_2)F2​(s,x1​,x2​,u2​)=f20​(s,x1​,x2​) if x2∈C2x_2\in C_2x2​∈C2​ and f2i(s,x1,x2)≤u2if_{2i}(s,x_1,x_2)\le u_{2i}f2i​(s,x1​,x2​)≤u2i​ for all iii, and +∞+\infty+∞ otherwise. Integrals of extended-real functions follow the paper's convention (2.4): the ordinary integral (real or −∞-\infty−∞) when the integrand is majorized by a summable function, and +∞+\infty+∞ otherwise.

Two first-stage problems are compared:

  • the first-stage problem induced by P\mathbf PP minimizes J(x1)=inf⁡x2∈Ln2∞f(x1,x2)J(x_1)=\inf_{x_2\in\mathcal L^\infty_{n_2}}f(x_1,x_2)J(x1​)=infx2​∈Ln2​∞​​f(x1​,x2​);
  • the intrinsic first-stage problem Q\mathbf QQ minimizes j(x1)=F1(x1,0)+∫Sq(s,x1) σ(ds)j(x_1)=F_1(x_1,0)+\int_S q(s,x_1)\,\sigma(ds)j(x1​)=F1​(x1​,0)+∫S​q(s,x1​)σ(ds), where q(s,x1)=inf⁡x2∈Rn2F2(s,x1,x2,0)q(s,x_1)=\inf_{x_2\in\mathbb R^{n_2}}F_2(s,x_1,x_2,0)q(s,x1​)=infx2​∈Rn2​​F2​(s,x1​,x2​,0) is the optimal recourse cost in scenario sss.

The hypothesis of the general result uses ρ(s,x1)=inf⁡{∣x2∣∣F2(s,x1,x2,0)<+∞}\rho(s,x_1)=\inf\{|x_2|\mid F_2(s,x_1,x_2,0)<+\infty\}ρ(s,x1​)=inf{∣x2​∣∣F2​(s,x1​,x2​,0)<+∞}, the Euclidean distance from the origin to the feasible recourses (+∞+\infty+∞ if there are none), and calls x1x_1x1​ intrinsically feasible when j(x1)<+∞j(x_1)<+\inftyj(x1​)<+∞. A normal convex integrand hhh on S×RnS\times\mathbb R^nS×Rn is lower semicontinuous, convex and proper in zzz for each sss, with a measurability condition given by a sequence of measurable functions dense in each dom⁡h(s,⋅)\operatorname{dom}h(s,\cdot)domh(s,⋅).

Formalization targets

Goal: Theorem 2 (p. 187)

If C2C_2C2​ is bounded, then for every x1∈Rn1x_1\in\mathbb R^{n_1}x1​∈Rn1​

j(x1)=J(x1)=inf⁡x2∈Ln2∞f(x1,x2),inf⁡Q=inf⁡P,j(x_1)=J(x_1)=\inf_{x_2\in\mathcal L^\infty_{n_2}}f(x_1,x_2),\qquad \inf\mathbf Q=\inf\mathbf P,j(x1​)=J(x1​)=x2​∈Ln2​∞​inf​f(x1​,x2​),infQ=infP,

the two first-stage problems have the same minimizers, and the infimum over x2∈Ln2∞x_2\in\mathcal L^\infty_{n_2}x2​∈Ln2​∞​ is attained for each x1x_1x1​.

Theorem 1 (p. 186)

If ρ(⋅,x1)\rho(\cdot,x_1)ρ(⋅,x1​) is essentially bounded for every intrinsically feasible x1x_1x1​, then j(x1)=J(x1)j(x_1)=J(x_1)j(x1​)=J(x1​) for all x1x_1x1​, inf⁡Q=inf⁡P\inf\mathbf Q=\inf\mathbf PinfQ=infP, and the minimizers coincide. Boundedness of C2C_2C2​ is a special case of this hypothesis.

Milestones

  • (2.1): F(x,u)=F1(x1,u1)+∫SF2(s,x1,x2(s),u2(s)) σ(ds)F(x,u)=F_1(x_1,u_1)+\int_S F_2(s,x_1,x_2(s),u_2(s))\,\sigma(ds)F(x,u)=F1​(x1​,u1​)+∫S​F2​(s,x1​,x2​(s),u2​(s))σ(ds) (p. 180);
  • Proposition 1: for a normal convex integrand, inf⁡z∈Lnp∫Sh(s,z(s)) σ(ds)=∫Sinf⁡zh(s,z) σ(ds)\inf_{z\in\mathcal L^p_n}\int_S h(s,z(s))\,\sigma(ds)=\int_S\inf_z h(s,z)\,\sigma(ds)infz∈Lnp​​∫S​h(s,z(s))σ(ds)=∫S​infz​h(s,z)σ(ds) whenever the left side is not +∞+\infty+∞ (p. 181);
  • Proposition 2: F2F_2F2​ is a normal convex integrand (p. 182);
  • Proposition 4: q(⋅,x1)q(\cdot,x_1)q(⋅,x1​) is measurable (p. 185);
  • (3.5)–(3.6): j≤fj\le fj≤f, hence inf⁡Q≤inf⁡P\inf\mathbf Q\le\inf\mathbf PinfQ≤infP (p. 186);
  • the feasible-recourse multifunction (3.10) is measurable, ρ\rhoρ is measurable, and the nearest feasible point is a measurable selection (p. 187);
  • Theorem 1 (p. 186);
  • with C2C_2C2​ bounded, the argmin multifunction of F2(s,x1,⋅,0)F_2(s,x_1,\cdot,0)F2​(s,x1​,⋅,0) is nonempty, compact, measurable and has a measurable selection (p. 188).

The Corollary of Theorem 2 (p. 188), that x1x_1x1​ minimizes Q\mathbf QQ iff some (x1,x2)(x_1,x_2)(x1​,x2​) minimizes P\mathbf PP, is included as a further statement.

Significance

The theorem justifies the modelling choice behind the paper's duality theory: when the second-stage constraint set is bounded, restricting recourse to essentially bounded measurable functions changes neither the optimal value nor the optimal first-stage decisions, and an optimal recourse function exists for every first stage. The duality theory of the companion mission (Theorem 3 of the same paper) is developed in that L∞\mathcal L^\inftyL∞ setting, so the two results together describe the problem completely in the bounded case. Proposition 1, the interchange of infimum and integral for normal integrands, is a basic tool of stochastic programming and of the calculus of variations, used well beyond this paper.

The results are proved in the 1976 paper, relying on Rockafellar's earlier work on normal integrands and measurable selections. None of them has a machine-checked proof. Mathlib has the Lebesgue and Bochner integrals, Lp\mathcal L^pLp spaces and the measurable-selection prerequisites in partial form; it has no normal integrands, no extended-real integral convention of this kind, and no interchange theorem. A formal development produces those as reusable components.

Difficulty

The inequality j≤Jj\le Jj≤J is immediate. The reverse inequality requires, from the pointwise infima q(s,x1)q(s,x_1)q(s,x1​), a single recourse function x2(⋅)x_2(\cdot)x2​(⋅) that is measurable, essentially bounded and nearly optimal in almost every scenario. Choosing a near-minimizer separately for each sss gives no measurability at all: the content is a measurable choice, and that needs the normality of F2F_2F2​ and the measurability of the multifunctions of feasible and of optimal recourses. Essential boundedness is a second, independent obstacle: without a bound on ρ\rhoρ every feasible recourse may be unbounded, and the infimum over L∞\mathcal L^\inftyL∞ can then exceed jjj. Attainment in Theorem 2 needs, in addition, compactness of the argmin sets, which comes from the boundedness of C2C_2C2​ and lower semicontinuity.

Formalization scope

Rn\mathbb R^nRn is Fin n → ℝ; indices i=1,…,mi=1,\dots,mi=1,…,m are Fin m; Ln∞\mathcal L^\infty_nLn∞​ and Lnp\mathcal L^p_nLnp​ are Mathlib's Lp (Fin n → ℝ) p σ, so recourse functions are almost-everywhere classes and the second-stage constraints hold almost surely. σ\sigmaσ is a probability measure in every theorem. All extended-real quantities (FFF, F1F_1F1​, F2F_2F2​, fff, JJJ, qqq, jjj, ρ\rhoρ, inf⁡P\inf\mathbf PinfP, inf⁡Q\inf\mathbf QinfQ) take values in EReal, and every infimum is the complete-lattice infimum, so an empty infimum is +∞+\infty+∞. The integral convention (2.4) is the published definition DupacovaWets.Consistency.expect: +∞+\infty+∞ when the positive part has infinite integral (for a measurable function, exactly when it has no summable majorant), and otherwise the difference of the lower Lebesgue integrals of the positive and negative parts. ∣⋅∣|\cdot|∣⋅∣ in ρ\rhoρ is the Euclidean length, not the sup norm. "Gives the minimum" is "has value ≤\le≤ the value at every point". Measurability of a multifunction is the published definition DupacovaWets.Consistency.IsMeasurableMultifunction ({s∣Γ(s)∩K≠∅}\{s\mid\Gamma(s)\cap K\ne\emptyset\}{s∣Γ(s)∩K=∅} measurable for every closed KKK). The standing assumptions are fields of the structure Problem.

The integral of an extended-real function must not be replaced by a Bochner integral of its real part, which would turn ±∞\pm\infty±∞ values into 000 and make jjj meaningless; and the infima must not be real sInf, which returns 000 on unbounded sets.

Reusable beyond this mission: the notion of a normal convex integrand on a finite-dimensional space, and Proposition 1. Contributions of measurable-selection infrastructure (Kuratowski–Ryll-Nardzewski type theorems, measurability of distance functions of closed-valued multifunctions) are welcome as supporting lemmas. The mission "Stochastic Convex Programming: Basic Duality 1" formalizes the duality theorem of the same paper on the same model.

Selected references

  • R. T. Rockafellar and R. J.-B. Wets, Stochastic convex programming: basic duality, Pacific Journal of Mathematics 62(1) (1976) 173–195. https://doi.org/10.2140/pjm.1976.62.173
  • R. T. Rockafellar, Measurable dependence of convex sets and functions on parameters, Journal of Mathematical Analysis and Applications 28 (1969) 4–25. https://doi.org/10.1016/0022-247X(69)90104-8
  • R. T. Rockafellar, Integrals which are convex functionals, Pacific Journal of Mathematics 24(3) (1968) 525–539. https://doi.org/10.2140/pjm.1968.24.525
  • G. B. Dantzig, Linear programming under uncertainty, Management Science 1(3–4) (1955) 197–206. https://doi.org/10.1287/mnsc.1.3-4.197
15 thms1 active userReviewed
CombinatoricsOptimization·Captain: mikedeng1

Efficient Algorithms for Scheduling Semiconductor Burn-In Operations 5: Full-Batch LPT Is Within 4/3 − 1/(3m) of the Optimal Makespan on Parallel Batch MachinesResearch Paper

Motivation

Burn-in is the final reliability test of integrated circuits: boards loaded with chips are held in an oven at elevated temperature for a minimum specified time, so that marginal devices fail before shipment. An oven holds several boards at once, and a load may stay in the oven longer than its specification but never shorter. Lee, Uzsoy and Martin-Vega (Oper. Res. 40(4), 1992) model such an oven as a batch processing machine and study the resulting scheduling problems. Burn-in is often the bottleneck of the test stage, which is why throughput (makespan) and due-date performance on several ovens in parallel are of practical interest.

This mission covers the paper's makespan result for parallel ovens. On ordinary identical parallel machines, Graham (SIAM J. Appl. Math. 17, 1969) proved that the LPT rule (list the jobs longest first and give each to the machine that frees up first) has worst-case ratio 4/3−1/(3m)4/3 - 1/(3m)4/3−1/(3m) on mmm machines. The paper shows that the same factor holds for batch machines once the jobs are first grouped into full batches of the longest jobs.

Setting

There are nnn jobs with processing times pj>0p_j > 0pj​>0, all available at time 000, and m≥1m \ge 1m≥1 identical batch processing machines. Each machine processes up to B≥1B \ge 1B≥1 jobs at the same time. A batch is a set of at most BBB jobs processed together; once started it cannot be interrupted or joined, and its batch time is that of its longest job,

p(P)=max⁡j∈Ppj.p(P) = \max_{j \in P} p_j .p(P)=j∈Pmax​pj​.

A schedule forms the jobs into disjoint nonempty batches covering all jobs, assigns each batch to a machine, and runs every machine's batches back to back from time 000. The makespan is the largest machine load, the total batch time on a machine. The problem of minimizing it is written P/B/Cmax⁡P/B/C_{\max}P/B/Cmax​, and C∗C^*C∗ denotes its optimal value, over every way of forming batches (any sizes up to BBB, any grouping) and every assignment. For B=1B = 1B=1 it is the classical problem P//Cmax⁡P//C_{\max}P//Cmax​.

Algorithm BLPT.

  1. Rank the jobs in nonincreasing order of processing time and cut the ranked list into successive groups of BBB jobs, the last possibly smaller.
  2. Order these batches in nonincreasing order of batch time and assign each in turn to a machine with least current load.

C(BLPT)C(\mathrm{BLPT})C(BLPT) is the resulting makespan.

For the optional lateness result, each job also has a due date dj≥0d_j \ge 0dj​≥0. The maximum lateness of a schedule is Lmax⁡=max⁡j(Cj−dj)L_{\max} = \max_j (C_j - d_j)Lmax​=maxj​(Cj​−dj​), LLL is its value under BLPT, L∗L^*L∗ its optimum and dmax⁡=max⁡jdjd_{\max} = \max_j d_jdmax​=maxj​dj​.

Formalization targets

Goal: Proposition 3 (p. 773)

C(BLPT)≤(43−13m)C∗.C(\mathrm{BLPT}) \le \left(\frac43 - \frac1{3m}\right) C^* .C(BLPT)≤(34​−3m1​)C∗.

It is claimed for every run of BLPT, whatever order the algorithm gives to equal processing times and equal batch times.

Milestones

  1. Proposition 2 (p. 772). With the jobs re-indexed longest first, some optimal schedule has batches of consecutive jobs, all full except possibly the one containing the last job. In other words, its batches are exactly the groups formed in Step 1 of BLPT.
  2. The reduction (§5, p. 772). C∗C^*C∗ equals the optimal makespan of P//Cmax⁡P//C_{\max}P//Cmax​ on the aggregate jobs p(B1),…,p(B⌈n/B⌉)p(B_1), \dots, p(B_{\lceil n/B\rceil})p(B1​),…,p(B⌈n/B⌉​).
  3. Graham's LPT bound, as quoted (p. 772). For jobs q0≥⋯≥qM−1≥0q_0 \ge \dots \ge q_{M-1} \ge 0q0​≥⋯≥qM−1​≥0 on mmm machines, list scheduling in that order has makespan at most (4/3−1/(3m))(4/3 - 1/(3m))(4/3−1/(3m)) times the optimum.
  4. Proposition 5 (p. 773, further result).
L−L∗L∗+dmax⁡≤(13−13m)+dmax⁡L∗+dmax⁡.\frac{L - L^*}{L^* + d_{\max}} \le \left(\frac13 - \frac1{3m}\right) + \frac{d_{\max}}{L^* + d_{\max}} .L∗+dmax​L−L∗​≤(31​−3m1​)+L∗+dmax​dmax​​.

Significance

Proposition 3 gives a constant-factor guarantee for a strongly NP-hard problem. The guarantee does not depend on BBB, whereas arbitrary batch list scheduling only gets B+1−1/mB + 1 - 1/mB+1−1/m (Proposition 1 of the same paper). For one machine the factor is 111, so BLPT is then exact. Proposition 2 is a structural statement: it fixes the batch composition of an optimal schedule before any assignment decision. It turns the batch problem into an ordinary parallel-machine problem, so other results for P//Cmax⁡P//C_{\max}P//Cmax​ transfer as well. Proposition 5 carries the guarantee over to maximum lateness, measured relative to L∗+dmax⁡L^* + d_{\max}L∗+dmax​ because L∗L^*L∗ may be negative.

All results are proved in the paper, Proposition 3 by a one-line appeal to Proposition 2 and Graham. This mission produces machine-checked versions of the reduction and the bound. Graham's LPT bound itself is not formalized anywhere on the platform. Its proof here is a reusable result about the published list-scheduling definitions, independent of batching.

Difficulty

The obvious argument is "batch as in Step 1, then apply Graham". It has two gaps. First, C∗C^*C∗ ranges over all batchings, and an optimal schedule need not use full batches or consecutive jobs. The exchange argument behind Proposition 2 has to move jobs between batches, possibly on different machines, without increasing any machine's load. Ties among equal processing times also have to be handled, since the claim is made for every longest-first ranking. Second, Graham's bound is not on the platform and has to be proved. It is a finite combinatorial statement, but its known proofs are not short. Proposition 5 additionally needs the bound for sub-instances formed by a prefix of the batches.

Formalization scope

Jobs are Fin n, 0-based. Processing times are real, p : Fin n → ℝ with 0 < p j; due dates (Proposition 5 only) are d : Fin n → ℝ with 0 ≤ d j. A batching is a list of nonempty, pairwise disjoint Finsets of size at most B covering every job. The batch time is the maximum of p over the batch.

Machine loads, assignments, the per-batching optimum and list scheduling reuse the published definitions NumStochOpt.ListScheduling.ListSchedule (firstAvailable, lsLoads, listMakespan) and NumStochOpt.ListScheduling.Makespan (machineLoad, makespan, optMakespan) from the Rinnooy Kan–Stougie mission, applied to the sequence of batch times (padded with zeros beyond the last batch, which these definitions never read). C∗C^*C∗ is the infimum of optMakespan over all valid batchings, never only over the consecutive ones of Step 1, which would assume Proposition 2.

Explicit readings of the paper's phrases:

  • "rank jobs in decreasing order" is any list of all jobs that is nonincreasing in p;
  • the batches of Step 1 are List.toChunks B of that list;
  • "order the batches in nonincreasing order of p(Bk)p(B_k)p(Bk​)" is any permutation of those chunks that is nonincreasing in batch time;
  • every statement is quantified over both choices;
  • "assign them to the machines as they become free" is least-loaded list scheduling with the published lowest-index tie rule. With no idle time, the machine that becomes free first is a least-loaded one, and the tie rule does not change the multiset of loads;
  • "1/3m1/3m1/3m" is 1/(3m)1/(3m)1/(3m);
  • "optimal solution" in Proposition 2 is a valid batching with an assignment whose makespan equals C∗C^*C∗, and "consecutive, all full except the one containing the highest indexed job" is "equal, up to order, to the chunks of the ranked list";
  • schedules on each machine run in list order without idle time, and every processing order is a reordering of the list. For L∗L^*L∗ this covers every semi-active schedule.

Proposition 5 adds the hypothesis dj≥0d_j \ge 0dj​≥0, which the paper's proof uses but does not print. It also makes L∗+dmax⁡L^* + d_{\max}L∗+dmax​ positive, so the printed ratios are well defined. Running times and the paper's other algorithms are out of scope.

A statement with C∗C^*C∗ restricted to consecutive batches, a sorry-free bound obtained from a degenerate m=0m = 0m=0 or empty-job reading, or a BLPT fixed to one convenient tie-break would trivialize or weaken the goal and is ruled out by the statements as posed. Welcome contributions: Graham's LPT bound on the published list-scheduling definitions (reusable for any P//Cmax⁡P//C_{\max}P//Cmax​ work), the exchange lemma behind Proposition 2, and the permutation invariance of optMakespan under reordering of items.

Selected references

  • C.-Y. Lee, R. Uzsoy, L. A. Martin-Vega, Efficient Algorithms for Scheduling Semiconductor Burn-In Operations, Operations Research 40(4), 764–775, 1992. https://doi.org/10.1287/opre.40.4.764
  • R. L. Graham, Bounds on Multiprocessing Timing Anomalies, SIAM Journal on Applied Mathematics 17(2), 416–429, 1969. https://doi.org/10.1137/0117039
  • A. H. G. Rinnooy Kan, L. Stougie, Stochastic Integer Programming, Ch. 8 of Y. Ermoliev, R. J.-B. Wets (eds.), Numerical Techniques for Stochastic Optimization, Springer, 1988 (source of the reused list-scheduling definitions). https://doi.org/10.1007/978-3-642-61370-8
10 thms1 active userReviewed
Optimization·Captain: mikedeng1

Scenarios and Policy Aggregation in Optimization Under Uncertainty 2: A Limit of Locally Optimal Progressive Hedging Steps Is a Stationary Point of the Nonconvex ProblemResearch Paper

Motivation

Multistage decision problems under uncertainty are often modelled by a finite set of scenarios: each scenario sss fixes one possible future, and for it a deterministic problem can be solved. What makes the problem stochastic is the requirement that decisions may depend only on information available at the time they are taken. Rockafellar and Wets (WP-87-119, 1987; journal version Math. Oper. Res. 16 (1991) 119–147) proposed the progressive hedging algorithm, which solves the scenario problems separately with a penalty and a price term and blends their solutions step by step into a single policy that respects the information constraints. The method is a standard decomposition scheme of stochastic programming and is implemented in solver libraries such as PySP and mpi-sppy.

For convex problems the paper proves convergence through the theory of the proximal point algorithm. Many practical scenario models are not convex (integer-like penalties, nonconvex costs). For that case the paper proves one result, Theorem 6.1: the algorithm cannot be expected to find a global minimum, but whenever it converges, its limit is a stationary point. This mission formalizes that result.

Setting

Let SSS be a finite set of scenarios with probabilities ps>0p_s>0ps​>0, ∑sps=1\sum_s p_s=1∑s​ps​=1. A decision is a vector x=(x1,…,xT)∈Rnx=(x_1,\dots,x_T)\in\mathbb R^nx=(x1​,…,xT​)∈Rn, split into blocks xtx_txt​ taken at times t=1,…,Tt=1,\dots,Tt=1,…,T. For each scenario there is a scenario subproblem

(Ps)minimize fs(x) over x∈Cs⊆Rn.(P_s)\qquad\text{minimize } f_s(x)\ \text{over } x\in C_s\subseteq\mathbb R^n .(Ps​)minimize fs​(x) over x∈Cs​⊆Rn.

Throughout, every CsC_sCs​ is nonempty and closed, every fsf_sfs​ is locally Lipschitz, and the sets {x∈Cs∣fs(x)≤α}\{x\in C_s\mid f_s(x)\le\alpha\}{x∈Cs​∣fs​(x)≤α} are bounded.

A policy is a map X:S→RnX:S\to\mathbb R^nX:S→Rn. Policies form a space E\mathcal EE with inner product ⟨X,Y⟩=∑spsX(s)⋅Y(s)\langle X,Y\rangle=\sum_s p_s X(s)\cdot Y(s)⟨X,Y⟩=∑s​ps​X(s)⋅Y(s) and norm ∥X∥=⟨X,X⟩1/2\|X\|=\langle X,X\rangle^{1/2}∥X∥=⟨X,X⟩1/2. For each time ttt the scenarios are partitioned into bundles A∈AtA\in\mathcal A_tA∈At​ of scenarios indistinguishable at time ttt. A policy is implementable, X∈NX\in\mathcal NX∈N, when each XtX_tXt​ is constant on every bundle of At\mathcal A_tAt​; it is admissible, X∈CX\in\mathcal CX∈C, when X(s)∈CsX(s)\in C_sX(s)∈Cs​ for all sss. The aggregation operator JJJ replaces Xt(s)X_t(s)Xt​(s) by its conditional expectation over the bundle of sss; K=I−JK=I-JK=I−J, and M={W∣JW=0}=N⊥\mathcal M=\{W\mid JW=0\}=\mathcal N^\perpM={W∣JW=0}=N⊥. With F(X)=∑spsfs(X(s))F(X)=\sum_s p_s f_s(X(s))F(X)=∑s​ps​fs​(X(s)) the problem is

(P)minimize F(X) over X∈C∩N.(P)\qquad\text{minimize } F(X)\ \text{over } X\in\mathcal C\cap\mathcal N .(P)minimize F(X) over X∈C∩N.

Progressive hedging with parameter r>0r>0r>0 keeps Xν∈CX^\nu\in\mathcal CXν∈C and Wν∈MW^\nu\in\mathcal MWν∈M. It sets X^ν=JXν\hat X^\nu=JX^\nuX^ν=JXν, computes Xν+1(s)X^{\nu+1}(s)Xν+1(s) for every sss from

(Psν)minimize fs(x)+x⋅Wν(s)+12r∣x−X^ν(s)∣2 over x∈Cs,(P^\nu_s)\qquad\text{minimize } f_s(x)+x\cdot W^\nu(s)+\tfrac12 r|x-\hat X^\nu(s)|^2\ \text{over } x\in C_s ,(Psν​)minimize fs​(x)+x⋅Wν(s)+21​r∣x−X^ν(s)∣2 over x∈Cs​,

and updates Wν+1=Wν+rKXν+1W^{\nu+1}=W^\nu+rKX^{\nu+1}Wν+1=Wν+rKXν+1. In the nonconvex case, Xν+1(s)X^{\nu+1}(s)Xν+1(s) is only required to be δ\deltaδ-locally optimal: optimal among the points of CsC_sCs​ within Euclidean distance δ\deltaδ of it, for a fixed δ>0\delta>0δ>0.

∂g(x)\partial g(x)∂g(x) denotes Clarke's generalized gradient of a locally Lipschitz ggg and NC(x)N_C(x)NC​(x) Clarke's normal cone to a closed set CCC.

Formalization targets

Goal: Theorem 6.1

If Xν→X∗X^\nu\to X^*Xν→X∗ and Wν→W∗W^\nu\to W^*Wν→W∗, then X∗∈N∩CX^*\in\mathcal N\cap\mathcal CX∗∈N∩C, W∗∈MW^*\in\mathcal MW∗∈M and

−W∗(s)∈∂fs(X∗(s))+NCs(X∗(s))for all s∈S;-W^*(s)\in\partial f_s(X^*(s))+N_{C_s}(X^*(s))\qquad\text{for all } s\in S;−W∗(s)∈∂fs​(X∗(s))+NCs​​(X∗(s))for all s∈S;

moreover X∗X^*X∗ is a local minimizer of (P~)(\tilde P)(P~), which is (P) with fsf_sfs​ replaced by f~s(x)=fs(x)+12r∣x−X∗(s)∣2\tilde f_s(x)=f_s(x)+\tfrac12 r|x-X^*(s)|^2f~​s​(x)=fs​(x)+21​r∣x−X∗(s)∣2, and −W∗(s)∈∂f~s(X∗(s))+NCs(X∗(s))-W^*(s)\in\partial\tilde f_s(X^*(s))+N_{C_s}(X^*(s))−W∗(s)∈∂f~​s​(X∗(s))+NCs​​(X∗(s)).

Milestones

  1. (6.4)–(6.5): each Xν+1X^{\nu+1}Xν+1 is optimal for (Pν)(P^\nu)(Pν), minimize F(X)+⟨X,Wν⟩+12r∥X−X^ν∥2F(X)+\langle X,W^\nu\rangle+\tfrac12 r\|X-\hat X^\nu\|^2F(X)+⟨X,Wν⟩+21​r∥X−X^ν∥2 over C\mathcal CC, on the ∥⋅∥\|\cdot\|∥⋅∥-ball of radius δ′=δmin⁡sps1/2\delta'=\delta\min_s p_s^{1/2}δ′=δmins​ps1/2​.
  2. W∗∈MW^*\in\mathcal MW∗∈M, KXν→0KX^\nu\to0KXν→0 and X∗∈NX^*\in\mathcal NX∗∈N.
  3. (6.6): X∗X^*X∗ is locally optimal for (P∗)(P^*)(P∗), minimize F(X)+⟨X,W∗⟩+12r∥X−X∗∥2F(X)+\langle X,W^*\rangle+\tfrac12 r\|X-X^*\|^2F(X)+⟨X,W∗⟩+21​r∥X−X∗∥2 over C\mathcal CC.
  4. X∗X^*X∗ is locally optimal for F(X)+12r∥X−X∗∥2=E{f~s(X(s))}F(X)+\tfrac12 r\|X-X^*\|^2=E\{\tilde f_s(X(s))\}F(X)+21​r∥X−X∗∥2=E{f~​s​(X(s))} over C∩N\mathcal C\cap\mathcal NC∩N.
  5. (6.2): ∂f~s(X∗(s))=∂fs(X∗(s))\partial\tilde f_s(X^*(s))=\partial f_s(X^*(s))∂f~​s​(X∗(s))=∂fs​(X∗(s)), from ∂f~s(x)=∂fs(x)+r(x−X∗(s))\partial\tilde f_s(x)=\partial f_s(x)+r(x-X^*(s))∂f~​s​(x)=∂fs​(x)+r(x−X∗(s)).
  6. Theorem 4.1: at a local minimizer of (P) satisfying the constraint qualification "the only W∈MW\in\mathcal MW∈M with −W(s)∈NCs(X∗(s))-W(s)\in N_{C_s}(X^*(s))−W(s)∈NCs​​(X∗(s)) for all sss is W=0W=0W=0", some W∗∈MW^*\in\mathcal MW∗∈M satisfies the conditions above; in the convex case these conditions imply global optimality.

Significance

Theorem 6.1 is the paper's only guarantee outside convexity. It says that progressive hedging, run with local solvers on nonconvex scenario subproblems, cannot converge to a point that fails the first-order conditions, and that the limiting price system W∗W^*W∗ is a Lagrange multiplier for the nonanticipativity constraint X∈NX\in\mathcal NX∈N. It needs no constraint qualification, unlike the general necessary condition of Theorem 4.1: the multiplier is produced by the algorithm. This is the basis for using progressive hedging as a heuristic for nonconvex and mixed-integer stochastic programs.

The result is proved in the paper; to our knowledge it has not been machine-checked. A complete formalization would give checked statements of the scenario model (JJJ, KKK, N\mathcal NN, M\mathcal MM with the weighted inner product), of the algorithm with inexact local subproblem solutions, and of Clarke's optimality conditions for problems with separable structure. The convex convergence theory of the same paper is the subject of the companion mission Scenarios and Policy Aggregation in Optimization Under Uncertainty 1.

Difficulty

The local optimality of Xν+1(s)X^{\nu+1}(s)Xν+1(s) is relative to a ball centred at the iterate, which moves. Passing to the limit requires a radius that is uniform in ν\nuν and in the norm of E\mathcal EE; this is what δ′\delta'δ′ provides, and it only covers points strictly inside the limiting ball: a point of C\mathcal CC at distance exactly δ′\delta'δ′ from X∗X^*X∗ may lie outside every ball around the iterates. The step from local optimality to the multiplier condition uses Clarke's necessary condition for minimization over a closed set and the sum rule for a Lipschitz function plus a smooth one; neither is in Mathlib. Theorem 4.1 needs, in addition, a calculus rule for normal cones of an intersection under a qualification condition, and the transfer of Clarke's objects between E\mathcal EE with the weighted inner product and the individual scenario spaces.

Formalization scope

Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n). A policy is a function S → EuclideanSpace ℝ (Fin n). The weighted inner product and norm of E\mathcal EE are explicit definitions (ip, pnorm); Lean's built-in norm on policies (the sup norm) is used only for topological notions: convergence of the iterates and "locally optimal" without a radius, which do not depend on the norm. The radii δ′\delta'δ′ are in the weighted norm, the radius δ\deltaδ in the Euclidean norm of Rn\mathbb R^nRn. Time blocks are a monotone map from coordinates to periods; bundles are the classes of a setoid on SSS for each period. The standing assumptions are fields of the model structure, so every theorem carries them. Indices are 0-based and sequences are indexed by ν=0,1,2,…\nu=0,1,2,\dotsν=0,1,2,…; the run starts from X0∈CX^0\in\mathcal CX0∈C and W0∈MW^0\in\mathcal MW0∈M. Theorem 4.1 is stated in its decomposed form (4.4), scenario by scenario.

Clarke's generalized gradient and normal cone are the published platform definitions ClarkeGradients.Shared.generalizedGradient (convex hull of limits of gradients) and ClarkeGradients.FlowInvariance.normalCone (closure of the cone generated by the generalized gradient of the distance function); for locally Lipschitz functions and closed nonempty sets these are the objects the paper uses.

Formalizations that trivialize the statement are excluded: Theorem 6.1 carries no convexity hypothesis and no constraint qualification, the δ′\delta'δ′-balls are not measured in the sup norm, and the run predicate is satisfiable (the model files come with a sanity check exhibiting a run).

Useful infrastructure, reusable beyond this mission: Clarke's necessary condition for local minimization of a Lipschitz function over a closed set, the sum rule with a C1C^1C1 function, products of normal cones, and basic facts about JJJ (an orthogonal projection onto N\mathcal NN for the weighted inner product). Contributions of any of these are welcome.

Selected references

  • R. T. Rockafellar and R. J.-B. Wets, Scenarios and policy aggregation in optimization under uncertainty, IIASA Working Paper WP-87-119, 1987. https://pure.iiasa.ac.at/id/eprint/2933/
  • R. T. Rockafellar and R. J.-B. Wets, Scenarios and policy aggregation in optimization under uncertainty, Mathematics of Operations Research 16(1), 119–147, 1991. https://doi.org/10.1287/moor.16.1.119
  • F. H. Clarke, Generalized gradients and applications, Transactions of the AMS 205, 247–262, 1975. https://doi.org/10.1090/S0002-9947-1975-0367131-6
  • F. H. Clarke, Optimization and Nonsmooth Analysis, Wiley, 1983. https://doi.org/10.1137/1.9781611971309
11 thms1 active userReviewed
Dynamic ProgrammingOptimization·Captain: mikedeng1

Efficient Algorithms for Scheduling Semiconductor Burn-In Operations 3: Dynamic Program DP3 Minimizes the Number of Tardy Equal-Length Jobs on a Batch Machine with Agreeable Release and Due DatesResearch Paper

Motivation

Semiconductor burn-in tests hold several jobs in an oven at once. A production planner must decide which jobs share each oven run and in what order those runs take place. A job may become available only after earlier manufacturing steps, and a due date marks when its test should finish. The planning objective here is to minimize how many jobs finish after their due dates. Lee, Uzsoy, and Martin-Vega studied this batch scheduling problem and gave a dynamic program for the case of equal processing times and compatible release and due-date orders (Lee, Uzsoy, and Martin-Vega 1992, §4, pp. 770–771).

Setting

There are nnn jobs and one batch processing machine with capacity B≥1B\ge1B≥1. Job jjj has release time rjr_jrj​, due date djd_jdj​, and processing time pjp_jpj​. In the main problem every processing time equals a common value ppp. A batch is a nonempty set of at most BBB jobs. Its processing time is the longest processing time among its members; it begins only after all its jobs have been released and the previous batch has finished. Processing is uninterrupted. A schedule is an ordered list of disjoint batches that covers every job. Each batch starts at the earliest time allowed by these conditions.

The completion time Cj(S)C_j(S)Cj​(S) of job jjj in schedule SSS is the completion time of its batch. A job is on time when Cj(S)≤djC_j(S)\le d_jCj​(S)≤dj​ and tardy when dj<Cj(S)d_j<C_j(S)dj​<Cj​(S). Write U(S)=#{j:dj<Cj(S)}U(S)=\#\{j:d_j<C_j(S)\}U(S)=#{j:dj​<Cj​(S)} and let U∗U^*U∗ be the minimum of U(S)U(S)U(S) over all valid complete batch schedules. Tardy jobs still belong to a schedule and consume machine time. An on-time batch is one whose every member is on time.

For the structural lemmas, agreeable release times and due dates mean that ri<rjr_i<r_jri​<rj​ implies di≤djd_i\le d_jdi​≤dj​. For the dynamic program, jobs are indexed so that both rjr_jrj​ and djd_jdj​ are nondecreasing. A batch is in batch-EDD order relative to later batches when no job in it has a later due date than a job in a later batch. A batch of consecutive jobs contains exactly an index interval. These are the paper's Lemmas 4 and 5 and Definition 1 (pp. 767, 770).

Formalization targets

Structural optimal schedules

Lemma 4 asserts that some optimum has an initial list of wholly on-time batches in batch-EDD order, followed by batches containing only tardy jobs. Lemma 5 asserts that some optimum has every wholly on-time batch made of consecutive indexed jobs. These are existence statements about schedules of all jobs; neither restricts the feasible schedules over which U∗U^*U∗ is defined.

Correctness of Algorithm DP3

Let f(i,j)f(i,j)f(i,j) be the table defined by Algorithm DP3 for the first jjj jobs and a selected count iii of on-time jobs. Its boundary values are f(0,j)=0f(0,j)=0f(0,j)=0 and f(i,j)=+∞f(i,j)=+\inftyf(i,j)=+∞ for i>ji>ji>j. For 1≤i≤j1\le i\le j1≤i≤j, it takes the minimum of f(i,j−1)f(i,j-1)f(i,j−1) and the eligible transitions that append a batch of kkk jobs, 1≤k≤min⁡(B,i)1\le k\le\min(B,i)1≤k≤min(B,i). A transition uses max⁡{f(i−k,j−k),rj}+p\max\{f(i-k,j-k),r_j\}+pmax{f(i−k,j−k),rj​}+p and is eligible when that completion time does not exceed dj−k+1d_{j-k+1}dj−k+1​. The main target is

U∗=n−max⁡{i∈{0,…,n}:f(i,n)<+∞}.U^*=n-\max\{i\in\{0,\ldots,n\}:f(i,n)<+\infty\}.U∗=n−max{i∈{0,…,n}:f(i,n)<+∞}.

The maximum includes zero, which is always feasible in the table. The printed range begins at one and has no value when every job is tardy. This is the corrected boundary reading of the displayed answer on p. 771 (source).

Unequal processing times

The paper also gives a variant for jobs available at time zero, with nondecreasing processing times and due dates. Its transition replaces the release-time maximum and common ppp by f(i−k,j−k)+pjf(i-k,j-k)+p_jf(i−k,j−k)+pj​. The corresponding correctness statement is a further milestone (p. 771).

Significance

The structural results connect the optimization over arbitrary complete batch schedules to the restricted arrangements represented by the table. DP3 correctness then identifies the number of tardy jobs from finite table entries, including instances with no on-time job. The variable-time extension covers the related case where each job has its own duration but all jobs are available together.

The paper proves these results informally; this mission leaves their Lean proofs open. A complete formalization would supply reusable definitions of batch schedules, release-limited completion times, tardy-job counts, and a finite dynamic program with an explicit infinite value. The machine-checked statements and the local instance check establish the interface for that work, while the structural and correctness theorems remain solver targets.

Difficulty

The objective ranges over every valid batching and every processing order. The table examines an indexed prefix and places the last on-time batch among consecutive jobs. Establishing that the table's choices preserve the full optimum requires the existence statements in Lemmas 4 and 5. Reordering jobs is delicate because delaying a batch can change release feasibility and can make an earlier on-time job late. Equal due dates also require care: a due-date order alone need not put the latest release of a proposed batch at its last index.

Formalization scope

Jobs use Fin n, with index zero representing the paper's job 1; the table's jjj is a prefix length. Data and completion times are natural numbers, matching the paper's integer-data setting; +∞+\infty+∞ in the table is WithTop ℕ. The schedule model uses nonempty batches of cardinality at most BBB, pairwise disjointness, and complete coverage. A batch starts at the maximum of its latest release and the preceding completion time. This earliest-start convention is sufficient for minimizing the regular tardy-job objective. The empty job set is included: its empty schedule has zero tardy jobs.

The strict implication ri<rj⇒di≤djr_i<r_j\Rightarrow d_i\le d_jri​<rj​⇒di​≤dj​ makes the paper's loose “agreeable” condition precise without forcing equal due dates for tied release times. For the recurrence, both release times and due dates are nondecreasing in job index, including their ties. This ensures that rjr_jrj​ is the last batch's latest release and dj−k+1d_{j-k+1}dj−k+1​ its earliest due date. The variable-time version similarly indexes by nondecreasing processing times and due dates, so the last job gives the batch duration. The table uses a minimum over exactly the paper's range 1≤k≤min⁡(B,i)1\le k\le\min(B,i)1≤k≤min(B,i), with an empty range giving +∞+\infty+∞. Zero is included in the final maximum. Tardy jobs are scheduled in the underlying optimum; defining the optimum as an on-time subset or defining the table as that optimum would erase the two structural claims.

This mission covers correctness only. The paper's O(n2B)O(n^2B)O(n2B) running-time statement and the bisection procedure are outside the formalization because they would need a specified computational cost model. The paper's FBEDD remark for this objective is also excluded: a three-job instance contradicts it. Contributions to the open theorem proofs, schedule-existence facts, and reusable batch scheduling lemmas are welcome.

Selected references

  • C.-Y. Lee, R. Uzsoy, and L. A. Martin-Vega, Efficient Algorithms for Scheduling Semiconductor Burn-In Operations, Operations Research 40(4), 1992, pp. 764–775. DOI: 10.1287/opre.40.4.764.
9 thms1 active userReviewed
Algorithmic Game TheoryMechanism Design·Captain: mikedeng1

Job Matching, Coalition Formation, and Gross Substitutes 3: A Coalition Technology Satisfying Gross Substitutes for m + 1 Identical Firms Has a Strict Core AllocationResearch Paper

Why a one-sided market can have a core

Workers can form groups and produce an output that they divide through salaries. A group may object to a proposed allocation when it can pay all of its members at least as much and one member more. The central question is whether any allocation survives every such objection. Kelso and Crawford's 1982 paper gives a sufficient condition based on how an imaginary firm would demand workers as their salaries change. This is useful when production depends on combinations of workers, yet there is no actual employer side to the market.

The one-sided result belongs to a seven-mission series: 1, the salary-adjustment process; 2, continuous-salary core existence; 3, this one-sided theorem; 4, firm-optimality; 5, comparative statics; 6, returns to workers; and 7, the no-core example. Each mission can be read independently. None of Kelso and Crawford's results was on Prove2Me before this series. The paper itself notes that Theorem 3 is similar in spirit to Shapley's core-existence result but logically independent: Shapley's convex-game condition concerns second differences of a characteristic function, whereas this theorem uses a condition on input demand. Kelso and Crawford, footnote 3.

The market and its allocations

Let WWW be a finite set of workers, with m=∣W∣m=|W|m=∣W∣. A coalition technology vvv assigns a real output v(C)v(C)v(C) to each worker set C⊆WC\subseteq WC⊆W. A one-sided allocation consists of a partition P=(Cz)P=(C_z)P=(Cz​) of all workers and one real salary sis_isi​ for each worker. The parts of PPP are disjoint and cover WWW. Each worker has a utility μi(si)\mu^i(s_i)μi(si​) that is continuous and strictly increasing in salary, so salary comparisons express the same preferences as utility comparisons.

The paper's individual rationality condition D1′ asks for nonnegative salaries and one aggregate resource constraint:

si≥0(i∈W),∑i∈Wsi≤∑C∈Pv(C).s_i\ge 0\quad(i\in W),\qquad \sum_{i\in W}s_i\le\sum_{C\in P}v(C).si​≥0(i∈W),i∈W∑​si​≤C∈P∑​v(C).

It does not require each partition block to finance its own salaries. An improving coalition is a worker set CCC with salaries ri≥sir_i\ge s_iri​≥si​ for every i∈Ci\in Ci∈C, a strict inequality for at least one member, and ∑i∈Cri≤v(C)\sum_{i\in C}r_i\le v(C)∑i∈C​ri​≤v(C). A D1′ allocation is in the strict core D2′ when no improving coalition exists. The empty coalition cannot improve because it contains no member whose salary could rise. These are equations (12)–(15) on pages 1492–1493 of the source paper.

To state gross substitutes (GS), imagine m+1m+1m+1 identical firms, each with production vvv. At a salary vector s:W→Rs:W\to\mathbb Rs:W→R, a firm's profit from employing CCC is π(C;s)=v(C)−∑i∈Csi\pi(C;s)=v(C)-\sum_{i\in C}s_iπ(C;s)=v(C)−∑i∈C​si​; a demanded set maximizes this profit over all worker subsets. GS says that if salaries rise coordinatewise from sss to s′s's′, then for every demanded set at sss there is a demanded set at s′s's′ containing all workers of the old set whose salaries stayed unchanged. The requirement is over all real salary vectors, as in the continuous market of Section 2.

Formalization targets

Goal: Theorem 3

Assume nonnegative marginal production (MP′), no free lunch (NFL), and GS for the identical fictitious firms:

v(C∪{i})−v(C)≥0,v(∅)=0,GS⁡(v).v(C\cup\{i\})-v(C)\ge 0,\qquad v(\varnothing)=0,\qquad \operatorname{GS}(v).v(C∪{i})−v(C)≥0,v(∅)=0,GS(v).

The goal is the exact existence statement

∃(P,s),(P,s) is a one-sided strict-core allocation for v.\exists (P,s),\quad (P,s)\text{ is a one-sided strict-core allocation for }v.∃(P,s),(P,s) is a one-sided strict-core allocation for v.

Theorem 3 appears on page 1493 of Kelso and Crawford. Its two milestones are claims from the proof: every dummy firm has zero profit at a fictitious-market strict-core allocation, and that allocation induces a one-sided strict-core allocation. Mission 2 targets the paper's Theorem 2, which supplies existence of the fictitious-market allocation; this mission does not pose a duplicate specialized version of it.

What the result gives

The theorem ensures that workers can be partitioned and paid without any group being able to make at least one of its members strictly better off while preserving every member's prior salary. It turns a condition on a firm's reactions to wage increases into stability of a market containing no firms. The result also identifies a concrete boundary for the core-existence argument: the paper later constructs a market without GS that has no core allocation in its two-sided setting. Kelso and Crawford, Section 6.

The theorem is proved in the 1982 paper; this mission asks for machine-checked statements and proofs of its one-sided definitions, the two transfer claims, and Theorem 3. The local Lean files compile as open statements, and a concrete one-worker instance checks that MP′, NFL and GS can hold together. That local check is not a proof of Theorem 3. The definition of GS for a finite demand problem can be reused beyond this mission, but the dummy-firm construction and the one-sided D1′–D2′ predicates follow this paper's conventions.

Why the transfer is delicate

A strict-core allocation of a two-sided market controls coalitions containing a firm, while D2′ is expressed entirely through worker coalitions. The fictitious market has more firms than workers, which forces at least one firm to employ nobody. The proof must connect that observation to every firm's profit and then translate a one-sided improving coalition into a two-sided improvement. Individual rationality also has to preserve the paper's aggregate budget condition. Merely assigning each worker to a firm or showing nonnegative firm profits would leave these links unproved.

Formalization scope

Workers form an arbitrary finite type; the empty case is included. The fictitious firms have type Fin (m + 1), so their count is strictly greater than the worker count even when m=0m=0m=0. Salaries and output are real. In the fictitious market, every firm uses the same vvv, each worker's utility at every firm is μi(s)\mu^i(s)μi(s), and reservation salary is zero, matching unemployment utility μi(0)\mu^i(0)μi(0). The milestones retain arbitrary strictly increasing continuous functions μi\mu^iμi; Theorem 3 does not quantify over them because D1′ and D2′ compare salaries directly. Theorem 3's GS condition ranges over all real salary vectors, not a discrete salary grid.

Mathlib finite partitions contain nonempty parts. The paper permits empty indexed groups, but NFL makes them contribute zero output. The allocation model assigns every worker to one firm, and strict blocking allows any worker coalition, including the empty set, although strict improvement excludes that case. D1′ uses one total salary bound; a per-group bound would change the theorem. D2′ requires a strict gain in a worker's salary, not merely slack in the production budget. No vacuous regularity condition, fixed special technology, or restriction to a single worker is part of the mission goal.

Contributions are welcome on the finite partition interface, properties of profit-maximizing demand under GS, the zero-profit claim, and the transfer from fictitious firms to worker coalitions. The shared market and demand definitions are kept in their own module so they can be consolidated with the other missions of this paper.

Selected references

  • A. S. Kelso, Jr. and V. P. Crawford, Job matching, coalition formation, and gross substitutes, Econometrica 50(6), 1982, pp. 1483–1504. DOI: 10.2307/1913392.
  • L. S. Shapley, Cores of convex games, International Journal of Game Theory 1, 1971, pp. 11–26. DOI: 10.1007/BF01753431.
6 thms1 active userReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Stochastic Inequalities on Partially Ordered Spaces 3: Ornstein's d̄-Distance of Stationary Real Processes Equals ∫ω⁰dP + ∫ω⁰dQ − 2 sup{∫ω⁰dR : R ≺ P, R ≺ Q}Research Paper

Motivation

Two stationary random sequences can have identical distributions at each individual time while differing in their dependence across time. Comparing only their one-time marginals therefore misses a feature relevant to stochastic-process comparison. Ornstein's dˉ\bar ddˉ measures the cost of matching two whole stationary processes: it minimizes the expected discrepancy at one time over joint laws that are themselves stationary. Kamae, Krengel, and O'Brien use stochastic order to replace that optimization over pairs of processes with an optimization over a single common lower process in Theorem 8 of their 1977 paper. This mission formalizes that identity and the stationary coupling results supporting it.

Setting

A two-sided path with values in a space EEE is a sequence ω=(ωn)n∈Z\omega=(\omega^n)_{n\in\mathbb Z}ω=(ωn)n∈Z​. The shift TTT sends ω\omegaω to the path whose coordinate nnn is ωn+1\omega^{n+1}ωn+1. A probability law PPP on paths is stationary, written P∈STP\in\mathcal S_TP∈ST​, when P∘T−1=PP\circ T^{-1}=PP∘T−1=P. A law ν\nuν on pairs of paths is jointly stationary, written ν∈SS\nu\in\mathcal S_Sν∈SS​, when it is invariant under S(ω1,ω2)=(Tω1,Tω2)S(\omega_1,\omega_2)=(T\omega_1,T\omega_2)S(ω1​,ω2​)=(Tω1​,Tω2​). Its first and second marginals are denoted ν1\nu_1ν1​ and ν2\nu_2ν2​. These are the objects defined at the start of Section 8.

When EEE has a partial order, paths are ordered coordinatewise: ω1≤ω2\omega_1\leq\omega_2ω1​≤ω2​ means ω1n≤ω2n\omega_1^n\leq\omega_2^nω1n​≤ω2n​ for every integer nnn. For probability laws on any such space, write P≺QP\prec QP≺Q if ∫f dP≤∫f dQ\int f\,dP\leq\int f\,dQ∫fdP≤∫fdQ for every bounded, measurable, increasing real function fff. Thus stochastic order compares laws through all bounded increasing observations, including observations that depend on several time coordinates. The paper introduces this order on a partially ordered Polish space whose order graph is closed and whose measurable sets are Borel sets in Section 1.

For real-valued paths, ω0\omega^0ω0 is the value at time zero. If the time-zero values under stationary laws PPP and QQQ are integrable, define Ornstein's distance by

dˉ(P,Q)=inf⁡ν∈SSν1=P,ν2=Q∫∣ω10−ω20∣ ν(dω1,dω2).\bar d(P,Q)=\inf_{\substack{\nu\in\mathcal S_S\\\nu_1=P,\,\nu_2=Q}} \int |\omega_1^0-\omega_2^0|\,\nu(d\omega_1,d\omega_2).dˉ(P,Q)=ν∈SS​ν1​=P,ν2​=Q​inf​∫∣ω10​−ω20​∣ν(dω1​,dω2​).

The stationary constraint on ν\nuν is part of the definition. It asks for a matching of the full processes, even though the cost is evaluated at one coordinate. The paper notes that this formula is equivalent to Ornstein's original definition for the processes considered here on p. 910.

Formalization targets

The ordered special case is Lemma 3: if P≺QP\prec QP≺Q, then

dˉ(P,Q)=∫ω0 Q(dω)−∫ω0 P(dω).\bar d(P,Q)=\int\omega^0\,Q(d\omega)-\int\omega^0\,P(d\omega).dˉ(P,Q)=∫ω0Q(dω)−∫ω0P(dω).

The main target is Theorem 8, equation (18). For stationary real process laws P,QP,QP,Q with finite first moments at time zero,

dˉ(P,Q)=∫ω0 P(dω)+∫ω0 Q(dω)−2sup⁡R∈STR≺P,R≺Q∫ω0 R(dω).\bar d(P,Q)= \int\omega^0\,P(d\omega)+\int\omega^0\,Q(d\omega) -2\sup_{\substack{R\in\mathcal S_T\\R\prec P,\,R\prec Q}} \int\omega^0\,R(d\omega).dˉ(P,Q)=∫ω0P(dω)+∫ω0Q(dω)−2R∈ST​R≺P,R≺Q​sup​∫ω0R(dω).

The supremum ranges over stationary laws of whole paths, ordered on the full coordinatewise path space. The milestone list includes Theorem 7's stationary monotone coupling, Lemmas 2 and 3, and three claims made inside the proof of Theorem 8: the triangle inequality dˉ(P,Q)≤dˉ(P,R)+dˉ(R,Q)\bar d(P,Q)\le\bar d(P,R)+\bar d(R,Q)dˉ(P,Q)≤dˉ(P,R)+dˉ(R,Q), which the paper asserts without proof ("since dˉ\bar ddˉ is a distance"), the attainment of the infimum defining dˉ\bar ddˉ, and the fact that the law of the coordinatewise minimum of an optimal stationary coupling lies below both PPP and QQQ. These are the statements from the paper that delimit the target.

Significance

The identity expresses a distance defined through stationary joint distributions using only stationary laws below both inputs in stochastic order. It therefore links a coupling cost to an order-theoretic optimization. In the ordered case, Lemma 3 evaluates the distance directly from the difference of means. The authors point out that the general formula replaces an infimum over laws on a product path space by a supremum over laws on one path space on p. 911.

The 1977 results are proved on paper; these mission statements are open Lean proof targets. A completed formalization would supply reusable definitions for stationary path laws, stationary couplings, stochastic order on path spaces, and dˉ\bar ddˉ, together with checked statements about their interaction. It would also make the closed-order and first-moment conditions explicit at every point where a subsequent result uses them. The separate mission for Theorem 1 contains the general coupling characterization that the paper invokes in Theorem 7.

Difficulty

The cost in dˉ\bar ddˉ inspects only time zero, but admissibility of a coupling involves every time coordinate at once. An arbitrary coupling of the time-zero marginals need not extend to a stationary coupling of the two processes. The stationary-coupling existence statement must preserve both full path marginals and the coordinatewise order. On the optimization side, taking an infimum in the real numbers is justified only after the coupling class is shown nonempty and its costs are finite; attaining the infimum requires more than those two facts. These are the obstacles made explicit by Theorem 7 and the proof of Theorem 8.

Formalization scope

The Lean path space is Z→E\mathbb Z\to EZ→E, with Mathlib's product topology, Borel measurable structure, and coordinatewise order. The shift sends coordinate nnn to the old coordinate n+1n+1n+1. For Theorem 7, EEE carries the paper's standing assumptions: it is Polish, its order is a closed partial order, and its measurable structure is Borel. Measurability of quantified functions is explicit, following the paper's convention that sets and functions under discussion are measurable. Theorem 8 and its Section 8 milestones specialize to E=RE=\mathbb RE=R.

The real-valued definition of dˉ\bar ddˉ takes the infimum over jointly stationary probability couplings with the specified full path marginals. Under the target's finite-first-moment hypotheses, the product coupling makes this class nonempty, every displayed cost is integrable, and costs are bounded below by zero. The goal states the supremum with an explicit finite least upper bound. It considers common lower laws with an integrable time-zero coordinate: such laws give the finite values intended by the paper, and this restriction does not remove the optimal value. These choices exclude totalized integrals and default real infima or suprema from supplying a spurious identity. Theorem 7's support condition is concentration on the closed set of ordered path pairs.

Reusable contributions include general facts about stationary measures on countable products, measurable coordinatewise order and meet maps, and stationary coupling compactness. The target specifically requires the order to test bounded increasing functions on the full path space; replacing it with a comparison of time-zero marginals would give a different claim. Likewise, dropping the joint stationarity constraint from the definition of dˉ\bar ddˉ would turn it into the Kantorovich (Wasserstein-1) distance of the time-zero marginals, a different and in general smaller quantity; the formalization keeps that constraint. The source is the published Annals of Probability version; throughout this mission printed page === PDF page +898+898+898.

Selected references

  • T. Kamae, U. Krengel, and G. L. O'Brien, Stochastic Inequalities on Partially Ordered Spaces, The Annals of Probability 5(6), 899–912, 1977. DOI: 10.1214/aop/1176995659.
13 thms1 active userReviewed
Algorithmic Game TheoryMechanism Design·Captain: mikedeng1

Job Matching, Coalition Formation, and Gross Substitutes 2: Under Gross Substitutes Every Job-Matching Market with Continuous Salaries Has a Strict Core AllocationResearch Paper

Motivation

Labour markets match workers to firms that hire teams: a firm's output depends on the whole set of workers it employs, while each worker holds one job. A salary agreement is stable when no firm and group of workers can renegotiate among themselves to the benefit of all of them. Shapley and Shubik (1971) showed that such stable outcomes exist when each firm hires at most one worker and utility is transferable; Crawford and Knoer (1981) extended this to general utilities, still one-to-one. Kelso and Crawford (1982) let firm size be endogenous and identified the condition under which existence survives: workers must be gross substitutes for every firm. Their condition later became the standard assumption for existence of Walrasian equilibrium with indivisible goods (Gul and Stacchetti, 1999) and the basis of matching with contracts (Hatfield and Milgrom, 2005).

This mission is the second of a seven-mission series on the paper: 1, the salary-adjustment process; 2, existence of a strict core with continuous salaries (this mission); 3, one-sided coalition formation; 4, the firm-optimal allocation; 5, comparative statics; 6, gross substitutes versus nonincreasing returns; 7, a market with no core. Each mission is self-contained. Nothing of this paper was on Prove2Me before this series.

Setting

There is a finite set WWW of mmm workers and a nonempty finite set FFF of firms. Worker iii's utility of working for firm jjj at salary s∈Rs\in\mathbb Rs∈R is ui(j;s)u^i(j;s)ui(j;s), strictly increasing and continuous in sss. Firm jjj's gross product when it hires the set C⊆WC\subseteq WC⊆W is yj(C)y^j(C)yj(C), and its profit at the salary vector sj=(sij)i∈Ws^j=(s_{ij})_{i\in W}sj=(sij​)i∈W​ is

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

The reservation salary σij\sigma_{ij}σij​ is defined by ui(j;σij)=ui(0;0)u^i(j;\sigma_{ij})=u^i(0;0)ui(j;σij​)=ui(0;0), worker iii's utility of unemployment. Section 2 of the paper assumes, for every firm jjj:

  • (MP) yj(C∪{i})−yj(C)−σij≥0y^j(C\cup\{i\})-y^j(C)-\sigma_{ij}\ge0yj(C∪{i})−yj(C)−σij​≥0 whenever i∉Ci\notin Ci∈/C;
  • (NFL) yj(∅)=0y^j(\emptyset)=0yj(∅)=0;
  • (GS) if CCC maximizes πj(⋅ ;sj)\pi^j(\cdot\,;s^j)πj(⋅;sj) and s~j≥sj\tilde s^j\ge s^js~j≥sj componentwise, then some maximizer C~\tilde CC~ of πj(⋅ ;s~j)\pi^j(\cdot\,;\tilde s^j)πj(⋅;s~j) contains every i∈Ci\in Ci∈C with s~ij=sij\tilde s_{ij}=s_{ij}s~ij​=sij​.

An allocation assigns each worker iii to a firm f(i)f(i)f(i) at salary sif(i)s_{if(i)}sif(i)​; firm jjj hires Cj={i:f(i)=j}C^j=\{i:f(i)=j\}Cj={i:f(i)=j}. It is individually rational (D1) if sif(i)≥σif(i)s_{if(i)}\ge\sigma_{if(i)}sif(i)​≥σif(i)​ and πj(Cj;sj)≥0\pi^j(C^j;s^j)\ge0πj(Cj;sj)≥0 for all i,ji,ji,j. A firm jjj, a set CCC and salaries rijr_{ij}rij​ improve upon it if ui(j;rij)≥ui(f(i);sif(i))u^i(j;r_{ij})\ge u^i(f(i);s_{if(i)})ui(j;rij​)≥ui(f(i);sif(i)​) for i∈Ci\in Ci∈C and πj(C;rj)≥πj(Cj;sj)\pi^j(C;r^j)\ge\pi^j(C^j;s^j)πj(C;rj)≥πj(Cj;sj), with at least one inequality strict; they strictly improve upon it if all are strict. A strict core allocation (D2) is an individually rational allocation no coalition improves upon; a core allocation (D3) is one no coalition strictly improves upon. In the continuous market coalitions may use any real salaries; in the discrete market of unit δ>0\delta>0δ>0 all salaries lie on the grids σij+δN\sigma_{ij}+\delta\mathbb Nσij​+δN.

Formalization targets

Goal: Theorem 2

Under regular utilities, (MP), (NFL), the reservation-salary relation and (GS) on all real salary vectors,

∃ (f;s) individually rational that no firm–worker coalition can improve upon (D2).\exists\,(f;s)\ \text{individually rational that no firm–worker coalition can improve upon (D2).}∃(f;s) individually rational that no firm–worker coalition can improve upon (D2).

The goal fixes no grid, no constant and no particular technology.

Milestones, in the order of the paper's proof

  1. Every discrete market has a core (p. 1490): for every δ>0\delta>0δ>0, if (GS) holds on grid salary vectors, a discrete core allocation (D3) exists.
  2. The gains are bounded above zero (p. 1491, eqs. (8)–(11)): if the continuous market has no strict core allocation, there is H>0H>0H>0 such that every individually rational allocation admits a coalition that leaves its workers no worse off and raises its firm's profit by at least HHH.
  3. A fine grid inherits the improvement (pp. 1491–1492): with such an HHH, every individually rational grid allocation of unit 0<δ<H/(m+1)0<\delta<H/(m+1)0<δ<H/(m+1) can be strictly improved upon in the discrete market.

Significance

Theorem 2 gives existence of a stable assignment of workers to firms with salaries, for arbitrary technologies under which workers are gross substitutes, without any convexity or divisibility of labour. Because the core and the competitive equilibrium coincide in this model when salaries are divisible (p. 1487), it is also an existence theorem for competitive equilibrium in a market with indivisible workers; the example of mission 7 shows that it fails without (GS). The Shapley–Shubik assignment game is the special case ui(j;s)=aij+su^i(j;s)=a_{ij}+sui(j;s)=aij​+s, yj(C)=∑i∈Cbijy^j(C)=\sum_{i\in C}b_{ij}yj(C)=∑i∈C​bij​ with at most one worker per firm.

The result has been proved since 1982; it has not been machine-checked. Prove2Me holds a formalization of the Shapley–Shubik assignment game (AssignmentGame.CoreLP), whose core-existence theorem is a different model and is not yet proved, and Murota's gross-substitutes axioms for demand on Zn\mathbb Z^nZn, which concern one price per good rather than firm-specific salary vectors over sets of workers. Neither supplies this market or Theorem 2.

Difficulty

Discrete core allocations exist at every unit δ\deltaδ, so the natural first idea is to take a sequence of them as δ→0\delta\to0δ→0 and pass to a limit. A limit of discrete core allocations need only be a core allocation of the continuous market in the weak sense D3, and a coalition that improves upon the limit may need salaries off every grid; nothing in the discrete statements controls how much a coalition gains, so the blocking coalitions of the continuous market may vanish on the grids. The required control has to be uniform over all individually rational allocations, which form an infinite set, while each blocking comparison involves the utilities of several workers and a nonadditive technology. A second obstacle is in the paper's notation: the gain (8) uses the salary ρij\rho_{ij}ρij​ with ui(j;ρij)=ui[f(i);sif(i)]u^i(j;\rho_{ij})=u^i[f(i);s_{if(i)}]ui(j;ρij​)=ui[f(i);sif(i)​], which need not exist when ui(j;⋅)u^i(j;\cdot)ui(j;⋅) is bounded.

Formalization scope

Workers and firms are arbitrary finite types; every theorem assumes at least one firm (the paper's n≥1n\ge1n≥1), since with no firm and some worker no allocation exists. Salaries, utilities, outputs and profits are real numbers. An allocation has no unemployment, as in D1. The reservation salaries σ\sigmaσ are data, and the paper's definition of σij\sigma_{ij}σij​ enters as the hypothesis ui(j;σij)=ui(k;σik)u^i(j;\sigma_{ij})=u^i(k;\sigma_{ik})ui(j;σij​)=ui(k;σik​); it is assumed on the goal and on milestones 2 and 3, where the discretization step needs every improving salary to be at least σij\sigma_{ij}σij​. Milestone 1 assumes neither this relation nor continuous (GS). The standing assumptions of p. 1486, which Theorem 2's sentence does not repeat, are hypotheses of the goal.

Explicit readings of the paper's phrases: "continuous market" means coalitions may use any real salary; "bounded above zero" is one H>0H>0H>0 valid for every individually rational allocation, stated without ρij\rho_{ij}ρij​ by quantifying over admissible coalition salaries; "the unit of measurement smaller than H/(m+1)H/(m+1)H/(m+1)" is 0<δ<H/(m+1)0<\delta<H/(m+1)0<δ<H/(m+1) with m=∣W∣m=|W|m=∣W∣ and the division in R\mathbb RR; the discrete market's salaries are σij+δk\sigma_{ij}+\delta kσij​+δk, k∈Nk\in\mathbb Nk∈N, the paper's integer salaries starting at σij\sigma_{ij}σij​ (R1, R4) with a general unit.

Trivializing formalizations are ruled out: the goal assumes (GS) on all real vectors rather than on one grid (a stronger theorem the paper does not prove), its conclusion is the strict core D2 rather than the weaker core D3, and its hypotheses are satisfiable (a one-worker, one-firm market satisfies all of them).

A complete development needs finite optimization over sets of workers, a compactness argument over the individually rational salary schedules of each assignment, and the existence of discrete core allocations (the existence form of Theorem 1, mission 1). Proofs of the milestones, of the equivalence of D2 and D3 in the continuous market, and lemmas on finite demand correspondences reusable across the series are welcome.

Selected references

  • A. S. Kelso, Jr. and V. P. Crawford, Job Matching, Coalition Formation, and Gross Substitutes, Econometrica 50(6), 1982, 1483–1504. https://doi.org/10.2307/1913392
  • V. P. Crawford and E. M. Knoer, Job Matching with Heterogeneous Firms and Workers, Econometrica 49(2), 1981, 437–450. https://doi.org/10.2307/1912751
  • L. S. Shapley and M. Shubik, The Assignment Game I: The Core, International Journal of Game Theory 1, 1971, 111–130. https://doi.org/10.1007/BF01753437
  • F. Gul and E. Stacchetti, Walrasian Equilibrium with Gross Substitutes, Journal of Economic Theory 87(1), 1999, 95–124. https://doi.org/10.1006/jeth.1999.2531
  • J. W. Hatfield and P. R. Milgrom, Matching with Contracts, American Economic Review 95(4), 2005, 913–935. https://doi.org/10.1257/0002828054825466
6 thms1 active userReviewed
Control TheoryStochastic Systems·Captain: mikedeng1

Distributed Scheduling Based on Due Dates and Buffer Priorities 2: Under Last Buffer First Serve the Number of Parts Stays Bounded, Eventually by (λc(ε)+γ)/(1−ρ−λε)Research Paper

Motivation

Semiconductor wafer fabrication lines are reentrant: a wafer returns to the same photolithography or etching station many times along its route, so the parts competing for a machine are at different stages of completion. In such a line, a local dispatching rule decides at every machine which waiting part goes next, and the question is whether a given rule keeps the line stable whenever there is enough capacity. Lu and Kumar (IEEE TAC 36(12), 1991) showed that the answer depends on the rule. Some natural buffer priority rules make the line unstable even when every machine has spare capacity (their Example 1; see also Kumar and Seidman 1990). Two rules are proved stable for every route: first buffer first serve (FBFS) and last buffer first serve (LBFS).

LBFS serves at each machine the waiting part that is closest to completion. It is the "pull" rule of the two, and the one closer to practice: it minimizes work in progress in many settings and coincides with earliest due date when parts arrive in due-date order. This mission formalizes the paper's LBFS results, §V. The sibling mission (FBFS, §IV) treats the other policy on the same model.

Timeline:

  • 1990: Kumar and Seidman exhibit instability of clearing policies on a reentrant line with spare capacity.
  • 1991: Lu and Kumar prove stability of FBFS (Theorem 1) and of LBFS (Theorems 2–3) under deterministic bursty arrivals. They also prove it for least slack and earliest due date (Theorem 4, Corollary 1), and show that a buffer priority policy can be unstable (Example 1).
  • 1996: Dai and Weiss prove stability of the fluid models of FBFS and LBFS on reentrant lines (Math. Oper. Res. 21(1)), which by Dai's fluid limit theorem gives positive Harris recurrence for the stochastic versions.

Setting

A nonacyclic flow line has SSS service centers; center σ\sigmaσ has mσ≥1m_\sigma \ge 1mσ​≥1 identical machines, each processing one part at a time. Every part follows the same route through buffers b1,…,blb_1, \dots, b_lb1​,…,bl​: in buffer bib_ibi​ it waits at center σi\sigma_iσi​, then needs τi>0\tau_i > 0τi​>0 units of uninterrupted processing on one machine of that center. A center may serve several buffers.

Parts are released into b1b_1b1​; part π\piπ is released at time α(π)\alpha(\pi)α(π) and exits at time e(π)e(\pi)e(π), when its service at blb_lbl​ ends. Finitely many parts may be present at time 000, in any buffer, some already in service. With u(t)u(t)u(t) the number of releases in [0,t][0,t][0,t], the arrivals are bursty with rate λ\lambdaλ and burst γ\gammaγ if

u(t)−u(s)≤λ(t−s)+γ(0≤s≤t).(1)u(t)-u(s)\le \lambda(t-s)+\gamma\qquad(0\le s\le t).\tag{1}u(t)−u(s)≤λ(t−s)+γ(0≤s≤t).(1)

The work per machine that one part brings to center σ\sigmaσ is wσ=∑i:σi=στi/mσw_\sigma=\sum_{i:\sigma_i=\sigma}\tau_i/m_\sigmawσ​=∑i:σi​=σ​τi​/mσ​, and the load is ρ=λw‾\rho=\lambda\overline wρ=λw with w‾=max⁡σwσ\overline w=\max_\sigma w_\sigmaw=maxσ​wσ​. The capacity condition is ρ<1\rho<1ρ<1 (3). Also τ‾=max⁡jτj\overline\tau=\max_j\tau_jτ=maxj​τj​, and w(k)w^{(k)}w(k) is the maximum per-machine work brought to a center by a part in bkb_kbk​, counting only buffers bk,…,blb_k,\dots,b_lbk​,…,bl​ (6).

Scheduling is nonidling (a machine idles only if every buffer of its center is empty) and nonpreemptive, and a machine takes the part at the head of a buffer. Under LBFS, a machine takes a part from bib_ibi​ only if every buffer bjb_jbj​ of its center with j>ij>ij>i is empty. The number of parts in the system at time ttt is x(t)x(t)x(t).

Formalization targets

Goal: Theorem 3, Stability of LBFS

Under (1) and (3), for every ε>0\varepsilon>0ε>0 with 1−ρ−λε>01-\rho-\lambda\varepsilon>01−ρ−λε>0,

x(t)≤max⁡{(1+ρ+λε)x(0)+λc(ε)+γ, 2(λc(ε)+γ)1−ρ−λε}(t≥0),x(t)\le\max\Big\{(1+\rho+\lambda\varepsilon)x(0)+\lambda c(\varepsilon)+\gamma,\ \frac{2(\lambda c(\varepsilon)+\gamma)}{1-\rho-\lambda\varepsilon}\Big\}\quad(t\ge0),x(t)≤max{(1+ρ+λε)x(0)+λc(ε)+γ, 1−ρ−λε2(λc(ε)+γ)​}(t≥0), lim sup⁡t→∞x(t)≤λc(ε)+γ1−ρ−λε.\limsup_{t\to\infty}x(t)\le\frac{\lambda c(\varepsilon)+\gamma}{1-\rho-\lambda\varepsilon}.t→∞limsup​x(t)≤1−ρ−λελc(ε)+γ​.

Here c(ε)c(\varepsilon)c(ε) is the explicit constant of the delay estimate. The paper prints the second bound as λc(ε)+γ/(1−ρ−λε)\lambda c(\varepsilon)+\gamma/(1-\rho-\lambda\varepsilon)λc(ε)+γ/(1−ρ−λε); its proof establishes the form above, which is the one posed.

Milestones

The delay estimate behind the goal, in the order of its proof:

  • the base case (8) for the last buffer;
  • the one-step comparison (11) with the part just ahead;
  • the induction claim (10) for every truncated line B(k)={bk,…,bl}B^{(k)}=\{b_k,\dots,b_l\}B(k)={bk​,…,bl​}: a part in B(k)B^{(k)}B(k) with xxx parts ahead exits within c(k)(ε)+(w(k)+ε)xc^{(k)}(\varepsilon)+(w^{(k)}+\varepsilon)xc(k)(ε)+(w(k)+ε)x;
  • Theorem 2, the contractive estimate
e(π)−α(π)≤c(ε)+(w‾+ε)x(ε>0),e(\pi)-\alpha(\pi)\le c(\varepsilon)+(\overline w+\varepsilon)x\qquad(\varepsilon>0),e(π)−α(π)≤c(ε)+(w+ε)x(ε>0),

for a part that finds xxx parts in the system on release.

Then the Pipeline Property e(π)−α(π)≤w‾x+o(x)e(\pi)-\alpha(\pi)\le\overline wx+o(x)e(π)−α(π)≤wx+o(x), order preservation (parts exit in the order they enter), and the recursion (14) for the number in system along successive exit times. A further item states that LBFS is stable in the sense of §II: every delay e(π)−α(π)e(\pi)-\alpha(\pi)e(π)−α(π) is bounded.

Significance

Theorem 2 says the delay of a part under LBFS grows with the number of parts ahead at rate w‾+ε\overline w+\varepsilonw+ε: the line behaves like a pipeline whose speed is set by its bottleneck center, although parts revisit centers. Theorem 3 converts this into a bound on work in progress that holds for all time, with an asymptotic bound that does not depend on the initial state. Together they give stability of LBFS for every route and every burst size, with explicit constants. This is a deterministic, sample-path result: no distributional assumption on arrivals is needed. Its constants are explicit, so they can be evaluated for a given line.

The results are proved in the paper; none is formalized. The mission produces a machine-checked model of a multi-server reentrant line with nonidling, nonpreemptive, head-of-buffer buffer-priority dispatch, together with Theorems 2 and 3 on it. The model carries over to the other policies of the paper (FBFS, least slack, earliest due date).

Difficulty

The obvious argument fails because under LBFS parts released later do interfere with a part π\piπ: they occupy machines nonpreemptively at the low-priority buffers π\piπ must still pass. So the delay of π\piπ cannot be bounded by the work ahead of it alone. The paper's estimate is an induction from the end of the line backwards over the truncated systems B(k)B^{(k)}B(k), nested with an induction on the position of π\piπ in its buffer. The constant c(k)(ε)c^{(k)}(\varepsilon)c(k)(ε) is recomputed at every level from c(k+1)(ε/2)c^{(k+1)}(\varepsilon/2)c(k+1)(ε/2), so ε\varepsilonε is halved at each level. A formal proof must also handle what the paper treats informally:

  • the order in which parts leave buffers when several arrive at the same instant;
  • parts already in service at time 000;
  • an empty system between busy periods.

Formalization scope

All declarations are in the namespace ReentrantScheduling.LBFS.

  • Buffers are 0-based in Lean: the paper's bib_ibi​ is index i−1i-1i−1.
  • A run lists its parts in a fixed line order: parts present at time 000 first (deeper buffers first, then earlier service start), then released parts by release time. This order breaks ties between simultaneous arrivals, and "parts ahead of π\piπ" means the parts in the system that precede π\piπ in it.
  • Service start times are in WithTop ℝ, with ⊤ meaning never, so a run need not serve every part, and the theorems assert that parts are served. A formalization with real-valued start times would assume every part is served, which is half of what stability asserts.
  • All counts (capacity, nonidling, (1), x(t)x(t)x(t)) are Set.encard, never Set.ncard, which would count an infinite set as 000 and make the capacity rule vacuous.
  • The constants c(k)(ε)c^{(k)}(\varepsilon)c(k)(ε) of (8)–(9) are explicit definitions that depend only on the line and ε\varepsilonε. A constant chosen after the run would let it depend on the arrivals or the initial state.
  • Theorem 3's bounds are inequalities in [0,∞][0,\infty][0,∞]; the lim sup is taken there, so it cannot be a junk value of an unbounded real function.
  • The standing assumptions of §II are hypotheses or part of the run predicate: nonidling, nonpreemptive, head-of-buffer service, mσ≥1m_\sigma\ge1mσ​≥1, l≥1l\ge1l≥1. The positivity τi>0\tau_i>0τi​>0 is pinned: the paper leaves it implicit.
  • Every theorem quantifies over all admissible LBFS runs. The empty run and nontrivial runs satisfy the hypotheses.

The model is reusable for other dispatch rules on reentrant lines. Proofs of any milestone are welcome, as are lemmas on admissible runs (FIFO within buffers, finiteness of x(t)x(t)x(t)).

Not posed here:

  • Example 1, which is already on the platform as QueueingStability.LuKumar.theorem31;
  • Theorem 4 and Corollary 1 (least slack, earliest due date), whose proof modifications the paper leaves to the reader;
  • Theorem 5 (several flow lines), whose proof is a sketch.

Selected references

  • S. H. Lu and P. R. Kumar, Distributed Scheduling Based on Due Dates and Buffer Priorities, IEEE Transactions on Automatic Control 36(12), 1406–1416, 1991. https://doi.org/10.1109/9.106156
  • P. R. Kumar and T. I. Seidman, Dynamic Instabilities and Stabilization Methods in Distributed Real-Time Scheduling of Manufacturing Systems, IEEE Transactions on Automatic Control 35(3), 289–298, 1990. https://doi.org/10.1109/9.50339
  • J. G. Dai and G. Weiss, Stability and Instability of Fluid Models for Reentrant Lines, Mathematics of Operations Research 21(1), 115–134, 1996. https://doi.org/10.1287/moor.21.1.115
10 thms1 active userReviewed
Control TheoryStochastic Systems·Captain: mikedeng1

Distributed Scheduling Based on Due Dates and Buffer Priorities 1: First Buffer First Serve Is Stable on Every Nonacyclic Flow Line Whose Bursty Arrival Rate Is Below CapacityResearch Paper

Motivation

Semiconductor wafer fabs are the standard example of a reentrant manufacturing line: a wafer visits the same lithography or etching station many times along a route of hundreds of steps, so each station holds parts at many different stages of completion and must decide, every time a machine frees up, which of them to serve next. Kumar (Re-entrant lines, Queueing Systems 13, 1993) singled these lines out as a third class of manufacturing systems besides flow shops and job shops, and stability of their scheduling policies became a central question in the analysis of queueing networks.

The question is sharp because the obvious conjecture is false. Kumar and Seidman (IEEE TAC 35(3), 1990) gave a deterministic network in which a distributed policy is unstable although every machine has spare capacity, and Lu and Kumar (IEEE TAC 36(12), 1991, Example 1, p. 1409) gave a two-station reentrant line in which a buffer priority policy is unstable at load below one. Their paper then identifies policies that are always stable: first buffer first serve (FBFS, Theorem 1), last buffer first serve (Theorem 3) and the due-date policies least slack and earliest due date (Theorem 4). This mission formalizes Theorem 1.

Timeline:

  • 1990: Kumar and Seidman exhibit instability of clear-a-fraction policies under load below one.
  • 1991: Lu and Kumar prove FBFS and LBFS stable on every nonacyclic flow line with deterministic bursty arrivals, and exhibit an unstable buffer priority policy.
  • 1995–1996: Dai (Ann. Appl. Probab. 5(1), 1995) reduces positive Harris recurrence of multiclass networks to stability of fluid models; Dai and Weiss (Math. Oper. Res. 21(1), 1996) prove the FBFS and LBFS fluid models of reentrant lines stable.

Setting

A nonacyclic flow line has SSS service centers; center σ\sigmaσ has mσ≥1m_\sigma\ge1mσ​≥1 identical machines in parallel, each working on one part at a time. Every part follows the same route: it visits buffers b1,b2,…,blb_1,b_2,\dots,b_lb1​,b2​,…,bl​ in order, buffer bib_ibi​ sits at center σi\sigma_iσi​, and a part in bib_ibi​ needs τi>0\tau_i>0τi​>0 time units of uninterrupted processing on one machine of σi\sigma_iσi​. The same center may appear many times along the route.

Parts enter at b1b_1b1​; part π\piπ is released at time α(π)\alpha(\pi)α(π). The releases are deterministic but may be bursty: with u(t)u(t)u(t) the number of parts released in [0,t][0,t][0,t],

u(t)−u(s)≤λ(t−s)+γfor all 0≤s≤t,(1)u(t)-u(s)\le\lambda(t-s)+\gamma\qquad\text{for all }0\le s\le t,\tag{1}u(t)−u(s)≤λ(t−s)+γfor all 0≤s≤t,(1)

for constants λ,γ≥0\lambda,\gamma\ge0λ,γ≥0. Each part brings wσ=∑i:σi=στi/mσw_\sigma=\sum_{i:\sigma_i=\sigma}\tau_i/m_\sigmawσ​=∑i:σi​=σ​τi​/mσ​ units of work per machine to center σ\sigmaσ, and the load is ρ=max⁡σλwσ\rho=\max_\sigma\lambda w_\sigmaρ=maxσ​λwσ​. The arrival rate is within capacity when ρ<1\rho<1ρ<1 (3). At time 000 the line may hold finitely many initial parts in arbitrary buffers, some of them already in service.

A schedule is nonidling (a machine idles only if every buffer of its center is empty), nonpreemptive (a started service runs to completion) and serves the part at the head of the chosen buffer. Under FBFS a free machine at center σ\sigmaσ takes a part from bib_ibi​ only if every buffer bjb_jbj​ of σ\sigmaσ with j<ij<ij<i is empty. With e(π)e(\pi)e(π) the time part π\piπ exits after its service at blb_lbl​, the schedule is stable if there is Γ≥0\Gamma\ge0Γ≥0 with

e(π)−α(π)≤Γfor all parts π.(4)e(\pi)-\alpha(\pi)\le\Gamma\qquad\text{for all parts }\pi.\tag{4}e(π)−α(π)≤Γfor all parts π.(4)

Γ\GammaΓ may depend on the initial state as well as on λ\lambdaλ.

Formalization targets

Goal: Theorem 1 (p. 1409)

For every line, every λ,γ≥0\lambda,\gamma\ge0λ,γ≥0 with ρ<1\rho<1ρ<1, and every admissible FBFS run whose releases satisfy (1),

∃ Γ≥0  ∀π:e(π)≤α(π)+Γ.\exists\,\Gamma\ge0\ \ \forall\pi:\quad e(\pi)\le\alpha(\pi)+\Gamma .∃Γ≥0  ∀π:e(π)≤α(π)+Γ.

The statement fixes no constant: Γ\GammaΓ is chosen after the run.

Milestones (proof of Theorem 1, pp. 1409–1410)

An interval [T1,T2][T_1,T_2][T1​,T2​] is an iii-busy period if at every instant some part waits in a buffer bjb_jbj​, j≤ij\le ij≤i, at center σi\sigma_iσi​. With τˉ=max⁡jτj\bar\tau=\max_j\tau_jτˉ=maxj​τj​, Γˉi=∑j<i(Γ(j)+τj)\bar\Gamma_i=\sum_{j<i}(\Gamma^{(j)}+\tau_j)Γˉi​=∑j<i​(Γ(j)+τj​) and

Γ(i)=[2τˉ+∑σj=σi, j≤iλτjΓˉi+γτjmσi][1−∑σj=σi, j≤iλτjmσi]−1,\Gamma^{(i)}=\Big[2\bar\tau+\sum_{\sigma_j=\sigma_i,\,j\le i}\frac{\lambda\tau_j\bar\Gamma_i+\gamma\tau_j}{m_{\sigma_i}}\Big]\Big[1-\sum_{\sigma_j=\sigma_i,\,j\le i}\frac{\lambda\tau_j}{m_{\sigma_i}}\Big]^{-1},Γ(i)=[2τˉ+σj​=σi​,j≤i∑​mσi​​λτj​Γˉi​+γτj​​][1−σj​=σi​,j≤i∑​mσi​​λτj​​]−1,
  1. a 1-busy period commencing at T1>0T_1>0T1​>0 has T2−T1≤Γ(1)T_2-T_1\le\Gamma^{(1)}T2​−T1​≤Γ(1);
  2. there are finite times T(i)T^{(i)}T(i) after which every iii-busy period has length at most Γ(i)\Gamma^{(i)}Γ(i);
  3. a part arriving at bjb_jbj​ after T(j)T^{(j)}T(j) leaves bjb_jbj​ within Γ(j)+τj\Gamma^{(j)}+\tau_jΓ(j)+τj​;
  4. a part released after T(l)T^{(l)}T(l) has delay at most ∑j=1l(Γ(j)+τj)\sum_{j=1}^l(\Gamma^{(j)}+\tau_j)∑j=1l​(Γ(j)+τj​).

Milestone 4 has an explicit bound independent of the initial state; the goal additionally covers the finitely many parts present or released during the transient.

Significance

Theorem 1 says that the simplest "push" discipline, always serving the earliest stage first, keeps every part's delay bounded on every reentrant line whose stations have spare capacity, for every initial state and every bursty but rate-limited release pattern. By Little's law it also bounds the work in process. Together with Example 1 it shows that stability is a property of the policy, not of the load condition alone, and it gave one of the first two positive results for a whole class of reentrant lines. The explicit constants Γ(i)\Gamma^{(i)}Γ(i) make the delay guarantee quantitative after the transient.

The result is proved in the paper. As far as the platform record shows it has not been formalized: the related platform items concern the fluid models of Dai and Weiss, which have no parts, no burstiness and no nonpreemption, and a fixed instance of Example 1. This mission produces a machine-checked sample-path model of reentrant lines under buffer priority policies and a checked proof of Theorem 1 with its explicit busy-period constants. The same model serves the sibling mission on LBFS (Theorem 3 of the paper).

Difficulty

A first idea is a work-conservation argument per center: total work arriving at σ\sigmaσ grows at rate ρ<1\rho<1ρ<1 per machine, so the center cannot fall behind. This fails because the work arriving at a center σ\sigmaσ from a later buffer bib_ibi​ depends on how fast the upstream centers have pushed parts to bib_ibi​, and an upstream center can release a burst that the downstream center absorbs only after other buffers have starved; Example 1 is exactly such a cascade under a different priority order. Any argument must therefore bound the delay of a part at a buffer in terms of delays it suffered upstream at other centers, uniformly in the initial state, while nonpreemption lets a part wait up to τˉ\bar\tauτˉ for a machine busy with a lower-priority buffer and the release constraint (1) controls only arrivals to b1b_1b1​, not to later buffers. On sample paths one must also show that the initial parts clear in finite time and that only finitely many parts are served in any bounded interval.

Formalization scope

Lean represents a line by a structure with SSS, mσ>0m_\sigma>0mσ​>0, l>0l>0l>0, the route center : Fin l → Fin S and processing times τ with τi>0\tau_i>0τi​>0. The positivity is a pinned hypothesis: the paper leaves it implicit, its proof divides by τ1\tau_1τ1​, and its only zero processing times are those of Example 1. Buffers are 0-based: the paper's bib_ibi​ is Lean index i−1i-1i−1. The load is written λwˉ\lambda\bar wλwˉ, equal to max⁡σλwσ\max_\sigma\lambda w_\sigmamaxσ​λwσ​ for λ≥0\lambda\ge0λ≥0.

A run is a type of parts with an injective line order, a finite set of initial parts, entry buffers, release times, and for each part and buffer the start of service in WithTop ℝ, ⊤\top⊤ meaning never served. Admissibility imposes, at every t≥0t\ge0t≥0: precedence (service begins after arrival, except that initial parts may be in service at time 000), capacity mσm_\sigmamσ​, nonidling, head of buffer with ties broken by the line order, and the priority rule. All counts use Set.encard. The theorems hold for every admissible run, not for one particular tie-breaking schedule. The constants Γ(i)\Gamma^{(i)}Γ(i) are definitions computed from the line and λ,γ\lambda,\gammaλ,γ; the times T(i)T^{(i)}T(i) are existential after the run.

Two trivializing formalizations are ruled out: start times in ℝ would make every part served by construction and stability half empty, and a capacity constraint stated with Set.ncard would be vacuous for infinitely many parts. Γ\GammaΓ never depends on the part. A sanity file exhibits a nontrivial admissible run satisfying (1) and checks that the empty run is admissible and stable.

The page prints Γ(i)\Gamma^{(i)}Γ(i) (p. 1410) as a product of the two brackets; the inequality it is solved from gives the quotient, which is also the printed form of Γ(1)\Gamma^{(1)}Γ(1), and the formalization uses the quotient.

The sample-path model (Line, Run, Admissible, Arrivals, Stable) is reusable for any buffer priority policy and for the LBFS mission. Contributions welcome: proofs of the milestones in the listed order, lemmas on finiteness of the parts served in bounded time, and interval-counting lemmas for busy periods. Not posed here: Example 1, which is already on the platform as an open problem (QueueingStability.LuKumar.theorem31), Theorems 2–3 (LBFS, sibling mission), Theorems 4–5 and Corollary 1 (due-date policies, several flow lines).

Selected references

  • S. H. Lu and P. R. Kumar, Distributed Scheduling Based on Due Dates and Buffer Priorities, IEEE Transactions on Automatic Control 36(12), 1991, pp. 1406–1416. https://doi.org/10.1109/9.106156
  • P. R. Kumar and T. I. Seidman, Dynamic instabilities and stabilization methods in distributed real-time scheduling of manufacturing systems, IEEE Transactions on Automatic Control 35(3), 1990, pp. 289–298. https://doi.org/10.1109/9.50339
  • P. R. Kumar, Re-entrant lines, Queueing Systems 13, 1993, pp. 87–110. https://doi.org/10.1007/BF01158927
  • J. G. Dai, On positive Harris recurrence of multiclass queueing networks: a unified approach via fluid limit models, Annals of Applied Probability 5(1), 1995, pp. 49–77. https://doi.org/10.1214/aoap/1177004828
  • J. G. Dai and G. Weiss, Stability and instability of fluid models for reentrant lines, Mathematics of Operations Research 21(1), 1996, pp. 115–134. https://doi.org/10.1287/moor.21.1.115
7 thms1 active userReviewed
OptimizationProbability·Captain: mikedeng1

Monte Carlo Bounding Techniques for Determining Solution Quality in Stochastic Programs: The Expected Sample-Average Optimal Value Is a Lower Bound on z* That Improves with Sample SizeResearch Paper

Motivation

Most stochastic programs that arise in practice, such as two-stage stochastic linear programs with recourse, have far too many scenarios to be solved exactly. The standard remedy is sample-average approximation: draw nnn independent observations of the random data, replace the expectation by the sample mean, and solve the resulting deterministic problem. A candidate solution x^\hat xx^ found this way, or by any heuristic, comes with no guarantee. To judge it one needs a bound on its optimality gap Ef(x^,ξ~)−z∗Ef(\hat x,\tilde\xi)-z^*Ef(x^,ξ~​)−z∗, and estimating Ef(x^,ξ~)Ef(\hat x,\tilde\xi)Ef(x^,ξ~​) is routine; what is missing is a lower bound on the unknown optimal value z∗z^*z∗.

Mak, Morton and Wood (Oper. Res. Lett. 24 (1999)) show that the optimal value of the sample-average problem supplies exactly this: its expectation never exceeds z∗z^*z∗, and it can only move closer to z∗z^*z∗ as the sample size grows. The result requires almost no structure of the problem, and it underlies the batch-means confidence intervals on the optimality gap used throughout the stochastic programming literature, including the single- and two-replication procedures of Bayraksan and Morton (2006).

Timeline.

  • 1960: Madansky's wait-and-see bound z∗≥Emin⁡x∈Xf(x,ξ~)z^*\ge E\min_{x\in X}f(x,\tilde\xi)z∗≥Eminx∈X​f(x,ξ~​) (Management Sci. 6), the case n=1n=1n=1 of the result.
  • 1998: Norkin, Pflug and Ruszczyński use stochastic lower bounds of this kind inside a branch-and-bound method (Math. Programming 83); the paper notes that they verified the monotonicity independently.
  • 1999: Mak, Morton and Wood prove Ezn∗≤z∗Ez_n^*\le z^*Ezn∗​≤z∗ (Theorem 1) for arbitrary XXX and Ezn∗≤Ezn+1∗Ez_n^*\le Ez_{n+1}^*Ezn∗​≤Ezn+1∗​ (Theorem 2), and build confidence intervals on the optimality gap from them.

Setting

Let ξ~\tilde\xiξ~​ be a random vector with distribution μ\muμ on a measurable space Ξ\XiΞ, let X⊆RdX\subseteq\mathbb R^dX⊆Rd be a deterministic feasible set, and let f:Rd×Ξ→Rf:\mathbb R^d\times\Xi\to\mathbb Rf:Rd×Ξ→R. The stochastic program is

SPz∗=min⁡x∈XEf(x,ξ~),x∗∈arg⁡min⁡x∈XEf(x,ξ~).\mathrm{SP}\qquad z^*=\min_{x\in X}Ef(x,\tilde\xi),\qquad x^*\in\arg\min_{x\in X}Ef(x,\tilde\xi).SPz∗=x∈Xmin​Ef(x,ξ~​),x∗∈argx∈Xmin​Ef(x,ξ~​).

Let ξ~1,ξ~2,…\tilde\xi^1,\tilde\xi^2,\dotsξ~​1,ξ~​2,… be independent and identically distributed (i.i.d.) from the distribution of ξ~\tilde\xiξ~​, defined on a probability space (Ω,P)(\Omega,P)(Ω,P). The sample-average problem of size n≥1n\ge1n≥1 is

SPnzn∗=min⁡x∈X1n∑i=1nf(x,ξ~i),xn∗∈arg⁡min⁡x∈X1n∑i=1nf(x,ξ~i).\mathrm{SP}_n\qquad z_n^*=\min_{x\in X}\frac1n\sum_{i=1}^n f(x,\tilde\xi^i),\qquad x_n^*\in\arg\min_{x\in X}\frac1n\sum_{i=1}^n f(x,\tilde\xi^i).SPn​zn∗​=x∈Xmin​n1​i=1∑n​f(x,ξ~​i),xn∗​∈argx∈Xmin​n1​i=1∑n​f(x,ξ~​i).

Its optimal value zn∗z_n^*zn∗​ is a random variable. All the zm∗z_m^*zm∗​ are built on the same sequence: zn∗z_n^*zn∗​ uses its first nnn terms and zn+1∗z_{n+1}^*zn+1∗​ its first n+1n+1n+1. Throughout, Ef(x,ξ~)Ef(x,\tilde\xi)Ef(x,ξ~​) is assumed to exist for every x∈Xx\in Xx∈X.

For the proof structure the mission also uses the leave-one-out values

zn,(i)∗=min⁡x∈X1n∑j=1j≠in+1f(x,ξ~j),i=1,…,n+1,z_{n,(i)}^*=\min_{x\in X}\frac1n\sum_{\substack{j=1\\j\ne i}}^{n+1}f(x,\tilde\xi^j),\qquad i=1,\dots,n+1,zn,(i)∗​=x∈Xmin​n1​j=1j=i​∑n+1​f(x,ξ~​j),i=1,…,n+1,

the sample-average optimal values of the n+1n+1n+1 subsamples of size nnn of the first n+1n+1n+1 observations.

Formalization targets

Goal: the lower bound improves with the sample size

Ezn∗ ≤ Ezn+1∗ ≤ z∗(n≥1),Ez_n^*\ \le\ Ez_{n+1}^*\ \le\ z^*\qquad(n\ge1),Ezn∗​ ≤ Ezn+1∗​ ≤ z∗(n≥1),

stated in the Introduction (p. 48) as the paper's main claim, with no assumption on XXX or on f(⋅,ξ~)f(\cdot,\tilde\xi)f(⋅,ξ~​) beyond the existence of the relevant expectations and of optimal solutions.

Milestones

  1. Theorem 1 (p. 49): Ezn∗≤z∗Ez_n^*\le z^*Ezn∗​≤z∗.
  2. Proof of Theorem 2 (p. 50), pathwise: 1n+1∑i=1n+1zn,(i)∗≤zn+1∗\frac1{n+1}\sum_{i=1}^{n+1}z_{n,(i)}^*\le z_{n+1}^*n+11​∑i=1n+1​zn,(i)∗​≤zn+1∗​.
  3. Proof of Theorem 2 (p. 50): Ezn,(i)∗=Ezn∗E z_{n,(i)}^*=Ez_n^*Ezn,(i)∗​=Ezn∗​ for every iii.
  4. Theorem 2 (p. 50): Ezn+1∗≥Ezn∗Ez_{n+1}^*\ge Ez_n^*Ezn+1∗​≥Ezn∗​.

Companion statements

  • The remark after Theorem 1 (p. 49): Emin⁡x∈XF(x,⋅)≤z∗E\min_{x\in X}\mathcal F(x,\cdot)\le z^*Eminx∈X​F(x,⋅)≤z∗ for any unbiased estimator F(x,⋅)\mathcal F(x,\cdot)F(x,⋅) of Ef(x,ξ~)Ef(x,\tilde\xi)Ef(x,ξ~​).
  • The wait-and-see bound (p. 50), z∗≥Emin⁡x∈Xf(x,ξ~)z^*\ge E\min_{x\in X}f(x,\tilde\xi)z∗≥Eminx∈X​f(x,ξ~​).
  • Display (9) (p. 52): for x^∈X\hat x\in Xx^∈X and Gn=1n∑if(x^,ξ~i)−zn∗G_n=\frac1n\sum_i f(\hat x,\tilde\xi^i)-z_n^*Gn​=n1​∑i​f(x^,ξ~​i)−zn∗​, Gn≥0G_n\ge0Gn​≥0 and EGn≥Ef(x^,ξ~)−z∗EG_n\ge Ef(\hat x,\tilde\xi)-z^*EGn​≥Ef(x^,ξ~​)−z∗.

Significance

Theorem 1 turns any sampling-based solver into a source of statistical lower bounds on z∗z^*z∗: averaging independent replications of zn∗z_n^*zn∗​ gives a confidence interval for a lower bound, and display (9) combines it with an upper-bound estimator into an estimator of the optimality gap that is nonnegative by construction. Theorem 2 justifies increasing the sample size: the bias z∗−Ezn∗z^*-Ez_n^*z∗−Ezn∗​ is nonincreasing in nnn. Both results are used, often without proof, in the analysis of sample-average approximation and of the gap-estimation procedures built on it.

The results are proved, in this paper and in textbooks (e.g. Shapiro, Dentcheva and Ruszczyński, Lectures on Stochastic Programming). To our knowledge none of them is machine-checked. On Prove2Me, a special case of Theorem 1 under continuity, compactness and a square-integrable envelope is posed but unproved (SolutionQuality.SRP.display1_negative_bias), and the wait-and-see inequality is proved for finitely many scenarios in an extended-real model (StochasticProg.ValueOfInfo.prop1_ws_le_rp_le_eev). This mission states the general versions, for arbitrary feasible sets and integrable costs, on a measure-theoretic i.i.d. model.

Difficulty

Theorem 1 is short on paper; in a formal setting its difficulty is bookkeeping: minima over arbitrary sets and expectations of possibly non-integrable functions both need explicit hypotheses to mean what the paper means. Theorem 2 is harder. The natural first attempt compares zn∗z_n^*zn∗​ and zn+1∗z_{n+1}^*zn+1∗​ on the same sample path, but no pathwise inequality holds in either direction: one extra observation can raise or lower the sample-average optimum. The monotonicity holds only in expectation, so any argument must use the joint law of the infinite i.i.d. sequence, including the law of its subsequences, and measurability of zn∗z_n^*zn∗​ as a function of the sample path.

Formalization scope

The model is the published definition file SolutionQuality.SRP.Setting: decisions lie in EuclideanSpace ℝ (Fin d), μ\muμ is a probability measure on Ξ\XiΞ, the sample is an i.i.d. sequence ξ : ℕ → Ω → Ξ (the paper's ξ~i\tilde\xi^iξ~​i is ξ (i-1)), and z∗z^*z∗, zn∗z_n^*zn∗​, GnG_nGn​ and the optimality gap are its optValue, saaValue, gapEstimate and optGap. The mission adds skipIndex, the leave-one-out value looValue and the path law pathLaw.

Committed conventions:

  • XXX is an arbitrary set: no convexity, closedness or compactness, and f(⋅,ξ)f(\cdot,\xi)f(⋅,ξ) has no continuity (p. 49: "X need not be convex …").
  • Minima are conditionally complete infima (sInf), and expectations are Bochner integrals. Both take the value 000 on bad inputs, so every statement carries the hypotheses that keep them genuine:
    • integrability of f(x,⋅)f(x,\cdot)f(x,⋅) for x∈Xx\in Xx∈X (the first-moment half of the paper's standing assumption; the second moments are not used and are omitted);
    • attainment of z∗z^*z∗ (the paper's x∗∈arg⁡min⁡x^*\in\arg\minx∗∈argmin);
    • almost-sure attainment of every SPm\mathrm{SP}_mSPm​ (the paper's xm∗∈arg⁡min⁡x_m^*\in\arg\minxm∗​∈argmin), stated for the law of the sample path, or almost-sure boundedness below where that suffices;
    • integrability of zn∗z_n^*zn∗​ and zn+1∗z_{n+1}^*zn+1∗​ ("Ezn∗Ez_n^*Ezn∗​ exists");
    • measurability of zn∗z_n^*zn∗​ as a function of the sample path ("zn∗z_n^*zn∗​ is a random variable"), for Theorem 2 only. It holds, e.g., for countable XXX or for f(⋅,ξ)f(\cdot,\xi)f(⋅,ξ) continuous on XXX; it fails for arbitrary XXX and fff, which is why it is assumed.
  • n≥1n\ge1n≥1 throughout, since the empty sample mean is 000.

These hypotheses are disclosed in each statement and are satisfiable: a sanity instance with XXX a singleton satisfies all of them. A formalization that dropped the integrability of zn∗z_n^*zn∗​, or that allowed z0∗z_0^*z0∗​, would make the goal false or vacuous, and one that assumed continuity and compactness would restate the special case already on the platform; neither is in scope.

A complete development needs: the expectation of a sample mean under an i.i.d. law; the identification of the law of fun j => ξ (skipIndex i j) · with Measure.infinitePi (fun _ => μ) (Mathlib's iIndepFun_iff_map_fun_eq_infinitePi_map); and the averaging identity behind the leave-one-out decomposition. The reindexing lemma for i.i.d. sequences is reusable well beyond this mission. Proofs of the milestones, and alternative arguments for Theorem 2, are welcome.

Selected references

  • W.-K. Mak, D. P. Morton, R. K. Wood, Monte Carlo bounding techniques for determining solution quality in stochastic programs, Operations Research Letters 24 (1999) 47–56. https://doi.org/10.1016/S0167-6377(98)00054-6
  • A. Madansky, Inequalities for stochastic linear programming problems, Management Science 6 (1960) 197–204. https://doi.org/10.1287/mnsc.6.2.197
  • V. I. Norkin, G. Ch. Pflug, A. Ruszczyński, A branch and bound method for stochastic global optimization, Mathematical Programming 83 (1998) 425–450. https://doi.org/10.1007/BF02680569
  • G. Bayraksan, D. P. Morton, Assessing solution quality in stochastic programs, Mathematical Programming 108 (2006) 495–514. https://doi.org/10.1007/s10107-006-0720-x
  • A. Shapiro, D. Dentcheva, A. Ruszczyński, Lectures on Stochastic Programming: Modeling and Theory, SIAM, 2009. https://doi.org/10.1137/1.9780898718751
7 thms1 active userReviewed
Control TheoryDynamical Systems·Captain: mikedeng1

Dynamic Instabilities and Stabilization Methods in Distributed Real-Time Scheduling of Manufacturing Systems 2: Stable and Unstable Modes Coexist Under Clearing on a Two-Part-Type SystemResearch Paper

Motivation

Flexible manufacturing systems are often scheduled by simple distributed rules: each machine looks only at its own buffers and decides, in real time, which part type to work on next. Switching from one part type to another costs a set-up time during which the machine produces nothing, so a natural rule is to work on a buffer until it is empty and only then switch. Perkins and Kumar (IEEE Trans. Automat. Control 34, 1989; reference [18] of the paper) showed that such clearing policies, and in particular clear-a-fraction policies, keep every buffer bounded on acyclic systems whenever each machine has spare capacity. Whether the same holds when material flows around a cycle of machines was left open.

Kumar and Seidman (IEEE TAC 35(3), 1990) answered it negatively by two examples. Example 1 is a single re-entrant part type. Example 2, the subject of this mission, has two part types, neither of which ever revisits a machine, and shows two further phenomena: instability without re-entrance, and the coexistence, for one and the same system, of a bounded periodic regime and an unbounded one, selected only by the initial state.

Setting

A manufacturing system has part types ppp arriving at rates dpd_pdp​ and machines mmm. Parts of type ppp follow a fixed route; at stage iii they wait in buffer bp,ib_{p,i}bp,i​ at machine μp,i\mu_{p,i}μp,i​, and processing one of them takes τp,i\tau_{p,i}τp,i​. Switching a machine from buffer bbb to buffer b′b'b′ takes the set-up time δb,b′\delta_{b,b'}δb,b′​. Flows are continuous: xb(t)x_b(t)xb​(t) is the level of buffer bbb, ub(t)u_b(t)ub​(t) and yb(t)y_b(t)yb​(t) are its cumulative input and output, and

xb(t)=xb(0)+ub(t)−yb(t)≥0.x_b(t)=x_b(0)+u_b(t)-y_b(t)\ge 0 .xb​(t)=xb​(0)+ub​(t)−yb​(t)≥0.

A machine works in runs: a set-up for a buffer, then processing it at rate 1/τb1/\tau_b1/τb​ while it is nonempty, and at the rate of its inflow while it is empty. A clearing policy (Definition 1) keeps a machine on a buffer bbb until the first time that bbb is empty and another of its buffers is nonempty, and then sets it up for one of those. The system is stable if sup⁡0≤t<∞xb(t)<∞\sup_{0\le t<\infty}x_b(t)<\inftysup0≤t<∞​xb​(t)<∞ for every buffer bbb.

Example 2 (Fig. 3) has two part types with d1=d2=1d_1=d_2=1d1​=d2​=1 and two machines. Part type 1 visits buffer 1 at machine 1 and then buffer 2 at machine 2; part type 2 visits buffer 3 at machine 2 and then buffer 4 at machine 1. Processing times are τ1,…,τ4\tau_1,\dots,\tau_4τ1​,…,τ4​ and setting up to buffer kkk takes δk>0\delta_k>0δk​>0. The parameters satisfy the capacity condition (1), τ1+τ4<1\tau_1+\tau_4<1τ1​+τ4​<1 and τ2+τ3<1\tau_2+\tau_3<1τ2​+τ3​<1, and

τ2+τ4>1,δ1+δ41−τ1−τ4=δ2+δ31−τ2−τ3=:η,δ4<(1−τ3−τ4)η,δ2<(1−τ1−τ2)η,\tau_2+\tau_4>1,\qquad \frac{\delta_1+\delta_4}{1-\tau_1-\tau_4}=\frac{\delta_2+\delta_3}{1-\tau_2-\tau_3}=:\eta,\qquad \delta_4<(1-\tau_3-\tau_4)\eta,\qquad \delta_2<(1-\tau_1-\tau_2)\eta,τ2​+τ4​>1,1−τ1​−τ4​δ1​+δ4​​=1−τ2​−τ3​δ2​+δ3​​=:η,δ4​<(1−τ3​−τ4​)η,δ2​<(1−τ1​−τ2​)η,

conditions (7)–(10). The paper's feasible instance is (τ1,τ2,τ3,τ4,δ1,δ2,δ3,δ4)=(14,12,14,23,130,15,120,120)(\tau_1,\tau_2,\tau_3,\tau_4,\delta_1,\delta_2,\delta_3,\delta_4)=(\tfrac14,\tfrac12,\tfrac14,\tfrac23,\tfrac1{30},\tfrac15,\tfrac1{20},\tfrac1{20})(τ1​,τ2​,τ3​,τ4​,δ1​,δ2​,δ3​,δ4​)=(41​,21​,41​,32​,301​,51​,201​,201​), with η=1\eta=1η=1. For this system there is exactly one clearing policy.

Formalization targets

Goal: stable and unstable modes coexist

For every parameter set satisfying (1) and (7)–(10):

from x(0)=(0,η,0,η), set-ups (b1,b3): a clearing trajectory exists, and every one is bounded;∃ ξ0 ∀ ξ≥ξ0, from x(0)=(ξ,0,0,0), set-ups (b4,b3): a clearing trajectory exists, and every one has sup⁡t≥0x1(t)=+∞.\begin{aligned} &\text{from } x(0)=(0,\eta,0,\eta),\ \text{set-ups } (b_1,b_3):\ \text{a clearing trajectory exists, and every one is bounded;}\\ &\exists\,\xi_0\ \forall\,\xi\ge\xi_0,\ \text{from } x(0)=(\xi,0,0,0),\ \text{set-ups } (b_4,b_3):\ \text{a clearing trajectory exists, and every one has } \sup_{t\ge0}x_1(t)=+\infty . \end{aligned}​from x(0)=(0,η,0,η), set-ups (b1​,b3​): a clearing trajectory exists, and every one is bounded;∃ξ0​ ∀ξ≥ξ0​, from x(0)=(ξ,0,0,0), set-ups (b4​,b3​): a clearing trajectory exists, and every one has t≥0sup​x1​(t)=+∞.​

Milestones

  1. Case 1, periodic regime: under (1) and (8)–(10), every clearing trajectory from (0,η,0,η)(0,\eta,0,\eta)(0,η,0,η), (b1,b3)(b_1,b_3)(b1​,b3​) satisfies x(η)=(0,η,0,η)x(\eta)=(0,\eta,0,\eta)x(η)=(0,η,0,η) with the same set-ups.
  2. Case 2, Stage 8: under (1) and (7), for large ξ\xiξ, with t9=(ξ+τ2−1(δ1+δ2))/(τ2−1−1)t_9=(\xi+\tau_2^{-1}(\delta_1+\delta_2))/(\tau_2^{-1}-1)t9​=(ξ+τ2−1​(δ1​+δ2​))/(τ2−1​−1): x(t9)=(0,0,t9−δ1,0)x(t_9)=(0,0,t_9-\delta_1,0)x(t9​)=(0,0,t9​−δ1​,0), machine 1 set up for buffer 1, machine 2 for buffer 2.
  3. Case 2, full cycle: under (1) and (7), for large ξ\xiξ, at an explicit time t17t_{17}t17​, x(t17)=(λξ+α,0,0,0)x(t_{17})=(\lambda\xi+\alpha,0,0,0)x(t17​)=(λξ+α,0,0,0) with set-ups (b4,b3)(b_4,b_3)(b4​,b3​), where λ=τ2τ4/((1−τ2)(1−τ4))>1\lambda=\tau_2\tau_4/((1-\tau_2)(1-\tau_4))>1λ=τ2​τ4​/((1−τ2​)(1−τ4​))>1.

Significance

The result shows that stability of a scheduling policy is a property of the initial state as well as of the system: the same parameters admit a bounded periodic orbit and an orbit along which the backlog of buffer 1 is multiplied by λ>1\lambda>1λ>1 in every cycle. The capacity condition (1) holds throughout, so the instability does not come from overload: spare capacity is lost because one machine starves the other. The example also shows that a cycle in the machine graph suffices, without any part type revisiting a machine. Sections IV and V of the paper respond to this by giving a stronger capacity condition under which clear-a-fraction policies are stable, and a supervisory mechanism that stabilizes any policy.

The paper's argument is a stage-by-stage computation of a piecewise-linear trajectory. It has not been machine-checked. A formalization fixes what a clearing trajectory is (including the switching instants at which a buffer is empty but just starting to fill), proves that the trajectories exist and are determined by the initial state, and checks the paper's closed forms. One printed constant is wrong: the offset α\alphaα of the full cycle lacks a final −δ3-\delta_3−δ3​, and the milestone states the corrected value.

Difficulty

The computations within each stage are linear algebra. The difficulty is the event structure. Every stage depends on the order in which the two machines' events occur: whether machine 1 clears buffer 1 before machine 2 has finished its set-ups, whether buffer 2 is still nonempty when buffer 1 empties, and so on. These orderings hold only for ξ\xiξ large, or only because (8) holds with equality and (9)–(10) hold strictly. The periodic regime depends on exact synchronization. In Case 2, a machine processing an empty buffer at the reduced rate must not be forced off it while its other buffer is empty and not yet fed. A proof must also establish existence of each trajectory, not only compute it.

Formalization scope

  • Model. The general system has part types Fin P, machines Fin M, buffers as pairs (p,i)(p,i)(p,i) with Lean index iii for paper stage i+1i+1i+1, real time, and no transport delay or assembly (as in the paper). Example 2 is an instance of this general model, with machines 1, 2 as Lean 0, 1.
  • Runs. Each machine follows a sequence of runs. Run 0 is on the initial set-up and has no set-up phase. Run k≥1k\ge1k≥1 has a set-up phase of length δβk−1,βk\delta_{\beta_{k-1},\beta_k}δβk−1​,βk​​, followed by a processing phase. Runs are never cut during a set-up. If there are infinitely many runs, their start times tend to ∞\infty∞. There is no idling outside runs: a machine serving an empty buffer passes on its inflow.
  • Set-up times. They depend only on the target buffer, and δb,b=0\delta_{b,b}=0δb,b​=0 is never used.
  • Processing law. The rate cap is yb(t)−yb(s)≤(1/τb)⋅y_b(t)-y_b(s)\le(1/\tau_b)\cdotyb​(t)−yb​(s)≤(1/τb​)⋅(processing time of bbb in [s,t][s,t][s,t]). Rate is exactly 1/τb1/\tau_b1/τb​ while the machine is processing a nonempty buffer.
  • Clearing. "Nonempty" in Definition 1 is read as demanding: positive level, or cumulative input strictly increasing from that instant. Under the literal reading the paper's own switching instants would not be "first times", and no clearing trajectory would exist from these initial states. The no-early-exit condition is imposed on the open processing interval.
  • Set up for bbb at ttt. At t>0t>0t>0 this refers to the run whose interval (sk,sk+1](s_k,s_{k+1}](sk​,sk+1​] contains ttt.
  • Ruling out trivial formalizations. The goal asserts existence of a clearing trajectory in both modes, so neither "every trajectory is bounded" nor "every trajectory is unbounded" can hold vacuously. η\etaη is computed from the data rather than pinned by hypotheses, and (8) is an equality.

Contributions welcome: existence and uniqueness of clearing trajectories for the two-machine instance, the event-ordering lemmas for large ξ\xiξ, the restart (time-shift) property of trajectories, and the three milestones.

Selected references

  • P. R. Kumar and T. I. Seidman, Dynamic instabilities and stabilization methods in distributed real-time scheduling of manufacturing systems, IEEE Transactions on Automatic Control 35(3):289–298, 1990. https://doi.org/10.1109/9.50339
  • J. R. Perkins and P. R. Kumar, Stable, distributed, real-time scheduling of flexible manufacturing/assembly/disassembly systems, IEEE Transactions on Automatic Control 34:139–148, February 1989 (reference [18] of the paper).
8 thms1 active userReviewed
CombinatoricsTheoretical Computer Science·Captain: mikedeng1

Flowshop and Jobshop Schedules: Complexity and Approximation 3: The Partition Job Shop on Two Machines Has a Schedule of Finish Time 5T, Preemptive or Not, Iff a Partition ExistsResearch Paper

Motivation

A job shop is the basic model of a factory floor in which every job follows its own route through the machines. Minimizing the time at which the last job is finished (the finish time, or makespan) is one of the central problems of deterministic scheduling theory, and the question of which special cases admit efficient algorithms has organized much of the field since the 1950s.

For two machines the picture is sharp. Jackson (1956) showed that a two-machine job shop in which every job has at most two operations is solved by a simple rule extending Johnson's flow-shop algorithm (Jackson, Naval Research Logistics Quarterly 3, 1956; Conway, Maxwell and Miller, Theory of Scheduling, 1967, p. 105). Once a single job may have three operations, the non-preemptive problem becomes NP-complete: Lenstra, Rinnooy Kan and Brucker showed this for n−1n-1n−1 jobs with one nonzero task each and one job with three (Annals of Discrete Mathematics 1, 1977; a 1975 Mathematisch Centrum report is the paper's reference [1]). Gonzalez and Sahni (Operations Research 26(1), 1978) extended this boundary to preemptive schedules, in which a task may be interrupted and resumed later: even then the two-machine problem is NP-complete, already when only two jobs have three nonzero tasks. This mission formalizes that reduction, Lemma 5 together with Corollary 2 of their paper.

Timeline:

  • 1956: Jackson, two-machine job shop with at most two operations per job, solved in O(nlog⁡n)O(n\log n)O(nlogn).
  • 1975/1977: Lenstra, Rinnooy Kan and Brucker, the non-preemptive two-machine job shop NP-complete with n−1n-1n−1 one-task jobs and one three-task job.
  • 1976: Garey, Johnson and Sethi, the non-preemptive two-machine job shop NP-complete even when problem size is measured by the sum of the task lengths (Mathematics of Operations Research 1, 1976).
  • 1978: Gonzalez and Sahni, the preemptive two-machine job shop NP-complete (Lemmas 5 and 6), and the non-preemptive case again by the same reduction (Corollary 2).

Setting

A job shop has processors P1,…,PmP_1, \dots, P_mP1​,…,Pm​ and jobs 1,…,n1, \dots, n1,…,n. Job iii is a finite sequence of tasks; task jjj of job iii must be processed on a given processor kkk for tk,i,j≥0t_{k,i,j} \ge 0tk,i,j​≥0 time units, and for every job, task j≥2j \ge 2j≥2 can begin only after task j−1j-1j−1 has been completed. Schedules start at time 000. A preemptive schedule assigns to every task a finite set of time intervals [s,f)[s, f)[s,f) on its processor, of total length tk,i,jt_{k,i,j}tk,i,j​, such that intervals on the same processor do not overlap and every interval of task jjj begins after task j−1j-1j−1 of the same job is completed. A non-preemptive schedule processes each task in a single interval. If fi(S)f_i(S)fi​(S) is the time at which job iii is completed, the finish time is FT(S)=max⁡ifi(S)\mathrm{FT}(S) = \max_i f_i(S)FT(S)=maxi​fi​(S).

PARTITION: a multiset {a1,…,an}\{a_1, \dots, a_n\}{a1​,…,an​} of nonnegative integers has a partition if some index set uuu satisfies ∑i∈uai=12∑i=1nai\sum_{i \in u} a_i = \tfrac12 \sum_{i=1}^n a_i∑i∈u​ai​=21​∑i=1n​ai​.

From a1,…,ana_1, \dots, a_na1​,…,an​, with T=∑iaiT = \sum_i a_iT=∑i​ai​, the paper builds the two-processor job shop JS\mathrm{JS}JS with n+2n+2n+2 jobs:

  • job i≤ni \le ni≤n: tasks (P2,ai)(P_2, a_i)(P2​,ai​), (P1,ai)(P_1, a_i)(P1​,ai​);
  • job n+1n+1n+1: tasks (P1,T/2)(P_1, T/2)(P1​,T/2), (P2,T/2)(P_2, T/2)(P2​,T/2), (P1,3T)(P_1, 3T)(P1​,3T);
  • job n+2n+2n+2: tasks (P2,3T)(P_2, 3T)(P2​,3T), (P1,T/2)(P_1, T/2)(P1​,T/2), (P2,T/2)(P_2, T/2)(P2​,T/2).

Each processor carries load exactly 5T5T5T. In Lean, the instance is JS a : JobShopLTAS.Core.Instance 2 (n + 2), a schedule is S : Schedule (JS a) (a finite set of pieces), and the predicates are S.IsPreemptive, S.IsNonPreemptive and S.FinishedBy (5 * T a).

Formalization targets

Goal: Lemma 5 and Corollary 2

For every nnn and every a:Fin n→Na : \mathrm{Fin}\,n \to \mathbb Na:Finn→N,

(∃ S preemptive, FT(S)≤5T)  ⟺  Partition(a)and(∃ S non-preemptive, FT(S)≤5T)  ⟺  Partition(a).\bigl(\exists\, S \text{ preemptive},\ \mathrm{FT}(S) \le 5T\bigr) \iff \mathrm{Partition}(a) \quad\text{and}\quad \bigl(\exists\, S \text{ non-preemptive},\ \mathrm{FT}(S) \le 5T\bigr) \iff \mathrm{Partition}(a).(∃S preemptive, FT(S)≤5T)⟺Partition(a)and(∃S non-preemptive, FT(S)≤5T)⟺Partition(a).

Milestones

  1. Lemma 5(a): a partition yields a non-preemptive schedule of finish time exactly 5T5T5T (the paper's Figure 3).
  2. Observations (i)–(ii) in the proof of Lemma 5(b): in any preemptive schedule with FT≤5T\mathrm{FT} \le 5TFT≤5T, task t2,n+1,2t_{2,n+1,2}t2,n+1,2​ is completed by 2T2T2T and t2,n+2,1t_{2,n+2,1}t2,n+2,1​ by 4T4T4T; no part of t1,n+1,3t_{1,n+1,3}t1,n+1,3​ runs before TTT and no part of t1,n+2,2t_{1,n+2,2}t1,n+2,2​ before 3T3T3T.
  3. Lemma 5(b): without a partition, every preemptive schedule has FT>5T\mathrm{FT} > 5TFT>5T.
  4. Lemma 5: the preemptive equivalence.
  5. Corollary 2: the non-preemptive equivalence.

Significance

The result places the boundary of tractability for two-machine job shops exactly: at most two operations per job is solvable in O(nlog⁡n)O(n\log n)O(nlogn), while two jobs with three operations make the problem NP-complete, and allowing preemption does not help. The same instance serves both schedule types, because its optimum is 5T5T5T in either model exactly when a partition exists.

The theorem is classical and fully proved on paper; no machine-checked proof is known to exist. Formalizing it requires a precise model of preemptive schedules, which the paper treats informally, and makes explicit an argument (the "no idle time" step of Lemma 5(b)) that the paper compresses into a few sentences. The schedule model built here is shared with the other job-shop missions of this series.

Difficulty

Direction (a) is a concrete schedule and is bookkeeping. Direction (b) is the substance. The tempting argument "each processor has load 5T5T5T, so a schedule of finish time 5T5T5T has no idle time, hence some set of short jobs fills exactly [0,T/2][0, T/2][0,T/2] on P2P_2P2​" is incomplete for preemptive schedules: the short jobs may be split into many pieces spread over the whole horizon, and UUU, the set of short jobs that touch P1P_1P1​ during [0,T][0, T][0,T], is defined by pieces rather than by whole tasks. Making the counting argument rigorous requires measuring idle time on each processor across arbitrary finite unions of intervals and tying the amount of processing done on P1P_1P1​ before TTT to the completed first tasks on P2P_2P2​.

Formalization scope

  • Processing times are real numbers; the PARTITION data are natural numbers cast to R\mathbb RR; TTT is the real sum. Processors are Fin 2 with P1=0P_1 = 0P1​=0, P2=1P_2 = 1P2​=1; jobs and tasks are 0-based, so the paper's job n+1n+1n+1 is job n and job n+2n+2n+2 is job n + 1.
  • Job-shop data reuse the published JobShopLTAS.Core.Instance. Schedules are finite sets of pieces (task, start, end) with positive length, following the paper's footnote 1 (p. 40). A task of length zero has no pieces and is completed when its predecessor is; it never blocks a processor.
  • A non-preemptive schedule is a preemptive one with at most one piece per task. "Finish time ≤τ\le \tau≤τ" is ∀ j, S.jobFinish j ≤ τ; "finish time >5T> 5T>5T" is the existence of a job finishing after 5T5T5T; "finish time 5T5T5T" in Lemma 5(a) is ≤5T\le 5T≤5T together with a job finishing at exactly 5T5T5T.
  • Complexity wording not formalized. "Partition α\alphaα preemptive JOFT" and "Partition α\alphaα nonpreemptive JOFT" (polynomial reducibility), "NP-complete", and Lemma 6 ("JOFT is in NP") are not stated. What is stated is the equivalence that the paper's proofs establish for the instance they construct, with the explicit constant τ=5T\tau = 5Tτ=5T.
  • The PARTITION condition is written 2∑i∈uai=∑iai2\sum_{i\in u} a_i = \sum_i a_i2∑i∈u​ai​=∑i​ai​ in N\mathbb NN, avoiding truncated division.
  • A trivializing formalization is ruled out: the schedule notion requires every task to receive its full processing time, so the empty schedule is feasible only when T=0T = 0T=0 (and then the empty index set is a partition), and the finish-time bound is over every job, so no statement holds by an unattained supremum or a default value.
  • Welcome contributions: a proof of Lemma 5(a) by an explicit piece schedule; infrastructure for measuring busy and idle time of a processor in a finite piece schedule, reusable for Lemma 7 (mission 4) and the preemptive flow-shop missions; the proof of Lemma 5(b).

Selected references

  • T. Gonzalez, S. Sahni, Flowshop and Jobshop Schedules: Complexity and Approximation, Operations Research 26(1), 36–52, 1978. https://doi.org/10.1287/opre.26.1.36
  • J. K. Lenstra, A. H. G. Rinnooy Kan, P. Brucker, Complexity of Machine Scheduling Problems, Annals of Discrete Mathematics 1, 343–362, 1977. https://doi.org/10.1016/S0167-5060(08)70743-X
  • M. R. Garey, D. S. Johnson, R. Sethi, Complexity of Flow Shop and Job Shop Scheduling, Mathematics of Operations Research 1(2), 117–129, 1976. https://doi.org/10.1287/moor.1.2.117
  • J. R. Jackson, An Extension of Johnson's Results on Job Lot Scheduling, Naval Research Logistics Quarterly 3(3), 201–203, 1956. https://doi.org/10.1002/nav.3800030307
  • R. W. Conway, W. L. Maxwell, L. W. Miller, Theory of Scheduling, Addison-Wesley, 1967.
11 thms1 active userReviewed
Numerical AnalysisOptimization·Captain: mikedeng1

Global Convergence Properties of Conjugate Gradient Methods for Optimization II: Conjugate Gradient Methods with β_k ≥ 0 and Property (*) Are Globally Convergent under Sufficient DescentResearch Paper

Motivation

Nonlinear conjugate gradient methods minimize a smooth function fff of nnn variables using only function values, gradients and a few vectors of storage. They are the standard choice when nnn is too large for quasi-Newton matrices, and they remain building blocks of large-scale solvers in optimization, scientific computing and machine learning. The method of Polak and Ribière (1969) is usually the most efficient member of the family in practice, but Powell (1984, doi:10.1007/BFb0099521) showed that, even with exact line searches, it can cycle forever without approaching a stationary point. The Fletcher–Reeves method, by contrast, has a global convergence theory (Zoutendijk 1970; Al-Baali 1985, doi:10.1093/imanum/5.1.121) but is often slow.

Powell (1985, report DAMTP 1985/NA1; published in SIAM Review 1986) suggested truncating the Polak–Ribière scalar at zero. Gilbert and Nocedal, in the INRIA research report that became SIAM J. Optim. 2 (1992) 21–42, proved that this truncation, and a whole class of methods sharing a structural property with Polak–Ribière, converge globally with practical inexact line searches. This mission formalizes that result (§4 of the report).

Timeline. 1952: Hestenes and Stiefel, linear conjugate gradients. 1964: Fletcher and Reeves, nonlinear extension. 1969: Polak–Ribière and Polyak. 1970: Zoutendijk, convergence of Fletcher–Reeves with exact searches. 1984: Powell, a nonconvergent Polak–Ribière example. 1985: Al-Baali, Fletcher–Reeves with strong Wolfe searches. 1990/1992: Gilbert and Nocedal, the present results.

Setting

Let EEE be a finite-dimensional real inner product space and f:E→Rf : E \to \mathbb Rf:E→R continuously differentiable with gradient ggg. From x1x_1x1​, a conjugate gradient run produces directions and iterates

d1=−g1,dk=−gk+βkdk−1 (k≥2),xk+1=xk+αkdk,d_1 = -g_1,\qquad d_k = -g_k + \beta_k d_{k-1}\ (k\ge2),\qquad x_{k+1} = x_k + \alpha_k d_k,d1​=−g1​,dk​=−gk​+βk​dk−1​ (k≥2),xk+1​=xk​+αk​dk​,

with gk=g(xk)g_k = g(x_k)gk​=g(xk​), a scalar βk\beta_kβk​, and a steplength αk>0\alpha_k > 0αk​>0 chosen by a line search. Write sk−1=xk−xk−1s_{k-1} = x_k - x_{k-1}sk−1​=xk​−xk−1​.

Assumptions 2.1: the level set L={x:f(x)≤f(x1)}\mathcal L = \{x : f(x) \le f(x_1)\}L={x:f(x)≤f(x1​)} is bounded, and on an open neighbourhood N\mathcal NN of L\mathcal LL the gradient is Lipschitz: ∥g(x)−g(x~)∥≤L∥x−x~∥\|g(x) - g(\tilde x)\| \le L\|x-\tilde x\|∥g(x)−g(x~)∥≤L∥x−x~∥.

The line search is described only through three properties:

  1. the iterates stay in L\mathcal LL (4.4);
  2. the Zoutendijk condition ∑kcos⁡2θk∥gk∥2<∞\sum_k \cos^2\theta_k\|g_k\|^2 < \infty∑k​cos2θk​∥gk​∥2<∞ (2.7), where cos⁡θk=−⟨gk,dk⟩/(∥gk∥∥dk∥)\cos\theta_k = -\langle g_k,d_k\rangle/(\|g_k\|\|d_k\|)cosθk​=−⟨gk​,dk​⟩/(∥gk​∥∥dk​∥);
  3. the sufficient descent condition ⟨gk,dk⟩≤−σ3∥gk∥2\langle g_k,d_k\rangle \le -\sigma_3\|g_k\|^2⟨gk​,dk​⟩≤−σ3​∥gk​∥2, 0<σ3≤10<\sigma_3\le10<σ3​≤1 (4.1).

Property (*): whenever 0<γ≤∥gk∥≤γˉ0 < \gamma \le \|g_k\| \le \bar\gamma0<γ≤∥gk​∥≤γˉ​ for all kkk, there are b>1b > 1b>1 and λ>0\lambda > 0λ>0 with

∣βk∣≤band∥sk−1∥≤λ  ⟹  ∣βk∣≤12b(k≥2).|\beta_k| \le b \qquad\text{and}\qquad \|s_{k-1}\|\le\lambda \implies |\beta_k| \le \tfrac{1}{2b}\qquad(k\ge2).∣βk​∣≤band∥sk−1​∥≤λ⟹∣βk​∣≤2b1​(k≥2).

Finally uk=dk/∥dk∥u_k = d_k/\|d_k\|uk​=dk​/∥dk​∥ and Kk,Δλ={i:k≤i≤k+Δ−1, i≥2, ∥si−1∥>λ}\mathcal K^\lambda_{k,\Delta} = \{i : k \le i \le k+\Delta-1,\ i\ge2,\ \|s_{i-1}\|>\lambda\}Kk,Δλ​={i:k≤i≤k+Δ−1, i≥2, ∥si−1​∥>λ}.

Formalization targets

Goal: Theorem 4.3

If Assumptions 2.1 hold, gk≠0g_k \ne 0gk​=0 for all kkk, βk≥0\beta_k \ge 0βk​≥0, the line search has properties 1–3, and Property (*) holds, then

lim inf⁡k→∞∥gk∥=0.\liminf_{k\to\infty}\|g_k\| = 0.k→∞liminf​∥gk​∥=0.

Milestones

  • Lemma 4.1. With βk≥0\beta_k\ge0βk​≥0, the Zoutendijk and sufficient descent conditions, and ∥gk∥≥γ>0\|g_k\|\ge\gamma>0∥gk​∥≥γ>0 for all kkk (4.3): dk≠0d_k\ne0dk​=0 and ∑k≥2∥uk−uk−1∥2<∞\sum_{k\ge2}\|u_k-u_{k-1}\|^2<\infty∑k≥2​∥uk​−uk−1​∥2<∞.
  • Lemma 4.2. With properties 1–3, Property (*) and (4.3): there is λ>0\lambda>0λ>0 such that for every Δ≥1\Delta\ge1Δ≥1 and k0k_0k0​ some k≥k0k\ge k_0k≥k0​ has ∣Kk,Δλ∣>Δ/2|\mathcal K^\lambda_{k,\Delta}|>\Delta/2∣Kk,Δλ​∣>Δ/2.

Further statements

  • The Polak–Ribière method has Property (*) (p. 13), for βk=⟨gk,gk−gk−1⟩/∥gk−1∥2\beta_k = \langle g_k, g_k-g_{k-1}\rangle/\|g_{k-1}\|^2βk​=⟨gk​,gk​−gk−1​⟩/∥gk−1​∥2.
  • Corollary 4.4. βk=max⁡{βkPR,0}\beta_k=\max\{\beta_k^{PR},0\}βk​=max{βkPR​,0} with Wolfe steps and sufficient descent gives lim inf⁡∥gk∥=0\liminf\|g_k\|=0liminf∥gk​∥=0.

Significance

Theorem 4.3 separates what a convergence proof needs from the method (nonnegativity and Property (*) of βk\beta_kβk​) from what it needs from the line search (three abstract properties). It therefore applies at once to the truncated Polak–Ribière and Hestenes–Stiefel methods, to their absolute-value variants, and to any line search, exact or inexact, that delivers the three properties. Corollary 4.4 is the guarantee behind the "PR+" rule that is the default in many nonlinear conjugate gradient codes; Powell's example shows that dropping βk≥0\beta_k\ge0βk​≥0 breaks it.

The results are proved in the paper, not open. To our knowledge none of them, nor Zoutendijk's theorem in this form, has a machine-checked proof. The mission produces checked statements of the theorem, its two lemmas and its main application, and a reusable formal vocabulary for line-search methods (level sets, Wolfe steps, Zoutendijk and sufficient descent conditions).

Difficulty

The usual route to convergence of a descent method bounds cos⁡θk\cos\theta_kcosθk​ away from zero, or shows that ∥dk∥2\|d_k\|^2∥dk​∥2 grows at most linearly, and combines this with the Zoutendijk condition. For Polak–Ribière-type methods neither bound is available a priori: βk\beta_kβk​ can be as large as bbb on many consecutive iterations, so ∥dk∥\|d_k\|∥dk​∥ can grow geometrically along stretches of the run. The argument must instead control the proportion of large steps over blocks of iterations and relate it to the change of direction, and reconcile both with the boundedness of L\mathcal LL. The combinatorics of blocks (floor and ceiling of Δ\DeltaΔ, products of βk2\beta_k^2βk2​ grouped by blocks) and the interplay between Lemma 4.1 and Lemma 4.2 carry most of the formal work. Corollary 4.4 additionally needs Zoutendijk's theorem for Wolfe line searches, which is not assumed here.

Formalization scope

  • The space is any finite-dimensional real inner product space EEE; the gradient is gradient f for its inner product, matching "the scalar product used to compute the gradient" (p. 2).
  • Every statement assumes fff globally C1C^1C1 (the paper's "fff is smooth", (1.1)) in addition to Assumptions 2.1, whose Lipschitz condition is kept local to an open neighbourhood N\mathcal NN of L\mathcal LL.
  • Sequences are indexed from 111 as in the paper; index 000 is unused. Steplengths are positive. βk\beta_kβk​ is a free sequence constrained only by hypotheses.
  • The standing assumption of §4, gk≠0g_k\ne0gk​=0 for all kkk (p. 11), is a hypothesis of Theorem 4.3 and Corollary 4.4. Lemmas 4.1 and 4.2 assume (4.3), which implies it.
  • Lemma 4.1 assumes βk≥0\beta_k\ge0βk​≥0 but not (4.4) or Property (*); Lemma 4.2 assumes Property (*) and (4.4) but no sign of βk\beta_kβk​, exactly as on the page.
  • The Zoutendijk sum is written ∑k≥1⟨gk,dk⟩2/∥dk∥2\sum_{k\ge1}\langle g_k,d_k\rangle^2/\|d_k\|^2∑k≥1​⟨gk​,dk​⟩2/∥dk​∥2, equal to ∑cos⁡2θk∥gk∥2\sum\cos^2\theta_k\|g_k\|^2∑cos2θk​∥gk​∥2 wherever the latter is defined. lim inf⁡∥gk∥=0\liminf\|g_k\|=0liminf∥gk​∥=0 is stated as "for every ε>0\varepsilon>0ε>0 and KKK, some k≥Kk\ge Kk≥K has ∥gk∥<ε\|g_k\|<\varepsilon∥gk​∥<ε".
  • Property (*) quantifies over every pair (γ,γˉ)(\gamma,\bar\gamma)(γ,γˉ​) satisfying (4.10), and b,λb,\lambdab,λ may depend on them; it holds vacuously for runs that violate (4.10), as in the paper.
  • The statement that Polak–Ribière has Property (*) assumes the iterates stay in L\mathcal LL, so that the Lipschitz bound applies to them, which the paper's argument uses implicitly.
  • Lemmas 4.1 and 4.2 are steps of a proof by contradiction: their hypotheses are expected to be unsatisfiable on actual runs. A local check confirms that the hypotheses of Theorem 4.3 are jointly satisfiable (f(x)=x2/2f(x)=x^2/2f(x)=x2/2 on R\mathbb RR, βk=0\beta_k=0βk​=0, αk=0.9\alpha_k=0.9αk​=0.9), so the goal is not vacuous. A formalization in which Property (*) loses (4.12), or one that replaces the abstract line search properties by a specific line search, would prove a different theorem and is ruled out.

Needed infrastructure: summability arguments for the series (4.5) and ∑1/∥dk∥2\sum1/\|d_k\|^2∑1/∥dk​∥2, Cauchy–Schwarz in EEE, finite counting over index blocks, and, for Corollary 4.4, Zoutendijk's theorem (Theorem 2.1 of the report, a target of the companion mission). Contributions of general line-search lemmas are welcome and reusable well beyond this paper.

Selected references

  • J. C. Gilbert and J. Nocedal, Global convergence properties of conjugate gradient methods for optimization, INRIA Rapport de Recherche 1268, 1990, HAL inria-00075291; journal version SIAM J. Optim. 2(1) (1992) 21–42, doi:10.1137/0802003.
  • M. Al-Baali, Descent property and global convergence of the Fletcher–Reeves method with inexact line search, IMA J. Numer. Anal. 5 (1985) 121–124, doi:10.1093/imanum/5.1.121.
  • M. J. D. Powell, Nonconvex minimization calculations and the conjugate gradient method, Lecture Notes in Math. 1066, Springer, 1984, 122–141, doi:10.1007/BFb0099521.
  • M. J. D. Powell, Convergence properties of algorithms for nonlinear optimization, Report DAMTP 1985/NA1, University of Cambridge, 1985; SIAM Review 28 (1986) 487–500, doi:10.1137/1028154.
  • E. Polak and G. Ribière, Note sur la convergence de méthodes de directions conjuguées, Rev. Française Informat. Recherche Opérationnelle 3 (1969) 35–43, numdam.
  • R. Fletcher and C. M. Reeves, Function minimization by conjugate gradients, Computer J. 7 (1964) 149–154, doi:10.1093/comjnl/7.2.149.
5 thms1 active userReviewed
Numerical AnalysisOptimization·Captain: mikedeng1

Globally Convergent Inexact Newton Methods II: Trust Region Limit Points Are Stationary Points of ‖F‖, and Near a Zero Where F′ Is Invertible the Full Newton Step Is Eventually TakenResearch Paper

Motivation

Solving a system of nonlinear equations F(x)=0F(x)=0F(x)=0, with F:Rn→RnF:\mathbf R^n\to\mathbf R^nF:Rn→Rn continuously differentiable, is a basic task in numerical analysis and optimization: it is the inner step of interior-point and sequential quadratic programming methods, of implicit time-stepping for differential equations, and of equilibrium computations in operations research. Newton's method converges fast near a solution at which the derivative F′F'F′ is invertible, but from a poor starting point it may fail. Trust region methods are a standard globalization: each step minimizes the norm of the local linear model F(xk)+F′(xk)sF(x_k)+F'(x_k)sF(xk​)+F′(xk​)s over a ball ∥s∥≤δk\|s\|\le\delta_k∥s∥≤δk​, and the radius δk\delta_kδk​ is shrunk or enlarged according to how well the model predicted the actual decrease of ∥F∥\|F\|∥F∥ (Moré and Sorensen 1983; Dennis and Schnabel 1983, §6.4).

Eisenstat and Walker (1994) developed a general global convergence theory for inexact Newton methods, in which steps only reduce the linear model's norm by a factor ηk<1\eta_k<1ηk​<1 and must also give sufficient decrease of ∥F∥\|F\|∥F∥. Their §4, Application 1, shows that this theory also covers trust region methods. This mission formalizes that application.

Setting

Let EEE be a finite-dimensional real vector space with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥ (the paper's Rn\mathbf R^nRn; the norm need not be Euclidean), and F:E→EF:E\to EF:E→E continuously differentiable with derivative F′(x)F'(x)F′(x). For a point xkx_kxk​ and a step sss, the actual reduction and predicted reduction are

ared⁡k(s)=∥F(xk)∥−∥F(xk+s)∥,pred⁡k(s)=∥F(xk)∥−∥F(xk)+F′(xk)s∥.\operatorname{ared}_k(s)=\|F(x_k)\|-\|F(x_k+s)\|,\qquad \operatorname{pred}_k(s)=\|F(x_k)\|-\|F(x_k)+F'(x_k)s\|.aredk​(s)=∥F(xk​)∥−∥F(xk​+s)∥,predk​(s)=∥F(xk​)∥−∥F(xk​)+F′(xk​)s∥.

A point xxx is a stationary point of ∥F∥\|F\|∥F∥ if ∥F(x)∥≤∥F(x)+F′(x)s∥\|F(x)\|\le\|F(x)+F'(x)s\|∥F(x)∥≤∥F(x)+F′(x)s∥ for every sss: no step decreases the norm of the linear model. A point x∗x_*x∗​ is a limit point of (xk)(x_k)(xk​) if every ball around x∗x_*x∗​ contains xkx_kxk​ for infinitely many kkk.

Algorithm TR is given x0x_0x0​, δˉ0>0\bar\delta_0>0δˉ0​>0, 0<t≤u<10<t\le u<10<t≤u<1 and 0<θmin⁡<θmax⁡<10<\theta_{\min}<\theta_{\max}<10<θmin​<θmax​<1. At iteration kkk it sets δk=δˉk\delta_k=\bar\delta_kδk​=δˉk​ and picks a step

sk∈arg⁡min⁡∥s∥≤δk∥F(xk)+F′(xk)s∥.(4.5)s_k\in\arg\min_{\|s\|\le\delta_k}\|F(x_k)+F'(x_k)s\|.\tag{4.5}sk​∈arg∥s∥≤δk​min​∥F(xk​)+F′(xk​)s∥.(4.5)

While ared⁡k(sk)<t⋅pred⁡k(sk)\operatorname{ared}_k(s_k)<t\cdot\operatorname{pred}_k(s_k)aredk​(sk​)<t⋅predk​(sk​), it replaces δk\delta_kδk​ by θδk\theta\delta_kθδk​ for some θ∈[θmin⁡,θmax⁡]\theta\in[\theta_{\min},\theta_{\max}]θ∈[θmin​,θmax​] and picks a new sks_ksk​ by (4.5). Then xk+1=xk+skx_{k+1}=x_k+s_kxk+1​=xk​+sk​, and the next initial radius satisfies δˉk+1≥δk\bar\delta_{k+1}\ge\delta_kδˉk+1​≥δk​ if ared⁡k(sk)≥u⋅pred⁡k(sk)\operatorname{ared}_k(s_k)\ge u\cdot\operatorname{pred}_k(s_k)aredk​(sk​)≥u⋅predk​(sk​), and δˉk+1≥θmin⁡δk\bar\delta_{k+1}\ge\theta_{\min}\delta_kδˉk+1​≥θmin​δk​ otherwise. The algorithm does not break down if it generates an infinite sequence of iterates.

Formalization targets

Goal: Theorem 4.4

If Algorithm TR does not break down, then

every limit point x∗ of (xk) is a stationary point of ∥F∥,\text{every limit point } x_* \text{ of } (x_k) \text{ is a stationary point of } \|F\|,every limit point x∗​ of (xk​) is a stationary point of ∥F∥,

and if x∗x_*x∗​ is a limit point with F′(x∗)F'(x_*)F′(x∗​) invertible, then

F(x∗)=0,xk→x∗,sk=−F′(xk)−1F(xk) for all sufficiently large k.F(x_*)=0,\qquad x_k\to x_*,\qquad s_k=-F'(x_k)^{-1}F(x_k)\ \text{for all sufficiently large }k.F(x∗​)=0,xk​→x∗​,sk​=−F′(xk​)−1F(xk​) for all sufficiently large k.

The statement has no constants, and it holds for every choice the algorithm leaves open: the minimizer in (4.5), the factors θ\thetaθ, and the new radii.

Milestones

  1. Corollary 3.7. Any sequence with pred⁡k(sk)≥0\operatorname{pred}_k(s_k)\ge0predk​(sk​)≥0 and ared⁡k(sk)≥t⋅pred⁡k(sk)\operatorname{ared}_k(s_k)\ge t\cdot\operatorname{pred}_k(s_k)aredk​(sk​)≥t⋅predk​(sk​), sk=xk+1−xks_k=x_{k+1}-x_ksk​=xk+1​−xk​, for which ∥sk∥≤Γ⋅pred⁡k(sk)\|s_k\|\le\Gamma\cdot\operatorname{pred}_k(s_k)∥sk​∥≤Γ⋅predk​(sk​) near a limit point x∗x_*x∗​, converges to x∗x_*x∗​.
  2. Lemma 4.2. If F′(x∗)F'(x_*)F′(x∗​) is invertible, then for some Γ>0\Gamma>0Γ>0, ϵ∗>0\epsilon_*>0ϵ∗​>0, every minimizer sss of (4.5) with any radius δ>0\delta>0δ>0 and ∥x−x∗∥<ϵ∗\|x-x_*\|<\epsilon_*∥x−x∗​∥<ϵ∗​ satisfies ∥s∥≤Γ{∥F(x)∥−∥F(x)+F′(x)s∥}\|s\|\le\Gamma\{\|F(x)\|-\|F(x)+F'(x)s\|\}∥s∥≤Γ{∥F(x)∥−∥F(x)+F′(x)s∥} (4.6).
  3. Lemma 4.3. If x∗x_*x∗​ is not a stationary point of ∥F∥\|F\|∥F∥, then (4.6) holds for radii 0<δ≤δ∗0<\delta\le\delta_*0<δ≤δ∗​ and xxx near x∗x_*x∗​.
  4. Lemma 4.1. For a run of Algorithm TR, if ∥sk∥≤Γ⋅pred⁡k(sk)\|s_k\|\le\Gamma\cdot\operatorname{pred}_k(s_k)∥sk​∥≤Γ⋅predk​(sk​) (4.1) holds for every trial step of iterations with xkx_kxk​ near a limit point x∗x_*x∗​ and kkk large, then xk→x∗x_k\to x_*xk​→x∗​ and lim inf⁡kδk>0\liminf_k\delta_k>0liminfk​δk​>0.

An extra item, Corollary 3.6, states that such a sequence with ∑krelpred⁡k(sk)\sum_k\operatorname{relpred}_k(s_k)∑k​relpredk​(sk​) divergent has F(xk)→0F(x_k)\to0F(xk​)→0, where relpred⁡k(sk)=pred⁡k(sk)/∥F(xk)∥\operatorname{relpred}_k(s_k)=\operatorname{pred}_k(s_k)/\|F(x_k)\|relpredk​(sk​)=predk​(sk​)/∥F(xk​)∥ (or 111 if F(xk)=0F(x_k)=0F(xk​)=0).

Significance

Theorem 4.4 is a global convergence result that assumes neither bounded level sets, nor the existence of a solution, nor an inner-product norm. It separates two conclusions: without any regularity, the only possible accumulation points are stationary points of ∥F∥\|F\|∥F∥; at an accumulation point where F′F'F′ is invertible, the method finds a solution, converges to it, and eventually takes the full Newton step. The paper assumes only continuous differentiability, which does not by itself give a quadratic convergence rate. Lemmas 4.2 and 4.3 are local facts about minimizers of the linear model's norm over a ball and apply to any method that uses such steps.

The result is proved in the paper. As far as we know, none of it is formalized: Mathlib has the Fréchet derivative, the inverse function theorem and invertible continuous linear maps, but no trust region or inexact Newton convergence theory. This mission produces machine-checked versions of the paper's statements for an arbitrary norm, together with a reusable vocabulary (actual/predicted reduction, stationary points of ∥F∥\|F\|∥F∥, model minimizers, trust region runs) for later formalizations of trust region and Levenberg–Marquardt type methods.

Difficulty

The obvious argument shows that ∥F(xk)∥\|F(x_k)\|∥F(xk​)∥ decreases, so it converges, and then tries to conclude that the predicted reductions tend to zero. That step fails without control on the radii: if δk→0\delta_k\to0δk​→0, small predicted reductions say nothing about stationarity, and the steps could shrink while the iterates still wander. The central difficulty is to show that near a non-stationary or regular limit point the radii stay bounded away from zero, while at the same time proving that the whole sequence converges to that limit point, not just a subsequence. Under an arbitrary norm the model minimizer is not unique and the model norm is not smooth, so arguments based on gradients of 12∥F∥22\frac12\|F\|_2^221​∥F∥22​ do not apply.

Formalization scope

  • Rn\mathbf R^nRn with an arbitrary norm is a finite-dimensional real normed space E; F′F'F′ is fderiv ℝ F, and "continuously differentiable" is ContDiff ℝ 1 F.
  • A run of Algorithm TR is the predicate IsTRRun. Iteration kkk records the number mkm_kmk​ of while-loop passes, the factors θk,j∈[θmin⁡,θmax⁡]\theta_{k,j}\in[\theta_{\min},\theta_{\max}]θk,j​∈[θmin​,θmax​], and trial steps sk,0,…,sk,mks_{k,0},\dots,s_{k,m_k}sk,0​,…,sk,mk​​, each a minimizer of (4.5) for its radius. Trials j<mkj<m_kj<mk​ fail the test ared⁡≥t⋅pred⁡\operatorname{ared}\ge t\cdot\operatorname{pred}ared≥t⋅pred, and trial mkm_kmk​ passes it. "Does not break down" is the existence of such a run. Any minimizer in (4.5) may be chosen.
  • "Limit point" is MapClusterPt. "Sufficiently near x∗x_*x∗​ and kkk sufficiently large" is: there exist ρ>0\rho>0ρ>0 and KKK such that the property holds for k≥Kk\ge Kk≥K with ∥xk−x∗∥<ρ\|x_k-x_*\|<\rho∥xk​−x∗​∥<ρ. "Whenever kkk is sufficiently large" is ∀ᶠ k in atTop.
  • "F′(x∗)F'(x_*)F′(x∗​) invertible" is (fderiv ℝ F xstar).IsInvertible. F′(xk)−1F'(x_k)^{-1}F′(xk​)−1 is ContinuousLinearMap.inverse, which is the true inverse for all large kkk.
  • "lim inf⁡δk>0\liminf\delta_k>0liminfδk​>0" is "eventually δk≥c\delta_k\ge cδk​≥c for some c>0c>0c>0"; "∑relpred⁡\sum\operatorname{relpred}∑relpred divergent" is ¬ Summable.
  • In Lemma 4.1, (4.1) is required for every trial step sk,js_{k,j}sk,j​ of iterations with xkx_kxk​ near x∗x_*x∗​ and kkk large: in Algorithm TR the symbol sks_ksk​ takes the value of each trial step, and the proof on p. 403 applies (4.1) to trial steps. Requiring it for the accepted step alone would make the lemma false. Lemmas 4.2 and 4.3 are stated with Γ>0\Gamma>0Γ>0.
  • No statement assumes F(x∗)=0F(x_*)=0F(x∗​)=0, xk→x∗x_k\to x_*xk​→x∗​, bounded level sets, a Euclidean norm or a Lipschitz derivative: those are conclusions or absent from the paper. A run predicate that forced zero steps or zero radii would make the convergence claims trivial; IsTRRun forces neither, and it has a run with nonzero steps (for F=idF=\mathrm{id}F=id on R\mathbf RR).

Needed infrastructure: the continuity of x↦F′(x)−1x\mapsto F'(x)^{-1}x↦F′(x)−1 near an invertible point (Lemma 1.1 of the paper), a uniform linearization bound ∥F(y)−F(x)−F′(x)(y−x)∥≤ε∥y−x∥\|F(y)-F(x)-F'(x)(y-x)\|\le\varepsilon\|y-x\|∥F(y)−F(x)−F′(x)(y−x)∥≤ε∥y−x∥ near a point (Lemma 1.2), and the telescoping argument of Theorem 3.5. These are reusable well beyond this mission. Contributions are welcome on each milestone separately, and on general lemmas about minimizers of ∥a+Ls∥\|a+Ls\|∥a+Ls∥ over a ball.

Selected references

  • S. C. Eisenstat and H. F. Walker, Globally Convergent Inexact Newton Methods, SIAM Journal on Optimization 4(2) (1994) 393–422. https://doi.org/10.1137/0804022
  • J. J. Moré and D. C. Sorensen, Computing a Trust Region Step, SIAM Journal on Scientific and Statistical Computing 4(3) (1983) 553–572. https://doi.org/10.1137/0904038
  • J. E. Dennis Jr. and R. B. Schnabel, Numerical Methods for Unconstrained Optimization and Nonlinear Equations, Prentice-Hall 1983; SIAM reprint 1996. https://doi.org/10.1137/1.9781611971200
  • R. S. Dembo, S. C. Eisenstat and T. Steihaug, Inexact Newton Methods, SIAM Journal on Numerical Analysis 19(2) (1982) 400–408. https://doi.org/10.1137/0719025
7 thms1 active userReviewed
Control TheoryDynamical Systems·Captain: mikedeng1

Dynamic Instabilities and Stabilization Methods in Distributed Real-Time Scheduling of Manufacturing Systems 4: A Run-Truncating Priority-Queue Supervisor Keeps Every Buffer Bounded When ρₘ < 1Research Paper

Motivation

A flexible manufacturing system routes several part types through a set of machines; a machine that switches from one kind of part to another must spend a set-up time first. Each machine has to decide, in real time and from local information only, which of its waiting buffers to work on and for how long. Long runs waste little time on set-ups but starve other buffers; short runs do the opposite.

Kumar and Seidman (IEEE TAC 35(3), 1990) showed in §III of the paper that natural distributed rules (clearing policies, which keep processing a buffer until it is empty) can be unstable when parts revisit machines, even though every machine has enough capacity. Their §IV gives a sufficient condition for a subclass of such rules to be stable, which is stricter than the capacity condition. §V, the subject of this mission, asks for something stronger: a simple, distributed mechanism that a supervisor can add to any scheduling policy and that makes the system stable whenever the capacity condition alone holds.

Timeline. Perkins and Kumar (1989) proved that the capacity condition is sufficient for the existence of some stabilizing policy, and that every clear-a-fraction policy is stable on acyclic systems. Kumar and Seidman (1990) gave the instability examples for nonacyclic systems and the universal supervisor formalized here.

Setting

There are PPP part types and MMM machines. Part type ppp arrives at rate dp>0d_p>0dp​>0 and follows a route of npn_pnp​ operations; operation iii is done by machine μp,i\mu_{p,i}μp,i​ and takes τp,i>0\tau_{p,i}>0τp,i​>0 per part. Parts awaiting operation iii wait in buffer bp,ib_{p,i}bp,i​, with level xp,i(t)≥0x_{p,i}(t)\ge 0xp,i​(t)≥0. Machine mmm serves Bm={bp,i:μp,i=m}B_m=\{b_{p,i}:\mu_{p,i}=m\}Bm​={bp,i​:μp,i​=m}, and switching from bbb to b′b'b′ costs δb,b′≥0\delta_{b,b'}\ge 0δb,b′​≥0. Flows are continuous: a machine processing a nonempty buffer bp,ib_{p,i}bp,i​ drains it at rate 1/τp,i1/\tau_{p,i}1/τp,i​, the output feeds bp,i+1b_{p,i+1}bp,i+1​ instantly, and a machine on an empty buffer passes its inflow through. Each machine works in runs: a set-up, then a processing phase on one buffer.

The load of machine mmm and the capacity condition are

ρm:=∑(p,i): μp,i=mdpτp,i<1(1≤m≤M).(1)\rho_m:=\sum_{(p,i):\,\mu_{p,i}=m}d_p\tau_{p,i}<1\qquad(1\le m\le M). \tag{1}ρm​:=(p,i):μp,i​=m∑​dp​τp,i​<1(1≤m≤M).(1)

The system is stable if sup⁡0≤t<∞xp,i(t)<∞\sup_{0\le t<\infty}x_{p,i}(t)<\inftysup0≤t<∞​xp,i​(t)<∞ for every buffer.

The supervisor picks γm\gamma_mγm​ with

γm(1−ρm)>∑b∈Bmmax⁡b′∈Bmδb′,b(24)\gamma_m(1-\rho_m)>\sum_{b\in B_m}\max_{b'\in B_m}\delta_{b',b} \tag{24}γm​(1−ρm​)>b∈Bm​∑​b′∈Bm​max​δb′,b​(24)

and thresholds zp,i≥0z_{p,i}\ge0zp,i​≥0. It truncates every processing run of bp,ib_{p,i}bp,i​ at γmdpτp,i\gamma_m d_p\tau_{p,i}γm​dp​τp,i​; it keeps a first-come first-served queue QmQ_mQm​ of the buffers that are not being processed and whose level exceeds zp,iz_{p,i}zp,i​; when a run ends and Qm≠∅Q_m\ne\emptysetQm​=∅, the head of QmQ_mQm​ is processed next, for exactly γmdpτp,i\gamma_m d_p\tau_{p,i}γm​dp​τp,i​ unless it clears earlier. When QmQ_mQm​ is empty the underlying policy is free. Write ζm:=γm(1−ρm)−∑b∈Bmmax⁡b′∈Bmδb′,b>0\zeta_m:=\gamma_m(1-\rho_m)-\sum_{b\in B_m}\max_{b'\in B_m}\delta_{b',b}>0ζm​:=γm​(1−ρm​)−∑b∈Bm​​maxb′∈Bm​​δb′,b​>0 (26) and βp,i(t):=∑j≤iτp,ixp,j(t)\beta_{p,i}(t):=\sum_{j\le i}\tau_{p,i}x_{p,j}(t)βp,i​(t):=∑j≤i​τp,i​xp,j​(t), the backlog of part type ppp for machine μp,i\mu_{p,i}μp,i​.

Formalization targets

Goal: Theorem 2

Under (1), (24) and z≥0z\ge 0z≥0, every supervised trajectory, from every initial state, satisfies

sup⁡0≤t<∞xp,i(t)<+∞for all p,i.\sup_{0\le t<\infty}x_{p,i}(t)<+\infty\qquad\text{for all }p,i.0≤t<∞sup​xp,i​(t)<+∞for all p,i.

The bound is allowed to depend on the trajectory; no uniformity in the initial state is claimed.

Milestones: Lemma 1

  1. A buffer that enters QmQ_mQm​ at tint_{\rm in}tin​ completes its next run by tin+γm−ζmt_{\rm in}+\gamma_m-\zeta_mtin​+γm​−ζm​ (25).
  2. If it enters QmQ_mQm​ with xp,i(tin)≥γmdpx_{p,i}(t_{\rm in})\ge\gamma_m d_pxp,i​(tin​)≥γm​dp​, that run lowers the backlog: βp,i(tcomplete)≤βp,i(tin)−ζmdpτp,i\beta_{p,i}(t_{\rm complete})\le\beta_{p,i}(t_{\rm in})-\zeta_m d_p\tau_{p,i}βp,i​(tcomplete​)≤βp,i​(tin​)−ζm​dp​τp,i​.
  3. A buffer that enters QmQ_mQm​ at tint_{\rm in}tin​ and stays above max⁡(γmdp,zp,i)\max(\gamma_md_p,z_{p,i})max(γm​dp​,zp,i​) (strictly above zp,iz_{p,i}zp,i​ after tint_{\rm in}tin​) up to t′t't′ has t′−tin≤(1+βp,i(tin)/(ζmdpτp,i))(γm−ζm)t'-t_{\rm in}\le(1+\beta_{p,i}(t_{\rm in})/(\zeta_md_p\tau_{p,i}))(\gamma_m-\zeta_m)t′−tin​≤(1+βp,i​(tin​)/(ζm​dp​τp,i​))(γm​−ζm​).
  4. Any interval on which xp,i≥gp,i:=max⁡(γmdp,zp,i)+γmdpx_{p,i}\ge g_{p,i}:=\max(\gamma_md_p,z_{p,i})+\gamma_md_pxp,i​≥gp,i​:=max(γm​dp​,zp,i​)+γm​dp​ has length at most ap,i+cp,iβp,i(t)a_{p,i}+c_{p,i}\beta_{p,i}(t)ap,i​+cp,i​βp,i​(t).

Significance

The theorem separates two concerns of real-time scheduling. The underlying policy can be tuned for performance (low set-up overhead, short buffers) without any stability analysis; the supervisor guarantees stability under exactly the condition that is necessary for it. The mechanism is distributed: each machine uses only its own buffer levels. With z=0z=0z=0 it enforces FCFS with truncated runs; with large zzz and γ\gammaγ it never intervenes on a policy that is already stable, so the degree of intervention is tunable. Combined with the §III instability examples, it shows that instability of clearing policies is a design defect that a local safeguard removes.

The result is proved in the paper; to our knowledge it has no machine-checked proof. This mission produces a formal model of continuous-flow manufacturing systems with set-up times and runs, a formal definition of the supervisor, and the four parts of Lemma 1 as reusable statements about it. Part 3) is stated with a corrected hypothesis (see Formalization scope).

Difficulty

The underlying policy is arbitrary, so no structure of the trajectory between interventions can be used: the policy may idle on empty buffers, switch at will, and re-select a buffer as soon as its run is truncated. The natural approach of bounding the total work at a machine fails, because work arrives at machine mmm from upstream machines whose behaviour depends on mmm itself through re-entrant routes, so a machine-by-machine argument is circular. A further difficulty is that the supervisor acts only on buffers above their thresholds, so a buffer can be ignored for as long as it sits at or below zp,iz_{p,i}zp,i​; any bound has to account for the time spent below the threshold and for repeated re-entries into QmQ_mQm​, with a set-up paid at each.

Formalization scope

  • Model. Part types Fin P, machines Fin M, buffers Σ p, Fin (n p); paper index iii is Lean index i−1i-1i−1. Time is real with t≥0t\ge0t≥0. Set-up times satisfy δb,b=0\delta_{b,b}=0δb,b​=0: a set-up is paid only on a switch. No transport delays or assembly, as in the paper.
  • Runs. Each machine is always in a run (no idling outside runs); a run is never cut during its set-up; run starts do not accumulate; zero-length runs are allowed. Processing is at rate at most 1/τb1/\tau_b1/τb​ and only in a processing phase of bbb, and at exactly 1/τb1/\tau_b1/τb​ while bbb is nonempty.
  • Queue. Membership of QmQ_mQm​ is determined by the trajectory: not on the current run and level strictly above zbz_bzb​. The FCFS key is the start of the current sojourn; ties, including the initial queue at time 000, are broken arbitrarily, so every initial queue order is covered. A buffer whose run just ended is in QmQ_mQm​ at that instant if its level exceeds zbz_bzb​.
  • Lemma 1. Parts 1)–3) assume, as the page does, that the buffer enters QmQ_mQm​ at tint_{\rm in}tin​. Part 3) adds xp,i>zp,ix_{p,i}>z_{p,i}xp,i​>zp,i​ on (tin,t′](t_{\rm in},t'](tin​,t′]: with the printed non-strict hypothesis the buffer can sit at exactly zp,iz_{p,i}zp,i​, never be re-queued, and wait arbitrarily long. In 4), cp,ic_{p,i}cp,i​ is (γm−ζm)/(ζmdpτp,i)(\gamma_m-\zeta_m)/(\zeta_md_p\tau_{p,i})(γm​−ζm​)/(ζm​dp​τp,i​).
  • Ruled out. The base policy is not restricted to clearing, CAF or any fixed rule, the system is not restricted to few machines or acyclic routes, and the hypothesis of the goal is (24), not ζm>0\zeta_m>0ζm​>0. A non-vacuity witness (one machine, one buffer) shows the class of supervised trajectories is nonempty.
  • Reusable. The trajectory model (runs, set-ups, processing law) is the same as in the other missions of this series and applies to any distributed scheduling policy with set-ups.

Contributions welcome: proofs of the Lemma 1 parts, and lemmas on the model (Lipschitz continuity of levels, monotonicity of a buffer's level while it is not processed).

Selected references

  • P. R. Kumar and T. I. Seidman, Dynamic instabilities and stabilization methods in distributed real-time scheduling of manufacturing systems, IEEE Trans. Automat. Control 35(3), 289–298, 1990. https://doi.org/10.1109/9.50339
  • J. R. Perkins and P. R. Kumar, Stable, distributed, real-time scheduling of flexible manufacturing/assembly/disassembly systems, IEEE Trans. Automat. Control 34(2), 139–148, 1989. https://doi.org/10.1109/9.21085
8 thms1 active userReviewed
Convex OptimizationOptimization·Captain: mikedeng1

Nonlinear Proximal Point Algorithms Using Bregman Functions, with Applications to Convex Programming 4: Nonquadratic Multiplier Methods for Inequality Constraints Find an Optimal MultiplierResearch Paper

Motivation

Convex programs with inequality constraints arise when a decision must meet capacity, resource, or performance limits. Their Lagrange multipliers assign a price to each constraint. Finding an optimal multiplier gives a dual certificate and can guide a primal optimization method. Classical quadratic multiplier methods update these prices through a particular penalty. Eckstein's 1993 paper places a broader family of multiplier updates inside the theory of Bregman proximal point algorithms, allowing a nonquadratic function to shape each step (Eckstein 1993, §4.2).

The result here concerns the inequality constrained case, where multiplier vectors must be componentwise nonnegative. Eckstein identifies a monotone conjugate that incorporates this restriction into the primal penalty and proves that the resulting multiplier sequence converges to an optimal multiplier when one exists. The paper also studies primal limit points and the behavior when no optimal multiplier exists (Eckstein 1993, Theorem 7 and proof, pp. 216–219).

Setting

Let C⊆RnC\subseteq\mathbb R^nC⊆Rn be closed, nonempty, and convex. Let f,g1,…,gmf,g_1,\ldots,g_mf,g1​,…,gm​ be proper lower semicontinuous convex functions, finite on CCC. The primal problem is to minimize f(x)f(x)f(x) over x∈Cx\in Cx∈C subject to gi(x)≤0g_i(x)\le 0gi​(x)≤0 for every iii. Write g(x)=(g1(x),…,gm(x))g(x)=(g_1(x),\ldots,g_m(x))g(x)=(g1​(x),…,gm​(x)). A point solves the problem only when it lies in CCC, satisfies every inequality, and has no larger objective value than any other feasible point.

For a nonnegative multiplier ppp, the dual functional is d(p)=inf⁡x∈C{f(x)+⟨p,g(x)⟩}d(p)=\inf_{x\in C}\{f(x)+\langle p,g(x)\rangle\}d(p)=infx∈C​{f(x)+⟨p,g(x)⟩}; it equals −∞-\infty−∞ outside the nonnegative orthant. A multiplier p∗p^*p∗ is optimal when it maximizes ddd. The standing assumption that ddd is not identically −∞-\infty−∞ makes this dual functional a meaningful proper concave object (Eckstein 1993, p. 215).

A Bregman function hhh has an open zone SSS. It is continuously differentiable there, strictly convex and continuous on S‾\overline SS, and satisfies the boundedness and sequential conditions of Definition 1. Its Bregman distance is Dh(u,v)=h(u)−h(v)−⟨∇h(v),u−v⟩D_h(u,v)=h(u)-h(v)-\langle\nabla h(v),u-v\rangleDh​(u,v)=h(u)−h(v)−⟨∇h(v),u−v⟩, with u∈S‾u\in\overline Su∈S and v∈Sv\in Sv∈S. The zone contains the strict positive orthant, and the image of its gradient contains that orthant. Its monotone conjugate is h∗+(z)=sup⁡p≥0{⟨p,z⟩−h(p)}h^{*+}(z)=\sup_{p\ge0}\{\langle p,z\rangle-h(p)\}h∗+(z)=supp≥0​{⟨p,z⟩−h(p)}. Lemma 3 establishes that this function is finite and differentiable everywhere under these assumptions (Eckstein 1993, pp. 205, 215–216).

Given positive step sizes ckc_kck​ bounded away from zero, recursion (11) chooses xk+1x^{k+1}xk+1 as a minimizer over CCC of f(x)+ck−1h∗+(∇h(pk)+ckg(x))f(x)+c_k^{-1}h^{*+}(\nabla h(p^k)+c_kg(x))f(x)+ck−1​h∗+(∇h(pk)+ck​g(x)), then sets pk+1=∇h∗+(∇h(pk)+ckg(xk+1))p^{k+1}=\nabla h^{*+}(\nabla h(p^k)+c_kg(x^{k+1}))pk+1=∇h∗+(∇h(pk)+ck​g(xk+1)). The theorem assumes an infinite sequence conforming to these recursions; it does not assert that each minimizer exists for arbitrary data.

Formalization targets

Multiplier convergence

The goal is Eckstein's Theorem 7. If the dual problem has an optimal multiplier, then the multiplier sequence converges to one:

∃p∗∈argmax⁡dsuch thatpk⟶p∗.\exists p^*\in\operatorname*{argmax}d\quad\text{such that}\quad p^k\longrightarrow p^*.∃p∗∈argmaxdsuch thatpk⟶p∗.

When every gig_igi​ is continuous on CCC and SSS contains the closed nonnegative orthant, each subsequential limit of the primal iterates solves the constrained problem. Under the same zone condition, the multiplier sequence is unbounded if the dual has no optimal multiplier. The printed theorem says “if (10) has no solution” in this last clause; its proof on p. 218 establishes the no-optimal-multiplier condition, which is the version formalized here.

Supporting targets

The milestones include the representations of h∗+h^{*+}h∗+ in Lemma 2, the appendix results governing recession directions and the monotone conjugate, Lemma 3's global finiteness and differentiability, the subdifferential chain rule, and the Bregman proximal point result of Theorem 1. They also capture the paper's claims that recursion (11) is a Bregman proximal point run for ∂(−d)\partial(-d)∂(−d) and that primal limit points meet the feasibility, complementarity, and Lagrangian conditions.

Significance

The theorem supplies a convergence guarantee for nonquadratic methods of multipliers with inequality constraints. It separates the dual conclusion, which uses the strict positive orthant condition, from the primal limit and unboundedness conclusions, which additionally require the closed orthant to lie in the zone. This distinction lets a Bregman function whose zone excludes boundary points still yield dual convergence when optimal multipliers exist (Eckstein 1993, Theorem 7, pp. 216–218).

Eckstein proved this theorem on paper. The mission asks for machine checked proofs of its precise statements and the supporting results; the draft statements compile but their proofs remain open. A completed development would also provide reusable finite dimensional infrastructure for extended-real convex functions, monotone conjugates, Bregman distances, and convex-analytic multiplier conditions.

Difficulty

A direct appeal to ordinary proximal point convergence does not identify the update in (11) as a proximal step: the primal minimization uses h∗+h^{*+}h∗+, whereas the operator of interest is the subdifferential of the negative dual functional. The nonnegative orthant also introduces boundary behavior absent from the equality constrained case. The link requires precise conjugacy and subdifferential statements, including a globally finite monotone conjugate, before Theorem 1 can apply (Eckstein 1993, pp. 215–218). For primal limit points, the issue is to pass from optimality of each primal subproblem to feasibility, complementarity, and minimization of the limiting Lagrangian.

Formalization scope

Lean uses finite dimensional real inner product spaces for the general proximal point theorem and EuclideanSpace ℝ (Fin n) and EuclideanSpace ℝ (Fin m) for the primal and multiplier spaces. Functions that the paper regards as extended-valued are represented by EReal; their properness excludes −∞-\infty−∞. The infimum defining ddd and the supremum defining h∗+h^{*+}h∗+ remain extended-real operations, so an infinite value cannot silently become zero. Real values are extracted from h∗+h^{*+}h∗+ in recursion (11) only because Lemma 3 asserts finiteness everywhere.

The real function hhh is total in Lean but constrained only on S‾\overline SS; its gradient is evaluated only at points in SSS. Every multiplier iterate is explicitly in SSS. The initial primal value x0x^0x0 is unused by recursion (11). The Bregman proximal point recursion is represented by its equivalent inclusion (4), and a “limit point” is a subsequential limit. The sequential condition (vi) of Definition 1 is stated for xk∈S‾x^k\in\overline Sxk∈S, the natural first-argument domain of DhD_hDh​. The Appendix's essential strict convexity means strict convexity on convex subsets of the subdifferential domain. Its recession direction uses the stated limit inferior condition.

Lemma A4's printed unconditional claim that its composite GGG is proper lacks a finite-value witness. The formal statement keeps convexity of GGG unconditional and states properness at a point x0x_0x0​ where all inner functions and the outer function are finite; differentiability of the outer function there is expressed with local finiteness of its extended-real value. At a zero coefficient, its corresponding subgradient term contributes zero without requiring a subgradient to exist. These conditions expose rather than hide the domain issue. The formulation rules out an arbitrary multiplier sequence, an all-space supremum, or a minimization over infeasible points. Contributions proving the milestones, improving shared convex analysis libraries, and checking the boundary conventions are welcome.

Selected references

  • Jonathan Eckstein, Nonlinear proximal point algorithms using Bregman functions, with applications to convex programming, Mathematics of Operations Research 18(1), 202–226, 1993. DOI:10.1287/moor.18.1.202.
15 thms1 active userReviewed
Dynamical SystemsProbabilityRandom Matrix Theory·Captain: mikedeng1

Subadditive Ergodic Theory 5: For a Stationary Sequence in a Banach Algebra with E(log‖Y₁‖)⁺ < ∞, n⁻¹ log‖Y₁⋯Y_n‖ Converges in [−∞, ∞)Research Paper

Motivation

Products of random linear operators appear wherever a system evolves by repeated application of randomly chosen linear maps: linear recursions with random coefficients, products of random matrices in statistical physics, the growth of random dynamical systems, and population models in random environments. The basic question is the exponential growth rate of the product Y1Y2⋯YnY_1Y_2\cdots Y_nY1​Y2​⋯Yn​. For square matrices, Furstenberg and Kesten (Ann. Math. Statist. 31, 1960) proved that n−1log⁡∥Y1⋯Yn∥n^{-1}\log\|Y_1\cdots Y_n\|n−1log∥Y1​⋯Yn​∥ converges for stationary sequences with a logarithmic moment condition.

Kingman (Subadditive ergodic theory, Ann. Probab. 1(6):883–899, 1973) showed that this limit theorem is an instance of the subadditive ergodic theorem, and that the instance needs nothing of matrices beyond the norm inequality ∥AB∥≤∥A∥ ∥B∥\|AB\|\le\|A\|\,\|B\|∥AB∥≤∥A∥∥B∥. His Theorem 6 therefore holds in an arbitrary real or complex Banach algebra, including infinite-dimensional ones such as infinite matrices with finite ℓ1\ell_1ℓ1​ norm. It is the source of what later became known as the top Lyapunov exponent of a stationary random operator product.

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space. A two-parameter family is a collection x=(xst)x=(x_{st})x=(xst​) of random variables indexed by nonnegative integers s<ts<ts<t. Kingman's conditions (§1.1–1.2) are:

  • S₁: xsu≤xst+xtux_{su}\le x_{st}+x_{tu}xsu​≤xst​+xtu​ whenever s<t<us<t<us<t<u;
  • S₂: the joint distributions of (xs+1,t+1)(x_{s+1,t+1})(xs+1,t+1​) are the same as those of (xst)(x_{st})(xst​);
  • S₃: gt=E(x0t)g_t=E(x_{0t})gt​=E(x0t​) is finite for every t≥1t\ge1t≥1 and gt≥−Atg_t\ge -Atgt​≥−At for some constant AAA;
  • S₃′: E(x01+)<∞E(x_{01}^+)<\inftyE(x01+​)<∞, where x+=max⁡(x,0)x^+=\max(x,0)x+=max(x,0).

A family of real random variables satisfying S₁, S₂ and S₃ is a subadditive process. Kingman's Theorem 1 (the goal of the first mission of this series) says that for a subadditive process x0t/tx_{0t}/tx0t​/t converges almost surely and in mean to a finite random variable ξ\xiξ with E(ξ)=γ=inf⁡t≥1gt/tE(\xi)=\gamma=\inf_{t\ge1}g_t/tE(ξ)=γ=inft≥1​gt​/t.

A Banach algebra B\mathfrak BB is a complete normed algebra over R\mathbb RR or C\mathbb CC whose norm satisfies ∥AB∥≤∥A∥ ∥B∥\|AB\|\le\|A\|\,\|B\|∥AB∥≤∥A∥∥B∥. A sequence (Yn)n≥1(Y_n)_{n\ge1}(Yn​)n≥1​ of B\mathfrak BB-valued random elements is stationary if (Yn+1)n≥1(Y_{n+1})_{n\ge1}(Yn+1​)n≥1​ and (Yn)n≥1(Y_n)_{n\ge1}(Yn​)n≥1​ have the same joint law. The log-norm process is

xst=log⁡∥Ys+1Ys+2⋯Yt∥∈[−∞,∞),s<t,x_{st}=\log\|Y_{s+1}Y_{s+2}\cdots Y_t\|\in[-\infty,\infty),\qquad s<t,xst​=log∥Ys+1​Ys+2​⋯Yt​∥∈[−∞,∞),s<t,

with log⁡0=−∞\log 0=-\inftylog0=−∞. Expectations of [−∞,∞)[-\infty,\infty)[−∞,∞)-valued variables are extended expectations E(f)=∫f+ dP−∫f− dPE(f)=\int f^+\,dP-\int f^-\,dPE(f)=∫f+dP−∫f−dP, defined when ∫f+ dP<∞\int f^+\,dP<\infty∫f+dP<∞ and possibly equal to −∞-\infty−∞.

Formalization targets

Goal: Theorem 6 (p. 893)

If (Yn)(Y_n)(Yn​) is a stationary sequence in a real or complex Banach algebra and E{(log⁡∥Y1∥)+}<∞E\{(\log\|Y_1\|)^+\}<\inftyE{(log∥Y1​∥)+}<∞, then

ξ=lim⁡n→∞n−1log⁡∥Y1Y2⋯Yn∥\xi=\lim_{n\to\infty}n^{-1}\log\|Y_1Y_2\cdots Y_n\|ξ=n→∞lim​n−1log∥Y1​Y2​⋯Yn​∥

exists in −∞≤ξ<∞-\infty\le\xi<\infty−∞≤ξ<∞ with probability one, and

E(ξ)=lim⁡n→∞n−1E{log⁡∥Y1Y2⋯Yn∥}.E(\xi)=\lim_{n\to\infty}n^{-1}E\{\log\|Y_1Y_2\cdots Y_n\|\}.E(ξ)=n→∞lim​n−1E{log∥Y1​Y2​⋯Yn​∥}.

The goal fixes no constant and no ergodicity assumption: ξ\xiξ is in general a non-degenerate random variable.

Milestones

  1. (1.2.7), p. 885: under S₁, S₂ and S₃′, E(xst+)<∞E(x_{st}^+)<\inftyE(xst+​)<∞ for all s<ts<ts<t.
  2. Proof of Theorem 2, p. 886: the truncation xst(N)=max⁡(xst,−N(t−s))x^{(N)}_{st}=\max(x_{st},-N(t-s))xst(N)​=max(xst​,−N(t−s)) is a subadditive process for every positive integer NNN.
  3. Theorem 2, p. 885: if xxx satisfies S₁, S₂ and S₃′ but not S₃, then ξ=lim⁡x0t/t\xi=\lim x_{0t}/tξ=limx0t​/t exists with probability one in [−∞,∞)[-\infty,\infty)[−∞,∞) and E(ξ)=−∞E(\xi)=-\inftyE(ξ)=−∞.
  4. Proof of Theorem 6, p. 893: the log-norm process satisfies S₁, S₂ and S₃′.

Significance

Theorem 6 defines a stochastic spectral radius: if every YnY_nYn​ equals a fixed element yyy, then eξe^\xieξ is the spectral radius of yyy by Gelfand's formula, and for independent YnY_nYn​ with common law π\piπ the limit is a constant ρ(π)\rho(\pi)ρ(π) depending only on π\piπ. For k×kk\times kk×k matrices the theorem reduces to the Furstenberg–Kesten theorem. Theorem 2, the extension of the subadditive ergodic theorem from S₃ to S₃′, is the form needed whenever a process can have mean growth rate −∞-\infty−∞, as happens for products that can vanish or contract superlinearly; it is used well beyond random products.

All results here are proved on paper (Kingman 1973, building on his 1968 paper). None of them is machine-checked: Mathlib has no subadditive ergodic theorem, no Furstenberg–Kesten theorem and no random-product limit in normed algebras. The platform poses an ergodic, constant-limit form of Kingman's theorem (PalmQueueing.Ergodic.kingman_subadditive, open); this mission's Theorem 2 is a different statement (non-ergodic, conclusion E(ξ)=−∞E(\xi)=-\inftyE(ξ)=−∞ under failure of S₃). A complete development would give the first formal proof of the Furstenberg–Kesten limit, in the generality of Banach algebras.

Difficulty

Theorem 6 is short given Theorems 1 and 2, but the obvious one-line reduction to Theorem 1 fails in two places. First, the log-norm process can take the value −∞-\infty−∞ and its means gtg_tgt​ can be −∞-\infty−∞ or decrease superlinearly, so condition S₃ fails and Theorem 1 does not apply; the case E(ξ)=−∞E(\xi)=-\inftyE(ξ)=−∞ is a separate theorem (Theorem 2), whose proof must exchange a limit in ttt with a limit in an auxiliary parameter. Second, stationarity of the log-norm process (S₂) is a statement about joint laws on a path space; in a non-separable Banach algebra, multiplication need not be measurable for the product σ\sigmaσ-algebra on B×B\mathfrak B\times\mathfrak BB×B, so it is not automatic that the law of (Yn)(Y_n)(Yn​) determines the joint law of the products Ys+1⋯YtY_{s+1}\cdots Y_tYs+1​⋯Yt​. The main dependency, Theorem 1 itself, is the subject of a separate mission and is not restated here.

Formalization scope

The Lean development fixes these conventions:

  • Families are functions x : ℕ → ℕ → Ω → β; only pairs s<ts<ts<t enter any condition. S₁ is required almost surely for each triple (the weaker hypothesis); the log-norm milestone proves it at every sample point.
  • S₂ and stationarity are equalities of laws of the whole path (Measure.map) on the product σ\sigmaσ-algebra, not equality of one-dimensional marginals.
  • S₃′ and all positive parts are lower Lebesgue integrals; expectations that may be −∞-\infty−∞ are computed as ∫f+−∫f−\int f^+ - \int f^-∫f+−∫f− in EReal, never as Bochner integrals (which return 000 for non-integrable functions).
  • log⁡∥⋅∥\log\|\cdot\|log∥⋅∥ is ENNReal.log of the norm, so log⁡∥0∥=−∞\log\|0\|=-\inftylog∥0∥=−∞; Real.log 0 = 0 would replace a vanishing product's growth rate −∞-\infty−∞ by 000, and is ruled out.
  • B\mathfrak BB is a complete unital NormedRing with NormedAlgebra 𝕜 𝔅, RCLike 𝕜. Each YnY_nYn​ is strongly measurable; B\mathfrak BB is not assumed separable.
  • Limits are Filter.atTop on ℕ in the topology of EReal; the conclusions assert ξ<∞\xi<\inftyξ<∞ almost surely, E(ξ+)<∞E(\xi^+)<\inftyE(ξ+)<∞, and, for (2.3.5), both the existence of the limit of means and its value.

A formalization that replaces the extended logarithm by Real.log, or the extended expectation by a Bochner integral, makes the statement false or trivially different, and is excluded.

Reusable infrastructure: extended expectations of EReal-valued random variables, joint-law stationarity of sequences and two-parameter families, and the truncation lemma for S₃′ processes. Contributions toward Theorem 1 (mission 1 of this series), toward measurability of products of strongly measurable random elements, and toward the milestones in any order are welcome.

Selected references

  • J. F. C. Kingman, Subadditive ergodic theory, Ann. Probab. 1(6):883–899, 1973. https://doi.org/10.1214/aop/1176996798
  • J. F. C. Kingman, The ergodic theory of subadditive stochastic processes, J. Roy. Statist. Soc. Ser. B 30:499–510, 1968. https://doi.org/10.1111/j.2517-6161.1968.tb00749.x
  • H. Furstenberg and H. Kesten, Products of random matrices, Ann. Math. Statist. 31:457–469, 1960. https://doi.org/10.1214/aoms/1177705909
8 thms1 active userReviewed
Dynamic ProgrammingOptimization·Captain: mikedeng1

Dynamic Pricing and Inventory Control of Substitute Products 3: Optimal Dynamic Prices When the Other Variates Keep Fixed PricesResearch Paper

Motivation

A retailer that sells a line of substitutable products — sizes, colours or models of one item — over a short season without replenishment must decide how to price each variate as inventory runs down. Customers substitute: when one variate is expensive or sold out, part of its demand moves to the others. Dong, Kouvelis and Tian (M&SOM 2009) model this with a multinomial logit (MNL) choice model inside a finite-horizon dynamic program and characterize the optimal prices in closed form up to one scalar equation per period.

Retailers often cannot reprice everything. A common arrangement, described in §5.1.3 of the paper, is mixed pricing: products advertised in a printed catalogue keep their catalogue prices for the season, while products sold only online are repriced dynamically. Proposition 2 of the paper gives the optimal dynamic prices in this setting. It is the third of the paper's three optimal-pricing results, after the full dynamic pricing model (Theorem 1) and unified dynamic pricing with one common price (Proposition 1); each is the subject of its own mission in this series.

Setting

There are nnn variates n={1,…,n}\mathfrak n = \{1,\dots,n\}n={1,…,n} and ttt remaining periods; time counts down. In each period one customer arrives with probability λ∈(0,1]\lambda \in (0,1]λ∈(0,1]. Variate iii has a quality index aia_iai​; the no-purchase option has utility u0u_0u0​; μ>0\mu > 0μ>0 is the MNL scale. The inventory is x∈Nnx \in \mathbb N^nx∈Nn, and the in-stock set is S(x)={i:xi>0}S(x) = \{i : x^i > 0\}S(x)={i:xi>0}. A sold-out variate leaves the choice set.

The variates are split into a dynamic-pricing set n1\mathfrak n_1n1​ and a fixed-pricing set n2=n∖n1\mathfrak n_2 = \mathfrak n \setminus \mathfrak n_1n2​=n∖n1​, where j∈n2j \in \mathfrak n_2j∈n2​ is always sold at its fixed price rj≥0r^j \ge 0rj≥0. Write S1(x)=S(x)∩n1S_1(x) = S(x)\cap\mathfrak n_1S1​(x)=S(x)∩n1​ and S2(x)=S(x)∩n2S_2(x) = S(x)\cap\mathfrak n_2S2​(x)=S(x)∩n2​. Given dynamic prices rir^iri (i∈n1i \in \mathfrak n_1i∈n1​), an arriving customer buys an in-stock variate iii with probability

Pi=e(ai−ri)/μ∑j∈S(x)e(aj−rj)/μ+eu0/μ,P^i = \frac{e^{(a_i - r^i)/\mu}}{\sum_{j\in S(x)} e^{(a_j - r^j)/\mu} + e^{u_0/\mu}},Pi=∑j∈S(x)​e(aj​−rj)/μ+eu0​/μe(ai​−ri)/μ​,

and buys nothing with probability P0P^0P0 (numerator eu0/μe^{u_0/\mu}eu0​/μ). The value function πt(x)\pi_t(x)πt​(x) is the maximum expected revenue from ttt periods with inventory xxx: π0≡0\pi_0 \equiv 0π0​≡0 and

πt(x)=max⁡r∈R+n1{λ∑i∈S(x)riPi+λ∑i∈S(x)Pi πt−1(x−ei)+(λP0+1−λ) πt−1(x)}.\pi_t(x) = \max_{r \in \mathbb R^{n_1}_+}\Big\{\lambda\sum_{i\in S(x)} r^i P^i + \lambda\sum_{i\in S(x)} P^i\,\pi_{t-1}(x-e^i) + (\lambda P^0 + 1-\lambda)\,\pi_{t-1}(x)\Big\}.πt​(x)=r∈R+n1​​max​{λi∈S(x)∑​riPi+λi∈S(x)∑​Piπt−1​(x−ei)+(λP0+1−λ)πt−1​(x)}.

The marginal value of a unit of variate iii is Δiπt(x)=πt(x)−πt(x−ei)\Delta^i\pi_t(x) = \pi_t(x) - \pi_t(x-e^i)Δiπt​(x)=πt​(x)−πt​(x−ei). For a fixed-price variate put vj=rj−Δjπt−1(x)v_j = r^j - \Delta^j\pi_{t-1}(x)vj​=rj−Δjπt−1​(x) and uj=aj−rju_j = a_j - r^juj​=aj​−rj; for the outside option v0=0v_0 = 0v0​=0, and S2+(x)=S2(x)∪{0}S_2^+(x) = S_2(x)\cup\{0\}S2+​(x)=S2​(x)∪{0}.

In Lean the model lives in SubstitutePricing.Mixed.Model: S1, S2, P, P0, objM, piM, deltaM, v, uf, lhs15, rhs15, rstarM.

Formalization targets

Goal: Proposition 2

For every t≥1t \ge 1t≥1 and inventory xxx, the margin equation

∑j∈S2+(x)(mt−vjμ−1)e(mt+uj)/μ=∑i∈S1(x)e(ai−Δiπt−1(x))/μ(15)\sum_{j\in S_2^+(x)}\Big(\frac{m_t - v_j}{\mu} - 1\Big)e^{(m_t+u_j)/\mu} = \sum_{i\in S_1(x)} e^{(a_i - \Delta^i\pi_{t-1}(x))/\mu} \tag{15}j∈S2+​(x)∑​(μmt​−vj​​−1)e(mt​+uj​)/μ=i∈S1​(x)∑​e(ai​−Δiπt−1​(x))/μ(15)

has exactly one solution mt(x)m_t(x)mt​(x); the dynamic prices

rti∗(x)=Δiπt−1(x)+mt(x),i∈S1(x),r^{i*}_t(x) = \Delta^i\pi_{t-1}(x) + m_t(x), \qquad i \in S_1(x),rti∗​(x)=Δiπt−1​(x)+mt​(x),i∈S1​(x),

are allowable and attain the maximum in the optimality equation; and

πt(x)=λ∑s=1t[ms(x)−μ].\pi_t(x) = \lambda\sum_{s=1}^t\big[m_s(x) - \mu\big].πt​(x)=λs=1∑t​[ms​(x)−μ].

Milestones

In the order the paper's proof uses them: the optimality equation rewritten as a price objective plus πt−1\pi_{t-1}πt−1​ (29); the no-purchase and fixed-price probabilities as functions of the dynamic ones (30); strict joint concavity of the objective (31) in the dynamic choice probabilities; the form (32)–(34) of an optimal price vector; the equivalence of (15) with (36) and uniqueness of its root; and the one-period recursion πt−πt−1=λ(mt−μ)\pi_t - \pi_{t-1} = \lambda(m_t - \mu)πt​−πt−1​=λ(mt​−μ).

Significance

The result says that, even with part of the line frozen at catalogue prices, the optimal dynamic prices keep the structure of the full model: every repriced variate earns the same margin mtm_tmt​ over its own marginal value, and one scalar equation per period determines that margin. The fixed-price variates enter (15) in exactly the role of the outside option, each weighted by its own net value vjv_jvj​; when n2=∅\mathfrak n_2 = \emptysetn2​=∅, (15) reduces to the margin equation (10) of Theorem 1. One difference from the full model is that the identity mtPt0∗=μm_t P^{0*}_t = \mumt​Pt0∗​=μ fails here, so the margin is not tied to the no-purchase probability alone. The structure reduces each period's n1n_1n1​-dimensional price optimization to a one-dimensional root and supports the paper's comparison of mixed, unified and full dynamic pricing in §5.

The paper gives a complete proof (Appendix A, pp. 337–338). None of it is formalized: Prove2Me and Mathlib have no MNL pricing dynamic program. The mission produces a machine-checked version of the proof, including the step the paper leaves unchecked (below).

Difficulty

The objective is not concave in prices, so a stationary point in price space is not automatically a maximum, and the obvious first-order argument proves nothing by itself. The fixed-price variates make the coupling worse than in the full model: their purchase probabilities move with every dynamic price, and the identity mtPt0∗=μm_t P^{0*}_t = \mumt​Pt0∗​=μ that pins the margin in Theorem 1 is lost.

The second difficulty is a gap. The price set is R+n1\mathbb R^{n_1}_+R+n1​​, and the proof never checks that the prices Δiπt−1(x)+mt\Delta^i\pi_{t-1}(x) + m_tΔiπt−1​(x)+mt​ are nonnegative. In Theorem 1 this follows from mt>μm_t > \mumt​>μ and Δiπt−1≥0\Delta^i\pi_{t-1}\ge 0Δiπt−1​≥0. Here the left side of (15) is negative for m≤μ+min⁡(0,min⁡jvj)m \le \mu + \min(0, \min_j v_j)m≤μ+min(0,minj​vj​), so mt>0m_t > 0mt​>0 follows once every vj≥−μv_j \ge -\muvj​≥−μ; the paper bounds vjv_jvj​ nowhere. Random search over small instances found no negative optimal price, so the goal is posed as printed. A complete formalization of the goal must close this gap.

Formalization scope

  • Variates are Fin n; the dynamic set is a Finset; inventories are Fin n → ℕ; time counts down with π0=0\pi_0 = 0π0​=0 defined by recursion on t : ℕ. Results are stated for t≥1t \ge 1t≥1.
  • The paper's null price ri=∞r^i = \inftyri=∞ for sold-out variates is modelled by removing them from the choice set, so in-stock prices are finite reals.
  • The no-sale term of (3) is counted once, as (5) and the proofs use it.
  • The value function is sSup over {r:ri≥0, i∈n1}\{r : r^i \ge 0,\ i\in\mathfrak n_1\}{r:ri≥0, i∈n1​}; coordinates outside n1\mathfrak n_1n1​ are ignored. Fixed prices are assumed nonnegative. The goal asserts feasibility of the prices, attainment of the maximum, and the value identity, so it never rests on the value of sSup at an unattained or unbounded set.
  • The root of (15) is quantified as "the unique mmm", not chosen inside a definition; the revenue formula takes the roots msm_sms​ for s=1,…,ts = 1,\dots,ts=1,…,t at the same inventory xxx, as the paper specifies.
  • The case S1(x)=∅S_1(x) = \emptysetS1​(x)=∅ is included: the right side of (15) is 000 and the root is μ+∑jθjvj/(1+Θ)\mu + \sum_j\theta_j v_j/(1+\Theta)μ+∑j​θj​vj​/(1+Θ).
  • The printed (36) has Δjπt\Delta^j\pi_tΔjπt​ where (32) and (37) have Δjπt−1\Delta^j\pi_{t-1}Δjπt−1​; the misprint is not copied.
  • Strict concavity (31) is stated on the open probability domain with the coordinates outside S1(x)S_1(x)S1​(x) pinned to 000.
  • The nonnegativity of the optimal prices is asserted as printed (see Difficulty).

A trivializing formalization — relaxing the price set to Rn1\mathbb R^{n_1}Rn1​, stating the value identity without attainment, or adding a hypothesis that bounds mtm_tmt​ from below — would remove the gap rather than prove the theorem, and is ruled out.

The development needs the MNL choice probabilities, the dynamic program, a strict-concavity argument on an open simplex, and a monotonicity-plus-intermediate-value root lemma. The model file is kept identical, up to the mixed-pricing data, to the files of the other two missions in this series so they can be consolidated. Proofs of any milestone, and in particular an argument closing the nonnegativity gap, are welcome.

Selected references

  • L. Dong, P. Kouvelis, Z. Tian, Dynamic Pricing and Inventory Control of Substitute Products, Manufacturing & Service Operations Management 11(2) (2009) 317–339. https://doi.org/10.1287/msom.1080.0221
  • G. Gallego, G. van Ryzin, A multiproduct dynamic pricing problem and its application to network yield management, Operations Research 45(1) (1997) 24–41. https://doi.org/10.1287/opre.45.1.24
  • W. Hanson, K. Martin, Optimizing multinomial logit profit functions, Management Science 42(7) (1996) 992–1003. https://doi.org/10.1287/mnsc.42.7.992
8 thms1 active userReviewed
Dynamical SystemsProbabilityRandom Matrix Theory·Captain: mikedeng1

Subadditive Ergodic Theory 4: Furstenberg–Kesten — for Stationary Positive Random Matrices, n⁻¹ log [Y₁⋯Y_n]_ij Converges, Independently of i and jResearch Paper

Products of random matrices

Many systems evolve by repeated multiplication by a random linear map: the state of a linear system with randomly varying coefficients, population vectors in a random environment (Leslie models whose rates change from year to year), the transfer matrices of a disordered one-dimensional medium, and the transition operators of a Markov chain in a random environment. In each case the object of interest is the product Xn=Y1Y2⋯YnX_n = Y_1 Y_2 \cdots Y_nXn​=Y1​Y2​⋯Yn​ of random matrices and its growth as n→∞n\to\inftyn→∞.

The basic answer is due to Furstenberg and Kesten (Products of random matrices, Ann. Math. Statist. 31 (1960)): under a logarithmic moment condition and stationarity, n−1log⁡n^{-1}\logn−1log of the size of XnX_nXn​ converges. Their proof was a substantial piece of analysis. In his 1973 IMS Special Invited Paper (Kingman, Subadditive ergodic theory, Ann. Probab. 1 (1973)), J. F. C. Kingman showed that for matrices with strictly positive entries the result is a short corollary of his subadditive ergodic theorem (Theorem 1 of that paper, 1968). This mission formalizes that application: Theorem 5 of the 1973 paper, §2.2, pp. 891–892.

Timeline:

  • 1960: Furstenberg and Kesten prove convergence of n−1log⁡∥Xn∥n^{-1}\log\|X_n\|n−1log∥Xn​∥ and, for positive matrices, of n−1log⁡[Xn]ijn^{-1}\log[X_n]_{ij}n−1log[Xn​]ij​.
  • 1968: Kingman proves the subadditive ergodic theorem (J. Roy. Statist. Soc. B 30).
  • 1973: Kingman's survey deduces the positive-matrix theorem (Theorem 5) and the general Banach-algebra version (Theorem 6) from it.

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space, k≥1k\ge1k≥1, and let Y1,Y2,…Y_1, Y_2,\dotsY1​,Y2​,… be random k×kk\times kk×k real matrices. Write [A]ij[A]_{ij}[A]ij​ for the (i,j)(i,j)(i,j)th entry of a matrix AAA, and

Xn=Y1Y2⋯Yn(2.2.1),X_n = Y_1 Y_2\cdots Y_n \qquad (2.2.1),Xn​=Y1​Y2​⋯Yn​(2.2.1),

the product taken left to right. The sequence (Yn)(Y_n)(Yn​) is stationary if the joint law of (Y2,Y3,… )(Y_2, Y_3, \dots)(Y2​,Y3​,…) equals the joint law of (Y1,Y2,… )(Y_1, Y_2, \dots)(Y1​,Y2​,…); this is a statement about all finite-dimensional distributions at once, and it includes the case of independent identically distributed matrices.

The proof works with the diagonal process

zst=[Ys+1Ys+2⋯Yt]11,xst=−log⁡zst(s<t),z_{st} = [Y_{s+1}Y_{s+2}\cdots Y_t]_{11},\qquad x_{st} = -\log z_{st}\qquad (s<t),zst​=[Ys+1​Ys+2​⋯Yt​]11​,xst​=−logzst​(s<t),

and with the ℓ1\ell_1ℓ1​-norm ∥A∥=max⁡i∑j∣[A]ij∣\|A\| = \max_i \sum_j |[A]_{ij}|∥A∥=maxi​∑j​∣[A]ij​∣. A family (xst)s<t(x_{st})_{s<t}(xst​)s<t​ is a subadditive process (§1.1) if S₁: xsu≤xst+xtux_{su}\le x_{st}+x_{tu}xsu​≤xst​+xtu​ for s<t<us<t<us<t<u; S₂: the joint distributions of (xs+1,t+1)(x_{s+1,t+1})(xs+1,t+1​) equal those of (xst)(x_{st})(xst​); S₃: gt=E(x0t)g_t=E(x_{0t})gt​=E(x0t​) exists and gt≥−Atg_t\ge -Atgt​≥−At for some constant AAA.

Formalization targets

Goal: Theorem 5

Suppose the elements of the matrices YnY_nYn​ are strictly positive, E∣log⁡[Yn]ij∣<∞E|\log[Y_n]_{ij}|<\inftyE∣log[Yn​]ij​∣<∞ for every nnn and every i,ji,ji,j, and (Yn)(Y_n)(Yn​) is stationary. Then there is one finite random variable λ\lambdaλ such that for every (i,j)(i,j)(i,j)

λ=lim⁡n→∞n−1log⁡[Xn]ij(2.2.2)\lambda = \lim_{n\to\infty} n^{-1}\log [X_n]_{ij} \qquad (2.2.2)λ=n→∞lim​n−1log[Xn​]ij​(2.2.2)

with probability one and in mean. The limit is random in general (it is constant when (Yn)(Y_n)(Yn​) is ergodic); the theorem asserts its existence, its finiteness and its independence of (i,j)(i,j)(i,j), and nothing about its value.

Milestones, in the order of the paper's proof

  1. (2.3.1): [AB]11≥[A]11[B]11[AB]_{11}\ge[A]_{11}[B]_{11}[AB]11​≥[A]11​[B]11​ for matrices with strictly positive entries.
  2. xst=−log⁡zstx_{st}=-\log z_{st}xst​=−logzst​ satisfies S₁ and S₂, and each xstx_{st}xst​ has finite expectation gt−sg_{t-s}gt−s​.
  3. E{log⁡∥Y1∥}<∞E\{\log\|Y_1\|\}<\inftyE{log∥Y1​∥}<∞ and gn/n≥−E{log⁡∥Y1∥}g_n/n\ge -E\{\log\|Y_1\|\}gn​/n≥−E{log∥Y1​∥} for all n≥1n\ge1n≥1, so S₃ holds.
  4. The limit (2.2.2) exists, with probability one and in mean, for i=j=1i=j=1i=j=1.
  5. (2.2.3): for every (i,j)(i,j)(i,j), P{lim inf⁡n−1log⁡[Xn]ij≥λ}=1P\{\liminf n^{-1}\log[X_n]_{ij}\ge\lambda\}=1P{liminfn−1log[Xn​]ij​≥λ}=1.
  6. For every (i,j)(i,j)(i,j), P{lim sup⁡n−1log⁡[Xn]ij≤λ}=1P\{\limsup n^{-1}\log[X_n]_{ij}\le\lambda\}=1P{limsupn−1log[Xn​]ij​≤λ}=1.

Significance

The limit λ\lambdaλ is the top Lyapunov exponent of the random product: it is the almost-sure exponential growth rate of every entry, and hence of every norm, of XnX_nXn​. It governs the stability of random linear recursions vn=vn−1Ynv_{n}=v_{n-1}Y_nvn​=vn−1​Yn​, the long-run growth rate of populations in random environments, and localization in one-dimensional disordered systems. Theorem 5 is the existence statement on which all of these quantitative questions rest.

The theorem has been proved since 1960, and Kingman's derivation is a classical model application of subadditive ergodic theory. To our knowledge it has no machine-checked proof: Mathlib has neither Kingman's subadditive ergodic theorem nor any limit theorem for random matrix products. This mission produces a formal statement of the result together with the formal decomposition of the proof into the steps Kingman writes down; its milestone 4 is exactly where the subadditive ergodic theorem (the goal of the companion mission Subadditive Ergodic Theory 1) is applied.

Difficulty

Milestones 1–3 are deterministic matrix inequalities plus integrability bookkeeping; the substance is elsewhere. First, milestone 4 needs the full subadditive ergodic theorem, almost-sure and in mean, for a non-ergodic stationary process: the classical Birkhoff theorem does not apply, because log⁡[Xn]11\log[X_n]_{11}log[Xn​]11​ is not a sum of stationary increments. Second, passing from the diagonal entry to all entries requires controlling n−1log⁡[Yn]1jn^{-1}\log[Y_n]_{1j}n−1log[Yn​]1j​ along a stationary sequence with only a first-moment hypothesis, and transporting an almost-sure statement about Xn′=Y2⋯Yn+1X_n'=Y_2\cdots Y_{n+1}Xn′​=Y2​⋯Yn+1​ back to XnX_nXn​ by stationarity, where the limit λ\lambdaλ is itself random. The natural shortcut — treating λ\lambdaλ as a constant — is only valid under ergodicity, which is not assumed.

Formalization scope

  • Matrices are Matrix (Fin k) (Fin k) ℝ with NeZero k; the paper's index 111 is 0 : Fin k. The sequence is Y : ℕ → Ω → Matrix …, read only for n≥1n\ge1n≥1; Y 0 plays no role.
  • Products are ordered: Ys+1⋯YtY_{s+1}\cdots Y_tYs+1​⋯Yt​ is the List.prod of [Y (s+1), …, Y t]; X0X_0X0​ is the identity.
  • Stationarity is equality of the laws of (Yn+2)n≥0(Y_{n+2})_{n\ge0}(Yn+2​)n≥0​ and (Yn+1)n≥0(Y_{n+1})_{n\ge0}(Yn+1​)n≥0​ on ℕ → Fin k → Fin k → ℝ with the product σ-algebra. Independence is not assumed.
  • Positivity holds for every outcome; "their logarithms have finite expectations" is integrability of every log⁡[Yn]ij\log[Y_n]_{ij}log[Yn​]ij​, n≥1n\ge1n≥1.
  • "Finite limit" is a real-valued lam : Ω → ℝ; "in mean" is E∣n−1log⁡[Xn]ij−λ∣→0E|n^{-1}\log[X_n]_{ij}-\lambda|\to0E∣n−1log[Xn​]ij​−λ∣→0 with λ\lambdaλ integrable; time is n∈Nn\in\mathbb Nn∈N with Filter.atTop. One lam serves all (i,j)(i,j)(i,j).
  • Lim inf and lim sup inequalities are stated with ε\varepsilonε: almost surely, for every ε>0\varepsilon>0ε>0, eventually n−1log⁡[Xn]ij≥λ−εn^{-1}\log[X_n]_{ij}\ge\lambda-\varepsilonn−1log[Xn​]ij​≥λ−ε (respectively ≤λ+ε\le\lambda+\varepsilon≤λ+ε), which avoids the junk value of a real liminf on unbounded sequences.
  • Real.log 0 = 0 in Lean; the statements apply log only to entries that are strictly positive under the hypotheses, so no junk value enters. Dropping the positivity hypothesis would change the theorem, and is not an acceptable shortcut.
  • The S₁/S₂ vocabulary of §1.1 comes from the group's shared process module; this mission defines gtg_tgt​ locally. The general subadditive ergodic theorem is not restated here, and milestone 4 is the object-specific statement the paper writes.

Welcome contributions: proofs of the matrix inequalities, the integrability and stationarity transfer lemmas, a formal subadditive ergodic theorem (shared with the companion mission).

Selected references

  • J. F. C. Kingman, Subadditive ergodic theory, Ann. Probab. 1(6):883–899, 1973. https://doi.org/10.1214/aop/1176996798
  • H. Furstenberg and H. Kesten, Products of random matrices, Ann. Math. Statist. 31(2):457–469, 1960. https://doi.org/10.1214/aoms/1177705909
  • J. F. C. Kingman, The ergodic theory of subadditive stochastic processes, J. Roy. Statist. Soc. Ser. B 30(3):499–510, 1968. https://doi.org/10.1111/j.2517-6161.1968.tb00749.x
9 thms1 active userReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Reflected Solutions of Backward SDE's, and Related Obstacle Problems for PDE's 1: The Reflected BSDE Has a Unique Square-Integrable SolutionResearch Paper

Motivation

A backward stochastic differential equation (BSDE) prescribes the value ξ\xiξ of a process at a terminal time TTT and asks for an adapted process YYY that reaches it while following a given drift fff. Adaptedness forces a second unknown ZZZ, the integrand of a martingale term. Pardoux and Peng (1990) proved that Lipschitz BSDEs are well posed. BSDEs then became a standard language for stochastic control, for pricing and hedging in mathematical finance, and for probabilistic representations of semilinear parabolic PDEs.

Many such problems carry a constraint. The value of an American option must stay above its exercise payoff, and the value of an optimal stopping problem must stay above the reward for stopping now. El Karoui, Kapoudjian, Pardoux, Peng and Quenez (1997) introduced the reflected BSDE: the solution is kept above a given obstacle SSS by an increasing process KKK that acts only when the constraint binds. This mission formalizes the paper's first main result, existence and uniqueness of the reflected BSDE, together with the estimates its proof rests on.

Setting

Let B=(B1,…,Bd)B=(B^1,\dots,B^d)B=(B1,…,Bd) be a ddd-dimensional standard Brownian motion on a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P). Let (Ft)(\mathcal F_t)(Ft​) be its natural filtration, augmented by the PPP-null sets. Fix a horizon TTT. The data are:

  • a terminal value ξ\xiξ, FT\mathcal F_TFT​-measurable with Eξ2<∞E\xi^2<\inftyEξ2<∞ (condition (i));
  • a coefficient f(t,ω,y,z)f(t,\omega,y,z)f(t,ω,y,z) such that f(⋅,y,z)f(\cdot,y,z)f(⋅,y,z) is progressively measurable with E∫0Tf(t,y,z)2dt<∞E\int_0^Tf(t,y,z)^2dt<\inftyE∫0T​f(t,y,z)2dt<∞ (ii), and ∣f(t,y,z)−f(t,y′,z′)∣≤K(∣y−y′∣+∣z−z′∣)|f(t,y,z)-f(t,y',z')|\le K(|y-y'|+|z-z'|)∣f(t,y,z)−f(t,y′,z′)∣≤K(∣y−y′∣+∣z−z′∣) almost surely for some K>0K>0K>0 (iii);
  • an obstacle SSS, continuous and progressively measurable, with Esup⁡t≤T(St+)2<∞E\sup_{t\le T}(S_t^+)^2<\inftyEsupt≤T​(St+​)2<∞ (iv),

with the standing assumption ST≤ξS_T\le\xiST​≤ξ a.s.

A solution is a triple (Y,Z,K)(Y,Z,K)(Y,Z,K) of progressively measurable processes, valued in R\mathbb RR, Rd\mathbb R^dRd and R+\mathbb R_+R+​, such that

Yt=ξ+∫tTf(s,Ys,Zs) ds+KT−Kt−∫tT(Zs,dBs),0≤t≤T(vi),Y_t=\xi+\int_t^Tf(s,Y_s,Z_s)\,ds+K_T-K_t-\int_t^T(Z_s,dB_s),\qquad 0\le t\le T\quad\text{(vi)},Yt​=ξ+∫tT​f(s,Ys​,Zs​)ds+KT​−Kt​−∫tT​(Zs​,dBs​),0≤t≤T(vi),

Yt≥StY_t\ge S_tYt​≥St​ (vii), and KKK is continuous and nondecreasing with K0=0K_0=0K0​=0 and ∫0T(Yt−St) dKt=0\int_0^T(Y_t-S_t)\,dK_t=0∫0T​(Yt​−St​)dKt​=0 (viii). Condition (viii) says that KKK increases only when YYY touches SSS. The integrability conditions are (v), E∫0T∣Zt∣2dt<∞E\int_0^T|Z_t|^2dt<\inftyE∫0T​∣Zt​∣2dt<∞, and (v′), Esup⁡t≤TYt2<∞E\sup_{t\le T}Y_t^2<\inftyEsupt≤T​Yt2​<∞ and EKT2<∞EK_T^2<\inftyEKT2​<∞.

Formalization targets

Goal: Theorem 5.2

Under (i)–(iv) and ST≤ξS_T\le\xiST​≤ξ, the reflected BSDE with (v)–(viii) has a solution, and any two solutions satisfying (v)–(viii) coincide:

∃ (Y,Z,K) solving (v)–(viii),(Y,Z,K),(Y′,Z′,K′) solving (v)–(viii) ⇒ Y≡Y′, K≡K′, Z=Z′ dP⊗dt-a.e.\exists\,(Y,Z,K)\ \text{solving (v)–(viii)},\qquad (Y,Z,K),(Y',Z',K')\ \text{solving (v)–(viii)}\ \Rightarrow\ Y\equiv Y',\ K\equiv K',\ Z=Z'\ dP\otimes dt\text{-a.e.}∃(Y,Z,K) solving (v)–(viii),(Y,Z,K),(Y′,Z′,K′) solving (v)–(viii) ⇒ Y≡Y′, K≡K′, Z=Z′ dP⊗dt-a.e.

Milestones, in the order the proof uses them

  1. Lemma 2.1: the deterministic Skorohod problem y=x+k≥0y=x+k\ge0y=x+k≥0 has a unique solution, with kt=sup⁡s≤txs−k_t=\sup_{s\le t}x_s^-kt​=sups≤t​xs−​.
  2. Proposition 2.2: KT−Kt=sup⁡t≤u≤T(ξ+∫uTf ds−∫uT(Zs,dBs)−Su)−K_T-K_t=\sup_{t\le u\le T}\big(\xi+\int_u^Tf\,ds-\int_u^T(Z_s,dB_s)-S_u\big)^-KT​−Kt​=supt≤u≤T​(ξ+∫uT​fds−∫uT​(Zs​,dBs​)−Su​)−.
  3. Corollary 3.3 (α): (v) implies (v′).
  4. Proposition 2.3: Yt=ess sup⁡v∈TtE[∫tvf ds+Sv1{v<T}+ξ1{v=T}∣Ft]Y_t=\operatorname{ess\,sup}_{v\in\mathcal T_t}E\big[\int_t^vf\,ds+S_v1_{\{v<T\}}+\xi1_{\{v=T\}}\mid\mathcal F_t\big]Yt​=esssupv∈Tt​​E[∫tv​fds+Sv​1{v<T}​+ξ1{v=T}​∣Ft​].
  5. Proposition 3.5: the a priori estimate E(sup⁡Y2+∫∣Z∣2+KT2)≤C E(ξ2+∫f(t,0,0)2+sup⁡(S+)2)E(\sup Y^2+\int|Z|^2+K_T^2)\le C\,E(\xi^2+\int f(t,0,0)^2+\sup(S^+)^2)E(supY2+∫∣Z∣2+KT2​)≤CE(ξ2+∫f(t,0,0)2+sup(S+)2).
  6. Proposition 3.6: the stability estimate in (ξ,f,S)(\xi,f,S)(ξ,f,S).
  7. Corollary 3.7: uniqueness under (v).
  8. Proposition 5.1: well-posedness of the backward reflection problem, the case where f=f(t)f=f(t)f=f(t) does not depend on (y,z)(y,z)(y,z).

Significance

Theorem 5.2 is the foundation of the theory of reflected BSDEs. With it, the solution gives the value of a mixed optimal stopping problem (Proposition 2.3). For concave fff it gives the value of a combined stopping and control problem, and in a Markovian setting it gives the unique viscosity solution of the obstacle problem for a semilinear parabolic PDE. The other two missions of this series formalize those consequences, and both use the existence and uniqueness proved here. The model has many later extensions (two obstacles and Dynkin games, jumps, quadratic growth), and the pricing of American options under constrained or nonlinear dynamics is formulated through it.

The result is classical and fully proved in the paper. As far as is known, no machine-checked proof of existence for a (reflected or plain) BSDE exists. The remaining work is the formalization of the known proof: the Skorohod lemma, the optimal-stopping representation, the a priori and stability estimates, and the Picard contraction. The milestones are reusable well beyond this paper, in particular the Skorohod lemma, the estimates, and the identification of the reflected solution with a Snell envelope.

Difficulty

The natural first idea is to treat (vi) as a forward equation and reflect it pathwise with the Skorohod map, as in forward reflected SDEs. This fails: the pathwise reflection of a backward equation produces a process KKK that is not adapted (Proposition 2.2 gives KKK as a supremum over the future). The adaptedness of (Y,K)(Y,K)(Y,K) comes only from the choice of ZZZ, i.e. from a martingale representation. Any construction must produce ZZZ and KKK together, and the estimates must control the contribution of KKK using only the minimality condition (viii). In the formal setting, Mathlib has Brownian motion, filtrations, stopping times and conditional expectations, but no stochastic integral (the platform definition Peng1990.SMP.IsItoIntegral supplies one, without any calculus), no Itô formula, no martingale representation, no Burkholder–Davis–Gundy inequality and no Snell envelope theory in continuous time.

Formalization scope

The Lean development builds on the published definitions Peng1990.SMP.Stochastic: standard ddd-dimensional Brownian motion, H2\mathbb H^2H2 as L2F, and the L2L^2L2 Itô integral IsItoIntegral. It commits to the following conventions:

  • time is ℝ≥0, with T:R≥0T:\mathbb R_{\ge0}T:R≥0​, and only t≤Tt\le Tt≤T matters;
  • the filtration is the natural Brownian filtration joined with the σ\sigmaσ-algebra of PPP-null sets;
  • H2\mathbb H^2H2 uses progressive rather than predictable measurability;
  • ∣z∣|z|∣z∣ is the Euclidean norm on Rd\mathbb R^dRd;
  • the stochastic integral is the L2L^2L2 Itô integral with a version continuous on [0,T][0,T][0,T]. Since that integral is only defined for Z∈H2Z\in\mathbb H^2Z∈H2, the predicate for (vi)–(viii) contains (v), which is a recorded deviation for Proposition 2.2;
  • (vi)–(viii) hold almost surely, simultaneously for all t∈[0,T]t\in[0,T]t∈[0,T];
  • the integral ∫(Y−S) dK\int(Y-S)\,dK∫(Y−S)dK is taken against the Stieltjes measure of the path of KKK;
  • moments are lower Lebesgue integrals in [0,∞][0,\infty][0,∞];
  • the essential supremum is a predicate on the candidate;
  • uniqueness of ZZZ is dP⊗dtdP\otimes dtdP⊗dt-almost everywhere.

Proposition 2.3 additionally assumes S∈S2S\in\mathcal S^2S∈S2, which the paper's Remark 3.2 allows without loss of generality, so that every conditional expectation in it is of an integrable variable. The constants of Propositions 3.5 and 3.6 are quantified before the Brownian dimension, probability space, data and solution, and depend only on (T,K)(T,K)(T,K); a per-solution constant would make both statements trivial. The condition ST≤ξS_T\le\xiST​≤ξ is part of every statement, since without it no solution exists. Proposition 3.1 and Corollary 3.3 (β) are not posed.

A complete proof needs Itô's formula for Y2Y^2Y2, the Burkholder–Davis–Gundy inequality, Gronwall's lemma, martingale representation for the Brownian filtration, and the Snell envelope with its Doob–Meyer decomposition. Each of these is reusable on its own, and contributions of any of them are welcome, as are proofs of individual milestones.

Selected references

  • N. El Karoui, C. Kapoudjian, É. Pardoux, S. Peng, M. C. Quenez, Reflected solutions of backward SDE's, and related obstacle problems for PDE's, Ann. Probab. 25(2), 1997, 702–737. https://doi.org/10.1214/aop/1024404416
  • É. Pardoux, S. Peng, Adapted solution of a backward stochastic differential equation, Systems & Control Letters 14, 1990, 55–61. https://doi.org/10.1016/0167-6911(90)90082-6
  • N. El Karoui, S. Peng, M. C. Quenez, Backward stochastic differential equations in finance, Math. Finance 7(1), 1997, 1–71. https://doi.org/10.1111/1467-9965.00022
14 thms1 active userReviewed
Dynamic ProgrammingMarkov ChainReinforcement Learning·Captain: mikedeng1

Planning and Acting in Partially Observable Stochastic Domains: The Witness Theorem, a Set of Useful Policy Trees Is Incomplete iff Replacing One Subtree Improves on It at Some Belief StateResearch Paper

Motivation

A partially observable Markov decision process (POMDP) models an agent that acts in a stochastic world whose state it cannot see directly. The agent sees only noisy observations. POMDPs are the standard model for planning under uncertainty in robotics, dialogue systems, medical decision making and machine maintenance. The exact finite-horizon theory goes back to Smallwood and Sondik (1973), who showed that the optimal value function is piecewise linear and convex in the agent's belief, so that it can be represented by a finite set of vectors.

Kaelbling, Littman and Cassandra (1998) brought this theory to artificial intelligence. Their paper introduces policy trees as the objects behind those vectors and presents the witness algorithm, an exact value-iteration method. It is one of the most cited papers on POMDPs. The correctness of the witness algorithm rests on a single statement, Theorem A.1 of the paper's appendix, the witness theorem. This mission formalizes that theorem together with the lemmas its proof uses.

Timeline:

  • 1965: Åström reduces control with incomplete state information to control of the conditional state distribution.
  • 1973: Smallwood and Sondik prove that the finite-horizon value function is piecewise linear and convex and give the first exact algorithm.
  • 1980s: Cheng's linear support method. Lark and White's pruning.
  • 1994–1996: Littman, Cassandra and Kaelbling give the witness algorithm and its theorem (Littman's thesis, 1996).
  • 1998: the journal version studied here.

Setting

A POMDP is a tuple ⟨S,A,T,R,Ω,O⟩\langle S, A, T, R, \Omega, O\rangle⟨S,A,T,R,Ω,O⟩ with finite sets SSS of states, AAA of actions and Ω\OmegaΩ of observations. Taking action aaa in state sss leads to state s′s's′ with probability T(s,a,s′)T(s, a, s')T(s,a,s′) and earns expected reward R(s,a)R(s, a)R(s,a). The agent then observes ooo with probability O(s′,a,o)O(s', a, o)O(s′,a,o). Rewards are discounted by a factor γ\gammaγ with 0<γ≤10 < \gamma \le 10<γ≤1; γ=1\gamma = 1γ=1 is the plain finite-horizon problem.

A belief state bbb is a probability vector on SSS; BBB denotes the set of all of them. After action aaa and observation ooo, the belief is updated by Bayes' rule to SE(b,a,o)SE(b, a, o)SE(b,a,o). The normalizing constant of this update is Pr⁡(o∣a,b)\Pr(o \mid a, b)Pr(o∣a,b).

A ttt-step policy tree ppp is a single action when t=1t = 1t=1. For t≥2t \ge 2t≥2 it is a root action a(p)a(p)a(p) together with one (t−1)(t-1)(t−1)-step subtree o(p)o(p)o(p) for each observation ooo. Its value is defined by the recursion

Vp(s)=R(s,a(p))+γ∑s′T(s,a(p),s′)∑oO(s′,a(p),o) Vo(p)(s′),V_p(s) = R(s, a(p)) + \gamma \sum_{s'} T(s, a(p), s') \sum_{o} O(s', a(p), o)\, V_{o(p)}(s'),Vp​(s)=R(s,a(p))+γs′∑​T(s,a(p),s′)o∑​O(s′,a(p),o)Vo(p)​(s′),

and at a belief state it is Vp(b)=∑sb(s)Vp(s)=b⋅αpV_p(b) = \sum_s b(s) V_p(s) = b \cdot \alpha_pVp​(b)=∑s​b(s)Vp​(s)=b⋅αp​. The optimal ttt-step value is Vt(b)=max⁡pVp(b)V_t(b) = \max_p V_p(b)Vt​(b)=maxp​Vp​(b) over all ttt-step trees.

A tree ppp in a finite set V~\tilde VV~ is useful if some belief state gives it a strictly larger value than every tree of V~\tilde VV~ with a different value function. The useful trees form the parsimonious representation of V~\tilde VV~. Let Vt−1\mathcal V_{t-1}Vt−1​ be the useful (t−1)(t-1)(t−1)-step trees. The candidates CtaC^a_tCta​ are the ttt-step trees with root aaa and all subtrees in Vt−1\mathcal V_{t-1}Vt−1​, and Qta\mathcal Q^a_tQta​ is the set of trees useful in CtaC^a_tCta​. The Q-function is

Qta(b)=∑sb(s)R(s,a)+γ∑oPr⁡(o∣a,b) Vt−1(SE(b,a,o)).Q^a_t(b) = \sum_s b(s) R(s, a) + \gamma \sum_o \Pr(o \mid a, b)\, V_{t-1}(SE(b, a, o)).Qta​(b)=s∑​b(s)R(s,a)+γo∑​Pr(o∣a,b)Vt−1​(SE(b,a,o)).

For a set UaU_aUa​ of candidates, Q^ta(b)=max⁡p∈UaVp(b)\hat Q^a_t(b) = \max_{p \in U_a} V_p(b)Q^​ta​(b)=maxp∈Ua​​Vp​(b) is the current approximation. For p∈Uap \in U_ap∈Ua​, an observation ooo and p′∈Vt−1p' \in \mathcal V_{t-1}p′∈Vt−1​, the tree pnewp_{\mathrm{new}}pnew​ is ppp with its subtree for ooo replaced by p′p'p′.

Formalization targets

Goal: Theorem A.1

For a nonempty Ua⊆QtaU_a \subseteq \mathcal Q^a_tUa​⊆Qta​,

Ua≠Qta  ⟺  ∃ p∈Ua, o∗∈Ω, p′∈Vt−1, b∈B:Vpnew(b)>Vp~(b)  for all p~∈Ua.U_a \ne \mathcal Q^a_t \iff \exists\, p \in U_a,\ o^* \in \Omega,\ p' \in \mathcal V_{t-1},\ b \in B:\quad V_{p_{\mathrm{new}}}(b) > V_{\tilde p}(b) \ \text{ for all } \tilde p \in U_a .Ua​=Qta​⟺∃p∈Ua​, o∗∈Ω, p′∈Vt−1​, b∈B:Vpnew​​(b)>Vp~​​(b)  for all p~​∈Ua​.

Trees with the same value function are identified, as in the paper. The statement is exact, with no constants.

Milestones

  1. §3.3: Pr⁡(⋅∣a,b)\Pr(\cdot \mid a, b)Pr(⋅∣a,b) is a distribution and SE(b,a,o)∈BSE(b, a, o) \in BSE(b,a,o)∈B when Pr⁡(o∣a,b)≠0\Pr(o \mid a, b) \ne 0Pr(o∣a,b)=0.
  2. §4.1: VtV_tVt​ is convex on BBB.
  3. §4.2: the useful trees represent the same upper surface and are contained, up to identification, in every representing subset.
  4. §4.3: for every belief and subtree there is a useful subtree that is at least as good.
  5. §4.4: Qta(b)Q^a_t(b)Qta​(b) is the maximum of Vp(b)V_p(b)Vp​(b) over all aaa-rooted trees and over CtaC^a_tCta​, and Vt(b)=max⁡aQta(b)V_t(b) = \max_a Q^a_t(b)Vt​(b)=maxa​Qta​(b).
  6. §4.4.1: Q^ta≤Qta\hat Q^a_t \le Q^a_tQ^​ta​≤Qta​ on BBB.
  7. Appendix A: if Vp∗(b)>Vp(b)V_{p^*}(b) > V_p(b)Vp∗​(b)>Vp​(b) for trees with the same root, one subtree swap already improves on ppp at bbb.
  8. §4.4.2: the witness theorem in Q-function form: Q^ta≠Qta\hat Q^a_t \ne Q^a_tQ^​ta​=Qta​ somewhere on BBB iff a single-subtree replacement beats all of UaU_aUa​ at some belief.

Significance

The witness theorem is the stopping and growth criterion of the witness algorithm. If no single-subtree modification of the current trees beats all of them at some belief state, the current set represents the Q-function exactly. Otherwise the belief found is a witness and yields a new useful tree. Because each test is one linear program, the theorem turns an infinite search over belief space into finitely many linear programs. It is also the basis of the paper's complexity claim, polynomial time in ∣S∣|S|∣S∣, ∣A∣|A|∣A∣, ∣Ω∣|\Omega|∣Ω∣, ∣Vt−1∣|\mathcal V_{t-1}|∣Vt−1​∣ and ∣Qta∣|\mathcal Q^a_t|∣Qta​∣. Incremental pruning and later exact POMDP solvers rely on the same parsimonious-set machinery.

The theorem is proved in the paper; it has not been machine-checked. A formal development would also provide reusable infrastructure: policy trees, their value recursion, belief updates, and the existence and minimality of parsimonious representations of finite sets of linear functions on the simplex. That infrastructure is needed for any formal treatment of exact POMDP value iteration.

Difficulty

Most steps are finite algebra. The part that needs care is the "if" direction of the goal. A belief at which a new tree beats all of UaU_aUa​ shows that the true Q-function exceeds the approximation. It does not directly show that a useful tree is missing, because the maximizing tree at that belief may tie with other trees there. One needs the representation property of the parsimonious set (milestone 3): at every belief, the maximum over all candidates is attained by a useful one. Proving this means moving from a belief where several value functions tie to a nearby belief, inside the simplex, where exactly one of them is strictly largest. The proof on p. 131 also needs the Q-function to be attained on the candidate set, so that the improving subtree lies in Vt−1\mathcal V_{t-1}Vt−1​ (milestones 4 and 5).

Formalization scope

  • SSS, AAA and Ω\OmegaΩ are finite, nonempty types with decidable equality. TTT and OOO are stochastic and 0<γ≤10 < \gamma \le 10<γ≤1; these are bundled in POMDP.IsValid.
  • PolicyTree A Ω n is the type of (n+1)(n+1)(n+1)-step trees, so statements about ttt-step trees with subtrees use t=n+2t = n + 2t=n+2. The type is finite, and the set of all trees of a given depth is Finset.univ.
  • Values are defined by the recursion of p. 109, not by expectations over trajectories; everything is a finite sum.
  • Belief states are the points of stdSimplex ℝ S. Every "there is some belief state" ranges over the simplex, not over RS\mathbb R^SRS.
  • Usefulness is relative to a named finite set: all trees of a depth for Vt−1\mathcal V_{t-1}Vt−1​, and the candidates for Qta\mathcal Q^a_tQta​. Qta\mathcal Q^a_tQta​ is constructed from Vt−1\mathcal V_{t-1}Vt−1​, not quantified over.
  • Maxima are Finset.sup' over nonempty finite sets, or IsGreatest.
  • SE(b,a,o)SE(b, a, o)SE(b,a,o) is the zero vector when Pr⁡(o∣a,b)=0\Pr(o \mid a, b) = 0Pr(o∣a,b)=0 (division by zero). Every use either assumes Pr⁡≠0\Pr \ne 0Pr=0 or multiplies by Pr⁡\PrPr.

The following encodings would make the theorem trivial or false, and are excluded: comparing trees by equality instead of by value function, letting bbb range over all of RS\mathbb R^SRS, taking Qta\mathcal Q^a_tQta​ to be an arbitrary set, allowing Ua=∅U_a = \emptysetUa​=∅, and defining the true Q-function as Q^ta\hat Q^a_tQ^​ta​ itself.

Contributions are welcome at every level. The parsimonious-representation lemma (milestone 3) is the reusable geometric core. The subtree-swap lemma and the Q-function identity are the algebraic core.

Selected references

  • L. P. Kaelbling, M. L. Littman, A. R. Cassandra, Planning and acting in partially observable stochastic domains, Artificial Intelligence 101(1–2):99–134, 1998. https://doi.org/10.1016/S0004-3702(98)00023-X
  • R. D. Smallwood, E. J. Sondik, The optimal control of partially observable Markov processes over a finite horizon, Operations Research 21(5):1071–1088, 1973. https://doi.org/10.1287/opre.21.5.1071
  • K. J. Åström, Optimal control of Markov processes with incomplete state information, Journal of Mathematical Analysis and Applications 10:174–205, 1965. https://doi.org/10.1016/0022-247X(65)90154-X
  • A. R. Cassandra, M. L. Littman, N. L. Zhang, Incremental pruning: a simple, fast, exact method for partially observable Markov decision processes, UAI 1997. https://arxiv.org/abs/1302.1525
11 thms1 active userReviewed
Control TheoryDynamical SystemsOptimization·Captain: mikedeng1

Homogeneous Approximation, Recursive Observer Design, and Output Feedback: Global Asymptotic Stabilization of a Chain of Integrators by a Homogeneous-in-the-Bi-Limit Output FeedbackResearch Paper

Motivation

Many nonlinear control systems behave like a chain of integrators, x˙1=x2,…,x˙n=u\dot x_1=x_2,\dots,\dot x_n=ux˙1​=x2​,…,x˙n​=u, with additional terms that are small either near the origin or far from it. Designs based on weighted homogeneity handle such systems by making the closed loop invariant under a dilation, which gives robustness to perturbations that are dominated by the homogeneous part (Rosier, Homogeneous Lyapunov function for homogeneous continuous vector field, Systems & Control Letters, 1992, doi:10.1016/0167-6911(92)90078-7). A single homogeneous approximation, however, describes the system only at one scale. A perturbation that is negligible near the origin may dominate at infinity, and a design tuned to the origin can then fail globally.

Andrieu, Praly and Astolfi (arXiv:0903.0298v1; SIAM J. Control Optim., 2008, doi:10.1137/060675861) introduce homogeneity in the bi-limit: a function or vector field has one homogeneous approximation near the origin and another, possibly with different weights and degree, at infinity. They develop the basic calculus of this notion, a converse Lyapunov theorem for it, a recursive observer and a recursive state feedback for the chain of integrators, and combine them into a global output feedback. This mission formalizes that output-feedback result and the chain of results it rests on.

Setting

For a weight r=(r1,…,rn)r=(r_1,\dots,r_n)r=(r1​,…,rn​) with all ri>0r_i>0ri​>0 and λ>0\lambda>0λ>0, the dilation is λr⋄x=(λr1x1,…,λrnxn)\lambda^r\diamond x=(\lambda^{r_1}x_1,\dots,\lambda^{r_n}x_n)λr⋄x=(λr1​x1​,…,λrn​xn​). A continuous function ϕ:Rn→R\phi:\mathbb R^n\to\mathbb Rϕ:Rn→R is homogeneous in the 0-limit with triple (r0,d0,ϕ0)(r_0,d_0,\phi_0)(r0​,d0​,ϕ0​), degree d0≥0d_0\ge0d0​≥0, if ϕ0\phi_0ϕ0​ is continuous and not identically zero and, for every compact C⊆Rn∖{0}C\subseteq\mathbb R^n\setminus\{0\}C⊆Rn∖{0} and every ε>0\varepsilon>0ε>0, there is λ0>0\lambda_0>0λ0​>0 such that

max⁡x∈C∣ϕ(λr0⋄x)λd0−ϕ0(x)∣≤εfor all λ∈(0,λ0].\max_{x\in C}\left|\frac{\phi(\lambda^{r_0}\diamond x)}{\lambda^{d_0}}-\phi_0(x)\right|\le\varepsilon\qquad\text{for all }\lambda\in(0,\lambda_0].x∈Cmax​​λd0​ϕ(λr0​⋄x)​−ϕ0​(x)​≤εfor all λ∈(0,λ0​].

Homogeneity in the ∞-limit with triple (r∞,d∞,ϕ∞)(r_\infty,d_\infty,\phi_\infty)(r∞​,d∞​,ϕ∞​) is the same statement for all λ≥λ∞\lambda\ge\lambda_\inftyλ≥λ∞​. A vector field f=(f1,…,fn)f=(f_1,\dots,f_n)f=(f1​,…,fn​) is homogeneous with triple (r,d,f0)(r,\mathfrak d,f_0)(r,d,f0​), d∈R\mathfrak d\in\mathbb Rd∈R, when each fif_ifi​ is homogeneous with triple (r,d+ri,f0,i)(r,\mathfrak d+r_i,f_{0,i})(r,d+ri​,f0,i​) and d+ri≥0\mathfrak d+r_i\ge0d+ri​≥0. Bi-limit means both at once.

For the chain of integrators, Snx=(x2,…,xn,0)TS_n x=(x_2,\dots,x_n,0)^TSn​x=(x2​,…,xn​,0)T and Bn=(0,…,0,1)TB_n=(0,\dots,0,1)^TBn​=(0,…,0,1)T. Given degrees d0,d∞∈(−1,1n−1)\mathfrak d_0,\mathfrak d_\infty\in(-1,\frac1{n-1})d0​,d∞​∈(−1,n−11​), the weights are

r0,i=1−d0(n−i),r∞,i=1−d∞(n−i),i=1,…,n.r_{0,i}=1-\mathfrak d_0(n-i),\qquad r_{\infty,i}=1-\mathfrak d_\infty(n-i),\qquad i=1,\dots,n .r0,i​=1−d0​(n−i),r∞,i​=1−d∞​(n−i),i=1,…,n.

The output feedback studied is

x˙=Snx+Bnu,y=x1,X^˙n=L(SnX^n+Bnϕn(X^n)+K1(x1−x^1)),u=Lnϕn(X^n),\dot x=S_nx+B_nu,\quad y=x_1,\qquad \dot{\hat{\mathfrak X}}_n=L\bigl(S_n\hat{\mathfrak X}_n+B_n\phi_n(\hat{\mathfrak X}_n)+K_1(x_1-\hat x_1)\bigr),\quad u=L^n\phi_n(\hat{\mathfrak X}_n),x˙=Sn​x+Bn​u,y=x1​,X^˙n​=L(Sn​X^n​+Bn​ϕn​(X^n​)+K1​(x1​−x^1​)),u=Lnϕn​(X^n​),

with a gain L>0L>0L>0, a state feedback ϕn:Rn→R\phi_n:\mathbb R^n\to\mathbb Rϕn​:Rn→R and an output-injection vector field K1:Rn→RnK_1:\mathbb R^n\to\mathbb R^nK1​:Rn→Rn, where K1(s)K_1(s)K1​(s) means K1(s,0,…,0)K_1(s,0,\dots,0)K1​(s,0,…,0). Its homogeneous approximations are the same closed loop with (ϕn,0,K1,0)(\phi_{n,0},K_{1,0})(ϕn,0​,K1,0​) and with (ϕn,∞,K1,∞)(\phi_{n,\infty},K_{1,\infty})(ϕn,∞​,K1,∞​) in place of (ϕn,K1)(\phi_n,K_1)(ϕn​,K1​).

Formalization targets

Goal: Theorem 5.1

For n≥2n\ge2n≥2 and d0,d∞∈(−1,1n−1)\mathfrak d_0,\mathfrak d_\infty\in(-1,\frac1{n-1})d0​,d∞​∈(−1,n−11​) there exist ϕn\phi_nϕn​, homogeneous in the bi-limit with triples (r0,1+d0,ϕn,0)(r_0,1+\mathfrak d_0,\phi_{n,0})(r0​,1+d0​,ϕn,0​) and (r∞,1+d∞,ϕn,∞)(r_\infty,1+\mathfrak d_\infty,\phi_{n,\infty})(r∞​,1+d∞​,ϕn,∞​), and K1K_1K1​, homogeneous in the bi-limit with triples (r0,d0,K1,0)(r_0,\mathfrak d_0,K_{1,0})(r0​,d0​,K1,0​) and (r∞,d∞,K1,∞)(r_\infty,\mathfrak d_\infty,K_{1,\infty})(r∞​,d∞​,K1,∞​), such that

∀L>0:0∈R2n is globally asymptotically stable for the closed loop and for both of its homogeneous approximations.\forall L>0:\quad 0\in\mathbb R^{2n}\text{ is globally asymptotically stable for the closed loop and for both of its homogeneous approximations.}∀L>0:0∈R2n is globally asymptotically stable for the closed loop and for both of its homogeneous approximations.

The pair (ϕn,K1)(\phi_n,K_1)(ϕn​,K1​) is fixed before LLL. No constant appears in the goal.

Milestones

  1. Proposition 2.10 (composition) and Proposition 2.12 (integration along a coordinate) preserve homogeneity in the limit.
  2. Lemma 2.13: for homogeneous η\etaη and γ≥0\gamma\ge0γ≥0 with η<0\eta<0η<0 where γ=0\gamma=0γ=0, η−cγ<0\eta-c\gamma<0η−cγ<0 off the origin for all large ccc, simultaneously for both approximations.
  3. Theorem 2.20: a converse Lyapunov theorem, giving a C1C^1C1 proper Lyapunov function whose gradient is homogeneous in the bi-limit.
  4. Theorem 3.1 and display (3.12): the recursive observer, an output injection K1K_1K1​ making E˙=SnE+K1(e1)\dot E=S_nE+K_1(e_1)E˙=Sn​E+K1​(e1​) and its approximations globally asymptotically stable.
  5. Theorem 4.1 and display (4.9): the recursive state feedback, a ϕn\phi_nϕn​ making X˙=SnX+Bnϕn(X)\dot{\mathfrak X}=S_n\mathfrak X+B_n\phi_n(\mathfrak X)X˙=Sn​X+Bn​ϕn​(X) and its approximations globally asymptotically stable.

Significance

The theorem gives a single dynamic output feedback for the chain of integrators that is homogeneous with prescribed degrees near the origin and at infinity, and that stabilizes globally for every gain L>0L>0L>0. Because the degrees at the two ends are independent, the same design can be matched to perturbations of different orders at small and large amplitudes; the paper derives from it output-feedback stabilizers for systems in feedback and feedforward form (Corollaries 5.2 and 5.3), which are outside this mission. The converse Lyapunov theorem (Theorem 2.20) and the key lemma (Lemma 2.13) are general tools for any vector field homogeneous in the bi-limit.

The results are proved in the paper; none of them, nor the notion of homogeneity in the bi-limit, has a machine-checked proof. The platform has a definition of global asymptotic stability for continuous vector fields (from the series on Chitour, Ushirobira, Efimov and Perruquetti's prescribed-time stabilization) and Mathlib has the needed analysis, but there is no converse Lyapunov theorem and no theory of weighted homogeneous vector fields. A complete formalization would supply both.

Difficulty

Lyapunov arguments for homogeneous systems usually compare a function with its homogeneous approximation on the unit sphere and then scale. With homogeneity in the bi-limit the comparison holds only for small or for large dilation parameters, with no control at intermediate scales, and the two approximations have different weights, so no single dilation brings the whole space to a compact set. Each statement has to hold for the system and for both approximations at once. Theorem 2.20 additionally requires a converse Lyapunov theorem for continuous, non-Lipschitz vector fields whose solutions need not be unique, so a flow map is not available. Finally, the gain LLL in the goal is arbitrary: an argument that only works for LLL large enough proves a weaker statement.

Formalization scope

Points of Rn\mathbb R^nRn are functions Fin n → ℝ, with the paper's coordinate xix_ixi​ at index i−1i-1i−1; the closed loop lives on Fin (n + n) → ℝ with xxx first and X^n\hat{\mathfrak X}_nX^n​ second. Real powers are Real.rpow; the signed power is wr=sign⁡(w)∣w∣rw^r=\operatorname{sign}(w)|w|^rwr=sign(w)∣w∣r. Every clause of Definitions 2.1, 2.3 and 2.5 is kept: positive weights, nonnegative function degrees, continuity, approximating functions not identically zero, uniformity on compact subsets of Rn∖{0}\mathbb R^n\setminus\{0\}Rn∖{0}. Dropping any of them makes the goal weaker than the paper's.

Global asymptotic stability reuses the published ChitourPrescribedTime.FixedTime.GloballyAsymptoticallyStable on the Euclidean space, applied to the time-invariant field: the origin is an equilibrium, every initial state has a solution on [0,∞)[0,\infty)[0,∞), and stability and uniform attractivity hold for every solution. The mission adds that no solution escapes to infinity in finite time, so that every solution is covered; for continuous autonomous fields this is the textbook notion. Positive and negative definiteness, properness (V→∞V\to\inftyV→∞ along the cocompact filter), C1C^1C1 and partial derivatives (Fréchet derivative on a basis vector) are defined in the mission's definition files.

Corrections and readings, each disclosed in the item concerned:

  • Proposition 2.10 is false as printed. The composite approximation ζ0∘ϕ0\zeta_0\circ\phi_0ζ0​∘ϕ0​ can vanish identically, and in the ∞-limit a degree-0 outer function fails. Both extra hypotheses are added.
  • (5.2) prints K1(x1−x^1)K_1(x_1-\hat x_1)K1​(x1​−x^1​) while (3.3) and (5.9) use x^1−x1\hat x_1-x_1x^1​−x1​. The goal keeps the printed sign; since K1K_1K1​ is existential, the two readings are equivalent.
  • In Theorem 3.1 the hypothesis "GAS for these systems" covers (3.5) and both approximations, as the proof uses. In Theorem 4.1 the implicit ψi0,ψi∞\psi_{i0},\psi_{i\infty}ψi0​,ψi∞​ are existential C1C^1C1 functions, and αi+1>1\alpha_{i+1}>1αi+1​>1 is kept as printed. (4.4) and (4.9) lack the time-derivative dots.

A formalization in which the closed loop is replaced by its linearization, the homogeneity predicate is weakened to pointwise convergence, or the quantifier on LLL is moved before ϕn\phi_nϕn​ and K1K_1K1​, proves a different statement and does not close the goal. Contributions welcome: a library of weighted dilations and homogeneous functions, the converse Lyapunov theorem, and proofs of the milestones in any order.

Selected references

  • V. Andrieu, L. Praly, A. Astolfi, Homogeneous Approximation, Recursive Observer Design, and Output Feedback, arXiv:0903.0298v1, 2009 (SIAM J. Control Optim. 47(4), 2008). https://arxiv.org/abs/0903.0298
  • L. Rosier, Homogeneous Lyapunov function for homogeneous continuous vector field, Systems & Control Letters 19(6), 1992. https://doi.org/10.1016/0167-6911(92)90078-7
  • A. Bacciotti, L. Rosier, Liapunov Functions and Stability in Control Theory, Springer, 2nd ed., 2005. https://doi.org/10.1007/b139028
12 thms1 active userReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Implicit Renewal Theory and Tails of Solutions of Random Equations 1: The Implicit Renewal Theorem — If E|M|^κ = 1 Then P(R > t) ~ C₊t^{−κ} and P(R < −t) ~ C₋t^{−κ}Research Paper

Motivation

Many stochastic models produce a stationary quantity RRR that solves a random equation R=dΨ(R)R \overset{d}{=} \Psi(R)R=dΨ(R), with Ψ\PsiΨ a random map independent of RRR. The random difference equation R=dQ+MRR \overset{d}{=} Q + MRR=dQ+MR (perpetuities in insurance and finance, the ARCH and GARCH volatility models, random walks in random environments), the Lindley equation S=d(X+S)+S \overset{d}{=} (X+S)^+S=d(X+S)+ of queueing theory, and the random recurrences behind probabilistic analyses of algorithms are all of this form. In these models the law of RRR is rarely explicit, while the decay of its tail P(R>t)P(R>t)P(R>t) is what governs ruin probabilities, extreme values and buffer overflows.

Kesten (1973) showed that the stationary solution of R=dQ+MRR \overset{d}{=} Q + MRR=dQ+MR has a power-law tail when E∣M∣κ=1E|M|^\kappa = 1E∣M∣κ=1 for some κ>0\kappa>0κ>0, by a long argument specific to that equation. Goldie (1991) separated the renewal-theoretic core of the phenomenon from the particular equation: the implicit renewal theorem (Theorem 2.3) gives the power-law tail of any random variable RRR whose tails are comparable to those of MRMRMR, with an explicit formula for the constant. Kesten's theorem and the tail results for several other random equations then follow by checking one integrability condition. The theorem is the standard entry point to the subject, reproduced in the monograph of Buraczewski, Damek and Mikosch (2016).

Timeline:

  • Kesten (1973): power tails for multivariate random difference equations, including the one-dimensional case R=dQ+MRR \overset{d}{=} Q+MRR=dQ+MR.
  • Grincevičius (1975, 1981): limit laws for random walks on the line and the random difference equation R=dQ+MRR \overset{d}{=} Q+MRR=dQ+MR in one dimension (Lithuanian Math. J. 15, 21).
  • Goldie (1991): the implicit renewal theorem for arbitrary RRR, explicit constants, rates of convergence, and applications to several random equations.

Setting

Let (Ω,A,P)(\Omega,\mathcal A,P)(Ω,A,P) be a probability space and MMM, RRR two independent real random variables. No equation is assumed for RRR.

A probability law on R\mathbb RR is arithmetic if it is concentrated on a lattice {nλ:n∈Z}\{n\lambda:n\in\mathbb Z\}{nλ:n∈Z} for some λ>0\lambda>0λ>0, and nonarithmetic otherwise. Fix κ>0\kappa>0κ>0. The Cramér-type conditions on MMM are

E∣M∣κ=1,E∣M∣κlog⁡+∣M∣<∞,the law of log⁡∣M∣ given M≠0 is nonarithmetic.E|M|^\kappa = 1,\qquad E|M|^\kappa\log^+|M|<\infty,\qquad \text{the law of }\log|M|\text{ given }M\ne0\text{ is nonarithmetic.}E∣M∣κ=1,E∣M∣κlog+∣M∣<∞,the law of log∣M∣ given M=0 is nonarithmetic.

Under them, m:=E∣M∣κlog⁡∣M∣m := E|M|^\kappa\log|M|m:=E∣M∣κlog∣M∣ is finite and positive (Lemma 2.2), with 0alog⁡0:=00^a\log 0 := 00alog0:=0.

The tails of RRR enter through two tail-comparison conditions

(2.8) ∫0∞∣P(R>t)−P(MR>t)∣ tκ−1dt<∞,(2.9) ∫0∞∣P(R<−t)−P(MR<−t)∣ tκ−1dt<∞,\text{(2.8)}\ \int_0^\infty|P(R>t)-P(MR>t)|\,t^{\kappa-1}dt<\infty,\qquad \text{(2.9)}\ \int_0^\infty|P(R<-t)-P(MR<-t)|\,t^{\kappa-1}dt<\infty ,(2.8) ∫0∞​∣P(R>t)−P(MR>t)∣tκ−1dt<∞,(2.9) ∫0∞​∣P(R<−t)−P(MR<−t)∣tκ−1dt<∞,

and the constants

C±=1m∫0∞(P(±R>t)−P(±MR>t))tκ−1dt,C=12m∫0∞(P(∣R∣>t)−P(∣MR∣>t))tκ−1dt.C_\pm=\frac1m\int_0^\infty\bigl(P(\pm R>t)-P(\pm MR>t)\bigr)t^{\kappa-1}dt, \qquad C=\frac1{2m}\int_0^\infty\bigl(P(|R|>t)-P(|MR|>t)\bigr)t^{\kappa-1}dt .C±​=m1​∫0∞​(P(±R>t)−P(±MR>t))tκ−1dt,C=2m1​∫0∞​(P(∣R∣>t)−P(∣MR∣>t))tκ−1dt.

In the Lean development these are CramerConditions κ (P.map M), cramerMean, TailCondPlus, TailCondMinus, Cplus, Cminus and Ctwo, in the namespace GoldieRenewal.Implicit.

Formalization targets

Goal: Theorem 2.3

Let MMM satisfy the Cramér-type conditions and let RRR be independent of MMM.

Case 1 (M≥0M\ge0M≥0 a.s.): (2.8) implies P(R>t)∼C+t−κP(R>t)\sim C_+t^{-\kappa}P(R>t)∼C+​t−κ, and (2.9) implies P(R<−t)∼C−t−κP(R<-t)\sim C_-t^{-\kappa}P(R<−t)∼C−​t−κ, as t→∞t\to\inftyt→∞.

Case 2 (P(M<0)>0P(M<0)>0P(M<0)>0): (2.8) and (2.9) together imply

tκP(R>t)→C,tκP(R<−t)→C,t→∞.t^\kappa P(R>t)\to C,\qquad t^\kappa P(R<-t)\to C,\qquad t\to\infty .tκP(R>t)→C,tκP(R<−t)→C,t→∞.

The relation P(R>t)∼C+t−κP(R>t)\sim C_+t^{-\kappa}P(R>t)∼C+​t−κ means tκP(R>t)→C+t^\kappa P(R>t)\to C_+tκP(R>t)→C+​, including C+=0C_+=0C+​=0.

Milestones

Lemma 2.2 (negative drift of log⁡∣M∣\log|M|log∣M∣, m∈(0,∞)m\in(0,\infty)m∈(0,∞)); Lemmas 9.1–9.2 (smoothed integrable functions are directly Riemann-integrable); Lemma 9.3 (a Tauberian step from averaged to pointwise tails); the renewal equation (9.8) rˇ=gˇ1∗ν\check r=\check g_1*\nurˇ=gˇ​1​∗ν and its key-renewal limit in Case 1; the Case 2a step law (9.11) with mean 2m2m2m and nonarithmetic (9.12)–(9.13), and the renewal identity (9.15); the reduction (9.16) of Case 2b to Case 1.

Significance

The theorem turns a question about an unknown law into a question about integrability. For a random equation R=dΨ(R)R\overset{d}{=}\Psi(R)R=dΨ(R) it suffices to compare Ψ(R)\Psi(R)Ψ(R) with MRMRMR, which is often a moment computation; this yields power tails, with constants given by expectations, for perpetuities, Lindley-type equations, random polynomial and maximum equations (Goldie 1991, §§4–8). The explicit constant also decides when the tail is genuinely of order t−κt^{-\kappa}t−κ: the theorem has content only when E∣R∣κ=∞E|R|^\kappa=\inftyE∣R∣κ=∞, since otherwise C++C−=0C_++C_-=0C+​+C−​=0.

The theorem has been proved for thirty years; it is not formalized in any proof assistant known to the mission. A formal development would provide reusable infrastructure absent from Mathlib: direct Riemann integrability, renewal measures of walks on the whole line, the two-sided key renewal theorem (Athreya, McDonald and Ney 1978), and a Tauberian lemma for monotone tails. The sibling missions on Kesten's theorem and on rates of convergence are built on the same setting.

Difficulty

The obvious argument writes P(R>t)P(R>t)P(R>t) as a telescoping sum along the multiplicative walk Πn=M1⋯Mn\Pi_n=M_1\cdots M_nΠn​=M1​⋯Mn​ and applies the key renewal theorem to the result. It fails at three points. First, the function the key renewal theorem would be applied to, g1(t)=eκt(P(R>et)−P(MR>et))g_1(t)=e^{\kappa t}(P(R>e^t)-P(MR>e^t))g1​(t)=eκt(P(R>et)−P(MR>et)), is only integrable under (2.8), not directly Riemann-integrable, and the key renewal theorem is false for general integrable functions; so no conclusion about P(R>t)P(R>t)P(R>t) itself follows directly. Second, when MMM takes both signs, log⁡∣Πn∣\log|\Pi_n|log∣Πn​∣ alone is not a random walk that controls P(ΠnR>et)P(\Pi_nR>e^t)P(Πn​R>et): the sign of Πn\Pi_nΠn​ decides which tail of RRR is involved, so the walk is Markov-modulated. Third, the walk lives on the whole line and may jump to −∞-\infty−∞ (when P(M=0)>0P(M=0)>0P(M=0)>0), so renewal theory on [0,∞)[0,\infty)[0,∞), the version in most textbooks, does not apply.

Formalization scope

  • One probability space with IsProbabilityMeasure P; M, R measurable real random variables; independence is IndepFun R M P. In (9.16) the copy M′M'M′ lives on the same space, with IdentDistrib M' M P P and iIndepFun of (R,M,M′)(R,M,M')(R,M,M′).
  • Cramér conditions are stated on the law P.map M; the moments are lower Lebesgue integrals in [0,∞][0,\infty][0,∞]. The conditional law in (2.5) conditions on {x≠0}\{x\neq0\}{x=0} before taking log⁡∣x∣\log|x|log∣x∣, so Lean's Real.log 0 = 0 never enters; Elog⁡∣M∣E\log|M|Elog∣M∣ is an extended real with log⁡0=−∞\log 0=-\inftylog0=−∞.
  • Tails are real numbers P.real {ω | t < R ω} with the paper's strict inequalities. (2.8), (2.9) are IntegrableOn … (Set.Ioi 0); the constants are Bochner integrals, used only under the corresponding integrability hypothesis.
  • "∼\sim∼" is Tendsto (fun t => t ^ κ * P.real {…}) atTop (𝓝 C).
  • Direct Riemann integrability follows Feller (1971, §XI.1), with suprema in [0,∞][0,\infty][0,∞]. The smoothing is fˇ(t)=∫−∞te−(t−u)f(u) du\check f(t)=\int_{-\infty}^t e^{-(t-u)}f(u)\,dufˇ​(t)=∫−∞t​e−(t−u)f(u)du.
  • The tilted law η\etaη, its renewal measure and the Case 2a laws are defined from the law of MMM; no i.i.d. sequence appears in a statement.

Three formalizations would trivialize the goal and are excluded: reading "∼\sim∼" as a ratio P(R>t)/(C+t−κ)→1P(R>t)/(C_+t^{-\kappa})\to1P(R>t)/(C+​t−κ)→1 (which is false when C+=0C_+=0C+​=0); assuming E∣R∣κ<∞E|R|^\kappa<\inftyE∣R∣κ<∞ (which forces C++C−=0C_++C_-=0C+​+C−​=0); and placing a key-renewal-theorem conclusion among the hypotheses.

Contributions welcome: proofs of any milestone; a general two-sided key renewal theorem for nonarithmetic laws with positive mean (reusable beyond this mission); Mathlib-quality lemmas on direct Riemann integrability and renewal measures.

Selected references

  • C. M. Goldie, Implicit renewal theory and tails of solutions of random equations, Ann. Appl. Probab. 1(1):126–166, 1991. https://doi.org/10.1214/aoap/1177005985
  • H. Kesten, Random difference equations and renewal theory for products of random matrices, Acta Math. 131:207–248, 1973. https://doi.org/10.1007/BF02392040
  • K. B. Athreya, D. McDonald, P. Ney, Limit theorems for semi-Markov processes and renewal theory for Markov chains, Ann. Probab. 6(5):788–797, 1978. https://doi.org/10.1214/aop/1176995429
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. II, 2nd ed., Wiley, 1971.
  • D. Buraczewski, E. Damek, T. Mikosch, Stochastic Models with Power-Law Tails: The Equation X = AX + B, Springer, 2016. https://doi.org/10.1007/978-3-319-29679-1
14 thms1 active userReviewed
ProbabilityStatistics·Captain: mikedeng1

Residual Life Time at Great Age 6: For 0 < ξ < α, Residual Life Attraction to Γ_α Is Equivalent to a Finite ξ-th Moment and E((X/t)^ξ | X > t) → (1 − ξ/α)^{−1}Research Paper

Motivation

Actuaries, reliability engineers and demographers ask how much longer an item or a person will live given that it has already survived to a great age ttt. For a lifetime XXX with distribution function FFF, this is the law of the residual life time X−tX - tX−t given X>tX > tX>t, and the question is what this law looks like as t→∞t \to \inftyt→∞. Balkema and de Haan (Ann. Probab. 2 (1974) 792–804) determined all possible limit laws of the suitably normed residual life time and the distribution functions attracted to each. When only a scale normalization is allowed, the possible continuous limits are the exponential law and the Pareto-type laws Γα\Gamma_\alphaΓα​, the counterparts in residual-life theory of the Gumbel and Fréchet laws of extreme value theory. Both theories rest on Karamata's theory of regular variation (de Haan 1970).

Section 5 of the paper restates the domain of attraction of Γα\Gamma_\alphaΓα​ in terms of moments: weak convergence of the scaled residual life times is equivalent to convergence of a single conditional moment of the scaled residual life. For an exponential limit the analogous link between weak convergence and first moments had been studied by Meilijson (1972). Moment conditions of this form underlie the mean-excess and Hill-type diagnostics used in heavy-tail statistics and in the peaks-over-threshold method (Pickands 1975).

Setting

Let XXX be a real random variable with law μ\muμ and distribution function FFF, and write R(x)=1−F(x)=P{X>x}R(x) = 1 - F(x) = P\{X > x\}R(x)=1−F(x)=P{X>x} for its tail. The standing assumption is F(x)<1F(x) < 1F(x)<1 for every real xxx, i.e. R(x)>0R(x) > 0R(x)>0: XXX has no finite upper endpoint, and conditioning on {X>t}\{X > t\}{X>t} makes sense for every ttt.

For t>0t > 0t>0, the conditional distribution function of X/tX/tX/t given X>tX > tX>t is

P{Xt≤x ∣ X>t}=P{t<X≤xt}P{X>t},P\Big\{\frac{X}{t} \le x \,\Big|\, X > t\Big\} = \frac{P\{t < X \le xt\}}{P\{X > t\}},P{tX​≤x​X>t}=P{X>t}P{t<X≤xt}​,

which vanishes for x≤1x \le 1x≤1. For a real exponent ξ\xiξ, the conditional ξ\xiξ-th moment is

E((Xt)ξ ∣ X>t)=1P{X>t}∫(t,∞)(yt)ξdF(y).E\Big(\Big(\frac{X}{t}\Big)^{\xi}\,\Big|\,X > t\Big) = \frac{1}{P\{X>t\}}\int_{(t,\infty)} \Big(\frac{y}{t}\Big)^{\xi} dF(y).E((tX​)ξ​X>t)=P{X>t}1​∫(t,∞)​(ty​)ξdF(y).

For α>0\alpha > 0α>0 the limit law Γα\Gamma_\alphaΓα​ is Γα(x)=1−(1+x)−α\Gamma_\alpha(x) = 1 - (1+x)^{-\alpha}Γα​(x)=1−(1+x)−α for x≥0x \ge 0x≥0 and Γα(x)=0\Gamma_\alpha(x) = 0Γα​(x)=0 for x<0x < 0x<0. The shifted function Γα(x−1)\Gamma_\alpha(x-1)Γα​(x−1) equals 1−x−α1 - x^{-\alpha}1−x−α for x≥1x \ge 1x≥1: the Pareto law of index α\alphaα on [1,∞)[1,\infty)[1,∞). The distribution function FFF is in the domain of residual life time attraction Dr(Γα)D_r(\Gamma_\alpha)Dr​(Γα​) when

lim⁡t→∞P{Xt≤x ∣ X>t}=Γα(x−1)for all x>0.\lim_{t\to\infty} P\Big\{\frac{X}{t} \le x \,\Big|\, X > t\Big\} = \Gamma_\alpha(x-1) \qquad \text{for all } x > 0 .t→∞lim​P{tX​≤x​X>t}=Γα​(x−1)for all x>0.

In Lean the tail is BalkemaDeHaan.LimitTypes.tail; the scaled conditional distribution and moment are BalkemaDeHaan.Moments.scaledResidualCDF and BalkemaDeHaan.Moments.condMoment. The limit law is BalkemaDeHaan.ParetoBounds.GammaLaw.

Formalization targets

Goal: Theorem 8(a), corrected

For F(x)<1F(x) < 1F(x)<1 for all xxx and 0<ξ<α0 < \xi < \alpha0<ξ<α:

F∈Dr(Γα)  ⟺  ∫0∞yξ dF(y)<∞  and  lim⁡t→∞E((Xt)ξ ∣ X>t)=(1−ξα)−1.F \in D_r(\Gamma_\alpha) \iff \int_0^\infty y^\xi\, dF(y) < \infty \ \text{ and } \ \lim_{t\to\infty} E\Big(\Big(\frac{X}{t}\Big)^{\xi}\,\Big|\,X > t\Big) = \Big(1 - \frac{\xi}{\alpha}\Big)^{-1}.F∈Dr​(Γα​)⟺∫0∞​yξdF(y)<∞  and  t→∞lim​E((tX​)ξ​X>t)=(1−αξ​)−1.

Milestones

  1. The identity in the proof of Theorem 8(a): for x>0x > 0x>0, with a finite ξ\xiξ-th moment,
∫x∞yξdF(y)xξ(1−F(x))=ξ ∫x∞yξ−1(1−F(y)) dyxξ(1−F(x))+1,\frac{\int_x^\infty y^\xi dF(y)}{x^\xi(1-F(x))} = \xi\,\frac{\int_x^\infty y^{\xi-1}(1-F(y))\,dy}{x^\xi(1-F(x))} + 1,xξ(1−F(x))∫x∞​yξdF(y)​=ξxξ(1−F(x))∫x∞​yξ−1(1−F(y))dy​+1,

the left side being E((X/x)ξ∣X>x)E((X/x)^\xi \mid X > x)E((X/x)ξ∣X>x). 2. The value of the limit: ∫0∞xξ dΓα(x−1)=(1−ξ/α)−1\int_0^\infty x^\xi\, d\Gamma_\alpha(x-1) = (1-\xi/\alpha)^{-1}∫0∞​xξdΓα​(x−1)=(1−ξ/α)−1 for 0<ξ<α0 < \xi < \alpha0<ξ<α. 3. The "only if" half: F∈Dr(Γα)F \in D_r(\Gamma_\alpha)F∈Dr​(Γα​) implies a finite ξ\xiξ-th moment and convergence of the conditional moment to (1−ξ/α)−1(1-\xi/\alpha)^{-1}(1−ξ/α)−1. 4. The "if" half, corrected: the converse.

Significance

The theorem replaces a distributional limit, required at every x>0x > 0x>0, by one numerical limit, for any order ξ∈(0,α)\xi \in (0,\alpha)ξ∈(0,α). In statistics this justifies testing or estimating heavy-tail behaviour through empirical conditional moments above a high threshold, and it identifies the limit value (1−ξ/α)−1(1-\xi/\alpha)^{-1}(1−ξ/α)−1, from which α\alphaα can be read off. Combined with Theorem 4 of the same paper (Dr(Γα)=D(Φα)D_r(\Gamma_\alpha) = D(\Phi_\alpha)Dr​(Γα​)=D(Φα​)), it gives a moment criterion for the Fréchet domain of attraction of extreme value theory.

The result is classical and proved, by reduction to Karamata's theorem on integrals of regularly varying functions. No machine-checked proof is known. Mathlib has no theory of regular variation, no Karamata theorem and no domains of attraction, so a formal proof also produces a reusable piece of the theory of regularly varying tails: the direct and converse halves of Karamata's integral theorem for tails of probability laws.

Difficulty

Both directions pass through the asymptotics of ∫x∞yξ−1R(y) dy\int_x^\infty y^{\xi-1}R(y)\,dy∫x∞​yξ−1R(y)dy against xξR(x)x^\xi R(x)xξR(x). The direct half requires uniform control of R(tx)/R(t)R(tx)/R(t)R(tx)/R(t) over x∈(1,∞)x \in (1,\infty)x∈(1,∞) to exchange the limit t→∞t\to\inftyt→∞ with an integral over an unbounded range; pointwise convergence of the tail ratio alone does not dominate the integrand. The converse half must recover regular variation of RRR from the behaviour of a single integral functional, and here the limit value matters: the page's hypothesis that the limit merely exists does not identify α\alphaα (see below), so an argument that never uses the value (1−ξ/α)−1(1-\xi/\alpha)^{-1}(1−ξ/α)−1 cannot succeed.

Formalization scope

  • The law of XXX is μ : Measure ℝ with IsProbabilityMeasure μ; F(x)<1F(x) < 1F(x)<1 for all xxx is ∀ x, 0 < μ (Set.Ioi x). All conditional quantities divide by μ (Set.Ioi t), which this hypothesis keeps nonzero.
  • "∫0∞yξdF(y)\int_0^\infty y^\xi dF(y)∫0∞​yξdF(y) is finite" is IntegrableOn (fun y => y ^ ξ) (Set.Ioi 0) μ (real power on positive bases). In the "only if" half it is part of the conclusion, never an assumption; Lean's value 000 for a non-integrable Bochner integral therefore cannot make the statements hold trivially. Milestone 1 asserts integrability of yξ−1R(y)y^{\xi-1}R(y)yξ−1R(y) on (x,∞)(x,\infty)(x,∞) as well.
  • "lim⁡t→∞\lim_{t\to\infty}limt→∞​" is Tendsto … atTop along real ttt; the limit form of Dr(Γα)D_r(\Gamma_\alpha)Dr​(Γα​) is required for every x>0x > 0x>0, as printed (the limit Γα(x−1)\Gamma_\alpha(x-1)Γα​(x−1) is continuous, so this is weak convergence). The goal uses this explicit form, the one given after "i.e." on the page, not a separate definition of DrD_rDr​.
  • ∫0∞xξdΓα(x−1)\int_0^\infty x^\xi d\Gamma_\alpha(x-1)∫0∞​xξdΓα​(x−1) is the integral against a probability measure whose distribution function (ProbabilityTheory.cdf) is x↦Γα(x−1)x \mapsto \Gamma_\alpha(x-1)x↦Γα​(x−1); milestone 2 asserts such a measure exists and computes the moment for every such measure.
  • Corrected statement. The source is the published article (Annals of Probability, DOI 10.1214/aop/1176996548). As printed, the "if" direction asks only that c=lim⁡E((X/t)ξ∣X>t)c = \lim E((X/t)^\xi \mid X>t)c=limE((X/t)ξ∣X>t) exist and be finite. That is false: the tail R(x)=x−βR(x) = x^{-\beta}R(x)=x−β for x≥1x \ge 1x≥1, with β>ξ\beta > \xiβ>ξ and β≠α\beta \ne \alphaβ=α, has a finite ξ\xiξ-th moment and E((X/t)ξ∣X>t)=(1−ξ/β)−1E((X/t)^\xi\mid X > t) = (1-\xi/\beta)^{-1}E((X/t)ξ∣X>t)=(1−ξ/β)−1 for all t≥1t \ge 1t≥1, but its limit law is Γβ(x−1)\Gamma_\beta(x-1)Γβ​(x−1). The goal and milestone 4 require c=(1−ξ/α)−1c = (1-\xi/\alpha)^{-1}c=(1−ξ/α)−1, the value the page itself states in "Then c=(1−ξ/α)−1c = (1-\xi/\alpha)^{-1}c=(1−ξ/α)−1". The "only if" direction is exactly the page's.
  • No hypothesis beyond the page is added; α>0\alpha > 0α>0 follows from 0<ξ<α0 < \xi < \alpha0<ξ<α.

A complete development needs regularly varying functions, uniform convergence (or Potter bounds) for regularly varying tails, and Karamata's integral theorem with its converse; all are reusable beyond this mission. Proofs of the milestones, of these general tools, and of the Pareto moment computation are welcome.

Selected references

  • A. A. Balkema and L. de Haan, Residual life time at great age, Annals of Probability 2 (1974), no. 5, 792–804. https://doi.org/10.1214/aop/1176996548
  • L. de Haan, On Regular Variation and Its Application to the Weak Convergence of Sample Extremes, Mathematical Centre Tracts 32, Amsterdam, 1970 (Theorem 1.2.1 and Remark 1.2.1).
  • N. H. Bingham, C. M. Goldie and J. L. Teugels, Regular Variation, Cambridge University Press, 1987. https://doi.org/10.1017/CBO9780511721434
  • I. Meilijson, Limiting properties of the mean residual lifetime function, Annals of Mathematical Statistics 43 (1972), 354–357. https://doi.org/10.1214/aoms/1177692729
  • J. Pickands III, Statistical inference using extreme order statistics, Annals of Statistics 3 (1975), 119–131. https://doi.org/10.1214/aos/1176343003
8 thms1 active userReviewed
PreviousPage 42 of 54Next

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