Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Optimization

1,681 missions · 910 completed

Missions

Open771Completed910All1681
🏆Completed
AnalysisOperations Research·Captain: mikedeng1

Vertical Integration and Antitrust Policy: Integrating Successive Monopolies Lowers the Final Price and Raises Output, Joint Profit and Consumer SurplusResearch Paper

Motivation

In 1950 the United States Supreme Court appeared to be moving toward treating corporate integration, horizontal or vertical, as illegal per se under the antitrust laws. Joseph J. Spengler's note in the Journal of Political Economy argued that this conflates two different things: horizontal integration can suppress competition, but vertical integration, the joining of successive stages of production under one owner, can lower prices when the stages are already imperfectly competitive. The note is the standard origin of what industrial organization now calls double marginalization: when a monopolist upstream sells to a monopolist downstream, each adds its own markup, and the final price is higher than a single integrated monopolist would charge.

The argument underlies the modern economics of vertical mergers and vertical restraints (resale price maintenance, two-part tariffs, franchise fees) and the supply-chain coordination literature in operations research, where a wholesale-price contract between a supplier and a retailer reproduces the same distortion.

A short timeline: Cournot (1838, Chapter IX) analysed complementary monopolists selling inputs to a common product; Spengler (1950) gave the successive-monopoly version and drew the antitrust conclusion; Tirole's textbook (1988, §4.2) made it the canonical example of vertical externalities; Cachon and Lariviere (2005) and the coordination literature studied the same inefficiency in newsvendor supply chains.

Setting

A product passes through three successive stages A→B→CA\to B\to CA→B→C before reaching consumers. Production uses fixed proportions: one unit of stage A's product goes into one unit of B's, and one unit of B's into one unit of C's, so all stages handle the same quantity. Each stage has a constant unit variable cost Va,Vb,VcV_a,V_b,V_cVa​,Vb​,Vc​ (marginal cost equal to average variable cost at every relevant output).

Final demand is a function D:R→RD:\mathbb R\to\mathbb RD:R→R: D(p)D(p)D(p) units of CCC are bought at price ppp. A firm with constant unit cost ccc that sells at price ppp earns the profit (return above variable outlay)

πc(p)=(p−c) D(p),\pi_c(p)=(p-c)\,D(p),πc​(p)=(p−c)D(p),

and ppp is a profit-maximizing price at cost ccc when πc(x)≤πc(p)\pi_c(x)\le\pi_c(p)πc​(x)≤πc​(p) for every xxx.

Unintegrated chain. Stage A sells to B at a transfer price PaP_aPa​, B sells to C at PbP_bPb​. Their per-unit profits are Ra=Pa−VaR_a=P_a-V_aRa​=Pa​−Va​ and Rb=Pb−(Vb+Pa)R_b=P_b-(V_b+P_a)Rb​=Pb​−(Vb​+Pa​); horizontal integration within each stage lets these be positive "monopolistic surcharges". Stage C's unit cost is Cc=Vc+PbC_c=V_c+P_bCc​=Vc​+Pb​; it charges a profit-maximizing price PcP_cPc​ at that cost and sells Q=D(Pc)Q=D(P_c)Q=D(Pc​). The chain's aggregate profit is RaQ+RbQ+RcQR_aQ+R_bQ+R_cQRa​Q+Rb​Q+Rc​Q with Rc=Pc−(Vc+Pb)R_c=P_c-(V_c+P_b)Rc​=Pc​−(Vc​+Pb​).

Integrated firm. One firm owns all three stages. Its unit cost is Cc′=Va+Vb+VcC'_c=V_a+V_b+V_cCc′​=Va​+Vb​+Vc​; it charges a profit-maximizing price Pc′P'_cPc′​ at that cost and sells Q′=D(Pc′)Q'=D(P'_c)Q′=D(Pc′​), earning (Pc′−Cc′) Q′(P'_c-C'_c)\,Q'(Pc′​−Cc′​)Q′.

The price elasticity of demand at ppp is e(p)=−p D′(p)/D(p)e(p)=-p\,D'(p)/D(p)e(p)=−pD′(p)/D(p) (positive for a downward-sloping curve) and the marginal revenue is r(p)=p+D(p)/D′(p)r(p)=p+D(p)/D'(p)r(p)=p+D(p)/D′(p). The consumers' surplus gained when the price falls from PcP_cPc​ to Pc′P'_cPc′​ is ∫Pc′PcD(x) dx\int_{P'_c}^{P_c}D(x)\,dx∫Pc′​Pc​​D(x)dx.

Formalization targets

Goal: vertical integration benefits producer and consumer

For every non-increasing demand curve DDD, all unit costs Va,Vb,VcV_a,V_b,V_cVa​,Vb​,Vc​, and all transfer prices with Ra>0R_a>0Ra​>0, Rb>0R_b>0Rb​>0, if PcP_cPc​ is profit-maximizing at cost Vc+PbV_c+P_bVc​+Pb​, Pc′P'_cPc′​ is profit-maximizing at cost Va+Vb+VcV_a+V_b+V_cVa​+Vb​+Vc​, DDD is differentiable at PcP_cPc​ and Q=D(Pc)>0Q=D(P_c)>0Q=D(Pc​)>0, then

Pc′<Pc,D(Pc)<D(Pc′),RaQ+RbQ+RcQ<(Pc′−Cc′) Q′,P'_c<P_c,\qquad D(P_c)<D(P'_c),\qquad R_aQ+R_bQ+R_cQ<(P'_c-C'_c)\,Q',Pc′​<Pc​,D(Pc​)<D(Pc′​),Ra​Q+Rb​Q+Rc​Q<(Pc′​−Cc′​)Q′, 0<∫Pc′PcD(x) dx,Q (Pc−Pc′)≤∫Pc′PcD(x) dx.0<\int_{P'_c}^{P_c}D(x)\,dx,\qquad Q\,(P_c-P'_c)\le\int_{P'_c}^{P_c}D(x)\,dx.0<∫Pc′​Pc​​D(x)dx,Q(Pc​−Pc′​)≤∫Pc′​Pc​​D(x)dx.

The goal fixes no functional form and no numbers; it is the general statement behind the paper's "under all cases conceivable … within the framework here employed".

Milestones

  1. Footnote 6, equilibrium identities. At a profit-maximizing price, r=cr=cr=c, e=p/(p−r)=p/(p−c)e=p/(p-r)=p/(p-c)e=p/(p−r)=p/(p−c), and p=c e/(e−1)p=c\,e/(e-1)p=ce/(e−1) when c≠0c\ne0c=0.
  2. Section III, unitary elasticity. At zero cost, e=1e=1e=1; at positive cost, p>cp>cp>c and e>1e>1e>1.
  3. Section III, cost raises price. For c1<c2c_1<c_2c1​<c2​, profit-maximizing prices satisfy D(p2)≤D(p1)D(p_2)\le D(p_1)D(p2​)≤D(p1​), and p1<p2p_1<p_2p1​<p2​ under the goal's regularity hypotheses.
  4. Footnote 6, straight-line demand. For D(p)=b(a−p)D(p)=b(a-p)D(p)=b(a−p): p∗(c)=(a+c)/2p^*(c)=(a+c)/2p∗(c)=(a+c)/2, Δr=2Δp\Delta r=2\Delta pΔr=2Δp, e(p∗(c))=(a+c)/(a−c)e(p^*(c))=(a+c)/(a-c)e(p∗(c))=(a+c)/(a−c), the elasticity rises relatively more than the price, and the relative rise grows with ccc.
  5. Figure 1. With Dc(p)=85(140−p)D_c(p)=\tfrac85(140-p)Dc​(p)=58​(140−p) and Va=Vb=Vc=20V_a=V_b=V_c=20Va​=Vb​=Vc​=20: Pc=115P_c=115Pc​=115, Q=40Q=40Q=40, aggregate profit 2,2002{,}2002,200; Pc′=100P'_c=100Pc′​=100, Q′=64Q'=64Q′=64, profit 2,5602{,}5602,560; consumers' surplus rises by 780780780.

Significance

The result. The theorem shows that removing an upstream markup can only lower the final price and raise output, so that producers and consumers gain together. This is the economic content of the rule that vertical integration is not anticompetitive as such, and it is the reason modern merger guidelines credit the "elimination of double marginalization" as an efficiency of vertical mergers. Milestone 3, monotonicity of the monopoly price in cost, is the general comparative-statics fact used in tax incidence and cost pass-through.

Formalizing it. The result is classical and proved in every industrial-organization textbook, usually for linear demand. The mission states it for an arbitrary non-increasing demand curve, without concavity, continuity or uniqueness of the profit maximizer, which makes explicit which hypotheses the strict conclusions actually need. Related items on the platform formalize double marginalization in a different model, the newsvendor wholesale-price contract of Cachon and Lariviere, where the supplier-induced order quantity falls short of the integrated one; this mission covers the price-setting, deterministic-demand version.

Difficulty

The weak inequalities (Pc′≤PcP'_c\le P_cPc′​≤Pc​, Q≤Q′Q\le Q'Q≤Q′, profit ≤\le≤) follow from comparing the two maximization problems (the price comparison also uses Q>0Q>0Q>0: if D≡0D\equiv 0D≡0, every price is profit-maximizing). The strict inequalities do not: a demand curve with a kink can have the same profit-maximizing price at two different costs, so integration need not change the price at all. The strict claims therefore need a first-order condition at PcP_cPc​, and the argument has to combine global optimality (all prices) with local information (a derivative at one point) without assuming the profit function is concave or the maximizer unique. The consumers'-surplus clause requires a lower bound on an integral of a monotone, possibly discontinuous function.

Formalization scope

  • Prices, costs and quantities are real numbers; maximization is over all prices p∈Rp\in\mathbb Rp∈R. Demand is a function D:R→RD:\mathbb R\to\mathbb RD:R→R; the goal assumes only that it is non-increasing (Antitone D).
  • Profit-maximizing prices are hypotheses (IsProfitMax D c p), never closed forms; the closed form (a+c)/2(a+c)/2(a+c)/2 appears only for straight-line demand.
  • The transfer prices Pa,PbP_a,P_bPa​,Pb​ are arbitrary data with positive markups; they need not be profit-maximizing for Da,DbD_a,D_bDa​,Db​, which the paper draws only in its figure.
  • Explicit readings of the paper's prose. "Benefits both producer and consumer" and "will lower the price" become the four strict inequalities of the goal. "Aggregate profit" is the sum over the three stages, Q[Pc−(Va+Vb+Vc)]Q[P_c-(V_a+V_b+V_c)]Q[Pc​−(Va​+Vb​+Vc​)], not stage C's profit alone. Consumers' surplus "in the Marshallian sense" is the interval integral of DDD between the two prices; footnote 5's trapezoid formula is used only for the straight line of Figure 1. Elasticity is a positive number −pD′(p)/D(p)-pD'(p)/D(p)−pD′(p)/D(p). "Relatively greater increment in the elasticity" is made exact for straight-line demand as e(p∗(c′))/e(p∗(c))>p∗(c′)/p∗(c)e(p^*(c'))/e(p^*(c))>p^*(c')/p^*(c)e(p∗(c′))/e(p∗(c))>p∗(c′)/p∗(c); the literal Δe/e>Δc/c\Delta e/e>\Delta c/cΔe/e>Δc/c is false for small ccc. Footnote 6's e′=(p+Δp)/(p−2Δp)e'=(p+\Delta p)/(p-2\Delta p)e′=(p+Δp)/(p−2Δp) and "approximating 3Δp/p3\Delta p/p3Δp/p" are a printed slip; the exact e(p∗(c))=(a+c)/(a−c)e(p^*(c))=(a+c)/(a-c)e(p∗(c))=(a+c)/(a−c) is stated instead, and no approximation is formalized. Figure 1's demand line Dc(p)=85(140−p)D_c(p)=\tfrac85(140-p)Dc​(p)=58​(140−p) is the line through the three points the text gives.
  • Added hypotheses. Differentiability of DDD at PcP_cPc​ and D(Pc)>0D(P_c)>0D(Pc​)>0, which the paper's marginal-revenue reasoning presupposes. Every statement involving elasticity or marginal revenue carries differentiability and positive demand, because Lean's deriv and division return 000 on bad input.
  • Ruled out. Formalizations that hard-code linear demand in the goal, compare the integrated profit with stage C's profit alone, or prove only the weak (≤\le≤) inequalities do not capture the result.
  • Sections IV and the policy remarks of Section III (rent evasion, taxes, co-operatives) are not formalized.
  • Only Mathlib is needed: Fermat's rule (IsLocalMax.hasDerivAt_eq_zero), interval integrals of monotone functions, and real arithmetic. Proofs of the general milestones are reusable for any monopoly-pricing comparative statics.

Selected references

  • J. J. Spengler, Vertical integration and antitrust policy, Journal of Political Economy 58(4), 1950, 347–352. https://doi.org/10.1086/256964
  • A. A. Cournot, Recherches sur les principes mathématiques de la théorie des richesses, Hachette, 1838, Chapter IX.
  • J. Tirole, The Theory of Industrial Organization, MIT Press, 1988, §4.2.
  • G. P. Cachon and M. A. Lariviere, Supply chain coordination with revenue-sharing contracts: strengths and limitations, Management Science 51(1), 2005, 30–44. https://doi.org/10.1287/mnsc.1040.0215
7 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

Some Theoretical Aspects of Road Traffic Research II: Equal Journey Times on Alternative Routes — Exactly the Routes with bᵢ < t Are Used, qᵢ = pᵢ(1 − bᵢ/t)Research Paper

Motivation

Planning a road improvement requires an estimate of how traffic will redistribute over the routes affected. Because speed falls as flow rises, sending every vehicle along the route that is quickest today changes which route is quickest. J. G. Wardrop posed the question in its simplest setting in 1952: a given flow QQQ chooses among DDD alternative routes between one origin and one destination, and the journey time on each route rises with the flow on it. He proposed two criteria for the resulting distribution. The first, equal journey times, became known as Wardrop's first principle or user equilibrium: "the journey times on all the routes actually used are equal, and less than those which would be experienced by a single vehicle on any unused route." It describes the state in which no driver can shorten their trip by switching routes, and it is the equilibrium notion behind traffic-assignment models and the theory of selfish routing.

Timeline:

  • 1952. Wardrop states both criteria and, for parallel routes with journey times of the form (22), derives the closed-form equal-times split (23)–(24) (Wardrop 1952, p. 345).
  • 1956. Beckmann, McGuire and Winsten show that, on general networks with increasing link costs, the equal-times conditions are the optimality conditions of a convex program, which gives existence and uniqueness of link flows (Beckmann et al. 1956).
  • 2014. Kelly and Yudovina give a textbook treatment of the network case (Kelly–Yudovina 2014, ch. 4); its existence theorem is on Prove2Me for total, continuous, increasing delay functions.

Setting

There are DDD routes, i=1,…,Di = 1, \dots, Di=1,…,D. Route iii has two positive constants: bib_ibi​, its journey time when no additional traffic uses it, and pip_ipi​, the additional flow at which its speed would drop to zero. When an additional flow xxx uses route iii, its journey time is

ti(x)=bi1−x/pi,0≤x<pi.(22)t_i(x) = \frac{b_i}{1 - x/p_i}, \qquad 0 \le x < p_i. \tag{22}ti​(x)=1−x/pi​bi​​,0≤x<pi​.(22)

This form comes from a linear speed/flow relation on each route. A feasible split of the total flow QQQ is a vector q=(q1,…,qD)q = (q_1, \dots, q_D)q=(q1​,…,qD​) with 0≤qi<pi0 \le q_i < p_i0≤qi​<pi​ and ∑iqi=Q\sum_i q_i = Q∑i​qi​=Q. A feasible split qqq satisfies the equal-times criterion with common time ttt when

  • every used route (qi>0q_i > 0qi​>0) has ti(qi)=tt_i(q_i) = tti​(qi​)=t, and
  • every unused route (qi=0q_i = 0qi​=0) has t≤bit \le b_it≤bi​, so a single vehicle could not do better than ttt by moving to it.

Write U(t)={i:bi<t}U(t) = \{ i : b_i < t \}U(t)={i:bi​<t} for the routes whose empty-route time is below ttt. In Lean these objects are routeTime b p i x, IsFeasible p Q q, IsEqualTimes b p Q q t and usedSet b t, all in the namespace WardropTraffic.EqualTimes.

Formalization targets

Goal: the closed form (23)–(24)

For every QQQ, ttt and qqq, the split qqq is feasible and satisfies the equal-times criterion with common time ttt if and only if

qi={pi(1−bit)bi<t,0otherwise,Q=∑i∈U(t)pi−1t∑i∈U(t)pibi.q_i = \begin{cases} p_i\left(1 - \dfrac{b_i}{t}\right) & b_i < t,\\[4pt] 0 & \text{otherwise,}\end{cases} \qquad Q = \sum_{i \in U(t)} p_i - \frac{1}{t}\sum_{i \in U(t)} p_i b_i .qi​=⎩⎨⎧​pi​(1−tbi​​)0​bi​<t,otherwise,​Q=i∈U(t)∑​pi​−t1​i∈U(t)∑​pi​bi​.

This states which routes are used, the flow on each, and the relation between the total flow and the common journey time. The milestones are the steps of Wardrop's derivation:

  1. ti(x)≥bit_i(x) \ge b_iti​(x)≥bi​ for 0≤x<pi0 \le x < p_i0≤x<pi​, with equality exactly when x=0x = 0x=0;
  2. a route in use has bi<tb_i < tbi​<t;
  3. every route with bi<tb_i < tbi​<t is in use;
  4. on a route in use, qi=pi(1−bi/t)q_i = p_i(1 - b_i/t)qi​=pi​(1−bi​/t), equation (23).

Companion: the equal-times split exists and is unique

If 0<Q<∑ipi0 < Q < \sum_i p_i0<Q<∑i​pi​, there is exactly one pair (q,t)(q, t)(q,t) satisfying the criterion. This formalizes the paper's closing sentence, that the solution is found "by picking out the value of ttt which corresponds to the given QQQ".

Significance

The result. For parallel routes with journey times (22), the equilibrium is explicit. The common time ttt is the root of a single scalar equation (24), and the flows follow from ttt by (23). The derivation also shows a threshold structure: a route is used if and only if its empty-route time is below the equilibrium time. Adding flow raises ttt, and the routes enter the set in use one at a time, in increasing order of bib_ibi​. This structure is what the paper's second criterion (minimum average time, the next mission of this series) is compared with.

Formalizing it. The result is classical and its proof is elementary; it has not been machine-checked. The platform has the existence of a Wardrop equilibrium on general networks for delay functions that are total, continuous and increasing on R\mathbb RR, with no closed form. That model excludes the vertical asymptote of (22) at qi=piq_i = p_iqi​=pi​ and has no empty-route time bib_ibi​. This mission adds the closed-form characterization for Wardrop's own model, both directions of it, and the existence and uniqueness of the split, including the corner cases that the printed criterion leaves open.

Difficulty

Each step is short. The difficulty is in the boundaries. The paper labels the routes so that b1<⋯<bDb_1 < \dots < b_Db1​<⋯<bD​ and speaks of "the first jjj routes", with bj<t≯bj+1b_j < t \not> b_{j+1}bj​<t>bj+1​. A faithful formal version has to say what happens at t=bj+1t = b_{j+1}t=bj+1​, at ties among the bib_ibi​, at t≤min⁡ibit \le \min_i b_it≤mini​bi​ (no route is used), and at a route used near capacity. The printed criterion says "less than" for unused routes, yet the derivation's own case split allows equality. With the strict comparison, an equal-times split fails to exist at the values of QQQ where ttt coincides with some bkb_kbk​. The companion's uniqueness requires Q>0Q > 0Q>0: at Q=0Q = 0Q=0 every t≤min⁡ibit \le \min_i b_it≤mini​bi​ is a common time of the zero split. Existence requires a continuity and monotonicity argument for the right-hand side of (24) as a function of ttt.

Formalization scope

  • Routes are indexed by Fin D, and all quantities are real.
  • The standing hypotheses are bi>0b_i > 0bi​>0 and pi>0p_i > 0pi​>0 for every iii. Feasibility includes qi<piq_i < p_iqi​<pi​, the range in which (22) is a positive finite journey time. Without it, Lean's bi/0=0b_i/0 = 0bi​/0=0 would give a route at capacity journey time 000.
  • The criterion is formalized in the weak form t≤bit \le b_it≤bi​ on unused routes, as the paper's derivation uses it. Every split satisfying the printed strict form satisfies it, and the definitions file records the implication. The goal under the weak form is therefore stronger than under the strict one.
  • The ordering b1<⋯<bDb_1 < \dots < b_Db1​<⋯<bD​ is not assumed. "The first jjj routes" becomes the set U(t)={i:bi<t}U(t) = \{i : b_i < t\}U(t)={i:bi​<t}. This generalisation also covers ties.
  • No sign condition on ttt or QQQ is assumed in the goal. For t≤min⁡ibit \le \min_i b_it≤mini​bi​ the term 1/t1/t1/t multiplies an empty sum, and both sides of the equivalence force q=0q = 0q=0 and Q=0Q = 0Q=0.
  • The goal is a two-sided equivalence for arbitrary (Q,q,t)(Q, q, t)(Q,q,t). The companion requires 0<Q<∑ipi0 < Q < \sum_i p_i0<Q<∑i​pi​ and asserts existence and uniqueness. Together they rule out a vacuous reading in which no split satisfies the criterion.

The development needs only the definitions above and basic real analysis (the intermediate value theorem for the companion). The model of a finite family of parallel routes with hyperbolic journey times is reusable for the minimum-average-time criterion. Proofs of the milestones, of the goal and of the companion are welcome.

Selected references

  • J. G. Wardrop, Some theoretical aspects of road traffic research, Proc. Instn Civ. Engrs Part II 1 (1952), 325–362. https://doi.org/10.1680/ipeds.1952.11259
  • M. Beckmann, C. B. McGuire, C. B. Winsten, Studies in the Economics of Transportation, Yale University Press, 1956 (RAND RM-1488, 1955). https://www.rand.org/pubs/research_memoranda/RM1488.html
  • F. Kelly, E. Yudovina, Stochastic Networks, Cambridge University Press, 2014, ch. 4. https://doi.org/10.1017/CBO9781139565363
6 thms2 active usersReviewed
Convex OptimizationFunctional AnalysisOperations Research·Captain: mikedeng1

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

Motivation

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

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

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

Setting

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

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

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

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

Formalization targets

Goal: Theorem 1 (p. 175)

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

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

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

Milestones (in the order the proof uses them)

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

  • R. T. Rockafellar, Duality and stability in extremum problems involving convex functions, Pacific J. Math. 21 (1967) 167–187. https://doi.org/10.2140/pjm.1967.21.167
  • A. Brøndsted, Conjugate convex functions in topological vector spaces, Mat.-Fys. Medd. Dansk. Vid. Selsk. 34 (1964), no. 2.
  • W. Fenchel, Convex Cones, Sets and Functions, lecture notes, Princeton University, 1951.
  • J. J. Moreau, Fonctionnelles convexes, Séminaire Leray, Collège de France, 1966–67.
  • R. T. Rockafellar, Conjugate Duality and Optimization, CBMS-NSF Regional Conference Series in Applied Mathematics 16, SIAM, 1974. https://doi.org/10.1137/1.9781611970524
9 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

An Iterative Method of Solving a Game: For Every Vector System, min U(t)/t and max V(t)/t Converge to the Value of the GameResearch Paper

Motivation

A finite two-person zero-sum game is given by a real pay-off matrix, and its value can be computed by linear programming. In 1949 George W. Brown proposed a much simpler procedure, now called fictitious play: each player in turn plays a best pure reply to the accumulated play of the opponent so far, and the running averages are read off as estimates of the value (Brown, RAND P-78, 1949). Brown conjectured that both estimates converge to the value. Julia Robinson proved the conjecture in An Iterative Method of Solving a Game, Annals of Mathematics 54 (1951).

The result is the starting point of the theory of learning in games. Fictitious play is the basic model of boundedly rational players who best-respond to empirical frequencies, and the question "for which classes of games does it converge?" has driven a long line of work.

Timeline.

  • 1949–1951: Brown proposes the method and conjectures convergence for zero-sum games.
  • 1951: Robinson proves it for every vector system of every zero-sum matrix game; the statement contains no rate.
  • 1958: Shapiro extracts from Robinson's argument a rate: the gap (max⁡V(t)−min⁡U(t))/t(\max V(t) - \min U(t))/t(maxV(t)−minU(t))/t is O(t−1/(m+n−2))O(t^{-1/(m+n-2)})O(t−1/(m+n−2)) (doi:10.1002/cpa.3160110408).
  • 1964: Shapley gives a 3 × 3 bimatrix (non-zero-sum) game in which fictitious play does not converge (doi:10.1515/9781400882014-002).
  • 1996: Monderer and Shapley prove convergence for games with identical interests (doi:10.1006/jeth.1996.0014).
  • 2014: Daskalakis and Pan show that with adversarial tie-breaking the convergence can be much slower than the rate t−1/2t^{-1/2}t−1/2 conjectured by Karlin (arXiv:1412.4840).

Setting

Let A=(aij)A = (a_{ij})A=(aij​) be a real m×nm \times nm×n matrix, m,n≥1m, n \ge 1m,n≥1. The first player chooses a row iii, the second a column jjj, and the second pays the first aija_{ij}aij​. A mixed strategy is a probability vector x=(x1,…,xm)x = (x_1, \dots, x_m)x=(x1​,…,xm​) for the first player, or y=(y1,…,yn)y = (y_1, \dots, y_n)y=(y1​,…,yn​) for the second. For all mixed strategies,

min⁡j∑iaijxi≤max⁡i∑jaijyj.(1)\min_j \sum_i a_{ij} x_i \le \max_i \sum_j a_{ij} y_j. \tag{1}jmin​i∑​aij​xi​≤imax​j∑​aij​yj​.(1)

A pair (X,Y)(X, Y)(X,Y) for which equality holds is a solution, and the common number vvv is the value of the game. The minimax theorem says that a solution exists.

Write Ai⋅A_{i\cdot}Ai⋅​ for the iii-th row, A⋅jA_{\cdot j}A⋅j​ for the jjj-th column, and max⁡W\max WmaxW, min⁡W\min WminW for the largest and smallest component of a vector WWW. A vector system for AAA is a pair of sequences U(0),U(1),…U(0), U(1), \dotsU(0),U(1),… of nnn-vectors and V(0),V(1),…V(0), V(1), \dotsV(0),V(1),… of mmm-vectors with min⁡U(0)=max⁡V(0)\min U(0) = \max V(0)minU(0)=maxV(0) and

U(t+1)=U(t)+Ai⋅,V(t+1)=V(t)+A⋅j,U(t+1) = U(t) + A_{i\cdot}, \qquad V(t+1) = V(t) + A_{\cdot j},U(t+1)=U(t)+Ai⋅​,V(t+1)=V(t)+A⋅j​,

where vi(t)=max⁡V(t)v_i(t) = \max V(t)vi​(t)=maxV(t) and uj(t)=min⁡U(t)u_j(t) = \min U(t)uj​(t)=minU(t). In the alternate vector system the column satisfies uj(t+1)=min⁡U(t+1)u_j(t+1) = \min U(t+1)uj​(t+1)=minU(t+1) instead. A row iii is eligible in the interval (t,t′)(t, t')(t,t′) if vi(t1)=max⁡V(t1)v_i(t_1) = \max V(t_1)vi​(t1​)=maxV(t1​) for some t≤t1≤t′t \le t_1 \le t't≤t1​≤t′, and similarly a column jjj if uj(t2)=min⁡U(t2)u_j(t_2) = \min U(t_2)uj​(t2​)=minU(t2​) for some t≤t2≤t′t \le t_2 \le t't≤t2​≤t′.

With U(0)=V(0)=0U(0) = V(0) = 0U(0)=V(0)=0, U(t)/tU(t)/tU(t)/t is the payoff vector of the first player's empirical mixed strategy against each column, and V(t)/tV(t)/tV(t)/t that of the second player's against each row. In the Lean development these objects are vmax, vmin, IsVectorSystem, IsAltVectorSystem, RowEligible, ColEligible and IsSolution, in the namespace RobinsonFP.Convergence.

Formalization targets

Goal: the Theorem (p. 297)

For every vector system (U,V)(U, V)(U,V) for AAA, and vvv the value of the game,

lim⁡t→∞min⁡U(t)t=lim⁡t→∞max⁡V(t)t=v.\lim_{t\to\infty} \frac{\min U(t)}{t} = \lim_{t\to\infty} \frac{\max V(t)}{t} = v.t→∞lim​tminU(t)​=t→∞lim​tmaxV(t)​=v.

The statement holds for arbitrary initial vectors with min⁡U(0)=max⁡V(0)\min U(0) = \max V(0)minU(0)=maxV(0) and for every way of breaking ties.

Milestones, in the order of the proof

  1. Inequality (1).
  2. Lemma 1: lim inf⁡t→∞(max⁡V(t)−min⁡U(t))/t≥0\liminf_{t\to\infty} (\max V(t) - \min U(t))/t \ge 0liminft→∞​(maxV(t)−minU(t))/t≥0.
  3. Lemma 2: if every row and column is eligible in (s,s+t)(s, s+t)(s,s+t), then max⁡U(s+t)−min⁡U(s+t)≤2at\max U(s+t) - \min U(s+t) \le 2atmaxU(s+t)−minU(s+t)≤2at and max⁡V(s+t)−min⁡V(s+t)≤2at\max V(s+t) - \min V(s+t) \le 2atmaxV(s+t)−minV(s+t)≤2at, where a=max⁡i,j∣aij∣a = \max_{i,j}|a_{ij}|a=maxi,j​∣aij​∣.
  4. Lemma 3: under the same hypothesis, max⁡V(s+t)−min⁡U(s+t)≤4at\max V(s+t) - \min U(s+t) \le 4atmaxV(s+t)−minU(s+t)≤4at.
  5. Display (3) of the proof of Lemma 4: if some row or column is not eligible in (s,s+t∗)(s, s+t^*)(s,s+t∗), the gap max⁡V−min⁡U\max V - \min UmaxV−minU grows by less than 12εt∗\tfrac12 \varepsilon t^*21​εt∗ over that window, given the bound 12εt\tfrac12\varepsilon t21​εt for the vector systems of the submatrices.
  6. Lemma 4: for every ε>0\varepsilon > 0ε>0 there is t0t_0t0​, uniform over all vector systems for AAA, with max⁡V(t)−min⁡U(t)<εt\max V(t) - \min U(t) < \varepsilon tmaxV(t)−minU(t)<εt for t≥t0t \ge t_0t≥t0​.
  7. (max⁡V(t)−min⁡U(t))/t→0(\max V(t) - \min U(t))/t \to 0(maxV(t)−minU(t))/t→0.
  8. lim sup⁡min⁡U(t)/t≤v\limsup \min U(t)/t \le vlimsupminU(t)/t≤v and lim inf⁡max⁡V(t)/t≥v\liminf \max V(t)/t \ge vliminfmaxV(t)/t≥v.

Two further items are not milestones: the Theorem for the alternate vector system, which the paper says follows by the same proofs, and the bracketing min⁡U(t)/t≤v≤max⁡V(t′)/t′\min U(t)/t \le v \le \max V(t')/t'minU(t)/t≤v≤maxV(t′)/t′ when U(0)=V(0)=0U(0) = V(0) = 0U(0)=V(0)=0 (p. 297).

Significance

The Theorem shows that a payoff-based procedure with no linear algebra finds the value of every zero-sum matrix game. It was one of the first iterative methods for linear programs with a convergence proof, and it is the base case for every later convergence result about fictitious play: potential games, games with identical interests, 2×n2\times n2×n games, and continuous-time best-response dynamics.

The result is proved, and its proof is short. To our knowledge it has no machine-checked proof. The mission produces a Lean proof of the Theorem and its four lemmas, together with reusable definitions of vector systems and eligibility. A statement with an explicit rate, such as Shapiro's, or a proof for the alternate system, is a natural extension.

Difficulty

Lemmas 1–3 are elementary estimates. The difficulty is Lemma 4. The obvious approach follows a single run of the iteration and tries to show that the gap max⁡V(t)−min⁡U(t)\max V(t) - \min U(t)maxV(t)−minU(t) grows sublinearly. This fails because a run can spend arbitrarily long windows in which some row or column is never a best reply, and nothing about one fixed run controls the gap over such a window. What is needed is a bound that is uniform over all vector systems, whatever their initial vectors and tie-breaking, which is why t0t_0t0​ in Lemma 4 comes before the vector system, and why display (3) quantifies over every vector system of the smaller matrices. In Lean, this uniformity has to range over matrices of every smaller size, so the statements must be general in the index types.

Formalization scope

  • Rows and columns are indexed by finite nonempty types ι, κ (the paper's m,n≥1m, n \ge 1m,n≥1); Fin m, Fin n is a special case. The matrix is Matrix ι κ ℝ.
  • max⁡W\max WmaxW, min⁡W\min WminW are Finset.sup' and Finset.inf' over all indices, hence attained.
  • A vector system allows any maximizing row and minimizing column at each step (an existential per step). No tie-breaking rule is fixed, and the initial vectors are arbitrary subject to min⁡U(0)=max⁡V(0)\min U(0) = \max V(0)minU(0)=maxV(0). The case U(0)=V(0)=0U(0) = V(0) = 0U(0)=V(0)=0 is not imposed.
  • Time is a natural number. Limits are Tendsto … atTop (𝓝 ·); lim inf and lim sup of real sequences are stated in ε\varepsilonε-form (for every ε>0\varepsilon > 0ε>0, eventually), with no boundedness side conditions.
  • The value vvv is given by a solution: every statement about vvv assumes IsSolution A x y v, i.e. probability vectors xxx, yyy with min⁡j∑iaijxi=v=max⁡i∑jaijyj\min_j \sum_i a_{ij} x_i = v = \max_i \sum_j a_{ij} y_jminj​∑i​aij​xi​=v=maxi​∑j​aij​yj​. Such a solution exists by the minimax theorem, which is proved on the platform as MatousekLP.ZeroSum.minimax_equality in a different encoding. A statement with vvv free, or with "there exists vvv", would be false or would lose the identification with the value; neither is used.
  • In Lemmas 2 and 3, aaa is any upper bound on the ∣aij∣|a_{ij}|∣aij​∣. This is equivalent to the paper's a=max⁡i,j∣aij∣a = \max_{i,j}|a_{ij}|a=maxi,j​∣aij​∣.
  • In display (3), the bound for submatrices is assumed only for the submatrices that delete one row or one column, which makes the statement at least as strong as the paper's.
  • The paper's closing display on p. 301 prints lim⁡min⁡V(t)/t\lim \min V(t)/tlimminV(t)/t for lim⁡min⁡U(t)/t\lim \min U(t)/tlimminU(t)/t. The goal follows the statement of the Theorem on p. 297.

A general "restriction of a vector system to a submatrix" lemma would be reusable for later work on fictitious play. Proofs of any milestone are welcome, as are proofs of the two extra items.

Selected references

  • J. Robinson, An Iterative Method of Solving a Game, Annals of Mathematics 54(2), 296–301, 1951. https://doi.org/10.2307/1969530
  • G. W. Brown, Some notes on computation of games solutions, RAND Report P-78, 1949. https://www.rand.org/pubs/papers/P78.html
  • H. N. Shapiro, Note on a computation method in the theory of games, Communications on Pure and Applied Mathematics 11(4), 587–593, 1958. https://doi.org/10.1002/cpa.3160110408
  • L. S. Shapley, Some topics in two-person games, Advances in Game Theory, Annals of Mathematics Studies 52, 1964. https://doi.org/10.1515/9781400882014-002
  • D. Monderer, L. S. Shapley, Fictitious play property for games with identical interests, Journal of Economic Theory 68, 258–265, 1996. https://doi.org/10.1006/jeth.1996.0014
  • C. Daskalakis, Q. Pan, A counter-example to Karlin's strong conjecture for fictitious play, FOCS 2014. https://arxiv.org/abs/1412.4840
10 thms2 active usersReviewed
🏆Completed
Convex OptimizationLinear OptimizationOperations Research·Captain: mikedeng1

Convex Programming with Set-Inclusive Constraints and Applications to Inexact Linear Programming: The Set-Inclusive LP Has the Same Feasible Set as the LP of Support FunctionalsResearch Paper

Motivation

A linear program max⁡c⋅x\max c\cdot xmaxc⋅x subject to Ax≤bAx\le bAx≤b, x≥0x\ge 0x≥0 assumes that the constraint matrix AAA is known exactly. In practice the columns of AAA — the activity vectors, describing how much of each resource one unit of activity jjj consumes — are estimates. A. L. Soyster's 1973 technical note in Operations Research (doi:10.1287/opre.21.5.1154) asked what a decision xxx should satisfy if every activity vector is known only to lie in a given convex set, and the decision has to be feasible for every possible realisation. He called this inexact linear programming, a term he attributes to K. O. Kortanek.

The note is the earliest formulation of what is now called robust linear optimization. Its answer — replace each uncertain column by its coordinatewise worst case — is the "Soyster model" that later work on robust optimization takes as its point of departure: Ben-Tal and Nemirovski (Math. Oper. Res. 1998; Math. Program. 2000) and Bertsimas and Sim (Oper. Res. 2004) both introduce their less conservative uncertainty sets as alternatives to it.

Setting

Fix integers m,n≥0m,n\ge0m,n≥0. Vectors in Rm\mathbb R^mRm are compared componentwise. For a set S⊆RmS\subseteq\mathbb R^mS⊆Rm and a scalar ttt, tS={ta:a∈S}tS=\{ta: a\in S\}tS={ta:a∈S}, and the sum of sets is Minkowski addition, S+T={s+t:s∈S, t∈T}S+T=\{s+t: s\in S,\ t\in T\}S+T={s+t:s∈S, t∈T}.

Let K1,…,Kn⊆RmK_1,\dots,K_n\subseteq\mathbb R^mK1​,…,Kn​⊆Rm be nonempty convex activity sets and K⊆RmK\subseteq\mathbb R^mK⊆Rm a nonempty convex resource set. Problem (I) is

sup⁡ c⋅xsubject tox1K1+x2K2+⋯+xnKn⊆K,xj≥0,\sup\ c\cdot x\quad\text{subject to}\quad x_1K_1+x_2K_2+\cdots+x_nK_n\subseteq K,\quad x_j\ge0,sup c⋅xsubject tox1​K1​+x2​K2​+⋯+xn​Kn​⊆K,xj​≥0,

and X⊆RnX\subseteq\mathbb R^nX⊆Rn denotes its set of feasible xxx. Problem (Ib) is the special case K=K(b)={y∈Rm:y≤b}K=K(b)=\{y\in\mathbb R^m: y\le b\}K=K(b)={y∈Rm:y≤b} for a right-hand side b∈Rmb\in\mathbb R^mb∈Rm.

The support functional of a set SSS is δ∗(y∣S)=sup⁡a∈Sy⋅a\delta^*(y\mid S)=\sup_{a\in S}y\cdot aδ∗(y∣S)=supa∈S​y⋅a, a value in [−∞,+∞][-\infty,+\infty][−∞,+∞]. With eie_iei​ the iii-th unit vector, the auxiliary matrix Aˉ\bar AAˉ is the m×nm\times nm×n matrix with entries

aˉij=δ∗(ei∣Kj)=sup⁡aj∈Kjaij,\bar a_{ij}=\delta^*(e_i\mid K_j)=\sup_{a_j\in K_j}a_{ij},aˉij​=δ∗(ei​∣Kj​)=aj​∈Kj​sup​aij​,

defined when all of these are finite, and LP(Aˉ)(\bar A)(Aˉ) is the linear program max⁡c⋅x\max c\cdot xmaxc⋅x subject to Aˉx≤b\bar Ax\le bAˉx≤b, x≥0x\ge0x≥0. Finally MMM is the set of m×nm\times nm×n matrices (a1,…,an)(a_1,\dots,a_n)(a1​,…,an​) whose jjj-th column lies in KjK_jKj​.

In the application, the activity sets are Euclidean balls Kj={a∈Rm:∥a−aj∥2≤ρj}K_j=\{a\in\mathbb R^m:\|a-a_j\|_2\le\rho_j\}Kj​={a∈Rm:∥a−aj​∥2​≤ρj​} around nominal columns aja_jaj​ of a matrix A0A_0A0​, with radii ρj≥0\rho_j\ge0ρj​≥0.

Formalization targets

Goal: the THEOREM (p. 1156)

Assume every KjK_jKj​ is nonempty and convex and δ∗(ei∣Kj)<∞\delta^*(e_i\mid K_j)<\inftyδ∗(ei​∣Kj​)<∞ for all i,ji,ji,j. Then

{x:x feasible for (Ib)}={x:Aˉx≤b, x≥0},\{x : x\ \text{feasible for (Ib)}\}=\{x : \bar Ax\le b,\ x\ge 0\},{x:x feasible for (Ib)}={x:Aˉx≤b, x≥0},

and for every objective ccc, the optimal solutions of (Ib) and of LP(Aˉ)(\bar A)(Aˉ) coincide.

Milestones

  1. Feasibility for (I) is equivalent to x≥0x\ge0x≥0 and ∑jxjaj∈K\sum_j x_ja_j\in K∑j​xj​aj​∈K for every choice aj∈Kja_j\in K_jaj​∈Kj​ (p. 1154).
  2. LEMMA (p. 1155): XXX is convex.
  3. If δ∗(ei∣Kj)=∞\delta^*(e_i\mid K_j)=\inftyδ∗(ei​∣Kj​)=∞ for some iii, every feasible xxx of (Ib) has xj=0x_j=0xj​=0 (p. 1155).
  4. Compact activity sets have δ∗(ei∣Kj)<∞\delta^*(e_i\mid K_j)<\inftyδ∗(ei​∣Kj​)<∞ (p. 1156).
  5. xxx is feasible for (Ib) iff Ax≤bAx\le bAx≤b for every A∈MA\in MA∈M and x≥0x\ge0x≥0 (p. 1156).
  6. Every A∈MA\in MA∈M satisfies A≤AˉA\le\bar AA≤Aˉ entrywise (proof of THEOREM).
  7. Feasible for LP(Aˉ)(\bar A)(Aˉ) implies feasible for (Ib) (proof of THEOREM).
  8. Feasible for (Ib) implies ∑jxjsup⁡aj∈Kjaij≤bi\sum_j x_j\sup_{a_j\in K_j}a_{ij}\le b_i∑j​xj​supaj​∈Kj​​aij​≤bi​ for every iii, i.e. feasible for LP(Aˉ)(\bar A)(Aˉ) (proof of THEOREM).
  9. For Euclidean balls, δ∗(ei∣Kj)=aij+ρj\delta^*(e_i\mid K_j)=a_{ij}+\rho_jδ∗(ei​∣Kj​)=aij​+ρj​, so aˉj=aj+ρje\bar a_j=a_j+\rho_jeaˉj​=aj​+ρj​e with eee the all-ones vector (p. 1157).
  10. Inexact LP over balls: (Ib) has the same feasible and optimal solutions as max⁡c⋅x\max c\cdot xmaxc⋅x subject to ∑jxj(aj+ρje)≤b\sum_j x_j(a_j+\rho_je)\le b∑j​xj​(aj​+ρj​e)≤b, x≥0x\ge0x≥0 (p. 1157).

Significance

The THEOREM turns a semi-infinite constraint — one linear inequality for every matrix in MMM, of which there are typically uncountably many — into a single linear program of the original size, whose data are the support functionals of the activity sets. Any LP solver then solves the uncertain problem. The hypersphere corollary shows the cost of this guarantee concretely: every entry of column jjj is inflated by the full radius ρj\rho_jρj​, which is why the model is called conservative and why later robust-optimization work introduced ellipsoidal and budgeted uncertainty sets as less conservative alternatives. The LEMMA classifies (I) as a convex program in general, for resource sets that are not half-space intersections.

The results are proved in the paper and are standard. To our knowledge they have no machine-checked proof in Lean or Mathlib. The mission produces a formal statement of the set-inclusive constraint as an actual Minkowski-sum inclusion, the support-functional reduction with its finiteness hypotheses made explicit, and the Euclidean-ball computation — a base that robust-counterpart results for other uncertainty sets can be compared against.

Difficulty

The individual arguments are short; the work is in the bookkeeping that the paper leaves implicit. The step from "for every A∈MA\in MA∈M" to Aˉ\bar AAˉ uses that the supremum of a sum of independent terms is the sum of suprema, which needs every KjK_jKj​ nonempty and the scalars xjx_jxj​ nonnegative; with an empty activity set the Minkowski sum is empty and every x≥0x\ge0x≥0 becomes feasible. The support functional is valued in the extended reals, and its conversion to a real matrix entry is exact only under the finiteness assumption, which the paper secures by deleting columns. The ball computation needs the Euclidean norm and its dual characterisation of the maximum of a coordinate over a ball.

Formalization scope

  • Vectors are Fin m → ℝ and Fin n → ℝ, with indices 0,…,m−10,\dots,m-10,…,m−1 in place of 1,…,m1,\dots,m1,…,m; the order on vectors is componentwise.
  • Feasibility of (I) is the Minkowski-sum inclusion (∑ j, x j • K j) ⊆ R (pointwise set operations) together with x≥0x\ge0x≥0. It is not defined as "for every choice aj∈Kja_j\in K_jaj​∈Kj​", which would make milestones 1 and 5 trivial, and Aˉ\bar AAˉ is constructed from the KjK_jKj​, not an arbitrary matrix dominating MMM, which would make the goal trivial.
  • δ∗\delta^*δ∗ is valued in EReal. The entries of Aˉ\bar AAˉ are its real conversions, so every statement mentioning Aˉ\bar AAˉ assumes Kj≠∅K_j\neq\emptysetKj​=∅ and δ∗(ei∣Kj)<∞\delta^*(e_i\mid K_j)<\inftyδ∗(ei​∣Kj​)<∞, the paper's standing assumptions (pp. 1154–1156). Convexity of the KjK_jKj​ is also kept as a hypothesis wherever the paper has it, although only the LEMMA uses convexity (of KKK).
  • An optimal solution is a feasible point attaining the maximum of c⋅xc\cdot xc⋅x; the paper writes sup⁡\supsup and does not discuss attainment. Because the goal identifies the feasible sets, the two problems also have equal suprema.
  • Hyperspheres use the Euclidean norm (EuclideanSpace ℝ (Fin m)), not the sup norm of Fin m → ℝ, with radii ρj≥0\rho_j\ge0ρj​≥0.
  • The support functional restates the published FenchelRobust.Counterpart.supportFun with the same body.
  • Not formalized: Magnanti's extension to ≥\ge≥ and === rows (p. 1156), and the remarks on (GLP) and stochastic programming. Contributions of proofs of any milestone, and of an EReal statement equating the optimal values, are welcome.

Selected references

  • A. L. Soyster, Convex Programming with Set-Inclusive Constraints and Applications to Inexact Linear Programming, Operations Research 21(5), 1154–1157, 1973. https://doi.org/10.1287/opre.21.5.1154
  • G. B. Dantzig, Linear Programming and Extensions, Princeton University Press, 1963. https://doi.org/10.1515/9781400884179
  • A. Ben-Tal and A. Nemirovski, Robust Convex Optimization, Mathematics of Operations Research 23(4), 769–805, 1998. https://doi.org/10.1287/moor.23.4.769
  • A. Ben-Tal and A. Nemirovski, Robust solutions of Linear Programming problems contaminated with uncertain data, Mathematical Programming 88, 411–424, 2000. https://doi.org/10.1007/PL00011380
  • D. Bertsimas and M. Sim, The Price of Robustness, Operations Research 52(1), 35–53, 2004. https://doi.org/10.1287/opre.1030.0065
12 thms2 active usersReviewed
Linear OptimizationOperations ResearchProbability+1·Captain: mikedeng1

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

Motivation

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

Setting

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

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

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

Formalization targets

Theorem 5

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

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

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

Source milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

Régularisation d'inéquations variationnelles par approximations successives I: Every Weak Cluster Point of the Regularized Iterates Solves the Monotone Variational InequalityResearch Paper

Motivation

The proximal point algorithm is a basic iterative scheme of convex optimization and monotone operator theory. To solve a problem governed by a monotone operator, it replaces the problem by a sequence of better-conditioned problems, each regularized by a quadratic term centred at the previous iterate. Augmented Lagrangian methods, the Douglas–Rachford and ADMM splitting schemes, and many bundle methods can all be read as instances of it.

The scheme first appeared in a five-page note by Bernard Martinet in the Revue française d'informatique et de recherche opérationnelle (1970), under the name régularisation par approximations successives. Martinet stated it for a monotone variational inequality on a bounded closed convex subset of a Hilbert space and proved that the weak cluster points of the iterates are solutions. This mission formalizes that first convergence theorem as it was originally stated.

Timeline.

  • 1966–1967: Hartman–Stampacchia and Lions–Stampacchia prove existence of solutions for monotone, hemicontinuous variational inequalities on bounded closed convex sets (Lions–Stampacchia 1967). Minty's lemma characterizes the solution set by the inequality with the operator evaluated at the variable point.
  • 1970: Martinet introduces the regularization iteration (2) and proves Théorème 1 below (Martinet 1970). In §IV of the same note he states the convex-minimization version.
  • 1976: Rockafellar extends the method to maximal monotone operators, allowing inexact steps and variable step sizes, and proves weak convergence of the whole sequence when a zero exists (Rockafellar 1976).
  • 1991: Güler constructs an example in which the iterates converge weakly but not strongly (Güler 1991).

Setting

Let HHH be a real Hilbert space with inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥. Let H′H'H′ be its dual, and write (φ,y)(\varphi, y)(φ,y) for the value of a functional φ∈H′\varphi\in H'φ∈H′ at y∈Hy\in Hy∈H. Let C⊆HC\subseteq HC⊆H be convex, closed and bounded, and let T:H→H′T:H\to H'T:H→H′ be

  • monotone on CCC: (Tx−Ty, x−y)≥0(Tx-Ty,\,x-y)\ge0(Tx−Ty,x−y)≥0 for all x,y∈Cx,y\in Cx,y∈C;
  • hemicontinuous on CCC: for all x,y∈Cx,y\in Cx,y∈C, the map t↦T((1−t)x+ty)t\mapsto T((1-t)x+ty)t↦T((1−t)x+ty), t∈[0,1]t\in[0,1]t∈[0,1], is continuous into H′H'H′ with its weak topology.

The variational inequality (1) asks for xˉ∈C\bar x\in Cxˉ∈C such that

(Txˉ, x−xˉ)≥0∀x∈C.(T\bar x,\, x-\bar x)\ge 0\qquad\forall x\in C .(Txˉ,x−xˉ)≥0∀x∈C.

Its solution set is denoted MMM (solSet T C in Lean).

Martinet's regularization algorithm starts from x0∈Cx^0\in Cx0∈C. Given xn∈Cx^n\in Cxn∈C, it determines xn+1∈Cx^{n+1}\in Cxn+1∈C such that

(Txn+1, x−xn+1)+⟨xn+1−xn, x−xn+1⟩≥0∀x∈C.(2)(Tx^{n+1},\, x-x^{n+1})+\langle x^{n+1}-x^n,\, x-x^{n+1}\rangle\ge 0\qquad\forall x\in C. \tag{2}(Txn+1,x−xn+1)+⟨xn+1−xn,x−xn+1⟩≥0∀x∈C.(2)

In words, xn+1x^{n+1}xn+1 solves the variational inequality for the operator T+( ⋅ −xn)T+(\,\cdot\,-x^n)T+(⋅−xn), which is strongly monotone. A point x~\tilde xx~ is a weak cluster point of (xn)(x^n)(xn) if every neighbourhood of x~\tilde xx~ in the weak topology contains xnx^nxn for infinitely many nnn.

Formalization targets

Goal: Théorème 1

x~ a weak cluster point of (xn) ⟹ x~∈M.\tilde x \text{ a weak cluster point of } (x^n)\ \Longrightarrow\ \tilde x\in M .x~ a weak cluster point of (xn) ⟹ x~∈M.

Every weak cluster point of the regularized iterates solves (1). The paper's Lemme 2 states the same thing. The goal assumes neither that (1) has a solution nor that TTT is bounded on CCC.

Milestones, in the order the paper uses them

  1. §2.1: (1) has at least one solution when C≠∅C\neq\emptysetC=∅, so M≠∅M\neq\emptysetM=∅.
  2. §2.2: the step (2) has exactly one solution xn+1∈Cx^{n+1}\in Cxn+1∈C for every xn∈Cx^n\in Cxn∈C.
  3. §2.3, (5): Minty's characterization M={xˉ∈C∣(Tx, x−xˉ)≥0 ∀x∈C}M=\{\bar x\in C\mid (Tx,\,x-\bar x)\ge0\ \forall x\in C\}M={xˉ∈C∣(Tx,x−xˉ)≥0 ∀x∈C}.
  4. §2.3, (7): for every xˉ∈M\bar x\in Mxˉ∈M, ∥xn+1−xˉ∥2≤∥xn−xˉ∥2−∥xn+1−xn∥2\|x^{n+1}-\bar x\|^2\le\|x^n-\bar x\|^2-\|x^{n+1}-x^n\|^2∥xn+1−xˉ∥2≤∥xn−xˉ∥2−∥xn+1−xn∥2.
  5. Lemme 1: ∥xn+1−xn∥→0\|x^{n+1}-x^n\|\to0∥xn+1−xn∥→0.
  6. §2.3, (8): lim inf⁡n(Txn+1, x−xn+1)≥0\liminf_n (Tx^{n+1},\,x-x^{n+1})\ge0liminfn​(Txn+1,x−xn+1)≥0 for every x∈Cx\in Cx∈C.
  7. §2.3, (9): lim inf⁡n(Tx, x−xn)≥0\liminf_n (Tx,\,x-x^{n})\ge0liminfn​(Tx,x−xn)≥0 for every x∈Cx\in Cx∈C.
  8. Corollaire (stronger than the goal): if M={xˉ}M=\{\bar x\}M={xˉ}, then xn⇀xˉx^n\rightharpoonup\bar xxn⇀xˉ.

Significance

The result. Théorème 1 is the first convergence theorem for the proximal point method. The method only needs to solve strongly monotone subproblems, and those are well posed even when the original problem is not. Together with the existence result, the theorem says the iterates accumulate weakly only at solutions. When the solution is unique, the whole sequence converges weakly (the Corollaire). The later theory of Rockafellar, Brézis–Lions and the splitting literature refines this statement.

Formalizing it. The result has been proved since 1970. What this mission adds is a machine-checked version that follows the original hypotheses: an operator into the dual, hemicontinuity rather than continuity, and no maximality assumption. The cited ingredients, the Lions–Stampacchia existence theorem in an infinite-dimensional Hilbert space and Minty's lemma, are not in Mathlib as far as this mission is aware. Formalizing them is part of the work and is reusable well beyond this paper. The milestone items on the platform are statements awaiting proof. None of them has a machine-checked proof yet.

Difficulty

Lemme 1 and inequality (7) follow from the defining inequality (2) and the algebra of the inner product. The difficulty is at two other points.

First, the iterates satisfy the variational inequality only approximately, and only with TTT evaluated at the iterate. A weak cluster point gives no control over TxnTx^{n}Txn, because TTT is merely hemicontinuous and is not assumed weakly continuous or bounded. The obvious idea, to pass to the limit in (Txn+1, x−xn+1)≥−εn(Tx^{n+1},\,x-x^{n+1})\ge -\varepsilon_n(Txn+1,x−xn+1)≥−εn​, fails for this reason. Passing to the limit requires the reformulation in which TTT is evaluated at a fixed point of CCC. That reformulation is Minty's characterization (5), and proving it uses hemicontinuity along segments.

Second, the proof of Lemme 1 needs a solution of (1) to exist. In infinite dimensions that is the Lions–Stampacchia theorem. Its standard proof goes through Brouwer's fixed point theorem on finite-dimensional sections together with weak compactness of CCC, and this is the heaviest item of the mission.

Formalization scope

  • HHH is a real Hilbert space: NormedAddCommGroup H, InnerProductSpace ℝ H, CompleteSpace H. The paper says only "espace de Hilbert". Its ordered inequalities force real scalars.
  • H′H'H′ is StrongDual ℝ H, and (φ,y)(\varphi,y)(φ,y) is φ y. TTT is not replaced by a map H→HH\to HH→H through the Riesz isomorphism.
  • Hemicontinuity is weak-* continuity: for x,y∈Cx,y\in Cx,y∈C and every z∈Hz\in Hz∈H, the map t↦(T((1−t)x+ty),z)t\mapsto (T((1-t)x+ty),z)t↦(T((1−t)x+ty),z) is continuous on [0,1][0,1][0,1]. Since HHH is reflexive, this is the paper's weak topology on H′H'H′. It is not strengthened to continuity of TTT.
  • The algorithm is a relation (IsRegSeq): any sequence with x0∈Cx^0\in Cx0∈C that satisfies (2) at every step. Existence and uniqueness of the step are milestone 2, not built into a definition.
  • A weak cluster point is MapClusterPt in WeakSpace ℝ H, a cluster point in the weak topology. It is not a cluster point in the norm topology, which would make the goal weaker.
  • lim inf⁡nan≥0\liminf_n a_n\ge0liminfn​an​≥0 in (8) and (9) is stated as ∀ε>0\forall\varepsilon>0∀ε>0, eventually an≥−εa_n\ge-\varepsilonan​≥−ε. Filter.liminf on R\mathbb RR returns a junk value on sequences that are unbounded below.
  • "C nonempty" is added to the existence milestone. The paper leaves it implicit, and the claim is false for C=∅C=\emptysetC=∅.
  • In Lean the sequence is called xxx and an arbitrary point of CCC is called yyy. The paper uses the letter xxx for both.

A trivializing formalization is ruled out. The goal does not assume M≠∅M\neq\emptysetM=∅, boundedness of TTT, or strong cluster points. Its hypotheses are satisfiable: H=RH=\mathbb RH=R, C=[−1,1]C=[-1,1]C=[−1,1], (Tx,y)=xy(Tx,y)=xy(Tx,y)=xy, xn=2−nx^n=2^{-n}xn=2−n is an instance, checked locally.

Not formalized: Remarques 1 and 2 of §II (a variable-weight variant of (2), whose printed form is apparently misprinted, and the removal of boundedness of CCC under a coercivity condition), because the paper gives neither a proof. Théorème 2 (§III) and the convex-minimization §IV are not formalized either. §IV is the subject of the companion mission.

Contributions are welcome on each milestone, and especially on the general infrastructure: Minty's lemma, Hartman–Stampacchia/Lions–Stampacchia existence for monotone hemicontinuous operators, and the fact that bounded sequences in a Hilbert space have weak cluster points. A proved Brouwer fixed point theorem (AGT.brouwer_fixed_point) and a Banach–Alaoglu theorem (FamousTheorems.banach_alaoglu) are available on the platform as tools.

Selected references

  • B. Martinet, Brève communication. Régularisation d'inéquations variationnelles par approximations successives, Revue française d'informatique et de recherche opérationnelle, série rouge, 4(R-3) (1970), 154–158. https://doi.org/10.1051/m2an/197004R301541
  • J.-L. Lions, G. Stampacchia, Variational inequalities, Communications on Pure and Applied Mathematics 20 (1967), 493–519. https://doi.org/10.1002/cpa.3160200302
  • R. T. Rockafellar, Monotone operators and the proximal point algorithm, SIAM Journal on Control and Optimization 14 (1976), 877–898. https://doi.org/10.1137/0314056
  • O. Güler, On the convergence of the proximal point algorithm for convex minimization, SIAM Journal on Control and Optimization 29 (1991), 403–419. https://doi.org/10.1137/0329022
10 thms2 active usersReviewed
🏆Completed
Convex OptimizationLinear algebraOperations Research·Captain: mikedeng1

Strongly Regular Generalized Equations III: Reduced-Form Criterion — a Linear Generalized Equation over a Polyhedral Set Is Strongly Regular Iff Its Reduced Form Is Uniquely Solvable on LResearch Paper

Motivation

Many problems in optimization and equilibrium modelling, among them linear and nonlinear complementarity problems, variational inequalities over polyhedra, and the Karush–Kuhn–Tucker conditions of nonlinear programs, can be written as a single generalized equation

0∈f(x)+∂ψC(x),0\in f(x)+\partial\psi_C(x),0∈f(x)+∂ψC​(x),

where ∂ψC\partial\psi_C∂ψC​ is the normal-cone operator of a closed convex set CCC. S. M. Robinson introduced strong regularity of such an inclusion at a solution x0x_0x0​ in Strongly regular generalized equations (1980) and proved an implicit-function theorem for it: when the linearised inclusion has a locally unique, Lipschitz inverse, solutions of the perturbed problem exist, are locally unique and depend Lipschitz-continuously on the perturbation. Strong regularity has since become the standard stability notion behind sensitivity analysis and the local convergence of Newton-type methods for variational problems; see Dontchev and Rockafellar, Implicit Functions and Solution Mappings (Springer, 2nd ed. 2014, doi:10.1007/978-1-4939-1037-3).

Strong regularity depends only on the linearisation, so deciding it means deciding it for a linear generalized equation. For a general polyhedral set CCC the paper's appendix does this by a reduction: locally around x0x_0x0​ the problem is equivalent to a homogeneous problem on a cone, the reduced form, and strong regularity is equivalent to unique solvability of that reduced form. This mission formalizes that appendix and the criterion it yields.

Setting

Work in Rn\mathbb R^nRn with the standard inner product, which identifies Rn\mathbb R^nRn with its dual. For C⊆RnC\subseteq\mathbb R^nC⊆Rn the normal cone at xxx is

∂ψC(x)={y:⟨y,c−x⟩≤0 for all c∈C} if x∈C,∂ψC(x)=∅ if x∉C.\partial\psi_C(x)=\{y:\langle y,c-x\rangle\le 0\ \text{for all } c\in C\}\ \text{if } x\in C,\qquad \partial\psi_C(x)=\emptyset\ \text{if } x\notin C.∂ψC​(x)={y:⟨y,c−x⟩≤0 for all c∈C} if x∈C,∂ψC​(x)=∅ if x∈/C.

A set is polyhedral convex if it is the intersection of finitely many closed half-spaces. Fix a nonempty polyhedral convex CCC, an n×nn\times nn×n real matrix AAA and a∈Rna\in\mathbb R^na∈Rn, and consider

0∈Ax+a+∂ψC(x).(A.1)0\in Ax+a+\partial\psi_C(x).\qquad\text{(A.1)}0∈Ax+a+∂ψC​(x).(A.1)

It is strongly regular at a solution x0x_0x0​ with constant λ\lambdaλ if there are neighbourhoods UUU of 000 and VVV of x0x_0x0​ such that for each y∈Uy\in Uy∈U the perturbed inclusion

y∈Ax+a+∂ψC(x)(A.2)y\in Ax+a+\partial\psi_C(x)\qquad\text{(A.2)}y∈Ax+a+∂ψC​(x)(A.2)

has exactly one solution x=s(y)x=s(y)x=s(y) in VVV, and ∥s(y1)−s(y2)∥≤λ∥y1−y2∥\|s(y_1)-s(y_2)\|\le\lambda\|y_1-y_2\|∥s(y1​)−s(y2​)∥≤λ∥y1​−y2​∥ on UUU.

The reduction uses the following objects, all built from the data:

  • y0:=Ax0+ay_0:=Ax_0+ay0​:=Ax0​+a;
  • the face F:=∂ψC∗(−y0)F:=\partial\psi_C^*(-y_0)F:=∂ψC∗​(−y0​), the set of maximisers of ⟨−y0,⋅⟩\langle -y_0,\cdot\rangle⟨−y0​,⋅⟩ over CCC (it contains x0x_0x0​);
  • the tangent cone T:=TF(x0)=∂ψF(x0)∘T:=T_F(x_0)=\partial\psi_F(x_0)^\circT:=TF​(x0​)=∂ψF​(x0​)∘, the polar of the normal cone of FFF at x0x_0x0​;
  • the subspace LLL parallel to FFF (the direction of its affine hull) and the orthogonal projector PLP_LPL​;
  • the lineality space MMM of TTT, the subspace L∩M⊥L\cap M^\perpL∩M⊥, and the cone K:=T∩M⊥K:=T\cap M^\perpK:=T∩M⊥.

The reduced form of (A.1) at x0x_0x0​ is the inclusion z∈PLAw+∂ψT(w)z\in P_LAw+\partial\psi_T(w)z∈PL​Aw+∂ψT​(w) for z∈Lz\in Lz∈L; in an orthonormal basis adapted to MMM, L∩M⊥L\cap M^\perpL∩M⊥ and L⊥L^\perpL⊥ it is z∈Bw+∂ψRr×K(w)z\in Bw+\partial\psi_{\mathbb R^r\times K}(w)z∈Bw+∂ψRr×K​(w) with an (r+s)×(r+s)(r+s)\times(r+s)(r+s)×(r+s) matrix BBB. It is vacuous when L={0}L=\{0\}L={0}.

Formalization targets

Goal: Theorem A.4 (p. 60)

If x0x_0x0​ solves (A.1), then (A.1) is strongly regular at x0x_0x0​ if and only if

L={0}or∀z∈L ∃! w∈Rn: z∈PLAw+∂ψT(w).L=\{0\}\quad\text{or}\quad\forall z\in L\ \exists!\,w\in\mathbb R^n:\ z\in P_LAw+\partial\psi_T(w).L={0}or∀z∈L ∃!w∈Rn: z∈PL​Aw+∂ψT​(w).

No Lipschitz constant is fixed: the left side is "strongly regular for some λ\lambdaλ".

Milestones

  1. Proposition A.1 (p. 58): for x0∈Cx_0\in Cx0​∈C, (C−x0)∩U=TC(x0)∩U(C-x_0)\cap U=T_C(x_0)\cap U(C−x0​)∩U=TC​(x0​)∩U for some neighbourhood UUU of 000.
  2. Proposition A.2 (p. 58): on F=∂ψC∗(−y0)F=\partial\psi_C^*(-y_0)F=∂ψC∗​(−y0​), ∂ψF(x)=∂ψC(x)+y0R+\partial\psi_F(x)=\partial\psi_C(x)+y_0\mathbb R_+∂ψF​(x)=∂ψC​(x)+y0​R+​, and ∂ψC∗(−y)⊂F\partial\psi_C^*(-y)\subset F∂ψC∗​(−y)⊂F for yyy near y0y_0y0​.
  3. Proposition A.3 (p. 58): for x0∈Fx_0\in Fx0​∈F, near the origin, 0∈(y0+k)+∂ψC(x0+h)0\in(y_0+k)+\partial\psi_C(x_0+h)0∈(y0​+k)+∂ψC​(x0​+h) iff 0∈PLk+∂ψT(h)0\in P_Lk+\partial\psi_T(h)0∈PL​k+∂ψT​(h).
  4. The correspondence (A.4) (p. 60): for xxx near x0x_0x0​ and small yyy, (A.2) holds iff 0∈PL(Ah−y)+∂ψT(h)0\in P_L(Ah-y)+\partial\psi_T(h)0∈PL​(Ah−y)+∂ψT​(h) with h=x−x0h=x-x_0h=x−x0​.

Companions

  • Corollary 3.2 (p. 53), in two items. Sufficiency: the reduced form is vacuous, or B11B_{11}B11​ is nonsingular and the Schur complement B/B11B/B_{11}B/B11​ is positive definite. Characterisation when K=R+sK=\mathbb R^s_+K=R+s​: strongly regular iff vacuous, or B11B_{11}B11​ nonsingular and B/B11B/B_{11}B/B11​ a P-matrix.
  • The 3 × 3 linear complementarity example of §4 (p. 53): strongly regular at x0=(1,0,0)x_0=(1,0,0)x0​=(1,0,0), and not strongly regular once the entry 555 of AAA becomes 444.

Significance

Theorem A.4 turns a local stability property, defined through neighbourhoods and an inverse map, into a finite-dimensional algebraic question about one homogeneous problem on a polyhedral cone. Combined with the Schur-complement criterion of Theorem 3.1, it gives checkable conditions (Corollary 3.2): nonsingularity of a block and positive definiteness, or the P-matrix property, of its Schur complement. Through the KKT reformulation of §4 this is the route by which strong second-order sufficiency and linear independence of binding constraint gradients imply strong regularity in nonlinear programming. The example of p. 53 shows the criterion deciding cases where AAA itself is neither positive definite nor a P-matrix.

The results are classical and proved in the paper; to our knowledge none of them has a machine-checked proof. The formalization adds a coordinate-free statement of the reduced form, which the paper writes only in an adapted basis; a Lean account of exposed faces and tangent cones of polyhedra, with their local conic structure (Propositions A.1–A.2), which the paper lists "without proof" and cites to Rockafellar; and checked versions of the corollary and the example.

Difficulty

The definition of strong regularity is local, while condition (ii) is global on LLL. The obvious argument, "linearise and read off the inverse", does not apply, because ∂ψC\partial\psi_C∂ψC​ is a set-valued map whose graph changes shape from point to point. The step that carries the weight is Proposition A.3: a perturbation of y0y_0y0​ may move the solution off the face FFF, and only polyhedrality, through the finitely many values of ∂ψC\partial\psi_C∂ψC​ on FFF and the local conic structure of A.1–A.2, rules this out uniformly in a neighbourhood. The direction from strong regularity to (ii) needs positive homogeneity of the reduced form to pass from uniqueness near 000 to uniqueness on all of LLL. The direction from (ii) to strong regularity needs the Lipschitz property of a single-valued inverse of a polyhedral multifunction (Robinson 1979, cited as [12, Proposition 2]), which is not elementary.

Formalization scope

  • The space is EuclideanSpace ℝ (Fin n), with inclusions written as memberships: (A.2) is y−(Ax+a)∈∂ψC(x)y-(Ax+a)\in\partial\psi_C(x)y−(Ax+a)∈∂ψC​(x). A matrix acts through Matrix.toEuclideanLin. The normal cone carries the clause x∈Cx\in Cx∈C, so ∂ψC(x)=∅\partial\psi_C(x)=\emptyset∂ψC​(x)=∅ off CCC; without it every inclusion would be satisfiable at points outside CCC and the statements would change meaning.
  • TC(x0)T_C(x_0)TC​(x0​) is the polar of the normal cone, as on p. 58, not the closure of the cone of feasible directions. FFF is the set of maximisers of ⟨−y0,⋅⟩\langle -y_0,\cdot\rangle⟨−y0​,⋅⟩ (the sign matters: the opposite face would make the theorem false). LLL is the direction of the affine span of FFF, and PLP_LPL​ is Mathlib's Submodule.starProjection.
  • The reduced form is stated basis-free on LLL; ∂ψT\partial\psi_T∂ψT​ is the normal cone of TTT in all of Rn\mathbb R^nRn. In Corollary 3.2, B11B_{11}B11​ and B/B11B/B_{11}B/B11​ are expressed through projectors onto MMM and L∩M⊥L\cap M^\perpL∩M⊥. Only the case K=R+sK=\mathbb R^s_+K=R+s​ is stated in a basis, an orthonormal basis of L∩M⊥L\cap M^\perpL∩M⊥ in which KKK is the orthant.
  • "Positive definite" does not require symmetry. "Strongly regular" without a constant is existential in λ\lambdaλ, with λ\lambdaλ real.
  • Corollary 3.2's second sentence refers on the page to "(3.8)", an evident slip for (3.9); it is formalized for (3.9).
  • The standing assumption "C nonempty polyhedral convex" is a hypothesis of every item.
  • A trivializing formalization is ruled out: strong regularity requires existence, uniqueness in VVV and the Lipschitz bound together, and condition (ii) requires existence and uniqueness for every z∈Lz\in Lz∈L.
  • Needed infrastructure: faces and tangent cones of polyhedra and their local structure (Minkowski–Weyl, finitely many faces), orthogonal decompositions, and Lipschitz continuity of single-valued polyhedral inverses. All of this is reusable beyond this mission. Proofs of the propositions, of the correspondence, and of the companions are welcome independently.

Selected references

  • S. M. Robinson, Strongly regular generalized equations, Mathematics of Operations Research 5(1), 43–62, 1980. https://doi.org/10.1287/moor.5.1.43
  • S. M. Robinson, Generalized equations and their solutions, Part I: Basic theory, Mathematical Programming Study 10, 128–141, 1979. https://doi.org/10.1007/BFb0120850
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970. https://doi.org/10.1515/9781400873173
  • A. L. Dontchev and R. T. Rockafellar, Implicit Functions and Solution Mappings, 2nd ed., Springer, 2014. https://doi.org/10.1007/978-1-4939-1037-3
  • R. W. Cottle, Manifestations of the Schur complement, Linear Algebra and its Applications 8, 189–211, 1974. https://doi.org/10.1016/0024-3795(74)90066-4
6 thms2 active usersReviewed
🏆Completed
CombinatoricsLinear OptimizationOperations Research·Captain: mikedeng1

On the Job-Shop Scheduling Problem: The Integer Program (2)–(7) with 0–1 Variables y_jk Attains Exactly the Minimum Make-SpanResearch Paper

Motivation

The job-shop scheduling problem asks how to time a set of tasks on shared machines so that every product is finished as early as possible. Around 1959 several authors proposed to solve it with Gomory's then new integer programming (Gomory 1958). The obstacle is the noninterference condition: two tasks on the same machine must not overlap, so one of them must finish before the other starts. That is an "either-or" condition. It describes a nonconvex set, and classical linear programming cannot express it.

A. S. Manne's note On the Job-Shop Scheduling Problem (Operations Research 8 (1960) 219–223) writes the either-or condition as two linear inequalities in integers. It adds one 0–1 variable per pair of tasks that compete for a machine, and it uses a large constant derived from a bound TTT on the start days. This is the origin of the big-M disjunctive formulation, which remains the standard textbook integer program for job shops and, more broadly, the standard way to linearize a disjunction of two linear inequalities.

Timeline. Johnson (1954) introduced the make-span criterion for two- and three-stage production schedules. Bowman (1959) and Wagner (1959) proposed integer programs for machine scheduling. Manne (1960), stimulated by Bowman's paper, gave the formulation stated here. He counted its unknowns as 275 for 5 machines with 10 tasks each, against 600 for Wagner's formulation on the same example (p. 222).

Setting

There are n≥1n\ge1n≥1 tasks and MMM machines. Task jjj requires the single machine μ(j)\mu(j)μ(j) for aja_jaj​ consecutive days, where aja_jaj​ is an integer. An integer horizon TTT bounds the start days: the integer unknown xj∈{0,1,…,T}x_j\in\{0,1,\dots,T\}xj​∈{0,1,…,T} is the day on which task jjj begins. A pair (j,k)(j,k)(j,k) with j<kj<kj<k and μ(j)=μ(k)\mu(j)=\mu(k)μ(j)=μ(k) is a conflicting pair. For each such pair the tasks must not overlap:

xj−xk≥akor elsexk−xj≥aj.(1)x_j-x_k\ge a_k\quad\text{or else}\quad x_k-x_j\ge a_j. \tag{1}xj​−xk​≥ak​or elsexk​−xj​≥aj​.(1)

The instance may also impose precedence xj+aj≤xkx_j+a_j\le x_kxj​+aj​≤xk​ for given pairs (5a), exact delays xj+aj+Θjk=xkx_j+a_j+\Theta_{jk}=x_kxj​+aj​+Θjk​=xk​ for given pairs (5c), and delivery dates xj+aj≤djx_j+a_j\le d_jxj​+aj​≤dj​ for given tasks (6). A schedule is an x∈{0,…,T}nx\in\{0,\dots,T\}^nx∈{0,…,T}n satisfying (1), (5a), (5c) and (6). Its make-span is

ms⁡(x)=max⁡j (xj+aj),\operatorname{ms}(x)=\max_{j}\,(x_j+a_j),ms(x)=jmax​(xj​+aj​),

the calendar time needed for all jobs when the shop starts on day 000.

Manne's integer program has integer unknowns xjx_jxj​ with 0≤xj≤T0\le x_j\le T0≤xj​≤T, one integer yjky_{jk}yjk​ for each conflicting pair, and the minimand ttt, subject to (5a), (5c), (6),

0≤yjk≤1,(2)0\le y_{jk}\le 1,\tag{2}0≤yjk​≤1,(2) (T+ak) yjk+(xj−xk)≥ak,(3)(T+a_k)\,y_{jk}+(x_j-x_k)\ge a_k,\tag{3}(T+ak​)yjk​+(xj​−xk​)≥ak​,(3) (T+aj)(1−yjk)+(xk−xj)≥aj,(4)(T+a_j)(1-y_{jk})+(x_k-x_j)\ge a_j,\tag{4}(T+aj​)(1−yjk​)+(xk​−xj​)≥aj​,(4)

and xj+aj≤tx_j+a_j\le txj​+aj​≤t for every jjj (7). The value yjk=1y_{jk}=1yjk​=1 means that jjj precedes kkk; yjk=0y_{jk}=0yjk​=0 means that kkk precedes jjj.

Formalization targets

Goal: the integer program solves the make-span problem

For every instance and every integer t∗t^\astt∗,

t∗=min⁡{t: ∃ x,y integer satisfying 0≤xj≤T and (2)–(7)}  ⟺  t∗=min⁡x schedulems⁡(x).t^\ast=\min\{t:\ \exists\,x,y\ \text{integer satisfying } 0\le x_j\le T \text{ and } (2)\text{–}(7)\}\iff t^\ast=\min_{x\ \text{schedule}}\operatorname{ms}(x).t∗=min{t: ∃x,y integer satisfying 0≤xj​≤T and (2)–(7)}⟺t∗=x schedulemin​ms(x).

Both minima are required to exist. In particular the program has an optimum exactly when a schedule exists. The paper claims this when it says that "the problem now consists of the minimization of ttt" subject to (2)–(7) (p. 221).

Milestones

  1. Pair equivalence (p. 220). If ∣xj−xk∣≤T|x_j-x_k|\le T∣xj​−xk​∣≤T, some integer yjky_{jk}yjk​ satisfies (2)–(4) if and only if (1) holds.
  2. Equal start days are excluded (p. 220). If xj=xkx_j=x_kxj​=xk​ and aj,ak>0a_j,a_k>0aj​,ak​>0, no yjky_{jk}yjk​ satisfies (2)–(4).
  3. Feasibility correspondence (pp. 220–221). For fixed xxx and ttt, some yyy makes (x,y,t)(x,y,t)(x,y,t) feasible for (2)–(7) if and only if xxx is a schedule with xj+aj≤tx_j+a_j\le txj​+aj​≤t for all jjj.
  4. The yjky_{jk}yjk​ must be discrete (p. 222). With yjky_{jk}yjk​ real in [0,1][0,1][0,1] and 0<aj,ak≤T0<a_j,a_k\le T0<aj​,ak​≤T, conditions (3)–(4) admit xj=xkx_j=x_kxj​=xk​, where (1) fails.
  5. Counting unknowns (pp. 221–222). With MMM machines of ppp tasks each, n=Mpn=Mpn=Mp and there are M p(p−1)/2M\,p(p-1)/2Mp(p−1)/2 conflicting pairs; for M=5M=5M=5, p=10p=10p=10 this gives 50+225=27550+225=27550+225=275 unknowns.

Significance

The result. The goal certifies that a single integer program, with one binary variable per conflicting pair, computes the optimal make-span of a job shop with precedence, exact delays and delivery dates. The same pattern is used whenever a disjunction f≥0f\ge0f≥0 or g≥0g\ge0g≥0 of bounded linear forms has to be put into a mixed-integer program: a binary variable selects the active branch, and a constant at least as large as the range of the inactive form switches the other branch off. Milestone 1 is that pattern in its simplest form, and milestone 4 shows why the binary variable cannot be relaxed.

Formalizing it. The paper's argument is informal. It rests on a summary table of admissible values of yjky_{jk}yjk​ that holds only when the gap ∣xj−xk∣|x_j-x_k|∣xj​−xk​∣ is large enough. A machine-checked version fixes the exact hypotheses: integrality of yjky_{jk}yjk​, the bound ∣xj−xk∣≤T|x_j-x_k|\le T∣xj​−xk​∣≤T, and nonemptiness of the task set. To the best of the curators' knowledge, no machine-checked proof of the correctness of the big-M job-shop formulation exists; the definitions here can serve later scheduling missions that need a disjunctive integer program.

Difficulty

The mathematics is elementary, and the difficulty lies in stating it exactly. The obvious reading, "(3)–(4) are equivalent to (1)", is false without the bound ∣xj−xk∣≤T|x_j-x_k|\le T∣xj​−xk​∣≤T. For instance, with yjk=0y_{jk}=0yjk​=0 condition (4) reads xj−xk≤Tx_j-x_k\le Txj​−xk​≤T, which cuts off valid orders if start days may lie beyond the horizon. It is also false for real yjky_{jk}yjk​. Equally, "minimize ttt subject to (7)" equals the maximum of xj+ajx_j+a_jxj​+aj​ only after the optimum over ttt and over xxx are interchanged and the empty task set is excluded. A naive formalization that states the schedule side as "the least ttt with (7)" proves nothing about the make-span.

Formalization scope

Tasks are Fin n (the paper's task jjj is index j−1j-1j−1), machines Fin M. Start days, durations, horizon, delays, delivery dates, yjky_{jk}yjk​ and ttt are integers (ℤ), so that xj−xkx_j-x_kxj​−xk​ and 1−yjk1-y_{jk}1−yjk​ are not truncated. Durations are not assumed positive except in milestones 2 and 4, where positivity is necessary. One definitions file, ManneJobShop.Formulation.Model, holds the instance, the conflicting pairs, schedules, the make-span (Finset.sup', so n≥1n\ge1n≥1 is required via [NeZero n]) and the integer program.

Explicit readings of loose phrases:

  • "a (large) integer TTT that will constitute a redundant upper bound upon the unknowns xjx_jxj​" (p. 219): both the schedule problem and the integer program restrict start days to 0≤xj≤T0\le x_j\le T0≤xj​≤T. Redundancy is not assumed.
  • "The effect of conditions (3) and (4) may therefore be summarized as follows" (p. 220): stated as the equivalence of milestone 1 and the exclusion of milestone 2, not row by row (for 0<xj−xk<ak0<x_j-x_k<a_k0<xj​−xk​<ak​, condition (3) forces yjk=1y_{jk}=1yjk​=1, not {0,1}\{0,1\}{0,1}).
  • "the minimization of ttt" (p. 221): IsLeast of the feasible values of ttt, matched against IsLeast of the set of make-spans of schedules.
  • "necessarily of a discrete nature" (p. 222): existence of a real yjk∈[0,1]y_{jk}\in[0,1]yjk​∈[0,1] satisfying (3)–(4) at xj=xkx_j=x_kxj​=xk​ when 0<aj,ak≤T0<a_j,a_k\le T0<aj​,ak​≤T ("large" TTT read as T≥aj,akT\ge a_j,a_kT≥aj​,ak​).
  • "mmm possible conflicting pairs of machine assignments" (p. 222): pairs j<kj<kj<k on the same machine, one yjky_{jk}yjk​ each.
  • "If task jjj is the last task which the shop is to perform upon the item" (p. 221): a delivery date may be attached to any task, which contains the paper's case.

Trivializing formalizations are ruled out: the make-span is a maximum, not a restatement of (7); yjky_{jk}yjk​ is an integer; the horizon appears on both sides; the goal is stated for every instance with n≥1n\ge1n≥1, including infeasible ones. The (5b) example is (5a) for two pairs. Wagner's comparison, the remarks on Gomory's algorithm, Dantzig's secondary constraints and Monte Carlo methods, and the economic discussion of the make-span are not formalized. Proofs of every milestone and of the goal are welcome.

Selected references

  • A. S. Manne, On the Job-Shop Scheduling Problem, Operations Research 8(2) (1960) 219–223. https://doi.org/10.1287/opre.8.2.219
  • E. H. Bowman, The Schedule-Sequencing Problem, Operations Research 7(5) (1959) 621–624. https://doi.org/10.1287/opre.7.5.621
  • H. M. Wagner, An Integer Linear-Programming Model for Machine Scheduling, Naval Research Logistics Quarterly 6(2) (1959) 131–140. https://doi.org/10.1002/nav.3800060205
  • R. E. Gomory, Outline of an Algorithm for Integer Solutions to Linear Programs, Bulletin of the AMS 64(5) (1958) 275–278. https://doi.org/10.1090/S0002-9904-1958-10224-4
  • S. M. Johnson, Optimal Two- and Three-Stage Production Schedules with Setup Times Included, Naval Research Logistics Quarterly 1(1) (1954) 61–68. https://doi.org/10.1002/nav.3800010110
7 thms2 active usersReviewed
ProbabilityStatistics·Captain: mikedeng1

A Stochastic Approximation Method: If M Is Nondecreasing, M(θ) = α and M′(θ) > 0, the Robbins–Monro Iterates with Steps of Type 1/n Converge to θ in Mean SquareResearch Paper

Motivation

Many problems in statistics and engineering ask for the level θ\thetaθ at which an unknown function takes a prescribed value α\alphaα: the dose at which a fraction α\alphaα of subjects respond, the setting at which a noisy device reaches a target output, the α\alphaα-quantile of a distribution that can only be probed by yes/no experiments. When the function can only be observed through noisy measurements, classical root-finding does not apply. Robbins and Monro (Ann. Math. Statist. 22 (1951) 400–407) proposed a recursive procedure that uses one noisy observation per step and proved that it converges in mean square. The paper started the field of stochastic approximation, which today underlies stochastic gradient descent, temporal-difference learning and adaptive control.

Timeline. Robbins and Monro (1951) prove mean-square convergence for bounded responses under conditions (5′) or (33)–(35). Kiefer and Wolfowitz (1952) adapt the scheme to finding a maximum. Blum (1954) proves almost-sure convergence under weaker moment conditions. Dvoretzky (1956) gives a general convergence theorem covering both schemes. Later work (Robbins and Siegmund, 1971; Ljung, 1977; Kushner and Clark, 1978; Benaïm, 1999) develops the supermartingale and ODE methods.

Setting

To each real level xxx corresponds a random response Y(x)Y(x)Y(x) with distribution function H(y∣x)H(y \mid x)H(y∣x), and the regression function is

M(x)=∫−∞∞y dH(y∣x).M(x) = \int_{-\infty}^{\infty} y \, dH(y \mid x).M(x)=∫−∞∞​ydH(y∣x).

The responses are bounded: there is C>0C > 0C>0 with Pr⁡[∣Y(x)∣≤C]=1\Pr[|Y(x)| \le C] = 1Pr[∣Y(x)∣≤C]=1 for all xxx (condition (4)). Fix constants α,θ\alpha, \thetaα,θ and positive step sizes ana_nan​. The Robbins–Monro process starts at an arbitrary constant x1x_1x1​ and sets

xn+1−xn=an(α−yn),Pr⁡[yn≤y∣xn]=H(y∣xn),x_{n+1} - x_n = a_n(\alpha - y_n), \qquad \Pr[y_n \le y \mid x_n] = H(y \mid x_n),xn+1​−xn​=an​(α−yn​),Pr[yn​≤y∣xn​]=H(y∣xn​),

so yny_nyn​ is a fresh response observed at the current level xnx_nxn​. The quantity of interest is the mean squared error bn=E(xn−θ)2b_n = E(x_n - \theta)^2bn​=E(xn​−θ)2.

A sequence {an}\{a_n\}{an​} is of type 1/n1/n1/n if

∑n=1∞an2<∞(6),∑n=2∞ana1+⋯+an−1=∞(26);\sum_{n=1}^{\infty} a_n^2 < \infty \quad (6), \qquad \sum_{n=2}^{\infty} \frac{a_n}{a_1 + \cdots + a_{n-1}} = \infty \quad (26);n=1∑∞​an2​<∞(6),n=2∑∞​a1​+⋯+an−1​an​​=∞(26);

an=1/na_n = 1/nan​=1/n is the standard example. The proof also uses dn=E[(xn−θ)(M(xn)−α)]d_n = E[(x_n-\theta)(M(x_n)-\alpha)]dn​=E[(xn​−θ)(M(xn​)−α)], en=E[∫(y−α)2 dH(y∣xn)]e_n = E[\int (y-\alpha)^2\,dH(y\mid x_n)]en​=E[∫(y−α)2dH(y∣xn​)] and An=∣x1−θ∣+[C+∣α∣](a1+⋯+an−1)A_n = |x_1 - \theta| + [C+|\alpha|](a_1 + \cdots + a_{n-1})An​=∣x1​−θ∣+[C+∣α∣](a1​+⋯+an−1​).

Formalization targets

Goal: Theorem 2 (p. 405)

If {an}\{a_n\}{an​} is of type 1/n1/n1/n, (4) holds, and MMM is nondecreasing with M(θ)=αM(\theta) = \alphaM(θ)=α and M′(θ)>0M'(\theta) > 0M′(θ)>0, then, whatever x1x_1x1​,

lim⁡n→∞E(xn−θ)2=0.\lim_{n \to \infty} E(x_n - \theta)^2 = 0.n→∞lim​E(xn​−θ)2=0.

Milestones

  1. The one-step identity (14): bn+1−bn=an2en−2andnb_{n+1} - b_n = a_n^2 e_n - 2a_n d_nbn+1​−bn​=an2​en​−2an​dn​.
  2. The signs and bound after (14): dn≥0d_n \ge 0dn​≥0 and 0≤en≤[C+∣α∣]20 \le e_n \le [C+|\alpha|]^20≤en​≤[C+∣α∣]2.
  3. (17)–(18): ∑an2en\sum a_n^2e_n∑an2​en​ and ∑andn\sum a_n d_n∑an​dn​ converge, and b=lim⁡bn=b1+∑an2en−2∑andnb = \lim b_n = b_1 + \sum a_n^2e_n - 2\sum a_nd_nb=limbn​=b1​+∑an2​en​−2∑an​dn​ exists with b≥0b \ge 0b≥0.
  4. Lemma 1: if dn≥knbnd_n \ge k_n b_ndn​≥kn​bn​ with kn≥0k_n \ge 0kn​≥0 and ∑ankn=∞\sum a_n k_n = \infty∑an​kn​=∞, then b=0b = 0b=0.
  5. (22): Pr⁡[∣xn−θ∣≤An]=1\Pr[|x_n - \theta| \le A_n] = 1Pr[∣xn​−θ∣≤An​]=1.
  6. (24): dn≥kˉnbnd_n \ge \bar k_n b_ndn​≥kˉn​bn​, where kˉn\bar k_nkˉn​ is the infimum of (M(x)−α)/(x−θ)(M(x)-\alpha)/(x-\theta)(M(x)−α)/(x−θ) over 0<∣x−θ∣≤An0 < |x-\theta| \le A_n0<∣x−θ∣≤An​.
  7. (27): (26) implies ∑an=∞\sum a_n = \infty∑an​=∞.
  8. Lemma 2: if kˉn≥K/An\bar k_n \ge K/A_nkˉn​≥K/An​ for some K>0K > 0K>0 and large nnn, and (26) holds, then b=0b = 0b=0.
  9. (42): under (33)–(35), (M(x)−α)/(x−θ)≥δM′(θ)/2An(M(x)-\alpha)/(x-\theta) \ge \delta M'(\theta)/2A_n(M(x)−α)/(x−θ)≥δM′(θ)/2An​ on 0<∣x−θ∣≤An0 < |x-\theta| \le A_n0<∣x−θ∣≤An​.

Companion results

Theorem 1 (p. 404: the same conclusion under (5′), M(x)≤α−δM(x) \le \alpha - \deltaM(x)≤α−δ for x<θx < \thetax<θ and M(x)≥α+δM(x) \ge \alpha + \deltaM(x)≥α+δ for x>θx > \thetax>θ); convergence in probability under the hypotheses of Theorem 2 (p. 401); the quantile estimator of §4, (48); and (30), that c′/n≤an≤c′′/nc'/n \le a_n \le c''/nc′/n≤an​≤c′′/n gives a sequence of type 1/n1/n1/n.

Significance

Theorem 2 is the first convergence theorem for a recursive root-finding procedure under noise. It shows that a procedure using no knowledge of MMM or of the noise distribution, beyond a monotone crossing and a positive slope at the root, is consistent. Section 4 turns it into a distribution-free consistent estimator of a quantile from response/nonresponse data, the up-and-down designs of bioassay and sensitivity testing. Its step-size conditions, ∑an2<∞\sum a_n^2 < \infty∑an2​<∞ with a divergence condition, remain the standard conditions for stochastic gradient methods.

The theorem has been proved since 1951 and strengthened many times. As far as is known it has no machine-checked proof, and Mathlib has no stochastic approximation theory. Formalizing it requires conditional laws given by Markov kernels, integration against a composition of a measure with a kernel, and deterministic series arguments. A finished formalization would be a base for formalizing the almost-sure theorems (Blum, Robbins–Siegmund) and the ODE method.

Difficulty

The obvious argument fails at one step. Monotonicity of MMM and a positive derivative at θ\thetaθ do not give a uniform positive lower bound on the slope (M(x)−α)/(x−θ)(M(x)-\alpha)/(x-\theta)(M(x)−α)/(x−θ): away from θ\thetaθ the slope can decay to 000, for example when MMM is bounded, as (4) forces. So the drift towards θ\thetaθ is not uniformly strong, and the newcomer's first idea, a uniform contraction bn+1≤(1−c an)bn+O(an2)b_{n+1} \le (1 - c\,a_n) b_n + O(a_n^2)bn+1​≤(1−can​)bn​+O(an2​), is not available under (33)–(35). This is why the theorem needs the divergence condition (26), which is stronger than ∑an=∞\sum a_n = \infty∑an​=∞, and not only (6). On the formal side, the expectations come from integrating against the joint law of (xn,yn)(x_n, y_n)(xn​,yn​), and they need integrability bounds before any identity can be used.

Formalization scope

Everything is in the namespace RobbinsMonroSA.Conv, over a probability space (Ω,P)(\Omega, P)(Ω,P) with IsProbabilityMeasure P. Indices are 0-based: Lean's x 0, a 0 are the paper's x1x_1x1​, a1a_1a1​, and Lean's bigA … n is the paper's An+1A_{n+1}An+1​. The committed conventions are:

  • HHH is a Kernel ℝ ℝ with IsMarkovKernel H (each H(⋅∣x)H(\cdot\mid x)H(⋅∣x) is a probability law, measurable in xxx).
  • (4) is 0 < C ∧ ∀ x, H x [-C, C] = 1. It is a hypothesis of every item that mentions an expectation, and it is what keeps the Bochner integrals defining bnb_nbn​, dnd_ndn​, ene_nen​ and MMM from defaulting to 000.
  • (8) is the joint-law equation: the law of (xn,yn)(x_n, y_n)(xn​,yn​) is the law of xnx_nxn​ composed with HHH. (7) holds surely, and xnx_nxn​, yny_nyn​ are measurable. No Markov property or filtration beyond (8) is assumed.
  • Every "=∞= \infty=∞" for a series ((19), (26), (27)) is divergence of partial sums to +∞+\infty+∞. "b=0b = 0b=0" is bn→0b_n \to 0bn​→0.
  • M′(θ)>0M'(\theta) > 0M′(θ)>0 is HasDerivAt M M' θ with 0 < M'.
  • The infimum kˉn\bar k_nkˉn​ of (23) is never formed. (24) and (25) are stated with lower bounds on (M(z)−α)/(z−θ)(M(z)-\alpha)/(z-\theta)(M(z)−α)/(z−θ) over 0<∣z−θ∣≤An0<|z-\theta|\le A_n0<∣z−θ∣≤An​. This avoids the junk value 000 that Lean's real infimum gives on the empty range (An=0A_n = 0An​=0), where the paper's infimum is +∞+\infty+∞.

The standing assumptions of §3, (4), (5) and (6), are hypotheses of Lemma 1, Lemma 2 and the displays of §3 whose proofs use them. In Theorems 1 and 2, (5) follows from (5′) or from (33)–(34), and (6) is part of "type 1/n1/n1/n".

The goal cannot be trivialized. It mentions neither dnd_ndn​, ene_nen​, AnA_nAn​ nor any constant, and the process must satisfy (8) for every nnn. Without (8), yny_nyn​ would be arbitrary and the statement false; with yn=M(xn)y_n = M(x_n)yn​=M(xn​) it would be deterministic.

Contributions welcome: proofs of the milestones, reusable lemmas on integrating against μ ⊗ₘ κ, and a proof that an=1/na_n = 1/nan​=1/n satisfies (26).

Selected references

  • H. Robbins and S. Monro, A stochastic approximation method, Ann. Math. Statist. 22 (1951), 400–407. https://doi.org/10.1214/aoms/1177729586
  • J. Kiefer and J. Wolfowitz, Stochastic estimation of the maximum of a regression function, Ann. Math. Statist. 23 (1952), 462–466. https://doi.org/10.1214/aoms/1177729392
  • J. R. Blum, Approximation methods which converge with probability one, Ann. Math. Statist. 25 (1954), 382–386. https://doi.org/10.1214/aoms/1177728794
  • A. Dvoretzky, On stochastic approximation, Proc. Third Berkeley Symp. Math. Statist. Prob. 1 (1956), 39–55. https://projecteuclid.org/euclid.bsmsp/1200501645
  • H. Robbins and D. Siegmund, A convergence theorem for non negative almost supermartingales and some applications, in Optimizing Methods in Statistics (1971), 233–257. https://doi.org/10.1016/B978-0-12-604550-5.50015-8
  • M. Benaïm, Dynamics of stochastic approximation algorithms, Séminaire de Probabilités XXXIII, LNM 1709 (1999), 1–68. https://doi.org/10.1007/BFb0096509
11 thms2 active usersReviewed
🏆Completed
CombinatoricsOperations Research·Captain: mikedeng1

Efficient Algorithms for Scheduling Semiconductor Burn-In Operations 4: Batch List Scheduling Is Within B + 1 − 1/m of the Optimal Makespan and Has a Bounded Relative Maximum-Lateness ErrorResearch Paper

Motivation

Semiconductor burn-in ovens can process several jobs at once. A group placed in one oven must remain together until the longest job has finished, so increasing batch size saves oven starts but can delay short jobs. When several ovens are available, a scheduler also has to decide which oven receives each batch. Lee, Uzsoy, and Martin-Vega studied this setting and gave guarantees for a simple rule that first groups an arbitrary job list into batches and then sends those batches to the next available oven (Lee, Uzsoy & Martin-Vega 1992, §§2 and 5). Their bounds give a way to assess this easily specified rule against the best possible schedule, even when finding that schedule is difficult.

The paper treats both makespan, the time when all jobs have finished, and maximum lateness, the largest difference between a job's completion time and its due date. These objectives respond differently to batching. The makespan ignores which particular job finishes late; maximum lateness depends on each job's due date. Proposition 4 relates the lateness guarantee to the makespan guarantee of Proposition 1, making the two results a natural formalization unit (Lee, Uzsoy & Martin-Vega 1992, pp. 772–773).

Setting

There are n>0n>0n>0 jobs, indexed by jjj, with processing times pj>0p_j>0pj​>0 and due dates dj≥0d_j\ge0dj​≥0. All jobs are available at time zero. There are m>0m>0m>0 identical batch machines, each able to process at most B>0B>0B>0 jobs at once. A batch cannot be interrupted or enlarged after it begins, and its processing time is the largest pjp_jpj​ among its members. A schedule partitions the jobs into nonempty batches, chooses a machine for each batch, and orders the batches on each machine. Batches assigned to a machine run one after another from time zero. Every job in a batch finishes when that batch finishes (Lee, Uzsoy & Martin-Vega 1992, p. 766).

For a set of jobs JJJ, write Cmax⁡∗(J)C_{\max}^*(J)Cmax∗​(J) for the least makespan over all valid batchings and machine assignments. Write L∗(J)L^*(J)L∗(J) for the least possible value of max⁡j∈J(Cj−dj)\max_{j\in J}(C_j-d_j)maxj∈J​(Cj​−dj​), where CjC_jCj​ is job jjj's completion time. For the full job set, abbreviate these by Cmax⁡∗C_{\max}^*Cmax∗​ and L∗L^*L∗. The maximum due date over all jobs is dmax⁡=max⁡jdjd_{\max}=\max_jd_jdmax​=maxj​dj​.

Batch list scheduling (BLS) begins with any ordering of the jobs. It divides successive entries into full batches of BBB jobs, apart from a possibly smaller final batch. It then assigns each next batch to a machine that becomes available first. Denote the resulting makespan by Cmax⁡BLSC_{\max}^{\mathrm{BLS}}CmaxBLS​ and its maximum lateness by LLL. The guarantee applies to every initial list; it does not require an earliest-due-date or longest-processing-time order (Lee, Uzsoy & Martin-Vega 1992, p. 771, Algorithm BLS).

Formalization targets

Makespan guarantee

Proposition 1 asserts, for every BLS list,

Cmax⁡BLS≤(B+1−1m)Cmax⁡∗.C_{\max}^{\mathrm{BLS}}\le\left(B+1-\frac1m\right)C_{\max}^*.CmaxBLS​≤(B+1−m1​)Cmax∗​.

The milestone list includes the paper's processing-volume lower bound, ∑jpj/(mB)≤Cmax⁡∗\sum_jp_j/(mB)\le C_{\max}^*∑j​pj​/(mB)≤Cmax∗​, and Proposition 1 itself. The latter is stated for arbitrary job subsets as well as the full instance, because the paper applies it to a prefix sub-instance in the proof of Proposition 4 (Lee, Uzsoy & Martin-Vega 1992, p. 772).

Relative maximum-lateness guarantee

The mission's goal is the printed ratio of Proposition 4:

L−L∗L∗+dmax⁡≤B−1m+dmax⁡L∗+dmax⁡.\frac{L-L^*}{L^*+d_{\max}} \le B-\frac1m+\frac{d_{\max}}{L^*+d_{\max}}.L∗+dmax​L−L∗​≤B−m1​+L∗+dmax​dmax​​.

The denominator is positive under the stated conditions, even if the optimal maximum lateness is negative. The remaining milestones record the paper's lower bound L∗(J)≥Cmax⁡∗(J)−dmax⁡L^*(J)\ge C_{\max}^*(J)-d_{\max}L∗(J)≥Cmax∗​(J)−dmax​ for a nonempty sub-instance and its reduction from the full instance to the BLS prefix containing a maximum-lateness job (Lee, Uzsoy & Martin-Vega 1992, p. 773).

Significance

The makespan result controls the cost of using an arbitrary initial list and simple next-available-machine assignments instead of optimizing both the batching and machine allocation. At B=1B=1B=1, its factor becomes 2−1/m2-1/m2−1/m, the ordinary list-scheduling factor noted by the authors. Proposition 4 gives a corresponding bound for maximum lateness, normalized in a way that remains meaningful when L∗<0L^*<0L∗<0 (Lee, Uzsoy & Martin-Vega 1992, pp. 772–773).

These are proved results in the 1992 paper. The formalization work is to give their batch model, sub-instance optima, and the printed inequalities machine-checked statements and eventually proofs. The imported library already has definitions of least-loaded list scheduling and optimal assignment makespan for ordinary items on identical machines. This mission adds the batch layer, its lateness objective, and the comparison between the batch algorithm and unrestricted batch schedules. The Lean declarations here compile as open theorem targets; this proposal does not claim completed machine-checked proofs.

Difficulty

The processing time of a batch is a maximum, while its contribution to the volume of jobs is a sum. Treating each batch as an ordinary job gives a list-scheduling instance, but it does not by itself compare that instance's optimum with the optimum over all ways to form batches. That gap is central to the makespan bound. The lateness goal has a second obstacle: the job that determines the BLS maximum lateness may sit in a batch that is not the last to finish, and due dates prevent a direct substitution of a makespan bound for a lateness bound. Moreover, L∗L^*L∗ may be negative, so dividing by it would not give a valid relative error. The stated normalization and its positivity require explicit attention (Lee, Uzsoy & Martin-Vega 1992, proof of Proposition 4).

Formalization scope

Jobs are Fin n and machines are Fin m; the paper's first job is Lean index zero. Processing times and due dates are real numbers. The paper's integer-data convention is sufficient for these inequalities but is not needed for their statements. Processing times are positive, all jobs are available at time zero, and the lateness goal requires nonnegative due dates. This last condition makes explicit what the paper's final inequality uses: allowing negative due dates makes Proposition 4 false. The full job set is nonempty. Prefix jobs are the first batches of the given arbitrary list, and the optimal values for a prefix range over every valid batching and assignment of those jobs.

The BLS implementation chunks the list into full batches and a final remainder. A batch is sent to a least-loaded machine, which is the first machine to become free when no idle time is inserted. The published list-scheduling definitions of NumStochOpt.ListScheduling supply this rule and the ordinary assignment optimum. They select the lowest machine index on a tie; identical-machine labels do not affect the resulting completion times. Machine schedules are represented by an ordered batch list and an assignment, with each machine processing its own batches back to back. No bound is obtained by defining the optimum over BLS-shaped consecutive batches, and no theorem fixes a favorable job list.

The mission covers correctness inequalities, not the paper's running-time claims or its later BLPT rule. Useful contributions include proofs of the four milestones, finite-schedule facts showing the optima are attained, and reusable links between batch completion times and least-loaded list scheduling. The parallel batch model can also support other objectives and scheduling rules.

Selected references

  • C.-Y. Lee, R. Uzsoy, and L. A. Martin-Vega, Efficient Algorithms for Scheduling Semiconductor Burn-In Operations, Operations Research 40(4), 764–775, 1992. DOI: 10.1287/opre.40.4.764.
8 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

Efficient Algorithms for Scheduling Semiconductor Burn-In Operations 1: Dynamic Program DP1 Finds a Minimum-Makespan On-Time Batch Schedule of Equal-Length Jobs with Agreeable Release and Due DatesResearch Paper

Motivation

Burn-in is the final testing stage of semiconductor manufacturing: finished integrated circuits are loaded on boards and held in an oven at high temperature for a prescribed minimum time, so that weak devices fail before shipment. An oven holds many boards at once, a load cannot be interrupted, and a board may stay in the oven longer than its specified time but never shorter. Because burn-in times are long compared to the other test operations, the ovens are frequently the bottleneck of the test facility, and the order in which lots enter them determines whether customer due dates are met.

Lee, Uzsoy and Martin-Vega (Operations Research 40(4), 1992) modelled an oven as a batch processing machine and gave polynomial algorithms for several due-date objectives. This mission covers the first of them: one machine, jobs with release times and a common processing time, and the question whether every job can be completed by its due date. Ikura and Gimple (Operations Research Letters 5(2), 1986) had already given an O(n2)O(n^2)O(n2) algorithm for this feasibility question when release times and due dates are agreeable; the paper replaces it by a simpler dynamic program, DP1, and uses DP1 with a bisection search to minimize the maximum tardiness.

Setting

There are nnn jobs, indexed 1,…,n1, \dots, n1,…,n. Job iii has a release time rir_iri​ (it cannot be processed earlier), a due date did_idi​, and the common processing time ppp; all data are natural numbers. One machine processes up to B≥1B \ge 1B≥1 jobs simultaneously.

A batch schedule of a set JJJ of jobs is a sequence of batches P1,…,PmP_1, \dots, P_mP1​,…,Pm​: nonempty, pairwise disjoint sets of at most BBB jobs whose union is JJJ, processed in this order. A batch cannot be interrupted, and no job joins it once it has started. It starts as soon as the previous batch is finished and all its jobs are released, and it takes time ppp:

C(Pk)=max⁡{r(Pk), C(Pk−1)}+p,r(P)=max⁡{ri:i∈P},C(P0)=0.C(P_k) = \max\{r(P_k),\, C(P_{k-1})\} + p,\qquad r(P) = \max\{r_i : i \in P\},\qquad C(P_0) = 0 .C(Pk​)=max{r(Pk​),C(Pk−1​)}+p,r(P)=max{ri​:i∈P},C(P0​)=0.

Job iii completes at Ci=C(Pk)C_i = C(P_k)Ci​=C(Pk​) for the batch Pk∋iP_k \ni iPk​∋i; the makespan is Cmax⁡=C(Pm)C_{\max} = C(P_m)Cmax​=C(Pm​). A schedule is feasible (has Tmax⁡=0T_{\max} = 0Tmax​=0) if Ci≤diC_i \le d_iCi​≤di​ for every job, and its maximum tardiness is Tmax⁡=max⁡imax⁡{0,Ci−di}T_{\max} = \max_i \max\{0, C_i - d_i\}Tmax​=maxi​max{0,Ci​−di​}.

Release times and due dates are agreeable if ri<rjr_i < r_jri​<rj​ implies di≤djd_i \le d_jdi​≤dj​. A schedule is in batch-EDD order if no job of an earlier batch has a larger due date than a job of a later batch.

Algorithm DP1. With the jobs indexed in nondecreasing order of due dates, let f(0)=0f(0) = 0f(0)=0 and, for j≥1j \ge 1j≥1,

f(j)=min⁡max⁡{1, j−B+1}≤i≤jfi(j),fi(j)={max⁡{f(i−1),rj}+pif max⁡{f(i−1),rj}+p≤di,∞otherwise.f(j) = \min_{\max\{1,\,j-B+1\} \le i \le j} f_i(j),\qquad f_i(j) = \begin{cases} \max\{f(i-1), r_j\} + p & \text{if } \max\{f(i-1), r_j\} + p \le d_i,\\ \infty & \text{otherwise.}\end{cases}f(j)=max{1,j−B+1}≤i≤jmin​fi​(j),fi​(j)={max{f(i−1),rj​}+p∞​if max{f(i−1),rj​}+p≤di​,otherwise.​

Formalization targets

Goal: correctness of DP1

For an index order nondecreasing in both ddd and rrr, and every 0≤j≤n0 \le j \le n0≤j≤n,

f(j)=min⁡{ Cmax⁡(S):S a feasible batch schedule of jobs 1,…,j },min⁡∅=∞.f(j) = \min\{\, C_{\max}(S) : S \text{ a feasible batch schedule of jobs } 1,\dots,j \,\},\qquad \min\emptyset = \infty .f(j)=min{Cmax​(S):S a feasible batch schedule of jobs 1,…,j},min∅=∞.

The minimum ranges over all batch schedules of the prefix: every batching and every batch order. The case j=nj = nj=n is the paper's statement that DP1 "will find a feasible schedule with minimum makespan if a feasible schedule exists" (p. 768).

Milestones

  1. Lemma 1 (p. 767): if a feasible schedule exists, a feasible schedule in batch-EDD order exists.
  2. Justification of DP1 (p. 768): every feasible schedule of jobs 1,…,j1, \dots, j1,…,j can be replaced by a feasible schedule whose batches are blocks of at most BBB consecutively indexed jobs, in increasing index order, with no larger makespan, so the problem "becomes a consecutive partition problem".
  3. Lemma 2 (p. 769): under rj+p≤djr_j + p \le d_jrj​+p≤dj​ for all jjj, some schedule has Tmax⁡≤(n−1)pT_{\max} \le (n-1)pTmax​≤(n−1)p.

Significance

DP1 decides feasibility of 1/ri,pi=p,B/Tmax⁡1/r_i, p_i = p, B/T_{\max}1/ri​,pi​=p,B/Tmax​ and, when the instance is feasible, returns the minimum makespan of an on-time schedule. Applied to due dates augmented by a trial value TTT, it decides whether Tmax⁡≤TT_{\max} \le TTmax​≤T is achievable, which together with the bound of Lemma 2 gives the paper's polynomial procedure for minimizing Tmax⁡T_{\max}Tmax​. The consecutive-partition structure behind it recurs in the paper's later dynamic programs (DP2 for agreeable processing times and due dates, DP3 for the number of tardy jobs), and in much of the later literature on batch scheduling with release dates.

The results are proved in the paper; none of them has a machine-checked proof. The mission formalizes the known proofs. Its formal statements also make explicit two assumptions that the printed text leaves loose: the tie-break of the index order, without which DP1 returns a wrong value, and the hypothesis rj+p≤djr_j + p \le d_jrj​+p≤dj​ of Lemma 2, without which the lemma is false.

Difficulty

The obvious argument for the goal is "by Lemma 1 the batches are consecutive, and DP1 enumerates consecutive partitions". Lemma 1 orders the batches by due dates, but it does not make the batches intervals of the index order: jobs with equal due dates may still be split across batches in an order that is not the index order, and when equal due dates are indexed against the release order DP1's value max⁡{f(i−1),rj}+p\max\{f(i-1), r_j\} + pmax{f(i−1),rj​}+p underestimates the start of the batch {i,…,j}\{i, \dots, j\}{i,…,j}. The step from batch-EDD order to consecutive batches, and the fact that the exchange never increases the makespan, are the content of the justification milestone. The goal also asserts two directions at once: that the DP value is attained by some feasible schedule, and that no feasible schedule, consecutive or not, finishes earlier.

Formalization scope

Jobs are Fin n, 0-based (the paper's job iii is i - 1); a prefix "jobs 1,…,j1, \dots, j1,…,j" is a prefix length j≤nj \le nj≤n. Data are natural numbers, as the paper assumes ("all data to be integers", p. 769). A batch schedule is a List (Finset (Fin n)); schedules are semi-active, starting every batch as early as possible, which loses nothing for the regular objectives here. DP1 is a def written as printed, with values in ℕ∞ and ∞=⊤\infty = \top∞=⊤; the minimum in the goal is an infimum in ℕ∞ over all valid feasible schedules, so its value on an infeasible prefix is ⊤\top⊤.

Explicit readings of loose phrases:

  • "Jobs are indexed in increasing order of due dates" (p. 767): the index order is nondecreasing in both ddd and rrr. Such an order exists for agreeable data (sort by (d,r)(d, r)(d,r)), and it implies agreeability. With ties in ddd ordered against rrr the goal is false: B=2B = 2B=2, p=1p = 1p=1, d=(2,2)d = (2, 2)d=(2,2), r=(1,0)r = (1, 0)r=(1,0) gives f(2)=1f(2) = 1f(2)=1, while every schedule finishes at time 222.
  • "Agreeable" is printed as "ri≤rjr_i \le r_jri​≤rj​ implies di≤djd_i \le d_jdi​≤dj​"; the strict form ri<rj⇒di≤djr_i < r_j \Rightarrow d_i \le d_jri​<rj​⇒di​≤dj​ is used, a weaker hypothesis.
  • "A solution with Tmax⁡=0T_{\max} = 0Tmax​=0" is a batch schedule in which every job is on time.
  • "(n−1)p(n - 1)p(n−1)p is an upper bound on the value of Tmax⁡T_{\max}Tmax​" (Lemma 2) is read as a bound on the optimal Tmax⁡T_{\max}Tmax​, with the hypothesis rj+p≤djr_j + p \le d_jrj​+p≤dj​ that its proof invokes ("by assumption rj+p<djr_j + p < d_jrj​+p<dj​"), in the weak form.
  • "If f(j)≤djf(j) \le d_jf(j)≤dj​, then it is possible to schedule jobs 1,…,j1, \dots, j1,…,j so that none are tardy" is not formalized separately; it is subsumed by the goal.

Not formalized: the O(nB)O(nB)O(nB) running time of DP1, Algorithm 1 (bisection over Tmax⁡T_{\max}Tmax​) and Corollary 1, whose content is a running time. A formalization that restricts the minimum in the goal to consecutive or batch-EDD schedules would assume the milestones and is excluded; so is a DP value defined as the optimum itself.

The development needs list-based schedule recursions and ℕ∞ arithmetic only; the exchange lemmas for batch schedules (moving a job between batches without delaying later batches) are reusable for the paper's other dynamic programs. Proofs of any milestone, and of auxiliary lemmas on finish, jobCompletion and permutations of batch lists, are welcome.

Selected references

  • C.-Y. Lee, R. Uzsoy, L. A. Martin-Vega, Efficient Algorithms for Scheduling Semiconductor Burn-In Operations, Operations Research 40(4), 764–775, 1992. https://doi.org/10.1287/opre.40.4.764
  • Y. Ikura, M. Gimple, Scheduling Algorithms for a Single Batch Processing Machine, Operations Research Letters 5(2), 61–65, 1986. https://doi.org/10.1016/0167-6377(86)90092-7
6 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

Efficient Algorithms for Scheduling Semiconductor Burn-In Operations 2: Dynamic Program DP2 Finds a Minimum-Makespan On-Time Batch Schedule When Processing Times and Due Dates Are AgreeableResearch Paper

Burn-in ovens as batch processing machines

In semiconductor manufacturing, finished chips go through burn-in: they are loaded on boards and held in an oven at high temperature to expose early failures. An oven holds a bounded number of boards, a load cannot be interrupted once started, and a chip may stay in the oven longer than its specified burn-in time but not shorter. Lee, Uzsoy and Martin-Vega (Oper. Res. 40(4), 1992) model the oven as a batch processing machine and give polynomial algorithms for several due-date objectives. The model has since become a standard one in scheduling theory; the survey of Potts and Kovalyov (2000) traces the batching literature that grew from it.

This mission formalizes the part of the paper's §3 on minimizing maximum tardiness when all jobs are available at time 000 and processing times and due dates are agreeable. That is the problem the paper writes 1/B/Tmax⁡1/B/T_{\max}1/B/Tmax​. The paper's own route is a feasibility test by dynamic programming, Algorithm DP2, which a bisection over due-date shifts turns into a Tmax⁡T_{\max}Tmax​ minimizer.

The batch machine

There are nnn jobs 1,…,n1,\dots,n1,…,n. Job iii has a processing time pip_ipi​ and a due date did_idi​, both natural numbers. The machine has capacity B≥1B\ge 1B≥1. A batch is a nonempty set of at most BBB jobs processed together. It occupies the machine for the processing time of its longest job,

t(P)=max⁡i∈Ppi.t(P)=\max_{i\in P}p_i .t(P)=i∈Pmax​pi​.

A batch schedule of a job set JJJ is a sequence S=(P1,…,Pm)S=(P_1,\dots,P_m)S=(P1​,…,Pm​) of pairwise disjoint batches covering JJJ, processed in this order and back to back from time 000. Batch PkP_kPk​ and all of its jobs complete at C(Pk)=t(P1)+⋯+t(Pk)C(P_k)=t(P_1)+\dots+t(P_k)C(Pk​)=t(P1​)+⋯+t(Pk​). The makespan is Cmax⁡(S)=C(Pm)C_{\max}(S)=C(P_m)Cmax​(S)=C(Pm​), and the maximum tardiness is

Tmax⁡(S)=max⁡kmax⁡i∈Pkmax⁡{0, C(Pk)−di}.T_{\max}(S)=\max_k\max_{i\in P_k}\max\{0,\,C(P_k)-d_i\}.Tmax​(S)=kmax​i∈Pk​max​max{0,C(Pk​)−di​}.

A schedule is feasible when Tmax⁡(S)=0T_{\max}(S)=0Tmax​(S)=0, that is, when every job meets its due date.

A sequence is in batch-EDD order (Definition 1) if no job in an earlier batch has a strictly later due date than a job in a later batch. Processing times and due dates are agreeable if pi<pjp_i<p_jpi​<pj​ implies di≤djd_i\le d_jdi​≤dj​. A schedule is consecutive when every batch is a block {i,i+1,…,k}\{i,i+1,\dots,k\}{i,i+1,…,k} of indices and the blocks appear in increasing order.

Algorithm DP2 computes values f(0),…,f(n)∈N∪{∞}f(0),\dots,f(n)\in\mathbb N\cup\{\infty\}f(0),…,f(n)∈N∪{∞}:

f(0)=0,f(j)=min⁡max⁡{1, j−B+1}≤i≤jfi(j),fi(j)={f(i−1)+pj,f(i−1)+pj≤di,∞,otherwise.f(0)=0,\qquad f(j)=\min_{\max\{1,\,j-B+1\}\le i\le j} f_i(j),\qquad f_i(j)=\begin{cases}f(i-1)+p_j,& f(i-1)+p_j\le d_i,\\ \infty,&\text{otherwise.}\end{cases}f(0)=0,f(j)=max{1,j−B+1}≤i≤jmin​fi​(j),fi​(j)={f(i−1)+pj​,∞,​f(i−1)+pj​≤di​,otherwise.​

Formalization targets

Goal: correctness of DP2

Index the jobs so that d1≤⋯≤dnd_1\le\dots\le d_nd1​≤⋯≤dn​ and p1≤⋯≤pnp_1\le\dots\le p_np1​≤⋯≤pn​. Then for every 0≤j≤n0\le j\le n0≤j≤n,

f(j)=min⁡{ Cmax⁡(S):S a batch schedule of jobs 1,…,j, Tmax⁡(S)=0 },f(j)=\min\{\,C_{\max}(S) : S \text{ a batch schedule of jobs } 1,\dots,j,\ T_{\max}(S)=0\,\},f(j)=min{Cmax​(S):S a batch schedule of jobs 1,…,j, Tmax​(S)=0},

with min⁡∅=∞\min\emptyset=\inftymin∅=∞. The minimum ranges over all schedules: any batching, any order. This is the paper's reading of f(j)f(j)f(j) as "the minimum completion time of jobs 1,…,j1,\dots,j1,…,j if they can be scheduled feasibly, and infinity otherwise".

Milestones

  1. Lemma 3. With agreeable processing times and due dates, if a feasible schedule exists, then a feasible schedule in batch-EDD order exists.
  2. Consecutive partition (justification of DP2). Under the index order above, if jobs 1,…,j1,\dots,j1,…,j can be scheduled feasibly, then some feasible schedule of minimum makespan is consecutive.
  3. FBEDD. With equal processing times and due dates in index order, the Full-Batch EDD schedule {1,…,B},{B+1,…,2B},…\{1,\dots,B\},\{B+1,\dots,2B\},\dots{1,…,B},{B+1,…,2B},… has Tmax⁡T_{\max}Tmax​ no larger than that of any batch schedule.

Significance

DP2 is the paper's feasibility test for 1/B/Tmax⁡1/B/T_{\max}1/B/Tmax​ with agreeable data. With a bisection over the common shift of the due dates, it yields a polynomial algorithm for minimizing Tmax⁡T_{\max}Tmax​. A correct statement of what DP2 computes is therefore the core of that result. The same consecutive-partition structure underlies the paper's DP1 (release times, equal processing times) and DP3 (number of tardy jobs), which are separate missions of this series.

No machine-checked proof of any of these statements is known. The dynamic program's correctness is argued in the paper only by reference ("the justification of this algorithm is similar to that of algorithm DP1"), and the index order it needs is left implicit. A formal proof pins down exactly which ordering of the jobs makes the recursion correct.

Difficulty

The recursion charges pjp_jpj​ for the last batch {i,…,j}\{i,\dots,j\}{i,…,j} and checks only did_idi​. Both shortcuts rely on the jobs being sorted by due date and by processing time at the same time. Lemma 3's exchange argument sorts a feasible schedule by due date, but it does not by itself produce consecutive blocks of a fixed index order. With ties in due dates the indexing also has to be compatible with processing times. Without that, the recursion is wrong: for B=2B=2B=2, p=(3,1)p=(3,1)p=(3,1), d=(5,5)d=(5,5)d=(5,5) it gives f(2)=1f(2)=1f(2)=1, while every schedule takes at least 333. The goal compares the DP with the optimum over all schedules, so the exchange arguments have to bridge arbitrary batchings and the consecutive ones the recursion enumerates. That bridge is the main step left to prove.

Formalization scope

  • Jobs are Fin n (job iii of the paper is index i−1i-1i−1); jobs 1,…,j1,\dots,j1,…,j are jobsUpTo n j. Data are natural numbers; the paper assumes integral data (p. 769).
  • A schedule is a List (Finset (Fin n)); validity requires nonempty batches of size at most BBB inside the job set, pairwise disjoint, covering the set. Batches start as early as possible. Batch time is the maximum processing time in the batch.
  • ∞\infty∞ is ⊤ : ℕ∞, and the goal's minimum is the infimum in ℕ∞, which is ⊤ exactly when no feasible schedule exists. DP2 is defined by the printed recursion, not as an optimum.
  • Explicit readings of loose phrases:
    • "jobs are indexed in increasing order of due dates" (p. 767) becomes Monotone d ∧ Monotone p for DP2 and its justification, and Monotone d for FBEDD;
    • "agreeable" (printed "pi≤pjp_i\le p_jpi​≤pj​ implies di≤djd_i\le d_jdi​≤dj​", which would force equal due dates for equal processing times) becomes the strict form pi<pj⇒di≤djp_i<p_j\Rightarrow d_i\le d_jpi​<pj​⇒di​≤dj​, a weaker hypothesis;
    • "optimally solves" for FBEDD becomes "valid, and Tmax⁡T_{\max}Tmax​ at most that of every valid schedule";
    • "a consecutive partition problem" becomes the existence of a consecutive minimum-makespan feasible schedule.
  • Not formalized: the O(nB)O(nB)O(nB) and O[nBlog⁡2(npmax⁡)]O[nB\log_2(np_{\max})]O[nBlog2​(npmax​)] running times, the bisection procedure, and the remark that npmax⁡np_{\max}npmax​ bounds Tmax⁡T_{\max}Tmax​.
  • Trivializations ruled out: the goal's minimum ranges over all valid schedules, not only batch-EDD or consecutive ones (which would assume the milestones), and DP2 is the printed recursion, not a restatement of the optimum.
  • Infrastructure needed: list-indexed schedules, exchange arguments on adjacent batches, and induction on prefix length for the recursion. The single-machine batch model is shared in spirit with missions 1 and 3 of this series. No published platform definition was reused, since nothing on batch machines exists yet.

Selected references

  • C.-Y. Lee, R. Uzsoy, L. A. Martin-Vega, Efficient Algorithms for Scheduling Semiconductor Burn-In Operations, Operations Research 40(4), 764–775, 1992. https://doi.org/10.1287/opre.40.4.764
  • Y. Ikura, M. Gimple, Efficient scheduling algorithms for a single batch processing machine, Operations Research Letters 5(2), 61–65, 1986. https://doi.org/10.1016/0167-6377(86)90104-5
  • C. N. Potts, M. Y. Kovalyov, Scheduling with batching: A review, European Journal of Operational Research 120(2), 228–249, 2000. https://doi.org/10.1016/S0377-2217(99)00153-8
7 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

A Functional Equation and Its Application to Resource Allocation and Sequencing Problems 3: The Minimum Weighted Number of Tardy Jobs Is Σ p_j Minus the Value f(n, d_n) of Equation (3)Research Paper

Motivation

Minimizing the weighted number of tardy jobs on a single machine, written 1∥∑wjUj1\|\sum w_jU_j1∥∑wj​Uj​ in later scheduling notation, is one of the basic due-date objectives: each job either meets its deadline or pays a fixed penalty, and the question is which jobs to sacrifice. Moore (Management Sci. 15, 1968) solved the unweighted case pj=1p_j = 1pj​=1 with a greedy procedure. Lawler and Moore (Management Sci. 16, 1969) handled arbitrary weights by recasting the problem as a knapsack problem with nested prefix constraints and solving it by a recursion, their Equation (3). This is the classical pseudo-polynomial algorithm for the weighted problem; Lenstra, Rinnooy Kan and Brucker (Ann. Discrete Math. 1, 1977) showed that the weighted problem is NP-hard, so a pseudo-polynomial method is the expected kind of exact algorithm.

The paper's Sections 5 and 6 state the reduction in a few sentences: on-time jobs can be taken in deadline order, the problem is "equivalent" to the prefix-constrained knapsack, and (3) solves the latter. This mission turns those sentences into precise statements.

Setting

There are n≥1n \ge 1n≥1 jobs, processed by a single machine one immediately following the other from time 000. Job jjj has a nonnegative integer processing time aj′a'_jaj′​, a nonnegative integer deadline djd_jdj​ and a penalty pj≥0p_j \ge 0pj​≥0. A sequence σ\sigmaσ is an ordering of all jobs; job jjj completes at time Cj(σ)C_j(\sigma)Cj​(σ), the total processing time of job jjj and the jobs before it. Job jjj is tardy in σ\sigmaσ if Cj(σ)>djC_j(\sigma) > d_jCj​(σ)>dj​, and the total loss of σ\sigmaσ is

W(σ)=∑j tardy in σpj,W(\sigma) = \sum_{j \text{ tardy in } \sigma} p_j ,W(σ)=j tardy in σ∑​pj​,

the loss cj(t)c_j(t)cj​(t) being 000 for t≤djt \le d_jt≤dj​ and pjp_jpj​ for t>djt > d_jt>dj​.

The jobs are numbered by deadline, d1≤d2≤⋯≤dnd_1 \le d_2 \le \cdots \le d_nd1​≤d2​≤⋯≤dn​. A 0–1 vector xxx (xj=1x_j = 1xj​=1: job jjj on time; xj=0x_j = 0xj​=0: tardy) is prefix-feasible if

a1′x1+⋯+ak′xk≤dk(k=1,…,n).a'_1x_1 + \cdots + a'_kx_k \le d_k \qquad (k = 1, \dots, n).a1′​x1​+⋯+ak′​xk​≤dk​(k=1,…,n).

Equation (3) defines f(j,t)f(j,t)f(j,t) for j=0,…,nj = 0, \dots, nj=0,…,n and integer ttt:

f(j,t)={max⁡{f(j,t−1), f(j−1,t), pj+f(j−1,t−aj′)},0≤t≤dj,f(j,dj),t>dj,f(j,t) = \begin{cases}\max\{f(j,t-1),\ f(j-1,t),\ p_j + f(j-1,t-a'_j)\}, & 0 \le t \le d_j,\\ f(j, d_j), & t > d_j,\end{cases}f(j,t)={max{f(j,t−1), f(j−1,t), pj​+f(j−1,t−aj′​)},f(j,dj​),​0≤t≤dj​,t>dj​,​

with f(0,t)=0f(0,t) = 0f(0,t)=0 for t≥0t \ge 0t≥0 and f(j,t)=−∞f(j,t) = -\inftyf(j,t)=−∞ for t<0t < 0t<0.

Formalization targets

Goal: the minimum weighted number of tardy jobs

With d1≤⋯≤dnd_1 \le \cdots \le d_nd1​≤⋯≤dn​ and pj≥0p_j \ge 0pj​≥0, f(n,dn)f(n, d_n)f(n,dn​) is finite and

min⁡σW(σ)=∑j=1npj−f(n,dn).\min_{\sigma} W(\sigma) = \sum_{j=1}^n p_j - f(n, d_n).σmin​W(σ)=j=1∑n​pj​−f(n,dn​).

This is the paper's claim that the problem "is solved by" its recursion, with the evaluation point made explicit.

Milestones (Section 5, Section 6, Eq. (3))

  1. Section 5. For any sequence, the on-time jobs, sequenced in order of their deadlines and followed by the tardy jobs in arbitrary order, stay on time, and the total loss does not increase.
  2. Section 6. Every sequence has a prefix-feasible xxx with ∑pj−∑pjxj≤W(σ)\sum p_j - \sum p_jx_j \le W(\sigma)∑pj​−∑pj​xj​≤W(σ), and every prefix-feasible xxx has a sequence with W(σ)≤∑pj−∑pjxjW(\sigma) \le \sum p_j - \sum p_jx_jW(σ)≤∑pj​−∑pj​xj​: the two problems have the same optimal value.
  3. Eq. (3). For 0≤j≤n0 \le j \le n0≤j≤n and t≥0t \ge 0t≥0,
f(j,t)=max⁡{∑i≤jpixi:∑i≤kai′xi≤dk (k≤j), ∑i≤jai′xi≤t}.f(j,t) = \max\Bigl\{\textstyle\sum_{i \le j} p_ix_i : \sum_{i\le k} a'_ix_i \le d_k\ (k \le j),\ \sum_{i\le j} a'_ix_i \le t\Bigr\}.f(j,t)=max{∑i≤j​pi​xi​:∑i≤k​ai′​xi​≤dk​ (k≤j), ∑i≤j​ai′​xi​≤t}.

The goal follows from milestones 2 and 3 at j=nj = nj=n, t=dnt = d_nt=dn​.

Significance

The result is the exact algorithm for 1∥∑wjUj1\|\sum w_jU_j1∥∑wj​Uj​ with running time proportional to n dnn\,d_nndn​, and the reduction behind it (on-time jobs in earliest-deadline order, then a knapsack over the on-time set) is the template reused by later work on due-date objectives, including the two-agent and batching variants. The prefix-constrained knapsack itself reappears whenever a set of jobs must be feasible under nested capacity limits.

On formalization: the paper's argument is three sentences long and leaves several points implicit: the base cases of (3), the role of the deadline numbering, the sign of the penalties, and what "equivalent" means. A machine-checked development fixes each of them and yields a verified pseudo-polynomial algorithm for an NP-hard scheduling problem. To our knowledge none of these statements has a machine-checked proof; the platform's SchedComplexity.OneMachine.* items (Lenstra, Rinnooy Kan and Brucker) state the NP-hardness of the same problem in another model, MooreLateJobs.NumLate.* covers Moore's unweighted case, and TwoAgentSched.LateLate.lemma_7_1 is a two-agent analogue of milestone 1.

Difficulty

The obvious argument works with the set of on-time jobs and asserts that this set can be sequenced on time iff its earliest-deadline order is. That step is Jackson's rule, an exchange argument on lists that is not in Mathlib; it is where both milestone 1 and the first half of milestone 2 sit. The second half of milestone 2 needs the deadline numbering: for a job kkk that is tardy, the prefix constraint at kkk is not a completion-time constraint of any job, and only the monotonicity di≤dkd_i \le d_kdi​≤dk​ for the last on-time job i≤ki \le ki≤k bounds it. Milestone 3 is a dynamic-programming correctness proof in which the cap f(j,t)=f(j,dj)f(j,t) = f(j,d_j)f(j,t)=f(j,dj​) for t>djt > d_jt>dj​ and the −∞-\infty−∞ base cases must be tracked through a well-founded recursion on (j,t)(j, t)(j,t).

Formalization scope

Jobs are Fin n, 0-based: Lean job jjj is the paper's job j+1j+1j+1, and the paper's f(j,⋅)f(j,\cdot)f(j,⋅) uses Lean job ⟨j-1, _⟩. Sequences are lists in the published model MooreLateJobs.Shared (IsSchedule Finset.univ l, completionTime, no idle time, start at 000), which replaces the paper's permutation π\piπ; tardy jobs are the published MooreLateJobs.NumLate.lateSet (strictly dj<Cjd_j < C_jdj​<Cj​). Processing times and deadlines are natural numbers, penalties real. Vectors xxx are Fin n → Bool. fff takes values in WithBot ℝ, with ⊥=−∞\bot = -\infty⊥=−∞ and p+⊥=⊥p + \bot = \botp+⊥=⊥; +∞+\infty+∞ never occurs.

Explicit readings of the paper's loose phrases:

  • Integer data: (3) steps ttt by 111 and subtracts aj′a'_jaj′​, so aj′a'_jaj′​ and djd_jdj​ are nonnegative integers.
  • Penalties pj≥0p_j \ge 0pj​≥0 ("a penalty pjp_jpj​ is exacted"); the goal, milestone 1 and milestone 2 assume it, milestone 3 does not need it.
  • Deadline numbering ("ordering the jobs by deadlines") is Monotone d on the job index; assumed in the goal and milestone 2 only.
  • Base cases of (3) are those of Equation (1), with −∞-\infty−∞ for a maximum: f(0,t)=0f(0,t) = 0f(0,t)=0 (t≥0t \ge 0t≥0), f(j,t)=−∞f(j,t) = -\inftyf(j,t)=−∞ (t<0t < 0t<0). The dominated term f(j,t−1)f(j,t-1)f(j,t−1) is kept as printed.
  • "Equivalent" is the pair of inequalities of milestone 2, i.e. equal optimal values.
  • "Solved by" means f(n,dn)f(n,d_n)f(n,dn​) is finite and ∑pj−f(n,dn)\sum p_j - f(n,d_n)∑pj​−f(n,dn​) is the least weighted number of tardy jobs (IsLeast over all schedules); n≥1n \ge 1n≥1 only so that dnd_ndn​ exists.
  • "Arbitrary order" of the tardy jobs in milestone 1 is a universal quantifier over the remaining lists.

Section 5 literally applies Equation (1) with aj=aj′a_j = a'_jaj​=aj′​, αj(t)=0\alpha_j(t) = 0αj​(t)=0, bj=0b_j = 0bj​=0, βj(t)=pj\beta_j(t) = p_jβj​(t)=pj​; read literally, that leaves the deadlines unenforced, so the mission formalizes the paper's own corrected form (3) instead. Trivializing formalizations are ruled out: the weighted number of tardy jobs is defined from completion times, not through xxx; the optimum is a minimum over sequences, not defined as fff; (3) keeps its cap f(j,t)=f(j,dj)f(j,t) = f(j,d_j)f(j,t)=f(j,dj​); the goal assumes pj≥0p_j \ge 0pj​≥0 and sorted deadlines, without which it is false.

Infrastructure: an exchange lemma for earliest-deadline order on lists (Jackson's rule, posed on the platform as MooreLateJobs.NumLate.jackson) and well-founded-recursion lemmas for WithBot ℝ maxima are reusable beyond this mission. Proofs of any milestone, and of Jackson's rule, are welcome.

Selected references

  • E. L. Lawler, J. M. Moore, A Functional Equation and Its Application to Resource Allocation and Sequencing Problems, Management Science 16(1), 1969, 77–84. https://doi.org/10.1287/mnsc.16.1.77
  • J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Tardy Jobs, Management Science 15(1), 1968, 102–109. https://doi.org/10.1287/mnsc.15.1.102
  • J. R. Jackson, Scheduling a Production Line to Minimize Maximum Tardiness, Research Report 43, Management Science Research Project, UCLA, 1955.
  • J. K. Lenstra, A. H. G. Rinnooy Kan, P. Brucker, Complexity of Machine Scheduling Problems, Annals of Discrete Mathematics 1, 1977, 343–362. https://doi.org/10.1016/S0167-5060(08)70743-X
9 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

A Functional Equation and Its Application to Resource Allocation and Sequencing Problems 1: Equation (1) Computes the Minimum Total Loss of a Fixed Job Order with Two Processing Modes per JobResearch Paper

Motivation

Many single-machine scheduling problems have a structure that is easy to describe: the jobs must be processed in an order that is already known, and the only decisions are how and when to process each one. Lawler and Moore, in A Functional Equation and Its Application to Resource Allocation and Sequencing Problems (Management Science 16(1), 1969, 77–84), isolate this situation in its simplest form: each job has two processing modes, and each mode has its own processing time and loss as a function of the completion time. They solve it with a single functional equation, Eq. (1), closely related to the recursion for the knapsack problem.

The point of the paper is that Eq. (1) solves more than this fixed-order problem. Later sections apply it to resource allocation in critical-path scheduling and to several sequencing problems with deadlines, including minimization of the weighted number of tardy jobs, often written 1∥∑wjUj1\|\sum w_jU_j1∥∑wj​Uj​. Everything in those applications rests on the claim checked in this mission: that the recursion computes the minimum loss it is said to compute.

Setting

There are nnn jobs, performed one at a time in the fixed order 1,2,…,n1, 2, \dots, n1,2,…,n. Job jjj can be performed in one of two modes. In the first mode it takes aja_jaj​ time units, and a loss αj(t)\alpha_j(t)αj​(t) is incurred if it is completed at time ttt. In the other mode it takes bjb_jbj​ time units, with loss βj(t)\beta_j(t)βj​(t). Times are nonnegative integers.

A mode assignment mmm picks a mode for each job, which fixes its processing time pj∈{aj,bj}p_j \in \{a_j, b_j\}pj​∈{aj​,bj​}. A feasible timing of the first jjj jobs is a vector of completion times c1,…,cjc_1, \dots, c_jc1​,…,cj​ with

ci−1+pi≤ci(i=1,…,j),c0=0,c_{i-1} + p_i \le c_i \qquad (i = 1, \dots, j), \qquad c_0 = 0,ci−1​+pi​≤ci​(i=1,…,j),c0​=0,

so each job starts at time 000 or later and after its predecessor has finished; idle time between jobs is allowed. The total loss Lj(m,c)L_j(m, c)Lj​(m,c) is the sum of αi(ci)\alpha_i(c_i)αi​(ci​) over the jobs i≤ji \le ji≤j in the first mode and of βi(ci)\beta_i(c_i)βi​(ci​) over the others. The problem asks for the mode assignment and timing of all nnn jobs that minimize Ln(m,c)L_n(m, c)Ln​(m,c).

The paper's recursion is defined for j=0,…,nj = 0, \dots, nj=0,…,n and integer ttt, with values in R∪{+∞}\mathbb R \cup \{+\infty\}R∪{+∞}:

f(0,t)=0 (t≥0),f(j,t)=+∞ (t<0),f(0, t) = 0 \ (t \ge 0), \qquad f(j, t) = +\infty \ (t < 0),f(0,t)=0 (t≥0),f(j,t)=+∞ (t<0), f(j,t)=min⁡{f(j,t−1), αj(t)+f(j−1,t−aj), βj(t)+f(j−1,t−bj)}(j≥1, t≥0).(1)f(j, t) = \min\{f(j, t-1),\ \alpha_j(t) + f(j-1, t-a_j),\ \beta_j(t) + f(j-1, t-b_j)\} \quad (j \ge 1,\ t \ge 0). \tag{1}f(j,t)=min{f(j,t−1), αj​(t)+f(j−1,t−aj​), βj​(t)+f(j−1,t−bj​)}(j≥1, t≥0).(1)

Formalization targets

Milestone: Eq. (1) computes the constrained minimum

For 0≤j≤n0 \le j \le n0≤j≤n and every integer ttt, let L(j,t)\mathcal L(j, t)L(j,t) be the set of total losses of the first jjj jobs over all mode assignments and feasible timings with cj≤tc_j \le tcj​≤t. Then

f(j,t)=min⁡L(j,t),f(j, t) = \min \mathcal L(j, t),f(j,t)=minL(j,t),

meaning: f(j,t)=+∞f(j, t) = +\inftyf(j,t)=+∞ exactly when L(j,t)\mathcal L(j, t)L(j,t) is empty, and otherwise f(j,t)f(j,t)f(j,t) is an element of L(j,t)\mathcal L(j,t)L(j,t) and a lower bound for it. No assumption is made on the losses.

Goal: f(n,T)f(n, T)f(n,T) solves the problem

If every αj\alpha_jαj​ and βj\beta_jβj​ is monotone nondecreasing and

T=∑j=1nmax⁡{aj,bj},T = \sum_{j=1}^n \max\{a_j, b_j\},T=j=1∑n​max{aj​,bj​},

then f(n,T)f(n, T)f(n,T) is finite and equals the minimum of Ln(m,c)L_n(m, c)Ln​(m,c) over all mode assignments and all feasible timings of the nnn jobs, with no deadline. This is the paper's sentence "The problem is solved by the calculation of f(n,T)f(n, T)f(n,T), where TTT is a sufficiently large number. For example, if all of the αj\alpha_jαj​'s and βj\beta_jβj​'s are monotone nondecreasing, we may choose T=∑j=1nmax⁡{aj,bj}T = \sum_{j=1}^n \max\{a_j, b_j\}T=∑j=1n​max{aj​,bj​}."

Significance

The milestone is the correctness of a dynamic program: the value table computed by (1) coincides with the optimum of a combinatorial problem whose feasible set is infinite (timings are unbounded because of idle time). The goal turns that into a finite certificate for the unconstrained problem, with an explicit horizon. Downstream, the same equation with bj=0b_j = 0bj​=0 and suitable losses is the paper's algorithm for the weighted number of tardy jobs (§5–6), and the other sequencing applications are specializations of (1) as well; a formal version of this mission is the base on which those reductions can be stated.

The result is classical and its proof is short on paper. It has not been formalized: no item on Prove2Me states a two-mode fixed-order recursion. The work this mission asks for is a machine-checked proof of the two statements above, from the paper's own definitions.

Difficulty

The paper gives no argument beyond "the usual dynamic programming argumentation". The recursion is in two variables: f(j,⋅)f(j, \cdot)f(j,⋅) refers to itself at t−1t-1t−1 as well as to f(j−1,⋅)f(j-1, \cdot)f(j−1,⋅), so the correspondence with timings is not a plain stage-by-stage principle of optimality. The edge cases are where a careless reading fails: t=0t = 0t=0, where f(j,−1)=+∞f(j, -1) = +\inftyf(j,−1)=+∞; zero processing times aj=0a_j = 0aj​=0 or bj=0b_j = 0bj​=0, where f(j−1,t−aj)f(j-1, t-a_j)f(j−1,t−aj​) is evaluated at the same ttt; and j=0j = 0j=0, where the deadline constraint degenerates to 0≤t0 \le t0≤t. The goal is harder than the milestone: the problem's feasible set is unbounded, and the horizon TTT is only sufficient under monotone losses. Without monotonicity the goal is false: one job with a=b=1a = b = 1a=b=1, α(1)=5\alpha(1) = 5α(1)=5, α(t)=0\alpha(t) = 0α(t)=0 for t≥2t \ge 2t≥2 and β≡5\beta \equiv 5β≡5 has optimum 000, attained only at completion time 2>T=12 > T = 12>T=1, while f(1,1)=5f(1, 1) = 5f(1,1)=5.

Formalization scope

  • Jobs are Fin n and 0-based: Lean job i is the paper's job i+1i+1i+1. The recursion f takes the number j∈{0,…,n}j \in \{0,\dots,n\}j∈{0,…,n} of jobs done; for j>nj > nj>n its value is +∞+\infty+∞ and is never used.
  • Modes are Bool, with true the first mode (aja_jaj​, αj\alpha_jαj​). Processing times are natural numbers and may be 000. Losses are real-valued functions of the natural-number completion time.
  • Integer time is an explicit reading: the paper's recursion steps ttt by one, so time is discrete.
  • +∞+\infty+∞ is ⊤ : WithTop ℝ, so x+(+∞)=+∞x + (+\infty) = +\inftyx+(+∞)=+∞ as in the paper.
  • Idle time is allowed, and the first job starts at time 000 or later.
  • "Minimum total loss" is read as an attained least element of the set of total losses, with +∞+\infty+∞ exactly when that set is empty. "The problem is solved by f(n,T)f(n, T)f(n,T)" is read as: f(n,T)f(n, T)f(n,T) is finite, at most every feasible total loss, and attained.
  • "Monotone nondecreasing" is Monotone on the completion time; it is a hypothesis of the goal only.

The optimum is defined from the scheduling problem itself (lossesBy, IsFeasible, totalLoss), never as fff; statements in which the optimum is fff again, timings forced to have no idle time, an R\mathbb RR-valued fff with an arbitrary value for t<0t < 0t<0, or monotone losses assumed in the milestone are all ruled out by this choice of definitions.

Related platform items: GilmoreGomory61.CuttingStock.knapsack_dp_recursion (an unbounded-knapsack recursion) and the CriticalPath.CostCurve items (Kelley's continuous time–cost model) treat neighbouring recursions and models; neither states this problem. Proofs of the milestone and the goal, and reusable lemmas about the value function, are welcome.

Selected references

  • E. L. Lawler, J. M. Moore, A Functional Equation and Its Application to Resource Allocation and Sequencing Problems, Management Science 16(1) (1969) 77–84. https://doi.org/10.1287/mnsc.16.1.77
  • R. Bellman, Dynamic Programming, Princeton University Press, 1957. https://doi.org/10.1515/9781400835386
  • J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1) (1968) 102–109. https://doi.org/10.1287/mnsc.15.1.102
4 thms2 active usersReviewed
🏆Completed
CombinatoricsOperations Research·Captain: mikedeng1

Application of the Branch and Bound Technique to Some Flow-Shop Scheduling Problems 1: Branch and Bound with the Three-Machine Lower Bound Finds a Minimum-Makespan SequenceResearch Paper

Motivation

In a flow shop every job passes through the same machines in the same order. Choosing the order in which jobs enter the shop so that the last job finishes as early as possible (minimizing the makespan) is one of the oldest problems of scheduling theory. For two machines Johnson (1954) gave an exact sorting rule; for three machines his rule is exact only in special cases, and the general problem was later shown to be NP-hard (Garey, Johnson and Sethi, 1976). Exact methods for three or more machines therefore enumerate sequences, and the question is how to enumerate as few of them as possible.

Ignall and Schrage (1965), at the same time as Lomnicki (Operational Research Quarterly, 1965), introduced branch and bound for the three-machine permutation flow shop. Their lower bound, which adds to the time each machine becomes free the work that remains on it and the least work that must follow on later machines, became the template for the machine-based bounds used in flow-shop branch and bound ever since.

Timeline. 1954: Johnson proves the two-machine rule and shows that for three machines a common job order on all machines loses nothing for the makespan. 1960: Land and Doig introduce branch and bound for integer programs. 1965: Ignall–Schrage and Lomnicki apply it to the three-machine flow shop. 1976: Garey, Johnson and Sethi prove the three-machine makespan problem NP-hard, so exact enumeration with good bounds remains the method for exact solutions.

Setting

There are n≥1n\ge1n≥1 jobs and three machines AAA, BBB, CCC. Job iii needs time aia_iai​ on AAA, then bib_ibi​ on BBB, then cic_ici​ on CCC. Following Johnson, only permutation schedules are considered: a full sequence is a permutation σ\sigmaσ of the jobs, processed in that order on all three machines, each operation starting as early as possible. Its makespan is the time machine CCC finishes the last job.

A node JrJ_rJr​ is a partial sequence: an ordered list of rrr distinct jobs. Its unscheduled set Jˉr\bar J_rJˉr​ is the set of the other n−rn-rn−r jobs. The attributes TIMEA(Jr)\mathrm{TIMEA}(J_r)TIMEA(Jr​), TIMEB(Jr)\mathrm{TIMEB}(J_r)TIMEB(Jr​), TIMEC(Jr)\mathrm{TIMEC}(J_r)TIMEC(Jr​) are the times at which machines AAA, BBB, CCC finish the jobs of JrJ_rJr​ processed in order. A full sequence begins with JrJ_rJr​ when its first rrr positions are JrJ_rJr​. The lower bound of a node with Jˉr≠∅\bar J_r\neq\emptysetJˉr​=∅ is

LB(Jr)=max⁡[TIMEA(Jr)+∑Jˉrai+min⁡Jˉr(bi+ci), TIMEB(Jr)+∑Jˉrbi+min⁡Jˉrci, TIMEC(Jr)+∑Jˉrci].LB(J_r)=\max\Big[\mathrm{TIMEA}(J_r)+\sum_{\bar J_r}a_i+\min_{\bar J_r}(b_i+c_i),\ \mathrm{TIMEB}(J_r)+\sum_{\bar J_r}b_i+\min_{\bar J_r}c_i,\ \mathrm{TIMEC}(J_r)+\sum_{\bar J_r}c_i\Big].LB(Jr​)=max[TIMEA(Jr​)+Jˉr​∑​ai​+Jˉr​min​(bi​+ci​), TIMEB(Jr​)+Jˉr​∑​bi​+Jˉr​min​ci​, TIMEC(Jr​)+Jˉr​∑​ci​].

The branch-and-bound procedure keeps a list of nodes ranked by LBLBLB, starting from the root (no job scheduled). At each step it removes the first node, creates one child per unscheduled job by appending that job, and inserts the children ranked into the list, a new node going before old nodes of equal bound. It stops when the first node of the list is terminal, i.e. has scheduled n−1n-1n−1 jobs, so that its last job is forced.

Formalization targets

Goal: the stopping rule certifies an optimal sequence

∃k: the first node of run(k) is terminal,andfirst node P terminal ⟹ makespan(σP)≤makespan(σ)  ∀σ,\exists k:\ \text{the first node of } \mathrm{run}(k) \text{ is terminal},\qquad\text{and}\qquad \text{first node } P \text{ terminal} \ \Longrightarrow\ \mathrm{makespan}(\sigma_P)\le\mathrm{makespan}(\sigma)\ \ \forall\sigma ,∃k: the first node of run(k) is terminal,andfirst node P terminal ⟹ makespan(σP​)≤makespan(σ)  ∀σ,

where σP\sigma_PσP​ is PPP followed by its one unscheduled job. This is the paper's "the problem is solved: that node's sequence is an optimal one" (p. 402), for any real processing times.

Milestones

  1. Validity of the bound (p. 401): LB(Jr)≤makespan(σ)LB(J_r)\le\mathrm{makespan}(\sigma)LB(Jr​)≤makespan(σ) for every σ\sigmaσ beginning with JrJ_rJr​, r<nr<nr<n.
  2. Exactness at depth n−1n-1n−1 (general form of an observation on p. 403): for r=n−1r=n-1r=n−1, LB(Jn−1)LB(J_{n-1})LB(Jn−1​) equals the makespan of the completed sequence.
  3. Node counts (p. 403): at least 12n(n+1)\tfrac12n(n+1)21​n(n+1) nodes are created before stopping, at most 1+n+n(n−1)+⋯+n!1+n+n(n-1)+\cdots+n!1+n+n(n−1)+⋯+n! are ever created, and the list never holds more than n!n!n! nodes.
  4. Dominance (pp. 403–404): if JrJ_rJr​ and IrI_rIr​ contain the same jobs, TIMEA(Jr)=TIMEA(Ir)\mathrm{TIMEA}(J_r)=\mathrm{TIMEA}(I_r)TIMEA(Jr​)=TIMEA(Ir​); if also TIMEB(Jr)≤TIMEB(Ir)\mathrm{TIMEB}(J_r)\le\mathrm{TIMEB}(I_r)TIMEB(Jr​)≤TIMEB(Ir​) and TIMEC(Jr)≤TIMEC(Ir)\mathrm{TIMEC}(J_r)\le\mathrm{TIMEC}(I_r)TIMEC(Jr​)≤TIMEC(Ir​), replacing IrI_rIr​ by JrJ_rJr​ at the beginning of any sequence does not increase its makespan, and LB(Jr)≤LB(Ir)LB(J_r)\le LB(I_r)LB(Jr​)≤LB(Ir​) (p. 404).
  5. The 4-job example (pp. 402–403): the run stops after 6 steps with node 231 first, whose bound 62 is the optimal makespan.
  6. The refined bound (p. 409): the strengthened bound used in the paper's computations is still a lower bound.

Significance

The goal is the correctness theorem of the Ignall–Schrage algorithm: best-first search over partial sequences, with a machine-based bound, returns an optimal permutation. Milestone 1 is the bound's validity, which every later machine-based flow-shop bound generalizes; milestone 4 is the dominance rule that justifies discarding nodes; milestone 3 brackets the effort of the search between the best case 12n(n+1)\tfrac12n(n+1)21​n(n+1) and full enumeration.

The paper's arguments are short and informal: validity of the bound is asserted with a one-line reason, and optimality at stopping is argued on the example. None of these results has a machine-checked proof. The formalization makes the procedure itself a precise object (list, insertion rule, stopping rule) and turns the paper's claims into statements about it, so that the correctness of the search is proved rather than illustrated.

Difficulty

Each inequality is elementary, but the goal is a statement about an iterated list-manipulating procedure. The obvious argument "the first node has the smallest bound and the bound is valid" needs an invariant that the paper does not state: at every step, every full sequence begins with some node on the list, and the list is sorted. Both must be proved to survive one step of removal and ranked insertion. Termination is likewise not stated: it needs a measure that strictly decreases, for instance the set of nodes that remain to be created, which requires showing that no node is created twice. A tempting shortcut, proving optimality only among the sequences whose nodes were created, is not the theorem.

Formalization scope

Jobs are Fin n (the paper's job iii is i−1i-1i−1), processing times are arbitrary reals with no sign condition, and full sequences are Equiv.Perm (Fin n). The makespan is the machine-CCC completion time of Johnson's as-soon-as-possible schedule, taken from the published definition JohnsonFlowShop.ThreeStage.asapSchedule. Nodes are lists of jobs, and the node attributes are the same recursion folded over the list. Minima over Jˉr\bar J_rJˉr​ are Finset.inf'; on an empty set the auxiliary minimum returns a placeholder 000 that no statement evaluates.

Explicit readings of the paper's phrases:

  • "is a lower bound … for any node that emanates from node PPP" is "≤\le≤ the makespan of every permutation whose first rrr positions are JrJ_rJr​";
  • "a node that has scheduled all nnn jobs" is read as a node with n−1n-1n−1 jobs, whose sequence is completed by the forced last job. The example (stop at node 231 of a 4-job problem), the node counts and the formula for LBLBLB all require this reading;
  • "the problem is solved: that node's sequence is an optimal one" is termination together with optimality over all n!n!n! permutations;
  • "cannot be hurt by replacing IrI_rIr​ with JrJ_rJr​" compares the completions of JrJ_rJr​ and IrI_rIr​ by the same ordering of the remaining jobs;
  • children are inserted one at a time in increasing job index, each before every node with an equal bound; this reproduces the paper's LIST table;
  • dominance discarding is not part of the procedure in the goal.

A formalization in which the optimality claim ranges only over sequences the run created, or one that asserts optimality without termination, would be trivial or vacuous and is ruled out by the goal's statement.

Not formalized: the reduction from general schedules to permutation schedules (Johnson's Lemma 3, proved on the platform as JohnsonFlowShop.ThreeStage.same_ordering_dominant), the dominance bookkeeping and its percentages, the two-machine mean-completion problem (a separate mission of this series), the computational tables, and the TIMEB/TIMEC columns of the example's LIST table. No platform item treats flow-shop lower bounds or branch and bound over sequences; the nearest branch-and-bound mission, BiconvexProg.BranchBound (Al-Khayyal and Falk), concerns biconvex programs and is unrelated.

The lemmas a solver will want (the invariant of the list, monotonicity of the completion recursion in its start times, validity of the bound) are reusable for the two-machine mission and for any other machine-based bound. Proofs of the milestones, and of the goal from them, are welcome in any order.

Selected references

  • E. Ignall and L. Schrage, Application of the branch and bound technique to some flow-shop scheduling problems, Operations Research 13(3), 400–412, 1965. https://doi.org/10.1287/opre.13.3.400
  • S. M. Johnson, Optimal two- and three-stage production schedules with setup times included, Naval Research Logistics Quarterly 1(1), 61–68, 1954. https://doi.org/10.1002/nav.3800010110
  • A. H. Land and A. G. Doig, An automatic method of solving discrete programming problems, Econometrica 28(3), 497–520, 1960. https://doi.org/10.2307/1910129
  • M. R. Garey, D. S. Johnson and R. Sethi, The complexity of flowshop and jobshop scheduling, Mathematics of Operations Research 1(2), 117–129, 1976. https://doi.org/10.1287/moor.1.2.117
13 thms2 active usersReviewed
Dynamic ProgrammingLinear OptimizationMarkov Chain+1·Captain: mikedeng1

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

Why bias optimality matters

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

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

The finite decision model

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

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

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

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

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

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

Formalization targets

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

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

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

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

What the characterization gives

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

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

Where the difficulty lies

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

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

Formalization scope

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

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

Selected references

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

Linear Programming and Finite Markovian Control Problems IV: Positive Dynamic Programming — an Extreme Optimal Dual Solution Yields a Pure Stationary Optimal PolicyTextbook

Motivation

A finite Markov decision system asks how to choose actions while a changing state controls which actions are available. The choice can affect both the reward now and the distribution of future states. In a total-reward problem, the process can continue indefinitely; if transitions are substochastic, it can also terminate. Kallenberg's treatment of positive dynamic programming connects this control problem to a finite linear program and uses an optimal flow to identify a policy that is optimal from every initial state Kallenberg, Chapter 3.

The connection matters when an optimizer is easier to compute as state-action frequencies than as an infinite sequence of decisions. A policy may depend on the entire observed history and may randomize at every decision. The theorem under study says that, when the dual linear program has an extreme optimal solution, its positive coordinates identify a pure stationary policy as good as every such general policy. This assertion includes models in which the selected policy is not transient Kallenberg, Theorem 3.5.2 and Example 3.5.1.

Setting

Let E={1,…,N}E=\{1,\ldots,N\}E={1,…,N} be a nonempty finite state space. At state iii, one chooses an action from the nonempty finite set A(i)A(i)A(i). Action a∈A(i)a\in A(i)a∈A(i) earns a real reward riar_{ia}ria​ and moves to state jjj with probability piaj≥0p_{iaj}\ge0piaj​≥0. The sum ∑jpiaj\sum_jp_{iaj}∑j​piaj​ is at most one; any missing probability represents termination. Positive dynamic programming imposes ria≥0r_{ia}\ge0ria​≥0 for every admissible state-action pair Kallenberg, Section 2.2 and Assumption 3.5.1.

A policy R=(π1,π2,…)R=(\pi^1,\pi^2,\ldots)R=(π1,π2,…) assigns an action distribution after each finite history. The history records the initial state and all states and actions observed so far. Write CCC for this full policy class. A pure stationary policy f∞f^\inftyf∞ always chooses one fixed admissible action f(i)f(i)f(i) whenever it visits iii.

Starting from state iii, let vi(R)v_i(R)vi​(R) be the expected total reward of RRR, and let vi=sup⁡R∈Cvi(R)v_i=\sup_{R\in C}v_i(R)vi​=supR∈C​vi​(R). Because the rewards are nonnegative, the finite-horizon expected totals increase to vi(R)v_i(R)vi​(R); both policy and optimal values may be +∞+\infty+∞. A real vector w=(wi)w=(w_i)w=(wi​) is TMD superharmonic if wi≥ria+∑jpiajwjw_i\ge r_{ia}+\sum_jp_{iaj}w_jwi​≥ria​+∑j​piaj​wj​ for each iii and a∈A(i)a\in A(i)a∈A(i) Kallenberg, Definition 3.3.1.

For given weights βj>0\beta_j>0βj​>0, equation (3.5.2) is a linear program over nonnegative state-action flows xiax_{ia}xia​. It maximizes ∑i,ariaxia\sum_{i,a}r_{ia}x_{ia}∑i,a​ria​xia​ subject to

∑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}\le\beta_j\qquad(j\in E).a∈A(j)∑​xja​−i∈E∑​a∈A(i)∑​piaj​xia​≤βj​(j∈E).

The set Ex={i:∑a∈A(i)xia>0}E_x=\{i:\sum_{a\in A(i)}x_{ia}>0\}Ex​={i:∑a∈A(i)​xia​>0} records the states with positive flow Kallenberg, Notation 3.1.1 and equation (3.5.2).

Formalization targets

Superharmonic value

Theorem 3.5.1 identifies vvv as the smallest nonnegative TMD-superharmonic vector. The original superharmonic definition ranges over real vectors; the value must also be allowed to take +∞+\infty+∞. The formal statement gives both the extended superharmonic inequalities for vvv and its componentwise bound by every nonnegative real superharmonic vector:

0≤vi,vi≥ria+∑jpiajvj,vi≤wifor every nonnegative real superharmonic w.0\le v_i,\qquad v_i\ge r_{ia}+\sum_jp_{iaj}v_j,\qquad v_i\le w_i\quad\text{for every nonnegative real superharmonic }w.0≤vi​,vi​≥ria​+j∑​piaj​vj​,vi​≤wi​for every nonnegative real superharmonic w.

This is the numbered milestone of the mission Kallenberg, Theorem 3.5.1.

Policy from an extreme optimal dual flow

The main goal is Theorem 3.5.2. Suppose x∗x^*x∗ is an extreme point of the feasible region of (3.5.2) and has objective at least as large as every feasible flow. Then every pure stationary rule fff choosing xi,f(i)∗>0x^*_{i,f(i)}>0xi,f(i)∗​>0 on Ex∗E_{x^*}Ex∗​, with arbitrary admissible actions outside Ex∗E_{x^*}Ex∗​, is total optimal:

vi(f∞)=vi=sup⁡R∈Cvi(R)(i∈E).v_i(f^\infty)=v_i=\sup_{R\in C}v_i(R)\qquad(i\in E).vi​(f∞)=vi​=R∈Csup​vi​(R)(i∈E).

The goal records the finite-optimum case by requiring an actual optimal solution x∗x^*x∗; it makes no extra assumption that every policy is transient Kallenberg, Theorem 3.5.2.

Significance

The theorem converts an extreme optimal state-action flow into one decision rule that is optimal simultaneously for all starting states. Since CCC includes policies that change with time, use full histories or randomize, it establishes that those freedoms cannot improve the total-reward value when the stated dual optimizer exists. The positive model also reveals when extended values matter: outside the finite-optimum case, the dual objective may be unbounded and an optimal total reward may be infinite Kallenberg, pp. 78–83.

A formal development of this result must keep the policy class and the linear program in the same model. It provides reusable definitions of a finite substochastic control system, finite-history probabilities, extended total rewards, state-action flows and superharmonic vectors. The result is proved in the book; the mission asks for a machine-checked proof of its statement, not for a new optimization theorem. The draft statements are open goals until such proofs are supplied.

Difficulty

A finite linear program has finitely many variables, while the value compares a flow-derived rule with every infinite, history dependent policy. A comparison restricted to stationary or transient policies would miss the main assertion. The proof also has to treat zero-flow states: the dual solution does not prescribe an action there, yet the theorem permits every admissible choice. Finally, the superharmonic milestone permits an infinite value, while the linear program itself uses real coordinates. A development must connect those representations without turning an infinite reward into an arbitrary default real value.

Formalization scope

Lean represents states as Fin N with N>0N>0N>0, and each A(i)A(i)A(i) as a nonempty finite subset of a finite action type. The transition rows sum to at most one. Histories carry past states and actions, and the first action has internal index zero, corresponding to the book's time one. Policy probabilities are nonnegative, vanish outside A(i)A(i)A(i) and sum to one. The expected reward of a finite horizon is a finite sum over histories; nonnegative total reward is its supremum in EReal. The value takes the supremum over the full policy type, not over a restricted policy subclass.

Dual flow coordinates exist only for admissible state-action pairs. Extreme points are taken in the feasible set of (3.5.2) in those coordinates, and its balance constraints retain the source's ≤βj\le\beta_j≤βj​ direction. The goal quantifies over every admissible pure rule satisfying the positive-flow condition. These choices exclude the vacuous shortcut of defining the value using only pure stationary policies or assuming optimality as a hypothesis.

The mathematical infrastructure includes finite policy histories, state-action occupancy probabilities, extended nonnegative reward limits, the real flow polyhedron and its extreme points. The history and flow definitions can support later work on other finite decision models. Contributions to those foundational results and to the full comparison with history dependent policies are within the mission's scope. The negative-reward regime of Section 3.6, whose claims involve average optimality and recurrent classes in an extended stochastic model, requires its own representation and is outside this positive-reward target.

Selected references

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

Linear Programming and Finite Markovian Control Problems IX: Discounted Semi-Markov Decision Processes — the Value Vector Is the Smallest Superharmonic VectorTextbook

Why semi-Markov control matters

A decision maker may choose an action whenever a system changes state, even though the time until the next change is random. Maintenance and replacement decisions are examples: a repair choice changes both the next operating state and the length of time before another choice is available. A discrete-time Markov decision model gives every decision epoch the same duration. A semi-Markov decision process allows the holding time to depend on the current state, action, and next state. Kallenberg's Chapter 7 develops discounted and average-reward versions of this finite-state model, including a characterization of optimal discounted value through inequalities and a linear program (Kallenberg 1983, Chapter 7).

The mission focuses on the discounted part of that chapter. The result is known: Kallenberg proves it as Theorem 7.2.1. The formalization task is to state and eventually prove the result for the same policy class and the same general holding-time distributions. Those details matter because a stationary-policy-only version would omit the comparison that the theorem makes with all admissible policies.

Model and notation

Let EEE be a nonempty finite state set. Each i∈Ei\in Ei∈E 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 chosen, the next state is jjj with probability piaj≥0p_{iaj}\geq0piaj​≥0, with ∑jpiaj=1\sum_jp_{iaj}=1∑j​piaj​=1. Conditional on jjj, the nonnegative time until that transition has distribution FiajF_{iaj}Fiaj​. The action earns a lump reward riar_{ia}ria​ immediately and a reward rate sias_{ia}sia​ during the ensuing sojourn. Neither the holding-time laws nor the reward rates are required to be identical across transitions (Kallenberg 1983, pp. 210–212).

Fix a positive continuous discount rate λ\lambdaλ. The factor applied after elapsed time ttt is e−λte^{-\lambda t}e−λt. Assumption 7.2.1 requires the Laplace–Stieltjes transform of each conditional holding-time law to satisfy

Liaj(λ):=∫0∞e−λt dFiaj(t)<1(i,j∈E, a∈A(i)).L_{iaj}(\lambda):=\int_0^\infty e^{-\lambda t}\,dF_{iaj}(t)<1 \qquad(i,j\in E,\ a\in A(i)).Liaj​(λ):=∫0∞​e−λtdFiaj​(t)<1(i,j∈E, a∈A(i)).

The assumption is strict for every triple; it does not require a particular parametric family. Define the one-epoch expected discounted reward and discounted transition entry by

ria∗=∑jpiaj∫0∞(ria+sia∫0te−λu du)dFiaj(t),piaj∗=piajLiaj(λ).r^*_{ia}=\sum_jp_{iaj}\int_0^\infty \left(r_{ia}+s_{ia}\int_0^t e^{-\lambda u}\,du\right)dF_{iaj}(t), \qquad p^*_{iaj}=p_{iaj}L_{iaj}(\lambda).ria∗​=j∑​piaj​∫0∞​(ria​+sia​∫0t​e−λudu)dFiaj​(t),piaj∗​=piaj​Liaj​(λ).

A policy RRR is a sequence of randomized decisions. At each epoch its choice may depend on every previously observed state and chosen action and the current state. It does not observe previous sojourn times when choosing. Let viλ(R)v_i^\lambda(R)viλ​(R) be the expected sum of discounted lump and rate rewards from initial state iii, as in equation (7.2.1). The DRD value vector is viλ=sup⁡Rviλ(R)v_i^\lambda=\sup_R v_i^\lambda(R)viλ​=supR​viλ​(R), with the supremum over this full policy class. A real vector www is DRD-superharmonic when

wi≥ria∗+∑jpiaj∗wj(i∈E, a∈A(i)).w_i\geq r^*_{ia}+\sum_jp^*_{iaj}w_j \qquad(i\in E,\ a\in A(i)).wi​≥ria∗​+j∑​piaj∗​wj​(i∈E, a∈A(i)).

These are Kallenberg's Definitions 7.2.1 and 7.2.2 (p. 214).

Formalization targets

Goal: the smallest superharmonic vector

Theorem 7.2.1 states that the value vector itself satisfies the superharmonic inequalities and lies below every other vector satisfying them:

vλ is DRD-superharmonic,w is DRD-superharmonic⟹viλ≤wi(i∈E).v^\lambda\text{ is DRD-superharmonic},\qquad w\text{ is DRD-superharmonic}\Longrightarrow v_i^\lambda\leq w_i\quad(i\in E).vλ is DRD-superharmonic,w is DRD-superharmonic⟹viλ​≤wi​(i∈E).

This is the mission goal. Its content includes both clauses: merely showing that every superharmonic vector bounds policy rewards would leave out the assertion that the value is superharmonic.

Supporting results

Lemma 7.2.1 expresses viλ(R)v_i^\lambda(R)viλ​(R) as a sum of expected discounted state-action occupancies. Theorem 7.2.2 says that a feasible action choice attaining equality in the value equation at every state yields an optimal pure stationary policy. Theorem 7.2.3 says that positive support in an optimal solution of the dual linear program (7.2.11) yields such a policy. Their statements and exact conditions are the mission's milestones (Kallenberg 1983, pp. 212, 216–217).

What the results provide

The goal turns a supremum over possibly history-dependent randomized policies into a finite system of inequalities indexed by available state-action pairs. The next two results explain how equality in those inequalities and an optimal linear-programming solution identify a pure stationary policy with the same value. Thus the finite programs are statements about the original semi-Markov process rather than a separate discounted matrix model (Kallenberg 1983, pp. 214–217).

Kallenberg supplies paper proofs. This mission supplies Lean statements and a shared model interface; the proposed theorem items still require machine-checked proofs. The model's arbitrary conditional holding-time measures, its distinction between the current reward and future discounted value, and its history-dependent policy class are reusable for other finite semi-Markov arguments. The average-reward section of Chapter 7 is outside this mission.

Main difficulty

The straightforward finite-state discounted equation concerns expected one-step rewards. The source value, however, is defined from rewards earned at random physical times, and a policy can react to its entire discrete history. Identifying these two descriptions requires accounting for the joint state, action, and elapsed-time law without giving the policy access to past holding times. Holding times may equal zero with positive probability; the strict transform assumption excludes a degenerate law concentrated entirely at zero, but it does not make each holding time strictly positive. A second issue is real-valuedness: all-policy suprema and integrals must represent the finite quantities in the source rather than Lean's default values on ill-posed inputs.

Formalization scope

Lean uses finite types for states and actions, with a nonempty available-action finset for each state. Conditional sojourn laws are probability measures on R\mathbb RR with no mass on negative times. This includes arbitrary distributions on [0,∞)[0,\infty)[0,∞) and permits an atom at zero. The model stores stochastic transition rows, lump rewards, and rate rewards. The discounted layer stores λ>0\lambda>0λ>0 and the source's strict per-triple transform inequality. The expected one-epoch reward uses a Lebesgue integral against each sojourn law.

Policy decision rules read a list of past state-action pairs and the current state. Finite-horizon value recursively integrates the original epoch reward and its holding-time discount; policy value is its limit. The coordinatewise supremum ranges over all such policies. The occupation sum of Lemma 7.2.1 is a separate theorem, not the definition of policy value. A proof must establish convergence and boundedness from Assumption 7.2.1 so that Lean's total limit, integral, and real-supremum operations have their intended meanings.

The dual program sums only over actions available in each state and uses strictly positive weights βj\beta_jβj​, equality flow constraints, and nonnegative variables as printed. Its pure stationary selector must choose an available action with positive dual mass in every state. Contributions establishing the occupation identity, value bounds, Bellman inequalities, or dual decoding all fit the mission.

Selected references

  • L. C. M. Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam, 1983, Chapter 7, pp. 210–227. Publisher repository.
6 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryDynamic ProgrammingLinear Optimization+1·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
Dynamic ProgrammingLinear OptimizationOperations Research·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
Linear OptimizationOperations Research·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·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
Dynamic ProgrammingLinear OptimizationOperations Research·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
Linear OptimizationOperations Research·Captain: mikedeng1

On Approximate Solutions of Systems of Linear Inequalities: If Ax ≦ b Is Consistent, Every x Has a Solution x₀ with Fₙ(x − x₀) ≦ c·Fₘ((Ax − b)⁺)Research Paper

Motivation

Iterative methods for a system of linear inequalities Ax≤bAx\le bAx≤b stop at a vector xˉ\bar xxˉ that only almost satisfies the system: the violation (Axˉ−b)+(A\bar x-b)^+(Axˉ−b)+ is small but not zero. A user then needs to know that xˉ\bar xxˉ is close to an actual solution. Hoffman's 1952 paper (J. Res. Nat. Bur. Standards 49) gives the first quantitative form of this fact: the distance from xˉ\bar xxˉ to the solution set is at most a fixed multiple of the violation. The paper itself names one application: in Brown's method for solving games, the computed strategy vector approaches the set of optimal strategy vectors.

The result is now known as Hoffman's error bound and the constant as the Hoffman constant. It is a standard tool in convergence analysis, sensitivity analysis of linear programs, and the theory of error bounds.

Timeline.

  • 1952: S. Agmon (The relaxation method for linear inequalities, NAML Report 52-27, NBS; later Canad. J. Math. 6, 1954, doi:10.4153/CJM-1954-037-2) proves the two geometric lemmas on which Hoffman's proof rests, and a bound in the Euclidean/max norm setting.
  • 1952: A. J. Hoffman proves the bound for arbitrary positive homogeneous size functions FnF_nFn​, FmF_mFm​, and gives explicit constants in the max and sum norms by way of matrix games.
  • Later work (Robinson 1973; Güler, Hoffman and Rothblum 1995; Peña, Vera and Zuluaga 2021) extends the bound to perturbed systems, characterises the sharp constant, and studies its computation.

Setting

Let A=(aij)A=(a_{ij})A=(aij​) be a real m×nm\times nm×n matrix with rows A1,…,AmA_1,\dots,A_mA1​,…,Am​ and let b∈Rmb\in\mathbb R^mb∈Rm. The system (1) is Ai⋅x≤biA_i\cdot x\le b_iAi​⋅x≤bi​ for i=1,…,mi=1,\dots,mi=1,…,m, briefly Ax≤bAx\le bAx≤b; its solution set is Ω={x:Ax≤b}\Omega=\{x : Ax\le b\}Ω={x:Ax≤b}, and the system is consistent if Ω≠∅\Omega\ne\emptysetΩ=∅. The iiith half space is {x:Ai⋅x≤bi}\{x : A_i\cdot x\le b_i\}{x:Ai​⋅x≤bi​}.

For a real number aaa, a+=aa^+=aa+=a if a≥0a\ge0a≥0 and a+=0a^+=0a+=0 otherwise; for a vector, y+y^+y+ is taken coordinatewise. So (Ax−b)+(Ax-b)^+(Ax−b)+ records by how much xxx violates each inequality.

Hoffman measures sizes with a positive homogeneous function FkF_kFk​ on Rk\mathbb R^kRk: a continuous real function with (i) Fk(x)≥0F_k(x)\ge0Fk​(x)≥0 and Fk(x)=0F_k(x)=0Fk​(x)=0 only for x=0x=0x=0, and (ii) Fk(αx)=αFk(x)F_k(\alpha x)=\alpha F_k(x)Fk​(αx)=αFk​(x) for α≥0\alpha\ge0α≥0. Norms are examples, but FkF_kFk​ need not be symmetric, subadditive or convex.

For a set SSS of rows, MMM is the m×nm\times nm×n matrix obtained from AAA by replacing the rows outside SSS by 000, and yˉ\bar yyˉ​ keeps the coordinates of y∈Rmy\in\mathbb R^my∈Rm in SSS and zeroes the others. "Nearest" always refers to Euclidean distance. The set EEE consists of the points xxx outside the cone {z:Mz≤0}\{z : Mz\le0\}{z:Mz≤0} whose nearest point in that cone is the origin; K′K'K′ is the cone spanned by the rows of MMM with the origin removed.

Section 3 uses three norms: ∣x∣|x|∣x∣ (largest absolute coordinate), ∥x∥\|x\|∥x∥ (sum of absolute coordinates) and the Euclidean norm. With gij=Ai⋅Ajg_{ij}=A_i\cdot A_jgij​=Ai​⋅Aj​, aSa_SaS​ is the largest absolute coordinate of a row in SSS, and vS=min⁡λmax⁡i∈S∑j∈Sgijλjv_S=\min_\lambda\max_{i\in S}\sum_{j\in S}g_{ij}\lambda_jvS​=minλ​maxi∈S​∑j∈S​gij​λj​ over probability vectors λ\lambdaλ on SSS, the value of the matrix game (gij)i,j∈S(g_{ij})_{i,j\in S}(gij​)i,j∈S​.

Formalization targets

Goal: Hoffman's theorem (Section 2, p. 263)

If Ax≤bAx\le bAx≤b is consistent and FnF_nFn​, FmF_mFm​ are positive homogeneous, there is c>0c>0c>0 such that for every xxx some solution x0x_0x0​ satisfies

Fn(x−x0)≤c Fm((Ax−b)+).F_n(x-x_0)\le c\,F_m\bigl((Ax-b)^+\bigr).Fn​(x−x0​)≤cFm​((Ax−b)+).

The constant is existential and fixed before xxx; no value is asserted. This is the weakest statement that carries the content and survives any later improvement of the constant.

Milestones: the proof's lemmas (pp. 263–264)

  • Lemma 2: if yyy is the point of Ω\OmegaΩ nearest to x∉Ωx\notin\Omegax∈/Ω, then xxx lies outside the intersection ΩS\Omega_SΩS​ of the half spaces active at yyy, and yyy is also the point of ΩS\Omega_SΩS​ nearest to xxx.
  • Lemma 3: for every set SSS of rows there is dS>0d_S>0dS​>0 with Fm((Mx)+)≥dSFn(x)F_m((Mx)^+)\ge d_S F_n(x)Fm​((Mx)+)≥dS​Fn​(x) for all x∈Ex\in Ex∈E.
  • Lemma 1: there is e>0e>0e>0 with Fm(yˉ)≤e Fm(y)F_m(\bar y)\le e\,F_m(y)Fm​(yˉ​)≤eFm​(y) for all yyy and all SSS.
  • Lemma 4: K′=EK'=EK′=E.

Milestones: explicit constants (pp. 264–265)

(9)∣x−x0∣≤av ∣(Ax−b)+∣if all Ai⋅Aj>0, v=min⁡i,jAi⋅Aj, a=max⁡i,j∣aij∣;\text{(9)}\quad |x-x_0|\le\frac{a}{v}\,|(Ax-b)^+|\quad\text{if all }A_i\cdot A_j>0,\ v=\min_{i,j}A_i\cdot A_j,\ a=\max_{i,j}|a_{ij}|;(9)∣x−x0​∣≤va​∣(Ax−b)+∣if all Ai​⋅Aj​>0, v=i,jmin​Ai​⋅Aj​, a=i,jmax​∣aij​∣; (10)∣x−x0∣≤aw ∥(Ax−b)+∥if w=min⁡i(gii+∑j: gij<0gij)>0;\text{(10)}\quad |x-x_0|\le\frac{a}{w}\,\|(Ax-b)^+\|\quad\text{if } w=\min_i\Bigl(g_{ii}+\sum_{j:\,g_{ij}<0}g_{ij}\Bigr)>0;(10)∣x−x0​∣≤wa​∥(Ax−b)+∥if w=imin​(gii​+j:gij​<0∑​gij​)>0; (8)∣x−x0∣≤c ∣(Ax−b)+∣,c=max⁡vS>0aSvS.\text{(8)}\quad |x-x_0|\le c\,|(Ax-b)^+|,\qquad c=\max_{v_S>0}\frac{a_S}{v_S}.(8)∣x−x0​∣≤c∣(Ax−b)+∣,c=vS​>0max​vS​aS​​.

Each is stated as in the theorem: for every xxx there is a solution x0x_0x0​ with the bound.

Significance

The result. The theorem converts a residual estimate into a distance estimate. Any scheme that drives (Ax−b)+(Ax-b)^+(Ax−b)+ to zero brings its iterates to the solution set at a linear rate in the residual. Linear convergence proofs for projection and first-order methods on polyhedral problems and stability results for LP solution sets build on it. Formulas (8)–(10) show that in the max and sum norms the constant can be read off the rows of AAA through a matrix game.

Formalizing it. The theorem has been proved since 1952, and later papers give several alternative proofs. The mission formalizes Hoffman's own proof route, Lemmas 1–4, in Lean and Mathlib, and the explicit constants (8)–(10). Mathlib has Farkas-type results and projections onto closed convex sets in inner product spaces, but no error bound for linear inequality systems, and the Prove2Me library has no statement of Hoffman's theorem.

Difficulty

For a single xxx, a bound is trivial: take x0x_0x0​ the nearest solution and choose ccc accordingly. The whole content is that one ccc works for all xxx, including xxx far from Ω\OmegaΩ and xxx approaching Ω\OmegaΩ along every direction. A compactness argument on {x:Fn(x)=1}\{x : F_n(x)=1\}{x:Fn​(x)=1} alone fails, because the ratio Fn(x−x0)/Fm((Ax−b)+)F_n(x-x_0)/F_m((Ax-b)^+)Fn​(x−x0​)/Fm​((Ax−b)+) is not a continuous function of xxx on a compact set: the nearest solution and the set of active constraints jump as xxx moves. Lemma 3 needs a positive lower bound on a set EEE that is not obviously closed away from the origin; its closedness comes from Lemma 4, i.e. from Farkas' lemma. Since FnF_nFn​, FmF_mFm​ are not norms, no argument using the triangle inequality or symmetry is available. For (8), a set SSS can arise in Lemma 2 with vS=0v_S=0vS​=0 (e.g. x1≤0x_1\le0x1​≤0, −x1≤0-x_1\le0−x1​≤0 in R2\mathbb R^2R2 with x=(1,0)x=(1,0)x=(1,0)), contrary to an unnumbered remark on p. 265; the bound (8) is still true, but that remark cannot be used.

Formalization scope

  • Vectors are Fin k → ℝ, AAA is Matrix (Fin m) (Fin n) ℝ, the system is A *ᵥ x ≤ b (componentwise), and y+y^+y+ is posPartVec y = fun i => max (y i) 0.
  • FnF_nFn​, FmF_mFm​ are arbitrary functions satisfying IsPosHomogeneous (continuity, nonnegativity, vanishing exactly at 000, positive homogeneity); they are never specialised to norms in the goal or Lemmas 1, 3.
  • "Nearest" is Euclidean and written with the dot product: yyy is nearest to xxx in Ω\OmegaΩ if (x−y)⋅(x−y)≤(x−z)⋅(x−z)(x-y)\cdot(x-y)\le(x-z)\cdot(x-z)(x−y)⋅(x−y)≤(x−z)⋅(x−z) for all z∈Ωz\in\Omegaz∈Ω. (Mathlib's dist on Fin n → ℝ is the sup distance and is not used.) Lemmas 2 and 3 take "a nearest point" as hypothesis; since the Euclidean nearest point of a closed convex set is unique, this is the page's "the nearest point".
  • A "subset SSS of the half spaces" is a Finset (Fin m) of row indices; MMM keeps all mmm rows, with zero rows outside SSS.
  • In (8)–(10), ∣x∣|x|∣x∣ is ⨆ i, |x i| and ∥x∥\|x\|∥x∥ is ∑ i, |x i|; minima and maxima over finite index sets are ⨅/⨆ in ℝ, equal to the attained min/max on nonempty sets. vSv_SvS​ is defined directly by (7) as a min over the simplex of a max, for nonempty SSS, so no minimax theorem is needed. In (8), ccc is the maximum over nonempty SSS with vS>0v_S>0vS​>0 and is 000 when there is none (only when A=0A=0A=0). In www, the page's summation range "j=1,…,nj=1,\dots,nj=1,…,n" is read as ranging over the mmm rows, since ggg is indexed by rows.
  • Consistency is a hypothesis of the goal and of (8)–(10).

The quantifier order ∃c>0, ∀x, ∃x0\exists c>0,\ \forall x,\ \exists x_0∃c>0, ∀x, ∃x0​ is part of the statement: a version with ccc chosen after xxx is trivially true and is not this theorem; likewise eee precedes yyy and SSS in Lemma 1 and dSd_SdS​ precedes xxx in Lemma 3.

Infrastructure a complete development needs: existence and the variational characterisation of the Euclidean projection onto a polyhedron in Fin n → ℝ; Farkas' lemma in cone form (published as LinearOptimization.farkas_cone_corollary); compactness of level sets of positive homogeneous functions. The projection and polyhedral-cone lemmas are reusable well beyond this mission. Proofs of any milestone, alternative proofs of the goal, and sharper or equivalent forms of the constants are welcome.

Selected references

  • A. J. Hoffman, On Approximate Solutions of Systems of Linear Inequalities, J. Res. Nat. Bur. Standards 49(4) (1952), 263–265. https://doi.org/10.6028/jres.049.027
  • S. Agmon, The Relaxation Method for Linear Inequalities, Canad. J. Math. 6 (1954), 382–392. https://doi.org/10.4153/CJM-1954-037-2
  • S. M. Robinson, Bounds for error in the solution set of a perturbed linear program, Linear Algebra Appl. 6 (1973), 69–81. https://doi.org/10.1016/0024-3795(73)90007-4
  • O. Güler, A. J. Hoffman, U. G. Rothblum, Approximations to solutions to systems of linear inequalities, SIAM J. Matrix Anal. Appl. 16(2) (1995), 688–696. https://doi.org/10.1137/S0895479892237744
  • J. Peña, J. C. Vera, L. F. Zuluaga, New characterizations of Hoffman constants for systems of linear constraints, Math. Program. 187 (2021), 79–109. https://doi.org/10.1007/s10107-020-01473-6
10 thms2 active usersReviewed
PreviousPage 33 of 68Next

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