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×n matrix A and b∈Rm, exactly one of the following holds — (a) some x≥0 satisfies Ax=b, or (b) some p satisfies p′A≥0′ and p′b<0; such a p is a certificate of infeasibility, geometrically a hyperplane separating b from the cone of the columns of A. The mission also carries the cone-membership restatement (Corollary 4.3), the inequality form (Theorem 4.7: every solution of Ax≤b satisfies c′x≤d iff some p≥0 has p′A=c′ and p′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 q with pi=∑sqsrsi). 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 S and x∗∈/S there exists c with c′x∗<c′x for all x∈S), from which Farkas' lemma — and hence the duality theorem itself — follows geometrically.
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}, one sorts the constraints by the sign of the coefficient of xn — rewriting them as xn≥di+fi′xˉ, dj+fj′xˉ≥xn, or 0≥dk+fk′xˉ — and forms the polyhedron Q⊂Rn−1 whose constraints are all pairwise combinations dj+fj′xˉ≥di+fi′xˉ together with the constraints not involving xn. The capstone, Theorem 2.10, states that Q is exactly the projection Πn−1(P) of P onto its first n−1 coordinates: a value of xn 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) 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.
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 (n>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}
has an extreme point if and only if it does not contain a line, if and only if n of the vectors a1,…,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 P has at least one extreme point, then for any cost vector c either the optimal cost is −∞, or there is an extreme point of P 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 −∞ or attains an optimal solution, in stark contrast with nonlinear problems such as minimizing 1/x over x≥1. These results license the extreme-point search that the simplex method (Mission IV) performs.
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 0 and processing times and due dates are agreeable. That is the problem the paper writes 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 minimizer.
The batch machine
There are n jobs 1,…,n. Job i has a processing timepi and a due datedi, both natural numbers. The machine has capacityB≥1. A batch is a nonempty set of at most B jobs processed together. It occupies the machine for the processing time of its longest job,
t(P)=i∈Pmaxpi.
A batch schedule of a job set J is a sequence S=(P1,…,Pm) of pairwise disjoint batches covering J, processed in this order and back to back from time 0. Batch Pk and all of its jobs complete at C(Pk)=t(P1)+⋯+t(Pk). The makespan is Cmax(S)=C(Pm), and the maximum tardiness is
Tmax(S)=kmaxi∈Pkmaxmax{0,C(Pk)−di}.
A schedule is feasible when Tmax(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<pj implies di≤dj. A schedule is consecutive when every batch is a block {i,i+1,…,k} of indices and the blocks appear in increasing order.
Index the jobs so that d1≤⋯≤dn and p1≤⋯≤pn. Then for every 0≤j≤n,
f(j)=min{Cmax(S):S a batch schedule of jobs 1,…,j,Tmax(S)=0},
with min∅=∞. The minimum ranges over all schedules: any batching, any order. This is the paper's reading of f(j) as "the minimum completion time of jobs 1,…,j if they can be scheduled feasibly, and infinity otherwise".
Milestones
Lemma 3. With agreeable processing times and due dates, if a feasible schedule exists, then a feasible schedule in batch-EDD order exists.
Consecutive partition (justification of DP2). Under the index order above, if jobs 1,…,j can be scheduled feasibly, then some feasible schedule of minimum makespan is consecutive.
FBEDD. With equal processing times and due dates in index order, the Full-Batch EDD schedule {1,…,B},{B+1,…,2B},… has Tmax no larger than that of any batch schedule.
Significance
DP2 is the paper's feasibility test for 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. 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 pj for the last batch {i,…,j} and checks only di. 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=2, p=(3,1), d=(5,5) it gives f(2)=1, while every schedule takes at least 3. 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 i of the paper is index i−1); jobs 1,…,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 B 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.
∞ 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≤pj implies di≤dj", which would force equal due dates for equal processing times) becomes the strict form pi<pj⇒di≤dj, a weaker hypothesis;
"optimally solves" for FBEDD becomes "valid, and 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) and O[nBlog2(npmax)] running times, the bisection procedure, and the remark that npmax bounds 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
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∥∑wjUj 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=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≥1 jobs, processed by a single machine one immediately following the other from time 0. Job j has a nonnegative integer processing timeaj′, a nonnegative integer deadlinedj and a penaltypj≥0. A sequenceσ is an ordering of all jobs; job j completes at time Cj(σ), the total processing time of job j and the jobs before it. Job j is tardy in σ if Cj(σ)>dj, and the total loss of σ is
W(σ)=j tardy in σ∑pj,
the loss cj(t) being 0 for t≤dj and pj for t>dj.
The jobs are numbered by deadline, d1≤d2≤⋯≤dn. A 0–1 vector x (xj=1: job j on time; xj=0: tardy) is prefix-feasible if
a1′x1+⋯+ak′xk≤dk(k=1,…,n).
Equation (3) defines f(j,t) for j=0,…,n and integer t:
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))
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.
Section 6. Every sequence has a prefix-feasible x with ∑pj−∑pjxj≤W(σ), and every prefix-feasible x has a sequence with W(σ)≤∑pj−∑pjxj: the two problems have the same optimal value.
The goal follows from milestones 2 and 3 at j=n, t=dn.
Significance
The result is the exact algorithm for 1∥∑wjUj with running time proportional to ndn, 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 k that is tardy, the prefix constraint at k is not a completion-time constraint of any job, and only the monotonicity di≤dk for the last on-time job i≤k bounds it. Milestone 3 is a dynamic-programming correctness proof in which the cap f(j,t)=f(j,dj) for t>dj and the −∞ base cases must be tracked through a well-founded recursion on (j,t).
Formalization scope
Jobs are Fin n, 0-based: Lean job j is the paper's job j+1, and the paper's 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 0), which replaces the paper's permutation π; tardy jobs are the published MooreLateJobs.NumLate.lateSet (strictly dj<Cj). Processing times and deadlines are natural numbers, penalties real. Vectors x are Fin n → Bool. f takes values in WithBot ℝ, with ⊥=−∞ and p+⊥=⊥; +∞ never occurs.
Explicit readings of the paper's loose phrases:
Integer data: (3) steps t by 1 and subtracts aj′, so aj′ and dj are nonnegative integers.
Penaltiespj≥0 ("a penalty pj 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 −∞ for a maximum: f(0,t)=0 (t≥0), f(j,t)=−∞ (t<0). The dominated term 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) is finite and ∑pj−f(n,dn) is the least weighted number of tardy jobs (IsLeast over all schedules); n≥1 only so that dn 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′, αj(t)=0, bj=0, β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 x; the optimum is a minimum over sequences, not defined as f; (3) keeps its cap f(j,t)=f(j,dj); the goal assumes pj≥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
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 n 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 njobs1,…,n. Job j has a processing timeaj≥0 and a deadlinedj∈R. A sequenceσ lists every job exactly once; the machine starts at time 0 and processes the jobs in the order of σ, one after another, without idle time. The completion timeCj(σ) of job j is the sum of the processing times of j and of all jobs before it in σ. Job j is on time in σ if Cj(σ)≤dj.
Precedence constraints are a partial order ρ on the jobs (reflexive, antisymmetric, transitive). If iρj and i=j, job i must precede job j; such a j is a successor of i, and every job counts as one of its own successors. A sequence is consistent with ρ if no job appears before a job that must precede it. The jobs are numbered so that iρj implies i≤j.
For a number ε the modified deadline of job j is
dˉj=min{dk∣jρk}+jε,
the earliest deadline among j and its successors, plus a tie-breaking term. The paper takes ε to be "a small number"; here that means ε>0 and nε<dl−dk whenever dk<dl.
Formalization targets
Goal: the §2 Theorem (p. 78)
Let σ∗ be the sequence in which dˉj increases. Then
(∃σ consistent with ρ:Cj(σ)≤dj∀j)⟺Cj(σ∗)≤dj∀j.
Milestones (from §2 and the proof of the Theorem, p. 78)
For distinct jobs, iρj⇒dˉi<dˉj.
The sequence σ∗ is consistent with ρ (the "if" part of the Theorem).
If dˉj<dˉi, then j or some successor k of j has dk≤di.
In an on-time sequence consistent with ρ, two adjacent jobs i,j (in this order) with dˉi>dˉj can be interchanged, and the result is again on time and consistent with ρ.
Significance
The Theorem reduces a question over all n! sequences consistent with ρ to the evaluation of one sequence, and the sequence depends only on the deadlines and on ρ, 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 (ρ 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.
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 i completes when job j used to complete, but di need not be at least dj: one must find a successor of j that is later in the sequence, on time, and due no later than i. That step uses the smallness of ε: with a large ε the tie-breaking term outweighs a difference of deadlines, and the Theorem fails (three jobs without precedence, a=(2,4,3), d=(7,9,8), ε=3). Finally, the exchange step must be turned into a terminating transformation of an arbitrary feasible sequence into σ∗, a bubble-sort argument over lists.
Formalization scope
Jobs are Fin n, 0-based: the Lean job j is the paper's job j+1, and the tie-break is ((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 0, no idle time). Idle time never helps meet a deadline, so this loses nothing. Consistency with ρ is the published LawlerPrec.MinMax.IsFeasible.
The modified deadline minimizes over insert j {k | ρ j k}, which is nonempty; for the reflexive ρ of the paper this is {k∣jρk} ("considering a job to be one of its own successors").
Explicit readings of the paper's phrases:
"ε is a small number": ε>0 and nε<dl−dk whenever dk<dl. A fixed ε is quantified universally, not hidden under an existential.
"the sequence obtained by ordering jobs according to increasing values of dˉj": any duplicate-free list of all jobs along which dˉj strictly increases. Under the hypotheses the dˉj are distinct, so exactly one such list exists.
"iρj implies dˉi<dˉj": stated for i=j, since ρ is reflexive.
The pair condition "a consecutive pair with dˉi>dˉj" of milestone 3 is dropped, since the claim does not use it.
Added hypothesis: aj≥0. The paper uses it tacitly ("j 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). The goal assumes the full partial order of the paper.
Trivializing formalizations ruled out: ε=0 or an unconstrained ε; 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 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.
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
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), where fˉν averages a random integrand over ν 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),
where N 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 N: 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 Z be a separable Banach space with norm ∥⋅∥, and let ∣⋅∣ be the Euclidean norm on Rn and Rm. A multifunctionG:Z⇉Rn assigns a set G(z)⊆Rn to each z. Its graph is gphG and its inverse is G−1(x)={z∣x∈G(z)}.
For sets At indexed by t↓0, the upper limitlimsupAt consists of the points x with x=limxk, xk∈Atk for some tk↓0, and the lower limit of the points reachable along every such sequence. The contingent derivative of G at (z,x)∈gphG is the multifunction DG(z∣x) with
gphDG(z∣x)=t↓0limsupt−1[gphG−(z,x)].
G 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) as t↓0 and w′→w. A single-valued g is B-differentiable at z when t−1[g(z+tw′)−g(z)]→Dg(z)(w) in the same sense.
The deterministic problem is 0∈f(z,x)+N(x) with f:Z×Rn→Rm, data z and solution map J(z). At a reference pair (z∗,x∗) set F=f(z∗,⋅)+N. The analytical assumptions M.1–M.4 are as follows. f is jointly continuous and B-differentiable in each variable, with the z-derivative Dzf(z∗,x∗)strong (uniform in x near x∗). N is closed and proto-differentiable. F is subinvertible: 0∈F(x∗), and a closed-graph, convex-valued selection of F−1 near 0 passes through x∗. The contingent derivative DF−1(0∣x∗) is at most single-valued.
The statistical problem has i.i.d. random elements s1,s2,… of a measurable space S and an integrand f:U×S→Rm on a compact neighborhood U of x∗. It satisfies the probabilistic assumptions P.1–P.4: continuity in x, measurability in s, a finite second moment at one point, and a Lipschitz bound ∣f(x1,s)−f(x2,s)∣≤a(s)∣x1−x2∣ with Ea(s1)2<∞. The M-estimatexν is a measurable solution of
0∈fˉν(x)+N(x),fˉν(x)=ν1i=1∑νf(x,si),
and the true equation is 0∈Ef(x)+N(x) with F=Ef+N.
Formalization targets
Goal: Theorem 2.7 (asymptotic distribution of M-estimates)
Under P.1–P.4 on a compact neighborhood U of x∗, B-differentiability of Ef at x∗, and M.2–M.4 for F=Ef+N, every sequence of measurable solutions xν of (2.5) with xν→x∗ almost surely satisfies
ν[xν−x∗]DDF−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−1, and the Gaussian has the covariance of the integrand at x∗.
Milestones
Theorem 2.4 gives bounds in probability, P{∣xν−x∗∣>δ}≤P{αλ∥zν−z∗∥>δ}. Its proof uses the upper-Lipschitz property U∩F−1(y)⊆x∗+λ∣y∣B (a display of the proof).
Theorem 2.6 is the abstract limit theorem: if τν−1[zν−z∗]→Dw, then τν−1[xν−x∗]→DDF−1(0∣x∗)(−Dzf(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)), and a Lipschitz bound ∣x−x∗∣≤λ∥z−z∗∥ on U∩J(z).
Proposition A1, Corollary A2 and Theorem A3 concern the space Cm(U) under P.1–P.4. The integrand and the empirical means are random elements of Cm(U), and ν(fˉν−Ef) converges in distribution to a Gaussian element of 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 N is the normal cone of a polyhedron, 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 F at x∗, inverts the Jacobian and applies the delta method. Here F 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∗. 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ˉν, so convergence of fˉν at finitely many points is not enough. The central limit theorem must hold in the sup norm on 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 Z is a real normed space with [CompleteSpace Z] [SeparableSpace Z] where the paper says "separable Banach". Set limits are Kuratowski limits along filters (t↓0 is 𝓝[>] 0, and (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. s1 is s 0, empirical means sum over Finset.range ν, and (2.5) is required for ν≥1. F=Ef+N is empty off U. Convergence in distribution is Mathlib's TendstoInDistribution, with the limit on its own probability space. The law of w∗ is fixed through linear functionals: ⟨ℓ,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:
The paper states that an almost surely convergent sequence of solutions "converges to the point x∗" (Theorems 2.6 and 2.7). This is false when the true equation has a second solution: f(z,x)=x2−x−z, N≡{0}, z∗=x∗=0 satisfies M.1–M.4 with J(0)={0,1}. The formalization assumes xν→x∗ almost surely instead.
0∈F(x∗) (presupposed by DF−1(0∣x∗)) is explicit in Theorem 2.4 and the upper-Lipschitz display.
The threshold for "all sufficiently small δ" in Theorem 2.4 is chosen with U and λ, before the random elements.
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.
In the limit theorems, the single-valued map DF−1(0∣x∗) is a function L 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 L whose values lie in the contingent derivative of F−1. A statement asserting only that ν(xν−x∗) converges in distribution to some limit, or replacing 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)=x, N≡{0}).
A complete development needs Kuratowski set convergence and contingent derivatives (reusable across set-valued analysis), a central limit theorem in 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.
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∥∑wjUj. 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 n jobs, performed one at a time in the fixed order1,2,…,n. Job j can be performed in one of two modes. In the first mode it takes aj time units, and a lossαj(t) is incurred if it is completed at time t. In the other mode it takes bj time units, with loss βj(t). Times are nonnegative integers.
A mode assignmentm picks a mode for each job, which fixes its processing time pj∈{aj,bj}. A feasible timing of the first j jobs is a vector of completion times c1,…,cj with
ci−1+pi≤ci(i=1,…,j),c0=0,
so each job starts at time 0 or later and after its predecessor has finished; idle time between jobs is allowed. The total lossLj(m,c) is the sum of αi(ci) over the jobs i≤j in the first mode and of βi(ci) over the others. The problem asks for the mode assignment and timing of all n jobs that minimize Ln(m,c).
The paper's recursion is defined for j=0,…,n and integer t, with values in R∪{+∞}:
Milestone: Eq. (1) computes the constrained minimum
For 0≤j≤n and every integer t, let L(j,t) be the set of total losses of the first j jobs over all mode assignments and feasible timings with cj≤t. Then
f(j,t)=minL(j,t),
meaning: f(j,t)=+∞ exactly when L(j,t) is empty, and otherwise f(j,t) is an element of L(j,t) and a lower bound for it. No assumption is made on the losses.
Goal: f(n,T) solves the problem
If every αj and βj is monotone nondecreasing and
T=j=1∑nmax{aj,bj},
then f(n,T) is finite and equals the minimum of Ln(m,c) over all mode assignments and all feasible timings of the n jobs, with no deadline. This is the paper's sentence "The problem is solved by the calculation of f(n,T), where T is a sufficiently large number. For example, if all of the αj's and βj's are monotone nondecreasing, we may choose T=∑j=1nmax{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=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,⋅) refers to itself at t−1 as well as to 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=0, where f(j,−1)=+∞; zero processing times aj=0 or bj=0, where f(j−1,t−aj) is evaluated at the same t; and j=0, where the deadline constraint degenerates to 0≤t. The goal is harder than the milestone: the problem's feasible set is unbounded, and the horizon T is only sufficient under monotone losses. Without monotonicity the goal is false: one job with a=b=1, α(1)=5, α(t)=0 for t≥2 and β≡5 has optimum 0, attained only at completion time 2>T=1, while f(1,1)=5.
Formalization scope
Jobs are Fin n and 0-based: Lean job i is the paper's job i+1. The recursion f takes the number j∈{0,…,n} of jobs done; for j>n its value is +∞ and is never used.
Modes are Bool, with true the first mode (aj, αj). Processing times are natural numbers and may be 0. Losses are real-valued functions of the natural-number completion time.
Integer time is an explicit reading: the paper's recursion steps t by one, so time is discrete.
+∞ is ⊤ : WithTop ℝ, so x+(+∞)=+∞ as in the paper.
Idle time is allowed, and the first job starts at time 0 or later.
"Minimum total loss" is read as an attained least element of the set of total losses, with +∞ exactly when that set is empty. "The problem is solved by f(n,T)" is read as: 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 f; statements in which the optimum is f again, timings forced to have no idle time, an R-valued f with an arbitrary value for t<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
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
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 x 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±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∈R, an observation taken at x is a random number with distribution H(⋅∣x); the family depends measurably on x. The regression function is the mean observation,
M(x)=∫−∞∞ydH(y∣x),
and the observations have uniformly bounded variance: ∫(y−M(x))2dH(y∣x)≤S for all x. The function M is unimodal about an unknown point θ: strictly increasing for x<θ and strictly decreasing for x>θ.
Two sequences of positive numbers an (step sizes) and cn (probe widths) satisfy
cn→0,∑an=∞,∑ancn<∞,∑an2cn−2<∞,
for example an=n−1, cn=n−1/3. Starting from an arbitrary number z1, the Kiefer–Wolfowitz process is
zn+1=zn+ancny2n−y2n−1,
where, given everything observed so far, y2n−1 and y2n are independent with laws H(⋅∣zn−cn) and H(⋅∣zn+cn).
The paper imposes three regularity conditions on M:
Condition 1 (Lipschitz near θ): for some β,B>0, ∣x′−θ∣+∣x′′−θ∣<β and x′=x′′ imply ∣M(x′)−M(x′′)∣<B∣x′−x′′∣.
Condition 2 (bounded oscillation): for some ρ,R>0, ∣x′−x′′∣<ρ implies ∣M(x′)−M(x′′)∣<R.
Condition 3 (no flat regions away from θ): for every δ>0 there is π(δ)>0 such that ∣z−θ∣>δ implies ∣M(z+ε)−M(z−ε)∣/ε>π(δ) for all 0<ε<δ/2.
In the Lean development these objects are regFun H (M), 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→∞).
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
(3.6) The one-step identity for bn=E(zn−θ)2: bn+1=bn+2cnanEUn(zn)+cn2an2E(y2n−y2n−1)2, with Un(z)=(z−θ)(M(z+cn)−M(z−cn)).
(3.15)∑(an/cn)Nn converges, where Nn=EUn−(zn).
(3.18)liminfnE{Kn∣zn−θ∣}=0, with Kn=∣(M(zn+cn)−M(zn−cn))/cn∣.
After (3.19) Along any n1<n2<⋯ with E{Knj∣znj−θ∣}→0, znj→θ in probability.
(3.28) If N0 satisfies (3.25)–(3.27) for s>0, then E{(zn−θ)2∣zN0}<(zN0−θ)2+s for all n>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 M. The conditions are qualitative: no differentiability, no specific noise distribution, and the noise may change shape with x. 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 cn and the step an.
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−θ)2 decreases. It does not: the drift term 2cnanEUn(zn) is negative only on average and only once the probes straddle θ correctly, while the noise term cn2an2en is always positive and the finite-difference estimate of the slope has a bias of order cn. 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 M away from θ, 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.H is a Markov kernel Kernel ℝ ℝ. Every H(⋅∣x) has ∫y2dH<∞, so M and the variance in (2.2) are genuine integrals.
The process. On a probability space with a filtration (Fn), zn is Fn-measurable, the pair (y2n−1,y2n) is Fn+1-measurable, and P(y2n−1∈A,y2n∈B∣Fn)=H(A∣zn−cn)H(B∣zn+cn) a.s. for all Borel A,B. This is the reading of "independent chance variables with respective distributions H(y∣zn−cn) and H(y∣zn+cn)". The starting point z1 is a deterministic number.
Indices are 0-based: Lean's z 0 is z1, a n, c n are an+1, cn+1.
Condition 1 as printed has a strict inequality that fails at x′=x′′, which makes it unsatisfiable; the formalization adds x′=x′′. Condition 3's infimum over 21δ>ε>0 is stated pointwise, which is equivalent since π(δ) is existential, with π(δ) uniform in z.
Explicit readings of loose phrases. "For n sufficiently large" in (3.10)–(3.12) is the hypothesis cn<ρ/2; conditioning "on zn" or "on zN0=z" is conditioning on Fn or FN0; "converges stochastically" is Mathlib's TendstoInMeasure; "liminf=0" for a nonnegative sequence is "below every ε>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 0.
Ruled out. A formalization in which the observations are arbitrary random variables not tied to H, in which ∑an=∞ is dropped, or in which π(δ) may depend on z, would make the goal false or a different theorem; the hypotheses here are jointly satisfiable (checked for H(⋅∣x)=δ−∣x∣, θ=0, an=n−1, cn=n−1/3).
Not formalized. The remark on p. 463 that truncating zn±cn to an interval [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
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
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≥1 jobs and three machines A, B, C. Job i needs time ai on A, then bi on B, then ci on C. Following Johnson, only permutation schedules are considered: a full sequence is a permutation σ of the jobs, processed in that order on all three machines, each operation starting as early as possible. Its makespan is the time machine C finishes the last job.
A nodeJr is a partial sequence: an ordered list of r distinct jobs. Its unscheduled setJˉr is the set of the other n−r jobs. The attributes TIMEA(Jr), TIMEB(Jr), TIMEC(Jr) are the times at which machines A, B, C finish the jobs of Jr processed in order. A full sequence begins withJr when its first r positions are Jr. The lower bound of a node with Jˉr=∅ is
The branch-and-bound procedure keeps a list of nodes ranked by LB, 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−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(σ)∀σ,
where σP is P 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
Validity of the bound (p. 401): LB(Jr)≤makespan(σ) for every σ beginning with Jr, r<n.
Exactness at depth n−1 (general form of an observation on p. 403): for r=n−1, LB(Jn−1) equals the makespan of the completed sequence.
Node counts (p. 403): at least 21n(n+1) nodes are created before stopping, at most 1+n+n(n−1)+⋯+n! are ever created, and the list never holds more than n! nodes.
Dominance (pp. 403–404): if Jr and Ir contain the same jobs, TIMEA(Jr)=TIMEA(Ir); if also TIMEB(Jr)≤TIMEB(Ir) and TIMEC(Jr)≤TIMEC(Ir), replacing Ir by Jr at the beginning of any sequence does not increase its makespan, and LB(Jr)≤LB(Ir) (p. 404).
The 4-job example (pp. 402–403): the run stops after 6 steps with node 231 first, whose bound 62 is the optimal makespan.
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 21n(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 i is i−1), processing times are arbitrary reals with no sign condition, and full sequences are Equiv.Perm (Fin n). The makespan is the machine-C 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 are Finset.inf'; on an empty set the auxiliary minimum returns a placeholder 0 that no statement evaluates.
Explicit readings of the paper's phrases:
"is a lower bound … for any node that emanates from node P" is "≤ the makespan of every permutation whose first r positions are Jr";
"a node that has scheduled all n jobs" is read as a node with n−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 LB all require this reading;
"the problem is solved: that node's sequence is an optimal one" is termination together with optimality over all n! permutations;
"cannot be hurt by replacing Ir with Jr" compares the completions of Jr and Ir 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
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, 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)=0 as the two inequalities hj(x)≤0 and −hj(x)≤0, destroys the content of the conditions: every feasible point then satisfies them with uˉ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 for inequality constraints, under a constraint qualification.
1948, F. John: the multiplier rule with uˉ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 En be n-dimensional Euclidean space, and let θ,g1,…,gm,h1,…,hk:En→R be functions with continuous first partial derivatives on En. The program is
The feasible set is S={x∈En:gi(x)≤0,i∈M,hj(x)=0,j∈K}. A point xˉ is a solution of (1.1) if xˉ∈S and θ(xˉ)≤θ(x) for all x∈S. The active set at xˉ is Mˉ={i∈M:gi(xˉ)=0}. The gradient of f at xˉ is ∇f(xˉ), and y′z denotes the inner product.
The generalized Fritz John conditions hold at xˉ if there are uˉ=(uˉ0,uˉ1,…,uˉm) and vˉ=(vˉ1,…,vˉk) with
No regularity of the constraints is assumed. The nontriviality requirement covers uˉ0, the uˉi and the vˉj together.
Milestones
Motzkin's transposition theorem (p. 39): for real matrices A,B,C with A nonempty, exactly one of y′A<0,y′B≤0,y′C=0 and Az1+Bz2+Cz3=0,z1≥0,z1=0,z2≥0 is solvable.
Lemma 1 (pp. 39–40): if fi(xˉ)=0, hj(xˉ)=0 at some xˉ in an open set D, no x∈D has fi(x)<0 for all i and hj(x)=0 for all j, and the ∇hj(xˉ) are linearly independent, then no y has y′∇fi(xˉ)<0 and y′∇hj(xˉ)=0.
Lemma 2 (p. 40): under the same assumptions, without independence, there are rˉ≥0 and sˉ, not both zero, with ∑rˉi∇fi(xˉ)+∑sˉj∇hj(xˉ)=0.
D is open (p. 41): D={x:gi(x)<0,i∈M∖Mˉ} is open.
The reduction (pp. 41–42): at a solution xˉ of (1.1), xˉ∈D and the system θ(x)−θ(xˉ)<0, gi(x)<0 (i∈Mˉ), hj(x)=0 has no solution in D.
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 (i∈Mˉ), yˉ′∇hj(xˉ)=0 and independent ∇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ˉ is a minimizer, no direction y strictly decreases θ and every active gi 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ˉ)=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ˉ) are independent, and it needs a curve inside {h=0} along which the strict inequalities persist: the implicit function theorem, applied on an open set, with care that the curve stays in D. The linearly dependent case must be handled separately, and it is the only place the multipliers vˉ can be nonzero with uˉ=0.
Formalization scope
En is EuclideanSpace ℝ (Fin n), the inner product y′z is inner ℝ y z, and ∇f(xˉ) is Mathlib's gradient f xbar. "Continuous first partial derivatives on En", 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 D, as on the page. Indices i∈M and j∈K are Fin m and Fin k, 0-based; m=0 and k=0 are allowed. The multiplier vector uˉ∈Em+1 is split into u0 : ℝ and u : Fin m → ℝ, and (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 S, 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ˉ), does not mention D or Lemma 1, and requires (uˉ,vˉ)=0 with uˉ0 included; a formalization that drops uˉ0 from the nontriviality condition is false at m=k=0, and one that requires uˉ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 C1 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
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} with N>0. Each state i has its own finite, nonempty set A(i) of admissible actions. Choosing a∈A(i) earns the real reward ria immediately and moves to state j with probability piaj. The rows are stochastic: piaj≥0 and ∑jpiaj=1. This is the chapter's standing assumption, stated at the opening of §5.2 (Kallenberg, p. 162).
A policyR∈C assigns a probability distribution on the actions available at the current state after every finite history. Thus C includes randomized and history-dependent decisions. A pure stationary policyf∞∈CD instead fixes one action f(i)∈A(i) for each state and uses it in every period. Time starts at t=1. From initial state i, let vit(R) be expected reward in period t, and let viα(R)=∑t≥1αt−1vit(R) be expected discounted reward for 0≤α<1. The optimal discounted value viα is the supremum of viα(R) over allR∈C, taken separately for each state.
The average reward is ϕi(R)=liminfT→∞T−1∑t=1Tvit(R); its optimal value ϕi is again the statewise supremum over C. The corresponding limsup is ϕ^i(R). A policy is average optimal when ϕi(R)=ϕi at every state. It is bias optimal when viα(R)−viα→0 as α↑1 at every state (Kallenberg, pp. 21–23 and 161).
For a pure stationary f, write P(f)ij=pi,f(i),j and r(f)i=ri,f(i). The stationary matrixP∗(f) is the Cesàro limit of the powers of 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).
The gain of f∞ is ϕ(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∗∞. It asserts that the following are equivalent: (i) f∗∞ is bias optimal against the value over all C; (ii) for every f∞∈CD, the vector limit limα↑1(vα(f∗∞)−vα(f∞)) exists and is nonnegative; (iii) f∗∞ is average optimal and, at every state i, its bias is maximal among pure stationary policies optimal at that state; and (iv) for every f∞∈CD, the vector limit
T→∞limT1t=1∑Ts=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 +∞, which satisfies the displayed inequality. The period rewards vs 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. 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) by the upper average reward ϕ^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 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∗ and D apply to one fixed stationary matrix. This is the obstacle in passing from clause (i), which compares with all C, to the tests against CD. 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>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); no measure-theoretic path space is needed. Discounted rewards use a real infinite sum for α 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 CD.
The matrix P∗ is a Cesàro limit and D 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=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.
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} be a nonempty finite state space. At state i, one chooses an action from the nonempty finite set A(i). Action a∈A(i) earns a real reward ria and moves to state j with probability piaj≥0. The sum ∑jpiaj is at most one; any missing probability represents termination. Positive dynamic programming imposes ria≥0 for every admissible state-action pair Kallenberg, Section 2.2 and Assumption 3.5.1.
A policyR=(π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 C for this full policy class. A pure stationary policy f∞ always chooses one fixed admissible action f(i) whenever it visits i.
Starting from state i, let vi(R) be the expected total reward of R, and let vi=supR∈Cvi(R). Because the rewards are nonnegative, the finite-horizon expected totals increase to vi(R); both policy and optimal values may be +∞. A real vector w=(wi) is TMD superharmonic if wi≥ria+∑jpiajwj for each i and a∈A(i)Kallenberg, Definition 3.3.1.
For given weights βj>0, equation (3.5.2) is a linear program over nonnegative state-action flows xia. It maximizes ∑i,ariaxia subject to
Theorem 3.5.1 identifies v as the smallest nonnegative TMD-superharmonic vector. The original superharmonic definition ranges over real vectors; the value must also be allowed to take +∞. The formal statement gives both the extended superharmonic inequalities for v and its componentwise bound by every nonnegative real superharmonic vector:
0≤vi,vi≥ria+j∑piajvj,vi≤wifor every nonnegative real superharmonic w.
The main goal is Theorem 3.5.2. Suppose 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 f choosing xi,f(i)∗>0 on Ex∗, with arbitrary admissible actions outside Ex∗, is total optimal:
vi(f∞)=vi=R∈Csupvi(R)(i∈E).
The goal records the finite-optimum case by requiring an actual optimal solution 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 C 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>0, and each 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) 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 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.
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 E be a nonempty finite state set. Each i∈E has a finite nonempty set A(i) of available actions. If action a∈A(i) is chosen, the next state is j with probability piaj≥0, with ∑jpiaj=1. Conditional on j, the nonnegative time until that transition has distribution Fiaj. The action earns a lump reward ria immediately and a reward rate 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 λ. The factor applied after elapsed time t is e−λt. Assumption 7.2.1 requires the Laplace–Stieltjes transform of each conditional holding-time law to satisfy
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
A policyR 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) be the expected sum of discounted lump and rate rewards from initial state i, as in equation (7.2.1). The DRD value vector is viλ=supRviλ(R), with the supremum over this full policy class. A real vector w is DRD-superharmonic when
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).
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) 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 with no mass on negative times. This includes arbitrary distributions on [0,∞) and permits an atom at zero. The model stores stochastic transition rows, lump rewards, and rate rewards. The discounted layer stores λ>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, 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.
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) 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 N jobs J1,…,JN. Job i must be started when the state of the machine is Ai and leaves the machine in state Bi; the jobs are numbered so that j>i implies Bj≥Bi. Two cost densitiesf,g:R→R satisfy f(x)+g(x)≥0: raising the state through x costs f(x) per unit, lowering it costs g(x) per unit. The changeover cost of having job j follow job i is
A permutationψ of the jobs assigns to each job i its successor ψ(i) and has cost c(ψ)=∑iciψ(i). It is a tour if ψ(s)=s for every nonempty proper subset s of the jobs, i.e. if it is a single cycle through all jobs.
A permutation φranks the A if j>i implies Aφ(j)≥Aφ(i). The interchangeαij swaps i and j; applying it to ψ gives ψαij (first αij, then ψ), which exchanges the successors of i and j, at cost cψ(αij)=c(ψαij)−c(ψ). The graph Gφ links i and φ(i) for every i; a spanning tree of Gφ is a minimal set of additional arcs Rij that makes it connected, with cost ∑cφ(αij). Node q is of type 1 if Bq≤Aφ(q) and of type 2 otherwise.
Given a minimal cost spanning tree τ of Gφ made of arcs Rq,q+1, the tour ψ∗ is obtained from φ by executing the interchanges αq,q+1, Rq,q+1∈τ, first those of type 1 in decreasing order of q, then those of type 2 in increasing order of q.
Formalization targets
Goal: Theorem 5
ψ∗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,g; it asserts that the specific tour produced by the algorithm is optimal among all tours.
Milestones
In the order the proof uses them:
Theorem 1: c(φ)=minψc(ψ) over all permutations.
Eq. (11): under Bj≥Bi, Aψ(j)≥Aψ(i), the cost of αij is ∫[Bi,Bj]∩[Aψ(i),Aψ(j)](f+g).
Lemma 1: an interchange between two different cycles merges them.
Theorem 2: the interchanges of a spanning tree, in any order, turn ψ into a tour.
Lemma 2: some minimal cost spanning tree of Gφ uses only arcs Ri,i+1.
Lemma 5: adjacent interchanges executed on φ in the stated order have additive cost.
Theorem 3: ψ∗ is a tour of cost c(φ)+cφ(τ).
Theorem 4: c(ψ)≥c(φ)+c∗(ψ) for every permutation, with the underestimate c∗ of (17).
Lemma 7: for a tour ψ the graph Gψ∗ is connected.
Lemma 8: conditions (22a) and (22b) hold for equally many indices.
Eq. (28): c∗(ψ)≥cφ(τ) for every tour ψ.
Off the goal's path: Theorem 7, a minimal tour for (f,g) is minimal for (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−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 ψ∗ is not simply 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 φ by tree interchanges, so the lower bound needs the separate underestimate c∗ and a counting argument relating every tour to a spanning tree of Gφ. Neither step follows from general minimum spanning tree theory.
Formalization scope
Jobs are Fin (n + 1) (N=n+1≥1), so the paper's job i is index i−1; the adjacent arc 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 is ψ * Equiv.swap i j (Mathlib's composition, "first αij, then ψ"). Costs are real; (1) uses oriented interval integrals and (17) set integrals.
Explicit readings of the paper's loose phrases:
"any integrable functions f,g" is read as local integrability on R, with f+g≥0 the only sign condition;
"proper subsets s" 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 α's in a particular order" (Lemma 5) is the explicit order of its proof;
ties among the A leave φ non-unique; every statement holds for every ranking φ.
The order of ψ∗ 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 φ; ψ∗ is constructed from φ and τ, not taken as an arbitrary tour of the right cost; τ is both inclusion-minimal and cost-minimal; and the costs keep both branches of (1) with general densities, not 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
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} with N>0. In state i player I chooses an action a from a finite nonempty set A(i) and player II an action b from a finite nonempty set B(i). Player I then receives riab from player II, and the next state is j with probability piabj≥0, where ∑jpiabj≤1.
A history at time t is (i1,a1,b1,…,it−1,at−1,bt−1,it). A policyR1 of player I chooses, at each time and history, a probability distribution on A(it); policies R2 of player II are defined likewise. A policy is stationary, written π∞ or ρ∞, if the distribution depends only on the current state. With vit(R1,R2) the expected reward in period t from initial state i, the total reward is vi(R1,R2)=∑t≥1vit(R1,R2).
A pair (R1∗,R2∗) is optimal if, componentwise,
v(R1,R2∗)≤v(R1∗,R2∗)≤v(R1∗,R2)for all policies R1,R2,(6.1.1)
and then val(TMG):=v(R1∗,R2∗) is the value of the game.
Assumption 6.2.1 (contraction). There are μ≫0 and α∈[0,1) with ∑jpiabjμj≤αμi for all i, a∈A(i), b∈B(i). The discounted game is the case μ=e.
Assumption 6.2.2 (single controller).piabj does not depend on b; it is written piaj.
For a stationary ρ write ria(ρ)=∑briabρib and piaj(ρ)=∑bpiabjρib. A vector y is TMG-superharmonic if some stationary ρ∞ of player II satisfies yi≥ria(ρ)+∑jpiaj(ρ)yj for all a∈A(i), i∈E. For weights βj>0 the two linear programs are
Under Assumptions 6.2.1 and 6.2.2, let (y∗,ρ∗) and (x∗,z∗) be optimal solutions of (6.2.1) and (6.2.2), and πia∗:=xia∗/∑axia∗. Then
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
Theorem 6.2.1 (Shapley): under Assumption 6.2.1 both players have stationary optimal policies.
Theorem 6.2.2: under Assumption 6.2.1, val(TMG) is the smallest TMG-superharmonic vector.
Theorem 6.2.4 (i): for a stationary π∞ of player I, xia(π)=[βT(I−P(π))−1]iπia and zi(π)=minbrib(π)∑axia(π) give a feasible point of (6.2.2) with ∑izi(π)=minρ∑jβjvj(π∞,ρ∞).
Theorem 6.2.4 (ii): every feasible (x,z) of (6.2.2) has x=x(π) and z≤z(π) for πia=xia/∑axia.
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.E is Fin N with N>0. Actions live in finite types α, β, and A(i), B(i) are nonempty Finsets. Rows are substochastic.
Policies. A history in Hn+1 is a record of n+1 states and n 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) (resp. B(i)). Optimality means feasible and attaining the min/max over the feasible set. The common piaj is piab0j for a fixed b0∈B(i), and Assumption 6.2.2 makes the choice irrelevant. β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
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
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} be a nonempty finite state set. Each state i has a finite nonempty set A(i) of available actions. If action a∈A(i) is selected, the system earns the real reward ria and then moves to j with probability piaj≥0. The row sum ∑jpiaj 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 policyR 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) in each state. These four classes are denoted C, CM, CS, and CD. The first decision occurs at time t=1 in the book.
Write PR(Xt=j,Yt=a∣X1=i) for the chance of being in state j and choosing action a at time t, given initial state i. 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).
For such a policy, its expected total reward 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}, 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. The linear program (3.3.7) maximizes ∑i,ariaxia over nonnegative state-action arrays satisfying the flow equations
i∈E∑a∈A(i)∑(δij−piaj)xia=βj(j∈E).
Its feasible set is P. A transient stationary rule π has an occupation vectorx(π), where xia is the β-weighted expected number of visits to state-action pair (i,a). Theorem 3.3.3 identifies transient stationary rules bijectively with P 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, 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∗ is an extreme optimal solution of that program and f∗(i) is the action with xif∗(i)∗>0, then the pure stationary policy f∗∞ is transient and
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 w 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 β 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>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 β is strictly positive. The goal does not normalize β 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 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∗∞ only with stationary (or Markov) policies, or that identifies the classes C, CM, CS, CD, 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.
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′. Row 0 represents the objective variable w; rows 1,…,m represent x1′,…,xm′. Column 0 holds constants; columns 1,…,n multiply the negatives of the variables t1′,…,tn′. A solution of (2) is a pair (x′,t′) satisfying
xi′=ai,0′+j=1∑nai,j′(−tj′),0≤i≤m.
The original integer program requires w=x0′, every xi′, and every tj′ to be nonnegative integers. The simplex solution of this tableau has t′=0 and xi′=ai,0′. It is a real tableau solution, whether or not any of its coordinates are integers.
Choose a row i0 whose constant ai0,0′ is not an integer. For each coefficient let ni0,j′=⌊ai0,j′⌋ be the greatest integer at most that coefficient, and let fi0,j′=ai0,j′−ni0,j′ be its fractional part. Equation (3) defines a new variable
s1=−fi0,0′−j=1∑nfi0,j′(−tj′).
The augmented system (2)* adds this equation to the tableau. Feasibility now also requires s1≥0; an integer solution additionally requires s1∈Z. For example, the one row relation x′=21−21t′ admits the integer solution (x′,t′)=(0,1), and its cut value is s1=0. At the simplex point t′=0, the same cut value is −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 and I2∗ for the two sets of nonnegative integer solutions, the correspondence is
(x′,t′)∈I2⟺(x′,t′,s1(x′,t′))∈I2∗.
Every member of I2∗ has the displayed cut value for s1, and the projection that drops s1 leaves w unchanged. Consequently a real W is the greatest attained w 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 s1 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′ when the nonbasic variables are nonnegative, but that inequality alone does not give s1≥0: the right side is negative for the chosen row. The key additional statement is that the real expression for s1 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=0 and n=0; row 0 is w, column 0 is the constant column, and Lean's Fin n index j denotes the paper's tj+1′. The selected row can be row 0 in Lean. Gomory chooses a constraint row, but the local cut argument needs only the selected row's variable to be integral, and w is integral in the stated problem. Every variable, including w and the added s1, 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 attainedw 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 w, and equivalence of greatest attained w 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+2 equation bound and deletion of re-entering s 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.
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 f of n variables using only function values, gradients and a few vectors of storage. They are the method of choice when n 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 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. 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<21 generates descent directions and satisfies liminf∥gk∥=0. Touati-Ahmed and Storey (1990) treated nonnegative hybrids. Gilbert and Nocedal (1990) extended Al-Baali's theorem to every βk with ∣βk∣≤βkFR, which admits negative values and yields a convergent modification of the Polak–Ribière method.
Setting
Let E be a finite-dimensional real inner product space and f:E→R continuously differentiable, with gradient g=∇f for that inner product. Starting from x1, the method generates
d1=−g1,dk=−gk+βkdk−1(k≥2),xk+1=xk+αkdk,
where gk=g(xk), βk is a scalar and αk>0 a steplength found by a one-dimensional search. The Fletcher–Reeves and Polak–Ribière scalars are
and the strong Wolfe conditions if the second inequality is replaced by ∣⟨g(xk+αkdk),dk⟩∣≤−σ2⟨gk,dk⟩. The angle θk between −gk and dk is given by cosθk=−⟨gk,dk⟩/(∥gk∥∥dk∥), and the Zoutendijk condition is ∑k≥1cos2θ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)
and steplengths satisfying the strong Wolfe conditions with 0<σ1<σ2<21,
k→∞liminf∥gk∥=0.
The sequence βk is arbitrary within the bound; the statement contains no constants.
Milestones
Theorem 2.1 (i) (Zoutendijk): for any iteration xk+1=xk+αkdk with descent directions and Wolfe steps, ∑k≥1cos2θk∥gk∥2<∞.
Lemma 3.1: under ∣βk∣≤βkFR and the strong Wolfe curvature condition with σ2<21, every dk is a descent direction and
−j=0∑k−1σ2j≤∥gk∥2⟨gk,dk⟩≤−2+j=0∑k−1σ2j.
(3.5): there are c1,c2>0 with 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 dk) and the convergence of the hybrid method (3.7), β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, only on the bound ∣βk∣≤βkFR. Its main consequence is the hybrid method (3.7), which keeps the Polak–Ribière choice whenever it lies in [−β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 bounded away from zero and apply Zoutendijk's condition. For conjugate gradient methods this fails: dk accumulates previous directions and cosθk can tend to zero. The argument must instead control the growth of ∥dk∥, which requires bounding ⟨gk,dk−1⟩ through the line search, and this in turn requires knowing that every dk is a descent direction with ⟨gk,dk⟩ comparable to ∥gk∥2. The threshold σ2<21 is exactly what keeps the geometric series in these bounds below 2; 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 f globally C1, from (1.1) "f is smooth", in addition to Assumptions 2.1 (bounded level set; C1 and Lipschitz gradient on an open neighbourhood N of L, with L>0).
Steplengths are positive, as in the paper's line searches.
βk is a free sequence constrained by ∣βk∣≤βkFR, not the Fletcher–Reeves formula. Fixing βk=βkFR would state Al-Baali's theorem instead.
Division: βFR, βPR, cosθk are Lean divisions (value 0 on a zero denominator). Theorem 3.2 does not assume gk=0; Lemma 3.1 and (3.5) assume it, since the paper divides by ∥gk∥2 there and descent is impossible at gk=0.
Zoutendijk's sum is the summability of ⟨gk,dk⟩2/∥dk∥2, which equals cos2θk∥gk∥2 under descent.
liminf is stated as: for every ε>0 and K there is k≥K with ∥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/2 on R, x1=1, βk=0, αk=0.9, σ1=0.1, σ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. Zoutendijk's theorem is reusable for any descent method. Proofs of any item, and alternative arguments, are welcome.
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
D. Touati-Ahmed, C. Storey, Efficient hybrid conjugate gradient techniques, J. Optim. Theory Appl. 64 (1990) 379–397. https://doi.org/10.1007/BF00939455
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 E be a finite nonempty state space of size N. For every state i, let A(i) be a nonempty finite set of actions. Choosing a∈A(i) gives the transition number piaj≥0 to state j, with ∑jpiaj≤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 policyR specifies, at each epoch t≥1, a probability distribution on A(it) after the full history (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∞ chooses a single admissible action f(i) in state i at every epoch. Write PR(Xt=j∣X1=i) for the probability of state j at epoch t from initial state i. The policy is transient when ∑t≥1PR(Xt=j∣X1=i)<∞ for every pair i,j. Kallenberg, pp. 20–23.
The finite-horizon survival recursion starts from yi0=1 and sets yit=maxa∈A(i)∑jpiajyjt−1 for t≥1. A model is contracting if there is a strictly positive vector μ and a scalar 0≤c<1 for which ∑jpiajμj≤cμi for every admissible (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, Theorem 3.2.4 states the equivalence of: transience of every pure stationary policy; transience of every policy; maxiyiN<1; contraction; and existence of a finite solution of
“Finite solution” means an attained finite optimum. The βj are arbitrary positive right-hand sides, not a choice that the theorem is allowed to make after seeing the model. The state count N is the exponent in yN, 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:
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) of any policy or of any countable mixture of policies.
Lemma 3.2.1: under Assumption 3.2.1, limα↑1viα(R)=vi(R) in [−∞,+∞].
Theorem 3.2.1: under Assumption 3.2.1 there is a pure stationary policy f∞ with v(f∞)=v, where vi=supRvi(R).
Theorem 3.2.2: if v is p-summable, then vi=maxa∈A(i){ria+∑jpiajvj}.
Theorem 3.2.3: if some policy is transient, some pure stationary policy is transient.
Lemma 3.2.2: yit=supR∑jPR(Xt+1=j∣X1=i), attained by the policy (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)=limT∑t≤Tvit(R) exists in [−∞,+∞]; 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 N 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<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, and finite value includes attainment. Kallenberg, pp. 41–45.
Formalization scope
States are Fin N with N>0, and actions form one finite ambient type with a nonempty admissible subset A(i) at each state. Transitions are real nonnegative numbers with row sums at most one. Epoch t=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 of extended reals are only asserted for p-summablex, where no +∞ and −∞ meet with positive coefficients; the convention 0⋅(±∞)=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 μ and requires 0≤c<1; it does not normalize μ to the all-ones vector. The N-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
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 E be a nonempty finite set of states. Each i∈E has a nonempty finite action set A(i). Taking a∈A(i) earns a real reward ria and moves to j with probability piaj≥0. A row may sum to less than one; the missing probability is termination. A policyR specifies a probability distribution over A(i) after every finite history ending in i. 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) in each state. These are the classes C, CM, CS, and CD of §2.2 (Kallenberg 1983, pp. 19–21).
The standing contraction assumption supplies weights μi>0 and 0≤α<1 with
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 β, with βi≥0 and ∑iβi=1, write xja(R) for the expected total number of visits to state j at which action a is chosen, averaged over the initial state. Let K, K(M), K(S), and K(D) collect these frequency vectors for the four policy classes. The frequency polytopeP consists of nonnegative vectors x satisfying conservation of expected flow at each state:
a∈A(j)∑xja−i∈E∑a∈A(i)∑piajxia=β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, 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.
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) 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 P 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 K with P therefore skips the main issue. Moreover, the stationary-policy correspondence is one-to-one only when every initial weight is positive. When β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=0 represents the book's period t=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.
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⟩, where A is a differential operator and f is non-smooth: an obstacle, a friction term, a plasticity threshold. Splitting the variable, y=Av, separates the linear operator from the non-smooth function, and a Lagrange multiplier for the constraint Av−y=0 turns the problem into a sequence of two simpler ones: a linear system in v and a pointwise nonlinear problem in y. 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 ρ anywhere in (0,2r), where r 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<ρ<2r under strong monotonicity of 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.
Setting
V and Y are real Hilbert spaces; (⋅,⋅) and ∣⋅∣ are the inner product and norm of Y, ∥⋅∥ the norm of V. A:V→Y is a continuous linear operator and b is a continuous linear functional on V, with value ⟨b,v⟩ at v. The dual of Y is identified with Y. The function f:Y→(−∞,+∞] is a sum f=f1+f2 where
f1:Y→R is convex and continuously differentiable, and its gradient is strongly monotone: (f1′(y)−f1′(z),y−z)≥γ∣y−z∣2 for some γ>0 (2.3);
f2 is proper (never −∞, somewhere finite), convex and lower semicontinuous;
∣Av∣2≥α2∥v∥2 for some α>0 (2.5);
some Av0 lies in the interior of domf2={y:f2(y)<+∞} (qualification).
The problem is
(P)v∈Vinff(Av)−⟨b,v⟩,
and a solutionv∗ is a point where this value is finite and minimal. The Lagrangian and augmented Lagrangian are, for λ∈Y and r>0,
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 and, for n≥0,
finds vn+1 with r(Avn+1,Aw)=(ryn−λn,Aw)+⟨b,w⟩ for all w∈V (minimization of Lr in v);
finds yn+1 with λn+rAvn+1−ryn+1−f1′(yn+1)∈∂f2(yn+1) (minimization of Lr in y);
sets λn+1=λn+ρ(Avn+1−yn+1).
P denotes the orthogonal projection of Y onto the range R(A), which is closed by (2.5).
Formalization targets
Goal: Theorem 3.1
For r>0 and every stepsize with
0<ρ<2r,
every run of the algorithm satisfies
∥vn−v∗∥→0,∣yn−Av∗∣→0,nsup∣λn∣<∞,
where v∗ is the unique solution of (P). The multipliers need not converge.
Milestones
Proposition 2.1: (P) has a unique solution.
Theorem 2.1: a saddle point (v∗,y∗;λ∗) of L consists of the solution v∗, y∗=Av∗ and λ∗∈∂f(Av∗) with A′λ∗=b; and a saddle point exists.
Theorem 2.2: for r>0, Lr and L have the same saddle points.
(3.8)–(3.10): a saddle point is a fixed point of Steps 1–2.
and its sum over n=0,…,N.
7. yn→y∗ for 0<ρ≤2r.
8. (3.22)–(3.23): a contraction-plus-summable-forcing recursion for ∣P(λn−λ∗)∣2, and the scalar lemma that such recursions tend to 0.
9. P(λn−λ∗)→0 and vn→v∗ for 0<ρ<2r.
Significance
The theorem says that ADMM converges without any step-size tuning beyond ρ<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 f2 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-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)⊥, and only the y-error through γ>0. The natural first idea, a Lyapunov function in ∣λn−λ∗∣2 alone that decreases at each step, does not work for ρ=r: the component P(λn−λ∗) obeys a separate recursion whose contraction factor ∣1−ρ/r∣ is below one only for 0<ρ<2r, and whose forcing term must be shown summable from the y-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⋅) in infinite dimension, under a constraint qualification.
Formalization scope
Lean conventions:
V, Y are InnerProductSpace ℝ with CompleteSpace; multipliers are elements of Y; b is a StrongDual ℝ V.
f1: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→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).
A solution of (P) has finite value. A run is any triple of sequences indexed by N satisfying Steps 1–3 for every n; the start is arbitrary, and the well-posedness of the steps is not assumed or used.
P is the orthogonal projection onto the closure of R(A), equal to 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⟩. The paper prints −⟨b,v⟩ there and in Remark 1 of p. 15, which is inconsistent with L and (P): with the printed sign the iteration solves the problem with −b.
The qualification (2.4), "intdomf2=∅", is strengthened to intdomf2∩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=R, Y=R2, Av=(v,0), f1=∣⋅∣2/2, f2 the indicator of the disc of centre (0,1) and radius 1, ⟨b,v⟩=v.
Proposition 2.1 assumes that f2∘A is somewhere finite, which its proof requires.
Ruled out: the solution v∗ is a hypothesis of the goal, so the hypotheses must not be contradictory. They are met by V=Y=R, A=id, f1(y)=y2/2, f2=0, b=0, and a proper f2 excludes the degenerate reading in which every point "solves" (P) with value +∞.
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
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
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)=0, with F:Rn→Rn, solves the linear system 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)∥, where the forcing termη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′ 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 E be Rn with an arbitrary norm ∥⋅∥, and let F:E→E be continuously differentiable with derivative F′(x). A point x∗ is a limit point of (xk) if every ball Nδ(x∗)={y:∥y−x∗∥<δ} contains xk for infinitely many k.
Algorithm GIN (global inexact Newton method). Fix t∈(0,1). At each k, find a level ηk∈[0,1) and a step sk with
and set xk+1=xk+sk. Condition (2.1) says that sk reduces the norm of the local linear model by the factor ηk. Condition (2.2) asks that ∥F∥ itself decrease by a fixed fraction t of that predicted reduction.
Algorithm MR (minimum reduction method). Fix ηmax∈[0,1) and 0<θmin<θmax<1. At step k, choose ηˉk∈[0,ηmax] and a curve σk with ∥F(xk)+F′(xk)σk(η)∥≤η∥F(xk)∥ for ηˉk≤η≤1 (5.1). Start at ηk=ηˉk. While (2.2) fails for sk=σk(ηk), replace ηk by 1−θ(1−ηk) for some θ∈[θmin,θmax]. Then set xk+1=xk+σk(ηk).
Algorithm INB (inexact Newton backtracking). Choose ηˉk∈[0,ηmax] and an inexact Newton step sˉk at level ηˉk. While (2.2) fails, shorten the step, sk←θsk, and raise the level, ηk←1−θ(1−ηk). INB is MR with the backtracking curve σk(η)=1−ηˉk1−η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∗ is a limit point of (xk) at which F′(x∗) is invertible, then
F(x∗)=0,xk→x∗,sk=sˉkandηk=ηˉkfor 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.
Milestones
In attack order:
Lemmas 1.1 and 1.2. Continuity of y↦F′(y)−1 at an invertible point, and a uniform linearization error ∥F(z)−F(y)−F′(y)(z−y)∥≤ε∥z−y∥ near x.
Theorem 3.3. If F(xk)→0, the steps satisfy (2.1) with a fixed η, and ∥F(xk)∥ is nonincreasing, then an invertible limit point is a zero and the limit.
Theorem 3.4. A GIN run with ∑k(1−ηk)=∞ has F(xk)→0, plus the conclusion of Theorem 3.3 at invertible limit points.
Theorem 3.5. A GIN run converges to a limit point near which ∥sk∥≤Γ(1−ηk)∥F(xk)∥ (3.2).
Lemma 5.1. The while-loop terminates, with 1−ηk≥min{1−ηˉk,θminδ/(Γ∥F(xk)∥)}.
MR runs are GIN runs (§5).
Theorem 5.2 for MR. Under ∥σk(η)∥≤Γ(1−η)∥F(xk)∥ near a limit point x∗ (5.6): F(x∗)=0, xk→x∗, and ηk=ηˉk eventually.
INB runs are MR runs with the curve (6.1), and 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′ 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)∥, but not convergence of the iterates. On the page, F(x)=x2−1 admits sequences satisfying (2.2) with both ±1 as limit points. Convergence of ∥F(xk)∥ to 0 needs ∑(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∗ where the linearization error is uniformly controlled. A solver must combine a limit-point argument (only infinitely many iterates are near x∗, not all of them) with the loop's worst-case backtracking factor θmin. The invertibility of F′(x∗) enters only through the bound (5.6) for the backtracking curve, which must be established uniformly in k.
Formalization scope
Space and norm.E is a finite-dimensional real normed space ([NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E]). This is exactly "Rn 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′ is fderiv ℝ F, with ContDiff ℝ 1 F (the paper's standing assumption). Invertibility is ContinuousLinearMap.IsInvertible, and 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 mk and factors θ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 k" is ∀ᶠ k in atTop. The paper's "whenever xk is sufficiently near x∗ [and k is sufficiently large]" is ∃ Γ, ∃ δ > 0, [∃ K,] ∀ k [≥ K], x k ∈ ball xstar δ → …. Γ precedes k ("independent of k"), and the "k 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∗) invertible. Theorem 5.2 does not assume ∑(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) 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
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≤b stop at a vector xˉ that only almost satisfies the system: the violation (Axˉ−b)+ is small but not zero. A user then needs to know that xˉ 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ˉ 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 Fn, Fm, 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) be a real m×n matrix with rows A1,…,Am and let b∈Rm. The system (1) is Ai⋅x≤bi for i=1,…,m, briefly Ax≤b; its solution set is Ω={x:Ax≤b}, and the system is consistent if Ω=∅. The ith half space is {x:Ai⋅x≤bi}.
For a real number a, a+=a if a≥0 and a+=0 otherwise; for a vector, y+ is taken coordinatewise. So (Ax−b)+ records by how much x violates each inequality.
Hoffman measures sizes with a positive homogeneous functionFk on Rk: a continuous real function with (i) Fk(x)≥0 and Fk(x)=0 only for x=0, and (ii) Fk(αx)=αFk(x) for α≥0. Norms are examples, but Fk need not be symmetric, subadditive or convex.
For a set S of rows, M is the m×n matrix obtained from A by replacing the rows outside S by 0, and yˉ keeps the coordinates of y∈Rm in S and zeroes the others. "Nearest" always refers to Euclidean distance. The set E consists of the points x outside the cone {z:Mz≤0} whose nearest point in that cone is the origin; K′ is the cone spanned by the rows of M with the origin removed.
Section 3 uses three norms: ∣x∣ (largest absolute coordinate), ∥x∥ (sum of absolute coordinates) and the Euclidean norm. With gij=Ai⋅Aj, aS is the largest absolute coordinate of a row in S, and vS=minλmaxi∈S∑j∈Sgijλj over probability vectors λ on S, the value of the matrix game (gij)i,j∈S.
Formalization targets
Goal: Hoffman's theorem (Section 2, p. 263)
If Ax≤b is consistent and Fn, Fm are positive homogeneous, there is c>0 such that for every x some solution x0 satisfies
Fn(x−x0)≤cFm((Ax−b)+).
The constant is existential and fixed before x; 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 y is the point of Ω nearest to x∈/Ω, then x lies outside the intersection ΩS of the half spaces active at y, and y is also the point of ΩS nearest to x.
Lemma 3: for every set S of rows there is dS>0 with Fm((Mx)+)≥dSFn(x) for all x∈E.
Lemma 1: there is e>0 with Fm(yˉ)≤eFm(y) for all y and all S.
Lemma 4: K′=E.
Milestones: explicit constants (pp. 264–265)
(9)∣x−x0∣≤va∣(Ax−b)+∣if all Ai⋅Aj>0,v=i,jminAi⋅Aj,a=i,jmax∣aij∣;(10)∣x−x0∣≤wa∥(Ax−b)+∥if w=imin(gii+j:gij<0∑gij)>0;(8)∣x−x0∣≤c∣(Ax−b)+∣,c=vS>0maxvSaS.
Each is stated as in the theorem: for every x there is a solution x0 with the bound.
Significance
The result. The theorem converts a residual estimate into a distance estimate. Any scheme that drives (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 A 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 x, a bound is trivial: take x0 the nearest solution and choose c accordingly. The whole content is that onec works for all x, including x far from Ω and x approaching Ω along every direction. A compactness argument on {x:Fn(x)=1} alone fails, because the ratio Fn(x−x0)/Fm((Ax−b)+) is not a continuous function of x on a compact set: the nearest solution and the set of active constraints jump as x moves. Lemma 3 needs a positive lower bound on a set E that is not obviously closed away from the origin; its closedness comes from Lemma 4, i.e. from Farkas' lemma. Since Fn, Fm are not norms, no argument using the triangle inequality or symmetry is available. For (8), a set S can arise in Lemma 2 with vS=0 (e.g. x1≤0, −x1≤0 in R2 with 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 → ℝ, A is Matrix (Fin m) (Fin n) ℝ, the system is A *ᵥ x ≤ b (componentwise), and y+ is posPartVec y = fun i => max (y i) 0.
Fn, Fm are arbitrary functions satisfying IsPosHomogeneous (continuity, nonnegativity, vanishing exactly at 0, positive homogeneity); they are never specialised to norms in the goal or Lemmas 1, 3.
"Nearest" is Euclidean and written with the dot product: y is nearest to x in Ω if (x−y)⋅(x−y)≤(x−z)⋅(x−z) for all z∈Ω. (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 S of the half spaces" is a Finset (Fin m) of row indices; M keeps all m rows, with zero rows outside S.
In (8)–(10), ∣x∣ is ⨆ i, |x i| and ∥x∥ is ∑ i, |x i|; minima and maxima over finite index sets are ⨅/⨆ in ℝ, equal to the attained min/max on nonempty sets. vS is defined directly by (7) as a min over the simplex of a max, for nonempty S, so no minimax theorem is needed. In (8), c is the maximum over nonempty S with vS>0 and is 0 when there is none (only when A=0). In w, the page's summation range "j=1,…,n" is read as ranging over the m rows, since g is indexed by rows.
Consistency is a hypothesis of the goal and of (8)–(10).
The quantifier order ∃c>0,∀x,∃x0 is part of the statement: a version with c chosen after x is trivially true and is not this theorem; likewise e precedes y and S in Lemma 1 and dS precedes x 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
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
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).
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}, n≥2, and edge set E. Following the paper, the vertices are numbered so that every edge (i,j)∈E has i<j; in particular the graph is acyclic. Each edge carries a positive integer lengthcij and a positive integer transition timetij. A path p=(v0,…,vm) has length c(p)=∑rcvr−1vr and transition time t(p)=∑rtvr−1vr. For a nonnegative integer T, a T-path is a path from 1 to n with t(p)≤T, and OPT is the length of a shortest T-path.
Fix 0<ε<1. For a real V, the rounded lengths are
c~ijV=⌊Vεcij(n−1)⌋.
Procedure TEST(V) deletes the edges with cij>V and answers NO if, for some integer c<(n−1)/ε, some 1–n path in the remaining graph has transition time at most T and rounded length at most c; otherwise it answers YES.
The Rounding Algorithm keeps bounds (LB,UB) on OPT. Starting from initial bounds (LB0,UB0), Step 1 repeats while UB>2LB: with V=(LB⋅UB)1/2 it sets LB←V if TEST(V) = YES and UB←V(1+ε) if TEST(V) = NO. Step 2 outputs a T-path that is shortest for the rounded lengths c~ijLB=⌊cij(n−1)/(εLB)⌋. The bounds after k passes are written (LBk,UBk).
Formalization targets
Goal: the approximation guarantee of the Rounding Algorithm
If LB0>0 is a lower bound on the length of every T-path, N is a stage at which UBN≤2LBN, and p is a Step 2 output at LBN, then
c(p)≤(1+ε)c(q)for every T-path q,
that is, c(p)≤(1+ε)OPT. The initial upper bound UB0 is arbitrary.
Milestones (§3–§4)
Rounding error (§3, p. 38): with δ=Vε/(n−1), 0≤cij−δc~ijV≤δ for every edge, and 0≤c(p)−δc~V(p)≤Vε for every path.
TEST(V) = NO (§3, p. 38): some T-path has length <V(1+ε), so OPT<V(1+ε).
TEST(V) = YES (§3, p. 38): every T-path has length ≥V, so OPT≥V.
Bound update (§4, p. 39): along the run, LBk>0 and LBk is a lower bound on every T-path; if some T-path has length at most UB0, some T-path has length at most UBk.
Scaled-optimum error (§4, p. 39): a Step 2 output p at any LB>0 satisfies c(p)≤c(q)+εLB for every T-path q.
Companion statements
Termination when (1+ε)2<2: some stage N has UBN≤2LBN; and an explicit instance with ε=9/10 on which Step 1 never stops.
Initial bounds (Step 0, p. 39): every 1–n path has length between 1 and the sum of the n−1 longest edge-lengths.
Algorithms A and B (§2, pp. 37–38): their recursions compute fj(t) and gj(c), with 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+ε)-approximate T-path is computed in time polynomial in the input size and 1/ε. The two ingredients, an approximate decision test that answers "OPT ≥V" or "OPT <V(1+ε)", and a geometric search on the ratio UB/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, and proves termination under (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ε only because a 1–n path has at most n−1 edges, which follows from the numbering i<j and must be derived for list-encoded paths. The YES case must cover T-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 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 LB0.
Formalization scope
Representation. Vertices are natural numbers; an instance is a structure with n, a finite edge set of pairs, and length and time functions, with a well-formedness predicate: n≥2, every edge (i,j) has 1≤i<j≤n, and lengths and times are positive. The requirement n≥2 is not printed: a 1–n path and the divisions by n−1 presuppose it. Paths are nonempty vertex lists.
Arithmetic.n−1 is taken in the reals; ⌊⋅⌋ is the natural-number floor of a nonnegative real; (LB⋅UB)1/2 is the real square root. Bounds and ε are reals, T is a natural number.
OPT. OPT is never a number in the formal statements, because it is ∞ when no T-path exists. "OPT ≥V" is a bound on every T-path, "OPT <V(1+ε)" is the existence of a T-path, and the goal compares the output with every T-path. Algorithms A and B use values in N∪{∞}.
TEST(V) is defined by the answer the procedure reaches, not through Algorithm B's printed recursion, whose initial condition gj(0)=∞ is wrong for rounded lengths 0; for n≥2 and ε<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 T-path optimal for the rounded lengths, without pruning edges, as printed.
Added hypothesis. The termination statement assumes (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(⋅) bounds under an informal operation count, are also excluded, as are the 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.