Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

1094 missions

Missions

1041–1060 of 1094
OpenCompletedAll
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

The Relation between Customer and Time Averages in Queues: H = λG on Every Sample Path When 0 < λ < ∞, G < ∞ and Each f_n Vanishes Outside [t_n, t_n + s_n] with s_n/n → 0Research Paper

Motivation

Little's law L=λWL = \lambda WL=λW says that the long-run average number of customers in a system equals the arrival rate times the average time a customer spends there. It is one of the most used identities in queueing theory, and it holds on individual sample paths under weak conditions (Little 1961; Stidham 1974). Many quantities of interest are not head counts, however: the work in the system, the cost accumulated by customers in progress, the number of tokens a customer holds in some state. For these a more general relation is needed, between a time average HHH and a customer average GGG, of the form H=λGH = \lambda GH=λG.

Heyman and Stidham (Oper. Res. 28 (1980)) prove such a relation on each sample path, for an arbitrary real-valued function attached to each customer, under a support condition that is much weaker than the continuous-sojourn assumption of the L=λWL = \lambda WL=λW theorem. They then show by a counterexample that the support condition cannot simply be dropped, even when every customer function is an indicator.

Timeline.

  • 1961: Little proves L=λWL = \lambda WL=λW under stationarity assumptions (Little 1961).
  • 1971: Brumelle proves H=λGH = \lambda GH=λG under conditions (v.a), (v.b) on the tails of the fnf_nfn​ (J. Appl. Prob. 8, 508–520).
  • 1972: Stidham gives a new proof of L=λWL = \lambda WL=λW, including the lemma relating N(t)/tN(t)/tN(t)/t and tn/nt_n/ntn​/n (Stidham 1972).
  • 1974: Stidham proves L=λWL = \lambda WL=λW on each sample path, assuming each sojourn is one uninterrupted interval (Stidham 1974).
  • 1980: Heyman and Stidham prove H=λGH = \lambda GH=λG on every sample path under the support condition below, and give the counterexample. The paper notes that its Theorem 1 is weaker than the sample-path version of Brumelle's theorem, with hypotheses stated directly on the sample path.

Setting

Fix one sample path. Customers n=1,2,…n = 1, 2, \ldotsn=1,2,… arrive at epochs 0≤t1≤t2≤⋯0 \le t_1 \le t_2 \le \cdots0≤t1​≤t2​≤⋯; ties are allowed. The arrival count N(t)N(t)N(t) is the number of nnn with tn≤tt_n \le ttn​≤t, and the arrival rate is λ=lim⁡t→∞N(t)/t\lambda = \lim_{t\to\infty} N(t)/tλ=limt→∞​N(t)/t when the limit exists.

Customer nnn carries a real-valued function fnf_nfn​ on [0,∞)[0,\infty)[0,∞). Its total is gn=∫0∞fn(t) dtg_n = \int_0^\infty f_n(t)\,dtgn​=∫0∞​fn​(t)dt, and the rate is h(t)=∑n=1∞fn(t)h(t) = \sum_{n=1}^\infty f_n(t)h(t)=∑n=1∞​fn​(t). The customer average and time average are

G=lim⁡N→∞1N∑n=1Ngn,H=lim⁡T→∞1T∫0Th(t) dt.G = \lim_{N\to\infty} \frac1N \sum_{n=1}^N g_n, \qquad H = \lim_{T\to\infty} \frac1T \int_0^T h(t)\,dt .G=N→∞lim​N1​n=1∑N​gn​,H=T→∞lim​T1​∫0T​h(t)dt.

When fnf_nfn​ is the indicator of [tn,tn+Wn)[t_n, t_n + W_n)[tn​,tn​+Wn​), gn=Wng_n = W_ngn​=Wn​ is the sojourn time and h(t)h(t)h(t) is the number in system, so H=λGH = \lambda GH=λG is L=λWL = \lambda WL=λW.

The ASSUMPTION of the paper is that for each nnn there is sn∈[0,∞)s_n \in [0,\infty)sn​∈[0,∞) with

  1. (i) fn(t)=0f_n(t) = 0fn​(t)=0 for t∉[tn,tn+sn]t \notin [t_n, t_n + s_n]t∈/[tn​,tn​+sn​];
  2. (ii) sn/n→0s_n / n \to 0sn​/n→0.

For signed fnf_nfn​ write fn+=max⁡[0,fn]f_n^+ = \max[0, f_n]fn+​=max[0,fn​], fn−=max⁡[0,−fn]f_n^- = \max[0, -f_n]fn−​=max[0,−fn​], and let gn±g_n^\pmgn±​, h±h^\pmh±, G±G^\pmG±, H±H^\pmH± be the corresponding totals, rates and averages.

Formalization targets

Goal: Theorem 2 (p. 986)

Assume (i), (ii) and (v) ∫0∞∣fn(t)∣ dt<∞\int_0^\infty |f_n(t)|\,dt < \infty∫0∞​∣fn​(t)∣dt<∞ for every nnn. If λ\lambdaλ, G+G^+G+ and G−G^-G− exist with 0<λ<∞0 < \lambda < \infty0<λ<∞ and G±<∞G^\pm < \inftyG±<∞, then GGG exists, equals G+−G−G^+ - G^-G+−G−, HHH exists, and

H=λG.(1)H = \lambda G. \tag{1}H=λG.(1)

Milestones

  • (2): for 0<λ<∞0 < \lambda < \infty0<λ<∞, N(t)/t→λN(t)/t \to \lambdaN(t)/t→λ if and only if tn/n→λ−1t_n / n \to \lambda^{-1}tn​/n→λ−1.
  • (3): for fn≥0f_n \ge 0fn​≥0, V(T)≤∫0Th(t) dt≤U(T)V(T) \le \int_0^T h(t)\,dt \le U(T)V(T)≤∫0T​h(t)dt≤U(T), where U(T)U(T)U(T) sums gng_ngn​ over arrived customers and V(T)V(T)V(T) over customers with tn+sn≤Tt_n + s_n \le Ttn​+sn​≤T.
  • (4): λG=lim⁡t→∞U(t)/t\lambda G = \lim_{t\to\infty} U(t)/tλG=limt→∞​U(t)/t.
  • sn/tn→0s_n / t_n \to 0sn​/tn​→0, and lim⁡U(t)/t=lim⁡V(t)/t\lim U(t)/t = \lim V(t)/tlimU(t)/t=limV(t)/t.
  • Theorem 1 (p. 985): for fn≥0f_n \ge 0fn​≥0 under (i)–(iv), H=λGH = \lambda GH=λG.
  • The identity ∫0Th+−∫0Th−=∫0Th\int_0^T h^+ - \int_0^T h^- = \int_0^T h∫0T​h+−∫0T​h−=∫0T​h and (6): G=G+−G−G = G^+ - G^-G=G+−G−, H=H+−H−H = H^+ - H^-H=H+−H−.

Companion results

  • The §3 counterexample: tn=nt_n = ntn​=n, indicator fnf_nfn​ with gn=1g_n = 1gn​=1, so λ=G=1\lambda = G = 1λ=G=1, but H=log⁡2H = \log 2H=log2; its support span sn=ns_n = nsn​=n satisfies (i) and fails (ii).
  • Corollary 3 (p. 988): if λ(ω)=λ\lambda(\omega) = \lambdaλ(ω)=λ is constant, the ensemble averages satisfy ∫H dP=λ∫G dP\int H\,dP = \lambda \int G\,dP∫HdP=λ∫GdP.
  • G=W<∞G = W < \inftyG=W<∞ implies Wn/n→0W_n / n \to 0Wn​/n→0 (p. 986), the step by which Theorem 1 contains L=λWL = \lambda WL=λW.

Significance

The result. H=λGH = \lambda GH=λG converts between a time average, which is what a system designer measures, and a customer average, which is what a customer experiences. Applied to different fnf_nfn​ it yields L=λWL = \lambda WL=λW, the relation between average work in system and average customer work, and relations between time-stationary and embedded-chain probabilities; §2 of the paper derives the GI/M/c/K relation this way. Because the support condition (i)–(ii) allows a customer's contribution to be interrupted (leaving and re-entering the system), it covers preemptive priority queues and nodes of networks, which the continuous-sojourn L=λWL = \lambda WL=λW theorem does not. The counterexample marks the boundary: with interrupted sojourns, indicator functions and finite λ\lambdaλ, GGG alone do not suffice.

Formalizing it. The result is proved on paper, with two steps delegated to earlier work "by mimicking" Lemma 1 and Theorem 2 of Stidham 1974. The indicator special case L=λWL = \lambda WL=λW (with strictly increasing arrivals) is already proved on Prove2Me as queueing_general_littles_law (wenxinzhang). This mission asks for the general, signed, pathwise statement and its proof steps, a counterexample with an exactly computed time average log⁡2\log 2log2, and the ensemble corollary.

Difficulty

The obvious argument, exchanging the time integral of hhh with the sum over customers, gives ∫0Th=∑n∫0Tfn\int_0^T h = \sum_n \int_0^T f_n∫0T​h=∑n​∫0T​fn​, but a customer that has arrived by TTT may contribute only part of its total gng_ngn​ by TTT. The sandwich V(T)≤∫0Th≤U(T)V(T) \le \int_0^T h \le U(T)V(T)≤∫0T​h≤U(T) only bounds this loss; the hard step is showing that U(t)/tU(t)/tU(t)/t and V(t)/tV(t)/tV(t)/t have the same limit, which needs sn/tn→0s_n / t_n \to 0sn​/tn​→0 to compare VVV at time ttt with UUU at a slightly earlier time. Without (ii) this fails, as the counterexample shows: customers there remain "open" for a window proportional to their index.

For signed fnf_nfn​ the sandwich is not available directly, and the proof splits fnf_nfn​ into positive and negative parts; the exchange of sum and integral then needs the finiteness of the parts on every [0,T][0,T][0,T].

Formalization scope

All statements except Corollary 3 are about one fixed sample path; the paper's "with probability one" is the pathwise statement applied to almost every path, and Corollary 3 states this explicitly with a probability measure and almost-sure hypotheses.

Conventions:

  • Customers are indexed from 000 in Lean; index nnn is the paper's customer n+1n+1n+1, so sn/n→0s_n/n \to 0sn​/n→0 is written sn/(n+1)→0s_n/(n+1) \to 0sn​/(n+1)→0.
  • Arrival epochs are Monotone with t0≥0t_0 \ge 0t0​≥0; ties are allowed.
  • fn:R→Rf_n : \mathbb R \to \mathbb Rfn​:R→R, but only values on [0,∞)[0,\infty)[0,∞) enter: (i) is required only for t≥0t \ge 0t≥0, gng_ngn​ integrates over [0,∞)[0,\infty)[0,∞), and time averages integrate over [0,T][0,T][0,T].
  • (iv) and (v) are stated as integrability of fnf_nfn​ on [0,∞)[0,\infty)[0,∞); the page prints (iv) as "≤∞\le \infty≤∞", a misprint for "<∞< \infty<∞".
  • N(t)N(t)N(t) is the cardinality of {n:tn≤t}\{n : t_n \le t\}{n:tn​≤t}; hhh, UUU, VVV are infinite sums over all customers.
  • "HHH exists" includes integrability of hhh on every [0,T][0,T][0,T].
  • The page prints (6) as "G=G+−G+G = G^+ - G^+G=G+−G+"; the stated identity is G=G+−G−G = G^+ - G^-G=G+−G−, as the proof shows.

Added hypotheses: milestones (3), the h±h^\pmh± identity and (6) assume tn→∞t_n \to \inftytn​→∞, which the paper derives from (2); Corollary 3 assumes G(ω)G(\omega)G(ω) is integrable, which its definition of the ensemble average presupposes.

A formalization in which hhh sums only over arrived customers, or in which a non-integrable hhh or fnf_nfn​ has integral 000, would make the statements trivial or different; the definitions rule this out by summing over all customers and requiring integrability.

Needed infrastructure: Cesàro averages and counting functions of nondecreasing sequences, interchange of countable sums and integrals for locally finite families, and harmonic sums ∑m=⌈(k+1)/2⌉k1/m→log⁡2\sum_{m=\lceil (k+1)/2\rceil}^{k} 1/m \to \log 2∑m=⌈(k+1)/2⌉k​1/m→log2. The counting-function lemma (2) and the squeeze for UUU and VVV are reusable well beyond this mission. Proofs of any milestone are welcome independently.

Selected references

  • D. P. Heyman and S. Stidham, Jr., The relation between customer and time averages in queues, Operations Research 28(4):983–994, 1980. https://doi.org/10.1287/opre.28.4.983
  • J. D. C. Little, A proof for the queuing formula: L = λW, Operations Research 9(3):383–387, 1961. https://doi.org/10.1287/opre.9.3.383
  • S. Stidham, Jr., L = λW: a discounted analogue and a new proof, Operations Research 20(6):1115–1126, 1972. https://doi.org/10.1287/opre.20.6.1115
  • S. Stidham, Jr., A last word on L = λW, Operations Research 22(2):417–421, 1974. https://doi.org/10.1287/opre.22.2.417
  • S. L. Brumelle, On the relation between customer and time averages in queues, Journal of Applied Probability 8:508–520, 1971.
11 thms1 active userReviewed
Dynamic ProgrammingLinear OptimizationMarkov Chain+1·Captain: mikedeng1

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

Linear programs for average-reward Markov decision chains

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

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

Timeline:

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

Setting

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

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

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

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

The representative of f∞f^\inftyf∞ is

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

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

Formalization targets

Goal: Theorem 10 (p. 361)

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

Selected references

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

Linear Programming and Markov Decision Chains 1: A Pure Policy Read Off a Simplex-Optimal Solution of One Dual LP Is Average Optimal in Every Finite Multichain MDPResearch Paper

Motivation

A Markov decision chain with finitely many states and actions is the basic model of sequential decision making under uncertainty in operations research. Inventory control, maintenance, queueing control and many other problems reduce to it. Under the average reward criterion the decision maker optimizes the long-run reward per period. For the discounted criterion one linear program yields an optimal pure stationary policy (d'Epenoux 1960). For the average criterion, De Ghellinck (1960) and Manne (1960, DOI 10.1287/mnsc.6.3.259) gave linear programs for the unichain case, where every stationary policy has a single recurrent class. In a multichain model the optimal average reward may differ from state to state, and the unichain construction no longer applies.

Hordijk and Kallenberg (Management Science 25(4):352–362, 1979, DOI 10.1287/mnsc.25.4.352) proved that in the general multichain case an average optimal policy can be found by solving only one linear program. This mission formalizes that result, Theorem 7 of the paper, together with the chain of results its proof rests on.

Timeline, following the paper's introduction:

  • 1960: d'Epenoux introduces linear programming for the discounted case; De Ghellinck and Manne treat the unichain average case.
  • 1962: Blackwell (DOI 10.1214/aoms/1177704593) proves that some pure stationary policy is discounted-optimal for all discount factors near 1, and expands the discounted value near α=1\alpha = 1α=1.
  • 1968–1970: Denardo and Fox (DOI 10.1137/0116038) and Denardo (DOI 10.1287/mnsc.16.5.281) give the first analysis of linear programs for the multichain case. Derman's 1970 monograph streamlines it: in the worst case two linear programs and one search problem must be solved. Denardo and Fox record Bruce Miller's conjecture that the policy of Theorem 7 below is optimal.
  • 1979: Hordijk and Kallenberg prove the conjecture (Theorem 7), so one linear program suffices.

Setting

The state space is a finite nonempty set EEE. In state iii a finite nonempty set A(i)A(i)A(i) of actions is available; choosing a∈A(i)a \in A(i)a∈A(i) earns the reward riar_{ia}ria​ and moves the system to state jjj with probability piajp_{iaj}piaj​ (piaj≥0p_{iaj} \ge 0piaj​≥0, ∑jpiaj=1\sum_j p_{iaj} = 1∑j​piaj​=1). A policy RRR chooses actions at times t=1,2,…t = 1, 2, \dotst=1,2,…, possibly at random and using the whole history. For a policy RRR and an initial state iii,

φi(R)=lim inf⁡T→∞1T∑t=1T∑j∑aPR(Xt=j,Yt=a∣X1=i) rja\varphi_i(R) = \liminf_{T\to\infty}\frac1T\sum_{t=1}^T\sum_j\sum_a \mathbf P_R(X_t=j,Y_t=a\mid X_1=i)\,r_{ja}φi​(R)=T→∞liminf​T1​t=1∑T​j∑​a∑​PR​(Xt​=j,Yt​=a∣X1​=i)rja​

is the average expected reward, and φi=sup⁡Rφi(R)\varphi_i = \sup_R \varphi_i(R)φi​=supR​φi​(R) is the optimal one. A policy R∗R^*R∗ is average optimal if φi(R∗)=φi\varphi_i(R^*) = \varphi_iφi​(R∗)=φi​ for every i∈Ei \in Ei∈E. A decision rule fff picks f(i)∈A(i)f(i) \in A(i)f(i)∈A(i) in every state; f∞f^\inftyf∞ is the pure stationary policy that always applies fff. Its transition matrix is P(f)=(pif(i)j)P(f) = (p_{if(i)j})P(f)=(pif(i)j​) and its reward vector r(f)=(rif(i))r(f) = (r_{if(i)})r(f)=(rif(i)​). The α-discounted value viα(R)=∑t≥1αt−1∑j∑aPR(Xt=j,Yt=a∣X1=i) rjav_i^\alpha(R)=\sum_{t\ge1}\alpha^{t-1}\sum_j\sum_a\mathbf P_R(X_t=j,Y_t=a\mid X_1=i)\,r_{ja}viα​(R)=∑t≥1​αt−1∑j​∑a​PR​(Xt​=j,Yt​=a∣X1​=i)rja​ enters through Theorems 1, 3, 4 and 5.

Fix weights βj>0\beta_j > 0βj​>0 with ∑jβj=1\sum_j \beta_j = 1∑j​βj​=1. The dual program has a variable pair xia,yiax_{ia}, y_{ia}xia​,yia​ for every state iii and every a∈A(i)a \in A(i)a∈A(i):

max⁡∑i∑ariaxias.t.∑i∑a(δij−piaj)xia=0,∑axja+∑i∑a(δij−piaj)yia=βj,x,y≥0,\max \sum_i\sum_a r_{ia}x_{ia}\quad\text{s.t.}\quad \sum_i\sum_a(\delta_{ij}-p_{iaj})x_{ia}=0,\quad \sum_a x_{ja}+\sum_i\sum_a(\delta_{ij}-p_{iaj})y_{ia}=\beta_j,\quad x,y\ge0,maxi∑​a∑​ria​xia​s.t.i∑​a∑​(δij​−piaj​)xia​=0,a∑​xja​+i∑​a∑​(δij​−piaj​)yia​=βj​,x,y≥0,

for all j∈Ej \in Ej∈E. Its linear programming dual, the primal program, minimizes ∑jβjφ~j\sum_j\beta_j\tilde\varphi_j∑j​βj​φ~​j​ over superharmonic pairs (φ~,u~)(\tilde\varphi,\tilde u)(φ~​,u~): φ~i≥∑jpiajφ~j\tilde\varphi_i \ge \sum_j p_{iaj}\tilde\varphi_jφ~​i​≥∑j​piaj​φ~​j​ and φ~i+u~i≥ria+∑jpiaju~j\tilde\varphi_i + \tilde u_i \ge r_{ia} + \sum_j p_{iaj}\tilde u_jφ~​i​+u~i​≥ria​+∑j​piaj​u~j​ for all a∈A(i)a \in A(i)a∈A(i), i∈Ei \in Ei∈E. For a dual solution (x,y)(x, y)(x,y) put Ex={i∣∑axia>0}E_x = \{i \mid \sum_a x_{ia} > 0\}Ex​={i∣∑a​xia​>0}.

Formalization targets

Goal: Theorem 7

Let (x,y)(x, y)(x,y) be an optimal solution of the dual program that is an extreme point of its feasible set, which is what the simplex method returns. Let fff be any decision rule with

xif(i)>0  (i∈Ex),yif(i)>0  (i∉Ex).x_{if(i)} > 0 \ \ (i \in E_x), \qquad y_{if(i)} > 0 \ \ (i \notin E_x).xif(i)​>0  (i∈Ex​),yif(i)​>0  (i∈/Ex​).

Then f∞f^\inftyf∞ is average optimal: φi(f∞)=φi\varphi_i(f^\infty) = \varphi_iφi​(f∞)=φi​ for every i∈Ei \in Ei∈E, the comparison running over all policies.

Milestones

In the order the proof uses them:

  1. Theorem 1 (Blackwell): some pure stationary f0∞f_0^\inftyf0∞​ is α-discounted optimal for all α near 1.
  2. Theorem 2a: φ(f∞)=P∗(f)r(f)\varphi(f^\infty) = P^*(f)r(f)φ(f∞)=P∗(f)r(f). The other clauses of Theorem 2 are Blackwell's Lemma 1(a), (d), referenced as published theorems.
  3. Theorem 3 (Blackwell): viα(f∞)−φi(f∞)/(1−α)→(D(f)r(f))iv_i^\alpha(f^\infty) - \varphi_i(f^\infty)/(1-\alpha) \to (D(f)r(f))_iviα​(f∞)−φi​(f∞)/(1−α)→(D(f)r(f))i​ as α↑1\alpha \uparrow 1α↑1.
  4. Theorem 4 (Derman): the policy of Theorem 1 is average optimal.
  5. Theorem 5: φ0=φ(f0∞)\varphi^0 = \varphi(f_0^\infty)φ0=φ(f0∞​) and u0=D(f0)r(f0)u^0 = D(f_0)r(f_0)u0=D(f0​)r(f0​) solve the two nested optimality equations.
  6. Proof of Theorem 6: (φ0,u0+Mφ0)(\varphi^0, u^0 + M\varphi^0)(φ0,u0+Mφ0) is superharmonic for some MMM.
  7. Theorem 6: φ\varphiφ is the smallest function that admits uuu with (φ,u)(\varphi, u)(φ,u) superharmonic.
  8. §3.2: (φ(f0∞),D(f0)r(f0)+Mφ(f0∞))(\varphi(f_0^\infty), D(f_0)r(f_0) + M\varphi(f_0^\infty))(φ(f0∞​),D(f0​)r(f0​)+Mφ(f0∞​)) is primal optimal for all large MMM.
  9. Proof of Theorem 7: ∑axja+∑ayja≥βj>0\sum_a x_{ja} + \sum_a y_{ja} \ge \beta_j > 0∑a​xja​+∑a​yja​≥βj​>0, so the rule always defines a policy; and every primal optimum has first component φ\varphiφ.
  10. Propositions 1–3: φ\varphiφ is P(f)P(f)P(f)-harmonic and the gain–bias equation holds on ExE_xEx​; ExE_xEx​ is closed under P(f)P(f)P(f); at an extreme optimal dual solution, the states outside ExE_xEx​ are transient under P(f)P(f)P(f).

Significance

Theorem 7 turns the multichain average-reward problem into one linear program and one pass over its solution. No unichain or communicating assumption is required, and neither the second linear program nor the search step of the earlier Denardo–Fox–Derman procedure is needed. The rule is local: any action with a positive xxx-variable, otherwise any action with a positive yyy-variable, gives an optimal policy. The paper's later results (Theorem 8, the correspondence between optimal dual solutions and optimal randomized stationary policies, and Theorem 10, on extreme points) build on the same program. Companion missions of this series formalize them.

The results are proved in the paper; no machine-checked proof of any of them is known. The formalization adds a machine-checked link between linear programming duality (complementary slackness, extreme points of polyhedra) and the limit theory of finite Markov chains (Cesàro limit matrices, transient states), over the history-dependent policy class of the published average-reward model.

Difficulty

The obvious argument reads fff off any optimal dual solution and uses complementary slackness to obtain φ=P(f)φ\varphi = P(f)\varphiφ=P(f)φ and φ+(I−P(f))u=r(f)\varphi + (I - P(f))u = r(f)φ+(I−P(f))u=r(f). The second equation holds only on ExE_xEx​, and outside ExE_xEx​ nothing controls the reward of fff. The argument closes only when E∖ExE \setminus E_xE∖Ex​ is transient under P(f)P(f)P(f), so that the stationary distribution of fff ignores those states. Transience is not a consequence of optimality. It uses extremality: an ergodic set inside E∖ExE\setminus E_xE∖Ex​ would make the corresponding yyy-columns of the constraint matrix linearly dependent. For a general optimal solution the paper proves optimality only of a randomized stationary policy built from (x,y)(x, y)(x,y) (its Theorem 8(b), a companion mission), not of a pure selection. The extremality hypothesis is therefore part of the statement.

Upstream of the linear program, Theorem 6 depends on Derman's theorem and Blackwell's expansion of the discounted value near α=1\alpha = 1α=1. Both compare against all history-dependent policies and need the full limit theory of P∗P^*P∗ and DDD.

Formalization scope

The model is the published MarkovDecisionProcesses.StationaryMDP (finite nonempty S, finite A, nonempty admissible sets, stochastic transitions) with history-dependent randomized policies AvgHRPolicy. φi(R)\varphi_i(R)φi​(R) is gainInf (the lim inf of the average of the first TTT expected rewards) and φi\varphi_iφi​ is optGainInf, a real supremum that is finite because rewards are bounded. P∗P^*P∗ and DDD are the published limitMatrix and deviationMatrix; the identities of Theorem 2 are the published Blackwell Lemma 1(a), (d). Conventions:

  • Average optimality is Hordijk and Kallenberg's φ(R∗)=φ\varphi(R^*) = \varphiφ(R∗)=φ, not the stronger Puterman criterion IsAverageOptimal in the published file.
  • The discounted value is the limit of the NNN-epoch discounted reward, defined by the same backward recursion as totalReward. "α near enough to 1" means some α0∈[0,1)\alpha_0 \in [0,1)α0​∈[0,1) such that the property holds on [α0,1)[\alpha_0, 1)[α0​,1).
  • Dual variables are indexed by the admissible pairs only (Pair M), so the feasible set lies in (Pair M → ℝ) × (Pair M → ℝ) and its extreme points are those of the paper's polyhedron.
  • "The simplex method is used" is encoded as "(x,y)(x, y)(x,y) is an extreme point of the feasible set" (Set.extremePoints). A goal without extremality is a different and unproved statement, and any version that quantifies over some fff instead of every fff obeying the rule is weaker than the paper's. Both are ruled out.
  • "Transient" is the negation of the published IsRecurrent. Maxima over A(i)A(i)A(i) and A0(i)A^0(i)A0(i) are stated as an upper bound plus attainment, so that A0(i)≠∅A^0(i) \ne \emptysetA0(i)=∅ is part of Theorem 5.

A complete development needs Cesàro limits of stochastic matrices, the deviation matrix, Abelian limits of discounted values, linear programming duality with complementary slackness, and the characterization of extreme points of {z≥0:Az=b}\{z \ge 0 : Az = b\}{z≥0:Az=b} by linear independence of the active columns. The last two are reusable well beyond this mission, as is the identification of gainInf of a stationary policy with P∗rP^*rP∗r. Contributions to any of them, including proofs of individual milestones, are welcome.

Selected references

  • A. Hordijk, L. C. M. Kallenberg, Linear Programming and Markov Decision Chains, Management Science 25(4):352–362, 1979. https://doi.org/10.1287/mnsc.25.4.352
  • D. Blackwell, Discrete Dynamic Programming, Annals of Mathematical Statistics 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • A. S. Manne, Linear Programming and Sequential Decisions, Management Science 6(3):259–267, 1960. https://doi.org/10.1287/mnsc.6.3.259
  • E. V. Denardo, On Linear Programming in a Markov Decision Problem, Management Science 16(5):281–288, 1970. https://doi.org/10.1287/mnsc.16.5.281
  • E. V. Denardo, B. L. Fox, Multichain Markov Renewal Programs, SIAM Journal on Applied Mathematics 16(3):468–487, 1968. https://doi.org/10.1137/0116038
  • J. G. Kemeny, J. L. Snell, Finite Markov Chains, Van Nostrand, 1960.
  • C. Derman, Finite State Markovian Decision Processes, Academic Press, 1970.
17 thms3 active usersReviewed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Shock Models and Wear Processes IV: With a Random Threshold, Shock Survival Probabilities Are Submultiplicative for Every Damage Law Iff the Threshold Is NBUResearch Paper

Motivation

Reliability theory classifies life distributions by how they age. A device whose remaining life, once it has survived to age ttt, is stochastically shorter than the life of a new device is called new better than used (NBU). The NBU class, together with the classes IHR (increasing hazard rate) and IHRA (increasing hazard rate average), organizes much of the theory of maintenance and replacement: Marshall and Proschan showed that the NBU property is what makes certain replacement policies beneficial, and Barlow and Proschan's monographs build the statistical theory of reliability on these classes.

A question that runs through this literature is where such ageing properties come from physically. Esary, Marshall and Proschan (Ann. Probability 1973) answer it for shock models: a device is hit by shocks arriving in time as a Poisson process, each shock adds a random amount of damage, and the device fails when the accumulated damage exceeds its threshold. Section 4 of their paper treats a fixed threshold and shows that the life is IHRA for every damage law. Section 5, the subject of this mission, lets the threshold itself be random, which models the variation between individual items of a production lot. It then asks which ageing properties of the threshold law are inherited by the life distribution, and which are forced if the inheritance is to hold whatever the damage law.

Setting

All distributions are laws of non-negative random variables. For a distribution FFF on R\mathbb RR with F(z)=0F(z) = 0F(z)=0 for z<0z < 0z<0 (a damage law), F(k)F^{(k)}F(k) denotes the kkk-fold convolution of FFF, with F(0)F^{(0)}F(0) the point mass at 000; thus F(k)(x)=P{X1+⋯+Xk≤x}F^{(k)}(x) = P\{X_1 + \cdots + X_k \le x\}F(k)(x)=P{X1​+⋯+Xk​≤x} for independent Xi∼FX_i \sim FXi​∼F.

A threshold law is a distribution GGG with G(z)=0G(z) = 0G(z)=0 for z<0z < 0z<0; write Gˉ=1−G\bar G = 1 - GGˉ=1−G for its survival function. If the threshold Y∼GY \sim GY∼G is independent of the damages, the probability of surviving kkk shocks is

Pˉk=∫0∞F(k)(x) dG(x)=P{X1+⋯+Xk≤Y},k=0,1,…(5.1)\bar P_k = \int_0^\infty F^{(k)}(x)\, dG(x) = P\{X_1 + \cdots + X_k \le Y\}, \qquad k = 0, 1, \dots \tag{5.1}Pˉk​=∫0∞​F(k)(x)dG(x)=P{X1​+⋯+Xk​≤Y},k=0,1,…(5.1)

If shocks arrive as a Poisson process of rate λ>0\lambda > 0λ>0, the device's life distribution HHH has survival function

Hˉ(t)=∑k=0∞e−λt(λt)kk! Pˉk,t≥0.(5.2)\bar H(t) = \sum_{k=0}^\infty e^{-\lambda t}\frac{(\lambda t)^k}{k!}\,\bar P_k, \qquad t \ge 0. \tag{5.2}Hˉ(t)=k=0∑∞​e−λtk!(λt)k​Pˉk​,t≥0.(5.2)

A survival function Fˉ\bar FFˉ is NBU if Fˉ(t+x)≤Fˉ(x)Fˉ(t)\bar F(t + x) \le \bar F(x)\bar F(t)Fˉ(t+x)≤Fˉ(x)Fˉ(t) for all x,t≥0x, t \ge 0x,t≥0; it is IHR if Fˉ(x+t)/Fˉ(t)\bar F(x + t)/\bar F(t)Fˉ(x+t)/Fˉ(t) is non-increasing in ttt for each x>0x > 0x>0, and IHRA if [Fˉ(t)]1/t[\bar F(t)]^{1/t}[Fˉ(t)]1/t is non-increasing in t>0t > 0t>0. The discrete analogue of NBU for the sequence Pˉk\bar P_kPˉk​ is submultiplicativity, Pˉj+k≤PˉjPˉk\bar P_{j+k} \le \bar P_j \bar P_kPˉj+k​≤Pˉj​Pˉk​.

Formalization targets

Goal: Theorem 5.3

For a threshold law GGG with G(z)=0G(z) = 0G(z)=0 for z<0z < 0z<0:

(∀F: Pˉj+k≤Pˉj Pˉk  ∀j,k≥0)  ⟺  Gˉ is NBU,\Big(\forall F:\ \bar P_{j+k} \le \bar P_j\,\bar P_k \ \ \forall j,k \ge 0\Big) \iff \bar G \text{ is NBU},(∀F: Pˉj+k​≤Pˉj​Pˉk​  ∀j,k≥0)⟺Gˉ is NBU,

the quantifier ranging over every damage law FFF; and if GGG is NBU, then for every damage law FFF and every λ>0\lambda > 0λ>0 the life distribution HHH of (5.2) is NBU.

Milestones

  1. Theorem 3.1 (3.5). For any sequence 1=Pˉ0≥Pˉ1≥⋯≥01 = \bar P_0 \ge \bar P_1 \ge \cdots \ge 01=Pˉ0​≥Pˉ1​≥⋯≥0 and λ>0\lambda > 0λ>0: if PˉjPˉk≥Pˉj+k\bar P_j \bar P_k \ge \bar P_{j+k}Pˉj​Pˉk​≥Pˉj+k​ for all j,kj, kj,k, then HHH of (2.1) is NBU.
  2. First display of the proof of Theorem 5.3. If GGG is NBU, then Pˉj+k≤PˉjPˉk\bar P_{j+k} \le \bar P_j \bar P_kPˉj+k​≤Pˉj​Pˉk​ for each damage law FFF.
  3. Second display of the proof of Theorem 5.3. If submultiplicativity holds for every FFF, then Gˉ(s+jxk)≤Gˉ(s) Gˉ(jxk)\bar G(s + j x_k) \le \bar G(s)\,\bar G(j x_k)Gˉ(s+jxk​)≤Gˉ(s)Gˉ(jxk​) for s>0s > 0s>0, xk=s/kx_k = s/kxk​=s/k, j=0,1,…j = 0, 1, \dotsj=0,1,….

Further items (not milestones)

Theorem 5.1 (the life is exponential for every FFF iff GGG is exponential) and Theorem 5.2 (b), (c) (an IHR threshold makes Pˉk1/k\bar P_k^{1/k}Pˉk1/k​ non-increasing for every FFF; non-increasing Pˉk1/k\bar P_k^{1/k}Pˉk1/k​ for every FFF forces GGG to be IHRA) are posed as companion statements from the same section.

Significance

Theorem 5.3 is a characterization: the NBU class is exactly the class of threshold laws for which the cumulative-damage mechanism preserves the discrete NBU property under every damage law. Combined with Theorem 3.1 (3.5), it gives a physical derivation of NBU life distributions: an item with an NBU random strength, subject to Poisson shocks with arbitrary i.i.d. non-negative damage, has an NBU life. Theorems 5.1 and 5.2 place the exponential and the IHR/IHRA classes in the same framework, and the authors record that whether an IHRA threshold suffices in Theorem 5.2 (b) is left unresolved.

The results are proved in the paper. No machine-checked version is known to exist; this mission produces one. A complete development also supplies reusable infrastructure: convolution powers of laws on [0,∞)[0, \infty)[0,∞) as Mathlib measures, Poisson mixtures of a sequence, and the ageing classes of p. 631 as predicates on survival functions.

Difficulty

The equivalence couples a property of one function, Gˉ\bar GGˉ, to a family of inequalities indexed by every damage law, and the left side is about convolutions while the right side is pointwise. Two points make the statement harder than it looks. First, (5.1) as printed is P{X1+⋯+Xk≤Y}P\{X_1 + \cdots + X_k \le Y\}P{X1​+⋯+Xk​≤Y}, whereas the paper's proof works with EGˉ(X1+⋯+Xk)=P{X1+⋯+Xk<Y}E\bar G(X_1 + \cdots + X_k) = P\{X_1 + \cdots + X_k < Y\}EGˉ(X1​+⋯+Xk​)=P{X1​+⋯+Xk​<Y}; the two agree only when F(k)F^{(k)}F(k) and GGG have no common discontinuities, and they can disagree as soon as F(k)F^{(k)}F(k) has an atom where GGG has one, a case the left side of the equivalence includes. A formal proof cannot invoke that convention. Second, the second sentence of the theorem passes through a Poisson series (5.2) whose terms involve the whole sequence Pˉk\bar P_kPˉk​, so the NBU property of HHH is a statement about a power series in ttt, not about any single Pˉk\bar P_kPˉk​.

Formalization scope

  • A distribution is a probability measure on R\mathbb RR; "F(z)=0F(z) = 0F(z)=0 for z<0z < 0z<0" is mass 000 on (−∞,0)(-\infty, 0)(−∞,0), and "G(0)=0G(0) = 0G(0)=0" (Theorems 5.1, 5.2) is mass 000 on (−∞,0](-\infty, 0](−∞,0]. F(k)F^{(k)}F(k) is the kkk-fold Measure.conv power with F(0)=δ0F^{(0)} = \delta_0F(0)=δ0​, and F(k)(x)F^{(k)}(x)F(k)(x) is the mass of (−∞,x](-\infty, x](−∞,x].
  • Pˉk\bar P_kPˉk​ is (5.1) as printed, ∫F(k)(x) dG(x)\int F^{(k)}(x)\,dG(x)∫F(k)(x)dG(x) over R\mathbb RR; since GGG is carried by [0,∞)[0, \infty)[0,∞) this is ∫0∞\int_0^\infty∫0∞​ including an atom of GGG at 000, which Theorem 5.3 allows. The paper's convention that F(k)F^{(k)}F(k) and GGG have no common discontinuities is not added as a hypothesis: the statements hold for (5.1) without it. The integrand is monotone with values in [0,1][0,1][0,1], so the Bochner integral is a genuine expectation.
  • "For all FFF" sits inside the equivalence of Theorem 5.3 and ranges over every probability measure on [0,∞)[0, \infty)[0,∞). Submultiplicativity for one fixed FFF is a different, weaker statement.
  • NBU and IHR are cross-multiplied, agreeing with the paper's ratio form wherever denominators are positive (the paper restricts variables to avoid zero denominators). NBU is on x,t≥0x, t \ge 0x,t≥0 exactly as in definition (v). Powers [Gˉ(t)]1/t[\bar G(t)]^{1/t}[Gˉ(t)]1/t and Pˉk1/k\bar P_k^{1/k}Pˉk1/k​ are real powers. "Decreasing" means non-increasing.
  • HHH is the series (2.1) as a function on R\mathbb RR, equal to 111 on (−∞,0)(-\infty, 0)(−∞,0); λ>0\lambda > 0λ>0 as in (1.1). In Theorem 3.1 (3.5) the non-negativity Pˉk≥0\bar P_k \ge 0Pˉk​≥0 is stated explicitly.
  • In Theorem 5.1 "exponential" allows rate 000 for HHH (the damage law δ0\delta_0δ0​ gives Hˉ≡1\bar H \equiv 1Hˉ≡1) and requires a positive rate for GGG (G(0)=0G(0) = 0G(0)=0 rules out the degenerate case Gˉ=0\bar G = 0Gˉ=0 on (0,∞)(0,\infty)(0,∞)).
  • A trivializing formalization is ruled out: the threshold-law quantifier is not restricted to a class where both sides are automatic, the integral cannot collapse to a default value, and the NBU predicate is the paper's on [0,∞)[0, \infty)[0,∞), not on (0,∞)(0, \infty)(0,∞) or a vacuous domain.

Contributions welcome: proofs of the milestones, a library for Poisson mixtures and convolution powers of laws on [0,∞)[0,\infty)[0,∞), and the extra items of §5.

Selected references

  • J. D. Esary, A. W. Marshall and F. Proschan, Shock Models and Wear Processes, The Annals of Probability 1(4), 627–649, 1973. https://doi.org/10.1214/aop/1176996891
  • R. E. Barlow and F. Proschan, Mathematical Theory of Reliability, Wiley, 1965; reprinted SIAM Classics in Applied Mathematics, 1996. https://doi.org/10.1137/1.9781611971194
  • Z. W. Birnbaum, J. D. Esary and A. W. Marshall, A Stochastic Characterization of Wear-Out for Components and Systems, The Annals of Mathematical Statistics 37(4), 816–825, 1966. https://doi.org/10.1214/aoms/1177699362
5 thms1 active userReviewed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

Shock Models and Wear Processes III: The First Passage Time of a Nondecreasing Markov Wear Process Above a Fixed Level Has an IHRA DistributionResearch Paper

Motivation

Reliability theory classifies life distributions by how they age. A device whose failure rate tends to increase over time is "wearing out", and the class of distributions with increasing hazard rate average (IHRA) is the one that is closed under forming coherent systems of independent components (Birnbaum, Esary and Marshall, 1966). This makes IHRA the natural ageing class for systems. It also raises a question: which physical failure mechanisms produce IHRA lives?

Esary, Marshall and Proschan's paper Shock Models and Wear Processes (Ann. Probability 1, 1973) answers this for two kinds of mechanism. In the first, damage arrives in discrete amounts at the epochs of a Poisson process of shocks. In the second, damage accumulates continuously. In both, the device fails when the accumulated damage first exceeds a fixed capacity. This mission covers the second kind: a wear process {Z(t),t≥0}\{Z(t), t \ge 0\}{Z(t),t≥0} and its first passage time above a level. The paper shows that the first passage time is IHRA under three qualitative conditions: wear starts at zero and only grows, the process is Markov, and accumulated wear and age make further wear more likely. Nothing else is assumed about the law of the wear.

A short timeline. Birnbaum, Esary and Marshall (1966) introduced the IHRA class and proved it is closed under coherent systems. Morey (1965) studied first passage times of wear processes under an extra monotonicity assumption. Esary, Marshall and Proschan (1973), §4, proved the IHRA property first for Poisson shocks with i.i.d. damages (Corollary 4.2, (4.7)), then for dependent damages (Lemma 4.1b, (4.7b)), and finally for continuous wear (Theorem 4.10).

Setting

Let (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P) be a probability space. "Decreasing" means non-increasing throughout.

A survival function Fˉ\bar FFˉ is IHRA if t↦[Fˉ(t)]1/tt \mapsto [\bar F(t)]^{1/t}t↦[Fˉ(t)]1/t is decreasing on t>0t > 0t>0 (p. 631). For an exponential life, [Fˉ(t)]1/t[\bar F(t)]^{1/t}[Fˉ(t)]1/t is constant. IHRA says the average failure rate over [0,t][0, t][0,t] never decreases.

Dependent damages. Let X1,X2,…X_1, X_2, \dotsX1​,X2​,… be nonnegative random variables, the damages caused by successive shocks, and let Z0=0Z_0 = 0Z0​=0 and Zk=X1+⋯+XkZ_k = X_1 + \dots + X_kZk​=X1​+⋯+Xk​. The paper's conditions (p. 636) are:

  • (4.3) the conditional law of XkX_kXk​ given X1,…,Xk−1X_1, \dots, X_{k-1}X1​,…,Xk−1​ depends only on Zk−1Z_{k-1}Zk−1​;
  • (4.4) P{Xk≤u∣Zk−1=z}P\{X_k \le u \mid Z_{k-1} = z\}P{Xk​≤u∣Zk−1​=z} is decreasing in z≥0z \ge 0z≥0 (accumulated damage lowers resistance);
  • (4.5) P{Xk≤u∣Zk−1=z}≥P{Xk+1≤u∣Zk=z}P\{X_k \le u \mid Z_{k-1} = z\} \ge P\{X_{k+1} \le u \mid Z_k = z\}P{Xk​≤u∣Zk−1​=z}≥P{Xk+1​≤u∣Zk​=z} for z≥0z \ge 0z≥0 (later shocks are more severe).

Wear process. Z(t)Z(t)Z(t) is the wear accumulated in [0,t][0, t][0,t]. The conditions (pp. 640–641) are:

  • (4.8) Z(0)=0Z(0) = 0Z(0)=0 and Z(t+Δ)−Z(t)≥0Z(t + \Delta) - Z(t) \ge 0Z(t+Δ)−Z(t)≥0 for all t,Δ≥0t, \Delta \ge 0t,Δ≥0, with probability one;
  • (4.9) {Z(t),t≥0}\{Z(t), t \ge 0\}{Z(t),t≥0} is a Markov process;
  • (4.10) P{Z(t+Δ)−Z(t)≤u∣Z(t)=z}P\{Z(t + \Delta) - Z(t) \le u \mid Z(t) = z\}P{Z(t+Δ)−Z(t)≤u∣Z(t)=z} is decreasing in both zzz and ttt in the region t≥0t \ge 0t≥0, z≥0z \ge 0z≥0, Δ≥0\Delta \ge 0Δ≥0.

The first passage time above a level xxx is Tx=inf⁡{t:Z(t)>x}T_x = \inf\{t : Z(t) > x\}Tx​=inf{t:Z(t)>x}. Its survival function is Hˉx(t)=P{Tx>t}\bar H_x(t) = P\{T_x > t\}Hˉx​(t)=P{Tx​>t}, and Ft(x)=P{Z(t)≤x}F_t(x) = P\{Z(t) \le x\}Ft​(x)=P{Z(t)≤x} is the distribution function of the wear at time ttt.

Formalization targets

Goal: Theorem 4.10 (p. 641)

If {Z(t),t≥0}\{Z(t), t \ge 0\}{Z(t),t≥0} satisfies (4.8), (4.9) and (4.10), then for every level xxx

t⟼[Hˉx(t)]1/t is decreasing on t>0,t \longmapsto \big[\bar H_x(t)\big]^{1/t} \text{ is decreasing on } t > 0,t⟼[Hˉx​(t)]1/t is decreasing on t>0,

that is, TxT_xTx​ has an IHRA distribution.

Milestones

  1. Lemma 4.1b (p. 637): under (4.3)–(4.5), [P{X1+⋯+Xk≤x}]1/k[P\{X_1 + \dots + X_k \le x\}]^{1/k}[P{X1​+⋯+Xk​≤x}]1/k is decreasing in k=1,2,…k = 1, 2, \dotsk=1,2,….
  2. Proof of Theorem 4.10, first claim (a): for Δ>0\Delta > 0Δ>0, the grid increments Xi=Z(iΔ)−Z((i−1)Δ)X_i = Z(i\Delta) - Z((i-1)\Delta)Xi​=Z(iΔ)−Z((i−1)Δ) satisfy (4.3)–(4.5).
  3. Proof of Theorem 4.10, first claim (b): [FkΔ(x)]1/(kΔ)[F_{k\Delta}(x)]^{1/(k\Delta)}[FkΔ​(x)]1/(kΔ) is decreasing in k=1,2,…k = 1, 2, \dotsk=1,2,….
  4. Proof of Theorem 4.10, second claim: [Fs(x)]1/s≥[Ft(x)]1/t[F_s(x)]^{1/s} \ge [F_t(x)]^{1/t}[Fs​(x)]1/s≥[Ft​(x)]1/t whenever 0<s≤t0 < s \le t0<s≤t.
  5. Proof of Theorem 4.10, third claim: Hˉx(t)=lim⁡ε↓0Ft+ε(x)\bar H_x(t) = \lim_{\varepsilon \downarrow 0} F_{t+\varepsilon}(x)Hˉx​(t)=limε↓0​Ft+ε​(x), under (4.8) alone.

An optional extra item states Corollary 4.2 (4.7b): Poisson shocks of rate λ>0\lambda > 0λ>0 with damages satisfying (4.3)–(4.5) give an IHRA life Hˉ(t)=∑ke−λt(λt)k/k!⋅P{Zk≤x}\bar H(t) = \sum_k e^{-\lambda t} (\lambda t)^k / k! \cdot P\{Z_k \le x\}Hˉ(t)=∑k​e−λt(λt)k/k!⋅P{Zk​≤x}.

Significance

The result. Theorem 4.10 derives an ageing property of a failure time from qualitative properties of the damage process alone: no distributional form, no stationarity and no independence of increments is assumed. Together with the closure of IHRA under coherent systems, this lets a reliability engineer conclude that a system built from components failing by wear has an IHRA life. Examples include processes with nonnegative stationary independent increments started at the origin, such as compound Poisson processes and infinitesimal renewal processes (p. 641). Lemma 4.1b is the discrete analogue: a sequence of probabilities Pˉk\bar P_kPˉk​ with Pˉk1/k\bar P_k^{1/k}Pˉk1/k​ decreasing is what Theorem 3.1 (3.4) needs to give an IHRA life under Poisson shocks.

Formalizing it. The results are proved in the paper. As far as we know none of them has been machine-checked. The formalization needs, and would make reusable, a statement of the Markov property for a continuous-time real process in terms of Mathlib's conditional expectation, versions of conditional distributions with monotonicity constraints, and the passage from a discrete-time grid to continuous time for first passage times. Each of these is a step a probabilist writes in one line and a proof assistant does not.

Difficulty

The paper's proof is short, but every sentence hides a measure-theoretic step. The first claim, that the grid increments satisfy (4.3)–(4.5), requires turning the Markov property and the monotonicity of the increment law into conditional laws of Xk+1X_{k+1}Xk+1​ given (X1,…,Xk)(X_1, \dots, X_k)(X1​,…,Xk​). Those conditional laws are defined only almost everywhere, and the monotonicity must be preserved along the way. Lemma 4.1b itself is an induction that integrates the monotonicity conditions against the law of ZkZ_kZk​. The extension from rational to arbitrary ratios s/ts/ts/t uses the monotonicity of paths. The identification of Hˉx(t)\bar H_x(t)Hˉx​(t) as a right limit of Ft+ε(x)F_{t+\varepsilon}(x)Ft+ε​(x) needs the pathwise reading of (4.8). The natural first idea, approximating ZZZ by a compound Poisson process, would add hypotheses the theorem does not have.

Formalization scope

All objects sit in the namespace ShockWear.WearProcess, in one definition file. The committed conventions:

  • Probability space. A measure pr with IsProbabilityMeasure. Time is R≥0\mathbb R_{\ge 0}R≥0​; Z:R≥0→Ω→RZ : \mathbb R_{\ge0} \to \Omega \to \mathbb RZ:R≥0​→Ω→R with every Z(t)Z(t)Z(t) measurable.
  • (4.8) is read pathwise. Almost every path has Z(0)=0Z(0) = 0Z(0)=0 and is nondecreasing. The paper's "for all t,Δ≥0t, \Delta \ge 0t,Δ≥0 with probability one" is ambiguous in quantifier order; this reading is the one used by the proof's equivalence "Tx>tT_x > tTx​>t iff Z(t+ε)≤xZ(t+\varepsilon) \le xZ(t+ε)≤x for some ε>0\varepsilon > 0ε>0".
  • (4.9) is the Markov property for the natural filtration σ(Z(r),r≤s)\sigma(Z(r), r \le s)σ(Z(r),r≤s): P(Z(t)∈B∣Fs)=P(Z(t)∈B∣Z(s))P(Z(t) \in B \mid \mathcal F_s) = P(Z(t) \in B \mid Z(s))P(Z(t)∈B∣Fs​)=P(Z(t)∈B∣Z(s)) a.s. for s≤ts \le ts≤t and Borel BBB.
  • Conditional probabilities are explicit versions. P{Xk+1≤u∣Zk=z}P\{X_{k+1} \le u \mid Z_k = z\}P{Xk+1​≤u∣Zk​=z} and P{Z(t+Δ)−Z(t)≤u∣Z(t)=z}P\{Z(t+\Delta) - Z(t) \le u \mid Z(t) = z\}P{Z(t+Δ)−Z(t)≤u∣Z(t)=z} are the values on (−∞,u](-\infty, u](−∞,u] of Markov kernels κ\kappaκ that agree almost everywhere with Mathlib's condDistrib. The monotonicity conditions (4.4), (4.5), (4.10) are imposed on these versions, on the paper's regions z≥0z \ge 0z≥0, t≥0t \ge 0t≥0. "Is decreasing in zzz" is read as "has a version decreasing in zzz".
  • Nonnegativity of damages is almost sure.
  • Index base. Lean's X i is the paper's Xi+1X_{i+1}Xi+1​, and the kernel κ k describes Xk+1X_{k+1}Xk+1​ given ZkZ_kZk​.
  • First passage time TxT_xTx​ takes values in [0,∞][0, \infty][0,∞] and may be infinite with positive probability; it is not assumed finite. Hˉx(t)=1\bar H_x(t) = 1Hˉx​(t)=1 for t<0t < 0t<0. The level xxx ranges over all reals.
  • Powers [ ⋅ ]1/t[\,\cdot\,]^{1/t}[⋅]1/t, [ ⋅ ]1/k[\,\cdot\,]^{1/k}[⋅]1/k, [ ⋅ ]1/(kΔ)[\,\cdot\,]^{1/(k\Delta)}[⋅]1/(kΔ) are real powers with real exponents.

Trivializing formalizations are ruled out: (4.9) and (4.10) are not replaced by independence or stationarity of increments, nor by a compound Poisson model. Those are examples (p. 641), not hypotheses. Monotonicity is never imposed on Mathlib's condDistrib itself, whose values off the support of Z(t)Z(t)Z(t) are unconstrained. A sorry-free local check confirms the hypotheses are satisfiable: the deterministic process Z(t)=tZ(t) = tZ(t)=t satisfies (4.8)–(4.10), and constant damages satisfy (4.3)–(4.5).

Contributions are welcome on any milestone. The reduction (milestone 2) and the induction of Lemma 4.1b are the substantial parts. Lemmas about versions of conditional distributions under Markov processes would be reusable well beyond this mission.

Selected references

  • J. D. Esary, A. W. Marshall and F. Proschan, Shock Models and Wear Processes, Ann. Probability 1(4) (1973) 627–649. https://doi.org/10.1214/aop/1176996891
  • Z. W. Birnbaum, J. D. Esary and A. W. Marshall, A Stochastic Characterization of Wear-out for Components and Systems, Ann. Math. Statist. 37 (1966) 816–825. https://doi.org/10.1214/aoms/1177699362
  • R. C. Morey, Stochastic Wear Processes, Technical Report ORC 65-16, Operations Research Center, University of California, Berkeley, 1965 (cited on p. 640 of Esary, Marshall and Proschan).
  • R. E. Barlow and F. Proschan, Statistical Theory of Reliability and Life Testing, Holt, Rinehart and Winston, 1975.
7 thms1 active userReviewed
Algorithmic Game TheoryComplexity TheoryLinear Optimization+1·Captain: mikedeng1

The Polynomial Hierarchy and a Simple Model for Competitive Analysis: Every Optimum of the (p+1)-Level Linear Game J'(F) Is Binary, with x(F) = 1 iff the Σ_p Sentence (3.3) HoldsResearch Paper

Why multi-level programs are hard

Multi-level programs model a hierarchy of decision makers: a leader commits to a decision, a follower optimises given it, a follower of the follower optimises given both, and so on. Bilevel programs are the standard model of Stackelberg competition, toll setting, network interdiction and many other leader–follower problems in operations research (Candler and Townsley 1982; Bard and Falk 1982). When every level has a linear criterion and the constraints are linear, each player's problem looks like a linear program, and it is natural to hope that the whole hierarchy is solvable in polynomial time.

R. G. Jeroslow's 1985 paper (Math. Programming 32, 146–164) shows that this hope fails at every level of the polynomial hierarchy: a (p+1)(p+1)(p+1)-level linear program with fixed criteria can encode the truth of a Σp\Sigma_pΣp​ quantified Boolean sentence. The result places multi-level linear programming in the polynomial hierarchy and is widely cited for the Σp\Sigma_pΣp​-hardness of such programs; NP-hardness of bilevel linear programs (Corollary 4.6) is its special case p=1p=1p=1.

Setting

A multi-level program has real variables x=(x1,…,xp)x=(x^1,\dots,x^p)x=(x1,…,xp), a feasible set S0S_0S0​ (a polyhedron {x:∑iAixi≥b}\{x: \sum_i A^ix^i\ge b\}{x:∑i​Aixi≥b} in the linear case), and players p,p−1,…,1p,p-1,\dots,1p,p−1,…,1 who move in that order; player iii controls xix^ixi and minimises a fixed linear criterion cixc^ixcix. The solution sets are defined from the last mover upwards: S1S_1S1​ is the set of x∈S0x\in S_0x∈S0​ at which player 1's criterion is minimal given the choices of all earlier movers, and in general SjS_{j}Sj​ keeps the points of Sj−1S_{j-1}Sj−1​ minimising cjxc^jxcjx among the points of Sj−1S_{j-1}Sj−1​ that agree with xxx on xj+1,…,xpx^{j+1},\dots,x^pxj+1,…,xp. The value is cpxc^pxcpx on SpS_pSp​, when Sp≠∅S_p\neq\emptysetSp​=∅. The sets SjS_jSj​ can be empty even when S0S_0S0​ is a nonempty polytope: the paper's four-level Example has S4=∅S_4=\emptysetS4​=∅ because S3S_3S3​ is not closed.

A propositional formula FFF over blocks of atoms X1,…,XpX_1,\dots,X_pX1​,…,Xp​ (block XkX_kXk​ has nkn_knk​ atoms) is encoded by the linear system LFL_FLF​: one variable x(G)∈[0,1]x(G)\in[0,1]x(G)∈[0,1] per non-atomic subformula, with the inequalities (3.1a)–(3.1c) for ∨\vee∨, ∧\wedge∧, ¬\neg¬. The quantifier of block XkX_kXk​ is Qk=∃Q_k=\existsQk​=∃ when p−kp-kp−k is even, so

(∃Xp)(∀Xp−1)⋯(Q1X1) [F(X1,…,Xp)=1](3.3)(\exists X_p)(\forall X_{p-1})\cdots(Q_1X_1)\,[F(X_1,\dots,X_p)=1] \qquad (3.3)(∃Xp​)(∀Xp−1​)⋯(Q1​X1​)[F(X1​,…,Xp​)=1](3.3)

is a Σp\Sigma_pΣp​ sentence.

The game J′(F)J'(F)J′(F) adds a bookkeeper, player 000, who moves last. Player k≥1k\ge1k≥1 controls the atoms of XkX_kXk​, and player 111 also controls auxiliary variables yyy; the bookkeeper controls the x(G)x(G)x(G), a variable uuu fixed to 111, and auxiliary variables zzz. Two gadgets, (4.1) and (4.6), let the bookkeeper and player 1 turn the linear criteria into the piecewise-linear functions Zk=1−x(F)+2∑jP(xkj)Z_k=1-x(F)+2\sum_jP(x_{kj})Zk​=1−x(F)+2∑j​P(xkj​) (or x(F)+…x(F)+\dotsx(F)+… for universal QkQ_kQk​) and Z1=(1−x(F))+fr(1−x(F))+10L∑jfr(x1j)+…Z_1=(1-x(F))+fr(1-x(F))+10L\sum_j fr(x_{1j})+\dotsZ1​=(1−x(F))+fr(1−x(F))+10L∑j​fr(x1j​)+…, where LLL is the length of FFF, fr(x)=min⁡{x,1−x}fr(x)=\min\{x,1-x\}fr(x)=min{x,1−x}, and P(x)=1P(x)=1P(x)=1 at x∈{0,1}x\in\{0,1\}x∈{0,1}, 222 otherwise.

Formalization targets

Goal: Theorem 4.5 (p≥2p\ge2p≥2)

Let SSS be the set of optimal solutions Sp+1S_{p+1}Sp+1​ of J′(F)J'(F)J′(F). Then S≠∅S\neq\emptysetS=∅; at every optimum all atom variables and all x(G)x(G)x(G) are binary; and

x(F)=1  ⟺  (3.3) holds,value(J′(F))=2np+1−x(F).x(F)=1 \iff (3.3)\ \text{holds},\qquad \text{value}(J'(F)) = 2n_p+1-x(F).x(F)=1⟺(3.3) holds,value(J′(F))=2np​+1−x(F).

Moreover, when (3.3) holds, v∈Rnpv\in\mathbb R^{n_p}v∈Rnp​ is player ppp's block in some optimum iff vvv is binary and the Πp−1\Pi_{p-1}Πp−1​ sentence (4.17) holds at the truth valuation of vvv.

Milestones

In attack order: Lemma 3.1 (correctness of LFL_FLF​ on binary inputs); Lemma 4.1 (robustness of LFL_FLF​ near binary inputs); Lemmas 4.2 and 4.3 (the bottom two levels of a bounded linear multi-level program are solvable, via LP duality); the bookkeeper identities z=∣2y−x∣z=|2y-x|z=∣2y−x∣ and z=fr(x)z=fr(x)z=fr(x) in S1S_1S1​; (4.2) and (4.3) (player 1's and player kkk's responses on the gadgets); Lemma 4.4 (the induction on kkk with the higher blocks fixed). Companion theorems: Corollary 4.6 (the bilevel case: value 000 iff (∃X1)F(\exists X_1)F(∃X1​)F), the §2 Example, and Proposition 3.2 (the pure binary game J(F)J(F)J(F)).

Significance

The theorem shows that deciding the value of a (p+1)(p+1)(p+1)-level linear program with fixed criteria is at least as hard as deciding Σp\Sigma_pΣp​ sentences, so known exact algorithms for multi-level linear programs cannot be expected to run in polynomial time once p≥2p\ge2p≥2, and even recognising an optimal move is Πp−1\Pi_{p-1}Πp−1​-hard. The bilevel case is an early NP-hardness proof for bilevel linear programming, and the construction (a bookkeeper player and absolute-value gadgets that force binary choices) is a template for hardness reductions to leader–follower problems.

The result is proved in the paper but, to our knowledge, has no machine-checked formalization. A formal development makes precise the solution concept (conditional rather than lexicographic minimisation), which the literature states in several inequivalent ways, and checks a proof whose printed version leaves cases to the reader (the ∧\wedge∧, ¬\neg¬ cases of Lemma 4.1, the universal cases of Lemma 4.4) and applies Lemma 4.3 to a feasible set that is unbounded (the (4.1) variable zzz has no upper bound).

Difficulty

The obvious argument, "each existential player picks a satisfying assignment and each universal player a counterexample", works for the pure binary game J(F)J(F)J(F) (Proposition 3.2) but not for continuous variables: a player may choose fractional values, and the solution sets of a multi-level program need not exist (the §2 Example). The work is in showing that every player is forced to binary choices. Player 1's fractional choices are ruled out only through the robustness estimate of Lemma 4.1 with the weight 10L10L10L, and the existence of optimal solutions at every level has to be established along the induction, since it fails for general three-level programs.

Formalization scope

  • Players are indexed from 000; player iii optimises at level i+1i+1i+1. In J′(F)J'(F)J′(F) the players are 0,…,p0,\dots,p0,…,p as in the paper; in the §2 Example and in J(F)J(F)J(F) the paper's player iii is index i−1i-1i−1. Blocks are 0-based: block k : Fin p is the paper's Xk+1X_{k+1}Xk+1​, owned by player k+1k+1k+1 in J′(F)J'(F)J′(F).
  • solSet encodes the conditional minimisation of (3.7), p. 152. HasValue N w requires SN≠∅S_N\neq\emptysetSN​=∅; the value +∞+\infty+∞ is not modelled.
  • Formulas use ¬,∧,∨\neg,\wedge,\vee¬,∧,∨ (the paper rewrites →\to→ as ¬G1∨G2\neg G_1\vee G_2¬G1​∨G2​); the length counts atoms and connectives. Data are real; the paper's rationality assumption plays no role in the statements.
  • The bookkeeper controls the x(G)x(G)x(G) and has criterion "+z+z+z on (4.1) gadgets, −z-z−z on (4.6) gadgets, and +x(G)+x(G)+x(G) for each non-atomic subformula," as stated on p. 155. The (4.1) variable zzz has no upper bound. The constant 111 of (4.4)/(4.7) is the variable uuu with u=1u=1u=1.
  • "Binary value, zero iff F∈BpF\in B_pF∈Bp​" is stated exactly: the value is 2np+1−x(F)2n_p+1-x(F)2np​+1−x(F), and x(F)=1x(F)=1x(F)=1 iff (3.3). "All optimal solutions are binary" covers the atom variables and the x(G)x(G)x(G), not the gadget variable zzz, which equals 222 at y=1y=1y=1, ξ=0\xi=0ξ=0.
  • The goal is not trivialisable: its first conjunct asserts that the optimal set is nonempty, which fails for general multi-level programs (the §2 Example), so the remaining conjuncts are not vacuous.

A complete development needs a linear-programming duality argument for Lemma 4.2 (Mathlib has IsExtreme and Set.extremePoints; LP duality is on the platform as a single-level theorem) and an induction over the levels of the game. The definitions MultilevelProgram, solSet and the formula encoding LSys are reusable for other complexity results on hierarchical optimisation. Proofs of any milestone, including the generic Lemmas 4.2–4.3 and the formula Lemmas 3.1 and 4.1, are welcome independently.

Selected references

  • R. G. Jeroslow, The polynomial hierarchy and a simple model for competitive analysis, Mathematical Programming 32 (1985) 146–164. https://doi.org/10.1007/BF01586088
  • W. Candler and R. Townsley, A linear two-level programming problem, Computers & Operations Research 9 (1982) 59–76. https://doi.org/10.1016/0305-0548(82)90006-5
  • J. F. Bard and J. E. Falk, An explicit solution to the multi-level programming problem, Computers & Operations Research 9 (1982) 77–100. https://doi.org/10.1016/0305-0548(82)90007-7
  • L. J. Stockmeyer, The polynomial-time hierarchy, Theoretical Computer Science 3 (1976) 1–22. https://doi.org/10.1016/0304-3975(76)90061-X
13 thms1 active userReviewed
🏆Completed
Dynamic ProgrammingLinear OptimizationMarkov Chain+2·Captain: mikedeng1

Linear Programming and Finite Markovian Control Problems V: Average Reward — an Extreme Optimal Solution of the Multichain Linear Program Yields a Pure Stationary Average Optimal PolicyTextbook

Motivation

A Markov decision problem with the average reward criterion asks for a policy that maximises the long-run reward per period of a controlled finite Markov chain. It is the standard model for repeated operational decisions with no natural horizon: inventory replenishment, machine maintenance, queue admission and routing. For finitely many states and actions, Howard (1960) and Blackwell (1962) showed that a pure stationary average optimal policy exists, and policy iteration finds one.

Linear programming formulations are older for the discounted problem (d'Epenoux, 1960) and for chains with a single recurrent class (Manne, 1960). Without a structural assumption, a stationary policy can split the state space into several recurrent classes, the multichain case, and the gain becomes a vector rather than a number. Denardo and Fox (1968) gave a linear programming approach for this case. Hordijk and Kallenberg (1979) showed that a single pair of dual linear programs suffices: an optimal policy can be read off an extreme optimal solution of the dual program. Kallenberg's tract (1983, Chapter 4) is the systematic account of this theory, and this mission formalizes its §4.2–4.4.

Setting

Let EEE be a finite set of states. Each state iii has a nonempty finite set A(i)A(i)A(i) of actions, a reward ria∈Rr_{ia}\in\mathbb Rria​∈R for each action, and transition probabilities piaj≥0p_{iaj}\ge 0piaj​≥0 with ∑jpiaj=1\sum_j p_{iaj}=1∑j​piaj​=1. A policy RRR chooses, at each epoch t=1,2,…t=1,2,\dotst=1,2,…, a probability distribution on A(Xt)A(X_t)A(Xt​) that may depend on the whole history. A stationary policy π∞\pi^\inftyπ∞ uses fixed weights πia\pi_{ia}πia​ at every epoch. A pure stationary policy f∞f^\inftyf∞ always plays f(i)∈A(i)f(i)\in A(i)f(i)∈A(i). Write P(π)ij=∑apiajπiaP(\pi)_{ij}=\sum_a p_{iaj}\pi_{ia}P(π)ij​=∑a​piaj​πia​, r(π)i=∑ariaπiar(\pi)_i=\sum_a r_{ia}\pi_{ia}r(π)i​=∑a​ria​πia​, and P(f)P(f)P(f), r(f)r(f)r(f) in the pure case.

The average reward of RRR from state iii is

ϕi(R)=lim inf⁡T→∞1T∑t=1T∑j∑aPR(Xt=j, Yt=a∣X1=i) rja,\phi_i(R)=\liminf_{T\to\infty}\frac1T\sum_{t=1}^T\sum_j\sum_a\mathbb P_R(X_t=j,\ Y_t=a\mid X_1=i)\,r_{ja},ϕi​(R)=T→∞liminf​T1​t=1∑T​j∑​a∑​PR​(Xt​=j, Yt​=a∣X1​=i)rja​,

and ϕ^i(R)\hat\phi_i(R)ϕ^​i​(R) is the same expression with lim sup⁡\limsuplimsup. The AMD-value-vector is ϕi=sup⁡Rϕi(R)\phi_i=\sup_R\phi_i(R)ϕi​=supR​ϕi​(R), where RRR ranges over all policies, and R∗R^*R∗ is average optimal if ϕ(R∗)=ϕ\phi(R^*)=\phiϕ(R∗)=ϕ. A policy is Blackwell optimal if it maximises the discounted reward vα(R)=∑t≥1αt−1ER[rXtYt]v^\alpha(R)=\sum_{t\ge1}\alpha^{t-1}\mathbb E_R[r_{X_tY_t}]vα(R)=∑t≥1​αt−1ER​[rXt​Yt​​] for all discount factors α\alphaα in some interval [α0,1)[\alpha_0,1)[α0​,1).

For a stochastic matrix PPP, the stationary matrix P∗P^*P∗ is the Cesàro limit of PnP^nPn, and the deviation matrix is D=(I−P+P∗)−1−P∗D=(I-P+P^*)^{-1}-P^*D=(I−P+P∗)−1−P∗. For a pure policy, ϕ(f∞)=P∗(f)r(f)\phi(f^\infty)=P^*(f)r(f)ϕ(f∞)=P∗(f)r(f) and u(f∞)=D(f)r(f)u(f^\infty)=D(f)r(f)u(f∞)=D(f)r(f).

A vector ϕ~\tilde\phiϕ~​ is AMD-superharmonic if some u~\tilde uu~ satisfies ϕ~i≥∑jpiajϕ~j\tilde\phi_i\ge\sum_jp_{iaj}\tilde\phi_jϕ~​i​≥∑j​piaj​ϕ~​j​ and ϕ~i+u~i≥ria+∑jpiaju~j\tilde\phi_i+\tilde u_i\ge r_{ia}+\sum_jp_{iaj}\tilde u_jϕ~​i​+u~i​≥ria​+∑j​piaj​u~j​ for all a∈A(i)a\in A(i)a∈A(i), i∈Ei\in Ei∈E. For weights βj>0\beta_j>0βj​>0 with ∑jβj=1\sum_j\beta_j=1∑j​βj​=1, the primal program (4.2.10) minimises ∑jβjϕ~j\sum_j\beta_j\tilde\phi_j∑j​βj​ϕ~​j​ over such pairs. Its dual is

max⁡{∑i,ariaxia ∣ ∑i,a(δij−piaj)xia=0,  ∑axja+∑i,a(δij−piaj)yia=βj  (j∈E),  x,y≥0}.(4.2.11)\max\Big\{\sum_{i,a}r_{ia}x_{ia}\ \Big|\ \sum_{i,a}(\delta_{ij}-p_{iaj})x_{ia}=0,\ \ \sum_ax_{ja}+\sum_{i,a}(\delta_{ij}-p_{iaj})y_{ia}=\beta_j\ \ (j\in E),\ \ x,y\ge0\Big\}.\tag{4.2.11}max{i,a∑​ria​xia​ ​ i,a∑​(δij​−piaj​)xia​=0,  a∑​xja​+i,a∑​(δij​−piaj​)yia​=βj​  (j∈E),  x,y≥0}.(4.2.11)

Write Ex={i∣∑axia>0}E_x=\{i\mid\sum_ax_{ia}>0\}Ex​={i∣∑a​xia​>0}.

Formalization targets

Goal: Theorem 4.2.4

If (x∗,y∗)(x^*,y^*)(x∗,y∗) is an optimal solution of (4.2.11) and an extreme point of its feasible set, then a decision rule f∗f_*f∗​ with

xif∗(i)∗>0  (i∈Ex∗),yif∗(i)∗>0  (i∈E∖Ex∗)x^*_{if_*(i)}>0\ \ (i\in E_{x^*}),\qquad y^*_{if_*(i)}>0\ \ (i\in E\setminus E_{x^*})xif∗​(i)∗​>0  (i∈Ex∗​),yif∗​(i)∗​>0  (i∈E∖Ex∗​)

exists, and every such f∗∞f_*^\inftyf∗∞​ is average optimal.

The goal is stated for every finite model, with no assumption on the chain structure, and for every rule-conforming f∗f_*f∗​.

Milestones

  1. Optimality equations (Theorem 4.2.1): a Blackwell optimal pure policy gives (ϕ∘,u∘)(\phi^\circ,u^\circ)(ϕ∘,u∘) with ϕi∘=max⁡a∈A(i)∑jpiajϕj∘\phi^\circ_i=\max_{a\in A(i)}\sum_jp_{iaj}\phi^\circ_jϕi∘​=maxa∈A(i)​∑j​piaj​ϕj∘​ and ϕi∘+ui∘=max⁡a∈Aˉ(i){ria+∑jpiajuj∘}\phi^\circ_i+u^\circ_i=\max_{a\in\bar A(i)}\{r_{ia}+\sum_jp_{iaj}u^\circ_j\}ϕi∘​+ui∘​=maxa∈Aˉ(i)​{ria​+∑j​piaj​uj∘​}.
  2. Superharmonic characterisation (Theorem 4.2.2): ϕ\phiϕ is the smallest AMD-superharmonic vector.
  3. Lim sup optimality (Theorem 4.2.3): a pure stationary average optimal f∞f^\inftyf∞ satisfies ϕ^(f∞)≥ϕ^(R)\hat\phi(f^\infty)\ge\hat\phi(R)ϕ^​(f∞)≥ϕ^​(R) for every RRR.
  4. The three propositions inside the proof of Theorem 4.2.4: complementary slackness along f∗f_*f∗​ (4.2.1), closedness of Ex∗E_{x^*}Ex∗​ under P(f∗)P(f_*)P(f∗​) (4.2.2), and transience of E∖Ex∗E\setminus E_{x^*}E∖Ex∗​ under P(f∗)P(f_*)P(f∗​) (4.2.3).
  5. The policy–solution correspondence (§4.3): the representative (x(π),y(π))(x(\pi),y(\pi))(x(π),y(π)) is feasible (Theorem 4.3.1); the map is one-to-one with inverse (4.3.1) (Theorem 4.3.2); ExE_xEx​ is closed under, and is exactly the recurrent set of, P(π(x,y))P(\pi(x,y))P(π(x,y)) (Propositions 4.3.2–4.3.3); the correspondence preserves optimality (Theorem 4.3.3); pure policies map to extreme points (Theorem 4.3.4).
  6. Policy evaluation (Theorem 4.4.1): the system (I−P(f))ϕ~=0(I-P(f))\tilde\phi=0(I−P(f))ϕ~​=0, ϕ~+(I−P(f))u~=r(f)\tilde\phi+(I-P(f))\tilde u=r(f)ϕ~​+(I−P(f))u~=r(f), u~+(I−P(f))z~=0\tilde u+(I-P(f))\tilde z=0u~+(I−P(f))z~=0 is solvable, and every solution has ϕ~=ϕ(f∞)\tilde\phi=\phi(f^\infty)ϕ~​=ϕ(f∞) and u~=u(f∞)\tilde u=u(f^\infty)u~=u(f∞).

Significance

Theorem 4.2.4 reduces the multichain average reward problem to one linear program. Combined with Theorems 4.3.3 and 4.3.4, every pure stationary average optimal policy arises from some extreme optimal solution, so enumerating extreme optimal solutions enumerates all of them (Remark 4.2.5). The same program is the starting point for the constrained average reward problems of §4.7, where a policy must also satisfy linear constraints on its state–action frequencies. Theorem 4.4.1 is the evaluation step of multichain policy iteration.

The results are proved in the tract and, earlier, in Hordijk and Kallenberg (1979). None of them is formalized in a proof assistant. The platform has machine-checked average reward results only for unichain models, where the gain is a scalar. This mission adds the multichain theory, with general history-dependent randomized policies as competitors, and also yields reusable statements about stationary and deviation matrices of finite chains.

Difficulty

Under a unichain assumption, the dual variables xxx form a stationary distribution and the yyy-variables are unnecessary, so the obvious argument reads a policy off xxx alone. In the multichain case the xxx-part of an optimal solution can vanish on whole sets of states, and on those states the policy must be read off yyy. The argument then has to show that these states are transient under the selected policy, which is where extremality is essential. For a non-extreme optimal solution the book passes instead to the randomized policy (4.3.1), which needs the separate argument of Theorem 4.3.3. A second obstacle is that optimality is against all history-dependent randomized policies, so the comparison of ϕ(f∗∞)\phi(f_*^\infty)ϕ(f∗∞​) with ϕ\phiϕ must pass through the superharmonic characterisation (Theorem 4.2.2), whose proof uses the existence of a Blackwell optimal policy.

Formalization scope

The model is the published MarkovDecisionProcesses.StationaryMDP: finite state and action types, a nonempty Finset of admissible actions per state, and stochastic rows. General policies are the published AvgHRPolicy (decision rules depending on the epoch and the full history). The criteria are the published gainInf, gainSup and optGainInf; all values are real. Average optimality is the book's lim inf notion, ϕi(R∗)=sup⁡Rϕi(R)\phi_i(R^*)=\sup_R\phi_i(R)ϕi​(R∗)=supR​ϕi​(R) for every iii. It is not Puterman's stronger IsAverageOptimal. The stationary and deviation matrices are the published Cesàro limitMatrix and deviationMatrix. Their existence and invertibility (Theorem 2.4.1) are never assumed as hypotheses. LP variables are indexed by admissible state–action pairs, so Set.extremePoints is the book's notion of extreme feasible solution. Recurrence is the classical finite-chain notion: every state accessible from iii leads back to iii. The ergodic set of a recurrent state is the set of states accessible from it.

A formalization that assumes a unichain or ergodic model trivializes the mission (it reduces Theorem 4.2.4 to known unichain results). No statement here makes such an assumption, and the weights βj\beta_jβj​ are strictly positive and sum to one, as in (4.2.10).

The proofs need finite Markov chain theory: the Cesàro limit, P∗P=PP∗=P∗P^*P=PP^*=P^*P∗P=PP∗=P∗, P∗D=0P^*D=0P∗D=0, transience versus P⋅j∗=0P^*_{\cdot j}=0P⋅j∗​=0, and positivity of the stationary distribution on ergodic sets. They also need LP duality with complementary slackness and the existence of a Blackwell optimal pure policy. The last result is posed separately on the platform (Blackwell 1962, Theorem 5). LP duality is available as proved platform theorems (LinearOptimization.*), whose sign conventions must be matched. Contributions on the Markov chain layer are reusable across the whole series.

Selected references

  • L. C. M. Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam, 1983. https://ir.cwi.nl/pub/13008
  • A. Hordijk and L. C. M. Kallenberg, Linear programming and Markov decision chains, Management Science 25(4):352–362, 1979. https://doi.org/10.1287/mnsc.25.4.352
  • D. Blackwell, Discrete dynamic programming, Annals of Mathematical Statistics 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • E. V. Denardo and B. L. Fox, Multichain Markov renewal programs, SIAM Journal on Applied Mathematics 16(3):468–487, 1968.
  • J. G. Kemeny and J. L. Snell, Finite Markov Chains, Van Nostrand, 1960.
17 thms4 active usersReviewed
🏆Completed
Dynamic ProgrammingLinear OptimizationOperations Research+1·Captain: mikedeng1

Linear Programming and Finite Markovian Control Problems III: Contracting Dynamic Programming — Pure, Stationary, Markov and General Policies Span One State-Action Frequency PolytopeTextbook

Motivation

Finite Markov decision models describe repeated choices whose consequences depend on the present state. They are used when a planner needs one rule that works from every starting state, yet the rule may in principle respond to the entire observed history. Linear programming offers a different description: it records how often each state and action are used, without representing the order of decisions. Kallenberg's account connects these two descriptions for a contracting total-reward model, in which the system may terminate after a transition and all policies have finite expected occupation counts (Kallenberg 1983, §§2.2 and 3.4).

The question is whether the frequency vectors attainable by general randomized policies are already attainable through the simpler stationary classes. This matters for constrained planning: restrictions on expected total resource use are linear in frequencies, while a direct search over every history-dependent policy has no comparable finite parameterization. Kallenberg's Theorem 3.4.8 makes the exact comparison, including initial distributions that assign zero probability to some states (Kallenberg 1983, pp. 72–74).

Setting

Let EEE be a nonempty finite set of states. Each i∈Ei\in Ei∈E has a nonempty finite action set A(i)A(i)A(i). Taking a∈A(i)a\in A(i)a∈A(i) earns a real reward riar_{ia}ria​ and moves to jjj with probability piaj≥0p_{iaj}\ge 0piaj​≥0. A row may sum to less than one; the missing probability is termination. A policy RRR specifies a probability distribution over A(i)A(i)A(i) after every finite history ending in iii. A Markov policy uses only time and current state, a stationary policy uses only current state, and a pure stationary policy chooses a single action f(i)f(i)f(i) in each state. These are the classes CCC, CMC_MCM​, CSC_SCS​, and CDC_DCD​ of §2.2 (Kallenberg 1983, pp. 19–21).

The standing contraction assumption supplies weights μi>0\mu_i>0μi​>0 and 0≤α<10\le\alpha<10≤α<1 with

∑j∈Epiajμj≤αμi(i∈E, a∈A(i)).\sum_{j\in E}p_{iaj}\mu_j\le\alpha\mu_i \qquad(i\in E,\ a\in A(i)).j∈E∑​piaj​μj​≤αμi​(i∈E, a∈A(i)).

It is weaker in form than fixing a common discount factor: the weights may differ across states. The assumption makes every policy transient, so expected total rewards and state-action frequencies are finite (Kallenberg 1983, Assumption 3.4.1 and Theorem 3.2.4).

For an initial probability distribution β\betaβ, with βi≥0\beta_i\ge0βi​≥0 and ∑iβi=1\sum_i\beta_i=1∑i​βi​=1, write xja(R)x_{ja}(R)xja​(R) for the expected total number of visits to state jjj at which action aaa is chosen, averaged over the initial state. Let KKK, K(M)K(M)K(M), K(S)K(S)K(S), and K(D)K(D)K(D) collect these frequency vectors for the four policy classes. The frequency polytope PPP consists of nonnegative vectors xxx satisfying conservation of expected flow at each state:

∑a∈A(j)xja−∑i∈E∑a∈A(i)piajxia=βj(j∈E).\sum_{a\in A(j)}x_{ja} -\sum_{i\in E}\sum_{a\in A(i)}p_{iaj}x_{ia}=\beta_j \qquad(j\in E).a∈A(j)∑​xja​−i∈E∑​a∈A(i)∑​piaj​xia​=βj​(j∈E).

These equalities are those of the dual linear program (3.3.7), and the set names follow Notation 3.3.1 (Kallenberg 1983, pp. 53–55).

Formalization targets

The first milestones identify the total-reward value vector as the smallest TMD-superharmonic vector, establish a bijection between stationary policies and feasible frequencies when every βi>0\beta_i>0βi​>0, and show that an optimal linear-programming solution yields a pure stationary policy optimal from every state (Kallenberg 1983, Theorems 3.4.1–3.4.3).

The mission goal allows zero entries in the initial distribution and compares all four policy classes:

K(D)‾=K(S)=K(M)=K=P.\overline{K(D)}=K(S)=K(M)=K=P.K(D)​=K(S)=K(M)=K=P.

The overbar is Kallenberg's notation for the closed convex hull, rather than topological closure alone. Since there are finitely many pure stationary policies, K(D)K(D)K(D) is finite and its convex hull is already closed (Kallenberg 1983, Definition 1.2.1(i) and Theorem 3.4.8).

Significance

The goal says that the finite LP flow constraints characterize exactly the frequencies of arbitrary history-dependent randomized policies. It also says that every such vector is a convex combination of frequencies from pure stationary policies. A resource-constrained objective that depends linearly on expected state-action use can therefore be expressed over PPP without losing feasible frequency vectors. Kallenberg states this constrained consequence in Theorem 3.4.9; that theorem is beyond this mission's selected milestones (Kallenberg 1983, pp. 73–74).

The results are proved in the book. The remaining work here is a machine-checked development of their definitions and proofs, including the passage from arbitrary histories to finite flow equations. The history and frequency interfaces can also be reused for other finite, terminating control models. A proof of the goal would make explicit which uses of contraction and finite action sets justify the infinite sums and the closed convex hull.

Difficulty

For a stationary policy, the frequency equation can be written with a finite transition matrix. A general policy has a separate decision distribution after each possible history, so there is no single stationary transition matrix to substitute into that formula. A direct identification of KKK with PPP therefore skips the main issue. Moreover, the stationary-policy correspondence is one-to-one only when every initial weight is positive. When βj=0\beta_j=0βj​=0, different rules at never-visited states may have identical frequencies; the set equality must survive this loss of injectivity (Kallenberg 1983, Theorem 3.4.2 and Remark 3.4.3).

Formalization scope

States and their action sets are finite and nonempty. Actions are indexed by their state, so an illegal state-action pair cannot occur. Transition rows are substochastic; rewards, values, and frequencies are real. Histories contain the past state-action pairs and current state, and time index n=0n=0n=0 represents the book's period t=1t=1t=1. The four frequency sets range over genuinely different policy classes. In particular, the general set permits every legal history-dependent randomized policy; defining it through stationary policies would erase the goal's content.

The initial distribution in the goal may have zero coordinates. The strictly positive weights in the bijection and LP-optimality milestones are the different convention of §3.3. Frequencies and rewards use infinite sums; contraction supplies their convergence. The value vector is a coordinatewise supremum over legal policies, bounded under contraction. The LP uses equalities, not relaxed inequalities, and the pure-policy set is convexified only in the goal's first equality. Needed infrastructure includes finite history probabilities, stationary transition matrices, inverse stationary flows, superharmonic vectors, and finite-dimensional convex geometry. Contributions that establish these interfaces and the three stated milestones are in scope.

Selected references

  • L. C. M. Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam, 1983. Publisher repository copy.
6 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingLinear OptimizationOperations Research+1·Captain: mikedeng1

Linear Programming and Finite Markovian Control Problems I: Five Equivalent Characterizations of a Transient Markov Decision Problem, among Them Contraction and a Finite Linear ProgramTextbook

Motivation

Finite Markov decision models are often described by policies that choose an action from the current state. The admissible class in a total reward problem is wider: a randomized decision may use the complete history of observed states and chosen actions. For an undiscounted infinite horizon, the expected number of visits to a state may be infinite, and the total reward may be an extended real number. It matters whether a test carried out on finitely many pure stationary policies really controls this wider class. Kallenberg's Section 3.2 answers that question for finite models whose transition rows may lose probability mass when the process terminates.

The chapter is part of a 1983 account of linear programming methods for finite Markovian control. Its Theorem 3.2.4 collects earlier characterizations of transience and relates them to a finite linear program. The historical attribution in Kallenberg's Remark 3.2.2 is precise: Veinott (1969) established the equivalence of the first three conditions for nonrandomized policies, Hordijk (1976, course notes) extended the first four to general policies, and Denardo and Rothblum (1979) established the link between pure stationary transience and the LP condition. The mission targets Kallenberg's combined five-way statement, rather than treating those partial precedents as separate conclusions. Kallenberg, pp. 42–43.

Setting

Let EEE be a finite nonempty state space of size NNN. For every state iii, let A(i)A(i)A(i) be a nonempty finite set of actions. Choosing a∈A(i)a\in A(i)a∈A(i) gives the transition number piaj≥0p_{iaj}\ge0piaj​≥0 to state jjj, with ∑jpiaj≤1\sum_jp_{iaj}\le1∑j​piaj​≤1. The missing mass is the probability that the system terminates before another decision epoch. This is a substochastic model; replacing the inequality by equality would change the question. Kallenberg, §2.2.

A policy RRR specifies, at each epoch t≥1t\ge1t≥1, a probability distribution on A(it)A(i_t)A(it​) after the full history (i1,a1,…,at−1,it)(i_1,a_1,\ldots,a_{t-1},i_t)(i1​,a1​,…,at−1​,it​). It may be randomized and may depend on all preceding states and actions. A memoryless policy depends only on the epoch and current state. A pure stationary policy f∞f^\inftyf∞ chooses a single admissible action f(i)f(i)f(i) in state iii at every epoch. Write PR(Xt=j∣X1=i)P_R(X_t=j\mid X_1=i)PR​(Xt​=j∣X1​=i) for the probability of state jjj at epoch ttt from initial state iii. The policy is transient when ∑t≥1PR(Xt=j∣X1=i)<∞\sum_{t\ge1}P_R(X_t=j\mid X_1=i)<\infty∑t≥1​PR​(Xt​=j∣X1​=i)<∞ for every pair i,ji,ji,j. Kallenberg, pp. 20–23.

The finite-horizon survival recursion starts from yi0=1y_i^0=1yi0​=1 and sets yit=max⁡a∈A(i)∑jpiajyjt−1y_i^t=\max_{a\in A(i)}\sum_jp_{iaj}y_j^{t-1}yit​=maxa∈A(i)​∑j​piaj​yjt−1​ for t≥1t\ge1t≥1. A model is contracting if there is a strictly positive vector μ\muμ and a scalar 0≤c<10\le c<10≤c<1 for which ∑jpiajμj≤cμi\sum_jp_{iaj}\mu_j\le c\mu_i∑j​piaj​μj​≤cμi​ for every admissible (i,a)(i,a)(i,a). These objects are determined by the transition system; rewards do not enter the five-way characterization. Kallenberg, p. 23 and pp. 41–43.

Formalization targets

Five equivalent conditions

For any fixed βj>0\beta_j>0βj​>0, Theorem 3.2.4 states the equivalence of: transience of every pure stationary policy; transience of every policy; max⁡iyiN<1\max_i y_i^N<1maxi​yiN​<1; contraction; and existence of a finite solution of

max⁡{∑i∈E∑a∈A(i)xia: ∑i∈E∑a∈A(i)(δij−piaj)xia≤βj (j∈E),xia≥0}.\max\left\{\sum_{i\in E}\sum_{a\in A(i)}x_{ia}:\ \sum_{i\in E}\sum_{a\in A(i)}(\delta_{ij}-p_{iaj})x_{ia}\le\beta_j\ (j\in E),\quad x_{ia}\ge0\right\}.max⎩⎨⎧​i∈E∑​a∈A(i)∑​xia​: i∈E∑​a∈A(i)∑​(δij​−piaj​)xia​≤βj​ (j∈E),xia​≥0⎭⎬⎫​.

“Finite solution” means an attained finite optimum. The βj\beta_jβj​ are arbitrary positive right-hand sides, not a choice that the theorem is allowed to make after seeing the model. The state count NNN is the exponent in yNy^NyN, and the inequality is strict. Kallenberg, Theorem 3.2.4, pp. 42–43.

Supporting targets

The milestones follow the results the chapter uses on the way to Theorem 3.2.4, in attack order:

  1. Theorem 2.5.1 (Derman–Strauch) and its Corollary 2.5.1: for a fixed initial distribution, a memoryless policy reproduces the state-action probabilities PR(Xt=j,Yt=a∣X1=i)P_R(X_t=j,Y_t=a\mid X_1=i)PR​(Xt​=j,Yt​=a∣X1​=i) of any policy or of any countable mixture of policies.
  2. Lemma 3.2.1: under Assumption 3.2.1, lim⁡α↑1viα(R)=vi(R)\lim_{\alpha\uparrow1}v_i^\alpha(R)=v_i(R)limα↑1​viα​(R)=vi​(R) in [−∞,+∞][-\infty,+\infty][−∞,+∞].
  3. Theorem 3.2.1: under Assumption 3.2.1 there is a pure stationary policy f∞f^\inftyf∞ with v(f∞)=vv(f^\infty)=vv(f∞)=v, where vi=sup⁡Rvi(R)v_i=\sup_Rv_i(R)vi​=supR​vi​(R).
  4. Theorem 3.2.2: if vvv is p-summable, then vi=max⁡a∈A(i){ria+∑jpiajvj}v_i=\max_{a\in A(i)}\{r_{ia}+\sum_jp_{iaj}v_j\}vi​=maxa∈A(i)​{ria​+∑j​piaj​vj​}.
  5. Theorem 3.2.3: if some policy is transient, some pure stationary policy is transient.
  6. Lemma 3.2.2: yit=sup⁡R∑jPR(Xt+1=j∣X1=i)y_i^t=\sup_R\sum_jP_R(X_{t+1}=j\mid X_1=i)yit​=supR​∑j​PR​(Xt+1​=j∣X1​=i), attained by the policy (ft,ft−1,…,f1,f1,… )(f_t,f_{t-1},\dots,f_1,f_1,\dots)(ft​,ft−1​,…,f1​,f1​,…) built from maximizers of the recursion.

Assumption 3.2.1 says that every policy's expected total reward vi(R)=lim⁡T∑t≤Tvit(R)v_i(R)=\lim_T\sum_{t\le T}v^t_i(R)vi​(R)=limT​∑t≤T​vit​(R) exists in [−∞,+∞][-\infty,+\infty][−∞,+∞]; it is a hypothesis of items 2–4 only. Kallenberg, pp. 32–33, 37–42.

Significance

The theorem gives four finite or structured ways to recognize a property quantified over all policies. The survival condition uses only NNN recursion steps, and the contraction condition supplies a weighted geometric bound on continuation. The LP links the same property to a finite-dimensional optimization problem. Each characterization can serve a different later argument without assuming the policy class has been reduced to stationary rules. Kallenberg, Theorem 3.2.4.

The five-way theorem and its supporting results are proved in the book; this mission asks for machine-checked proofs of their stated finite-model versions. The Derman–Strauch policy result is quoted by Kallenberg without proof, so its formal proof is a separate substantial contribution. None of these results has a machine-checked proof yet. The general history and occupancy definitions can be reused by later total-reward and constrained-control missions.

Difficulty

Checking only the finitely many pure stationary transition matrices does not directly bound the occupation counts of a history-dependent policy. Such a policy can change its action distribution after each observed path, and it need not be a mixture of stationary policies chosen once at the start. Likewise, yiN<1y_i^N<1yiN​<1 is a finite-horizon bound, whereas transience is a statement about an infinite series of visit probabilities. The main difficulty is connecting these different quantifiers without changing the policy class. The LP condition adds a second boundary: its constraints use ≤βj\le\beta_j≤βj​, and finite value includes attainment. Kallenberg, pp. 41–45.

Formalization scope

States are Fin N with N>0N>0N>0, and actions form one finite ambient type with a nonempty admissible subset A(i)A(i)A(i) at each state. Transitions are real nonnegative numbers with row sums at most one. Epoch t=1t=1t=1 is Lean index zero. A history records states and earlier actions; policy decision rules are normalized and supported on the current state's admissible actions. Occupancies are finite sums of transition products, so the definition of transience is summability of a nonnegative real sequence, not a bound on an individual term.

The reward layer is separate from the transition system. It uses extended real limits under Assumption 3.2.1, while the five-way goal needs no reward hypothesis. Sums ∑jpiajxj\sum_jp_{iaj}x_j∑j​piaj​xj​ of extended reals are only asserted for p-summable xxx, where no +∞+\infty+∞ and −∞-\infty−∞ meet with positive coefficients; the convention 0⋅(±∞)=00\cdot(\pm\infty)=00⋅(±∞)=0 is the book's. The LP objective and constraints range only over admissible state-action pairs. Its finite-solution predicate includes a feasible optimizer. Contraction allows an arbitrary componentwise positive weight μ\muμ and requires 0≤c<10\le c<10≤c<1; it does not normalize μ\muμ to the all-ones vector. The NNN-step test uses the cardinality of the original state space.

All-policy transience means every history-dependent randomized policy. Restricting that quantifier to Markov or stationary policies would remove the central content of the theorem. Useful contributions include finite-history probability identities, the Derman–Strauch occupancy theorem, the maximal-survival recursion, the stationary total-optimality result, and the finite LP characterization. The occupancy and policy definitions are reusable beyond this mission.

Selected references

  • L. C. M. Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam, 1983. https://ir.cwi.nl/pub/13008
  • C. Derman and R. E. Strauch, A note on memoryless rules for controlling sequential control processes, Annals of Mathematical Statistics 37 (1966), 276–278. https://doi.org/10.1214/aoms/1177699618
  • A. F. Veinott Jr., Discrete dynamic programming with sensitive discount optimality criteria, Annals of Mathematical Statistics 40 (1969), 1635–1660. https://doi.org/10.1214/aoms/1177697379
  • E. V. Denardo and U. G. Rothblum, Optimal stopping, exponential utility, and linear programming, Mathematical Programming 16 (1979), 228–244. https://doi.org/10.1007/BF01582110
  • A. Hordijk and L. C. M. Kallenberg, Linear programming and Markov decision chains, Management Science 25 (1979), 352–362. https://doi.org/10.1287/mnsc.25.4.352
12 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization·Captain: mikedeng1

The Computational Algorithm for the Parametric Objective Function: The Basis Entered at a Characteristic Value λ̄ Is Optimal on an Interval Whose Left Endpoint Is λ̄Research Paper

Motivation

A linear program often has two objectives that pull in different directions, for example cost and risk, or two policy goals whose relative weight is a matter of judgment. Gass and Saaty (NRLQ 1955) put the question in its simplest form: let every cost coefficient be an affine function dj+λdj′d_j + \lambda d'_jdj​+λdj′​ of one real parameter λ\lambdaλ, and find, for every value of λ\lambdaλ, an optimal solution. Their paper turned this into a procedure that runs the simplex method once and then walks along the λ\lambdaλ-axis, changing one basis column at a time. This parametric objective function method became a standard chapter of linear programming texts and is the prototype of parametric and sensitivity analysis in optimization software.

Timeline.

  • 1951: Dantzig publishes the simplex method (Cowles Commission Monograph No. 13, Ch. XXI; the paper's reference [1]), with the optimality test zj−cj≤0z_j - c_j \le 0zj​−cj​≤0 for a minimization problem.
  • 1954: Gass and Saaty summarize the parametric procedure (J. Oper. Res. Soc. Amer. 2 (1954), 316–319).
  • 1955: the present paper gives the procedure in detail, proves the THEOREM that makes it work, and reports computations on the National Bureau of Standards SEAC computer.

Setting

For each real λ\lambdaλ the problem is

minimize ∑j=1n(dj+λdj′) xjsubject toxj≥0 (j=1,…,n),∑j=1naijxj=ai0 (i=1,…,m).\text{minimize } \sum_{j=1}^n (d_j + \lambda d'_j)\,x_j \quad\text{subject to}\quad x_j \ge 0\ (j = 1,\dots,n),\qquad \sum_{j=1}^n a_{ij}x_j = a_{i0}\ (i = 1,\dots,m).minimize j=1∑n​(dj​+λdj′​)xj​subject toxj​≥0 (j=1,…,n),j=1∑n​aij​xj​=ai0​ (i=1,…,m).

Write A=(aij)A = (a_{ij})A=(aij​), an m×nm\times nm×n real matrix with columns A1,…,AnA_1,\dots,A_nA1​,…,An​, and b=(ai0)b = (a_{i0})b=(ai0​). A basis is a list of mmm linearly independent columns AB(1),…,AB(m)A_{B(1)},\dots,A_{B(m)}AB(1)​,…,AB(m)​; its basic solution xxx has xj=0x_j = 0xj​=0 off the basis and Ax=bAx = bAx=b, and it is a basic feasible solution when also x≥0x \ge 0x≥0. Every column has coordinates yijy_{ij}yij​ in the basis, Aj=∑iyijAB(i)A_j = \sum_i y_{ij}A_{B(i)}Aj​=∑i​yij​AB(i)​. For a cost vector ccc the simplex method uses zj=∑iyijcB(i)z_j = \sum_i y_{ij}c_{B(i)}zj​=∑i​yij​cB(i)​; for the cost c=d+λd′c = d + \lambda d'c=d+λd′ the number zj−cjz_j - c_jzj​−cj​ is affine in λ\lambdaλ:

zj−cj=αj+λβj.z_j - c_j = \alpha_j + \lambda\beta_j .zj​−cj​=αj​+λβj​.

The basis is optimal at λ\lambdaλ when αj+λβj≤0\alpha_j + \lambda\beta_j \le 0αj​+λβj​≤0 for all jjj (inequalities (3)). The critical values of the basis are

λ‾=max⁡βj<0(−αjβj) (−∞ if all βj≥0),λˉ=min⁡βj>0(−αjβj) (+∞ if all βj≤0).\underline\lambda = \max_{\beta_j<0}\Big(-\frac{\alpha_j}{\beta_j}\Big)\ (-\infty \text{ if all }\beta_j\ge 0),\qquad \bar\lambda = \min_{\beta_j>0}\Big(-\frac{\alpha_j}{\beta_j}\Big)\ (+\infty \text{ if all }\beta_j\le 0).λ​=βj​<0max​(−βj​αj​​) (−∞ if all βj​≥0),λˉ=βj​>0min​(−βj​αj​​) (+∞ if all βj​≤0).

The paper assumes throughout that the problem is nondegenerate: no basic feasible solution has more than n−mn - mn−m zero components.

Case A is the situation where the current basis is optimal for some λ\lambdaλ, so that (3) is consistent. If λˉ\bar\lambdaλˉ is finite, attained at an index sss with βs>0\beta_s > 0βs​>0, and some yis>0y_{is} > 0yis​>0, the method brings AsA_sAs​ into the basis and removes the column ArA_rAr​, r=B(ℓ)r = B(\ell)r=B(ℓ), chosen by the simplex ratio test; yrs>0y_{rs} > 0yrs​>0. Call the new basis B′B'B′ and its basic feasible solution x′x'x′.

Formalization targets

Goal: the THEOREM (p. 41)

λˉ=min⁡{λ∈R:x′ minimizes (d+λd′)⊤x over Ax=b, x≥0}.\bar\lambda = \min\big\{\lambda\in\mathbb R : x' \text{ minimizes } (d+\lambda d')^{\top}x \text{ over } Ax = b,\ x \ge 0\big\}.λˉ=min{λ∈R:x′ minimizes (d+λd′)⊤x over Ax=b, x≥0}.

This contains both sentences of the paper's THEOREM: the new basis yields a minimum for at least one λ\lambdaλ (namely λˉ\bar\lambdaλˉ), and the left end λ‾′\underline\lambda'λ​′ of its interval of optimality equals λˉ\bar\lambdaλˉ. The statement uses "least element" and so does not presuppose that the set is an interval.

Milestones

  1. (3): under nondegeneracy, a basic feasible solution is a minimum at λ\lambdaλ if and only if αj+λβj≤0\alpha_j + \lambda\beta_j \le 0αj​+λβj​≤0 for all jjj.
  2. (4)–(5): if (3) is consistent, it holds exactly for λ‾≤λ≤λˉ\underline\lambda \le \lambda \le \bar\lambdaλ​≤λ≤λˉ.
  3. The reduced-cost optimality criterion and its nondegenerate converse, and feasibility of the basis after a simplex pivot (both already proved on the platform).
  4. [1]: λˉ\bar\lambdaλˉ satisfies the inequalities (3') αj′+λβj′≤0\alpha'_j + \lambda\beta'_j \le 0αj′​+λβj′​≤0 of the new basis.
  5. (7): αr′=−αs/yrs\alpha'_r = -\alpha_s/y_{rs}αr′​=−αs​/yrs​ and βr′=−βs/yrs\beta'_r = -\beta_s/y_{rs}βr′​=−βs​/yrs​.
  6. (7)–(8): no λ<λˉ\lambda < \bar\lambdaλ<λˉ satisfies (3').
  7. Case A stop: in the nondegenerate Case A setup, if every yis≤0y_{is} \le 0yis​≤0, there is no minimum for any λ>λˉ\lambda > \bar\lambdaλ>λˉ.
  8. Summary (4): under the section's standing assumptions, the set of λ\lambdaλ for which a minimum exists is closed and connected.

Significance

The THEOREM is what makes the parametric procedure correct. The optimality intervals of successive bases meet end to end: the basis entered at λˉ\bar\lambdaλˉ takes over exactly where the old one stops, with no gap and no overlap. Together with the stopping rule this gives the paper's summary: starting from one optimal basis, the procedure produces a finite list of bases and characteristic values covering every λ\lambdaλ for which the problem has a minimum, and that set is a closed interval. The same structure underlies the piecewise linear, concave optimal value as a function of λ\lambdaλ, the parametric right-hand-side method by duality, and the shadow-vertex simplex method.

The result is classical and its proof is short, but as printed it contains a sign slip: display (8) on p. 41 states the inequality in the wrong direction, so the contradiction the authors claim does not follow from what they wrote. The formal development states the corrected argument. To our knowledge none of these parametric statements has a machine-checked proof; the fixed-cost facts they rest on (the reduced-cost optimality criterion, Bertsimas–Tsitsiklis Theorem 3.1, and the feasibility of the pivoted basis, Theorem 3.2) are already proved on the platform in Shuze Chen's LinearOptimization library and are reused here as reference items.

Difficulty

The natural first idea is to observe that λˉ\bar\lambdaλˉ satisfies (3') and conclude. This proves only that the new basis is optimal at λˉ\bar\lambdaλˉ. The statement that nothing below λˉ\bar\lambdaλˉ works is a statement about optimality, not about the inequalities (3'): one must know that failure of (3') at λ\lambdaλ means that x′x'x′ is not optimal at λ\lambdaλ. That converse of the optimality test is false for a degenerate basic solution, which can be optimal while some zj−cjz_j - c_jzj​−cj​ is positive. The nondegeneracy assumption is therefore essential, and it must be transported to the new basic solution. The other ingredient is the pivot update of zj−cjz_j - c_jzj​−cj​ when one column leaves and another enters, which the paper uses through (7) without writing it down.

Formalization scope

The problem data are A : Matrix (Fin m) (Fin n) ℝ, b : Fin m → ℝ and cost vectors d d' : Fin n → ℝ; the parameter λ\lambdaλ is the Lean variable t (λ is a Lean keyword). Indices are 0-based. Feasible set, optimality, bases, reduced costs, basic directions, the coordinates yijy_{ij}yij​ (pivotColumn) and basic feasible solutions (IsSimplexState) are the published LinearOptimization definitions. The commitments and readings of the paper's phrases are:

  • Sign. The platform's reduced cost is cˉj=cj−cB′B−1Aj=−(zj−cj)\bar c_j = c_j - c_B'B^{-1}A_j = -(z_j - c_j)cˉj​=cj​−cB′​B−1Aj​=−(zj​−cj​); αj\alpha_jαj​ and βj\beta_jβj​ are defined as the negatives of the reduced costs for ddd and d′d'd′, and (3), (3'), (5), (7) are stated in the paper's sign.
  • "Yields a minimum" means that the point is feasible and its cost is at most that of every feasible point (IsLpOptimal), never a comparison of values.
  • λˉ\bar\lambdaλˉ is finite in the THEOREM; it is the real number −αs/βs-\alpha_s/\beta_s−αs​/βs​ for an index sss with βs>0\beta_s > 0βs​>0 attaining the minimum. As a function, (5) is valued in WithTop ℝ and WithBot ℝ; no real infimum of a possibly empty set is used.
  • Nondegeneracy is stated for every basic feasible solution, including in the Case A stopping rule and Summary (4). The stopping rule also carries Case A consistency, and Summary (4) carries the section's available basic feasible solution. Linear independence of the rows of AAA is assumed where the platform's criteria need it; it follows from the existence of a basis.
  • "By the simplex method" is the reduced-cost optimality criterion; "the simplex prescription" is the ratio test; "no minimum" in the stopping rule is the unbounded outcome, optimal value −∞-\infty−∞, with the absence of a minimizer stated explicitly.
  • The paper's interval δ≤λ≤ϕ\delta \le \lambda \le \phiδ≤λ≤ϕ of interest plays no role in the THEOREM and is dropped.

The goal is not satisfied by a degenerate reading: its set is defined by optimality, not by the inequalities (3'), and its hypotheses hold on an explicit instance, so the statement is neither the definition of the critical value restated nor vacuous.

Not formalized: Case B (the search for a first λ\lambdaλ with a minimum), Summary (1)–(2) on the whole procedure, the no-repetition remark, the computing experience (§3) and the worked example (§4). Contributions welcome include the pivot-update formula for reduced costs, which is reusable for any simplex-based argument, and the closedness of the set of cost vectors with a finite optimum.

Selected references

  • S. Gass and T. Saaty, The computational algorithm for the parametric objective function, Naval Research Logistics Quarterly 2 (1955), 39–45. https://doi.org/10.1002/nav.3800020106
  • T. Saaty and S. Gass, The parametric objective function, Journal of the Operations Research Society of America 2 (1954), 316–319. https://doi.org/10.1287/opre.2.3.316
  • G. B. Dantzig, Maximization of a linear function of variables subject to linear inequalities, in T. C. Koopmans (ed.), Activity Analysis of Production and Allocation, Wiley, 1951, Ch. XXI (Cowles Commission Monograph No. 13).
  • D. Bertsimas and J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, §3.1–3.2 and §5.2.
17 thms4 active usersReviewed
Numerical AnalysisOperations ResearchOptimization·Captain: mikedeng1

Global Convergence Properties of Conjugate Gradient Methods for Optimization I: Conjugate Gradient Methods with |β_k| ≤ β_k^FR Are Globally Convergent under Strong Wolfe Line SearchesResearch 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 method of choice when nnn is so large that quasi-Newton matrices cannot be stored, and they remain a standard component of large-scale optimization software. Their convergence theory is delicate: the classical results assume exact line searches, while practical codes accept any steplength satisfying inexpensive inexact conditions.

Gilbert and Nocedal (INRIA RR-1268, 1990; journal version SIAM J. Optim. 2 (1992)) organized the global convergence theory of these methods around a single device and proved two families of results. This mission covers the first: every conjugate gradient method whose parameter βk\beta_kβk​ is bounded in absolute value by the Fletcher–Reeves value converges under the strong Wolfe line search.

Timeline. Fletcher and Reeves (1964) and Polak and Ribière (1969) introduced the two best-known choices of βk\beta_kβk​. Zoutendijk (1970) and Wolfe (1969, 1971) established the summability condition now called Zoutendijk's condition. Al-Baali (1985) proved that the Fletcher–Reeves method with the strong Wolfe line search and σ2<12\sigma_2 < \tfrac12σ2​<21​ generates descent directions and satisfies lim inf⁡∥gk∥=0\liminf\|g_k\| = 0liminf∥gk​∥=0. Touati-Ahmed and Storey (1990) treated nonnegative hybrids. Gilbert and Nocedal (1990) extended Al-Baali's theorem to every βk\beta_kβk​ with ∣βk∣≤βkFR|\beta_k| \le \beta_k^{FR}∣βk​∣≤βkFR​, which admits negative values and yields a convergent modification of the Polak–Ribière method.

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 g=∇fg = \nabla fg=∇f for that inner product. Starting from x1x_1x1​, the method generates

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\ge 2),\qquad x_{k+1} = x_k + \alpha_k d_k,d1​=−g1​,dk​=−gk​+βk​dk−1​ (k≥2),xk+1​=xk​+αk​dk​,

where gk=g(xk)g_k = g(x_k)gk​=g(xk​), βk\beta_kβk​ is a scalar and αk>0\alpha_k > 0αk​>0 a steplength found by a one-dimensional search. The Fletcher–Reeves and Polak–Ribière scalars are

βkFR=∥gk∥2∥gk−1∥2,βkPR=⟨gk,gk−gk−1⟩∥gk−1∥2.\beta_k^{FR} = \frac{\|g_k\|^2}{\|g_{k-1}\|^2},\qquad \beta_k^{PR} = \frac{\langle g_k, g_k - g_{k-1}\rangle}{\|g_{k-1}\|^2}.βkFR​=∥gk−1​∥2∥gk​∥2​,βkPR​=∥gk−1​∥2⟨gk​,gk​−gk−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~∥.

A steplength satisfies the Wolfe conditions with 0<σ1<σ2<10 < \sigma_1 < \sigma_2 < 10<σ1​<σ2​<1 if

f(xk+αkdk)≤f(xk)+σ1αk⟨gk,dk⟩,⟨g(xk+αkdk),dk⟩≥σ2⟨gk,dk⟩,f(x_k + \alpha_k d_k) \le f(x_k) + \sigma_1\alpha_k\langle g_k, d_k\rangle,\qquad \langle g(x_k+\alpha_k d_k), d_k\rangle \ge \sigma_2\langle g_k, d_k\rangle,f(xk​+αk​dk​)≤f(xk​)+σ1​αk​⟨gk​,dk​⟩,⟨g(xk​+αk​dk​),dk​⟩≥σ2​⟨gk​,dk​⟩,

and the strong Wolfe conditions if the second inequality is replaced by ∣⟨g(xk+αkdk),dk⟩∣≤−σ2⟨gk,dk⟩|\langle g(x_k+\alpha_k d_k), d_k\rangle| \le -\sigma_2\langle g_k, d_k\rangle∣⟨g(xk​+αk​dk​),dk​⟩∣≤−σ2​⟨gk​,dk​⟩. The angle θk\theta_kθk​ between −gk-g_k−gk​ and dkd_kdk​ is given by 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​∥), and the Zoutendijk condition is ∑k≥1cos⁡2θk∥gk∥2<∞\sum_{k\ge1}\cos^2\theta_k\|g_k\|^2 < \infty∑k≥1​cos2θk​∥gk​∥2<∞.

Formalization targets

Goal: Theorem 3.2

Under Assumptions 2.1, for any method of the above form with

∣βk∣≤βkFR(k≥2)|\beta_k| \le \beta_k^{FR}\quad (k \ge 2)∣βk​∣≤βkFR​(k≥2)

and steplengths satisfying the strong Wolfe conditions with 0<σ1<σ2<120 < \sigma_1 < \sigma_2 < \tfrac120<σ1​<σ2​<21​,

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

The sequence βk\beta_kβk​ is arbitrary within the bound; the statement contains no constants.

Milestones

  • Theorem 2.1 (i) (Zoutendijk): for any iteration xk+1=xk+αkdkx_{k+1} = x_k + \alpha_k d_kxk+1​=xk​+αk​dk​ with descent directions and Wolfe steps, ∑k≥1cos⁡2θk∥gk∥2<∞\sum_{k\ge1}\cos^2\theta_k\|g_k\|^2 < \infty∑k≥1​cos2θk​∥gk​∥2<∞.
  • Lemma 3.1: under ∣βk∣≤βkFR|\beta_k| \le \beta_k^{FR}∣βk​∣≤βkFR​ and the strong Wolfe curvature condition with σ2<12\sigma_2 < \tfrac12σ2​<21​, every dkd_kdk​ is a descent direction and
−∑j=0k−1σ2j≤⟨gk,dk⟩∥gk∥2≤−2+∑j=0k−1σ2j.-\sum_{j=0}^{k-1}\sigma_2^j \le \frac{\langle g_k, d_k\rangle}{\|g_k\|^2} \le -2 + \sum_{j=0}^{k-1}\sigma_2^j .−j=0∑k−1​σ2j​≤∥gk​∥2⟨gk​,dk​⟩​≤−2+j=0∑k−1​σ2j​.
  • (3.5): there are c1,c2>0c_1, c_2 > 0c1​,c2​>0 with c1∥gk∥/∥dk∥≤cos⁡θk≤c2∥gk∥/∥dk∥c_1\|g_k\|/\|d_k\| \le \cos\theta_k \le c_2\|g_k\|/\|d_k\|c1​∥gk​∥/∥dk​∥≤cosθk​≤c2​∥gk​∥/∥dk​∥.

Further statements

Theorem 2.1 (ii) (the same conclusion for an ideal line search that does no worse than the first stationary point along dkd_kdk​) and the convergence of the hybrid method (3.7), βk=max⁡(−βkFR,min⁡(βkPR,βkFR))\beta_k = \max(-\beta_k^{FR}, \min(\beta_k^{PR}, \beta_k^{FR}))βk​=max(−βkFR​,min(βkPR​,βkFR​)).

Significance

Theorem 3.2 shows that descent and global convergence of Fletcher–Reeves-type methods do not depend on the exact formula for βk\beta_kβk​, only on the bound ∣βk∣≤βkFR|\beta_k| \le \beta_k^{FR}∣βk​∣≤βkFR​. Its main consequence is the hybrid method (3.7), which keeps the Polak–Ribière choice whenever it lies in [−βkFR,βkFR][-\beta_k^{FR}, \beta_k^{FR}][−βkFR​,βkFR​], and so retains the practical efficiency of Polak–Ribière while inheriting the convergence guarantee of Fletcher–Reeves. Lemma 3.1 also shows that, under these conditions, descent need not be enforced by the line search.

The results are proved in the paper. To our knowledge none of them, nor Zoutendijk's theorem for general iterations, has a machine-checked proof in Lean; Mathlib has no theory of line search methods. A formalization would provide a reusable Zoutendijk theorem for any descent method with Wolfe steps, and a verified convergence statement for the conjugate gradient methods used in practice.

Difficulty

The obvious route to convergence of a descent method is to show cos⁡θk\cos\theta_kcosθk​ bounded away from zero and apply Zoutendijk's condition. For conjugate gradient methods this fails: dkd_kdk​ accumulates previous directions and cos⁡θk\cos\theta_kcosθk​ can tend to zero. The argument must instead control the growth of ∥dk∥\|d_k\|∥dk​∥, which requires bounding ⟨gk,dk−1⟩\langle g_k, d_{k-1}\rangle⟨gk​,dk−1​⟩ through the line search, and this in turn requires knowing that every dkd_kdk​ is a descent direction with ⟨gk,dk⟩\langle g_k, d_k\rangle⟨gk​,dk​⟩ comparable to ∥gk∥2\|g_k\|^2∥gk​∥2. The threshold σ2<12\sigma_2 < \tfrac12σ2​<21​ is exactly what keeps the geometric series in these bounds below 222; the result fails without it.

Formalization scope

All items live in the namespace NonlinCG.FRBound. The space is a finite-dimensional real inner product space E (the paper uses "the scalar product used to compute the gradient"), and gradient f is the gradient for that product. Conventions committed to:

  • Indexing follows the paper: sequences ℕ → E, used from index 1; index 0 is never constrained.
  • Smoothness: every statement assumes fff globally C1C^1C1, from (1.1) "f is smooth", in addition to Assumptions 2.1 (bounded level set; C1C^1C1 and Lipschitz gradient on an open neighbourhood N\mathcal NN of L\mathcal LL, with L>0L > 0L>0).
  • Steplengths are positive, as in the paper's line searches.
  • βk\beta_kβk​ is a free sequence constrained by ∣βk∣≤βkFR|\beta_k| \le \beta_k^{FR}∣βk​∣≤βkFR​, not the Fletcher–Reeves formula. Fixing βk=βkFR\beta_k = \beta_k^{FR}βk​=βkFR​ would state Al-Baali's theorem instead.
  • Division: βFR\beta^{FR}βFR, βPR\beta^{PR}βPR, cos⁡θk\cos\theta_kcosθk​ are Lean divisions (value 0 on a zero denominator). Theorem 3.2 does not assume gk≠0g_k \ne 0gk​=0; Lemma 3.1 and (3.5) assume it, since the paper divides by ∥gk∥2\|g_k\|^2∥gk​∥2 there and descent is impossible at gk=0g_k = 0gk​=0.
  • Zoutendijk's sum is the summability of ⟨gk,dk⟩2/∥dk∥2\langle g_k, d_k\rangle^2/\|d_k\|^2⟨gk​,dk​⟩2/∥dk​∥2, which equals cos⁡2θk∥gk∥2\cos^2\theta_k\|g_k\|^2cos2θk​∥gk​∥2 under descent.
  • liminf is stated as: for every ε>0\varepsilon > 0ε>0 and KKK there is k≥Kk \ge Kk≥K with ∥gk∥<ε\|g_k\| < \varepsilon∥gk​∥<ε.
  • (3.5) asserts existence of the constants only, as the paper does.

The goal does not assume Zoutendijk's condition or descent: both are consequences (Theorem 2.1 and Lemma 3.1) and assuming either would remove part of the theorem's content. The hypotheses are jointly satisfiable (for f(x)=x2/2f(x) = x^2/2f(x)=x2/2 on R\mathbb RR, x1=1x_1 = 1x1​=1, βk=0\beta_k = 0βk​=0, αk=0.9\alpha_k = 0.9αk​=0.9, σ1=0.1\sigma_1 = 0.1σ1​=0.1, σ2=0.25\sigma_2 = 0.25σ2​=0.25), so the goal is not vacuous.

Needed infrastructure: line-search conditions, the descent lemma for functions with Lipschitz gradient on a set, and summability arguments for ∑∥dk∥−2\sum\|d_k\|^{-2}∑∥dk​∥−2. Zoutendijk's theorem is reusable for any descent method. Proofs of any item, and alternative arguments, are welcome.

Selected references

  • J. C. Gilbert, J. Nocedal, Global convergence properties of conjugate gradient methods for optimization, INRIA Rapport de Recherche 1268, 1990. https://hal.inria.fr/inria-00075291 ; SIAM J. Optim. 2(1) (1992) 21–42, https://doi.org/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. https://doi.org/10.1093/imanum/5.1.121
  • R. Fletcher, C. M. Reeves, Function minimization by conjugate gradients, Comput. J. 7 (1964) 149–154. https://doi.org/10.1093/comjnl/7.2.149
  • P. Wolfe, Convergence conditions for ascent methods, SIAM Rev. 11 (1969) 226–235. https://doi.org/10.1137/1011036
  • D. Touati-Ahmed, C. Storey, Efficient hybrid conjugate gradient techniques, J. Optim. Theory Appl. 64 (1990) 379–397. https://doi.org/10.1007/BF00939455
5 thms1 active userReviewed
Bandit AlgorithmsDynamic ProgrammingOperations Research+1·Captain: mikedeng1

Bandit Processes and Dynamic Allocation Indices: A Policy Is Optimal If and Only If It Almost Surely Continues a Bandit Process of Maximal Dynamic Allocation IndexResearch Paper

Motivation

The multi-armed bandit problem asks how to share effort sequentially among several independent projects, each of which evolves only while it is worked on. It models the scheduling of jobs on a single machine, the order in which to explore candidate sites, sequential clinical trials and the allocation of research effort among competing projects. Before 1972 the problem had no general solution: dynamic programming over the joint state of all projects is intractable as soon as there are more than a few of them.

J. C. Gittins and D. M. Jones (1974) announced, and Gittins (1979) set out in full, a solution of a striking form: each project can be assigned a number depending only on its own current state, its dynamic allocation index (DAI, now the Gittins index), and it is optimal to work on a project whose index is largest.

Timeline. Gittins and Jones presented the index result at the European Meeting of Statisticians in 1972 (proceedings 1974). Gittins (1979) gave the general discrete-time formulation, stated the Forwards Induction Theorem and the DAI Theorem without proof, and proved the attainment Lemma of its Section 4. Whittle (1980) gave a dynamic-programming proof through the retirement formulation, Weber (1992) the prevailing-charge interchange argument, and Tsitsiklis (1994) a short inductive proof. Gittins, Glazebrook and Weber (2011) is the standard monograph; Lattimore and Szepesvári (2020, Chapter 35) give a measure-theoretic treatment on general state spaces.

Setting

A bandit process DDD is a Markov chain x(0),x(1),…x(0), x(1), \dotsx(0),x(1),… on a measurable state space Θ\ThetaΘ with transition kernel PPP. Applying the continuation control at process time ttt earns the discounted reward atR(x(t))a^t R(x(t))atR(x(t)), with 0<a<10<a<10<a<1, and moves the chain one step; the freezing control leaves the state unchanged and earns nothing. For a stopping time τ\tauτ of the chain (possibly infinite) write

Rτ(D,x)=E{∑t=0τ−1atR(x(t)) ∣ x(0)=x},Wτ(D,x)=E{∑t=0τ−1at ∣ x(0)=x}.R_\tau(D,x)=E\Big\{\sum_{t=0}^{\tau-1}a^tR(x(t))\,\Big|\,x(0)=x\Big\},\qquad W_\tau(D,x)=E\Big\{\sum_{t=0}^{\tau-1}a^t\,\Big|\,x(0)=x\Big\}.Rτ​(D,x)=E{t=0∑τ−1​atR(x(t))​x(0)=x},Wτ​(D,x)=E{t=0∑τ−1​at​x(0)=x}.

The dynamic allocation index of DDD in state xxx is the largest reward per unit of discounted time obtainable by continuing for at least one step:

ν(D,x)=sup⁡τ>0ντ(D,x),ντ(D,x)=Rτ(D,x)Wτ(D,x).(2)\nu(D,x)=\sup_{\tau>0}\nu_\tau(D,x),\qquad \nu_\tau(D,x)=\frac{R_\tau(D,x)}{W_\tau(D,x)}. \tag{2}ν(D,x)=τ>0sup​ντ​(D,x),ντ​(D,x)=Wτ​(D,x)Rτ​(D,x)​.(2)

A simple family of alternative bandit processes consists of kkk bandit processes. At each stage n=0,1,2,…n=0,1,2,\dotsn=0,1,2,… a policy chooses exactly one of them to continue, possibly at random and as a function of the whole past; the others are frozen. A policy is optimal if it attains the supremum of the total expected discounted reward over all policies.

The Lean development uses the published objects markovChainMeasure P x (the chain law), IsPositiveStoppingTime, stoppedRatio P r α τ x (ντ\nu_\tauντ​), gittinsIndex P r α x (ν\nuν), MarkovBanditPolicy k S, markovBanditMeasure P π x n (the law of the first nnn stages) and markovBanditDiscountedValue P r α π x (the total expected discounted reward), with aaa written α and RRR written r.

Formalization targets

Goal: the DAI Theorem (Section 3, p. 154)

For every policy π\piπ and initial state vector xxx,

Vπ(x)=sup⁡π′Vπ′(x)  ⟺  ∀n, a.s. under the play of π from x:  πn({i:ν(xi(n))=max⁡jν(xj(n))})=1.V_\pi(x)=\sup_{\pi'}V_{\pi'}(x)\iff \forall n,\ \text{a.s. under the play of }\pi\text{ from }x:\ \ \pi_n\Big(\big\{i:\nu(x_i(n))=\max_j\nu(x_j(n))\big\}\Big)=1 .Vπ​(x)=π′sup​Vπ′​(x)⟺∀n, a.s. under the play of π from x:  πn​({i:ν(xi​(n))=jmax​ν(xj​(n))})=1.

Milestones

  1. Section 4, Lemma (p. 154). For Θ0={y:ν(D,y)<ν(D,x)}\Theta_0=\{y:\nu(D,y)<\nu(D,x)\}Θ0​={y:ν(D,y)<ν(D,x)} and τ\tauτ the first t≥1t\ge1t≥1 with x(t)∈Θ0x(t)\in\Theta_0x(t)∈Θ0​,
ντ(D,x)=ν(D,x).\nu_\tau(D,x)=\nu(D,x).ντ​(D,x)=ν(D,x).
  1. The "if" half of the DAI Theorem. A policy that selects a process of maximal index on every history is optimal: the published BanditAlgorithm.gittins_index_theorem, already Proved.
  2. Section 4, Corollary 1 (p. 155). For the MMM-horizon index νM(D,x)=sup⁡0<τ≤Mντ(D,x)\nu^M(D,x)=\sup_{0<\tau\le M}\nu_\tau(D,x)νM(D,x)=sup0<τ≤M​ντ​(D,x) (5), the rule that stops at the first t∈{1,…,M−1}t\in\{1,\dots,M-1\}t∈{1,…,M−1} with νM−t(D,x(t))<νM(D,x)\nu^{M-t}(D,x(t))<\nu^M(D,x)νM−t(D,x(t))<νM(D,x), and at MMM otherwise, attains νM(D,x)\nu^M(D,x)νM(D,x).

Significance

The result. The DAI Theorem replaces a dynamic program on the product of kkk state spaces by kkk one-dimensional optimal stopping problems. The "only if" half says more than that the index rule is one optimal policy: it characterizes every optimal policy, so any rule that departs from the index on a set of positive probability loses reward. The Lemma identifies the stopping rule that attains the index, which is how indices are computed in practice, and Corollary 1 is the finite-horizon version on which the paper's numerical algorithm (Section 7) rests.

Formalizing it. The sufficiency half is formalized: BanditAlgorithm.gittins_index_theorem (Lattimore–Szepesvári Theorem 35.9) is Proved on the platform, together with gittins_index_policy_dominates, gittins_stopping_ratio_le_index and gittins_epsilon_optimal_stopping. The attainment Lemma is Proved only for countable state spaces with bounded rewards (AllocationIndices.optimal_stopping_set, Gittins–Glazebrook–Weber Lemma 2.2), and the necessity half is on no platform item. This mission asks for the Lemma on general standard Borel state spaces with integrable rewards, the finite-horizon Corollary 1, and the full equivalence. The Forwards Induction Theorem of p. 153, which needs superprocesses and forwards induction policies, is outside its scope.

Difficulty

The "only if" direction is the new content, and it does not follow from the sufficiency theorem: knowing that one index policy is optimal says nothing about a policy that sometimes plays a lower-index process. The deviation must be shown to cost a strictly positive amount whenever it happens with positive probability, which requires a strict comparison that survives discounting, ties in the index and infinite stopping times. A second obstacle is measure-theoretic. On a general state space the index is a supremum over uncountably many stopping times, its measurability is not available, and the Lemma's stopping rule is a stopping time only if {y:ν(D,y)<ν(D,x)}\{y:\nu(D,y)<\nu(D,x)\}{y:ν(D,y)<ν(D,x)} is measurable; the arguments of the countable case, which treat each state separately, do not transfer.

Formalization scope

All objects are the published discounted kkk-armed Markov bandit of Def_GittinsIndex and the stopping-time quantities of Def_AllocationIndices_Index; time is indexed from 000, stopping times are N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}-valued and adapted to the coordinate filtration, and the index is the real supremum over stopping times τ≥1\tau\ge1τ≥1. The explicit readings committed to are:

  • "Optimal" means attaining sup⁡π′Vπ′(x)\sup_{\pi'}V_{\pi'}(x)supπ′​Vπ′​(x) from the given initial state vector, over all randomized history-dependent policies; this supremum is finite because the values are bounded uniformly in the policy under the integrability hypothesis.
  • "At each stage … almost always" means: for every stage nnn, almost surely under the law of the first nnn stages of π\piπ from xxx, the selection kernel puts mass one on the processes of maximal current index. Requiring the index rule on every history would make "only if" false.
  • "The supremum of the total expected reward is finite" (p. 151) is read as Ex∑tat∣R(x(t))∣<∞E_x\sum_t a^t|R(x(t))|<\inftyEx​∑t​at∣R(x(t))∣<∞ for every state xxx.
  • "ν(D,⋅)\nu(D,\cdot)ν(D,⋅) is an X\mathcal XX-measurable function" (p. 151) is an explicit hypothesis of the Lemma and of the goal; the measurability of every νm(D,⋅)\nu^m(D,\cdot)νm(D,⋅) is a hypothesis of Corollary 1.
  • "The supremum is attained by setting Θ0\Theta_0Θ0​" means that the first hitting time of Θ0\Theta_0Θ0​ from time 111 on is a positive stopping time whose ratio equals the index.
  • The state space is standard Borel (the paper asks only for measurable singletons), and all processes share one kernel and one reward function; a family of different processes is encoded on the disjoint union of their state spaces.

A trivializing formalization is ruled out: the goal is not stated for index policies on every history (which would only restate the referenced theorem), the index is the published supremum over stopping times rather than a one-step reward or a finite-horizon quantity, competitors are not restricted to Markov or deterministic policies, and the Lemma's stopping rule starts at time 111, so it never stops at once. A one-point state space satisfies all hypotheses together and admits a policy.

Useful infrastructure, reusable beyond this mission: measurability of the Gittins index on standard Borel spaces, a measurable selection of a maximal-index arm, and an interchange argument for kkk-armed Markov bandits on general state spaces. Proofs of any milestone, and of either half of the goal, are welcome.

Selected references

  • J. C. Gittins, Bandit Processes and Dynamic Allocation Indices, J. R. Statist. Soc. B 41(2), 148–177, 1979. https://doi.org/10.1111/j.2517-6161.1979.tb01068.x
  • J. C. Gittins and D. M. Jones, A dynamic allocation index for the sequential design of experiments, in Progress in Statistics (J. Gani et al., eds.), North-Holland, 241–266, 1974.
  • P. Whittle, Multi-armed bandits and the Gittins index, J. R. Statist. Soc. B 42(2), 143–149, 1980. https://doi.org/10.1111/j.2517-6161.1980.tb01111.x
  • R. Weber, On the Gittins index for multiarmed bandits, Ann. Appl. Probab. 2(4), 1024–1033, 1992. https://doi.org/10.1214/aoap/1177005588
  • J. N. Tsitsiklis, A short proof of the Gittins index theorem, Ann. Appl. Probab. 4(1), 194–199, 1994. https://doi.org/10.1214/aoap/1177005207
  • J. C. Gittins, K. D. Glazebrook and R. Weber, Multi-armed Bandit Allocation Indices, 2nd ed., Wiley, 2011. https://doi.org/10.1002/9780470980033
  • T. Lattimore and C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 35. https://doi.org/10.1017/9781108571401
7 thms4 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization·Captain: mikedeng1

Outline of an Algorithm for Integer Solutions to Linear Programs: The Fractional Cut (3) Cuts Off the Simplex Solution but Keeps Every Nonnegative Integer Solution and the Integer Maximum of wResearch Paper

Motivation

Integer linear programming asks for the best point whose coordinates are integers, even though linear programming methods naturally search over real points. In his 1958 note, Gomory describes a systematic way to add a constraint that excludes a fractional simplex solution while retaining every nonnegative integer solution. This mission isolates that single cut and its effect on the objective value. The note announces an iterative finite algorithm, but explicitly defers a proof of finiteness to another treatment. The target here is the cut's correctness for one tableau.

The cut belongs to the history of cutting plane methods for integer programs. Related formalized objects include a Chvátal closure and intersection cuts based on lattice free sets, but their data and cut constructions differ from the row and fractional part formula in Gomory's note. The note itself contrasts its systematic row operation with earlier problem specific constraints used by Dantzig, Fulkerson, and Johnson and by Markowitz and Manne. Those comparisons explain why a reusable row formula is useful; they do not assert an identity between the different cuts.

Setting

A tableau is a finite array of real numbers ai,j′a'_{i,j}ai,j′​. Row 000 represents the objective variable www; rows 1,…,m1,\ldots,m1,…,m represent x1′,…,xm′x'_1,\ldots,x'_mx1′​,…,xm′​. Column 000 holds constants; columns 1,…,n1,\ldots,n1,…,n multiply the negatives of the variables t1′,…,tn′t'_1,\ldots,t'_nt1′​,…,tn′​. A solution of (2) is a pair (x′,t′)(x',t')(x′,t′) satisfying

xi′=ai,0′+∑j=1nai,j′(−tj′),0≤i≤m.x'_i=a'_{i,0}+\sum_{j=1}^{n}a'_{i,j}(-t'_j),\qquad 0\le i\le m.xi′​=ai,0′​+j=1∑n​ai,j′​(−tj′​),0≤i≤m.

The original integer program requires w=x0′w=x'_0w=x0′​, every xi′x'_ixi′​, and every tj′t'_jtj′​ to be nonnegative integers. The simplex solution of this tableau has t′=0t'=0t′=0 and xi′=ai,0′x'_i=a'_{i,0}xi′​=ai,0′​. It is a real tableau solution, whether or not any of its coordinates are integers.

Choose a row i0i_0i0​ whose constant ai0,0′a'_{i_0,0}ai0​,0′​ is not an integer. For each coefficient let ni0,j′=⌊ai0,j′⌋n'_{i_0,j}=\lfloor a'_{i_0,j}\rfloorni0​,j′​=⌊ai0​,j′​⌋ be the greatest integer at most that coefficient, and let fi0,j′=ai0,j′−ni0,j′f'_{i_0,j}=a'_{i_0,j}-n'_{i_0,j}fi0​,j′​=ai0​,j′​−ni0​,j′​ be its fractional part. Equation (3) defines a new variable

s1=−fi0,0′−∑j=1nfi0,j′(−tj′).s_1=-f'_{i_0,0}-\sum_{j=1}^{n}f'_{i_0,j}(-t'_j).s1​=−fi0​,0′​−j=1∑n​fi0​,j′​(−tj′​).

The augmented system (2)* adds this equation to the tableau. Feasibility now also requires s1≥0s_1\ge0s1​≥0; an integer solution additionally requires s1∈Zs_1\in\mathbb Zs1​∈Z. For example, the one row relation x′=12−12t′x'=\tfrac12-\tfrac12t'x′=21​−21​t′ admits the integer solution (x′,t′)=(0,1)(x',t')=(0,1)(x′,t′)=(0,1), and its cut value is s1=0s_1=0s1​=0. At the simplex point t′=0t'=0t′=0, the same cut value is −12-\tfrac12−21​.

Formalization targets

Fractional cut and integer optimum

The main target combines exclusion of the simplex solution, exact correspondence of nonnegative integer solutions, and equality of their attained objective values. Writing I2\mathcal I_2I2​ and I2∗\mathcal I_{2^*}I2∗​ for the two sets of nonnegative integer solutions, the correspondence is

(x′,t′)∈I2⟺(x′,t′,s1(x′,t′))∈I2∗.(x',t')\in\mathcal I_2\quad\Longleftrightarrow\quad (x',t',s_1(x',t'))\in\mathcal I_{2^*}.(x′,t′)∈I2​⟺(x′,t′,s1​(x′,t′))∈I2∗​.

Every member of I2∗\mathcal I_{2^*}I2∗​ has the displayed cut value for s1s_1s1​, and the projection that drops s1s_1s1​ leaves www unchanged. Consequently a real WWW is the greatest attained www value for (2) exactly when it is the greatest attained value for (2*). The statement does not assume either set has a maximum.

Supporting claims

The milestones follow the paragraphs on page 277: projection of feasible solutions, the impossibility of integer solutions when the selected row has a fractional constant but only integral other coefficients, exclusion of the simplex point, the identity proving s1s_1s1​ integral, and its nonnegativity on integer solutions. These are the claims the note uses to pass from the cut formula to the correspondence and the objective statement.

Significance

The result certifies that equation (3) removes the current fractional simplex point while retaining every integer candidate and its objective value. It is the local correctness condition needed before one can safely reoptimize an integer program after adding this constraint. The note's argument is a mathematical result about one tableau, independent of whether the subsequent sequence of pivots terminates.

This mission supplies a machine checkable interface for the tableau, the fractional cut, and the projection between their integer feasible sets. The theorem statements are drafted and compile with open proofs; this mission does not claim that the paper's result already has a machine checked proof here. A completed proof would make the one cut result available for later developments about iterations, optimization, or stronger cut families.

Difficulty

The cut value is visibly at least −fi0,0′-f'_{i_0,0}−fi0​,0′​ when the nonbasic variables are nonnegative, but that inequality alone does not give s1≥0s_1\ge0s1​≥0: the right side is negative for the chosen row. The key additional statement is that the real expression for s1s_1s1​ is an integer on an integer tableau solution. Formalization must preserve both facts while using the same sign convention for the tableau and the cut. Merely defining the augmented solution as a pair together with its computed cut value would make the correspondence automatic and would omit the new variable's integrality and nonnegativity requirements.

Formalization scope

Lean uses real valued tableau coefficients and real valued variables with a separate predicate for being an integer. This lets the fractional simplex point and integer feasible points inhabit the same space. The row and column sets are finite, including the cases m=0m=0m=0 and n=0n=0n=0; row 000 is www, column 000 is the constant column, and Lean's Fin n index jjj denotes the paper's tj+1′t'_{j+1}tj+1′​. The selected row can be row 000 in Lean. Gomory chooses a constraint row, but the local cut argument needs only the selected row's variable to be integral, and www is integral in the stated problem. Every variable, including www and the added s1s_1s1​, is required to be nonnegative and integral in an integer solution.

The fractional part uses the greatest integer at most a real number, including negative coefficients. The objective comparison uses greatest elements of the sets of attained www values, so empty and unbounded sets receive no artificial supremum. Nonnegative constants and objective row coefficients are features of the simplex setting, but the five local claims and goal remain valid without those extra hypotheses. The paper's loose phrases “cuts off,” “one-one correspondence,” and “can be replaced” are represented by infeasibility of the augmented simplex point, a unique extension and projection preserving www, and equivalence of greatest attained www values, respectively.

The mission does not formalize the derivation of (2) from (1) by simplex pivots, dual simplex reoptimization, finiteness of repeated cutting, the m+n+2m+n+2m+n+2 equation bound and deletion of re-entering sss variables, the suggested choice of largest fractional part, or the reported E101 runs. These concern an iterative process the note does not define fully, or empirical observations. Reusable contributions include a verified fractional part identity, the integer extension theorem, and solution set correspondence for a real tableau.

Selected references

  • Ralph E. Gomory, Outline of an Algorithm for Integer Solutions to Linear Programs, Bulletin of the American Mathematical Society 64(5), 1958, 275–278. DOI: 10.1090/S0002-9904-1958-10224-4.
  • George B. Dantzig, R. Fulkerson, and S. Johnson, Solution of a Large-Scale Traveling-Salesman Problem, Operations Research 2(4), 1954, 393–410. DOI: 10.1287/opre.2.4.393.
7 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingLinear OptimizationOperations Research+1·Captain: mikedeng1

Linear Programming and Finite Markovian Control Problems II: An Extreme Optimal Solution of the Dual Linear Program Yields a Pure Stationary Policy Optimal among Transient PoliciesTextbook

Why optimize only transient policies?

A Markov decision model describes a system that repeatedly occupies a state, receives a reward when an action is chosen, and then moves according to action-dependent probabilities. Termination may occur after any action. In a model with signed rewards, a policy that continues indefinitely can have a different total-reward behavior from one that eventually leaves the active states. Section 3.3 of Kallenberg's 1983 monograph therefore asks for the best policy within the transient class. The restriction occurs naturally in stopping problems: a decision maker may continue for a while, but the expected number of visits to each active state must remain finite.

The chapter relates that policy problem to a finite linear program. The central question is stronger than finding a policy with a large average over initial states. It asks for one policy that is optimal from every initial state among all transient policies, including policies that randomize and use the entire observed history. Kallenberg's Theorem 3.3.5 says that an extreme optimal point of the program identifies such a policy, and that the policy can be pure and stationary. Theorem 3.3.5, p. 57.

The finite model and its policies

Let E={1,…,N}E=\{1,\ldots,N\}E={1,…,N} be a nonempty finite state set. Each state iii has a finite nonempty set A(i)A(i)A(i) of available actions. If action a∈A(i)a\in A(i)a∈A(i) is selected, the system earns the real reward riar_{ia}ria​ and then moves to jjj with probability piaj≥0p_{iaj}\ge0piaj​≥0. The row sum ∑jpiaj\sum_jp_{iaj}∑j​piaj​ is at most one; any missing mass represents termination. Action sets can differ across states. These are the conventions of Section 2.2, pp. 19–20.

A policy RRR selects an action distribution at each decision epoch. It may depend on the entire state-action history. A Markov policy depends only on time and the current state; a stationary policy uses the same state-dependent distribution at every time; a pure stationary policy selects one action f(i)∈A(i)f(i)\in A(i)f(i)∈A(i) in each state. These four classes are denoted CCC, CMC_MCM​, CSC_SCS​, and CDC_DCD​. The first decision occurs at time t=1t=1t=1 in the book.

Write PR(Xt=j,Yt=a∣X1=i)\mathbb P_R(X_t=j,Y_t=a\mid X_1=i)PR​(Xt​=j,Yt​=a∣X1​=i) for the chance of being in state jjj and choosing action aaa at time ttt, given initial state iii. A policy is transient if the expected number of visits to each state is finite from every initial state:

∑t=1∞PR(Xt=j∣X1=i)<∞(i,j∈E).\sum_{t=1}^{\infty}\mathbb P_R(X_t=j\mid X_1=i)<\infty\qquad(i,j\in E).t=1∑∞​PR​(Xt​=j∣X1​=i)<∞(i,j∈E).

For such a policy, its expected total reward vi(R)v_i(R)vi​(R) is finite. Section 3.3 assumes that at least one transient policy exists. Its transient value is wi=sup⁡{vi(R):R transient}w_i=\sup\{v_i(R):R\text{ transient}\}wi​=sup{vi​(R):R transient}, which can still be infinite as the policy varies. Section 2.2, pp. 21–23; §3.3, pp. 49–50.

Formalization targets

Fix positive weights βj>0\beta_j>0βj​>0. The linear program (3.3.7) maximizes ∑i,ariaxia\sum_{i,a}r_{ia}x_{ia}∑i,a​ria​xia​ over nonnegative state-action arrays satisfying the flow equations

∑i∈E∑a∈A(i)(δij−piaj)xia=βj(j∈E).\sum_{i\in E}\sum_{a\in A(i)}(\delta_{ij}-p_{iaj})x_{ia}=\beta_j\qquad(j\in E).i∈E∑​a∈A(i)∑​(δij​−piaj​)xia​=βj​(j∈E).

Its feasible set is PPP. A transient stationary rule π\piπ has an occupation vector x(π)x(\pi)x(π), where xiax_{ia}xia​ is the β\betaβ-weighted expected number of visits to state-action pair (i,a)(i,a)(i,a). Theorem 3.3.3 identifies transient stationary rules bijectively with PPP and identifies extreme points with pure rules. Theorem 3.3.4 compares the occupation sets of all four policy classes: K(D)‾⊂K(S)=K(M)=K=P\overline{K(D)}\subset K(S)=K(M)=K=PK(D)​⊂K(S)=K(M)=K=P, where the bar means closed convex hull. Theorems 3.3.3–3.3.4, pp. 54–55.

The goal is Theorem 3.3.5, p. 57. If x∗x^*x∗ is an extreme optimal solution of that program and f∗(i)f_*(i)f∗​(i) is the action with xif∗(i)∗>0x^*_{i f_*(i)}>0xif∗​(i)∗​>0, then the pure stationary policy f∗∞f_*^\inftyf∗∞​ is transient and

vi(R)≤vi(f∗∞)for every transient policy R and every i∈E.v_i(R)\le v_i(f_*^\infty) \qquad\text{for every transient policy }R\text{ and every }i\in E.vi​(R)≤vi​(f∗∞​)for every transient policy R and every i∈E.

A stronger companion statement is Theorem 3.3.6, p. 58: under the correspondence of Theorem 3.3.3, a stationary policy is optimal transient exactly when its occupation vector is optimal for (3.3.7), in the two directions printed on the page. The milestone list follows the chapter's numbered results on the finite-value Bellman equation, the smallest superharmonic vector, the stationary-policy/LP correspondence, the four occupation sets, and the preservation of optimality. The goal itself does not assume that www is finite; the existence of an extreme LP optimum is its stated premise.

What the result gives

An LP optimum is a vector of occupation amounts, not an implementable policy by itself. Theorem 3.3.5 converts an extreme optimum into an action choice at each state. It also upgrades a scalar objective weighted by β\betaβ to simultaneous optimality of the resulting policy from every initial state. This is the bridge between the finite optimization problem and the original control problem. The scope is specifically transient optimality: Example 3.3.4, p. 58 gives a policy outside that comparison class with larger total reward.

The result is proved in the book. The work here is to give its model, occupation map, linear program, and numbered supporting statements precise Lean interfaces that can later receive machine-checked proofs. The reusable parts include finite substochastic MDP data, history-dependent policy semantics, transient visit sums, and state-action occupation vectors. The theorem proofs are open in this proposal.

Where the difficulty lies

Optimizing a weighted sum of rewards is not, by itself, the same as optimizing every state's reward. The linear program also describes flows of expected visits, while the theorem talks about actual policies and all initial states. A solver must account for both links without assuming that all policies are stationary. The geometry of an extreme feasible point matters because the theorem selects an action from each state using a positive coordinate. Existence of a transient policy does not by itself bound the supremum of transient rewards; Example 3.3.1, p. 50 makes that distinction explicit.

Formalization scope

Lean uses Fin N with N>0N>0N>0 for states and a finite action type with a state-dependent finite nonempty available-action set. Only available state-action pairs index occupation vectors and LP variables. Transition rows are substochastic, not necessarily stochastic. Rewards are real and may have either sign. A general policy is a normalized action kernel on full finite histories; its Markov, stationary, and pure stationary subclasses remain distinct. The history list is stored newest first, and Lean's time index zero corresponds to the book's time one. All state-action probabilities are finite sums over histories; transience is summability of state-visit probabilities, and occupation counts are infinite sums used under that condition.

The LP flow constraints are equalities and β\betaβ is strictly positive. The goal does not normalize β\betaβ to a probability distribution, matching (3.3.7); Theorem 3.3.4 uses the initial-distribution convention of p. 55 and hence normalizes it. Theorem 3.3.3 uses the matrix inverse (I−P(π))−1(I-P(\pi))^{-1}(I−P(π))−1 only for transient stationary rules. For Theorems 3.3.1–3.3.2, nonemptiness of the transient class and boundedness above of each transient reward set make the real supremum meaningful. Theorem 3.3.5 uses neither boundedness as an extra hypothesis nor a restriction of the comparison class to stationary policies. A formalization that compares f∗∞f_*^\inftyf∗∞​ only with stationary (or Markov) policies, or that identifies the classes CCC, CMC_MCM​, CSC_SCS​, CDC_DCD​, would make Theorems 3.3.4 and 3.3.5 much weaker or trivial, and is ruled out: the comparison class is every history-dependent randomized transient policy. Mathlib's finite sums, matrices, summability, convex hull, and extreme-point definitions provide the general library interface. Contributions establishing the policy/occupation identities and the chapter's numbered milestones are within scope.

Selected references

  • L. C. M. Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam, 1983, §§2.2 and 3.3, pp. 19–23 and 49–60. Publisher repository.
9 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryDynamic ProgrammingLinear Optimization+2·Captain: mikedeng1

Linear Programming and Finite Markovian Control Problems VIII: Single-Controller Stochastic Games — a Dual Pair of Linear Programs Gives the Value and Stationary Optimal PoliciesTextbook

Motivation

A two-person zero-sum stochastic game (also called a Markov game) is a Markov decision problem with two decision makers who pull in opposite directions: at every time point both players choose an action simultaneously, one player pays the other, and the system moves to a random next state whose law depends on the current state and both actions. Stochastic games were introduced by Shapley (Shapley 1953) and are the standard model for adversarial sequential decisions in operations research, economics and computer science (pursuit–evasion, inspection, robust control against an adversarial environment).

Shapley proved that a discounted stochastic game has a value and that both players have stationary optimal policies. The value, however, is in general not computable by linear programming: it need not lie in the field generated by the data. Kallenberg's Example 6.2.1 (after Parthasarathy and Raghavan) has rational data and an irrational value in one state. When only one player controls the transition probabilities, the situation changes: the value and stationary optimal policies are the optimal solutions of one pair of dual linear programs (Parthasarathy & Raghavan, as cited in Kallenberg 1983, pp. 192 and 196; Kallenberg 1983, Chapter 6).

Timeline.

  • 1953: Shapley proves existence of the value and of stationary optimal policies for the discounted game.
  • 1977–1978: Parthasarathy and Raghavan study games in which one player controls the transitions and identify an order-field property for the value and optimal decision rules (cited in Kallenberg 1983, pp. 192, 196).
  • 1983: Kallenberg presents the dual pair (6.2.1)/(6.2.2), with the controlling player's policy read off the dual and the opponent's from the primal, and a constructive existence proof (Remark 6.2.2).

Setting

The state space is E={1,…,N}E = \{1,\dots,N\}E={1,…,N} with N>0N>0N>0. In state iii player I chooses an action aaa from a finite nonempty set A(i)A(i)A(i) and player II an action bbb from a finite nonempty set B(i)B(i)B(i). Player I then receives riabr_{iab}riab​ from player II, and the next state is jjj with probability piabj≥0p_{iabj} \ge 0piabj​≥0, where ∑jpiabj≤1\sum_j p_{iabj} \le 1∑j​piabj​≤1.

A history at time ttt is (i1,a1,b1,…,it−1,at−1,bt−1,it)(i_1,a_1,b_1,\dots,i_{t-1},a_{t-1},b_{t-1},i_t)(i1​,a1​,b1​,…,it−1​,at−1​,bt−1​,it​). A policy R1R_1R1​ of player I chooses, at each time and history, a probability distribution on A(it)A(i_t)A(it​); policies R2R_2R2​ of player II are defined likewise. A policy is stationary, written π∞\pi^\inftyπ∞ or ρ∞\rho^\inftyρ∞, if the distribution depends only on the current state. With vit(R1,R2)v_i^t(R_1,R_2)vit​(R1​,R2​) the expected reward in period ttt from initial state iii, the total reward is vi(R1,R2)=∑t≥1vit(R1,R2)v_i(R_1,R_2) = \sum_{t\ge1} v_i^t(R_1,R_2)vi​(R1​,R2​)=∑t≥1​vit​(R1​,R2​).

A pair (R1∗,R2∗)(R_1^*,R_2^*)(R1∗​,R2∗​) is optimal if, componentwise,

v(R1,R2∗)≤v(R1∗,R2∗)≤v(R1∗,R2)for all policies R1,R2,(6.1.1)v(R_1,R_2^*) \le v(R_1^*,R_2^*) \le v(R_1^*,R_2) \qquad\text{for all policies } R_1,R_2, \tag{6.1.1}v(R1​,R2∗​)≤v(R1∗​,R2∗​)≤v(R1∗​,R2​)for all policies R1​,R2​,(6.1.1)

and then val(TMG):=v(R1∗,R2∗)\mathrm{val(TMG)} := v(R_1^*,R_2^*)val(TMG):=v(R1∗​,R2∗​) is the value of the game.

Assumption 6.2.1 (contraction). There are μ≫0\mu \gg 0μ≫0 and α∈[0,1)\alpha\in[0,1)α∈[0,1) with ∑jpiabjμj≤αμi\sum_j p_{iabj}\mu_j \le \alpha\mu_i∑j​piabj​μj​≤αμi​ for all iii, a∈A(i)a\in A(i)a∈A(i), b∈B(i)b\in B(i)b∈B(i). The discounted game is the case μ=e\mu = eμ=e.

Assumption 6.2.2 (single controller). piabjp_{iabj}piabj​ does not depend on bbb; it is written piajp_{iaj}piaj​.

For a stationary ρ\rhoρ write ria(ρ)=∑briabρibr_{ia}(\rho) = \sum_b r_{iab}\rho_{ib}ria​(ρ)=∑b​riab​ρib​ and piaj(ρ)=∑bpiabjρibp_{iaj}(\rho)=\sum_b p_{iabj}\rho_{ib}piaj​(ρ)=∑b​piabj​ρib​. A vector yyy is TMG-superharmonic if some stationary ρ∞\rho^\inftyρ∞ of player II satisfies yi≥ria(ρ)+∑jpiaj(ρ)yjy_i \ge r_{ia}(\rho) + \sum_j p_{iaj}(\rho) y_jyi​≥ria​(ρ)+∑j​piaj​(ρ)yj​ for all a∈A(i)a\in A(i)a∈A(i), i∈Ei\in Ei∈E. For weights βj>0\beta_j>0βj​>0 the two linear programs are

min⁡{∑jβjyj ∣ ∑j(δij−piaj)yj−∑briabρib≥0; ∑bρib=1; ρib≥0}(6.2.1)\min\Big\{\textstyle\sum_j\beta_jy_j \ \Big|\ \sum_j(\delta_{ij}-p_{iaj})y_j-\sum_b r_{iab}\rho_{ib}\ge0;\ \sum_b\rho_{ib}=1;\ \rho_{ib}\ge0\Big\} \tag{6.2.1}min{∑j​βj​yj​ ​ ∑j​(δij​−piaj​)yj​−∑b​riab​ρib​≥0; ∑b​ρib​=1; ρib​≥0}(6.2.1) max⁡{∑izi ∣ ∑i∑a(δij−piaj)xia=βj; −∑ariabxia+zi≤0; xia≥0}(6.2.2)\max\Big\{\textstyle\sum_iz_i \ \Big|\ \sum_i\sum_a(\delta_{ij}-p_{iaj})x_{ia}=\beta_j;\ -\sum_a r_{iab}x_{ia}+z_i\le0;\ x_{ia}\ge0\Big\} \tag{6.2.2}max{∑i​zi​ ​ ∑i​∑a​(δij​−piaj​)xia​=βj​; −∑a​riab​xia​+zi​≤0; xia​≥0}(6.2.2)

Formalization targets

Goal: Theorem 6.2.3

Under Assumptions 6.2.1 and 6.2.2, let (y∗,ρ∗)(y^*,\rho^*)(y∗,ρ∗) and (x∗,z∗)(x^*,z^*)(x∗,z∗) be optimal solutions of (6.2.1) and (6.2.2), and πia∗:=xia∗/∑axia∗\pi^*_{ia} := x^*_{ia}/\sum_a x^*_{ia}πia∗​:=xia∗​/∑a​xia∗​. Then

v(R1,(ρ∗)∞)≤v((π∗)∞,(ρ∗)∞)=y∗≤v((π∗)∞,R2)for all policies R1,R2.v(R_1,(\rho^*)^\infty) \le v((\pi^*)^\infty,(\rho^*)^\infty) = y^* \le v((\pi^*)^\infty,R_2)\qquad\text{for all policies } R_1,R_2 .v(R1​,(ρ∗)∞)≤v((π∗)∞,(ρ∗)∞)=y∗≤v((π∗)∞,R2​)for all policies R1​,R2​.

The goal fixes no constants; it states that the LP pair produces the value and optimal stationary policies.

Milestones

  1. Theorem 6.2.1 (Shapley): under Assumption 6.2.1 both players have stationary optimal policies.
  2. Theorem 6.2.2: under Assumption 6.2.1, val(TMG)\mathrm{val(TMG)}val(TMG) is the smallest TMG-superharmonic vector.
  3. Theorem 6.2.4 (i): for a stationary π∞\pi^\inftyπ∞ of player I, xia(π)=[βT(I−P(π))−1]iπiax_{ia}(\pi) = [\beta^T(I-P(\pi))^{-1}]_i\pi_{ia}xia​(π)=[βT(I−P(π))−1]i​πia​ and zi(π)=min⁡brib(π)∑axia(π)z_i(\pi) = \min_{b} r_{ib}(\pi)\sum_a x_{ia}(\pi)zi​(π)=minb​rib​(π)∑a​xia​(π) give a feasible point of (6.2.2) with ∑izi(π)=min⁡ρ∑jβjvj(π∞,ρ∞)\sum_i z_i(\pi) = \min_\rho \sum_j\beta_j v_j(\pi^\infty,\rho^\infty)∑i​zi​(π)=minρ​∑j​βj​vj​(π∞,ρ∞).
  4. Theorem 6.2.4 (ii): every feasible (x,z)(x,z)(x,z) of (6.2.2) has x=x(π)x = x(\pi)x=x(π) and z≤z(π)z\le z(\pi)z≤z(π) for πia=xia/∑axia\pi_{ia} = x_{ia}/\sum_a x_{ia}πia​=xia​/∑a​xia​.

Theorems 6.2.1 and 6.2.2 hold for the general contracting game. Assumption 6.2.2 enters only from (6.2.1) on.

Significance

The result. Theorem 6.2.3 turns a single-controller game into a finite computation, Algorithm XXVII: solve one LP pair and read off the value and optimal stationary policies of both players. A consequence (Remark 6.2.1) is that the value and the optimal decision rules lie in the field generated by the rewards and transition probabilities. Example 6.2.1 shows this fails without Assumption 6.2.2. Theorem 6.2.4 matches the feasible points of the dual program with the stationary policies of the controlling player. This is the game version of the correspondence between state-action frequencies and policies in Markov decision problems.

Formalizing it. All results are proved in the book, and Theorem 6.2.1 is classical. None of them is formalized: the platform has turn-based stochastic games with positional strategies (TBSGStrategyIteration), which do not cover simultaneous moves or history-dependent randomized policies. The mission adds a reusable model of simultaneous-move stochastic games with history-dependent policies, together with machine-checked optimality of the LP solution against every such policy.

Difficulty

There are two difficulties. First, optimality in (6.1.1) is against every history-dependent randomized policy of the opponent, while the LP produces only stationary policies. Fixing one player's stationary policy reduces the game to a Markov decision problem for the other player (Remark 6.1.1), and the facts needed from that problem (stationary policies suffice, and the value is the smallest superharmonic vector) are theorems about contracting MDPs, not consequences of the LP. Second, Theorem 6.2.2 rests on Shapley's existence theorem, which is not a linear-programming fact: its usual proof is a fixed-point argument for the Shapley operator built from one-stage matrix games. Remark 6.2.2 indicates a route that avoids it, through the bounded polytope of state-action frequencies of a contracting MDP. Either way, LP duality alone does not give optimality against non-stationary opponents.

Formalization scope

  • Model. EEE is Fin N with N>0N>0N>0. Actions live in finite types α, β, and A(i)A(i)A(i), B(i)B(i)B(i) are nonempty Finsets. Rows are substochastic.
  • Policies. A history in Hn+1H_{n+1}Hn+1​ is a record of n+1n+1n+1 states and nnn actions of each player. A policy is a family of distributions indexed by time and history, supported on the current action set. Stationary policies are the image of state-dependent decision rules.
  • Probabilities and reward. History probabilities are explicit finite products, with no measure theory. The total reward is the tsum of the period rewards, which converges absolutely under Assumption 6.2.1, and every theorem assumes it.
  • Linear programs. Their variables are functions on all actions that vanish off A(i)A(i)A(i) (resp. B(i)B(i)B(i)). Optimality means feasible and attaining the min/max over the feasible set. The common piajp_{iaj}piaj​ is piab0jp_{iab_0j}piab0​j​ for a fixed b0∈B(i)b_0\in B(i)b0​∈B(i), and Assumption 6.2.2 makes the choice irrelevant. βj>0\beta_j>0βj​>0 is a hypothesis, as on p. 194.
  • The minimum in Theorem 6.2.4 (i) is over stationary policies of player II and is stated with attainment.

Restricting either player's policy class to stationary policies would make the optimality claims of Theorems 6.2.1 and 6.2.3 a statement about a finite family and is ruled out: the comparison class is all history-dependent randomized policies.

Lemma 6.1.1 is Mathlib's isSaddlePointOn_value (Mathlib/Order/SaddlePoint.lean) and is not restated. The LP duality theorems of Chapter 1 are proved on the platform (LinearOptimization.lp_strong_duality, lp_complementary_slackness) and may be used. Useful contributions include: the reduction of Remark 6.1.1 (a fixed stationary opponent gives an MDP), the contracting-MDP facts it needs, and a proof of Theorem 6.2.1. The model definitions are reusable for any finite stochastic game.

Selected references

  • L. C. M. Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam, 1983, Chapter 6. https://ir.cwi.nl/pub/13008
  • L. S. Shapley, Stochastic games, Proceedings of the National Academy of Sciences 39 (1953) 1095–1100. https://doi.org/10.1073/pnas.39.10.1095
  • T. Parthasarathy and T. E. S. Raghavan, Finite algorithms for stochastic games, International Conference on Dynamic Programming, Vancouver, 1977; cited in Kallenberg 1983, p. 232. https://ir.cwi.nl/pub/13008
  • T. Parthasarathy and T. E. S. Raghavan, An order field property for stochastic games when one player controls the transition probabilities, Game Theory Conference, Cornell, 1978; cited in Kallenberg 1983, p. 233. https://ir.cwi.nl/pub/13008
7 thms2 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryOperations Research+1·Captain: mikedeng1

Sequencing a One State-Variable Machine: A Solvable Case of the Traveling Salesman Problem 1: The Spanning-Tree Interchange Tour ψ* Is a Minimal Cost TourResearch Paper

Motivation

The traveling salesman problem is NP-hard in general, so special cost structures under which it can be solved exactly in polynomial time are of lasting interest in combinatorial optimization and scheduling. One of the earliest and most cited such cases comes from sequencing on a machine whose condition is described by a single real number: a furnace temperature, a knife setting, a fill level. Each job must start at a prescribed state and leaves the machine in another, and changing the state between consecutive jobs costs money or time. Finding the cheapest cyclic order of the jobs is a traveling salesman problem with asymmetric costs.

P. C. Gilmore and R. E. Gomory solved this problem exactly in 1964 (Oper. Res. 12(5), 655–679) with an algorithm of O(N2)O(N^2)O(N2) simple steps. Their construction became the standard example of a solvable TSP case: it is the starting point of the survey literature on polynomially solvable TSPs (Gilmore, Lawler and Shmoys 1985; Burkard, Deineko, van Dal, van der Veen and Woeginger 1998), and it appears in the no-wait flow shop literature, where two-machine no-wait scheduling reduces to exactly this cost structure.

Setting

There are NNN jobs J1,…,JNJ_1,\dots,J_NJ1​,…,JN​. Job iii must be started when the state of the machine is AiA_iAi​ and leaves the machine in state BiB_iBi​; the jobs are numbered so that j>ij>ij>i implies Bj≥BiB_j\ge B_iBj​≥Bi​. Two cost densities f,g:R→Rf,g:\mathbb R\to\mathbb Rf,g:R→R satisfy f(x)+g(x)≥0f(x)+g(x)\ge0f(x)+g(x)≥0: raising the state through xxx costs f(x)f(x)f(x) per unit, lowering it costs g(x)g(x)g(x) per unit. The changeover cost of having job jjj follow job iii is

cij={∫BiAjf(x) dxif Aj≥Bi,∫AjBig(x) dxif Bi>Aj.c_{ij}=\begin{cases}\int_{B_i}^{A_j}f(x)\,dx & \text{if } A_j\ge B_i,\\ \int_{A_j}^{B_i}g(x)\,dx & \text{if } B_i>A_j.\end{cases}cij​={∫Bi​Aj​​f(x)dx∫Aj​Bi​​g(x)dx​if Aj​≥Bi​,if Bi​>Aj​.​

A permutation ψ\psiψ of the jobs assigns to each job iii its successor ψ(i)\psi(i)ψ(i) and has cost c(ψ)=∑iciψ(i)c(\psi)=\sum_i c_{i\psi(i)}c(ψ)=∑i​ciψ(i)​. It is a tour if ψ(s)≠s\psi(s)\ne sψ(s)=s for every nonempty proper subset sss of the jobs, i.e. if it is a single cycle through all jobs.

A permutation φ\varphiφ ranks the AAA if j>ij>ij>i implies Aφ(j)≥Aφ(i)A_{\varphi(j)}\ge A_{\varphi(i)}Aφ(j)​≥Aφ(i)​. The interchange αij\alpha_{ij}αij​ swaps iii and jjj; applying it to ψ\psiψ gives ψαij\psi\alpha_{ij}ψαij​ (first αij\alpha_{ij}αij​, then ψ\psiψ), which exchanges the successors of iii and jjj, at cost cψ(αij)=c(ψαij)−c(ψ)c_\psi(\alpha_{ij})=c(\psi\alpha_{ij})-c(\psi)cψ​(αij​)=c(ψαij​)−c(ψ). The graph GφG_\varphiGφ​ links iii and φ(i)\varphi(i)φ(i) for every iii; a spanning tree of GφG_\varphiGφ​ is a minimal set of additional arcs RijR_{ij}Rij​ that makes it connected, with cost ∑cφ(αij)\sum c_\varphi(\alpha_{ij})∑cφ​(αij​). Node qqq is of type 1 if Bq≤Aφ(q)B_q\le A_{\varphi(q)}Bq​≤Aφ(q)​ and of type 2 otherwise.

Given a minimal cost spanning tree τ\tauτ of GφG_\varphiGφ​ made of arcs Rq,q+1R_{q,q+1}Rq,q+1​, the tour ψ∗\psi^*ψ∗ is obtained from φ\varphiφ by executing the interchanges αq,q+1\alpha_{q,q+1}αq,q+1​, Rq,q+1∈τR_{q,q+1}\in\tauRq,q+1​∈τ, first those of type 1 in decreasing order of qqq, then those of type 2 in increasing order of qqq.

Formalization targets

Goal: Theorem 5

ψ∗ is a tour, andc(ψ∗)≤c(ψ)  for every tour ψ.\psi^*\ \text{is a tour, and}\quad c(\psi^*)\le c(\psi)\ \text{ for every tour }\psi.ψ∗ is a tour, andc(ψ∗)≤c(ψ)  for every tour ψ.

This is the paper's main theorem. It fixes no constant and no special form of f,gf,gf,g; it asserts that the specific tour produced by the algorithm is optimal among all tours.

Milestones

In the order the proof uses them:

  1. Theorem 1: c(φ)=min⁡ψc(ψ)c(\varphi)=\min_\psi c(\psi)c(φ)=minψ​c(ψ) over all permutations.
  2. Eq. (11): under Bj≥BiB_j\ge B_iBj​≥Bi​, Aψ(j)≥Aψ(i)A_{\psi(j)}\ge A_{\psi(i)}Aψ(j)​≥Aψ(i)​, the cost of αij\alpha_{ij}αij​ is ∫[Bi,Bj]∩[Aψ(i),Aψ(j)](f+g)\int_{[B_i,B_j]\cap[A_{\psi(i)},A_{\psi(j)}]}(f+g)∫[Bi​,Bj​]∩[Aψ(i)​,Aψ(j)​]​(f+g).
  3. Lemma 1: an interchange between two different cycles merges them.
  4. Theorem 2: the interchanges of a spanning tree, in any order, turn ψ\psiψ into a tour.
  5. Lemma 2: some minimal cost spanning tree of GφG_\varphiGφ​ uses only arcs Ri,i+1R_{i,i+1}Ri,i+1​.
  6. Lemma 5: adjacent interchanges executed on φ\varphiφ in the stated order have additive cost.
  7. Theorem 3: ψ∗\psi^*ψ∗ is a tour of cost c(φ)+cφ(τ)c(\varphi)+c_\varphi(\tau)c(φ)+cφ​(τ).
  8. Theorem 4: c(ψ)≥c(φ)+c∗(ψ)c(\psi)\ge c(\varphi)+c^*(\psi)c(ψ)≥c(φ)+c∗(ψ) for every permutation, with the underestimate c∗c^*c∗ of (17).
  9. Lemma 7: for a tour ψ\psiψ the graph Gψ∗G_\psi^*Gψ∗​ is connected.
  10. Lemma 8: conditions (22a) and (22b) hold for equally many indices.
  11. Eq. (28): c∗(ψ)≥cφ(τ)c^*(\psi)\ge c_\varphi(\tau)c∗(ψ)≥cφ​(τ) for every tour ψ\psiψ.

Off the goal's path: Theorem 7, a minimal tour for (f,g)(f,g)(f,g) is minimal for (f+g,0)(f+g,0)(f+g,0).

Significance

The theorem shows that a traveling salesman problem whose costs come from a one-dimensional state is solved by three polynomial steps: sorting (an optimal assignment), a minimum spanning tree over N−1N-1N−1 candidate arcs, and a prescribed sequence of interchanges. It is the base case for a family of later results on solvable TSPs and for the two-machine no-wait flow shop, where it gives an exact polynomial algorithm.

The result has been proved since 1964. No machine-checked proof of it is known to exist. The proof in the paper argues largely from figures ("evident geometrically"), and its statement of Theorem 3 lists the interchanges in an order that contradicts its own proof: executed in the printed order, the paper's numerical example yields a tour of cost 39 instead of the optimum 34. A formal proof settles which order is correct and fills in the geometric steps. Partial contributions are useful: the permutation facts (Lemmas 1, 8 and Theorem 2) are independent of the cost model and reusable.

Difficulty

The obvious argument fails at two points. First, interchanges do not commute in cost: once one interchange is executed, the cost of the next one depends on the new successors, so the cost of ψ∗\psi^*ψ∗ is not simply c(φ)c(\varphi)c(φ) plus the tree cost for an arbitrary execution order. Showing that the specific order of Lemma 5 avoids all interference requires tracking how type-1 and type-2 nodes behave as interchanges are applied. Second, optimality is not a local statement: an arbitrary tour is not reachable from φ\varphiφ by tree interchanges, so the lower bound needs the separate underestimate c∗c^*c∗ and a counting argument relating every tour to a spanning tree of GφG_\varphiGφ​. Neither step follows from general minimum spanning tree theory.

Formalization scope

Jobs are Fin (n + 1) (N=n+1≥1N=n+1\ge1N=n+1≥1), so the paper's job iii is index i−1i-1i−1; the adjacent arc Rq,q+1R_{q,q+1}Rq,q+1​ is indexed by q : Fin n and joins q.castSucc and q.succ. Permutations are Equiv.Perm (Fin (n + 1)), and ψαij\psi\alpha_{ij}ψαij​ is ψ * Equiv.swap i j (Mathlib's composition, "first αij\alpha_{ij}αij​, then ψ\psiψ"). Costs are real; (1) uses oriented interval integrals and (17) set integrals.

Explicit readings of the paper's loose phrases:

  • "any integrable functions f,gf,gf,g" is read as local integrability on R\mathbb RR, with f+g≥0f+g\ge0f+g≥0 the only sign condition;
  • "proper subsets sss" in (4) are nonempty proper subsets;
  • "a minimal set of additional arcs that connect" is minimal under inclusion; "minimal cost spanning tree" is minimal in cost among spanning trees made of adjacent arcs (by Lemma 2 the same minimum as over all trees);
  • "minimal cost tour" means cost at most that of every tour, i.e. every permutation that is a single cycle;
  • "obtained by executing the α\alphaα's in a particular order" (Lemma 5) is the explicit order of its proof;
  • ties among the AAA leave φ\varphiφ non-unique; every statement holds for every ranking φ\varphiφ.

The order of ψ∗\psi^*ψ∗ is that of the proof of Lemma 5 and of steps T2–T4 (p. 673), not the order printed in Theorem 3.

Trivializing formalizations are ruled out: the goal quantifies over all tours, not over permutations (that is Theorem 1) nor over tours reachable from φ\varphiφ; ψ∗\psi^*ψ∗ is constructed from φ\varphiφ and τ\tauτ, not taken as an arbitrary tour of the right cost; τ\tauτ is both inclusion-minimal and cost-minimal; and the costs keep both branches of (1) with general densities, not cij=∣Aj−Bi∣c_{ij}=|A_j-B_i|cij​=∣Aj​−Bi​∣. The TSP items already on the platform concern symmetric or metric distances with tours as visiting orders, a different model, and are not reused.

Needed infrastructure: cycle structure of permutations under transpositions (Mathlib's Equiv.Perm.SameCycle), connectivity of finite simple graphs, interval integrals of locally integrable functions. Contributions to any milestone are welcome; the purely combinatorial ones (Lemmas 1, 8, Theorem 2, Lemma 7) are independent of the integrals.

Selected references

  • P. C. Gilmore and R. E. Gomory, Sequencing a one state-variable machine: a solvable case of the traveling salesman problem, Operations Research 12(5), 1964, 655–679. https://doi.org/10.1287/opre.12.5.655
  • P. C. Gilmore, E. L. Lawler and D. B. Shmoys, Well-solved special cases, in The Traveling Salesman Problem (Lawler, Lenstra, Rinnooy Kan, Shmoys, eds.), Wiley, 1985, 87–143. ISBN 978-0-471-90413-7
  • R. E. Burkard, V. G. Deineko, R. van Dal, J. A. A. van der Veen and G. J. Woeginger, Well-solvable special cases of the traveling salesman problem: a survey, SIAM Review 40(3), 1998, 496–546. https://doi.org/10.1137/S0036144596297514
  • J. B. Kruskal, On the shortest spanning subtree of a graph and the traveling salesman problem, Proc. AMS 7(1), 1956, 48–50. https://doi.org/10.1090/S0002-9939-1956-0078686-7
15 thms3 active usersReviewed
🏆Completed
CombinatoricsLinear OptimizationOperations Research·Captain: mikedeng1

Some Polyhedra Related to Combinatorial Problems I: A Minimizing Vertex of the Corner Polyhedron Gives an Optimal Integer Solution When the Right-Hand Side Lies Deep in the Basis ConeResearch Paper

Motivation

An integer program in standard form, max⁡c⋅x\max c\cdot xmaxc⋅x subject to Ax=bAx=bAx=b, x≥0x\ge 0x≥0, xxx integer, is easy to state and hard to solve. Its linear programming relaxation is solved by the simplex method, which ends at an optimal basis BBB. The difference between the two problems is the integrality of xxx, and R. E. Gomory's 1969 paper Some polyhedra related to combinatorial problems (Linear Algebra Appl. 2, 451–558, doi:10.1016/0024-3795(69)90017-2) measures that difference with a finite Abelian group. Dropping only the nonnegativity of the basic variables leaves a problem whose feasible set has a simple structure: its convex hull is the corner polyhedron, and its integer points are the solutions of an equation in the group Zm/BZm\mathbb Z^m/B\mathbb Z^mZm/BZm.

The first section of the paper uses this to explain when the integer program reduces to the group problem. Its asymptotic theorem says that if bbb lies far enough inside the cone where BBB is LP-optimal, then an optimal solution of the group problem gives an optimal integer solution. Gomory first proved this in 1965 (On the relation between integer and noninteger solutions to linear programs, PNAS 53, 260–265, doi:10.1073/pnas.53.2.260) by a counting argument on group solutions. The 1969 paper proves it again through the geometry of the corner polyhedron. The vertices of that polyhedron are irreducible, and an irreducible point is small. This is the version formalized here.

Setting

Let A=(B,N)A=(B,N)A=(B,N) be an integer m×(m+n)m\times(m+n)m×(m+n) matrix, with BBB a nonsingular m×mm\times mm×m matrix (the first mmm columns) and NNN the m×nm\times nm×n matrix of the remaining columns N1,…,NnN_1,\dots,N_nN1​,…,Nn​. As on p. 452 of the paper, AAA contains an m×mm\times mm×m unit matrix. Let b∈Zmb\in\mathbb Z^mb∈Zm and c=(cB,cN)∈Rm+nc=(c_B,c_N)\in\mathbb R^{m+n}c=(cB​,cN​)∈Rm+n. The integer program (2) is

max⁡ c⋅xsubject toAx=b, x≥0, x integer.\max\ c\cdot x\quad\text{subject to}\quad Ax=b,\ x\ge 0,\ x\ \text{integer}.max c⋅xsubject toAx=b, x≥0, x integer.

The relative prices are cN∗=−cN+cBB−1Nc_N^*=-c_N+c_BB^{-1}NcN∗​=−cN​+cB​B−1N, with components cm+i∗c^*_{m+i}cm+i∗​. BBB is an optimal LP basis when B−1b≥0B^{-1}b\ge0B−1b≥0 and every cm+i∗≥0c^*_{m+i}\ge0cm+i∗​≥0.

The group is G=M(I)/M(B)\mathcal G=M(I)/M(B)G=M(I)/M(B), where M(I)=ZmM(I)=\mathbb Z^mM(I)=Zm and M(B)M(B)M(B) is the lattice of integer combinations of the columns of BBB. Let fff be the quotient map. G\mathcal GG is finite of order D=∣det⁡B∣D=|\det B|D=∣detB∣. Let N\mathcal NN be the set of nonzero elements among fN1,…,fNnfN_1,\dots,fN_nfN1​,…,fNn​, and put g0=fbg_0=fbg0​=fb. The group equation is

∑g∈Nt(g)⋅g=g0,t(g)∈Z≥0,\sum_{g\in\mathcal N}t(g)\cdot g=g_0,\qquad t(g)\in\mathbb Z_{\ge0},g∈N∑​t(g)⋅g=g0​,t(g)∈Z≥0​,

and P(G,N,g0)P(\mathcal G,\mathcal N,g_0)P(G,N,g0​) is the convex hull of its solutions in RN\mathbb R^{\mathcal N}RN. A nonnegative integer ttt is irreducible if any two integer vectors s,rs,rs,r with 0≤s,r≤t0\le s,r\le t0≤s,r≤t and ∑s(g)⋅g=∑r(g)⋅g\sum s(g)\cdot g=\sum r(g)\cdot g∑s(g)⋅g=∑r(g)⋅g are equal.

The group costs are c∗(g)=min⁡i: fNi=gcm+i∗c^*(g)=\min_{i:\,fN_i=g}c^*_{m+i}c∗(g)=mini:fNi​=g​cm+i∗​. Problem (8) minimizes ∑gc∗(g)t(g)\sum_g c^*(g)t(g)∑g​c∗(g)t(g) over the solutions of the group equation. A corresponding vertex of a point t∗t^*t∗ (Remark 1) is a nonnegative integer xN∗x_N^*xN∗​ with three properties: t∗(g)=∑i: fNi=gxm+i∗t^*(g)=\sum_{i:\,fN_i=g}x^*_{m+i}t∗(g)=∑i:fNi​=g​xm+i∗​; at most one positive xm+i∗x^*_{m+i}xm+i∗​ per group element; and xm+i∗=0x^*_{m+i}=0xm+i∗​=0 when fNi=0ˉfN_i=\bar0fNi​=0ˉ. It uses only least cost columns when xm+i∗>0x^*_{m+i}>0xm+i∗​>0 only if cm+i∗=c∗(fNi)c^*_{m+i}=c^*(fN_i)cm+i∗​=c∗(fNi​).

The cone KB={y∈Rm:B−1y≥0}K_B=\{y\in\mathbb R^m:B^{-1}y\ge0\}KB​={y∈Rm:B−1y≥0} is where BBB is LP-optimal. KB(d)K_B(d)KB​(d) is the set of its points at Euclidean distance at least ddd from its frontier, and lmax⁡l_{\max}lmax​ is the largest Euclidean length of a column NiN_iNi​.

Formalization targets

Goal: THEOREM 4 (p. 462)

If b∈KB(lmax⁡(D−1))b\in K_B\bigl(l_{\max}(D-1)\bigr)b∈KB​(lmax​(D−1)), t∗t^*t∗ is a vertex of P(G,N,fb)P(\mathcal G,\mathcal N,fb)P(G,N,fb) minimizing (8), and xN∗x_N^*xN∗​ is a corresponding vertex using only least cost columns, then

x∗=(B−1(b−NxN∗), xN∗) is an optimal integer solution of (2).x^*=\bigl(B^{-1}(b-Nx_N^*),\ x_N^*\bigr)\ \text{is an optimal integer solution of (2)}.x∗=(B−1(b−NxN∗​), xN∗​) is an optimal integer solution of (2).

Milestones

  1. THEOREM 1 (p. 459): an irreducible ttt satisfies ∏g∈N(1+t(g))≤∣G∣\prod_{g\in\mathcal N}(1+t(g))\le|\mathcal G|∏g∈N​(1+t(g))≤∣G∣.
  2. p. 459: ∣M(I)/M(B)∣=∣det⁡B∣|M(I)/M(B)|=|\det B|∣M(I)/M(B)∣=∣detB∣.
  3. THEOREM 2 (p. 460): every vertex of P(G,N,g0)P(\mathcal G,\mathcal N,g_0)P(G,N,g0​) is an irreducible integer point.
  4. Proof of THEOREM 4 (p. 462): an irreducible ttt has ∑gt(g)≤∣G∣−1\sum_g t(g)\le|\mathcal G|-1∑g​t(g)≤∣G∣−1.
  5. THEOREM 3 (p. 461): a corresponding vertex of a minimizing vertex is optimal for (2) whenever B−1(b−NxN∗)≥0B^{-1}(b-Nx_N^*)\ge0B−1(b−NxN∗​)≥0.
  6. Proof of THEOREM 4: ∥NxN∗∥≤lmax⁡(D−1)\|Nx_N^*\|\le l_{\max}(D-1)∥NxN∗​∥≤lmax​(D−1).
  7. Proof of THEOREM 4: y∈KB(d)y\in K_B(d)y∈KB​(d) and ∥v∥≤d\|v\|\le d∥v∥≤d imply y−v∈KBy-v\in K_By−v∈KB​.
  8. Display (10), p. 464: the optimal x∗x^*x∗ of THEOREM 4 satisfies ∏i=1n(1+xm+i∗)≤D\prod_{i=1}^n(1+x^*_{m+i})\le D∏i=1n​(1+xm+i∗​)≤D.

Significance

THEOREM 4 explains why integer programs with large right-hand sides are often easy. For bbb outside a band of width lmax⁡(D−1)l_{\max}(D-1)lmax​(D−1) along the boundary of the cone KBK_BKB​, the integer optimum is the LP solution B−1bB^{-1}bB−1b plus a correction that depends only on the class of bbb modulo the lattice of BBB. That correction is periodic in bbb and can be tabulated once for the DDD group elements. The vertex form adds a structural statement: the correction can be read off a vertex of the corner polyhedron, so the faces and vertices of corner polyhedra (the subject of the rest of the paper) bear directly on integer programming. Display (10) shows such optimal solutions are small: their nonbasic parts satisfy ∏(1+xm+i)≤D\prod(1+x_{m+i})\le D∏(1+xm+i​)≤D.

All results here are proved in the paper. None of them is formalized yet. The 1965 version of the asymptotic theorem, posed as THEOREM 1 of the mission on Gomory (1965), is in the same family of statements. Its hypothesis is that the group solution is optimal; here the hypothesis is that it is a vertex of P(G,N,g0)P(\mathcal G,\mathcal N,g_0)P(G,N,g0​). Its counting lemma (a short optimal group solution) and its bound ∥Ny∥≤(D−1)l\|Ny\|\le(D-1)l∥Ny∥≤(D−1)l have counterparts in milestones 4 and 6.

Difficulty

An optimal solution of the group problem need not be short. Group solutions can be made longer without changing their cost (add a zero-cost cycle), and a long nonbasic part xNx_NxN​ can push b−NxNb-Nx_Nb−NxN​ out of the cone KBK_BKB​, making xBx_BxB​ negative. The goal must therefore use the vertex hypothesis. Vertices are irreducible (THEOREM 2), and irreducibility bounds their size through a pigeonhole count in the finite group (THEOREM 1). The formal work is spread across three settings: the convex geometry of the hull of an infinite integer set, the arithmetic of the quotient Zm/BZm\mathbb Z^m/B\mathbb Z^mZm/BZm and its order, and the linear algebra connecting B−1B^{-1}B−1, the cone KBK_BKB​ and its frontier.

Formalization scope

Vectors on N\mathcal NN are functions on the subtype of a Finset of the group. Integer solutions are N\mathbb NN-valued, and P(G,N,g0)P(\mathcal G,\mathcal N,g_0)P(G,N,g0​) is convexHull ℝ of their real images. THEOREMS 1 and 2 are stated for an arbitrary finite Abelian group and any finite N\mathcal NN not containing 000, as in the paper. The integer program uses the basis as the first mmm columns, Fin m ⊕ Fin n. B−1B^{-1}B−1 is the real matrix inverse, and every statement assumes det⁡B≠0\det B\ne0detB=0. Optimality of xxx means feasibility plus c⋅y≤c⋅xc\cdot y\le c\cdot xc⋅y≤c⋅x for every feasible integer yyy; no supremum is taken. The loose phrases of the paper are read as follows.

  • "Vertex" means an extreme point.
  • "Every vertex is irreducible" means every vertex is the image of an integer solution, and that solution is irreducible.
  • "Optimal linear programming basis" means B−1b≥0B^{-1}b\ge0B−1b≥0 and c∗≥0c^*\ge0c∗≥0.
  • "Corresponding vertex x∗x^*x∗ of Px(B,N,b)P_x(B,N,b)Px​(B,N,b)" means conditions (i)–(iii) of Remark 1, which the paper calls easily verified, taken as the definition.
  • "Minimizing (8)" means minimizing over the integer solutions of the group equation.
  • "Euclidean distance from the frontier" is explicit: ∑kvk2\sqrt{\sum_k v_k^2}∑k​vk2​​, frontier in the usual topology, so KB(0)=KBK_B(0)=K_BKB​(0)=KB​.

The printed slip on p. 462 (∑(1+t∗(g))\sum(1+t^*(g))∑(1+t∗(g)) for THEOREM 1's product) is corrected in the Lean. Dropping the vertex hypothesis from the goal is not a valid formalization (the statement becomes false in general), and neither is defining irreducibility with real r,sr,sr,s (THEOREM 1 then fails). The existence of a minimizing vertex, which the paper takes for granted, is not posed.

A complete development needs the finiteness and order of Zm/BZm\mathbb Z^m/B\mathbb Z^mZm/BZm (Mathlib's AddSubgroup.index_eq_natAbs_det), extreme points of convex hulls (extremePoints_convexHull_subset), and an argument that a closed cone with yyy deep inside it contains the ball around yyy. The group-polyhedron definitions and THEOREMS 1–2 apply to any finite Abelian group and are reusable beyond this mission. Proofs of any milestone are welcome independently.

Selected references

  • R. E. Gomory, Some polyhedra related to combinatorial problems, Linear Algebra and Its Applications 2 (1969), 451–558. https://doi.org/10.1016/0024-3795(69)90017-2
  • R. E. Gomory, On the relation between integer and noninteger solutions to linear programs, Proc. Nat. Acad. Sci. USA 53 (1965), 260–265. https://doi.org/10.1073/pnas.53.2.260
  • R. E. Gomory, Faces of an integer polyhedron, Proc. Nat. Acad. Sci. USA 57 (1967), 16–18. https://doi.org/10.1073/pnas.57.1.16
  • B. L. van der Waerden, Modern Algebra, English translation of the 2nd German edition, Ungar, New York, 1949–1950 (computation of fff, cited p. 456).
11 thms2 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

Loss Networks 2: The Erlang Fixed Point Is E_j = 1 − exp(−y_j) for the Unique Optimum y of the Strictly Convex Revised Dual ProblemResearch Paper

Motivation

A loss network is a model of a circuit-switched network: telephone networks, and more generally any system in which a request seizes several resources at once and is lost if any of them is unavailable. Exact loss probabilities in such networks are given by a product-form distribution over a state space whose size grows exponentially with the number of routes, so practitioners compute an approximation instead: the Erlang fixed point, also called the reduced-load approximation. It pretends that links block independently, computes the traffic offered to each link after thinning by the other links, and applies Erlang's single-link formula link by link. Reduced-load approximations of this kind recur throughout §§3–4 of Kelly 1991, where they appear as limits of networks with fixed and with alternative routing.

An approximation defined by a fixed point equation raises an immediate question: does the equation have exactly one solution? Under fixed routing it does, and Kelly's Theorem 3.7 (Ann. Appl. Probab. 1991, p. 338, citing Kelly 1986, reference [33] of the paper) proves it by identifying the fixed point with the optimum of a strictly convex program, the revised dual problem. The convex characterization is specific to fixed routing; the paper notes (p. 337) that for networks with dynamic routing and control nonuniquely determined behaviour can occur.

Setting

There are JJJ links, link jjj having Cj≥1C_j \ge 1Cj​≥1 circuits, and a finite set of routes rrr. A call on route rrr uses Ajr∈Z+A_{jr} \in \mathbb Z_+Ajr​∈Z+​ circuits of link jjj, and calls on route rrr arrive as a Poisson stream of rate νr>0\nu_r > 0νr​>0.

Erlang's formula (1.1) gives the blocking probability of a single link with CCC circuits offered Poisson traffic of intensity ν\nuν:

E(ν,C)=νCC![∑n=0Cνnn!]−1.E(\nu, C) = \frac{\nu^C}{C!}\Big[\sum_{n=0}^{C} \frac{\nu^n}{n!}\Big]^{-1}.E(ν,C)=C!νC​[n=0∑C​n!νn​]−1.

The Erlang fixed point equations (3.1)–(3.2) for the vector of link blocking probabilities (E1,…,EJ)(E_1, \dots, E_J)(E1​,…,EJ​) are

Ej=E(ρj,Cj),ρj=(1−Ej)−1∑rAjr νr∏i(1−Ei)Air,j=1,…,J.E_j = E(\rho_j, C_j), \qquad \rho_j = (1 - E_j)^{-1} \sum_r A_{jr}\,\nu_r \prod_i (1 - E_i)^{A_{ir}}, \qquad j = 1, \dots, J.Ej​=E(ρj​,Cj​),ρj​=(1−Ej​)−1r∑​Ajr​νr​i∏​(1−Ei​)Air​,j=1,…,J.

The utilization function U(y,C)U(y, C)U(y,C) is defined by the implicit relation (3.4),

U(−log⁡(1−E(ν,C)), C)=ν (1−E(ν,C)),ν≥0:U\big(-\log(1 - E(\nu, C)),\, C\big) = \nu\,\big(1 - E(\nu, C)\big), \qquad \nu \ge 0:U(−log(1−E(ν,C)),C)=ν(1−E(ν,C)),ν≥0:

the mean number of busy circuits on a single link whose blocking probability is 1−e−y1 - e^{-y}1−e−y.

The revised dual problem (3.5) is

minimize∑rνrexp⁡(−∑jyjAjr)+∑j∫0yjU(z,Cj) dzsubject to y≥0,\text{minimize} \quad \sum_r \nu_r \exp\Big(-\sum_j y_j A_{jr}\Big) + \sum_j \int_0^{y_j} U(z, C_j)\,dz \qquad \text{subject to } y \ge 0,minimizer∑​νr​exp(−j∑​yj​Ajr​)+j∑​∫0yj​​U(z,Cj​)dzsubject to y≥0,

and its stationarity conditions (3.6) are

∑rAjr νrexp⁡(−∑iyiAir)=U(yj,Cj),j=1,…,J.\sum_r A_{jr}\,\nu_r \exp\Big(-\sum_i y_i A_{ir}\Big) = U(y_j, C_j), \qquad j = 1, \dots, J.r∑​Ajr​νr​exp(−i∑​yi​Air​)=U(yj​,Cj​),j=1,…,J.

The revised dual differs from the dual problem (2.3) of §2, whose optimum gives the limiting blocking probabilities of a large network, only in its last term: ∑jyjCj\sum_j y_j C_j∑j​yj​Cj​ becomes ∑j∫0yjU(z,Cj) dz\sum_j \int_0^{y_j} U(z, C_j)\,dz∑j​∫0yj​​U(z,Cj​)dz.

Formalization targets

Goal: Theorem 3.7

The revised dual problem (3.5) has an optimum yyy, every optimum equals yyy, and

E∈[0,1]J solves (3.1)–(3.2)  ⟺  Ej=1−exp⁡(−yj) for every j.E \in [0,1]^J \text{ solves (3.1)–(3.2)} \iff E_j = 1 - \exp(-y_j) \text{ for every } j.E∈[0,1]J solves (3.1)–(3.2)⟺Ej​=1−exp(−yj​) for every j.

The goal states the characterization, not only the existence and uniqueness of the fixed point: the solution is 1−e−y1 - e^{-y}1−e−y for the optimum yyy of (3.5).

Milestones (p. 338, in the order the argument uses them)

  1. (3.4) defines a function: ν↦−log⁡(1−E(ν,C))\nu \mapsto -\log(1 - E(\nu, C))ν↦−log(1−E(ν,C)) is a continuous strictly increasing bijection of [0,∞)[0,\infty)[0,∞) onto itself for C≥1C \ge 1C≥1, UUU satisfies (3.4), and U≥0U \ge 0U≥0.
  2. y↦U(y,C)y \mapsto U(y, C)y↦U(y,C) is strictly increasing on [0,∞)[0, \infty)[0,∞).
  3. y↦∫0yU(z,C) dzy \mapsto \int_0^y U(z, C)\,dzy↦∫0y​U(z,C)dz is strictly convex, and so is the objective of (3.5) on y≥0y \ge 0y≥0.
  4. (3.5) has exactly one optimum.
  5. A vector y≥0y \ge 0y≥0 is optimal for (3.5) if and only if it satisfies (3.6).
  6. A solution of (3.1)–(3.2) in [0,1]J[0,1]^J[0,1]J has all Ej<1E_j < 1Ej​<1; and for y≥0y \ge 0y≥0, Ej=1−e−yjE_j = 1 - e^{-y_j}Ej​=1−e−yj​ solves (3.1)–(3.2) if and only if yyy satisfies (3.6).

Significance

The theorem turns a nonlinear system of JJJ equations into a smooth strictly convex minimization over the nonnegative orthant. Uniqueness of the fixed point follows at once, and the program gives a computational handle: any convex-minimization method computes the Erlang fixed point, without relying on the convergence of repeated substitution. The comparison with the dual problem (2.3) also explains the approximation: (3.6) relaxes the conditions (2.7), which force a link's carried traffic to equal its capacity before it can block, into a smooth relation in which blocking grows with carried traffic as Erlang's formula prescribes (Remark 3.8).

On Prove2Me, existence and uniqueness of the fixed point alone is already the Proved theorem KellyStochasticNetworks.erlang_fixed_point_unique (Kelly–Yudovina, Stochastic Networks, Theorem 3.20), referenced by this mission. Also referenced: KellyStochasticNetworks.erlang_strictMono (Proved: ν↦E(ν,C)\nu \mapsto E(\nu, C)ν↦E(ν,C) and ν↦ν(1−E(ν,C))\nu \mapsto \nu(1 - E(\nu, C))ν↦ν(1−E(ν,C)) are strictly increasing for C≥1C \ge 1C≥1) and KellyStochasticNetworks.erlang_mean_busy_circuits (Proved: the mean number of busy circuits is ν(1−E(ν,C))\nu(1 - E(\nu, C))ν(1−E(ν,C)), the reading of UUU as a utilization). What this mission adds is the revised dual problem itself, the utilization function UUU, and the identification of the fixed point with the optimum of (3.5); none of these is formalized on the platform.

Difficulty

The function UUU is defined only implicitly, through the inverse of ν↦−log⁡(1−E(ν,C))\nu \mapsto -\log(1 - E(\nu, C))ν↦−log(1−E(ν,C)), so every property of the objective of (3.5) passes through properties of Erlang's formula: monotonicity, continuity, and the limit E(ν,C)→1E(\nu, C) \to 1E(ν,C)→1 as ν→∞\nu \to \inftyν→∞. Differentiating ∫0yU\int_0^{y} U∫0y​U needs continuity of UUU, which must be derived from the inverse.

The paper's sentence "strictly convex: it thus has a unique minimum" covers only uniqueness. Existence of a minimizer on the unbounded set y≥0y \ge 0y≥0 is a separate fact, a growth estimate for the integral terms, and it is part of milestone 4. The first term of (3.5) is not strictly convex when AAA has rank less than JJJ, so strict convexity must come from the separable integral terms. Finally, optimality over y≥0y \ge 0y≥0 yields only one-sided conditions at coordinates with yj=0y_j = 0yj​=0; that (3.6) is an equality there uses U(0,C)=0U(0, C) = 0U(0,C)=0.

Formalization scope

Lean namespace KellyLossNetworks.RevisedDual. Links are Fin J, routes Fin R, the incidence matrix is A : Fin J → Fin R → ℕ, rates ν : Fin R → ℝ, capacities C : Fin J → ℕ, following the published Kelly–Yudovina definitions. Every statement assumes νr>0\nu_r > 0νr​>0 and Cj≥1C_j \ge 1Cj​≥1; the paper uses both without stating them, and a link with Cj=0C_j = 0Cj​=0 makes (3.4) meaningless, since E(ν,0)=1E(\nu, 0) = 1E(ν,0)=1.

Erlang's formula is the published KellyStochasticNetworks.erlang and the fixed point equations (3.1)–(3.2) are the published KellyStochasticNetworks.ErlangFixedPoint, whose factor (1−Ej)−1(1 - E_j)^{-1}(1−Ej​)−1 is Lean's total inverse; milestone 6 shows that no solution in [0,1]J[0,1]^J[0,1]J reaches Ej=1E_j = 1Ej​=1. Solutions are sought in [0,1]J[0,1]^J[0,1]J, as on p. 338.

UUU is defined by choice: U(y,C)=ν(1−E(ν,C))U(y, C) = \nu(1 - E(\nu, C))U(y,C)=ν(1−E(ν,C)) for a ν≥0\nu \ge 0ν≥0 with −log⁡(1−E(ν,C))=y-\log(1 - E(\nu, C)) = y−log(1−E(ν,C))=y, and 000 if none exists. For C≥1C \ge 1C≥1, y≥0y \ge 0y≥0 the ν\nuν is unique, and that (3.4) holds is milestone 1, a theorem, not an axiom built into the definition. Values at y<0y < 0y<0 or C=0C = 0C=0 are placeholders that no statement uses. The integral in (3.5) is the interval integral ∫0yj\int_0^{y_j}∫0yj​​. An optimum of (3.5) is a y≥0y \ge 0y≥0 whose objective value is at most that of every z≥0z \ge 0z≥0.

A trivializing formalization is ruled out: replacing UUU by any closed form other than the one fixed by (3.4) (for instance U(z,C)=CU(z, C) = CU(z,C)=C, the fluid utilization of Remark 3.8) would change the problem and reduce (3.5) to the dual (2.3); and the goal asserts the identification E=1−e−yE = 1 - e^{-y}E=1−e−y rather than restating the existence and uniqueness that is already Proved.

A complete development needs: inverse-function arguments for a strictly increasing continuous map of [0,∞)[0, \infty)[0,∞), derivatives of interval integrals with continuous integrands, strict convexity of separable sums, and first-order optimality conditions for convex functions on the nonnegative orthant. The facts about Erlang's formula and about UUU are reusable in any reduced-load analysis. Proofs of individual milestones are welcome independently.

Selected references

  • F. P. Kelly, Loss networks, The Annals of Applied Probability 1(3):319–378, 1991. https://doi.org/10.1214/aoap/1177005872
  • F. P. Kelly, Blocking probabilities in large circuit-switched networks, Advances in Applied Probability 18:473–505, 1986 (reference [33] of Kelly 1991; DOI not verified offline).
  • F. P. Kelly and E. Yudovina, Stochastic Networks, Cambridge University Press, 2014 (the source of the Proved platform items referenced here; DOI not verified offline).
13 thms4 active usersReviewed
Convex OptimizationOperations ResearchOptimization+1·Captain: mikedeng1

Loss Networks 1: The Primal Problem Has a Unique Optimum x_r = ν_r ∏_j (1 − B_j)^{A_jr}; the Conditions on B Are Solvable, Uniquely if rank A = J, and Biject with Dual OptimaResearch Paper

Motivation

A loss network carries calls that require capacity on one or more links. A call is accepted only when every required link has enough free circuits; otherwise it is lost. This makes the traffic on different links dependent even when calls on different routes arrive independently. Network operators need to know where capacity constraints bind and how offered traffic is converted into carried traffic. Kelly's 1991 survey develops a continuous optimization problem that identifies a characteristic flow vector and gives a linkwise description of blocking in this setting. Kelly, Loss networks (1991), §§1.2 and 2.1.

The paper begins with the equilibrium distribution of the discrete network and uses a continuous relaxation when analyzing its likely state. The resulting primal problem is useful beyond the original probability calculation because it links route flows, capacity constraints, and a convex dual. Theorem 2.8 collects the existence, uniqueness, and correspondence statements for these descriptions. This mission targets that theorem and the intermediate claims Kelly states in §2.1. Kelly (1991), pp. 327–329.

Setting

There are finitely many links jjj and finitely many routes rrr. Link jjj has CjC_jCj​ circuits, and one call on route rrr uses AjrA_{jr}Ajr​ circuits there, with AjrA_{jr}Ajr​ a nonnegative integer. Calls request route rrr at positive offered rate νr\nu_rνr​. The matrix AAA need not be a zero–one incidence matrix: one call may use more than one circuit on a link. Kelly's fixed-routing model and its general integer matrix are described in §1.2. Kelly (1991), p. 321.

A real route-flow vector x=(xr)x=(x_r)x=(xr​) is primal feasible if xr≥0x_r\ge0xr​≥0 for every route and ∑rAjrxr≤Cj\sum_r A_{jr}x_r\le C_j∑r​Ajr​xr​≤Cj​ for every link. The objective is

F(x)=∑r(xrlog⁡νr−xrlog⁡xr+xr),F(x)=\sum_r\bigl(x_r\log\nu_r-x_r\log x_r+x_r\bigr),F(x)=r∑​(xr​logνr​−xr​logxr​+xr​),

with xrlog⁡xr=0x_r\log x_r=0xr​logxr​=0 at xr=0x_r=0xr​=0. The primal optimum maximizes FFF over precisely this feasible set. This is the continuous problem (2.1), rather than an optimization over the integer-valued network state. Kelly (1991), p. 327, (2.1).

A nonnegative vector y=(yj)y=(y_j)y=(yj​) assigns one multiplier to each link. The dual objective is

D(y)=∑rνrexp⁡ ⁣(−∑jyjAjr)+∑jyjCj,yj≥0.D(y)=\sum_r\nu_r\exp\!\left(-\sum_jy_jA_{jr}\right)+\sum_jy_jC_j, \qquad y_j\ge0.D(y)=r∑​νr​exp(−j∑​yj​Ajr​)+j∑​yj​Cj​,yj​≥0.

A blocking vector B=(Bj)B=(B_j)B=(Bj​) has 0≤Bj<10\le B_j<10≤Bj​<1. Its carried route flow is νr∏i(1−Bi)Air\nu_r\prod_i(1-B_i)^{A_{ir}}νr​∏i​(1−Bi​)Air​. The conditions on BBB say that the total carried flow through link jjj equals CjC_jCj​ when Bj>0B_j>0Bj​>0, and is at most CjC_jCj​ when Bj=0B_j=0Bj​=0. The multiplier and blocking coordinates are related by Bj=1−e−yjB_j=1-e^{-y_j}Bj​=1−e−yj​, equivalently yj=−log⁡(1−Bj)y_j=-\log(1-B_j)yj​=−log(1−Bj​). These are equations (2.3), (2.6), and (2.7). Kelly (1991), p. 328.

Formalization targets

Theorem 2.8: primal optimum, blocking solutions, and dual optima

The goal first asserts that the primal problem has exactly one optimizer. Every blocking solution must describe that same optimizer:

xr=νr∏j(1−Bj)Ajrfor every route r.x_r=\nu_r\prod_j(1-B_j)^{A_{jr}}\quad\text{for every route }r.xr​=νr​j∏​(1−Bj​)Ajr​for every route r.

It also asserts that a blocking solution exists, and that it is unique if AAA has rank JJJ, the number of links. Finally, the transformations Bj=1−e−yjB_j=1-e^{-y_j}Bj​=1−e−yj​ and yj=−log⁡(1−Bj)y_j=-\log(1-B_j)yj​=−log(1−Bj​) give a bijection between all blocking solutions and all dual optima. The formal goal includes both directions and both inverse identities, even when the dual optimizer is not unique. Kelly (1991), p. 329, Theorem 2.8.

Claims leading to the theorem

The milestone list follows Kelly's stated progression: unique primal attainment; the Lagrangian maximum and the dual value in (2.2); feasibility and complementary slackness in (2.4)–(2.5); the substitution (2.6); dual attainment; both directions of the blocking–dual correspondence; and strict convexity plus uniqueness under full row rank. One direction of the correspondence is an existing, proved platform theorem, KellyStochasticNetworks.dual_optimum_conditions; it is referenced directly. The other direction remains a new target. Kelly (1991), pp. 327–329.

Significance

The theorem makes the carried flow uniquely determined even when several blocking vectors or dual optimizers describe it. Under full row rank, it also identifies a unique linkwise blocking vector. Its correspondence lets a statement in the flow language be translated to a statement in the multiplier language without selecting a preferred optimizer. The interpretation following Theorem 2.8 explains the linkwise condition: positive blocking occurs only on a saturated link. Kelly (1991), p. 329, discussion after Theorem 2.8.

The mathematical result was proved in the source paper. The work here is to obtain machine-checked proofs of its exact finite-dimensional statements. The published Kelly–Yudovina definition KellyStochasticNetworks.dualObjective already represents the dual formula, and its proved optimum-conditions theorem supplies one direction of the correspondence. The remaining development would give reusable facts about separable entropy objectives, nonnegative linear capacity constraints, complementary slackness, and exponential coordinate changes. Those facts can support later loss-network formalizations without changing this mission's target.

Difficulty

The boundary xr=0x_r=0xr​=0 requires care: the objective has a continuous value there, but its logarithmic derivative does not. Thus a calculation that differentiates the objective throughout the closed nonnegative cone does not justify the printed differentiability sentence on p. 327. Dual existence is another boundary issue. A nonnegative capacity permits Cj=0C_j=0Cj​=0, while the paper's stated growth of the dual objective in every nonnegative coordinate can fail at that input. Any formal argument for the complete theorem must cover these domains accurately. Full row rank controls uniqueness of the dual coordinates; without it, the paper explicitly allows nonunique blocking solutions. Kelly (1991), pp. 327–329.

Formalization scope

Lean represents links by Fin J, routes by Fin R, AjrA_{jr}Ajr​ and CjC_jCj​ by natural numbers, and xrx_rxr​, yjy_jyj​, BjB_jBj​, and νr\nu_rνr​ by real numbers. The primal feasible set includes both coordinatewise nonnegativity and every link-capacity inequality. The dual optimum is minimal over the nonnegative orthant, using the published dual objective. The finite sums and products have their usual empty-index values; no hidden nonemptiness assumption is imposed. Matrix rank is taken over the reals and compared with JJJ, so the rank condition is full row rank.

The goal assumes νr>0\nu_r>0νr​>0 and Cj≥1C_j\ge1Cj​≥1 for every route and link. Positive rates give the logarithm in the primal objective its intended meaning. Positive capacities exclude a degeneracy in the dual-attainment and blocking parts of the theorem. The value at xr=0x_r=0xr​=0 is the continuous extension xrlog⁡xr=0x_r\log x_r=0xr​logxr​=0; no differentiability assertion at that boundary is part of the formal target. Blocking values belong to [0,1)[0,1)[0,1), so the inverse logarithm is evaluated on a positive number. A flow optimum always ranges over the exact primal feasible set, and a blocking solution always ranges over the full conditions (2.7); neither can be replaced by an arbitrary vector with a convenient equation.

A complete proof may require finite-dimensional convex analysis, strict concavity of the entropy term, attainment on a closed feasible set, the dual first-order condition, and facts about exponentials, logarithms, products, and matrix rank. The definitions and theorems are kept separate so work on these pieces can be reused. Contributions proving either a milestone or a reusable supporting lemma are in scope.

Selected references

  • F. P. Kelly, Loss networks, The Annals of Applied Probability 1(3), 319–378, 1991. DOI: 10.1214/aoap/1177005872.
11 thms3 active usersReviewed
Graph TheoryOperations ResearchProbability+1·Captain: mikedeng1

Loss Networks 3: If E e^{λX} < ∞ and 2E(X − C)⁺ < E(C − X)⁺, i.i.d. Loads on the Complete Graph Fit on Direct and Two-Edge Routes with Probability → 1Research Paper

Motivation

Telephone and data networks are often fully connected at the core: every pair of switching centres has a direct trunk group, and a call that finds its direct trunk full may be alternatively routed over a two-link path through a third, tandem centre. Whether such a network can absorb fluctuations of demand without losing traffic depends on how the spare capacity of lightly loaded links can be borrowed by heavily loaded ones. F. P. Kelly's survey Loss networks (Ann. Appl. Probab., 1991, doi:10.1214/aoap/1177005872) studies this question in §4.6, "Results respecting graph structure", by looking at a static snapshot of the network: random loads on the edges of a complete graph, and the question whether they can all be carried at once.

Timeline:

  • Hajek (1986, personal communication cited as [21] in the survey) considered edges coloured independently red (a pair that needs twice an edge's capacity) or white (an idle edge), and proved that for red probability p<1/3p<1/3p<1/3 all red pairs can be served over white two-edge paths with probability tending to one (Theorem 4.40, p. 357).
  • Hajek (1987, [22]) showed the same threshold for routing each red pair on a single two-edge path (Theorem 4.43, quoted, p. 358).
  • Kelly (1991, Theorem 4.45, p. 358) extended Theorem 4.40 from two-valued loads to general i.i.d. loads with an exponential moment, under the condition 2 E(X−C)+<E(C−X)+2\,\mathbb E(X-C)^+<\mathbb E(C-X)^+2E(X−C)+<E(C−X)+. The survey gives the proof in full on p. 359.

Setting

Let K≥1K\ge 1K≥1 and consider the complete graph on the nodes {0,…,K−1}\{0,\dots,K-1\}{0,…,K−1}: every unordered pair e={a,b}e=\{a,b\}e={a,b} of distinct nodes is an edge, and there are 12K(K−1)\tfrac12K(K-1)21​K(K−1) edges. Every edge has capacity CCC.

An offered load xe≥0x_e\ge 0xe​≥0 is attached to every edge eee. The load of e={a,b}e=\{a,b\}e={a,b} may be carried on its direct edge, or on a two-edge route a−k−ba-k-ba−k−b through a tandem node k∉ek\notin ek∈/e; such a route uses the two edges {a,k}\{a,k\}{a,k} and {b,k}\{b,k\}{b,k}. Loads are divisible. The loads are routable with capacity CCC if there are flows fe,k≥0f_{e,k}\ge 0fe,k​≥0 (zero when k∈ek\in ek∈e) with ∑kfe,k≤xe\sum_k f_{e,k}\le x_e∑k​fe,k​≤xe​ such that on every edge ggg

(xg−∑kfg,k)+∑(e,k): g on the route of e via kfe,k≤C,\Big(x_g-\sum_k f_{g,k}\Big)+\sum_{(e,k):\ g \text{ on the route of } e \text{ via } k} f_{e,k}\le C,(xg​−k∑​fg,k​)+(e,k): g on the route of e via k∑​fe,k​≤C,

i.e. the directly carried part of ggg's own load plus all two-edge traffic passing through ggg is at most CCC.

The loads are random: XXX is a nonnegative real random variable with law μ\muμ, and the loads (xe)(x_e)(xe​) are independent, each distributed as XXX. Let

P(K)=P{the loads on the complete graph on K nodes are routable}.P(K)=\mathbb P\{\text{the loads on the complete graph on } K \text{ nodes are routable}\}.P(K)=P{the loads on the complete graph on K nodes are routable}.

Write E(X−C)+\mathbb E(X-C)^+E(X−C)+ for the mean excess of a load over the capacity and E(C−X)+\mathbb E(C-X)^+E(C−X)+ for the mean spare capacity.

Formalization targets

Goal: Theorem 4.45

If E eλX<∞\mathbb E\,e^{\lambda X}<\inftyEeλX<∞ for some λ>0\lambda>0λ>0 and

2 E(X−C)+<E(C−X)+(4.46)2\,\mathbb E(X-C)^+<\mathbb E(C-X)^+ \tag{4.46}2E(X−C)+<E(C−X)+(4.46)

then

P(K)→1(K→∞).P(K)\to 1 \qquad (K\to\infty).P(K)→1(K→∞).

Milestones (in the order of the proof on pp. 358–359)

With m=E(C−X)+m=\mathbb E(C-X)^+m=E(C−X)+ and 0<ε<m20<\varepsilon<m^20<ε<m2:

  1. In each triangle the cyclic reservations (xe−C)+(C−xak)+(C−xbk)+/((K−2)(m2−ε))(x_e-C)^+(C-x_{ak})^+(C-x_{bk})^+/((K-2)(m^2-\varepsilon))(xe​−C)+(C−xak​)+(C−xbk​)+/((K−2)(m2−ε)) are positive at most once, and only for an overloaded edge routed through two underloaded ones.
  2. If every overloaded edge's reservations cover its excess and no underloaded edge has more reserved through it than it has spare, the loads are routable.
  3. E Y=m2/(m2−ε)>1\mathbb E\,Y=m^2/(m^2-\varepsilon)>1EY=m2/(m2−ε)>1 for Y=(C−X2)+(C−X3)+/(m2−ε)Y=(C-X_2)^+(C-X_3)^+/(m^2-\varepsilon)Y=(C−X2​)+(C−X3​)+/(m2−ε).
  4. E Z=2 E(X−C)+ m/(m2−ε)<1\mathbb E\,Z=2\,\mathbb E(X-C)^+\,m/(m^2-\varepsilon)<1EZ=2E(X−C)+m/(m2−ε)<1 for small ε\varepsilonε, for Z=((X1−C)+(C−X2)++(X2−C)+(C−X1)+)/(m2−ε)Z=\big((X_1-C)^+(C-X_2)^++(X_2-C)^+(C-X_1)^+\big)/(m^2-\varepsilon)Z=((X1​−C)+(C−X2​)++(X2​−C)+(C−X1​)+)/(m2−ε).
  5. (4.48): P{∑i≤nn−1Yi<1}≤e−nI1\mathbb P\{\sum_{i\le n} n^{-1}Y_i<1\}\le e^{-nI_1}P{∑i≤n​n−1Yi​<1}≤e−nI1​ for some I1>0I_1>0I1​>0 and all n≥1n\ge 1n≥1.
  6. (4.49): P{∑i≤nn−1Zi>1}≤e−nI2\mathbb P\{\sum_{i\le n} n^{-1}Z_i>1\}\le e^{-nI_2}P{∑i≤n​n−1Zi​>1}≤e−nI2​ for some I2>0I_2>0I2​>0 and all n≥1n\ge 1n≥1, when XXX has an exponential moment.
  7. 1−P(K)≤12K(K−1) (P1(K−2)+P2(K−2))1-P(K)\le\tfrac12K(K-1)\,(P_1(K-2)+P_2(K-2))1−P(K)≤21​K(K−1)(P1​(K−2)+P2​(K−2)).

Significance

The result. Theorem 4.45 says that in a large fully connected network, a load distribution whose mean overload is less than half its mean spare capacity can be served, with probability tending to one, using only direct and two-link routes. The factor 222 reflects that each unit of overflow occupies two edges. The condition is explicit and depends on the load law only through two expectations, which makes it a design rule: capacity CCC suffices for large networks as soon as (4.46) holds. Comment 4.47 (p. 358) observes that the two-valued law P{X=2}=p\mathbb P\{X=2\}=pP{X=2}=p, P{X=0}=1−p\mathbb P\{X=0\}=1-pP{X=0}=1−p with C=1C=1C=1 turns (4.46) into Hajek's threshold p<1/3p<1/3p<1/3.

Formalizing it. The theorem is proved, in full, on one page; nothing here is open. The mission produces a machine-checked version of that proof: a precise routing event on the complete graph, the deterministic reservation argument, two Cramér–Chernoff tail bounds with rates uniform in the network size, and the union bound over edges. To our knowledge none of these steps is formalized anywhere, and no routing-feasibility event on a complete graph exists in Mathlib or on the platform.

Difficulty

The obvious approach is to fix an overloaded edge and argue that, among its K−2K-2K−2 two-edge routes, enough pass through two underloaded edges. That count is binomial and concentrates, but it does not prove the theorem: the same underloaded edge sits on two-edge routes of many overloaded pairs, so the reservations of different pairs compete for its spare capacity, and the routing decisions of different pairs are dependent. Any argument has to control, simultaneously at every edge, both the flow an overloaded edge can shed and the flow an underloaded edge is asked to absorb, with exponential rates uniform in KKK so that a union bound over 12K(K−1)\tfrac12K(K-1)21​K(K−1) edges survives; this is the central difficulty. On the upper side the variables are unbounded, so the exponential moment of XXX has to be carried over to the reserved flows.

Formalization scope

The Lean development lives in the namespace KellyLossNetworks.Routing.

  • Edges are {e : Sym2 (Fin K) // ¬ e.IsDiag}; loads are functions Edge K → ℝ.
  • The routing event Feasible C x lets each pair split its load arbitrarily over its direct edge and all its two-edge routes, charges a two-edge flow to both edges of its route, requires the flow sent away from a pair not to exceed its load, and imposes the capacity constraint on every edge, including overloaded ones. Flows are real (divisible loads); integer routing is a different problem.
  • "Independent and identically distributed" is the product measure Measure.pi (fun _ : Edge K => μ), with μ a probability measure on ℝ and X ≥ 0 almost surely. P(K)P(K)P(K) is the measure of the routing event; no measurability of that event is presupposed.
  • Expectations are Bochner integrals. The exponential moment is integrability of t↦eθtt\mapsto e^{\theta t}t↦eθt for some θ>0\theta>0θ>0; it implies that (X−C)+(X-C)^+(X−C)+ is integrable, so (4.46) compares genuine expectations.
  • The limit is along K∈NK\in\mathbb NK∈N with no lower bound on KKK; for K≤2K\le 2K≤2 there are no two-edge routes, which does not affect the limit.
  • The rates I1,I2I_1,I_2I1​,I2​ in (4.48) and (4.49) are quantified before nnn and may not depend on it.

A trivializing formalization is ruled out: an event that allows only direct routing, ignores the capacity of the edges a detour passes through, or lets a pair send away more than its load would make the statement false or empty, and the routing event here does none of these.

A complete development needs Fubini on product measures, the Cramér–Chernoff method for averages of i.i.d. variables (both tails, with the lower tail for a bounded nonnegative variable and the upper tail under an exponential moment), measure-preserving projections of Measure.pi, and combinatorics of the triangles through an edge of the complete graph. The Cramér–Chernoff bounds with rates uniform in nnn are reusable well beyond this mission. Contributions to any milestone are welcome; the deterministic milestones 1–2 and the expectation computations 3–4 are independent of the tail bounds and of each other.

Selected references

  • F. P. Kelly, Loss networks, Annals of Applied Probability 1(3):319–378, 1991. doi:10.1214/aoap/1177005872
  • B. Hajek, Average case analysis of greedy algorithms for Kelly's triangle problem and the independent set problem, 26th IEEE Conference on Decision and Control, 1987 (reference [22] of the survey; the source of Theorem 4.43).
  • H. Chernoff, A measure of asymptotic efficiency for tests of a hypothesis based on the sum of observations, Annals of Mathematical Statistics 23(4):493–507, 1952. doi:10.1214/aoms/1177729330
9 thms1 active userReviewed
PreviousNext

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