Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

727 completed missions

Missions

701–720 of 727
OpenCompletedAll
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

How Many Parts to Make at Once: The Cost per Unit (CX + S)/240M + S/X + C Is Minimized Exactly at the Lot Size X = √(240MS/C)Research Paper

Motivation

Every manufacturer who makes a part in batches faces the trade-off Ford W. Harris described in 1913: large lots spread the fixed set-up cost of an order over many pieces, but they also tie up money in stock that must be carried. Harris's article "How many parts to make at once" (Factory, The Magazine of Management 10(2), 1913, reprinted in Operations Research 38(6), 1990) resolved the trade-off with a closed formula, the square-root or economic order quantity (EOQ) formula. It is the starting point of deterministic inventory theory and is still taught as the first model of every operations-management course.

Timeline. Harris published the formula in 1913, without proof ("the solution of this problem involves higher mathematics"). The same formula was popularised by R. H. Wilson in 1934 and was for decades attributed to him. D. Erlenkotter traced it back to Harris (Operations Research 38(6), 1990, 937–946), and the article was reprinted in the same issue. Later work built stochastic (Q, r) models on top of it; Zheng (1992) compared the EOQ heuristic with the optimal (Q, r) policy.

Setting

A part is used at a regular rate of MMM units per month (the movement). Each unit costs CCC dollars (the unit cost), and each order costs SSS dollars to set up. Parts are made in lots of XXX units, the lot size. Under regular movement a lot of XXX is delivered when the stock reaches nothing and is then used up at rate MMM, so the stock at time t≥0t \ge 0t≥0 (months, from a delivery) is the sawtooth

stock⁡(t)=X(1−{Mt/X}),\operatorname{stock}(t) = X\bigl(1 - \{Mt/X\}\bigr),stock(t)=X(1−{Mt/X}),

with {u}\{u\}{u} the fractional part. Interest and depreciation on stock are charged at ten per cent a year, a rate the paper fixes.

Harris prices a unit in three parts:

  1. the interest charge per piece: the average stock is X/2X/2X/2, its value including set-up is 12(CX+S)\tfrac12(CX+S)21​(CX+S), ten per cent of this is the annual charge, and dividing by the 12M12M12M units used a year gives 1240M(CX+S)\frac{1}{240M}(CX+S)240M1​(CX+S);
  2. the set-up cost per piece S/XS/XS/X;
  3. the unit cost CCC.

The cost per unit is therefore

Y(X)=1240M(CX+S)+SX+C,Y(X) = \frac{1}{240M}(CX + S) + \frac{S}{X} + C,Y(X)=240M1​(CX+S)+XS​+C,

and the economic lot size is X∗=240MS/CX^* = \sqrt{240MS/C}X∗=240MS/C​. In Lean these are stockLevel, interestPerPiece, costPerUnit and econLotSize in the namespace HarrisEOQ.Lot.

Formalization targets

Goal: the square-root formula

For M,C,S>0M, C, S > 0M,C,S>0,

X∗>0,Y(X∗)≤Y(X) for all X>0,Y(X)=Y(X∗), X>0  ⟹  X=X∗.X^* > 0, \qquad Y(X^*) \le Y(X) \text{ for all } X > 0, \qquad Y(X) = Y(X^*),\ X > 0 \implies X = X^* .X∗>0,Y(X∗)≤Y(X) for all X>0,Y(X)=Y(X∗), X>0⟹X=X∗.

This is Harris's claim that the value of XXX giving the minimum value to YYY "reduces to the square root of (240MS divided by C)": X∗X^*X∗ is admissible, attains the minimum, and is the only lot size that does.

Milestones: the derivation of YYY

  1. The long-run average of the sawtooth stock is X/2X/2X/2: lim⁡T→∞1T∫0Tstock⁡(t) dt=X/2\lim_{T\to\infty}\frac1T\int_0^T \operatorname{stock}(t)\,dt = X/2limT→∞​T1​∫0T​stock(t)dt=X/2.
  2. The interest charge per piece, built in the paper's steps, equals 1240M(CX+S)\frac{1}{240M}(CX+S)240M1​(CX+S), and YYY is the sum of the three per-piece costs.

These justify the objective YYY, not its minimization; the paper gives no argument for the minimization.

Companion statements

  • X∗=KMX^* = K\sqrt MX∗=KM​ with K=240S/CK = \sqrt{240S/C}K=240S/C​ (p. 948).
  • The fourfold law: X∗(M′)=2X∗(M)  ⟺  M′=4MX^*(M') = 2X^*(M) \iff M' = 4MX∗(M′)=2X∗(M)⟺M′=4M (p. 950).
  • A lot too small by ddd costs more than one too large by ddd: Y(X∗+d)<Y(X∗−d)Y(X^*+d) < Y(X^*-d)Y(X∗+d)<Y(X∗−d) for 0<d<X∗0 < d < X^*0<d<X∗ (p. 949, general form of an observation made on an example).
  • At the optimum, S/X∗=CX∗/(240M)S/X^* = CX^*/(240M)S/X∗=CX∗/(240M) (p. 948).
  • The paper's three worked lot sizes 2,190, 6,850 and 48.5, each to its last printed digit (pp. 948–949).

Significance

The result. The square-root formula gives the cost-minimising batch size in closed form from three observable numbers. Its consequences are the ones Harris draws: lot sizes grow only with the square root of demand (so consumption must quadruple to double a lot), the cost curve is flat near the optimum and asymmetric (erring small is worse than erring large), and at the optimum the set-up cost balances the variable carrying cost. Every later deterministic and stochastic lot-sizing model reduces to this one in its simplest case.

Formalizing it. The result is classical and proved in textbooks, but Harris's paper itself contains no proof. A formalization supplies the missing argument for the paper's exact objective, which differs from the textbook EOQ by charging interest on the set-up cost (S/2S/2S/2 in the stock value) and by the fixed ten per cent rate. It also makes the paper's modelling step precise: the claim that the average stock is X/2X/2X/2 becomes a statement about a time average of a sawtooth function. To our knowledge none of these statements has a machine-checked proof on the platform; the EOQ items of Zheng (1992) concern a different model, with backorders.

Difficulty

The minimization is elementary calculus; the substance of the mission is fidelity. The objective must be the display as printed, with 1240M\frac{1}{240M}240M1​ meaning 1/(240⋅M)1/(240\cdot M)1/(240⋅M), and the claim includes uniqueness, not only that X∗X^*X∗ is a minimizer. The average-stock milestone needs a genuine long-run average of a discontinuous periodic function over [0,T][0, T][0,T] with TTT not a whole number of cycles, which is where the integration and limit bookkeeping lies.

Formalization scope

All quantities are real numbers; lot sizes are not restricted to integers (the paper's own optimum is 48.5). The hypotheses M,C,S>0M, C, S > 0M,C,S>0 are not written on the page; they are implicit in the meaning of a usage rate, a price and a cost, and are added. Every quantifier over lot sizes is over X>0X > 0X>0. Time is measured in months, and the interest rate is fixed at ten per cent, so the constant 240=12⋅2⋅10240 = 12 \cdot 2 \cdot 10240=12⋅2⋅10 appears as printed; the formula is not generalized to an arbitrary rate.

A trivializing formalization is ruled out: YYY is defined as the printed display, not rewritten around X∗X^*X∗; the average stock is an integral of the stock level, never defined as X/2X/2X/2; and the goal does not quantify over all real XXX, where Lean's convention S/0=0S/0 = 0S/0=0 would make X=0X = 0X=0 a spurious minimizer.

The manufacturing interval TTT and the safe stock minimum play no role in the formula and are not modelled. The examples' cost figures (0.188 cents, $0.00028, and so on) are not formalized. The development needs only Mathlib's real numbers, square roots, fractional parts, interval integrals and limits; contributions of proofs of any item are welcome.

Selected references

  • F. W. Harris, How many parts to make at once, Factory, The Magazine of Management 10(2):135–136, 152, 1913; reprinted in Operations Research 38(6):947–950, 1990. https://doi.org/10.1287/opre.38.6.947
  • D. Erlenkotter, Ford Whitman Harris and the economic order quantity model, Operations Research 38(6):937–946, 1990. https://doi.org/10.1287/opre.38.6.937
  • R. H. Wilson, A scientific routine for stock control, Harvard Business Review 13:116–128, 1934.
  • Y.-S. Zheng, On properties of stochastic inventory systems, Management Science 38(1):87–103, 1992. https://doi.org/10.1287/mnsc.38.1.87
4 thms2 active usersReviewed
🏆Completed
Graph TheoryOperations ResearchOptimization·Captain: mikedeng1

Approximation Schemes for the Restricted Shortest Path Problem: The Rounding Algorithm Outputs a T-Path of Length at Most (1 + ε)·OPTResearch Paper

Motivation

The restricted shortest path problem asks for a shortest route between two points of a network subject to a budget on a second additive quantity, such as travel time, cost or risk. It appears as the pricing subproblem of column generation for crew scheduling and vehicle routing, in quality-of-service routing in communication networks, and in scheduling, where Hassin's own §7 uses it for a single-machine problem. The problem is NP-hard (Garey and Johnson, 1979), so exact polynomial algorithms are not expected, and the natural question is how well it can be approximated in polynomial time.

Timeline.

  • 1966–1985. Practical exact methods and pseudopolynomial dynamic programs (Joksch 1966; Lawler 1976; Handler and Zang 1980; Aneja, Aggarwal and Nair 1983; Henig 1985).
  • 1987. Warburton gives the first fully polynomial approximation scheme (FPAS) for this problem on acyclic graphs, based on rounding and scaling (Warburton, Oper. Res. 35, 1987).
  • 1992. Hassin gives two faster FPASs: a rounding-and-scaling scheme driven by an approximate decision test (§3–§4), and a strongly polynomial scheme (§5–§6) (Hassin, Math. Oper. Res. 17, 1992).
  • 2001. Lorenz and Raz give a simpler and faster scheme built on the same test-and-search pattern (Lorenz–Raz, Oper. Res. Lett. 28, 2001).

Hassin's combination of an approximate decision test with a geometric search on the bounds is the pattern later schemes for resource-constrained path problems refine, which is why his first scheme is the subject of this mission.

Setting

A directed graph has vertex set {1,…,n}\{1,\dots,n\}{1,…,n}, n≥2n\ge 2n≥2, and edge set EEE. Following the paper, the vertices are numbered so that every edge (i,j)∈E(i,j)\in E(i,j)∈E has i<ji<ji<j; in particular the graph is acyclic. Each edge carries a positive integer length cijc_{ij}cij​ and a positive integer transition time tijt_{ij}tij​. A path p=(v0,…,vm)p=(v_0,\dots,v_m)p=(v0​,…,vm​) has length c(p)=∑rcvr−1vrc(p)=\sum_r c_{v_{r-1}v_r}c(p)=∑r​cvr−1​vr​​ and transition time t(p)=∑rtvr−1vrt(p)=\sum_r t_{v_{r-1}v_r}t(p)=∑r​tvr−1​vr​​. For a nonnegative integer TTT, a TTT-path is a path from 111 to nnn with t(p)≤Tt(p)\le Tt(p)≤T, and OPT\mathrm{OPT}OPT is the length of a shortest TTT-path.

Fix 0<ε<10<\varepsilon<10<ε<1. For a real VVV, the rounded lengths are

c~ijV=⌊cij(n−1)Vε⌋.\tilde c^V_{ij}=\Big\lfloor \frac{c_{ij}(n-1)}{V\varepsilon}\Big\rfloor .c~ijV​=⌊Vεcij​(n−1)​⌋.

Procedure TEST(V) deletes the edges with cij>Vc_{ij}>Vcij​>V and answers NO if, for some integer c<(n−1)/εc<(n-1)/\varepsilonc<(n−1)/ε, some 111–nnn path in the remaining graph has transition time at most TTT and rounded length at most ccc; otherwise it answers YES.

The Rounding Algorithm keeps bounds (LB,UB)(LB,UB)(LB,UB) on OPT. Starting from initial bounds (LB0,UB0)(LB_0,UB_0)(LB0​,UB0​), Step 1 repeats while UB>2LBUB>2LBUB>2LB: with V=(LB⋅UB)1/2V=(LB\cdot UB)^{1/2}V=(LB⋅UB)1/2 it sets LB←VLB\leftarrow VLB←V if TEST(V) = YES and UB←V(1+ε)UB\leftarrow V(1+\varepsilon)UB←V(1+ε) if TEST(V) = NO. Step 2 outputs a TTT-path that is shortest for the rounded lengths c~ijLB=⌊cij(n−1)/(εLB)⌋\tilde c^{LB}_{ij}=\lfloor c_{ij}(n-1)/(\varepsilon LB)\rfloorc~ijLB​=⌊cij​(n−1)/(εLB)⌋. The bounds after kkk passes are written (LBk,UBk)(LB_k,UB_k)(LBk​,UBk​).

Formalization targets

Goal: the approximation guarantee of the Rounding Algorithm

If LB0>0LB_0>0LB0​>0 is a lower bound on the length of every TTT-path, NNN is a stage at which UBN≤2LBNUB_N\le 2LB_NUBN​≤2LBN​, and ppp is a Step 2 output at LBNLB_NLBN​, then

c(p)≤(1+ε) c(q)for every T-path q,c(p)\le (1+\varepsilon)\,c(q)\qquad\text{for every }T\text{-path }q,c(p)≤(1+ε)c(q)for every T-path q,

that is, c(p)≤(1+ε) OPTc(p)\le(1+\varepsilon)\,\mathrm{OPT}c(p)≤(1+ε)OPT. The initial upper bound UB0UB_0UB0​ is arbitrary.

Milestones (§3–§4)

  1. Rounding error (§3, p. 38): with δ=Vε/(n−1)\delta=V\varepsilon/(n-1)δ=Vε/(n−1), 0≤cij−δc~ijV≤δ0\le c_{ij}-\delta\tilde c^V_{ij}\le\delta0≤cij​−δc~ijV​≤δ for every edge, and 0≤c(p)−δc~V(p)≤Vε0\le c(p)-\delta\tilde c^V(p)\le V\varepsilon0≤c(p)−δc~V(p)≤Vε for every path.
  2. TEST(V) = NO (§3, p. 38): some TTT-path has length <V(1+ε)<V(1+\varepsilon)<V(1+ε), so OPT<V(1+ε)\mathrm{OPT}<V(1+\varepsilon)OPT<V(1+ε).
  3. TEST(V) = YES (§3, p. 38): every TTT-path has length ≥V\ge V≥V, so OPT≥V\mathrm{OPT}\ge VOPT≥V.
  4. Bound update (§4, p. 39): along the run, LBk>0LB_k>0LBk​>0 and LBkLB_kLBk​ is a lower bound on every TTT-path; if some TTT-path has length at most UB0UB_0UB0​, some TTT-path has length at most UBkUB_kUBk​.
  5. Scaled-optimum error (§4, p. 39): a Step 2 output ppp at any LB>0LB>0LB>0 satisfies c(p)≤c(q)+εLBc(p)\le c(q)+\varepsilon LBc(p)≤c(q)+εLB for every TTT-path qqq.

Companion statements

  • Termination when (1+ε)2<2(1+\varepsilon)^2<2(1+ε)2<2: some stage NNN has UBN≤2LBNUB_N\le 2LB_NUBN​≤2LBN​; and an explicit instance with ε=9/10\varepsilon=9/10ε=9/10 on which Step 1 never stops.
  • Initial bounds (Step 0, p. 39): every 111–nnn path has length between 111 and the sum of the n−1n-1n−1 longest edge-lengths.
  • Algorithms A and B (§2, pp. 37–38): their recursions compute fj(t)f_j(t)fj​(t) and gj(c)g_j(c)gj​(c), with OPT=fn(T)=min⁡{c∣gn(c)≤T}\mathrm{OPT}=f_n(T)=\min\{c\mid g_n(c)\le T\}OPT=fn​(T)=min{c∣gn​(c)≤T}.

Significance

The guarantee makes the Rounding Algorithm a fully polynomial approximation scheme: combined with the paper's running-time analysis, a (1+ε)(1+\varepsilon)(1+ε)-approximate TTT-path is computed in time polynomial in the input size and 1/ε1/\varepsilon1/ε. The two ingredients, an approximate decision test that answers "OPT ≥V\ge V≥V" or "OPT <V(1+ε)<V(1+\varepsilon)<V(1+ε)", and a geometric search on the ratio UB/LBUB/LBUB/LB, are reused in later FPASs for constrained path, knapsack-type and scheduling problems; the milestones isolate them as separate statements.

The result has been proved since 1992 but, as far as a search of the platform and of Mathlib shows, none of it is machine-checked. This mission produces a checked version of the first scheme, stated for every stage at which the printed stopping test holds and every optimal Step 2 output. It also records, as a companion, that the printed Step 1 need not terminate when ε>2−1\varepsilon>\sqrt2-1ε>2​−1, and proves termination under (1+ε)2<2(1+\varepsilon)^2<2(1+ε)2<2.

Difficulty

The arithmetic of each step is short; the difficulty is in the combinatorial facts the page uses without proof and in the bookkeeping of a run. The rounding error of a path is at most VεV\varepsilonVε only because a 111–nnn path has at most n−1n-1n−1 edges, which follows from the numbering i<ji<ji<j and must be derived for list-encoded paths. The YES case must cover TTT-paths through edges that TEST deleted, which the rounding argument does not see. The bound update needs both bounds to stay positive so that (LB⋅UB)1/2(LB\cdot UB)^{1/2}(LB⋅UB)1/2 is a meaningful test point, an invariant of the whole run rather than of one step. A tempting shortcut, assuming that LB is a lower bound on OPT at the stopping stage, would assume milestone 4; the goal assumes it only for LB0LB_0LB0​.

Formalization scope

  • Representation. Vertices are natural numbers; an instance is a structure with nnn, a finite edge set of pairs, and length and time functions, with a well-formedness predicate: n≥2n\ge 2n≥2, every edge (i,j)(i,j)(i,j) has 1≤i<j≤n1\le i<j\le n1≤i<j≤n, and lengths and times are positive. The requirement n≥2n\ge2n≥2 is not printed: a 111–nnn path and the divisions by n−1n-1n−1 presuppose it. Paths are nonempty vertex lists.
  • Arithmetic. n−1n-1n−1 is taken in the reals; ⌊⋅⌋\lfloor\cdot\rfloor⌊⋅⌋ is the natural-number floor of a nonnegative real; (LB⋅UB)1/2(LB\cdot UB)^{1/2}(LB⋅UB)1/2 is the real square root. Bounds and ε\varepsilonε are reals, TTT is a natural number.
  • OPT. OPT is never a number in the formal statements, because it is ∞\infty∞ when no TTT-path exists. "OPT ≥V\ge V≥V" is a bound on every TTT-path, "OPT <V(1+ε)<V(1+\varepsilon)<V(1+ε)" is the existence of a TTT-path, and the goal compares the output with every TTT-path. Algorithms A and B use values in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}.
  • TEST(V) is defined by the answer the procedure reaches, not through Algorithm B's printed recursion, whose initial condition gj(0)=∞g_j(0)=\inftygj​(0)=∞ is wrong for rounded lengths 000; for n≥2n\ge2n≥2 and ε<1\varepsilon<1ε<1 the answers agree.
  • The run is the iterate of one pass of Step 1; a stopped state is a fixed point. Step 2 outputs any TTT-path optimal for the rounded lengths, without pruning edges, as printed.
  • Added hypothesis. The termination statement assumes (1+ε)2<2(1+\varepsilon)^2<2(1+ε)2<2, which the page does not state; without it the printed loop can run forever, and an explicit instance is included.
  • Not a trivialization. The goal assumes nothing about TEST's correctness, the rounding error or the lower-bound invariant along the run, and the termination companion shows that its stopping hypothesis is reachable.
  • Out of scope. The second, strongly polynomial scheme of §5–§6 is not included, because as printed its Partitioning Algorithm can report infeasibility on a feasible instance and formalizing it would require a corrected algorithm that is not the author's. All running-time claims, stated as O(⋅)O(\cdot)O(⋅) bounds under an informal operation count, are also excluded, as are the V′V'V′ variant of the test points and the scheduling application of §7.
  • Reusable parts. The list-based path layer with two additive weights, and the correctness of the pseudopolynomial recursions of Algorithms A and B, are independent of the approximation scheme. Contributions of proofs for any milestone or companion are welcome.

Selected references

  • R. Hassin, Approximation schemes for the restricted shortest path problem, Mathematics of Operations Research 17(1):36–42, 1992. https://doi.org/10.1287/moor.17.1.36
  • A. Warburton, Approximation of Pareto optima in multiple-objective, shortest-path problems, Operations Research 35(1):70–79, 1987. https://doi.org/10.1287/opre.35.1.70
  • D. H. Lorenz and D. Raz, A simple efficient approximation scheme for the restricted shortest path problem, Operations Research Letters 28(5):213–219, 2001. https://doi.org/10.1016/S0167-6377(01)00069-4
  • M. R. Garey and D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, W. H. Freeman, 1979.
7 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization·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
🏆Completed
Dynamic ProgrammingLinear OptimizationMarkov Chain+2·Captain: mikedeng1

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

Motivation

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

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

Setting

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

The average reward of RRR from state iii is

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

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

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

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

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

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

Formalization targets

Goal: Theorem 4.2.4

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

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

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

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

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

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

Formalization targets

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

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

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

Formalization targets

Five equivalent conditions

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

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

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

Supporting targets

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

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

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

Motivation

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

Timeline.

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

Setting

For each real λ\lambdaλ the problem is

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

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

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

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

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

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

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

Formalization targets

Goal: the THEOREM (p. 41)

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

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

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

Formalization targets

Fractional cut and integer optimum

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

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

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

Supporting claims

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

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

Why optimize only transient policies?

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

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

The finite model and its policies

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

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

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

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

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

Formalization targets

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

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

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

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

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

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

What the result gives

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

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

Where the difficulty lies

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

Formalization scope

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

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

Selected references

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

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

Motivation

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

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

Timeline.

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

Setting

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

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

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

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

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

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

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

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

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

Formalization targets

Goal: Theorem 6.2.3

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

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

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

Milestones

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

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

Formalization targets

Goal: Theorem 5

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

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

Milestones

In the order the proof uses them:

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

Explicit readings of the paper's loose phrases:

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

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

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

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

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

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

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

Formalization targets

Goal: THEOREM 4 (p. 462)

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

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

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

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

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

The revised dual problem (3.5) is

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

and its stationarity conditions (3.6) are

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

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

Formalization targets

Goal: Theorem 3.7

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

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

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

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

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

Significance

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

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

Difficulty

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

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

Formalization scope

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

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

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

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

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

Selected references

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

Some Polyhedra Related to Combinatorial Problems III: Faces of P(H, ψg0) Lift Through a Homomorphism ψ of G onto H to Faces of P(G, g0)Research Paper

Motivation

Every pure integer program, once its linear programming relaxation has been solved, can be relaxed further to a problem over a finite Abelian group: the nonbasic variables must satisfy a single congruence in the group of the optimal basis. R. E. Gomory introduced this relaxation in 1965 and studied the convex hull of its solutions in Some polyhedra related to combinatorial problems (Linear Algebra Appl. 2 (1969), 451–558, doi:10.1016/0024-3795(69)90017-2). The facets of these group polyhedra are valid inequalities for every integer program whose basis produces the same group, and they became the source of cutting planes for integer programming: Gomory's mixed-integer cut and the later theory of corner polyhedra and subadditive valid inequalities descend from them.

The number of facets grows fast with the order of the group, so a list of facets for each group is not a usable description. Section 3D of the paper, "Lifting up Faces", gives a structural tool instead: facets of the polyhedron of a small group produce facets of the polyhedron of every larger group that maps onto it. This mission formalizes that construction (THEOREM 19) and its converse (THEOREM 20).

Setting

Let G\mathcal GG be a finite Abelian group, written additively, with zero 0ˉ\bar 00ˉ and order D=∣G∣D=|\mathcal G|D=∣G∣, and let G+=G−{0ˉ}\mathcal G^+=\mathcal G-\{\bar 0\}G+=G−{0ˉ}. For a right-hand side g0∈Gg_0\in\mathcal Gg0​∈G, the group equation asks for nonnegative integers t(g)t(g)t(g), g∈G+g\in\mathcal G^+g∈G+, with

∑g∈G+t(g)⋅g=g0.\sum_{g\in\mathcal G^+}t(g)\cdot g=g_0 .g∈G+∑​t(g)⋅g=g0​.

Its solution set is T(G,g0)T(\mathcal G,g_0)T(G,g0​); when g0=0ˉg_0=\bar 0g0​=0ˉ, the zero solution is excluded, as stipulated on p. 474. Each solution is a point of RG+\mathbb R^{\mathcal G^+}RG+, a space of dimension n′=D−1n'=D-1n′=D−1, and the master polyhedron P(G,g0)P(\mathcal G,g_0)P(G,g0​) is the convex hull of T(G,g0)T(\mathcal G,g_0)T(G,g0​). Gomory reads a solution ttt as a path from 0ˉ\bar 00ˉ to g0g_0g0​ that uses the element ggg exactly t(g)t(g)t(g) times; with arc lengths π(g)\pi(g)π(g) its length is π⋅t=∑gπ(g)t(g)\pi\cdot t=\sum_g\pi(g)t(g)π⋅t=∑g​π(g)t(g).

An inequality π⋅t≥π0\pi\cdot t\ge\pi_0π⋅t≥π0​, written (π,π0)(\pi,\pi_0)(π,π0​), is a face of P(G,g0)P(\mathcal G,g_0)P(G,g0​) when π≠0\pi\ne0π=0, every t∈T(G,g0)t\in T(\mathcal G,g_0)t∈T(G,g0​) satisfies it, and the solutions on the hyperplane π⋅t=π0\pi\cdot t=\pi_0π⋅t=π0​ generate that hyperplane: every point of it is a weighted sum, with total weight 1, of such solutions. A face is therefore a facet; Gomory says "face" throughout, and so does this mission. The solutions with π⋅t=π0\pi\cdot t=\pi_0π⋅t=π0​ are the minimal paths.

Let ψ\psiψ be a homomorphism of G\mathcal GG onto a second finite Abelian group H\mathcal HH, with kernel K=ψ−1(0ˉ)\mathcal K=\psi^{-1}(\bar 0)K=ψ−1(0ˉ). A coefficient vector π′\pi'π′ on H+\mathcal H^+H+ is lifted to G+\mathcal G^+G+ by

π(g)=π′(ψg),π′(0ˉ)=0,\pi(g)=\pi'(\psi g),\qquad \pi'(\bar 0)=0,π(g)=π′(ψg),π′(0ˉ)=0,

so that every element of the kernel gets coefficient 000.

Formalization targets

Goal: THEOREM 19 (p. 486)

If ψg0≠0ˉ\psi g_0\ne\bar 0ψg0​=0ˉ and (π′,π0)(\pi',\pi_0)(π′,π0​) is a face of P(H,ψg0)P(\mathcal H,\psi g_0)P(H,ψg0​) with π0>0\pi_0>0π0​>0, then

(π,π0),π(g)=π′(ψg),is a face of P(G,g0).\Big(\pi,\pi_0\Big),\quad \pi(g)=\pi'(\psi g),\quad\text{is a face of } P(\mathcal G,g_0).(π,π0​),π(g)=π′(ψg),is a face of P(G,g0​).

For instance, the face t1≥1t_1\ge1t1​≥1 of P(G2,(1))P(\mathcal G_2,(1))P(G2​,(1)) lifts through reduction mod 2 to the face t1+0t2+t3+0t4+t5≥1t_1+0t_2+t_3+0t_4+t_5\ge1t1​+0t2​+t3​+0t4​+t5​≥1 of P(G6,(5))P(\mathcal G_6,(5))P(G6​,(5)) (p. 488).

Milestones

  1. Face criterion (p. 469, proof of THEOREM 7). For π0>0\pi_0>0π0​>0, (π,π0)(\pi,\pi_0)(π,π0​) is a face iff it is valid on TTT and n′n'n′ linearly independent solutions satisfy π⋅t=π0\pi\cdot t=\pi_0π⋅t=π0​.
  2. Pushing paths forward (p. 486). A solution ttt for G\mathcal GG maps to the solution τ(h)=∑g∈ψ−1ht(g)\tau(h)=\sum_{g\in\psi^{-1}h}t(g)τ(h)=∑g∈ψ−1h​t(g) for H\mathcal HH of the same length; hence the lifted inequality is valid.
  3. Lifted minimal paths (p. 487). From a minimal path τ\tauτ for H\mathcal HH and a kernel element kkk, the path Tk(τ)T_k(\tau)Tk​(τ) is a minimal path for G\mathcal GG.
  4. Rank D−1D-1D−1 (pp. 487–488). The lifted inequality has D−1D-1D−1 linearly independent minimal paths.

Further result: THEOREM 20 (p. 489)

Conversely, a face (π,π0)(\pi,\pi_0)(π,π0​) of P(G,g0)P(\mathcal G,g_0)P(G,g0​) with π0>0\pi_0>0π0​>0 and π(g)=0\pi(g)=0π(g)=0 for some g≠0ˉg\ne\bar0g=0ˉ is the lift of a face of P(H,ψg0)P(\mathcal H,\psi g_0)P(H,ψg0​) for some ψ\psiψ of G\mathcal GG onto a group H\mathcal HH with ψg=0ˉ\psi g=\bar 0ψg=0ˉ.

Significance

THEOREMS 19 and 20 together say that the faces of P(G,g0)P(\mathcal G,g_0)P(G,g0​) with π0>0\pi_0>0π0​>0 and a zero coefficient are exactly the faces lifted from proper quotients of G\mathcal GG. A catalogue of these positive-right-hand-side faces therefore only needs the faces with all coefficients positive; the rest come from smaller groups. Gomory uses this to explain the tables of Appendix 5: for G2,2\mathcal G_{2,2}G2,2​ and G2,2,2\mathcal G_{2,2,2}G2,2,2​ every such face is a lift of the single nontrivial face of P(G2,(1))P(\mathcal G_2,(1))P(G2​,(1)), and for a direct sum G=K1⊕K2\mathcal G=\mathcal K_1\oplus\mathcal K_2G=K1​⊕K2​ every face of the polyhedron of a summand not containing g0g_0g0​ extends to a face for G\mathcal GG (p. 489). The same idea, sending facets of one group problem to facets of another by a homomorphism, recurs in the later theory of group relaxations and infinite group problems.

Both theorems are proved in the paper. To the knowledge of this mission, neither the group polyhedra, their faces nor the lifting theorem has a machine-checked formalization; the platform's other "lifting" results (lifted cover facets of the knapsack polytope, cone lifts of convex sets) are different notions. The mission produces a reusable definition layer for master group polyhedra and their faces, stated once for an arbitrary finite Abelian group, and a formal version of the passage between faces of a group and of its quotients.

Difficulty

Validity of the lifted inequality is a one-line computation (milestone 2). The content is that the lift is a facet: one must exhibit D−1D-1D−1 affinely independent solutions on the hyperplane, while the quotient face only supplies ∣H∣−1|\mathcal H|-1∣H∣−1 of them. A solution of the quotient problem does not determine a solution for G\mathcal GG; coset representatives must be chosen and the path closed by a kernel element, and the kernel coordinates, which all have coefficient zero, must still be filled to full rank.

The obvious reduction, "a facet pulls back to a facet under a surjective map", fails here because the map from G\mathcal GG-paths to H\mathcal HH-paths is a linear projection from dimension D−1D-1D−1 to ∣H∣−1|\mathcal H|-1∣H∣−1 and does not lift independence by itself. It also fails at π0=0\pi_0=0π0​=0: with G=Z6\mathcal G=\mathbb Z_6G=Z6​, H=Z3\mathcal H=\mathbb Z_3H=Z3​, g0=1g_0=1g0​=1, the face t(1)≥0t(1)\ge0t(1)≥0 of P(Z3,(1))P(\mathbb Z_3,(1))P(Z3​,(1)) lifts to t(1)+t(4)≥0t(1)+t(4)\ge0t(1)+t(4)≥0, which is valid but not a face of P(Z6,(1))P(\mathbb Z_6,(1))P(Z6​,(1)).

Formalization scope

The formalization uses one definition file for an arbitrary finite Abelian group ([AddCommGroup G] [Fintype G] [DecidableEq G]), instantiated at both G\mathcal GG and H\mathcal HH. It commits to the following readings:

  • Vectors are indexed by the subtype {g∣g≠0ˉ}\{g\mid g\ne\bar0\}{g∣g=0ˉ}, so 0ˉ\bar00ˉ has no coordinate and the dimension of T-space is ∣G∣−1|\mathcal G|-1∣G∣−1 for each group separately; solutions are N\mathbb NN-valued, nonzero, and cast to R\mathbb RR. When g0≠0ˉg_0\ne\bar0g0​=0ˉ, the group equation already excludes the zero vector.
  • "Generated by the points on the hyperplane" means that the affine span of the tight solutions equals the hyperplane {x:π⋅x=π0}\{x:\pi\cdot x=\pi_0\}{x:π⋅x=π0​}; π≠0\pi\ne0π=0 is part of the definition and π0≥0\pi_0\ge0π0​≥0 is not (THEOREM 6 proves it).
  • Paths are vectors and "minimal path" means a solution with π⋅t=π0\pi\cdot t=\pi_0π⋅t=π0​.
  • π′(0ˉ)=0\pi'(\bar0)=0π′(0ˉ)=0 is built into the lift; "onto" is Function.Surjective ψ, and g0∉Kg_0\notin\mathcal Kg0​∈/K is ψg0≠0ˉ\psi g_0\ne\bar0ψg0​=0ˉ.
  • Added hypothesis π0>0\pi_0>0π0​>0 in THEOREM 19 and the rank milestone: the page omits it, and the Z6→Z3\mathbb Z_6\to\mathbb Z_3Z6​→Z3​ example above shows the statement is false without it.
  • The face criterion is THEOREM 7's "basic feasible solution" unfolded into n′n'n′ linearly independent tight solutions, stated for the master polyhedron only and for nontrivial groups, where n′>0n'>0n′>0.
  • Pushing a path forward uses ψg0≠0ˉ\psi g_0\ne\bar0ψg0​=0ˉ, the standing hypothesis of THEOREM 19, so the pushed path cannot become the excluded zero solution.
  • The lifted path Tk(τ)T_k(\tau)Tk​(τ) puts its closing 111 on the kernel element g0−∑g∉Ktk(g)⋅gg_0-\sum_{g\notin\mathcal K}t_k(g)\cdot gg0​−∑g∈/K​tk​(g)⋅g itself, and adds nothing when that element is 0ˉ\bar00ˉ.
  • In THEOREM 20, "nontrivial" is π0>0\pi_0>0π0​>0, the printed (π1,π0)(\pi_1,\pi_0)(π1​,π0​) is read as (π,π0)(\pi,\pi_0)(π,π0​), and the conclusion requires ψg=0ˉ\psi g=\bar0ψg=0ˉ for the given zero coefficient: without it the identity map would satisfy the statement.

A formalization that proves only validity of the lift, or that defines faces without the generation condition (so that every valid inequality is a "face"), would be trivial and is ruled out by the definition of IsFace.

The development needs finite sums over fibres of ψ\psiψ, a choice of coset representatives, and a rank argument for a block matrix with full-rank diagonal blocks. The definitions of TTT, P(G,g0)P(\mathcal G,g_0)P(G,g0​) and face are reusable for any further result on master group polyhedra. Proofs of the milestones in any order, alternative proofs of the face criterion, and a proof of THEOREM 20 are welcome.

Selected references

  • R. E. Gomory, Some polyhedra related to combinatorial problems, Linear Algebra and Its Applications 2 (1969), 451–558. doi:10.1016/0024-3795(69)90017-2
  • R. E. Gomory, On the relation between integer and noninteger solutions to linear programs, Proceedings of the National Academy of Sciences 53 (1965), 260–265. doi:10.1073/pnas.53.2.260
  • R. E. Gomory and E. L. Johnson, Some continuous functions related to corner polyhedra, Mathematical Programming 3 (1972), 23–85. doi:10.1007/BF01584976
7 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingLinear OptimizationOperations Research+1·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
CombinatoricsOperations ResearchTheoretical Computer Science·Captain: mikedeng1

Flowshop and Jobshop Schedules: Complexity and Approximation 1: The Partition Flow Shop on Three Machines Has a Schedule of Finish Time 2T, Preemptive or Not, Iff a Partition ExistsResearch Paper

Motivation

Shop scheduling asks how to process a set of jobs, each a sequence of tasks on prescribed machines, so that all work is completed as early as possible. The flow shop, in which every job visits the machines in the same order, is the most studied of these models in operations research. For two machines, Johnson's rule (1954) computes a schedule of minimum finish time in O(nlog⁡n)O(n\log n)O(nlogn) time, and for two machines allowing interruptions (preemption) does not help. Garey, Johnson and Sethi (Math. Oper. Res. 1976) and Brucker, Lenstra and Rinnooy Kan (Mathematisch Centrum report BW 43/75, 1975; Ann. Discrete Math. 1977) showed that the non-preemptive problem becomes NP-complete with three machines.

Gonzalez and Sahni (Operations Research, 1978) extended this picture to preemptive schedules. Their Theorem 1 shows that minimizing the finish time of a three-machine flow shop is NP-complete with or without preemption, even when every job has at most two tasks of nonzero length. When every job has only one task the problem is trivial, so this is the simplest NP-complete case of the flow-shop finish-time problem. The result explains why no exact polynomial algorithm is expected and motivates the approximation results in the second half of the same paper.

Timeline:

  • 1954: Johnson, two-machine flow shop, optimal non-preemptive rule.
  • 1975: Brucker, Lenstra, Rinnooy Kan: non-preemptive three-machine flow shop NP-complete, including the case of two nonzero tasks per job (the paper's Corollary 1, which it says "is also obtained in [1]").
  • 1976: Garey, Johnson, Sethi: non-preemptive three-machine flow shop NP-complete even when the problem size is the sum of the task lengths.
  • 1978: Gonzalez, Sahni: the preemptive three-machine flow shop is NP-complete, by a reduction from PARTITION that also covers the non-preemptive case with two nonzero tasks per job.

Setting

A flow shop has m≥1m\ge1m≥1 processors P1,…,PmP_1,\dots,P_mP1​,…,Pm​ and a finite set of jobs. Task jjj of job iii must be processed on PjP_jPj​ for tj,i≥0t_{j,i}\ge 0tj,i​≥0 time units, and it can start only after task j−1j-1j−1 of the same job is completed. Task times may be zero. The schedule starts at time 000.

A preemptive schedule gives every task a finite set of pieces (s,f)(s,f)(s,f) with 0≤s<f0\le s<f0≤s<f: the task is processed on its processor during [s,f)[s,f)[s,f). Pieces on the same processor do not overlap, the pieces of a task have total length tj,it_{j,i}tj,i​, and every piece of a task starts after every piece of the earlier tasks of the same job has ended. A non-preemptive schedule processes every task in at most one piece. For a schedule SSS, fi(S)f_i(S)fi​(S) is the time at which job iii is completed and the finish time is FT(S)=max⁡ifi(S)\mathrm{FT}(S)=\max_i f_i(S)FT(S)=maxi​fi​(S).

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

The instance FS. With T=∑iaiT=\sum_i a_iT=∑i​ai​, the flow shop FS\mathrm{FS}FS has m=3m=3m=3 processors and n+2n+2n+2 jobs:

t⋅,i=(ai,0,ai) (1≤i≤n),t⋅,n+1=(T/2, T, 0),t⋅,n+2=(0, T, T/2),t_{\cdot,i}=(a_i,0,a_i)\ (1\le i\le n),\qquad t_{\cdot,n+1}=(T/2,\,T,\,0),\qquad t_{\cdot,n+2}=(0,\,T,\,T/2),t⋅,i​=(ai​,0,ai​) (1≤i≤n),t⋅,n+1​=(T/2,T,0),t⋅,n+2​=(0,T,T/2),

and the threshold is τ=2T\tau=2Tτ=2T. Every job has at most two nonzero tasks.

Formalization targets

Goal: Theorem 1 (p. 38)

For every nnn and every a1,…,an∈Na_1,\dots,a_n\in\mathbb Na1​,…,an​∈N:

FS has at most two nonzero tasks per job,\mathrm{FS}\ \text{has at most two nonzero tasks per job},FS has at most two nonzero tasks per job, (∃ S′ preemptive, FT(S′)≤2T)  ⟺  S has a partition,\big(\exists\,S'\ \text{preemptive},\ \mathrm{FT}(S')\le 2T\big)\iff S\ \text{has a partition},(∃S′ preemptive, FT(S′)≤2T)⟺S has a partition, (∃ S′ non-preemptive, FT(S′)≤2T)  ⟺  S has a partition.\big(\exists\,S'\ \text{non-preemptive},\ \mathrm{FT}(S')\le 2T\big)\iff S\ \text{has a partition}.(∃S′ non-preemptive, FT(S′)≤2T)⟺S has a partition.

Milestones

  • Lemma 1(a) (p. 39): a partition of SSS yields a non-preemptive schedule of FS with FT=2T\mathrm{FT}=2TFT=2T (Figure 1).
  • Observations (i)–(ii) (p. 39): in any preemptive schedule with FT≤2T\mathrm{FT}\le 2TFT≤2T, task t1,n+1t_{1,n+1}t1,n+1​ ends by TTT and task t3,n+2t_{3,n+2}t3,n+2​ starts no earlier than TTT.
  • Lemma 1(b) (p. 39): if SSS has no partition, every preemptive schedule of FS has FT>2T\mathrm{FT}>2TFT>2T.
  • Lemma 1 (p. 38): the preemptive equivalence.
  • Corollary 1 (p. 39): the non-preemptive equivalence.

Significance

The result. The equivalence shows that a polynomial-time algorithm deciding whether a three-machine flow shop (with two nonzero tasks per job) has a schedule of finish time at most τ\tauτ, preemptive or not, would decide PARTITION in polynomial time. With membership in NP (the paper's Lemma 2) it gives NP-completeness of both versions. It also marks the boundary with the polynomial cases: m=2m=2m=2 (Johnson's rule), and jobs with a single task.

Formalizing it. The result is proved in the paper; nothing here is open. To our knowledge no machine-checked proof of this reduction exists, and the platform has no formal model of preemptive shop schedules. The mission produces one: a piece-based preemptive schedule with zero task times, which subsumes the non-preemptive case, together with the first formal NP-hardness reduction for preemptive flow shops on the platform.

Difficulty

Direction (a) asks for one explicit schedule. Direction (b) must rule out every preemptive schedule of FS, and preemption is exactly what makes this delicate: a task may be split into any finite number of pieces placed anywhere on its processor, so the naive intuition that a failed partition leaves "unusable gaps" is no longer evident, since pieces of different jobs can be interleaved to fill gaps. A correct argument must therefore be an accounting of processor time over the pieces, valid for any number and position of pieces, and it must treat zero-length tasks, which occupy no processor time but still delay the next task of their job. Finally, the non-preemptive equivalence is not a formal consequence of the preemptive one alone: it uses that (a) produces a non-preemptive schedule and that (b) holds for all preemptive schedules, which include the non-preemptive ones.

Formalization scope

  • Processors are Fin 3 (P1,P2,P3P_1,P_2,P_3P1​,P2​,P3​ = 0, 1, 2), jobs of FS are Fin n ⊕ Fin 2 (Sum.inr 0 is job n+1n+1n+1, Sum.inr 1 is job n+2n+2n+2). Task times are real numbers; the PARTITION data are a : Fin n → ℕ, and "has a partition" is 2∑i∈uai=∑iai2\sum_{i\in u}a_i=\sum_i a_i2∑i∈u​ai​=∑i​ai​ in N\mathbb NN.
  • A schedule is a Finset of pieces (s,f)(s,f)(s,f) per task with the four conditions of the Setting. Non-preemptive means at most one piece per task. Zero tasks have no pieces and occupy no processor time. fi(S)f_i(S)fi​(S) and FT(S)\mathrm{FT}(S)FT(S) are maxima with baseline 000.
  • Explicit constants: T=∑iaiT=\sum_i a_iT=∑i​ai​, the times T/2T/2T/2 and TTT of jobs n+1,n+2n+1,n+2n+1,n+2, and the threshold τ=2T\tau=2Tτ=2T, as on p. 39. Lemma 1(a) states finish time exactly 2T2T2T, as the paper does.
  • Not formalized: "NP-complete", the reducibility relation "α\alphaα", membership in NP (Lemma 2, p. 40) and the polynomial computability of FS from SSS. The paper states Theorem 1, Lemma 1 and Corollary 1 as complexity claims. Their proofs establish the equivalences above for the constructed instance, and those equivalences are what is formalized.
  • No trivializing reading is admitted: the statements concern the specific instance FS built from aaa, not an arbitrary flow shop, and the schedule model rules out overlapping pieces and out-of-order tasks while still allowing zero tasks. A sorry-free check confirms that Figure 1 is a valid non-preemptive schedule of FS for S={1,1}S=\{1,1\}S={1,1}.
  • Reusable beyond this mission: the flow-shop model with preemptive pieces, and PARTITION. Proofs of the milestones and a proof of the goal from them are welcome.

Selected references

  • T. Gonzalez, S. Sahni, Flowshop and Jobshop Schedules: Complexity and Approximation, Operations Research 26(1), 36–52, 1978. https://doi.org/10.1287/opre.26.1.36
  • M. R. Garey, D. S. Johnson, R. Sethi, The Complexity of Flowshop and Jobshop Scheduling, Mathematics of Operations Research 1(2), 117–129, 1976. https://doi.org/10.1287/moor.1.2.117
  • S. M. Johnson, Optimal two- and three-stage production schedules with setup times included, Naval Research Logistics Quarterly 1(1), 61–68, 1954. https://doi.org/10.1002/nav.3800010110
  • P. Brucker, J. K. Lenstra, A. H. G. Rinnooy Kan, Complexity of Machine Scheduling Problems, Mathematisch Centrum report BW 43/75, 1975; Annals of Discrete Mathematics 1, 343–362, 1977. https://doi.org/10.1016/S0167-5060(08)70743-X
  • R. M. Karp, Reducibility among Combinatorial Problems, in Complexity of Computer Computations, Plenum, 85–103, 1972. https://doi.org/10.1007/978-1-4684-2001-2_9
9 thms2 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchTheoretical Computer Science·Captain: mikedeng1

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

Motivation

In a job shop, each job has an ordered list of tasks, and each task must use a specified machine. A production planner may be able to interrupt a task and resume it later, yet still be unable to find a short schedule efficiently. Gonzalez and Sahni studied how the ability to preempt changes the difficulty of minimizing the time at which all jobs are complete. Their 1978 paper establishes complexity results for flow shops and job shops and then examines approximation schedules when exact optimization is difficult (Gonzalez and Sahni, 1978).

This mission concerns the paper's two-machine construction from 3-PARTITION. It is the reduction used for their claim that finding an optimal preemptive or non-preemptive finish-time schedule remains NP-complete when input size is measured by the sum of task lengths. The formal target isolates the decision equivalence proved for the constructed instance. It gives solvers a precise schedule statement to establish without conflating the scheduling theorem with the separate complexity-class argument.

Setting

A 3-PARTITION input CCC comprises an integer t≥0t\ge0t≥0, a positive integer target BBB, and s=3ts=3ts=3t positive integer sizes a1,…,asa_1,\ldots,a_sa1​,…,as​. A valid input satisfies

∑i=1sai=tB,B/4<ai<B/2(1≤i≤s).\sum_{i=1}^{s}a_i=tB,\qquad B/4<a_i<B/2\quad(1\le i\le s).i=1∑s​ai​=tB,B/4<ai​<B/2(1≤i≤s).

It has a 3-partition when the sss indices can be assigned to ttt disjoint groups, each containing exactly three indices and having total size BBB. The strict bounds rule out groups of other cardinalities at that sum and are part of the source problem, not a convenience added for formalization. When t=0t=0t=0, the input has no sizes or groups and the empty grouping is a solution.

The paper builds a job shop JS(C)JS(C)JS(C) with machines P1,P2P_1,P_2P1​,P2​ and s+1s+1s+1 jobs. For 1≤i≤s1\le i\le s1≤i≤s, job iii has a task of length aia_iai​ on P1P_1P1​, followed by a task of length aia_iai​ on P2P_2P2​. The last job, s+1s+1s+1, has 2t2t2t tasks, each of length BBB. Its tasks alternate between the machines, starting on P2P_2P2​. This last order matters: reversing it would produce a different construction. The source gives the decision threshold τ=2tB\tau=2tBτ=2tB (Lemma 7, p. 44).

A non-preemptive schedule gives each task one continuous processing interval. A preemptive schedule may divide an operation into finitely many positive-length intervals. In either case, jobs obey their task order, distinct pieces on the same machine do not overlap, and processing starts at or after time zero. Write FT(S)FT(S)FT(S) for the time at which all tasks of schedule SSS have finished. The paper allows the same job to revisit a machine, as the final job does here.

Formalization targets

Lemma 7: the constructed instance

For every valid CCC, the main goal states both the paper's preemptive equivalence and the non-preemptive form established by its two directions:

∃S preemptive for JS(C):FT(S)≤2tB  ⟺  C has a 3-partition,∃S non-preemptive for JS(C):FT(S)≤2tB  ⟺  C has a 3-partition.\begin{aligned} \exists S\text{ preemptive for }JS(C): FT(S)\le2tB &\iff C\text{ has a 3-partition},\\ \exists S\text{ non-preemptive for }JS(C): FT(S)\le2tB &\iff C\text{ has a 3-partition}. \end{aligned}∃S preemptive for JS(C):FT(S)≤2tB∃S non-preemptive for JS(C):FT(S)≤2tB​⟺C has a 3-partition,⟺C has a 3-partition.​

The milestones follow the source's proof text: the schedule supplied by a solution in Lemma 7(a), the timing forced on the final job, the exclusion of short preemptive schedules in Lemma 7(b), and the preemptive equivalence stated in the proof. The final-job milestone describes the occupied time slots of the paper's Figure 4, independently of how many adjacent pieces a formal schedule uses.

Significance

The equivalence transfers the distinction between solvable and unsolvable 3-PARTITION inputs to an exact finish-time threshold in a job shop with only two machines. It also establishes the non-preemptive decision equivalence for this construction, because a solution yields a non-preemptive schedule while an unsolvable input rules out even the more permissive preemptive schedules. These facts supply the scheduling part of the paper's strong NP-completeness claim; membership in NP is handled separately by Lemma 6 (pp. 44–45).

The result is proved in the source paper. The work proposed here is a machine-checked development of its explicit reduction equivalence and the finite-piece scheduling model needed to state it. The milestone theorems expose statements that can be reused when formalizing other preemptive scheduling reductions. The shared job-shop instance and 3-PARTITION input are already published definitions; the particular reduction instance and preemptive schedule predicate are new local definitions.

Difficulty

Preemption makes a task's processing time distributable across intervals. Merely checking that each machine has enough total capacity does not characterize feasible schedules: every job's operations must still occur in order, and pieces of different jobs must avoid one another on each machine. The converse direction must constrain every preemptive schedule that meets the threshold, not only a schedule having the visual pattern in Figure 4. A schedule can also represent one uninterrupted interval as several adjacent pieces, so piece count alone cannot express the source's timing claim.

Formalization scope

Machines are Fin 2, with P1P_1P1​ numbered 000 and P2P_2P2​ numbered 111. Jobs are Fin (3t+1); the final job is index 3t3t3t. Its zero-based operation iii uses machine 111 for even iii and machine 000 for odd iii. The definition uses the published JobShopLTAS.Core.Instance for ordered operations, machines, real processing times, and non-preemptive feasibility. It uses the published ResourceScheduling.Chain.ThreePartition for t,B,ait,B,a_it,B,ai​, validity, and solutions. Those objects have the same conventions as the paper here. The local preemptive model uses finitely many positive-length pieces per task, whose durations sum exactly to that task's processing time. The threshold is the explicit real cast of 2tB2tB2tB; no real infimum or division by a possibly zero optimum appears.

The goal is specific to the instance the paper constructs from each valid input. A free job-shop instance, a freely chosen schedule, or an extra hypothesis that the input has a solution would erase the reduction's content. Validity carries B>0B>0B>0, total tBtBtB, and both strict bounds on each aia_iai​. The case t=0t=0t=0 remains in scope: the constructed job has no tasks and its finish-time threshold is zero. All existing tasks have positive length whenever the input is valid, so the published non-preemptive predicate's treatment of zero-length tasks does not affect this mission.

The paper states “3-Partition α\alphaα preemptive JOFT with m=2m=2m=2” and connects it to NP-completeness for preemptive and non-preemptive scheduling when complexity is measured by the sum of task lengths. The Lean theorem states the proof's two decision equivalences with constant 2tB2tB2tB and machine count 222. It does not formalize α\alphaα as a polynomial-time many-one reduction, the unary task-length measure, NP-completeness, or Lemma 6's NP-membership argument. Contributions that establish the reduction statements, the schedule construction, or general finite-piece scheduling facts are within scope.

Selected references

  • Teofilo Gonzalez and Sartaj Sahni, Flowshop and Jobshop Schedules: Complexity and Approximation, Operations Research 26(1), 1978, pp. 36–52. DOI: 10.1287/opre.26.1.36.
9 thms2 active usersReviewed
🏆Completed
Operations ResearchTheoretical Computer Science·Captain: mikedeng1

Flowshop and Jobshop Schedules: Complexity and Approximation 5: Sequencing Jobs by Shortest Total Processing Time Gives Mean Flow Time within m Times the OptimumResearch Paper

Motivation

Flow shops and job shops are the basic models of multi-stage production: every job passes through several machines, and each machine handles one task at a time. Gonzalez and Sahni (Operations Research 26(1), 1978) showed that minimizing the finish time of such shops is NP-complete even with preemption, and then asked how well simple heuristics do. One of the two objectives they study is the mean flow time, the average completion time of the jobs, which measures how long a job spends in the shop on average.

Their Lemma 9 analyses the most natural rule for that objective, shortest processing time first (SPT): process the jobs in order of nondecreasing total work. For a single machine SPT is optimal (Smith 1956; Conway, Maxwell and Miller, Theory of Scheduling, 1967, p. 76, which the paper cites). Lemma 9 shows that with mmm processors the same rule loses at most a factor mmm, and the paper's Example 2 shows that the factor mmm is attained in the limit.

Setting

A job shop has m≥1m\ge1m≥1 processors P1,…,PmP_1,\dots,P_mP1​,…,Pm​ and nnn jobs. Job iii is a finite sequence of tasks; each task names the processor that must process it and a processing time p≥0p\ge0p≥0. The tasks of a job are processed in their order: a task may start only after the job's previous task has completed. A flow shop is the special case in which every job has mmm tasks and its kkk-th task runs on PkP_kPk​.

A non-preemptive schedule gives every task a start time s≥0s\ge0s≥0; the task then occupies its processor during [s,s+p)[s,s+p)[s,s+p), and two distinct tasks on one processor never overlap. The finish time fi(S)f_i(S)fi​(S) of job iii in schedule SSS is the time at which all tasks of job iii have been completed, and the mean flow time is

MFT(S)=1n∑i=1nfi(S).\mathrm{MFT}(S)=\frac1n\sum_{i=1}^n f_i(S).MFT(S)=n1​i=1∑n​fi​(S).

An OMFT schedule S∗S^*S∗ is a feasible schedule of least mean flow time.

Let LiL_iLi​ be the sum of the task times of job iii. An SPT order is a listing σ(0),…,σ(n−1)\sigma(0),\dots,\sigma(n-1)σ(0),…,σ(n−1) of the jobs with Lσ(0)≤⋯≤Lσ(n−1)L_{\sigma(0)}\le\dots\le L_{\sigma(n-1)}Lσ(0)​≤⋯≤Lσ(n−1)​, ties broken arbitrarily. The SPT schedule processes the jobs in that order: each job in turn, each positive-time task starting at the later of the completion of the job's previous task and the latest completion of a task already placed on its processor. A zero-time task completes when its preceding task completes and leaves the processor available.

Formalization targets

Goal: Lemma 9

For every job shop, every SPT order σ\sigmaσ with SPT schedule SSS, and every feasible non-preemptive schedule τ\tauτ,

MFT(S)≤m⋅MFT(τ),\mathrm{MFT}(S)\le m\cdot\mathrm{MFT}(\tau),MFT(S)≤m⋅MFT(τ),

so that MFT(S)/MFT(S∗)≤m\mathrm{MFT}(S)/\mathrm{MFT}(S^*)\le mMFT(S)/MFT(S∗)≤m for an OMFT schedule S∗S^*S∗. A separate item states the same bound for flow shops.

Milestones

The milestones follow the paper's proof of Lemma 9 on p. 47:

  1. the SPT schedule is a feasible schedule;
  2. the job in position kkk of the SPT schedule finishes by ∑j≤kLσ(j)\sum_{j\le k}L_{\sigma(j)}∑j≤k​Lσ(j)​;
  3. in any feasible schedule, if i1,…,ini_1,\dots,i_ni1​,…,in​ is the order in which the jobs finish, then fik≥∑j≤kLij/mf_{i_k}\ge\sum_{j\le k}L_{i_j}/mfik​​≥∑j≤k​Lij​​/m;
  4. a prefix sum of any listing of the LiL_iLi​ is at least the corresponding prefix sum of the sorted listing;
  5. MFT(S∗)≥1n∑k=1n∑j=1kLj/m\mathrm{MFT}(S^*)\ge\frac1n\sum_{k=1}^n\sum_{j=1}^k L_j/mMFT(S∗)≥n1​∑k=1n​∑j=1k​Lj​/m.

Significance

Lemma 9 is one of the earliest performance guarantees for a shop-scheduling heuristic under a sum objective. It shows that a rule computable by one sort, O(nlog⁡n)O(n\log n)O(nlogn) plus a linear pass, is within a factor equal to the number of machines, independently of the number of jobs. This is better than the factor nnn that Lemma 8 of the same paper gives for an arbitrary busy schedule, whenever m<nm<nm<n. Example 2 of the paper shows that the factor cannot be improved for SPT. Lower bounds of the work-per-machine type used here recur in later approximation results for total completion time in shops and on parallel machines.

The result has been proved since 1978. As far as a search of the Prove2Me catalogue shows, it has not been machine-checked. This mission adds a machine-checked statement of the SPT schedule as an algorithm, not as an arbitrary schedule with a property. It also adds the guarantee for job shops with arbitrary task sequences, of which flow shops are a special case.

Difficulty

The arithmetic of the proof is short. The work is in two places. The SPT schedule is a concrete construction, a fold over jobs and tasks that updates processor availability, so the bound on its finish times has to be carried through an invariant of that construction. The lower bound on every feasible schedule needs a packing argument: tasks on one processor that complete by a given time have total length at most that time. That argument is not available in Mathlib in a form that applies here. The tempting shortcut of comparing the two schedules job by job fails: the optimal schedule need not finish jobs in SPT order, so the comparison must go through sums of sorted prefixes.

Formalization scope

  • Instance and feasibility. The job data come from the published JobShopLTAS.Core.Instance (jobs Fin n, processors Fin m, tasks Fin (μ j), real processing times ≥0\ge0≥0). The local IsPaperFeasibleSchedule requires nonnegative starts, in-job order, and no overlap of positive-time tasks on the same processor. Zero-time tasks occupy no processor interval. The paper assumes m≥1m\ge1m≥1, and the scheduling theorems carry that hypothesis.
  • Finish time and MFT. fif_ifi​ is the maximum completion time over the tasks of job iii, with baseline 000; MFT divides by nnn, and for n=0n=0n=0 both sides are 000.
  • The SPT schedule is the list schedule constructed by the heuristic, for every SPT order, so ties are broken in every possible way. Zero-time tasks do not advance processor availability. It is not "any feasible schedule whose jobs finish in SPT order", a reading under which an optimal schedule would qualify and the goal would be trivial.
  • The optimum. The paper's "Let S∗S^*S∗ be an OMFT schedule" is stated as "for every feasible non-preemptive schedule τ\tauτ". This is equivalent and does not assume that an optimum exists.
  • Ratios multiplied out. MFT(S)/MFT(S∗)≤m\mathrm{MFT}(S)/\mathrm{MFT}(S^*)\le mMFT(S)/MFT(S∗)≤m is stated as MFT(S)≤m⋅MFT(τ)\mathrm{MFT}(S)\le m\cdot\mathrm{MFT}(\tau)MFT(S)≤m⋅MFT(τ), and the proof's bounds divided by mmm are multiplied by mmm. No division by a possibly zero quantity occurs.
  • Constants. The only constant is the factor mmm, the number of processors.
  • Not formalized. The running time of SPT, the comparison with Lemma 8 and its remark "it is assumed that m<nm<nm<n" (not a hypothesis of Lemma 9), and the tightness Example 2.
  • Milestones 2 and 4 are stated for every listing σ\sigmaσ and every pair of listings; they are combinatorial facts about list schedules and sorted sums that are reusable beyond this mission. Proofs of any milestone, and a reusable packing lemma for non-overlapping intervals, are welcome.

Selected references

  • T. Gonzalez, S. Sahni, Flowshop and Jobshop Schedules: Complexity and Approximation, Operations Research 26(1), 36–52, 1978. https://doi.org/10.1287/opre.26.1.36
  • R. W. Conway, W. L. Maxwell, L. W. Miller, Theory of Scheduling, Addison-Wesley, 1967.
  • W. E. Smith, Various optimizers for single-stage production, Naval Research Logistics Quarterly 3, 59–66, 1956. https://doi.org/10.1002/nav.3800030106
  • K. Jansen, R. Solis-Oba, M. Sviridenko, Makespan Minimization in Job Shops: A Linear Time Approximation Scheme, SIAM J. Discrete Math. 16(2), 288–300, 2003 (source of the job-shop definition reused here). https://doi.org/10.1137/S0895480199363908
9 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryLinear OptimizationOperations Research·Captain: mikedeng1

Existence of Correlated Equilibria I: Every Finite Game Has a Correlated EquilibriumResearch Paper

Motivation

In a finite game, a referee can recommend one action privately to each player according to a joint distribution. The recommendations may be correlated: learning one's own recommendation can convey information about the others'. A correlated equilibrium is a distribution for which no player gains, in expectation, by replacing a particular recommendation with another action. This solution concept uses the same payoff data as a strategic-form game but allows more joint distributions than independent mixed strategies. Hart and Schmeidler's Theorem 1 establishes that at least one such distribution exists for every finite game, with no assumptions on the payoffs beyond being real-valued. Their paper uses the finite result as the starting point for existence results with infinitely many players and, later, compact strategy spaces. Hart and Schmeidler (1989)

The authors explain that the standard route passes through a mixed Nash equilibrium: independent equilibrium strategies induce a correlated distribution. The finite theorem here is the same existence conclusion expressed directly through recommendation inequalities, which are linear in the joint distribution. That distinction matters for the later sections of the paper, where the authors examine games with infinitely many players, including an example with a countably additive correlated equilibrium but no Nash equilibrium. Hart and Schmeidler (1989), pp. 18, 21–22

Setting

Let NNN be a finite player set. Each player i∈Ni\in Ni∈N has a finite, nonempty set SiS^iSi of pure strategies, and a pure profile is a tuple s=(si)i∈Ns=(s^i)_{i\in N}s=(si)i∈N​ in S=∏i∈NSiS=\prod_{i\in N}S^iS=∏i∈N​Si. The real number hi(s)h^i(s)hi(s) is player iii's payoff at sss. For a player iii, write s−is^{-i}s−i for all coordinates except iii and (s−i,ti)(s^{-i},t^i)(s−i,ti) for the profile obtained by replacing the iiith coordinate with tit^iti. A probability vector on SSS is a function p:S→Rp:S\to\mathbb Rp:S→R with p(s)≥0p(s)\ge0p(s)≥0 for every sss and ∑s∈Sp(s)=1\sum_{s\in S}p(s)=1∑s∈S​p(s)=1. These are exactly the paper's finite-game and probability-vector conventions. Hart and Schmeidler (1989), pp. 18–19

Suppose the referee draws sss with probability p(s)p(s)p(s) and privately tells player iii only sis^isi. For every recommended action ri∈Sir^i\in S^iri∈Si and alternative action ti∈Sit^i\in S^iti∈Si, the incentive inequality is

∑s−i∈S−ip(s−i,ri)[hi(s−i,ri)−hi(s−i,ti)]≥0.\sum_{s^{-i}\in S^{-i}}p(s^{-i},r^i) \bigl[h^i(s^{-i},r^i)-h^i(s^{-i},t^i)\bigr]\ge0.s−i∈S−i∑​p(s−i,ri)[hi(s−i,ri)−hi(s−i,ti)]≥0.

When the recommendation rir^iri has zero probability, this inequality holds automatically. Thus no conditional probability needs to be defined in that case. A probability vector satisfying every such inequality is a correlated equilibrium. The inequalities include ri=tir^i=t^iri=ti, whose left-hand side is zero. Hart and Schmeidler (1989), p. 19, condition (1)

Formalization targets

Theorem 1: existence in every finite game

The mission's goal is the paper's Theorem 1, with its definition of correlated equilibrium kept explicit:

∀(N,(Si)i∈N,h),∃p∈Δ(S)∀i∈N ∀ri,ti∈Si,∑s−ip(s−i,ri)[hi(s−i,ri)−hi(s−i,ti)]≥0.\forall (N,(S^i)_{i\in N},h),\quad \exists p\in\Delta(S)\quad \forall i\in N\ \forall r^i,t^i\in S^i,\quad \sum_{s^{-i}}p(s^{-i},r^i) \bigl[h^i(s^{-i},r^i)-h^i(s^{-i},t^i)\bigr]\ge0.∀(N,(Si)i∈N​,h),∃p∈Δ(S)∀i∈N ∀ri,ti∈Si,s−i∑​p(s−i,ri)[hi(s−i,ri)−hi(s−i,ti)]≥0.

Here Δ(S)\Delta(S)Δ(S) denotes the set of probability vectors on the finite set SSS. The quantified payoffs are arbitrary real functions; the result specifies neither a unique equilibrium nor a particular equilibrium distribution. The milestone list records the paper's auxiliary-game correspondence, its finite minimax criterion, the nonnegative-matrix lemma, equation (2), and the final product-strategy identity. The lemma is linked to the already proved platform theorem CalibratedCE.Forecast.flow_conservation_solvable, which states the equivalent balance equations for a nonnegative matrix indexed by a nonempty finite set. Hart and Schmeidler (1989), pp. 19–20

Significance

The result guarantees feasibility of the complete system of recommendation inequalities for every finite payoff table. It is stronger as a foundation than checking an equilibrium in one game: later arguments can invoke the result after restricting a larger game to finite strategy sets. Hart and Schmeidler do exactly that in their infinite-game existence theorems. The finite theorem is already known mathematically; the task here is to give its particular statement and proof structure reusable, machine-checked declarations. Hart and Schmeidler (1989), pp. 20, 22, 24

The platform already has the general finite-game lottery vocabulary in agt_games and a proved mixed Nash-existence theorem, AGT.nash_existence. It also has AGT.IsCorrelatedEquilibrium in swap-function cost notation, AGT.swap_regret_correlated_equilibrium for approximate equilibria, and Aumann 1987's finite-probability-space model. Those results provide related notions and consequences. With ε=0\varepsilon = 0ε=0 and costs −hi-h^i−hi, the swap-function form of AGT.IsCorrelatedEquilibrium is equivalent to condition (1), since a switching rule can be optimized separately for each recommendation; the mission nevertheless states condition (1) as printed. The finite Minimax Theorem invoked on p. 19 is proved on the platform as AGT.zero_sum_minimax (a saddle-point statement for matrices indexed by Fin (m+1) and Fin (n+1), in another Mathlib environment), so the minimax milestone is the consequence the paper draws from it rather than the theorem itself. This mission fixes Hart and Schmeidler's payoff-maximizing condition (1) directly, with its recommendation-specific inequalities and auxiliary-game steps. The linked flow-conservation theorem was formalized in the Foster–Vohra series; its balance equations have the same content as the lemma on p. 19 after expanding the coefficients of an arbitrary vector uuu. Hart and Schmeidler (1989), p. 19

Difficulty

The inequalities must hold simultaneously for every player and every recommended-action/deviation pair. Choosing a distribution that makes one inequality hold does not ensure the others: the same weights p(s)p(s)p(s) occur in several constraints. An arbitrary product distribution can fail even in a two-player coordination game. Passing through an existing mixed Nash equilibrium proves existence, but gives no formal account of the paper's own finite minimax and nonnegative-matrix claims. The proof obligations here include the exact correspondence between the conditional recommendation constraints and an auxiliary two-person game, plus the algebra of a product of playerwise probability vectors. Hart and Schmeidler (1989), pp. 18–20

Formalization scope

Players are a finite Lean type ι\iotaι; SiS^iSi is a finite, nonempty type, and hi:S→Rh^i:S\to\mathbb Rhi:S→R. The profile space is the dependent product S=∏iSiS=\prod_iS^iS=∏i​Si. The expression (s−i,ti)(s^{-i},t^i)(s−i,ti) is Function.update s i t, and summing over S−iS^{-i}S−i with the iiith coordinate fixed to rir^iri is represented by summing over profiles satisfying si=ris^i=r^isi=ri. Probability vectors use the published AGT.IsLottery: nonnegative real weights whose finite sum is one. No measure-theoretic integral or conditional probability appears in this finite mission. The auxiliary minimizing player's pure strategies form one set of triples (i,ri,ti)(i,r^i,t^i)(i,ri,ti), with one probability vector over all triples. Hart and Schmeidler (1989), p. 19

Nonemptiness of each SiS^iSi is required: an empty strategy set would leave no probability vector on SSS. The player set itself may be empty; then SSS has one profile and the incentive conditions have no instances. The generic minimax milestone separately assumes that both of its pure-strategy sets are nonempty, so solvers must handle the playerless goal directly. Equality decisions are computational instances for finite enumeration, not restrictions on mathematical games. The correlated-equilibrium definition includes normalization and all incentive inequalities; it is not defined to hold automatically. The goal is the existence of a probability vector satisfying condition (1) itself, not a restatement through AGT.nash_existence that would make it a corollary of Nash's theorem. A sorry-free local check exhibits a correlated point mass in a two-player coordination game and another point mass that violates an incentive inequality. Contributions to the finite minimax criterion, its connection to the published balance theorem, and the sum rearrangement in the product-strategy milestone are all useful beyond this one goal.

Selected references

  • Sergiu Hart and David Schmeidler, Existence of Correlated Equilibria, Mathematics of Operations Research 14(1), 1989, pp. 18–25. DOI.
  • Noam Nisan, Tim Roughgarden, Éva Tardos, and Vijay V. Vazirani, eds., Algorithmic Game Theory, Cambridge University Press, 2007, Chapter 1. DOI.
8 thms4 active usersReviewed
PreviousNext

Get started

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

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me