Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Optimization

770 missions · 441 completed

Missions

Open329Completed441All770
🏆Completed
Linear OptimizationOperations Research·Captain: Shuze Chen

Introduction to Linear Optimization VI: Farkas' Lemma and Separating HyperplanesTextbook

When is a system of linear constraints infeasible? Sections 4.6-4.7 of Bertsimas-Tsitsiklis answer with the archetypal theorem of the alternative. The capstone is Farkas' lemma (Theorem 4.6): for an m×nm \times nm×n matrix AAA and b∈Rmb \in \mathbb{R}^mb∈Rm, exactly one of the following holds — (a) some x≥0x \ge 0x≥0 satisfies Ax=bAx = bAx=b, or (b) some ppp satisfies p′A≥0′p'A \ge 0'p′A≥0′ and p′b<0p'b < 0p′b<0; such a ppp is a certificate of infeasibility, geometrically a hyperplane separating bbb from the cone of the columns of AAA. The mission also carries the cone-membership restatement (Corollary 4.3), the inequality form (Theorem 4.7: every solution of Ax≤bAx \le bAx≤b satisfies c′x≤dc'x \le dc′x≤d iff some p≥0p \ge 0p≥0 has p′A=c′p'A = c'p′A=c′ and p′b≤dp'b \le dp′b≤d), and the application to asset pricing (Theorem 4.8: a market's prices admit no arbitrage iff there is a nonnegative state-price vector qqq with pi=∑sqsrsip_i = \sum_s q_s r_{si}pi​=∑s​qs​rsi​). The book proves Farkas' lemma from LP strong duality; Section 4.7 then reverses the arrow from first principles: every polyhedron is closed (Theorem 4.9), Weierstrass' theorem (Theorem 4.10, already in Mathlib), and the separating hyperplane theorem (Theorem 4.11: for nonempty closed convex SSS and x∗∉Sx^* \notin Sx∗∈/S there exists ccc with c′x∗<c′xc'x^* < c'xc′x∗<c′x for all x∈Sx \in Sx∈S), from which Farkas' lemma — and hence the duality theorem itself — follows geometrically.

8 thms2 active usersReviewed
🏆Completed
Linear Optimization·Captain: Shuze Chen

Introduction to Linear Optimization III: Fourier–Motzkin Elimination and Projections of PolyhedraTextbook

Is the shadow of a polyhedron again a polyhedron? §2.8 of Bertsimas–Tsitsiklis answers this with perhaps the oldest method for solving linear programming problems: Fourier–Motzkin elimination. Given P={x∈Rn∣∑j=1naijxj≥bi, i=1,…,m}P = \{x \in \mathbb{R}^n \mid \sum_{j=1}^n a_{ij}x_j \ge b_i,\ i = 1, \dots, m\}P={x∈Rn∣∑j=1n​aij​xj​≥bi​, i=1,…,m}, one sorts the constraints by the sign of the coefficient of xnx_nxn​ — rewriting them as xn≥di+fi′xˉx_n \ge d_i + \mathbf{f}_i'\bar{x}xn​≥di​+fi′​xˉ, dj+fj′xˉ≥xnd_j + \mathbf{f}_j'\bar{x} \ge x_ndj​+fj′​xˉ≥xn​, or 0≥dk+fk′xˉ0 \ge d_k + \mathbf{f}_k'\bar{x}0≥dk​+fk′​xˉ — and forms the polyhedron Q⊂Rn−1Q \subset \mathbb{R}^{n-1}Q⊂Rn−1 whose constraints are all pairwise combinations dj+fj′xˉ≥di+fi′xˉd_j + \mathbf{f}_j'\bar{x} \ge d_i + \mathbf{f}_i'\bar{x}dj​+fj′​xˉ≥di​+fi′​xˉ together with the constraints not involving xnx_nxn​. The capstone, Theorem 2.10, states that QQQ is exactly the projection Πn−1(P)\Pi_{n-1}(P)Πn−1​(P) of PPP onto its first n−1n-1n−1 coordinates: a value of xnx_nxn​ can be interpolated if and only if every lower bound is below every upper bound. Though hopeless as an algorithm (the number of constraints can grow exponentially), elimination has powerful theoretical corollaries, all formalized here: projections Πk(P)\Pi_k(P)Πk​(P) of polyhedra are polyhedra (Corollary 2.4), the image of a polyhedron under any linear mapping is a polyhedron (Corollary 2.5), and the convex hull of finitely many vectors is a polyhedron (Corollary 2.6) — the first half of the finite-basis picture completed by the resolution theorem of Mission VII.

6 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations Research·Captain: Shuze Chen

Introduction to Linear Optimization II: Existence and Optimality of Extreme PointsTextbook

Where should one look for the optimum of a linear programming problem? Chapter 1 of Bertsimas–Tsitsiklis suggests that optima "tend to occur at corners" of the feasible polyhedron; §§2.5–2.6 turn this intuition into theorems. Not every polyhedron has a corner — a halfspace in Rn\mathbb{R}^nRn (n>1n > 1n>1) has none — and the exact dividing line is the presence of an infinite line: a nonempty polyhedron

P={x∣ai′x≥bi, i=1,…,m}P = \{x \mid a_i'x \ge b_i,\ i = 1, \dots, m\}P={x∣ai′​x≥bi​, i=1,…,m}

has an extreme point if and only if it does not contain a line, if and only if nnn of the vectors a1,…,ama_1, \dots, a_ma1​,…,am​ are linearly independent (Theorem 2.6). In particular every nonempty bounded polyhedron and every nonempty standard-form polyhedron has a basic feasible solution (Corollary 2.2). The capstone, Theorem 2.8, is the sharpest form of the corner principle: if PPP has at least one extreme point, then for any cost vector ccc either the optimal cost is −∞-\infty−∞, or there is an extreme point of PPP that is optimal — existence of an optimal solution comes for free once the cost is bounded below. Its companion Theorem 2.7 places an optimal extreme point under the weaker assumption that an optimal solution exists, and Corollary 2.3 — the fundamental theorem of linear programming — concludes that every feasible LP either has optimal cost −∞-\infty−∞ or attains an optimal solution, in stark contrast with nonlinear problems such as minimizing 1/x1/x1/x over x≥1x \ge 1x≥1. These results license the extreme-point search that the simplex method (Mission IV) performs.

12 thms2 active usersReviewed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

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

Burn-in ovens as batch processing machines

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

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

The batch machine

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

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

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

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

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

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

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

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

Formalization targets

Goal: correctness of DP2

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

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

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

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

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

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

Formalization targets

Goal: the minimum weighted number of tardy jobs

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

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

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

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

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

Explicit readings of the paper's loose phrases:

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

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

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

Selected references

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

A Functional Equation and Its Application to Resource Allocation and Sequencing Problems 2: Under Precedence Constraints, All Deadlines Can Be Met iff They Are Met in Order of Modified DeadlinesResearch Paper

Motivation

A single machine must process nnn jobs, each with a processing time and a deadline, and some jobs must be finished before others may start. The first question of any planner is whether the deadlines can be met at all. Without precedence constraints the answer is classical: Jackson's rule (J. R. Jackson, 1955, reported by W. E. Smith, 1956) says that all jobs can be completed on time if and only if they are completed on time when sequenced by earliest deadline first. Precedence constraints break this rule, because the earliest-deadline order may put a job before one of its required predecessors.

E. L. Lawler and J. M. Moore (Management Science 16 (1969) 77–84) repair the rule by replacing each deadline by a modified deadline that accounts for the deadlines of the job's successors. Their §2 Theorem says that a single sequence, the one in increasing order of modified deadlines, decides feasibility. They use it as the first step of their dynamic programming method for sequencing with deadlines and precedence constraints: because the sequence does not depend on processing times, the jobs to be scheduled on time can always be taken in this one fixed order.

Setting

There are nnn jobs 1,…,n1,\dots,n1,…,n. Job jjj has a processing time aj≥0a_j \ge 0aj​≥0 and a deadline dj∈Rd_j \in \mathbb Rdj​∈R. A sequence σ\sigmaσ lists every job exactly once; the machine starts at time 000 and processes the jobs in the order of σ\sigmaσ, one after another, without idle time. The completion time Cj(σ)C_j(\sigma)Cj​(σ) of job jjj is the sum of the processing times of jjj and of all jobs before it in σ\sigmaσ. Job jjj is on time in σ\sigmaσ if Cj(σ)≤djC_j(\sigma) \le d_jCj​(σ)≤dj​.

Precedence constraints are a partial order ρ\rhoρ on the jobs (reflexive, antisymmetric, transitive). If iρji\rho jiρj and i≠ji \ne ji=j, job iii must precede job jjj; such a jjj is a successor of iii, and every job counts as one of its own successors. A sequence is consistent with ρ\rhoρ if no job appears before a job that must precede it. The jobs are numbered so that iρji\rho jiρj implies i≤ji \le ji≤j.

For a number ε\varepsilonε the modified deadline of job jjj is

dˉj=min⁡{ dk∣jρk }+jε,\bar d_j = \min\{\, d_k \mid j\rho k \,\} + j\varepsilon ,dˉj​=min{dk​∣jρk}+jε,

the earliest deadline among jjj and its successors, plus a tie-breaking term. The paper takes ε\varepsilonε to be "a small number"; here that means ε>0\varepsilon > 0ε>0 and nε<dl−dkn\varepsilon < d_l - d_knε<dl​−dk​ whenever dk<dld_k < d_ldk​<dl​.

Formalization targets

Goal: the §2 Theorem (p. 78)

Let σ∗\sigma^*σ∗ be the sequence in which dˉj\bar d_jdˉj​ increases. Then

(∃ σ consistent with ρ: Cj(σ)≤dj  ∀j)  ⟺  Cj(σ∗)≤dj  ∀j.\Big(\exists\,\sigma \text{ consistent with } \rho:\ C_j(\sigma) \le d_j\ \ \forall j\Big)\iff C_j(\sigma^*) \le d_j\ \ \forall j .(∃σ consistent with ρ: Cj​(σ)≤dj​  ∀j)⟺Cj​(σ∗)≤dj​  ∀j.

Milestones (from §2 and the proof of the Theorem, p. 78)

  1. For distinct jobs, iρj⇒dˉi<dˉji\rho j \Rightarrow \bar d_i < \bar d_jiρj⇒dˉi​<dˉj​.
  2. The sequence σ∗\sigma^*σ∗ is consistent with ρ\rhoρ (the "if" part of the Theorem).
  3. If dˉj<dˉi\bar d_j < \bar d_idˉj​<dˉi​, then jjj or some successor kkk of jjj has dk≤did_k \le d_idk​≤di​.
  4. In an on-time sequence consistent with ρ\rhoρ, two adjacent jobs i,ji, ji,j (in this order) with dˉi>dˉj\bar d_i > \bar d_jdˉi​>dˉj​ can be interchanged, and the result is again on time and consistent with ρ\rhoρ.

Significance

The Theorem reduces a question over all n!n!n! sequences consistent with ρ\rhoρ to the evaluation of one sequence, and the sequence depends only on the deadlines and on ρ\rhoρ, not on the processing times. This independence is what the paper's later sections rely on: it lets a subset-selection dynamic program (Eq. (1) of the paper) process jobs in a fixed order. Without precedence constraints (ρ\rhoρ the identity) the Theorem is Jackson's rule. The operational form, "always take next, from among the available jobs, a job which has a successor with the earliest possible deadline", is a list-scheduling rule of the same kind as the backward rule of Lawler (1973) for 1∣prec∣fmax⁡1\mid prec\mid f_{\max}1∣prec∣fmax​.

The result has been proved on paper since 1969. As far as is known it has no machine-checked proof. This mission produces a formal proof of the Theorem and of the exchange step behind it, stated on the same sequence and completion-time model as the platform's existing single-machine scheduling missions.

Difficulty

The obvious argument is the exchange argument for Jackson's rule: swap an adjacent pair that is out of order and check that nothing becomes late. Two things fail without care. First, the swap must not violate precedence; this is why the deadline of a job is replaced by the minimum over its successors. Second, after the swap, job iii completes when job jjj used to complete, but did_idi​ need not be at least djd_jdj​: one must find a successor of jjj that is later in the sequence, on time, and due no later than iii. That step uses the smallness of ε\varepsilonε: with a large ε\varepsilonε the tie-breaking term outweighs a difference of deadlines, and the Theorem fails (three jobs without precedence, a=(2,4,3)a = (2,4,3)a=(2,4,3), d=(7,9,8)d = (7,9,8)d=(7,9,8), ε=3\varepsilon = 3ε=3). Finally, the exchange step must be turned into a terminating transformation of an arbitrary feasible sequence into σ∗\sigma^*σ∗, a bubble-sort argument over lists.

Formalization scope

  • Jobs are Fin n, 0-based: the Lean job j is the paper's job j+1j+1j+1, and the tie-break is ((j:N)+1)ε((j:\mathbb N)+1)\varepsilon((j:N)+1)ε. Processing times and deadlines are real.
  • Sequences and completion times are the published platform definitions MooreLateJobs.Shared.IsSchedule and MooreLateJobs.Shared.completionTime (a duplicate-free list of all jobs; start at time 000, no idle time). Idle time never helps meet a deadline, so this loses nothing. Consistency with ρ\rhoρ is the published LawlerPrec.MinMax.IsFeasible.
  • The modified deadline minimizes over insert j {k | ρ j k}, which is nonempty; for the reflexive ρ\rhoρ of the paper this is {k∣jρk}\{k \mid j\rho k\}{k∣jρk} ("considering a job to be one of its own successors").
  • Explicit readings of the paper's phrases:
    • "ε\varepsilonε is a small number": ε>0\varepsilon > 0ε>0 and nε<dl−dkn\varepsilon < d_l - d_knε<dl​−dk​ whenever dk<dld_k < d_ldk​<dl​. A fixed ε\varepsilonε is quantified universally, not hidden under an existential.
    • "the sequence obtained by ordering jobs according to increasing values of dˉj\bar d_jdˉj​": any duplicate-free list of all jobs along which dˉj\bar d_jdˉj​ strictly increases. Under the hypotheses the dˉj\bar d_jdˉj​ are distinct, so exactly one such list exists.
    • "iρj implies dˉi<dˉj\bar d_i < \bar d_jdˉi​<dˉj​": stated for i≠ji \ne ji=j, since ρ\rhoρ is reflexive.
    • The pair condition "a consecutive pair with dˉi>dˉj\bar d_i > \bar d_jdˉi​>dˉj​" of milestone 3 is dropped, since the claim does not use it.
  • Added hypothesis: aj≥0a_j \ge 0aj​≥0. The paper uses it tacitly ("jjj will remain on time since it will be earlier in the sequence") and the Theorem is false without it.
  • The milestones assume only what they use (for instance, milestone 1 needs transitivity, the numbering and ε>0\varepsilon > 0ε>0). The goal assumes the full partial order of the paper.
  • Trivializing formalizations ruled out: ε=0\varepsilon = 0ε=0 or an unconstrained ε\varepsilonε; a minimum over a possibly empty set, which Lean would assign a junk value; completion times not tied to the order of the list; and dropping "consistent with the precedence constraints" from the left-hand side, which turns the Theorem into a false variant of Jackson's rule.
  • Not in scope: the "order of computational steps" remarks, §3 and the later sections (other missions of this series).

Related platform items: Jackson's rule for unrestricted jobs is already posed as MooreLateJobs.NumLate.jackson (Moore 1968) and is not re-posed here; Lawler's 1∣prec∣fmax⁡1\mid prec\mid f_{\max}1∣prec∣fmax​ theorem is posed as LawlerPrec.MinMax.sequencing_theorem. Contributions welcome: general list-exchange lemmas (adjacent swaps, bubble-sort termination toward a sorted list) are reusable well beyond this mission.

Selected references

  • E. L. Lawler, J. M. Moore, A Functional Equation and Its Application to Resource Allocation and Sequencing Problems, Management Science 16(1) (1969) 77–84. https://doi.org/10.1287/mnsc.16.1.77
  • J. R. Jackson, Scheduling a Production Line to Minimize Maximum Tardiness, Research Report 43, Management Science Research Project, UCLA, 1955.
  • W. E. Smith, Various Optimizers for Single-Stage Production, Naval Research Logistics Quarterly 3 (1956) 59–66. https://doi.org/10.1002/nav.3800030106
  • E. L. Lawler, Optimal Sequencing of a Single Machine Subject to Precedence Constraints, Management Science 19(5) (1973) 544–546. https://doi.org/10.1287/mnsc.19.5.544
8 thms1 active userReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Asymptotic Theory for Solutions in Statistical Estimation and Stochastic Programming: Generalized M-Estimates Converge in Distribution to the Inverse Contingent Derivative at a GaussianResearch Paper

Motivation

Maximum likelihood estimates, least-squares fits and sample-average approximations of stochastic programs solve 0=fˉν(x)0 = \bar f^\nu(x)0=fˉ​ν(x), where fˉν\bar f^\nufˉ​ν averages a random integrand over ν\nuν observations. Their classical asymptotic theory rests on the implicit function theorem and needs a smooth, unconstrained problem.

When the estimate is constrained to a set, for example a nonnegativity constraint, a simplex or a polyhedron, the first-order conditions become a generalized equation

0∈f(z,x)+N(x),0 \in f(z, x) + N(x),0∈f(z,x)+N(x),

where NNN is a multifunction such as the normal cone of the constraint set. The same form describes optimality conditions of stochastic programs and variational inequalities. Aitchison and Silvey (1958) treated equality-constrained maximum likelihood. Huber (1967) allowed nonsmooth estimating functions but required an open parameter domain. Dupačová and Wets (1988) and Shapiro (1989) derived limit laws for solutions of stochastic programs under smoothness of the expected gradient. King and Rockafellar (1993) gave a general theory that needs neither smoothness of the expected map nor single-valuedness of NNN: the limit law of the normalized error is the image of a Gaussian under a contingent derivative, a positively homogeneous and generally nonlinear map, so the limit is generally not normal.

Setting

Let ZZZ be a separable Banach space with norm ∥⋅∥\|\cdot\|∥⋅∥, and let ∣⋅∣|\cdot|∣⋅∣ be the Euclidean norm on Rn\mathbb R^nRn and Rm\mathbb R^mRm. A multifunction G:Z⇉RnG : Z \rightrightarrows \mathbb R^nG:Z⇉Rn assigns a set G(z)⊆RnG(z) \subseteq \mathbb R^nG(z)⊆Rn to each zzz. Its graph is gph⁡G\operatorname{gph} GgphG and its inverse is G−1(x)={z∣x∈G(z)}G^{-1}(x) = \{z \mid x \in G(z)\}G−1(x)={z∣x∈G(z)}.

For sets AtA_tAt​ indexed by t↓0t \downarrow 0t↓0, the upper limit lim sup⁡At\limsup A_tlimsupAt​ consists of the points xxx with x=lim⁡xkx = \lim x_kx=limxk​, xk∈Atkx_k \in A_{t_k}xk​∈Atk​​ for some tk↓0t_k \downarrow 0tk​↓0, and the lower limit of the points reachable along every such sequence. The contingent derivative of GGG at (z,x)∈gph⁡G(z, x) \in \operatorname{gph} G(z,x)∈gphG is the multifunction DG(z∣x)DG(z|x)DG(z∣x) with

gph⁡DG(z∣x)=lim sup⁡t↓0t−1[gph⁡G−(z,x)].\operatorname{gph} DG(z|x) = \limsup_{t \downarrow 0} t^{-1}\big[\operatorname{gph} G - (z,x)\big].gphDG(z∣x)=t↓0limsup​t−1[gphG−(z,x)].

GGG is proto-differentiable when this upper limit equals the lower limit, and semi-differentiable when t−1[G(z+tw′)−x]→DG(z∣x)(w)t^{-1}[G(z + t w') - x] \to DG(z|x)(w)t−1[G(z+tw′)−x]→DG(z∣x)(w) as t↓0t \downarrow 0t↓0 and w′→ww' \to ww′→w. A single-valued ggg is B-differentiable at zzz when t−1[g(z+tw′)−g(z)]→Dg(z)(w)t^{-1}[g(z + tw') - g(z)] \to Dg(z)(w)t−1[g(z+tw′)−g(z)]→Dg(z)(w) in the same sense.

The deterministic problem is 0∈f(z,x)+N(x)0 \in f(z, x) + N(x)0∈f(z,x)+N(x) with f:Z×Rn→Rmf : Z \times \mathbb R^n \to \mathbb R^mf:Z×Rn→Rm, data zzz and solution map J(z)J(z)J(z). At a reference pair (z∗,x∗)(z^*, x^*)(z∗,x∗) set F=f(z∗,⋅)+NF = f(z^*, \cdot) + NF=f(z∗,⋅)+N. The analytical assumptions M.1–M.4 are as follows. fff is jointly continuous and B-differentiable in each variable, with the zzz-derivative Dzf(z∗,x∗)D_z f(z^*, x^*)Dz​f(z∗,x∗) strong (uniform in xxx near x∗x^*x∗). NNN is closed and proto-differentiable. FFF is subinvertible: 0∈F(x∗)0 \in F(x^*)0∈F(x∗), and a closed-graph, convex-valued selection of F−1F^{-1}F−1 near 000 passes through x∗x^*x∗. The contingent derivative DF−1(0∣x∗)DF^{-1}(0|x^*)DF−1(0∣x∗) is at most single-valued.

The statistical problem has i.i.d. random elements s1,s2,…s_1, s_2, \dotss1​,s2​,… of a measurable space SSS and an integrand f:U×S→Rmf : U \times S \to \mathbb R^mf:U×S→Rm on a compact neighborhood UUU of x∗x^*x∗. It satisfies the probabilistic assumptions P.1–P.4: continuity in xxx, measurability in sss, a finite second moment at one point, and a Lipschitz bound ∣f(x1,s)−f(x2,s)∣≤a(s)∣x1−x2∣|f(x_1,s) - f(x_2,s)| \le a(s)|x_1 - x_2|∣f(x1​,s)−f(x2​,s)∣≤a(s)∣x1​−x2​∣ with Ea(s1)2<∞E a(s_1)^2 < \inftyEa(s1​)2<∞. The M-estimate xνx^\nuxν is a measurable solution of

0∈fˉν(x)+N(x),fˉν(x)=1ν∑i=1νf(x,si),0 \in \bar f^\nu(x) + N(x), \qquad \bar f^\nu(x) = \frac1\nu\sum_{i=1}^\nu f(x, s_i),0∈fˉ​ν(x)+N(x),fˉ​ν(x)=ν1​i=1∑ν​f(x,si​),

and the true equation is 0∈Ef(x)+N(x)0 \in Ef(x) + N(x)0∈Ef(x)+N(x) with F=Ef+NF = Ef + NF=Ef+N.

Formalization targets

Goal: Theorem 2.7 (asymptotic distribution of M-estimates)

Under P.1–P.4 on a compact neighborhood UUU of x∗x^*x∗, B-differentiability of EfEfEf at x∗x^*x∗, and M.2–M.4 for F=Ef+NF = Ef + NF=Ef+N, every sequence of measurable solutions xνx^\nuxν of (2.5) with xν→x∗x^\nu \to x^*xν→x∗ almost surely satisfies

ν [xν−x∗]→ D DF−1(0∣x∗)(−w∗),w∗∼N(0,cov⁡f(x∗,s1)).\sqrt\nu\,[x^\nu - x^*] \xrightarrow{\ \mathcal D\ } DF^{-1}(0|x^*)(-w^*), \qquad w^* \sim \mathcal N\big(0, \operatorname{cov} f(x^*, s_1)\big).ν​[xν−x∗] D ​DF−1(0∣x∗)(−w∗),w∗∼N(0,covf(x∗,s1​)).

The goal fixes the limit law completely: the map is the contingent derivative of F−1F^{-1}F−1, and the Gaussian has the covariance of the integrand at x∗x^*x∗.

Milestones

  • Theorem 2.4 gives bounds in probability, P{∣xν−x∗∣>δ}≤P{αλ∥zν−z∗∥>δ}P\{|x^\nu - x^*| > \delta\} \le P\{\alpha\lambda\|z^\nu - z^*\| > \delta\}P{∣xν−x∗∣>δ}≤P{αλ∥zν−z∗∥>δ}. Its proof uses the upper-Lipschitz property U∩F−1(y)⊆x∗+λ∣y∣BU \cap F^{-1}(y) \subseteq x^* + \lambda|y|BU∩F−1(y)⊆x∗+λ∣y∣B (a display of the proof).
  • Theorem 2.6 is the abstract limit theorem: if τν−1[zν−z∗]→Dw\tau_\nu^{-1}[z^\nu - z^*] \to_{\mathcal D} wτν−1​[zν−z∗]→D​w, then τν−1[xν−x∗]→DDF−1(0∣x∗)(−Dzf(z∗,x∗)(w))\tau_\nu^{-1}[x^\nu - x^*] \to_{\mathcal D} DF^{-1}(0|x^*)(-D_z f(z^*,x^*)(w))τν−1​[xν−x∗]→D​DF−1(0∣x∗)(−Dz​f(z∗,x∗)(w)). Its proof uses two displays: semi-differentiability of the localized solution map, with DJ(z∗∣x∗)(w)=DF−1(0∣x∗)(−Dzf(z∗,x∗)(w))DJ(z^*|x^*)(w) = DF^{-1}(0|x^*)(-D_z f(z^*,x^*)(w))DJ(z∗∣x∗)(w)=DF−1(0∣x∗)(−Dz​f(z∗,x∗)(w)), and a Lipschitz bound ∣x−x∗∣≤λ∥z−z∗∥|x - x^*| \le \lambda\|z - z^*\|∣x−x∗∣≤λ∥z−z∗∥ on U∩J(z)U \cap J(z)U∩J(z).
  • Proposition A1, Corollary A2 and Theorem A3 concern the space Cm(U)C_m(U)Cm​(U) under P.1–P.4. The integrand and the empirical means are random elements of Cm(U)C_m(U)Cm​(U), and ν(fˉν−Ef)\sqrt\nu(\bar f^\nu - Ef)ν​(fˉ​ν−Ef) converges in distribution to a Gaussian element of Cm(U)C_m(U)Cm​(U).

The three displays (Theorem 2.4's upper-Lipschitz inclusion, and Theorem 2.6's semi-differentiability and Lipschitz bound) are statements the paper cites from King and Rockafellar, Sensitivity analysis for nonsmooth generalized equations ([12]: Proposition 2.1, Theorem 4.1, Remark 4.3). They are cited results, not this paper's own, and are milestones because the proofs of Theorems 2.4 and 2.6 rest on them.

Significance

Theorem 2.7 gives the limit law of constrained and nonsmooth M-estimates in a form that can be computed. When NNN is the normal cone of a polyhedron, DF−1(0∣x∗)DF^{-1}(0|x^*)DF−1(0∣x∗) is piecewise linear, and the limit is the solution of a random linear complementarity or quadratic problem driven by a Gaussian vector. This underlies the asymptotic theory of sample-average approximation in stochastic programming, where the paper applies it to stochastic programs (§3) and to piecewise linear-quadratic tracking problems (§4). Theorem 2.6 separates the deterministic sensitivity analysis from the probability, so any data sequence with a known limit law yields a limit law for the solutions.

The result is proved in the paper modulo the cited theorems of [12] and [11], but none of it is machine-checked. Mathlib has the real-valued i.i.d. central limit theorem, Gaussian measures on Banach spaces and convergence in distribution. It has no multivariate or Banach-space central limit theorem, no contingent derivatives and no set-valued implicit function theorem. Formalizing the mission produces these, along with a checked version of the cited sensitivity results.

Difficulty

The classical argument linearizes FFF at x∗x^*x∗, inverts the Jacobian and applies the delta method. Here FFF is set-valued and its derivative is only positively homogeneous. There is no Jacobian to invert, and the solution map need not be differentiable or even single-valued away from x∗x^*x∗. The replacement for the implicit function theorem is the semi-differentiability of the localized solution map under M.1–M.4. Proving it means controlling both the upper and the lower set limits of difference quotients of solution sets, and subinvertibility is what supplies existence of nearby solutions.

The probabilistic side cannot work coordinate by coordinate either. The estimate solves an equation in the whole function fˉν\bar f^\nufˉ​ν, so convergence of fˉν\bar f^\nufˉ​ν at finitely many points is not enough. The central limit theorem must hold in the sup norm on Cm(U)C_m(U)Cm​(U), which requires tightness of the empirical process, and only then can the deterministic sensitivity result be composed with it.

Formalization scope

Points live in EuclideanSpace ℝ (Fin n), and ZZZ is a real normed space with [CompleteSpace Z] [SeparableSpace Z] where the paper says "separable Banach". Set limits are Kuratowski limits along filters (t↓0t \downarrow 0t↓0 is 𝓝[>] 0, and (t,w′)→(0+,w)(t,w') \to (0^+,w)(t,w′)→(0+,w) is the product filter). The contingent derivative is defined by (2.2) alone. M.4's printed sum formula equals it under M.1, and this is not assumed. "B-differentiable" is read as the limit (2.4). Products carry Lean's max norm. s1s_1s1​ is s 0, empirical means sum over Finset.range ν, and (2.5) is required for ν≥1\nu \ge 1ν≥1. F=Ef+NF = Ef + NF=Ef+N is empty off UUU. Convergence in distribution is Mathlib's TendstoInDistribution, with the limit on its own probability space. The law of w∗w^*w∗ is fixed through linear functionals: ⟨ℓ,w∗⟩∼N(0,Var⁡⟨ℓ,f(x∗,s1)⟩)\langle\ell, w^*\rangle \sim \mathcal N(0, \operatorname{Var}\langle\ell, f(x^*,s_1)\rangle)⟨ℓ,w∗⟩∼N(0,Var⟨ℓ,f(x∗,s1​)⟩). In Appendix A1–A3 the integrand is S → C(↥U, Rn m) with the Borel σ-algebra, and "Gaussian" is IsGaussian.

Explicit choices relative to the printed text:

  1. The paper states that an almost surely convergent sequence of solutions "converges to the point x∗x^*x∗" (Theorems 2.6 and 2.7). This is false when the true equation has a second solution: f(z,x)=x2−x−zf(z,x) = x^2 - x - zf(z,x)=x2−x−z, N≡{0}N \equiv \{0\}N≡{0}, z∗=x∗=0z^* = x^* = 0z∗=x∗=0 satisfies M.1–M.4 with J(0)={0,1}J(0) = \{0, 1\}J(0)={0,1}. The formalization assumes xν→x∗x^\nu \to x^*xν→x∗ almost surely instead.
  2. 0∈F(x∗)0 \in F(x^*)0∈F(x∗) (presupposed by DF−1(0∣x∗)DF^{-1}(0|x^*)DF−1(0∣x∗)) is explicit in Theorem 2.4 and the upper-Lipschitz display.
  3. The threshold for "all sufficiently small δ\deltaδ" in Theorem 2.4 is chosen with UUU and λ\lambdaλ, before the random elements.
  4. Proposition A1 and Corollary A2 carry P.1–P.4, as stated or inherited on the Appendix page, though their measurability conclusions use only P.1.
  5. In the limit theorems, the single-valued map DF−1(0∣x∗)DF^{-1}(0|x^*)DF−1(0∣x∗) is a function LLL whose values lie in the contingent derivative at every point.

The conclusion of the goal names its limit: the image of the stated Gaussian under a map LLL whose values lie in the contingent derivative of F−1F^{-1}F−1. A statement asserting only that ν(xν−x∗)\sqrt\nu(x^\nu - x^*)ν​(xν−x∗) converges in distribution to some limit, or replacing DF−1(0∣x∗)DF^{-1}(0|x^*)DF−1(0∣x∗) by a linear map, is a different and weaker theorem. A sorry-free check confirms that the goal's hypotheses can all be met (a degenerate instance with f(x,s)=xf(x,s) = xf(x,s)=x, N≡{0}N \equiv \{0\}N≡{0}).

A complete development needs Kuratowski set convergence and contingent derivatives (reusable across set-valued analysis), a central limit theorem in C(K)C(K)C(K) for Lipschitz-indexed processes (reusable for empirical-process theory), and a continuous-mapping argument for random closed sets. Contributions to any of these layers are welcome, as are proofs of the cited [12] statements.

Selected references

  • A. J. King and R. T. Rockafellar, Asymptotic theory for solutions in statistical estimation and stochastic programming, Mathematics of Operations Research 18(1) (1993). https://doi.org/10.1287/moor.18.1.148
  • A. J. King and R. T. Rockafellar, Sensitivity analysis for nonsmooth generalized equations, Mathematical Programming 55 (1992) 193–212. https://doi.org/10.1007/BF01581199
  • A. J. King, Generalized delta theorems for multivalued mappings and measurable selections, Mathematics of Operations Research 14(4) (1989) 720–736. https://doi.org/10.1287/moor.14.4.720
  • J. Dupačová and R. J.-B. Wets, Asymptotic behavior of statistical estimators and of optimal solutions of stochastic optimization problems, Annals of Statistics 16(4) (1988) 1517–1549. https://doi.org/10.1214/aos/1176351052
  • A. Shapiro, Asymptotic properties of statistical estimators in stochastic programming, Annals of Statistics 17(2) (1989) 841–858. https://doi.org/10.1214/aos/1176347146
  • P. J. Huber, The behavior of maximum likelihood estimates under nonstandard conditions, Proc. Fifth Berkeley Symp. Math. Statist. Probab. 1 (1967) 221–233. https://projecteuclid.org/euclid.bsmsp/1200512988
  • A. Araujo and E. Giné, The Central Limit Theorem for Real and Banach Valued Random Variables, Wiley, 1980.
10 thms1 active userReviewed
Dynamic ProgrammingOperations Research·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

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

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

Formalization targets

Milestone: Eq. (1) computes the constrained minimum

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

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

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

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

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

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

Stochastic Estimation of the Maximum of a Regression Function: The Kiefer–Wolfowitz Iterates z_n Converge in Probability to the Maximizer θResearch Paper

Motivation

Many problems in statistics, engineering and operations research ask for the input level xxx at which an unknown response function is largest, when the response can only be measured with noise: the dose that maximizes a yield, the setting that maximizes throughput in a simulation, the parameter that maximizes an expected reward. Robbins and Monro (1951) had shown how to find, by sequential noisy measurements, the root of an unknown increasing function. Kiefer and Wolfowitz (1952) adapted the idea to maximization: at each step, measure the response at two points zn±cnz_n\pm c_nzn​±cn​ placed symmetrically about the current estimate, and move the estimate in the direction of the observed difference. Their scheme is the origin of finite-difference stochastic approximation, the gradient-free ancestor of simultaneous-perturbation and zeroth-order methods in simulation optimization and machine learning.

Timeline. 1951: Robbins and Monro, root finding, convergence in mean square. 1952: Wolfowitz, convergence in probability for Robbins–Monro under weaker conditions; Kiefer and Wolfowitz, the present paper, convergence in probability of the maximization scheme. 1954: Blum proved almost-sure convergence of both schemes under related conditions (doi:10.1214/aoms/1177728794). Later work (Spall 1992, among many) extended the finite-difference idea to many dimensions.

Setting

For each level x∈Rx\in\mathbb Rx∈R, an observation taken at xxx is a random number with distribution H(⋅∣x)H(\cdot\mid x)H(⋅∣x); the family depends measurably on xxx. The regression function is the mean observation,

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

and the observations have uniformly bounded variance: ∫(y−M(x))2 dH(y∣x)≤S\int (y-M(x))^2\,dH(y\mid x)\le S∫(y−M(x))2dH(y∣x)≤S for all xxx. The function MMM is unimodal about an unknown point θ\thetaθ: strictly increasing for x<θx<\thetax<θ and strictly decreasing for x>θx>\thetax>θ.

Two sequences of positive numbers ana_nan​ (step sizes) and cnc_ncn​ (probe widths) satisfy

cn→0,∑an=∞,∑ancn<∞,∑an2cn−2<∞,c_n\to0,\qquad \sum a_n=\infty,\qquad \sum a_nc_n<\infty,\qquad \sum a_n^2c_n^{-2}<\infty,cn​→0,∑an​=∞,∑an​cn​<∞,∑an2​cn−2​<∞,

for example an=n−1a_n=n^{-1}an​=n−1, cn=n−1/3c_n=n^{-1/3}cn​=n−1/3. Starting from an arbitrary number z1z_1z1​, the Kiefer–Wolfowitz process is

zn+1=zn+an y2n−y2n−1cn,z_{n+1}=z_n+a_n\,\frac{y_{2n}-y_{2n-1}}{c_n},zn+1​=zn​+an​cn​y2n​−y2n−1​​,

where, given everything observed so far, y2n−1y_{2n-1}y2n−1​ and y2ny_{2n}y2n​ are independent with laws H(⋅∣zn−cn)H(\cdot\mid z_n-c_n)H(⋅∣zn​−cn​) and H(⋅∣zn+cn)H(\cdot\mid z_n+c_n)H(⋅∣zn​+cn​).

The paper imposes three regularity conditions on MMM:

  1. Condition 1 (Lipschitz near θ\thetaθ): for some β,B>0\beta,B>0β,B>0, ∣x′−θ∣+∣x′′−θ∣<β|x'-\theta|+|x''-\theta|<\beta∣x′−θ∣+∣x′′−θ∣<β and x′≠x′′x'\neq x''x′=x′′ imply ∣M(x′)−M(x′′)∣<B∣x′−x′′∣|M(x')-M(x'')|<B|x'-x''|∣M(x′)−M(x′′)∣<B∣x′−x′′∣.
  2. Condition 2 (bounded oscillation): for some ρ,R>0\rho,R>0ρ,R>0, ∣x′−x′′∣<ρ|x'-x''|<\rho∣x′−x′′∣<ρ implies ∣M(x′)−M(x′′)∣<R|M(x')-M(x'')|<R∣M(x′)−M(x′′)∣<R.
  3. Condition 3 (no flat regions away from θ\thetaθ): for every δ>0\delta>0δ>0 there is π(δ)>0\pi(\delta)>0π(δ)>0 such that ∣z−θ∣>δ|z-\theta|>\delta∣z−θ∣>δ implies ∣M(z+ε)−M(z−ε)∣/ε>π(δ)|M(z+\varepsilon)-M(z-\varepsilon)|/\varepsilon>\pi(\delta)∣M(z+ε)−M(z−ε)∣/ε>π(δ) for all 0<ε<δ/20<\varepsilon<\delta/20<ε<δ/2.

In the Lean development these objects are regFun H (MMM), SecondMomentBound H S, Unimodal, Cond1, Cond2, Cond3, StepSizes a c and the structure IsKWProcess, all in the namespace KieferWolfowitz.Convergence.

Formalization targets

Goal: convergence in probability

for every η>0,P{∣zn−θ∣>η}⟶0(n→∞).\text{for every }\eta>0,\qquad P\{|z_n-\theta|>\eta\}\longrightarrow 0\quad(n\to\infty).for every η>0,P{∣zn​−θ∣>η}⟶0(n→∞).

This is the theorem of the paper (stated on p. 462, proved in §3 in the form (3.22)). It fixes no rate and no constants, so it is the stable form of the result.

Milestones, in the order of the paper's proof

  1. (3.6) The one-step identity for bn=E(zn−θ)2b_n=E(z_n-\theta)^2bn​=E(zn​−θ)2: bn+1=bn+2ancnE Un(zn)+an2cn2E(y2n−y2n−1)2b_{n+1}=b_n+2\frac{a_n}{c_n}E\,U_n(z_n)+\frac{a_n^2}{c_n^2}E(y_{2n}-y_{2n-1})^2bn+1​=bn​+2cn​an​​EUn​(zn​)+cn2​an2​​E(y2n​−y2n−1​)2, with Un(z)=(z−θ)(M(z+cn)−M(z−cn))U_n(z)=(z-\theta)(M(z+c_n)-M(z-c_n))Un​(z)=(z−θ)(M(z+cn​)−M(z−cn​)).
  2. (3.8) 0≤Un+(z)<2Bcn20\le U_n^+(z)<2Bc_n^20≤Un+​(z)<2Bcn2​ whenever cn<12βc_n<\frac12\betacn​<21​β.
  3. (3.11)–(3.12) E{(y2n−y2n−1)2∣zn}≤2S+R2E\{(y_{2n}-y_{2n-1})^2\mid z_n\}\le 2S+R^2E{(y2n​−y2n−1​)2∣zn​}≤2S+R2 whenever cn<ρ/2c_n<\rho/2cn​<ρ/2.
  4. (3.15) ∑(an/cn)Nn\sum (a_n/c_n)N_n∑(an​/cn​)Nn​ converges, where Nn=E Un−(zn)N_n=E\,U_n^-(z_n)Nn​=EUn−​(zn​).
  5. (3.18) lim inf⁡nE{Kn∣zn−θ∣}=0\liminf_n E\{K_n|z_n-\theta|\}=0liminfn​E{Kn​∣zn​−θ∣}=0, with Kn=∣(M(zn+cn)−M(zn−cn))/cn∣K_n=|(M(z_n+c_n)-M(z_n-c_n))/c_n|Kn​=∣(M(zn​+cn​)−M(zn​−cn​))/cn​∣.
  6. After (3.19) Along any n1<n2<⋯n_1<n_2<\cdotsn1​<n2​<⋯ with E{Knj∣znj−θ∣}→0E\{K_{n_j}|z_{n_j}-\theta|\}\to0E{Knj​​∣znj​​−θ∣}→0, znj→θz_{n_j}\to\thetaznj​​→θ in probability.
  7. (3.28) If N0N_0N0​ satisfies (3.25)–(3.27) for s>0s>0s>0, then E{(zn−θ)2∣zN0}<(zN0−θ)2+sE\{(z_n-\theta)^2\mid z_{N_0}\}<(z_{N_0}-\theta)^2+sE{(zn​−θ)2∣zN0​​}<(zN0​​−θ)2+s for all n>N0n>N_0n>N0​.

Significance

The result shows that the maximizer of a function observable only through noise can be located consistently using function evaluations alone, without gradients and without a parametric model of MMM. The conditions are qualitative: no differentiability, no specific noise distribution, and the noise may change shape with xxx. This is the template for gradient-free stochastic optimization: simulation optimization with finite-difference gradient estimates, simultaneous-perturbation methods, and zeroth-order methods in learning are all analysed by refining the same bias–variance balance between the probe width cnc_ncn​ and the step ana_nan​.

The theorem has been proved since 1952 and is not open. To our knowledge no machine-checked proof of it exists. A formalization produces a checked proof of a founding result of stochastic approximation and, along the way, the probabilistic infrastructure such proofs share: processes defined through conditional laws given a filtration, recursions for second moments, conditional Chebyshev arguments, and the passage from subsequence convergence to full convergence by a restart bound. Alternative proofs (via supermartingale convergence, which would give almost-sure convergence under stronger hypotheses) are welcome as separate developments but are not the goal.

Difficulty

The obvious approach is to show that E(zn−θ)2E(z_n-\theta)^2E(zn​−θ)2 decreases. It does not: the drift term 2ancnE Un(zn)2\frac{a_n}{c_n}E\,U_n(z_n)2cn​an​​EUn​(zn​) is negative only on average and only once the probes straddle θ\thetaθ correctly, while the noise term an2cn2en\frac{a_n^2}{c_n^2}e_ncn2​an2​​en​ is always positive and the finite-difference estimate of the slope has a bias of order cnc_ncn​. A one-step contraction is therefore unavailable, and summability arguments alone give smallness only along a subsequence; turning that into convergence of the whole sequence is where the difficulty lies, and it is also where Condition 3, which forbids flat stretches of MMM away from θ\thetaθ, cannot be dispensed with. The argument needs integrability of quantities the paper treats as finite without comment, and the conditional statements require the conditional law of the observation pair, not just its unconditional moments.

Formalization scope

  • Observations. HHH is a Markov kernel Kernel ℝ ℝ. Every H(⋅∣x)H(\cdot\mid x)H(⋅∣x) has ∫y2 dH<∞\int y^2\,dH<\infty∫y2dH<∞, so MMM and the variance in (2.2) are genuine integrals.
  • The process. On a probability space with a filtration (Fn)(\mathcal F_n)(Fn​), znz_nzn​ is Fn\mathcal F_nFn​-measurable, the pair (y2n−1,y2n)(y_{2n-1},y_{2n})(y2n−1​,y2n​) is Fn+1\mathcal F_{n+1}Fn+1​-measurable, and P(y2n−1∈A,y2n∈B∣Fn)=H(A∣zn−cn)H(B∣zn+cn)P(y_{2n-1}\in A, y_{2n}\in B\mid\mathcal F_n)=H(A\mid z_n-c_n)H(B\mid z_n+c_n)P(y2n−1​∈A,y2n​∈B∣Fn​)=H(A∣zn​−cn​)H(B∣zn​+cn​) a.s. for all Borel A,BA,BA,B. This is the reading of "independent chance variables with respective distributions H(y∣zn−cn)H(y\mid z_n-c_n)H(y∣zn​−cn​) and H(y∣zn+cn)H(y\mid z_n+c_n)H(y∣zn​+cn​)". The starting point z1z_1z1​ is a deterministic number.
  • Indices are 0-based: Lean's z 0 is z1z_1z1​, a n, c n are an+1a_{n+1}an+1​, cn+1c_{n+1}cn+1​.
  • Condition 1 as printed has a strict inequality that fails at x′=x′′x'=x''x′=x′′, which makes it unsatisfiable; the formalization adds x′≠x′′x'\neq x''x′=x′′. Condition 3's infimum over 12δ>ε>0\frac12\delta>\varepsilon>021​δ>ε>0 is stated pointwise, which is equivalent since π(δ)\pi(\delta)π(δ) is existential, with π(δ)\pi(\delta)π(δ) uniform in zzz.
  • Explicit readings of loose phrases. "For nnn sufficiently large" in (3.10)–(3.12) is the hypothesis cn<ρ/2c_n<\rho/2cn​<ρ/2; conditioning "on znz_nzn​" or "on zN0=zz_{N_0}=zzN0​​=z" is conditioning on Fn\mathcal F_nFn​ or FN0\mathcal F_{N_0}FN0​​; "converges stochastically" is Mathlib's TendstoInMeasure; "lim inf⁡=0\liminf=0liminf=0" for a nonnegative sequence is "below every ε>0\varepsilon>0ε>0 infinitely often".
  • Integrability of every expectation in a milestone is either a hypothesis or part of the conclusion, so no statement holds by Lean's convention that the integral of a non-integrable function is 000.
  • Ruled out. A formalization in which the observations are arbitrary random variables not tied to HHH, in which ∑an=∞\sum a_n=\infty∑an​=∞ is dropped, or in which π(δ)\pi(\delta)π(δ) may depend on zzz, would make the goal false or a different theorem; the hypotheses here are jointly satisfiable (checked for H(⋅∣x)=δ−∣x∣H(\cdot\mid x)=\delta_{-|x|}H(⋅∣x)=δ−∣x∣​, θ=0\theta=0θ=0, an=n−1a_n=n^{-1}an​=n−1, cn=n−1/3c_n=n^{-1/3}cn​=n−1/3).
  • Not formalized. The remark on p. 463 that truncating zn±cnz_n\pm c_nzn​±cn​ to an interval [C1,C2][C_1,C_2][C1​,C2​] preserves the conclusion (asserted without proof), the motivational discussion (a)–(c), and §4's further problems.
  • Distinct from the Kiefer–Wolfowitz equivalence theorem of optimal experimental design (1960), which is already on the platform under BanditAlgorithm.kiefer_wolfowitz_equivalence; the two results share authors and nothing else.

Useful infrastructure, reusable beyond this mission: conditional expectations of functions of a pair with a given conditional law, tail-sum bounds, and the passage from a restart bound plus subsequence convergence in probability to full convergence. Contributions of any milestone, of intermediate lemmas such as (3.7), (3.9), (3.13) and (3.29), and of the final assembly are welcome.

Selected references

  • J. Kiefer and J. Wolfowitz, Stochastic estimation of the maximum of a regression function, Ann. Math. Statist. 23 (1952), 462–466. https://doi.org/10.1214/aoms/1177729392
  • H. Robbins and S. Monro, A stochastic approximation method, Ann. Math. Statist. 22 (1951), 400–407. https://doi.org/10.1214/aoms/1177729586
  • J. Wolfowitz, On the stochastic approximation method of Robbins and Monro, Ann. Math. Statist. 23 (1952), 457–461. https://doi.org/10.1214/aoms/1177729391
  • J. R. Blum, Approximation methods which converge with probability one, Ann. Math. Statist. 25 (1954), 382–386. https://doi.org/10.1214/aoms/1177728794
  • J. C. Spall, Multivariate stochastic approximation using a simultaneous perturbation gradient approximation, IEEE Trans. Automat. Control 37 (1992), 332–341. https://doi.org/10.1109/9.119632
9 thms1 active userReviewed
CombinatoricsOperations Research·Captain: mikedeng1

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

Motivation

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

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

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

Setting

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

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

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

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

Formalization targets

Goal: the stopping rule certifies an optimal sequence

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

Explicit readings of the paper's phrases:

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

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

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

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

Selected references

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

The Fritz John Necessary Optimality Conditions in the Presence of Equality and Inequality Constraints: Every Minimizer of a C¹ Program Admits Multipliers (ū₀, ū, v̄) ≠ 0 with ū ≥ 0Research Paper

Motivation

For problems with inequality constraints only, F. John (1948) showed that every minimizer admits nonnegative multipliers (uˉ0,uˉ1,…,uˉm)≠0(\bar u_0, \bar u_1, \dots, \bar u_m) \ne 0(uˉ0​,uˉ1​,…,uˉm​)=0, one of which belongs to the objective. The Kuhn–Tucker conditions (1951) are the stronger statement in which the objective's multiplier can be taken equal to one; they need a constraint qualification.

Problems arising in practice mix equalities and inequalities. Fritz John's theorem does not cover them, and the obvious reduction, writing each equality hj(x)=0h_j(x) = 0hj​(x)=0 as the two inequalities hj(x)≤0h_j(x) \le 0hj​(x)≤0 and −hj(x)≤0-h_j(x) \le 0−hj​(x)≤0, destroys the content of the conditions: every feasible point then satisfies them with uˉ0=0\bar u_0 = 0uˉ0​=0. O. L. Mangasarian and S. Fromovitz (1967) proved a version of Fritz John's conditions that treats equalities directly and stays informative, and from it derived the constraint qualification now known as the Mangasarian–Fromovitz constraint qualification (MFCQ). MFCQ is the standard regularity assumption in the convergence theory of sequential quadratic programming, interior-point and augmented-Lagrangian methods, and in the stability theory of parametric programs.

Timeline.

  • 1939, W. Karush (master's thesis) and 1951, H. W. Kuhn and A. W. Tucker: multiplier conditions with uˉ0=1\bar u_0 = 1uˉ0​=1 for inequality constraints, under a constraint qualification.
  • 1948, F. John: the multiplier rule with uˉ0≥0\bar u_0 \ge 0uˉ0​≥0 for inequality constraints, no qualification needed.
  • 1967, Mangasarian and Fromovitz (this paper): the multiplier rule for equalities and inequalities together, and the qualification (3.4)–(3.6).

Setting

Let EnE^nEn be nnn-dimensional Euclidean space, and let θ,g1,…,gm,h1,…,hk:En→R\theta, g_1, \dots, g_m, h_1, \dots, h_k : E^n \to \mathbb Rθ,g1​,…,gm​,h1​,…,hk​:En→R be functions with continuous first partial derivatives on EnE^nEn. The program is

minimize θ(x)subject togi(x)≤0, i∈M={1,…,m},hj(x)=0, j∈K={1,…,k}.(1.1)\text{minimize } \theta(x) \quad \text{subject to} \quad g_i(x) \le 0,\ i \in M = \{1,\dots,m\}, \qquad h_j(x) = 0,\ j \in K = \{1,\dots,k\}. \tag{1.1}minimize θ(x)subject togi​(x)≤0, i∈M={1,…,m},hj​(x)=0, j∈K={1,…,k}.(1.1)

The feasible set is S={x∈En:gi(x)≤0, i∈M, hj(x)=0, j∈K}S = \{x \in E^n : g_i(x) \le 0,\ i \in M,\ h_j(x) = 0,\ j \in K\}S={x∈En:gi​(x)≤0, i∈M, hj​(x)=0, j∈K}. A point xˉ\bar xxˉ is a solution of (1.1) if xˉ∈S\bar x \in Sxˉ∈S and θ(xˉ)≤θ(x)\theta(\bar x) \le \theta(x)θ(xˉ)≤θ(x) for all x∈Sx \in Sx∈S. The active set at xˉ\bar xxˉ is Mˉ={i∈M:gi(xˉ)=0}\bar M = \{i \in M : g_i(\bar x) = 0\}Mˉ={i∈M:gi​(xˉ)=0}. The gradient of fff at xˉ\bar xxˉ is ∇f(xˉ)\nabla f(\bar x)∇f(xˉ), and y′zy'zy′z denotes the inner product.

The generalized Fritz John conditions hold at xˉ\bar xxˉ if there are uˉ=(uˉ0,uˉ1,…,uˉm)\bar u = (\bar u_0, \bar u_1, \dots, \bar u_m)uˉ=(uˉ0​,uˉ1​,…,uˉm​) and vˉ=(vˉ1,…,vˉk)\bar v = (\bar v_1, \dots, \bar v_k)vˉ=(vˉ1​,…,vˉk​) with

uˉ0∇θ(xˉ)+∑i=1muˉi∇gi(xˉ)+∑j=1kvˉj∇hj(xˉ)=0,∑i=1muˉigi(xˉ)=0,uˉ≥0,(uˉ,vˉ)≠0.\bar u_0 \nabla\theta(\bar x) + \sum_{i=1}^m \bar u_i \nabla g_i(\bar x) + \sum_{j=1}^k \bar v_j \nabla h_j(\bar x) = 0, \qquad \sum_{i=1}^m \bar u_i g_i(\bar x) = 0, \qquad \bar u \ge 0, \qquad (\bar u, \bar v) \ne 0 .uˉ0​∇θ(xˉ)+i=1∑m​uˉi​∇gi​(xˉ)+j=1∑k​vˉj​∇hj​(xˉ)=0,i=1∑m​uˉi​gi​(xˉ)=0,uˉ≥0,(uˉ,vˉ)=0.

The Kuhn–Tucker conditions are the same system with uˉ0=1\bar u_0 = 1uˉ0​=1 and no nontriviality requirement.

Formalization targets

Goal: the generalized Fritz John necessary conditions (p. 41)

If xˉ\bar xxˉ is a solution of (1.1), then there exist uˉ∈Em+1\bar u \in E^{m+1}uˉ∈Em+1 and vˉ∈Ek\bar v \in E^kvˉ∈Ek with

uˉ0∇θ(xˉ)+∑i=1muˉi∇gi(xˉ)+∑j=1kvˉj∇hj(xˉ)=0,∑i=1muˉigi(xˉ)=0,uˉ≥0,(uˉ,vˉ)≠0.(2.9–2.12)\bar u_0 \nabla\theta(\bar x) + \sum_{i=1}^m \bar u_i \nabla g_i(\bar x) + \sum_{j=1}^k \bar v_j \nabla h_j(\bar x) = 0, \quad \sum_{i=1}^m \bar u_i g_i(\bar x) = 0, \quad \bar u \ge 0, \quad (\bar u, \bar v) \ne 0. \tag{2.9–2.12}uˉ0​∇θ(xˉ)+i=1∑m​uˉi​∇gi​(xˉ)+j=1∑k​vˉj​∇hj​(xˉ)=0,i=1∑m​uˉi​gi​(xˉ)=0,uˉ≥0,(uˉ,vˉ)=0.(2.9–2.12)

No regularity of the constraints is assumed. The nontriviality requirement covers uˉ0\bar u_0uˉ0​, the uˉi\bar u_iuˉi​ and the vˉj\bar v_jvˉj​ together.

Milestones

  1. Motzkin's transposition theorem (p. 39): for real matrices A,B,CA, B, CA,B,C with AAA nonempty, exactly one of y′A<0, y′B≤0, y′C=0y'A < 0,\ y'B \le 0,\ y'C = 0y′A<0, y′B≤0, y′C=0 and Az1+Bz2+Cz3=0, z1≥0, z1≠0, z2≥0Az_1 + Bz_2 + Cz_3 = 0,\ z_1 \ge 0,\ z_1 \ne 0,\ z_2 \ge 0Az1​+Bz2​+Cz3​=0, z1​≥0, z1​=0, z2​≥0 is solvable.
  2. Lemma 1 (pp. 39–40): if fi(xˉ)=0f_i(\bar x) = 0fi​(xˉ)=0, hj(xˉ)=0h_j(\bar x) = 0hj​(xˉ)=0 at some xˉ\bar xxˉ in an open set DDD, no x∈Dx \in Dx∈D has fi(x)<0f_i(x) < 0fi​(x)<0 for all iii and hj(x)=0h_j(x) = 0hj​(x)=0 for all jjj, and the ∇hj(xˉ)\nabla h_j(\bar x)∇hj​(xˉ) are linearly independent, then no yyy has y′∇fi(xˉ)<0y'\nabla f_i(\bar x) < 0y′∇fi​(xˉ)<0 and y′∇hj(xˉ)=0y'\nabla h_j(\bar x) = 0y′∇hj​(xˉ)=0.
  3. Lemma 2 (p. 40): under the same assumptions, without independence, there are rˉ≥0\bar r \ge 0rˉ≥0 and sˉ\bar ssˉ, not both zero, with ∑rˉi∇fi(xˉ)+∑sˉj∇hj(xˉ)=0\sum \bar r_i \nabla f_i(\bar x) + \sum \bar s_j \nabla h_j(\bar x) = 0∑rˉi​∇fi​(xˉ)+∑sˉj​∇hj​(xˉ)=0.
  4. DDD is open (p. 41): D={x:gi(x)<0, i∈M∖Mˉ}D = \{x : g_i(x) < 0,\ i \in M \setminus \bar M\}D={x:gi​(x)<0, i∈M∖Mˉ} is open.
  5. The reduction (pp. 41–42): at a solution xˉ\bar xxˉ of (1.1), xˉ∈D\bar x \in Dxˉ∈D and the system θ(x)−θ(xˉ)<0\theta(x) - \theta(\bar x) < 0θ(x)−θ(xˉ)<0, gi(x)<0g_i(x) < 0gi​(x)<0 (i∈Mˉi \in \bar Mi∈Mˉ), hj(x)=0h_j(x) = 0hj​(x)=0 has no solution in DDD.

Companion results

  • Corollary (p. 43): the generalized Fritz John conditions hold at any feasible point satisfying (2.27) or (2.28).
  • The generalized constraint qualification (pp. 43–44): at a solution, yˉ′∇gi(xˉ)<0\bar y'\nabla g_i(\bar x) < 0yˉ​′∇gi​(xˉ)<0 (i∈Mˉi \in \bar Mi∈Mˉ), yˉ′∇hj(xˉ)=0\bar y'\nabla h_j(\bar x) = 0yˉ​′∇hj​(xˉ)=0 and independent ∇hj(xˉ)\nabla h_j(\bar x)∇hj​(xˉ) imply the Kuhn–Tucker conditions.
  • The splitting remark (p. 38): after splitting equalities, every feasible point satisfies Fritz John's original conditions.

Significance

The theorem is a multiplier rule for smooth programs with both kinds of constraints and no assumption on the constraints. It has two direct consequences in the paper. First, it yields MFCQ, the condition (3.4)–(3.6) under which the Kuhn–Tucker conditions hold at every solution. MFCQ is weaker than linear independence of all active gradients (LICQ), and it is equivalent to boundedness of the Kuhn–Tucker multiplier set (Gauvin, 1977). Second, the corollary identifies feasible non-minimizers at which the conditions hold anyway.

The result is classical and its proof is in every nonlinear-programming textbook. Mathlib has the equality-constrained Lagrange multiplier rule for a local extremum (IsLocalExtrOn.exists_multipliers_of_hasStrictFDerivAt) and the implicit function theorem, and Prove2Me has a formalized Fritz John theorem for inequality constraints only. To our knowledge no machine-checked proof of the mixed equality–inequality Fritz John rule, of MFCQ, or of Motzkin's transposition theorem in this form exists. The formalization would provide the standard multiplier rule and qualification on which a formal theory of nonlinear programming builds.

Difficulty

With inequalities alone, John's theorem follows from the observation that if xˉ\bar xxˉ is a minimizer, no direction yyy strictly decreases θ\thetaθ and every active gig_igi​ to first order; Motzkin's (or Gordan's) theorem then produces the multipliers. With equalities the first step fails: a direction with y′∇hj(xˉ)=0y'\nabla h_j(\bar x) = 0y′∇hj​(xˉ)=0 is tangent to the equality manifold but generally leaves it, so a first-order descent direction does not yield a feasible point with smaller objective. Lemma 1 is precisely the claim that it does when the ∇hj(xˉ)\nabla h_j(\bar x)∇hj​(xˉ) are independent, and it needs a curve inside {h=0}\{h = 0\}{h=0} along which the strict inequalities persist: the implicit function theorem, applied on an open set, with care that the curve stays in DDD. The linearly dependent case must be handled separately, and it is the only place the multipliers vˉ\bar vvˉ can be nonzero with uˉ=0\bar u = 0uˉ=0.

Formalization scope

EnE^nEn is EuclideanSpace ℝ (Fin n), the inner product y′zy'zy′z is inner ℝ y z, and ∇f(xˉ)\nabla f(\bar x)∇f(xˉ) is Mathlib's gradient f xbar. "Continuous first partial derivatives on EnE^nEn", the standing assumption of §1, is ContDiff ℝ 1 (equivalent in finite dimension) and is a hypothesis of the goal, the corollary and the constraint qualification; Lemma 1 and Lemma 2 use ContDiffOn ℝ 1 · D on an open set DDD, as on the page. Indices i∈Mi \in Mi∈M and j∈Kj \in Kj∈K are Fin m and Fin k, 0-based; m=0m = 0m=0 and k=0k = 0k=0 are allowed. The multiplier vector uˉ∈Em+1\bar u \in E^{m+1}uˉ∈Em+1 is split into u0 : ℝ and u : Fin m → ℝ, and (uˉ,vˉ)≠0(\bar u, \bar v) \ne 0(uˉ,vˉ)=0 is "u0 ≠ 0, or some u i ≠ 0, or some v j ≠ 0". A solution of (1.1) is a global minimizer over SSS, as the proof on p. 42 uses. In Motzkin's theorem a matrix is the family of its columns, and "either … or …, but never both" is Xor. In Lemma 2, "the assumptions of Lemma 1" exclude the proviso (2.5) of linear independence, which the proof of Lemma 2 treats separately.

The goal does not assume linear independence of the ∇hj(xˉ)\nabla h_j(\bar x)∇hj​(xˉ), does not mention DDD or Lemma 1, and requires (uˉ,vˉ)≠0(\bar u, \bar v) \ne 0(uˉ,vˉ)=0 with uˉ0\bar u_0uˉ0​ included; a formalization that drops uˉ0\bar u_0uˉ0​ from the nontriviality condition is false at m=k=0m = k = 0m=k=0, and one that requires uˉ0≠0\bar u_0 \ne 0uˉ0​=0 is the Kuhn–Tucker statement, false without a qualification.

A complete development needs Motzkin's (or Gordan's) theorem of the alternative, which is reusable well beyond this mission, and the implicit function theorem on open sets in Euclidean space with a C1C^1C1 curve argument. Proofs of any milestone are welcome, as is a proof of the goal by another route.

Selected references

  • O. L. Mangasarian and S. Fromovitz, The Fritz John necessary optimality conditions in the presence of equality and inequality constraints, J. Math. Anal. Appl. 17 (1967), 37–47. https://doi.org/10.1016/0022-247X(67)90163-1
  • F. John, Extremum problems with inequalities as subsidiary conditions, in Studies and Essays Presented to R. Courant on his 60th Birthday, Interscience, New York, 1948, 187–204.
  • H. W. Kuhn and A. W. Tucker, Nonlinear programming, Proc. Second Berkeley Symposium on Mathematical Statistics and Probability, University of California Press, 1951, 481–492.
  • J. Gauvin, A necessary and sufficient regularity condition to have bounded multipliers in nonconvex programming, Math. Programming 12 (1977), 136–138. https://doi.org/10.1007/BF01593777
  • O. L. Mangasarian, Nonlinear Programming, McGraw-Hill, 1969; reprinted SIAM Classics in Applied Mathematics 10, 1994. https://doi.org/10.1137/1.9781611971255
7 thms1 active userReviewed
Dynamic ProgrammingLinear OptimizationMarkov Chain+1·Captain: mikedeng1

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

Why bias optimality matters

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

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

The finite decision model

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

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

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

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

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

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

Formalization targets

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

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

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

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

What the characterization gives

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

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

Where the difficulty lies

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

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

Formalization scope

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

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

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

Formalization targets

Superharmonic value

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

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

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

Policy from an extreme optimal dual flow

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

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

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

Why semi-Markov control matters

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

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

Model and notation

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

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

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

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

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

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

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

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

Formalization targets

Goal: the smallest superharmonic vector

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

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

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

Supporting results

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

What the results provide

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

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

Main difficulty

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

Formalization scope

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

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

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

Selected references

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

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

Motivation

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

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

Timeline.

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

Setting

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

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

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

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

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

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

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

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

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

Formalization targets

Goal: Theorem 6.2.3

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

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

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

Milestones

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

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

Why optimize only transient policies?

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

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

The finite model and its policies

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

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

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

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

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

Formalization targets

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

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

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

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

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

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

What the result gives

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

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

Where the difficulty lies

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

Formalization scope

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

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

Selected references

  • L. C. M. Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam, 1983, §§2.2 and 3.3, pp. 19–23 and 49–60. Publisher repository.
9 thms1 active userReviewed
Linear OptimizationOperations Research·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

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

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

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

Formalization targets

Fractional cut and integer optimum

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

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

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

Supporting claims

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

Global Convergence Properties of Conjugate Gradient Methods for Optimization I: Conjugate Gradient Methods with |β_k| ≤ β_k^FR Are Globally Convergent under Strong Wolfe Line SearchesResearch Paper

Motivation

Nonlinear conjugate gradient methods minimize a smooth function fff of nnn variables using only function values, gradients and a few vectors of storage. They are the method of choice when nnn is so large that quasi-Newton matrices cannot be stored, and they remain a standard component of large-scale optimization software. Their convergence theory is delicate: the classical results assume exact line searches, while practical codes accept any steplength satisfying inexpensive inexact conditions.

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

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

Setting

Let EEE be a finite-dimensional real inner product space and f:E→Rf : E \to \mathbb Rf:E→R continuously differentiable, with gradient g=∇fg = \nabla fg=∇f for that inner product. Starting from x1x_1x1​, the method generates

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

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

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

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

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

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

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

Formalization targets

Goal: Theorem 3.2

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

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

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

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

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

Milestones

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

Further statements

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

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

Selected references

  • J. C. Gilbert, J. Nocedal, Global convergence properties of conjugate gradient methods for optimization, INRIA Rapport de Recherche 1268, 1990. https://hal.inria.fr/inria-00075291 ; SIAM J. Optim. 2(1) (1992) 21–42, https://doi.org/10.1137/0802003
  • M. Al-Baali, Descent property and global convergence of the Fletcher–Reeves method with inexact line search, IMA J. Numer. Anal. 5 (1985) 121–124. https://doi.org/10.1093/imanum/5.1.121
  • R. Fletcher, C. M. Reeves, Function minimization by conjugate gradients, Comput. J. 7 (1964) 149–154. https://doi.org/10.1093/comjnl/7.2.149
  • P. Wolfe, Convergence conditions for ascent methods, SIAM Rev. 11 (1969) 226–235. https://doi.org/10.1137/1011036
  • D. Touati-Ahmed, C. Storey, Efficient hybrid conjugate gradient techniques, J. Optim. Theory Appl. 64 (1990) 379–397. https://doi.org/10.1007/BF00939455
5 thms1 active userReviewed
Dynamic ProgrammingLinear OptimizationOperations Research·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

Formalization targets

Five equivalent conditions

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

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

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

Supporting targets

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

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

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

Motivation

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

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

Setting

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

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

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

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

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

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

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

Formalization targets

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

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

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

Selected references

  • L. C. M. Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam, 1983. Publisher repository copy.
6 thms1 active userReviewed
Convex OptimizationFunctional Analysis·Captain: mikedeng1

A Dual Algorithm for the Solution of Nonlinear Variational Problems via Finite Element Approximation 1: For 0 < ρ < 2r, the Modified Dual Algorithm Converges Strongly to (v*, Av*)Research Paper

Motivation

Many problems in mechanics and optimal control are posed as the minimization of a convex functional of the form f(Av)−⟨b,v⟩f(Av)-\langle b,v\ranglef(Av)−⟨b,v⟩, where AAA is a differential operator and fff is non-smooth: an obstacle, a friction term, a plasticity threshold. Splitting the variable, y=Avy=Avy=Av, separates the linear operator from the non-smooth function, and a Lagrange multiplier for the constraint Av−y=0Av-y=0Av−y=0 turns the problem into a sequence of two simpler ones: a linear system in vvv and a pointwise nonlinear problem in yyy. The scheme that alternates between the two and then updates the multiplier is now called the alternating direction method of multipliers (ADMM). It is one of the standard algorithms of large-scale convex optimization, statistics and imaging (Boyd, Parikh, Chu, Peleato and Eckstein, 2011).

Gabay and Mercier (IRIA report RR-126, 1975; Comput. Math. Appl., 1976) gave a convergence proof of this method in Hilbert space, for a stepsize ρ\rhoρ anywhere in (0,2r)(0,2r)(0,2r), where rrr is the penalty parameter of the augmented Lagrangian.

Timeline.

  • 1969: Hestenes and Powell introduce the augmented Lagrangian (method of multipliers).
  • 1975: Glowinski and Marrocco propose the alternating scheme for nonlinear Dirichlet problems.
  • 1975–76: Gabay and Mercier prove strong convergence of the primal iterates for 0<ρ<2r0<\rho<2r0<ρ<2r under strong monotonicity of f1′f_1'f1′​ (this mission).
  • 1983: Gabay identifies ADMM with Douglas–Rachford splitting applied to the dual.
  • 1992: Eckstein and Bertsekas extend convergence to maximal monotone operators, without strong monotonicity, for ρ=r\rho=rρ=r.

Setting

VVV and YYY are real Hilbert spaces; (⋅,⋅)(\cdot,\cdot)(⋅,⋅) and ∣⋅∣|\cdot|∣⋅∣ are the inner product and norm of YYY, ∥⋅∥\|\cdot\|∥⋅∥ the norm of VVV. A:V→YA:V\to YA:V→Y is a continuous linear operator and bbb is a continuous linear functional on VVV, with value ⟨b,v⟩\langle b,v\rangle⟨b,v⟩ at vvv. The dual of YYY is identified with YYY. The function f:Y→(−∞,+∞]f:Y\to(-\infty,+\infty]f:Y→(−∞,+∞] is a sum f=f1+f2f=f_1+f_2f=f1​+f2​ where

  1. f1:Y→Rf_1:Y\to\mathbb Rf1​:Y→R is convex and continuously differentiable, and its gradient is strongly monotone: (f1′(y)−f1′(z),y−z)≥γ∣y−z∣2(f_1'(y)-f_1'(z),y-z)\ge\gamma|y-z|^2(f1′​(y)−f1′​(z),y−z)≥γ∣y−z∣2 for some γ>0\gamma>0γ>0 (2.3);
  2. f2f_2f2​ is proper (never −∞-\infty−∞, somewhere finite), convex and lower semicontinuous;
  3. ∣Av∣2≥α2∥v∥2|Av|^2\ge\alpha^2\|v\|^2∣Av∣2≥α2∥v∥2 for some α>0\alpha>0α>0 (2.5);
  4. some Av0Av_0Av0​ lies in the interior of dom⁡f2={y:f2(y)<+∞}\operatorname{dom}f_2=\{y:f_2(y)<+\infty\}domf2​={y:f2​(y)<+∞} (qualification).

The problem is

(P)inf⁡v∈V f(Av)−⟨b,v⟩,(\mathcal P)\qquad \inf_{v\in V}\ f(Av)-\langle b,v\rangle ,(P)v∈Vinf​ f(Av)−⟨b,v⟩,

and a solution v∗v^*v∗ is a point where this value is finite and minimal. The Lagrangian and augmented Lagrangian are, for λ∈Y\lambda\in Yλ∈Y and r>0r>0r>0,

L(v,y;λ)=f(y)+(λ,Av−y)−⟨b,v⟩,Lr=L+r2∣Av−y∣2.\mathcal L(v,y;\lambda)=f(y)+(\lambda,Av-y)-\langle b,v\rangle,\qquad \mathcal L_r=\mathcal L+\frac r2|Av-y|^2 .L(v,y;λ)=f(y)+(λ,Av−y)−⟨b,v⟩,Lr​=L+2r​∣Av−y∣2.

The modified dual algorithm (3.4) starts from any (y0,λ0)∈Y×Y(y^0,\lambda^0)\in Y\times Y(y0,λ0)∈Y×Y and, for n≥0n\ge0n≥0,

  1. finds vn+1v^{n+1}vn+1 with r(Avn+1,Aw)=(ryn−λn,Aw)+⟨b,w⟩r(Av^{n+1},Aw)=(ry^n-\lambda^n,Aw)+\langle b,w\rangler(Avn+1,Aw)=(ryn−λn,Aw)+⟨b,w⟩ for all w∈Vw\in Vw∈V (minimization of Lr\mathcal L_rLr​ in vvv);
  2. finds yn+1y^{n+1}yn+1 with λn+rAvn+1−ryn+1−f1′(yn+1)∈∂f2(yn+1)\lambda^n+rAv^{n+1}-ry^{n+1}-f_1'(y^{n+1})\in\partial f_2(y^{n+1})λn+rAvn+1−ryn+1−f1′​(yn+1)∈∂f2​(yn+1) (minimization of Lr\mathcal L_rLr​ in yyy);
  3. sets λn+1=λn+ρ(Avn+1−yn+1)\lambda^{n+1}=\lambda^n+\rho(Av^{n+1}-y^{n+1})λn+1=λn+ρ(Avn+1−yn+1).

PPP denotes the orthogonal projection of YYY onto the range R(A)R(A)R(A), which is closed by (2.5).

Formalization targets

Goal: Theorem 3.1

For r>0r>0r>0 and every stepsize with

0<ρ<2r,0<\rho<2r,0<ρ<2r,

every run of the algorithm satisfies

∥vn−v∗∥→0,∣yn−Av∗∣→0,sup⁡n∣λn∣<∞,\|v^n-v^*\|\to0,\qquad |y^n-Av^*|\to0,\qquad \sup_n|\lambda^n|<\infty,∥vn−v∗∥→0,∣yn−Av∗∣→0,nsup​∣λn∣<∞,

where v∗v^*v∗ is the unique solution of (P)(\mathcal P)(P). The multipliers need not converge.

Milestones

  1. Proposition 2.1: (P)(\mathcal P)(P) has a unique solution.
  2. Theorem 2.1: a saddle point (v∗,y∗;λ∗)(v^*,y^*;\lambda^*)(v∗,y∗;λ∗) of L\mathcal LL consists of the solution v∗v^*v∗, y∗=Av∗y^*=Av^*y∗=Av∗ and λ∗∈∂f(Av∗)\lambda^*\in\partial f(Av^*)λ∗∈∂f(Av∗) with A′λ∗=bA'\lambda^*=bA′λ∗=b; and a saddle point exists.
  3. Theorem 2.2: for r>0r>0r>0, Lr\mathcal L_rLr​ and L\mathcal LL have the same saddle points.
  4. (3.8)–(3.10): a saddle point is a fixed point of Steps 1–2.
  5. (3.11)–(3.12): A(vn+1−v∗)=P(yn−y∗)−1rP(λn−λ∗)A(v^{n+1}-v^*)=P(y^n-y^*)-\frac1rP(\lambda^n-\lambda^*)A(vn+1−v∗)=P(yn−y∗)−r1​P(λn−λ∗).
  6. (3.19)–(3.20): the energy estimate
γ∣yn+1−y∗∣2+(r−ρ2)∣(I−P)(yn+1−y∗)∣2+r2∣P(yn+1−y∗)∣2+12ρ∣(I−P)(λn+1−λ∗)∣2≤r2∣P(yn−y∗)∣2+12ρ∣(I−P)(λn−λ∗)∣2\gamma|y^{n+1}-y^*|^2+\Bigl(r-\frac\rho2\Bigr)|(I-P)(y^{n+1}-y^*)|^2+\frac r2|P(y^{n+1}-y^*)|^2+\frac1{2\rho}|(I-P)(\lambda^{n+1}-\lambda^*)|^2\le\frac r2|P(y^n-y^*)|^2+\frac1{2\rho}|(I-P)(\lambda^n-\lambda^*)|^2γ∣yn+1−y∗∣2+(r−2ρ​)∣(I−P)(yn+1−y∗)∣2+2r​∣P(yn+1−y∗)∣2+2ρ1​∣(I−P)(λn+1−λ∗)∣2≤2r​∣P(yn−y∗)∣2+2ρ1​∣(I−P)(λn−λ∗)∣2

and its sum over n=0,…,Nn=0,\dots,Nn=0,…,N. 7. yn→y∗y^n\to y^*yn→y∗ for 0<ρ≤2r0<\rho\le2r0<ρ≤2r. 8. (3.22)–(3.23): a contraction-plus-summable-forcing recursion for ∣P(λn−λ∗)∣2|P(\lambda^n-\lambda^*)|^2∣P(λn−λ∗)∣2, and the scalar lemma that such recursions tend to 000. 9. P(λn−λ∗)→0P(\lambda^n-\lambda^*)\to0P(λn−λ∗)→0 and vn→v∗v^n\to v^*vn→v∗ for 0<ρ<2r0<\rho<2r0<ρ<2r.

Significance

The theorem says that ADMM converges without any step-size tuning beyond ρ<2r\rho<2rρ<2r, and that the primal iterates converge in norm in infinite dimension, which is what makes the method usable for finite element discretizations of variational problems (the companion mission on internal approximations treats the discretization). It covers obstacle problems, Bingham fluids and elasto-plastic torsion, where f2f_2f2​ is an indicator or a non-differentiable norm.

The result is proved in the 1975 report. To our knowledge it has no machine-checked proof. Formalizing it adds a library-level convergence theorem for ADMM in Hilbert space with EReal\mathrm{EReal}EReal-valued convex functions, a saddle-point existence theorem for linearly constrained convex problems, and the energy estimate (3.19) as a reusable lemma. The formalization also fixes two defects of the printed text (see Formalization scope): a sign in Step 1 and a qualification hypothesis that is too weak.

Difficulty

The energy estimate (3.19) only controls the multiplier through its component in R(A)⊥R(A)^\perpR(A)⊥, and only the yyy-error through γ>0\gamma>0γ>0. The natural first idea, a Lyapunov function in ∣λn−λ∗∣2|\lambda^n-\lambda^*|^2∣λn−λ∗∣2 alone that decreases at each step, does not work for ρ≠r\rho\ne rρ=r: the component P(λn−λ∗)P(\lambda^n-\lambda^*)P(λn−λ∗) obeys a separate recursion whose contraction factor ∣1−ρ/r∣|1-\rho/r|∣1−ρ/r∣ is below one only for 0<ρ<2r0<\rho<2r0<ρ<2r, and whose forcing term must be shown summable from the yyy-estimate. The existence of a multiplier, i.e. of a saddle point, is a separate difficulty: it needs the subdifferential chain rule ∂(f∘A)=A′∂f(A ⋅)\partial(f\circ A)=A'\partial f(A\,\cdot)∂(f∘A)=A′∂f(A⋅) in infinite dimension, under a constraint qualification.

Formalization scope

Lean conventions:

  • VVV, YYY are InnerProductSpace ℝ with CompleteSpace; multipliers are elements of YYY; bbb is a StrongDual ℝ V.
  • f1:Y→Rf_1:Y\to\mathbb Rf1​:Y→R (a Gateaux-differentiable function is finite), with a gradient f₁' at every point (HasGradientAt) that is continuous; "weakly continuous on finite-dimensional subspaces" is then automatic.
  • f2:Y→f_2:Y\tof2​:Y→ EReal, with IsProperFn, IsConvexFn, IsSubgradient from the published InertialFB.IFB.ConvexAnalysis and Mathlib's LowerSemicontinuous. No subtraction in EReal occurs: the variational inequalities (3.6), (3.9) are stated as subgradient inclusions, and the Lagrangians as a real part plus f2(y)f_2(y)f2​(y).
  • A solution of (P)(\mathcal P)(P) has finite value. A run is any triple of sequences indexed by N\mathbb NN satisfying Steps 1–3 for every nnn; the start is arbitrary, and the well-posedness of the steps is not assumed or used.
  • PPP is the orthogonal projection onto the closure of R(A)R(A)R(A), equal to R(A)R(A)R(A) under (2.5).
  • Strong convergence is convergence in norm; "bounded" is Bornology.IsBounded (Set.range λ).

Corrections to the printed text, each explained in the item's statement:

  • Step 1 (3.5) and (3.8) carry +⟨b,v⟩+\langle b,v\rangle+⟨b,v⟩. The paper prints −⟨b,v⟩-\langle b,v\rangle−⟨b,v⟩ there and in Remark 1 of p. 15, which is inconsistent with L\mathcal LL and (P)(\mathcal P)(P): with the printed sign the iteration solves the problem with −b-b−b.
  • The qualification (2.4), "int⁡dom⁡f2≠∅\operatorname{int}\operatorname{dom}f_2\ne\emptysetintdomf2​=∅", is strengthened to int⁡dom⁡f2∩R(A)≠∅\operatorname{int}\operatorname{dom}f_2\cap R(A)\ne\emptysetintdomf2​∩R(A)=∅. With (2.4) alone, Theorem 2.1's saddle point need not exist and the multipliers of Theorem 3.1 need not be bounded: V=RV=\mathbb RV=R, Y=R2Y=\mathbb R^2Y=R2, Av=(v,0)Av=(v,0)Av=(v,0), f1=∣⋅∣2/2f_1=|\cdot|^2/2f1​=∣⋅∣2/2, f2f_2f2​ the indicator of the disc of centre (0,1)(0,1)(0,1) and radius 111, ⟨b,v⟩=v\langle b,v\rangle=v⟨b,v⟩=v.
  • Proposition 2.1 assumes that f2∘Af_2\circ Af2​∘A is somewhere finite, which its proof requires.

Ruled out: the solution v∗v^*v∗ is a hypothesis of the goal, so the hypotheses must not be contradictory. They are met by V=Y=RV=Y=\mathbb RV=Y=R, A=idA=\mathrm{id}A=id, f1(y)=y2/2f_1(y)=y^2/2f1​(y)=y2/2, f2=0f_2=0f2​=0, b=0b=0b=0, and a proper f2f_2f2​ excludes the degenerate reading in which every point "solves" (P)(\mathcal P)(P) with value +∞+\infty+∞.

A complete development needs: existence of minimizers of coercive convex l.s.c. functions on a Hilbert space; the subdifferential sum and chain rules under a continuity qualification; orthogonal projections onto closed ranges; and elementary facts about summable sequences. The saddle-point theory (Theorems 2.1–2.2) and the scalar lemma (3.23) are reusable beyond this mission. Proofs of any milestone are welcome, as are proofs of the goal by a different route.

Selected references

  • D. Gabay and B. Mercier, A dual algorithm for the solution of non linear variational problems via finite element approximation, IRIA Rapport de Recherche 126, 1975. https://hal.science/hal-04716124v1 ; journal version: Computers & Mathematics with Applications 2 (1976) 17–40, https://doi.org/10.1016/0898-1221(76)90003-1
  • R. Glowinski and A. Marrocco, Sur l'approximation, par éléments finis d'ordre un, et la résolution, par pénalisation-dualité, d'une classe de problèmes de Dirichlet non linéaires, RAIRO Analyse Numérique 9 (1975) 41–76. https://doi.org/10.1051/m2an/197509R200411
  • M. R. Hestenes, Multiplier and gradient methods, J. Optim. Theory Appl. 4 (1969) 303–320. https://doi.org/10.1007/BF00927673
  • I. Ekeland and R. Temam, Analyse convexe et problèmes variationnels, Dunod, 1974 (the paper's [E]).
  • J. Eckstein and D. P. Bertsekas, On the Douglas–Rachford splitting method and the proximal point algorithm for maximal monotone operators, Math. Programming 55 (1992) 293–318. https://doi.org/10.1007/BF01581204
  • S. Boyd, N. Parikh, E. Chu, B. Peleato and J. Eckstein, Distributed optimization and statistical learning via the alternating direction method of multipliers, Found. Trends Mach. Learn. 3 (2011) 1–122. https://doi.org/10.1561/2200000016
16 thms1 active userReviewed
Numerical AnalysisOperations Research·Captain: mikedeng1

Globally Convergent Inexact Newton Methods I: Inexact Newton Backtracking Converges to Every Limit Point Where F′ Is Invertible, That Point Is a Zero of F, and Initial Steps Are Eventually AcceptedResearch Paper

Motivation

Newton's method for a nonlinear system F(x)=0F(x) = 0F(x)=0, with F:Rn→RnF:\mathbb R^n\to\mathbb R^nF:Rn→Rn, solves the linear system F′(xk)sk=−F(xk)F'(x_k)s_k = -F(x_k)F′(xk​)sk​=−F(xk​) at every step. For large systems that solve is itself iterative (a Krylov method such as GMRES), and it is stopped early. The resulting inexact Newton methods, introduced by Dembo, Eisenstat and Steihaug (SIAM J. Numer. Anal. 19 (1982)), accept any step with ∥F(xk)+F′(xk)sk∥≤ηk∥F(xk)∥\|F(x_k)+F'(x_k)s_k\|\le\eta_k\|F(x_k)\|∥F(xk​)+F′(xk​)sk​∥≤ηk​∥F(xk​)∥, where the forcing term ηk∈[0,1)\eta_k\in[0,1)ηk​∈[0,1) controls how accurately the linear system is solved. Their theory is local: it applies once the iterates are near a solution with invertible derivative.

Practical solvers (Newton–Krylov codes in large-scale simulation, nonlinear solver libraries such as PETSc's SNES and SUNDIALS' KINSOL) combine such inexact steps with a globalization, most often backtracking along the step. Eisenstat and Walker (SIAM J. Optim. 4 (1994)) gave the global convergence theory for this combination: what can be said about the iterates from an arbitrary starting point, with no assumption that a solution exists or that F′F'F′ is invertible anywhere.

Timeline. Dembo, Eisenstat and Steihaug (1982) proved local convergence of inexact Newton methods. Dembo and Steihaug (Math. Program. 26 (1983)) studied truncated Newton methods for unconstrained minimization. Brown and Saad (1990) studied globalized Newton–Krylov methods with line searches and model trust regions, under the inner-product norm. Eisenstat and Walker (1994) gave the general framework treated here, for an arbitrary norm. Their 1996 paper (SIAM J. Sci. Comput. 17) proposed the forcing-term choices that are now standard.

Setting

Let EEE be Rn\mathbb R^nRn with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥, and let F:E→EF:E\to EF:E→E be continuously differentiable with derivative F′(x)F'(x)F′(x). A point x∗x_*x∗​ is a limit point of (xk)(x_k)(xk​) if every ball Nδ(x∗)={y:∥y−x∗∥<δ}N_\delta(x_*)=\{y:\|y-x_*\|<\delta\}Nδ​(x∗​)={y:∥y−x∗​∥<δ} contains xkx_kxk​ for infinitely many kkk.

Algorithm GIN (global inexact Newton method). Fix t∈(0,1)t\in(0,1)t∈(0,1). At each kkk, find a level ηk∈[0,1)\eta_k\in[0,1)ηk​∈[0,1) and a step sks_ksk​ with

∥F(xk)+F′(xk)sk∥≤ηk∥F(xk)∥(2.1),∥F(xk+sk)∥≤[1−t(1−ηk)] ∥F(xk)∥(2.2),\|F(x_k)+F'(x_k)s_k\|\le\eta_k\|F(x_k)\| \quad (2.1),\qquad \|F(x_k+s_k)\|\le[1-t(1-\eta_k)]\,\|F(x_k)\| \quad (2.2),∥F(xk​)+F′(xk​)sk​∥≤ηk​∥F(xk​)∥(2.1),∥F(xk​+sk​)∥≤[1−t(1−ηk​)]∥F(xk​)∥(2.2),

and set xk+1=xk+skx_{k+1}=x_k+s_kxk+1​=xk​+sk​. Condition (2.1) says that sks_ksk​ reduces the norm of the local linear model by the factor ηk\eta_kηk​. Condition (2.2) asks that ∥F∥\|F\|∥F∥ itself decrease by a fixed fraction ttt of that predicted reduction.

Algorithm MR (minimum reduction method). Fix ηmax⁡∈[0,1)\eta_{\max}\in[0,1)ηmax​∈[0,1) and 0<θmin⁡<θmax⁡<10<\theta_{\min}<\theta_{\max}<10<θmin​<θmax​<1. At step kkk, choose ηˉk∈[0,ηmax⁡]\bar\eta_k\in[0,\eta_{\max}]ηˉ​k​∈[0,ηmax​] and a curve σk\sigma_kσk​ with ∥F(xk)+F′(xk)σk(η)∥≤η∥F(xk)∥\|F(x_k)+F'(x_k)\sigma_k(\eta)\|\le\eta\|F(x_k)\|∥F(xk​)+F′(xk​)σk​(η)∥≤η∥F(xk​)∥ for ηˉk≤η≤1\bar\eta_k\le\eta\le1ηˉ​k​≤η≤1 (5.1). Start at ηk=ηˉk\eta_k=\bar\eta_kηk​=ηˉ​k​. While (2.2) fails for sk=σk(ηk)s_k=\sigma_k(\eta_k)sk​=σk​(ηk​), replace ηk\eta_kηk​ by 1−θ(1−ηk)1-\theta(1-\eta_k)1−θ(1−ηk​) for some θ∈[θmin⁡,θmax⁡]\theta\in[\theta_{\min},\theta_{\max}]θ∈[θmin​,θmax​]. Then set xk+1=xk+σk(ηk)x_{k+1}=x_k+\sigma_k(\eta_k)xk+1​=xk​+σk​(ηk​).

Algorithm INB (inexact Newton backtracking). Choose ηˉk∈[0,ηmax⁡]\bar\eta_k\in[0,\eta_{\max}]ηˉ​k​∈[0,ηmax​] and an inexact Newton step sˉk\bar s_ksˉk​ at level ηˉk\bar\eta_kηˉ​k​. While (2.2) fails, shorten the step, sk←θsks_k\leftarrow\theta s_ksk​←θsk​, and raise the level, ηk←1−θ(1−ηk)\eta_k\leftarrow1-\theta(1-\eta_k)ηk​←1−θ(1−ηk​). INB is MR with the backtracking curve σk(η)=1−η1−ηˉksˉk\sigma_k(\eta)=\frac{1-\eta}{1-\bar\eta_k}\bar s_kσk​(η)=1−ηˉ​k​1−η​sˉk​ (6.1).

An algorithm does not break down if it produces an infinite sequence of iterates, in particular if every while-loop exits.

Formalization targets

Goal: Theorem 6.1 (global convergence of Algorithm INB)

If Algorithm INB does not break down and x∗x_*x∗​ is a limit point of (xk)(x_k)(xk​) at which F′(x∗)F'(x_*)F′(x∗​) is invertible, then

F(x∗)=0,xk→x∗,sk=sˉk and ηk=ηˉk for all sufficiently large k.F(x_*)=0,\qquad x_k\to x_*,\qquad s_k=\bar s_k\ \text{and}\ \eta_k=\bar\eta_k\ \text{for all sufficiently large }k.F(x∗​)=0,xk​→x∗​,sk​=sˉk​ and ηk​=ηˉ​k​ for all sufficiently large k.

The statement assumes no solution, bounded level set, Lipschitz derivative or particular norm. The last clause says that backtracking eventually stops, so the local rate is governed by the forcing terms ηˉk\bar\eta_kηˉ​k​.

Milestones

In attack order:

  1. Lemmas 1.1 and 1.2. Continuity of y↦F′(y)−1y\mapsto F'(y)^{-1}y↦F′(y)−1 at an invertible point, and a uniform linearization error ∥F(z)−F(y)−F′(y)(z−y)∥≤ε∥z−y∥\|F(z)-F(y)-F'(y)(z-y)\|\le\varepsilon\|z-y\|∥F(z)−F(y)−F′(y)(z−y)∥≤ε∥z−y∥ near xxx.
  2. Theorem 3.3. If F(xk)→0F(x_k)\to0F(xk​)→0, the steps satisfy (2.1) with a fixed η\etaη, and ∥F(xk)∥\|F(x_k)\|∥F(xk​)∥ is nonincreasing, then an invertible limit point is a zero and the limit.
  3. Theorem 3.4. A GIN run with ∑k(1−ηk)=∞\sum_k(1-\eta_k)=\infty∑k​(1−ηk​)=∞ has F(xk)→0F(x_k)\to0F(xk​)→0, plus the conclusion of Theorem 3.3 at invertible limit points.
  4. Theorem 3.5. A GIN run converges to a limit point near which ∥sk∥≤Γ(1−ηk)∥F(xk)∥\|s_k\|\le\Gamma(1-\eta_k)\|F(x_k)\|∥sk​∥≤Γ(1−ηk​)∥F(xk​)∥ (3.2).
  5. Lemma 5.1. The while-loop terminates, with 1−ηk≥min⁡{1−ηˉk,θmin⁡δ/(Γ∥F(xk)∥)}1-\eta_k\ge\min\{1-\bar\eta_k,\theta_{\min}\delta/(\Gamma\|F(x_k)\|)\}1−ηk​≥min{1−ηˉ​k​,θmin​δ/(Γ∥F(xk​)∥)}.
  6. MR runs are GIN runs (§5).
  7. Theorem 5.2 for MR. Under ∥σk(η)∥≤Γ(1−η)∥F(xk)∥\|\sigma_k(\eta)\|\le\Gamma(1-\eta)\|F(x_k)\|∥σk​(η)∥≤Γ(1−η)∥F(xk​)∥ near a limit point x∗x_*x∗​ (5.6): F(x∗)=0F(x_*)=0F(x∗​)=0, xk→x∗x_k\to x_*xk​→x∗​, and ηk=ηˉk\eta_k=\bar\eta_kηk​=ηˉ​k​ eventually.
  8. INB runs are MR runs with the curve (6.1), and sk=σk(ηk)s_k=\sigma_k(\eta_k)sk​=σk​(ηk​) throughout the loop (§6).

Further items, which are not milestones: Corollary 6.2 (exact Newton with backtracking takes full Newton steps eventually), Theorem 5.2 for Algorithm TL, Lemma 3.1 (existence of acceptable GIN steps), and Proposition 2.1 (the Goldstein–Armijo alpha condition implies (2.2) in the Euclidean norm).

Significance

The result. Theorem 6.1 is the global convergence guarantee for the inexact Newton backtracking method that Newton–Krylov solvers implement. It separates three outcomes: the iterates diverge, they accumulate only at points where F′F'F′ is singular, or they converge to a solution with invertible derivative and eventually take the unmodified inexact Newton steps. In the third case the local theory of Dembo, Eisenstat and Steihaug applies from some iteration on, so the forcing terms alone set the convergence rate. Theorem 5.2 is the template: §§6–8 of the paper derive the convergence of backtracking, equality-curve and dogleg-type methods from it by verifying (5.6).

Formalizing it. The results are proved on paper and none of them has a machine-checked proof that we know of. The mission produces a library of algorithm-run predicates with explicit while-loops for inexact Newton methods. It also checks the paper's reduction chain (INB is a run of MR, MR is a run of GIN) and the global convergence theorems in an arbitrary finite-dimensional norm.

Difficulty

The obvious argument fails at both ends. Sufficient decrease (2.2) alone gives monotonicity of ∥F(xk)∥\|F(x_k)\|∥F(xk​)∥, but not convergence of the iterates. On the page, F(x)=x2−1F(x)=x^2-1F(x)=x2−1 admits sequences satisfying (2.2) with both ±1\pm1±1 as limit points. Convergence of ∥F(xk)∥\|F(x_k)\|∥F(xk​)∥ to 000 needs ∑(1−ηk)=∞\sum(1-\eta_k)=\infty∑(1−ηk​)=∞, and nothing in the algorithm states this. In Theorem 5.2 it has to be derived from the exit level of the while-loop, which depends on a neighbourhood of x∗x_*x∗​ where the linearization error is uniformly controlled. A solver must combine a limit-point argument (only infinitely many iterates are near x∗x_*x∗​, not all of them) with the loop's worst-case backtracking factor θmin⁡\theta_{\min}θmin​. The invertibility of F′(x∗)F'(x_*)F′(x∗​) enters only through the bound (5.6) for the backtracking curve, which must be established uniformly in kkk.

Formalization scope

  • Space and norm. EEE is a finite-dimensional real normed space ([NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E]). This is exactly "Rn\mathbb R^nRn with an arbitrary norm". Fin n → ℝ (sup norm) and EuclideanSpace would each fix one norm. Only Proposition 2.1 assumes an inner product space, as the page does.
  • Derivative. F′F'F′ is fderiv ℝ F, with ContDiff ℝ 1 F (the paper's standing assumption). Invertibility is ContinuousLinearMap.IsInvertible, and F′(x)−1F'(x)^{-1}F′(x)−1 is ContinuousLinearMap.inverse.
  • Runs. An algorithm that does not break down is a predicate on infinite sequences (IsGINRun, IsMRRun, IsINBRun, plus IsTLRun, IsENBRun). The steps and levels the algorithm says to "find" or "choose" are data constrained only by the stated conditions. A while-loop is recorded by its number of passes mkm_kmk​ and factors θk,j∈[θmin⁡,θmax⁡]\theta_{k,j}\in[\theta_{\min},\theta_{\max}]θk,j​∈[θmin​,θmax​]. Every trial before the last fails the loop's test and the last one passes it. Termination is part of the run.
  • Limit point is MapClusterPt xstar atTop x. "For all sufficiently large kkk" is ∀ᶠ k in atTop. The paper's "whenever xkx_kxk​ is sufficiently near x∗x_*x∗​ [and kkk is sufficiently large]" is ∃ Γ, ∃ δ > 0, [∃ K,] ∀ k [≥ K], x k ∈ ball xstar δ → …. Γ\GammaΓ precedes kkk ("independent of kkk"), and the "kkk large" clause appears only in (3.2), where the page has it.
  • Hypotheses as printed. Theorems 3.5 and 5.2 do not assume F′(x∗)F'(x_*)F′(x∗​) invertible. Theorem 5.2 does not assume ∑(1−ηk)=∞\sum(1-\eta_k)=\infty∑(1−ηk​)=∞. Lemma 5.1 is stated for one iteration of the loop shared by MR and TL, for every choice of factors.
  • Trivializing readings ruled out. A run predicate without the "rejected" clause would allow needless backtracking, and one without the "accepted" clause would drop (2.2). Both clauses are present. A sorry-free check (F = id on R\mathbb RR) confirms that the INB, GIN and ENB run predicates and the goal's hypotheses are satisfiable, so the goal is not vacuous.
  • Infrastructure. Continuity of operator inversion and uniform differentiability on neighbourhoods are in Mathlib. The run predicates and trial-level recursions are reusable for any line-search or backtracking analysis. Each milestone is stated independently; contributions in any order are welcome.

Selected references

  • S. C. Eisenstat and H. F. Walker, Globally Convergent Inexact Newton Methods, SIAM J. Optim. 4(2) (1994) 393–422. https://doi.org/10.1137/0804022
  • R. S. Dembo, S. C. Eisenstat and T. Steihaug, Inexact Newton Methods, SIAM J. Numer. Anal. 19(2) (1982) 400–408. https://doi.org/10.1137/0719025
  • R. S. Dembo and T. Steihaug, Truncated-Newton algorithms for large-scale unconstrained optimization, Math. Program. 26 (1983) 190–212. https://doi.org/10.1007/BF02592055
  • P. N. Brown and Y. Saad, Hybrid Krylov Methods for Nonlinear Systems of Equations, SIAM J. Sci. Stat. Comput. 11(3) (1990) 450–481. https://doi.org/10.1137/0911026
  • S. C. Eisenstat and H. F. Walker, Choosing the Forcing Terms in an Inexact Newton Method, SIAM J. Sci. Comput. 17(1) (1996) 16–32. https://doi.org/10.1137/0917003
  • J. E. Dennis and R. B. Schnabel, Numerical Methods for Unconstrained Optimization and Nonlinear Equations, SIAM Classics in Applied Mathematics 16 (1996). https://doi.org/10.1137/1.9781611971200
12 thms1 active userReviewed
Linear OptimizationOperations Research·Captain: mikedeng1

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

Motivation

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

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

Timeline.

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

Setting

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

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

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

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

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

Formalization targets

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

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

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

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

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

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

Milestones: explicit constants (pp. 264–265)

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

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