Introduction to Linear Optimization I: Polyhedra and Basic Feasible SolutionsTextbook
Every linear programming problem asks to minimize a linear cost c′x over a polyhedron — a set of the form P={x∈Rn∣Ax≥b}, or in standard form {x∣Ax=b,x≥0}. Chapter 2 of Bertsimas–Tsitsiklis develops the geometry of these feasible sets, and its central achievement is making the intuitive notion of a "corner point" rigorous. There are three natural candidates: the extreme point — a point of P that cannot be written as a convex combination of two other points of P (purely geometric, representation-independent); the vertex — the unique minimizer of some linear cost c′y over P (geometric, via supporting hyperplanes); and the basic feasible solution — a feasible point at which n linearly independent constraints are active (algebraic, the object the simplex method actually computes with). This mission formalizes polyhedra, active constraints, vertices and basic (feasible) solutions, and proves the fundamental Theorem 2.3: for a nonempty polyhedron all three notions coincide. Around the capstone sit the supporting pillars: polyhedra are convex (Theorem 2.1), the characterization of points pinned down by n linearly independent active constraints (Theorem 2.2), finiteness of the set of basic solutions (Corollary 2.1), and the basis-column characterization of basic solutions in standard form (Theorem 2.4) — the combinatorial engine behind the simplex method of Chapter 3 and the root of the entire series.
On a Routing Problem: Successive Approximations from the Direct-Route Policy Decrease to the Unique Solution of the Routing Equation Within N − 1 IterationsResearch Paper
Motivation
Finding the quickest route between two points of a road network is among the oldest problems of operations research. It is the subproblem inside vehicle routing, network flow and many dynamic programs. Richard Bellman's four-page note On a routing problem (Quarterly of Applied Mathematics, 1958) treats it as a dynamic program. The minimal travel times satisfy a nonlinear system of equations, and that system can be solved by successive approximations that terminate after a number of steps bounded in advance. The iteration is now known as the Bellman–Ford method. A footnote added in proof records that Max Woodbury and George Dantzig had obtained the same scheme independently, and Ford's RAND report of 1956 describes a closely related labelling procedure.
Timeline.
1956. L. R. Ford Jr., Network flow theory (RAND P-923): a label-improving procedure for shortest paths.
1957. Bellman's Dynamic Programming (Princeton) states the principle of optimality used here.
1958. Bellman's note: the routing equation, its uniqueness, approximation in policy space with an (N − 1)-step bound, and a second, monotone increasing scheme.
1959. Dijkstra gives a label-setting method for nonnegative lengths.
1962. Floyd's Algorithm 97 computes all pairs of shortest distances.
Setting
There are N cities, numbered 1,…,N. Every two of them are linked by a direct road, and city N is the destination. The travel time from i to j is a real number tij; the matrix T=(tij) need not be symmetric. Throughout, tij>0 for i=j.
A route from i to N is a sequence of cities i=c0,c1,…,cm=N in which consecutive cities differ. Its stops are c1,…,cm−1, and its time is ∑r<mtcrcr+1. The minimal timefi (3.1) is the least time of a route from i to N, and fN=0.
The routing equation (3.2) is the system
Fi=j=imin[tij+Fj](i=1,…,N−1),FN=0.
Approximation in policy space (§5) starts from the direct-route policy (5.2), fi(0)=tiN, and iterates (5.1):
fi(k+1)=j=imin[tij+fj(k)](i=N),fN(k+1)=0.
The second scheme (§7, (7.1)) starts instead from fi(0)=minj=itij and uses the same step.
Formalization targets
Goal: convergence within N−1 iterations
For every k≥N−1 the following hold. Each fi(k) is the minimal time from i to N, attained by a route. The vector f(k) solves (3.2). Every real solution of (3.2) equals f(k):
k≥N−1⟹f(k)=f=the unique solution of (3.2).
This is the claim of the Summary ("converges after at most (N−1) iterations") and of the last sentence of §5. The paper's bound N−1 is kept, although N−2 also suffices.
Milestones
(3.2): the minimal times exist and satisfy the routing equation.
§4: (3.2) has at most one solution.
(5.4):f(1)≤f(0).
§5, the sentence after (5.4):fi(k) is the minimal time over routes with at most k stops.
(5.5):f(k+1)≤f(k) for all k.
§7: the scheme (7.1) increases, stays below the solution of (3.2) (7.2), and equals it from some index on.
Significance
The result. The note turns an enumeration over exponentially many paths into N−1 rounds of N minimisations each, with a bound fixed before the computation starts. The uniqueness theorem makes the routing equation a characterisation of the minimal times, not merely a property of them. This is the template for later correctness proofs of shortest-path and value-iteration algorithms. The monotone decrease (5.5) is the first instance of policy improvement: every iterate is the value of an actual routing policy.
Formalizing it. The results are classical and proved. What this mission adds is a machine-checked development against the paper's own objects. Routes, their times and minimal times are defined from scratch. The iteration is stated exactly as printed, apart from the corrected initial value at the destination. The (N − 1)-step termination is asserted as an equality, not a limit. Related platform items treat other methods and do not cover these statements. One is the label-correcting method (BertsekasDP.label_correcting_correctness_of_nonneg_arcs, BertsekasDP.label_correcting_terminates). Another is the stochastic shortest path problem under a termination assumption that fails for deterministic routing (BertsekasDP.ssp_main_theorem). There are also the generic candidate-list algorithm (BertsekasNetwork.generic_shortest_path_algorithm), Floyd's Algorithm 97 and Dijkstra's method.
Difficulty
The minimum in (3.2) may be attained at a j whose own optimal route passes back through i. The routing equation is a fixed-point equation for an operator that is monotone but not a contraction in any fixed norm. The standard contraction argument for discounted dynamic programs therefore does not apply. Uniqueness has to use tij>0 to exclude zero-time cycles: with t12=t21=0, the system (3.2) has infinitely many solutions. The N−1 bound depends on the at-most-k-stops reading of f(k) and on the fact that an optimal route never needs to revisit a city. Neither is visible from the recursion alone. For the scheme of §7, the page gives no bound on the number of iterations, and none holds uniformly in t.
Formalization scope
Cities are Fin (n + 1), so N=n+1, with standing hypothesis n≥1. City N is Fin.last n, and travel times are t : Fin (n + 1) → Fin (n + 1) → ℝ with tij>0 for i=j. Diagonal entries are unconstrained and never used. No symmetry, triangle inequality or integrality is assumed. A route is a list of cities with distinct consecutive entries ending at N. Repeated cities are allowed; with positive times this changes no minimum. Minimal times are attained minima over routes (IsMinTime, IsMinTimeWithin), not real infima. The minimum in (3.2) is a Finset.inf' over all j=i, the destination included.
The paper's loose phrases are made explicit as follows.
"Using an optimal policy" (3.1) becomes a minimum attained by a route and below every route.
"Represents the minimum time for a path with at most one stop" becomes, for every k, a minimum over routes with at most k+1 roads.
"Converges after at most (N−1) iterations" becomes f(k)=f for every k≥N−1.
"Only a finite number of iterations will be required" (§7) becomes ∃K,∀k≥K, f(k)=f.
"The solution of (3.2)" in §7 becomes an arbitrary solution of (3.2), which milestones 1–2 show is the vector of minimal times.
Two printed slips are corrected. (5.2) is printed for i=1,…,N, which would set fN(0)=tNN, and with tNN>0 statements (5.4), (5.5) and the goal would be false. The formalization uses fN(0)=0, the value the paper's own justification needs. (7.1) prints "N=1" for N−1. Section 6 (computational aspects) and the closing expectation of §7 that the first method converges faster are not formalized.
The goal cannot be satisfied trivially. The minimal times are defined from routes, not as a solution of (3.2) or as a limit of the iteration, so the goal connects the recursion to the routing problem itself.
The development needs only finite minima, lists and induction; nothing beyond core Mathlib. The route and minimal-time layer is reusable for other deterministic shortest-path results. Proofs of any milestone are welcome, as are proofs of the sharper bound N−2.
Discounted Dynamic Programming: An Optimal Stationary Plan Exists When the Action Set Is Essentially FiniteResearch Paper
Motivation
Sequential decisions often change the distribution of future states. A planner choosing an action today must account for both its immediate reward and the later rewards made possible by the resulting state. The mathematical question is whether an optimal rule can be chosen once and reused at every stage, even when a competing plan may randomize and use the entire observed history. In Discounted Dynamic Programming, Blackwell studies this question on general Borel state and action spaces, beyond the finite models in which a direct comparison of actions is available.
The paper distinguishes several strengths of optimality. For each distribution of the initial state, an approximately optimal stationary plan exists, but a single plan that is approximately optimal at every initial state need not exist in a general Borel problem. Essential countability of the actions restores uniform approximate stationary optimality; essential finiteness yields exact stationary optimality. These are different mathematical claims, and the mission keeps their different quantifiers visible. Blackwell 1965, pp. 227, 229, 232–234.
Setting
A state is an element s of a nonempty standard Borel space S, and an action is an element a of a nonempty standard Borel space A. The transition kernelq(⋅∣s,a) gives a probability distribution for the next state after action a in state s. The rewardr(s,a,s′)∈R may depend on that next state s′; it is bounded and Borel measurable. Future rewards are discounted by β with 0≤β<1. These are the objects of Blackwell’s Sections 2–3. Blackwell 1965, pp. 227–228.
A planπ=(π1,π2,…) assigns a probability distribution of actions to each possible history before a decision. At stage n, that history contains n−1 completed state-action pairs and the current state. Thus plans may randomize and depend on earlier states and actions. A Markov plan instead uses a Borel function fn:S→A at each stage; a stationary plan uses the same function f at every stage and is denoted f(∞). Starting from state s, the plan has discounted expected return
I(π)(s)=n=1∑∞βn−1Esπ[r(σn,αn,σn+1)].
Here σn and αn are the state and action at stage n. The comparison class for an optimal plan is all such plans, including randomized and history-dependent ones. Blackwell 1965, pp. 228–229.
Two actions are equivalent at state s when they have the same reward r(s,a,s′) for every next state s′ and the same transition measure q(⋅∣s,a). An action set is essentially countable by a Markov plan (f1,f2,…) if, for every (s,a), one of the actions fn(s) is equivalent to a at s. It is essentially finite by that plan if S has a countable Borel partition (Sn) such that, for s∈Sn, one of f1(s),…,fn(s) is equivalent to every action a at s. A finite action set is a special case. Blackwell 1965, pp. 233–234.
Formalization targets
For a probability distribution p on S and ε>0, (p,ε)-optimality asks for a stationary f with
p{s:I(π)(s)>I(f(∞))(s)+ε}=0for every plan π.
Theorem 6(b) asserts that such an f always exists. Under essential countability, Theorem 7(a) obtains a stronger, uniform ε-optimality statement: for every ε>0 there is a stationary f with I(π)(s)≤I(f(∞))(s)+ε for all π,s. Its other targets identify the optimal return with the fixed point of the operator Uπu=supnTfnu and with the unique bounded solution of the optimality equation u=supa∈ATau. Blackwell 1965, pp. 232–234.
The mission’s goal is Theorem 7(b). Under essential finiteness, it asks for a stationary f with exact optimality:
I(π)(s)≤I(f(∞))(s)for every plan π and state s.
The milestone list also includes the paper’s operator identity, approximate selection result, contraction criterion, generated-plan comparison, and upper-bound criterion. Each has its own source index and statement. Blackwell 1965, pp. 231–234.
Significance
The exact result says that, under a condition weaker than a globally finite action set, repeated use of one measurable state-based rule matches or exceeds the return of every adaptive randomized plan. It is a structural result about what information and randomization can add to discounted control. The preceding approximate results specify what can still be guaranteed when that condition is relaxed; Blackwell’s examples show that the distinctions cannot simply be ignored. Blackwell 1965, pp. 229–230, 234.
Blackwell proved these statements in 1965. The formalization work here is to give machine-checked proofs for the Borel-space model and its full comparison class, together with reusable definitions of history-dependent kernels, returns, stationary rules, and Bellman operators. The draft theorem statements compile as Lean declarations, but their proofs remain open. The milestone results are intended to make both the final theorem and its supporting measure-theoretic objects independently usable.
Difficulty
On an uncountable Borel action space, the pointwise supremum of available action values does not automatically come with a Borel action selector. Choosing a maximizing action separately at each state may fail to define a measurable rule, and a supremum need not be attained. Also, a Markov or stationary comparison cannot by itself certify optimality against plans that depend on full histories. These issues are real in the paper’s examples: general Borel problems may lack an ε-optimal plan, and a given plan need not be uniformly approximated by a Markov plan. Blackwell 1965, pp. 229–230.
Formalization scope
The Lean model uses nonempty StandardBorelSpace types for S and A. “Baire function” is read as Borel measurable on these metrizable spaces. The problem stores a Markov transition kernel, a bounded measurable real reward on S×A×S, and 0≤β<1; β=0 is included. A plan contains a probability kernel on each finite history, and the return is the actual absolutely convergent series of expected one-stage rewards. The first decision is indexed by 0 in Lean, corresponding to the paper’s index 1. The finite history law is assembled through kernel composition products, and a stationary rule is represented by deterministic kernels. The integrals and series therefore express the paper’s expected return, including the cases where the reward depends on the next state.
For the operator results, M(S) means bounded and measurable real functions. The suprema defining Uπ and the optimal return are real suprema over nonempty families bounded by the reward and discount; they are used only in that setting. The abstract operator in Theorem 5 maps M(S) into itself. The action equivalence predicate uses the paper’s explicit equality of reward functions and transition laws; the later “i.e.” phrasing on p. 234 is weaker when interpreted as equality of operators alone. A partition piece may be empty, and Lean’s piece n corresponds to the paper’s Sn+1, with rules f1,…,fn+1.
An optimality claim here always compares with every randomized history-dependent plan. Restricting that quantifier to Markov or stationary plans would trivialize the target. A complete development needs measure-theoretic facts about history laws and their bounded integrals, the discounted series, measurable partitions and selections, and the sup-norm contraction of bounded Borel functions. The history-law and bounded-function infrastructure can be reused outside this mission. Contributions to those foundations and to the numbered milestone theorems are welcome.
Selected references
David Blackwell, Discounted Dynamic Programming, Annals of Mathematical Statistics 36(1), 226–235, 1965. DOI: 10.1214/aoms/1177700285.
Stochastic Optimal Control: The Discrete-Time Case I: Finite-Horizon Abstract Dynamic Programming — the DP Algorithm Yields the N-Stage Optimal CostTextbook
Motivation
Dynamic programming (DP) solves sequential decision problems by backward recursion: compute the optimal cost of the last stage, then of the last two stages, and so on. For problems with finitely many states and controls and real-valued costs, the recursion obviously gives the optimal cost. Applications are rarely like that. Control spaces are continuous, costs can be unbounded or infinite, the criterion can be multiplicative (risk-sensitive exponential cost) or worst-case (minimax), and the set of policies is an infinite product of function spaces. In this setting the DP recursion can fail to produce the optimal cost.
Bertsekas and Shreve, Stochastic Optimal Control: The Discrete-Time Case (Academic Press 1978; Athena Scientific 1996), Part I, separates the order-theoretic content of DP from the measure theory. It works with an abstract monotone mappingH that covers deterministic, stochastic, multiplicative-cost and minimax problems at once, following Bertsekas, Monotone mappings with application in dynamic programming, SIAM J. Control Optim. 15 (1977). Chapter 3 answers the finite-horizon questions: when does the DP algorithm give the N-stage optimal cost, and when do optimal or nearly optimal policies exist? This mission is the first of a series formalizing the book. Later chapters (contraction models, monotone increase and decrease models, the Borel models of Part II) are built on the model fixed here.
Setting
Let S (states) and C (controls) be sets, and for each x∈S let U(x)⊆C be a nonempty control constraint set. Write R∗=[−∞,∞] and let F be the set of all functions J:S→R∗, ordered pointwise. A mappingH:S×C×F→R∗ is given, subject to the Monotonicity Assumption: J≤J′ implies H(x,u,J)≤H(x,u,J′) for all x∈S, u∈U(x).
A selector is a function μ:S→C with μ(x)∈U(x) for all x. A policy is a sequence π=(μ0,μ1,…) of selectors. Define
Tμ(J)(x)=H[x,μ(x),J],T(J)(x)=u∈U(x)infH(x,u,J),
and let Tk be the k-fold composition of T. A terminal function J0∈F with J0(x)>−∞ for all x is fixed. The N-stage cost of π and the N-stage optimal cost are
A policy is uniformly N-stage optimal if each tail (μi,μi+1,…) is (N−i)-stage optimal, and N-stage ε-optimal if JN,π(x)≤JN∗(x)+ε where JN∗(x)>−∞ and JN,π(x)≤−1/ε where JN∗(x)=−∞.
The three conditions on H used in the chapter are F.1 (continuity of H along nonincreasing sequences Jk with H(x,u,J1)<∞), F.2 (there is α>0 with H(x,u,J)≤H(x,u,J+r)≤H(x,u,J)+αr for all r>0), and F.3 (a quantitative selection property with a constant β>0).
Formalization targets
Goal: Proposition 3.1
Under F.1, if Jk,π(x)<∞ for all x,π and k=1,…,N; or under F.2, if Jk∗(x)>−∞ for all x and k=1,…,N:
JN∗=TN(J0),
and under F.2, for every ε>0 there is πε with JN∗≤JN,πε≤JN∗+ε.
Milestones
Proposition 3.3: π∗ is uniformly N-stage optimal iff (Tμk∗TN−k−1)(J0)=TN−k(J0) for k<N. Needs monotonicity only.
Corollary 3.3.1: a uniformly N-stage optimal policy exists iff every infimum Tk+1(J0)(x)=infuH[x,u,Tk(J0)] is attained, and then JN∗=TN(J0).
Proposition 3.4: if C is Hausdorff and every sublevel set {u∈U(x)∣H[x,u,Tk(J0)]≤λ} is compact, then JN∗=TN(J0) and a uniformly N-stage optimal policy exists.
Proposition 3.7: the minimax mapping H(x,u,J)=supw∈W(x,u){g+αJ[f]} satisfies F.2 with constant α.
Proposition 3.6: the multiplicative mapping H(x,u,J)=E{gJ[f]∣x,u} over a countable disturbance set satisfies F.1, and F.2 with constant b when 0≤g≤b.
Proposition 3.2: under F.3 and the finiteness of Jk,π, JN∗=TN(J0) and, for εn↓0, policies with {εn}-dominated convergence to optimality exist.
Corollary 3.7.1(a): for minimax control with J0=0 and Jk∗>−∞, the DP algorithm gives JN∗ and N-stage ε-optimal policies exist.
Significance
The identity JN∗=TN(J0) says that an infimum over an infinite-dimensional policy space equals N nested one-dimensional infima. Every numerical use of finite-horizon DP depends on it, and so do the infinite-horizon results of later chapters, which pass to the limit in TN(J0). Corollary 3.3.1 and Proposition 3.4 give the existence of optimal policies, and Propositions 3.6 and 3.7 verify the abstract hypotheses for two models outside standard expected additive cost.
These results are proved in the book; none of them is formalized. Mathlib has no abstract DP model, and the platform's finite-horizon results (Bertsekas, Dynamic Programming and Optimal Control, Prop. 1.3.1 and the minimax DP algorithm) assume finite disturbance and constraint sets and real costs. They are special cases, not this theory. The finite-horizon results of the 1977 paper (Lemma 3.1 here, on compact sublevel sets, and Corollary 3.1.1, the F.1′ case) are already posed on the platform and are not posed again.
Difficulty
The obvious argument interchanges the infimum over policies with the composition of operators: infπTμ0(⋯)=T(infπ′⋯). The inequality TN(J0)≤JN∗ follows from monotonicity alone. The reverse inequality is the content. Taking a near-minimizing selector at each stage requires either passing a limit inside H (F.1) or bounding how errors at later stages propagate through H (F.2, F.3). Both steps break at infinite values. With Jk∗(x)=−∞ there may be no ε-optimal policy at all (Counterexample 4 of the book). Without F.1 or F.2 the identity itself fails (Counterexamples 1–3). A proof must therefore track separately the states where the optimal cost is −∞, which is why F.3 and the definition of ε-optimality have two cases.
Formalization scope
The model is a structure Model S C with fields U, U_nonempty, H : S → C → (S → EReal) → EReal and the monotonicity proof. Policies are ℕ → Selector, with selectors as a subtype of S → C. TN is m.T^[N], and (Tμ0⋯TμN−1)(J) is a recursion that applies TμN−1 first. All values lie in EReal. The book's convention ∞−∞=∞ never arises in Propositions 3.1–3.4, which only add real numbers to extended reals. The minimax and multiplicative mappings implement it explicitly (badd, and an expectation that returns +∞ when the positive part diverges). Every theorem assumes J0>−∞ and N≥1. Assumptions F.1–F.3 are predicates on the model. F.2 is also available with a named constant (F2With) so that Propositions 3.6 and 3.7 can carry the book's constants b and α.
JN∗ is defined as an infimum over policies of the composed operators, never through T, so the goal is not true by definition. A formalization in which JN,π already contains an infimum over controls would make Proposition 3.1 hold by rfl, and this one rules that out.
Proving the goal needs elementary EReal order arithmetic, iterated infima over subtypes, and pointwise selection of near-minimizers via choice. Proposition 3.6 additionally needs monotone and dominated convergence for countable sums in ℝ≥0∞. The model and operator definitions are reusable by the later missions of the series (contraction, monotone increase and decrease models). Proofs of any milestone, and reusable EReal lemmas about shifting by real constants, are welcome.
Selected references
D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press 1978; Athena Scientific 1996, Chapters 2–3. https://web.mit.edu/dimitrib/www/soc.html
D. P. Bertsekas, Monotone mappings with application in dynamic programming, SIAM J. Control Optim. 15(3) (1977) 438–464. https://doi.org/10.1137/0315031
D. P. Bertsekas, Dynamic Programming and Stochastic Control, Academic Press 1976.
A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization 2: Randomized Double Greedy Achieves 1/2 of the Optimum in ExpectationResearch Paper
Motivation
Many selection problems assign a value to each subset of a finite collection: the coverage supplied by chosen facilities, the influence reached by chosen seeds, or the value of a coalition. A submodular set function has diminishing returns in the precise sense that the combined value of two sets, counting their overlap once, does not exceed the sum of their separate values. When the function is also monotone, taking more elements never hurts. The unconstrained problem studied here permits nonmonotone functions, so both accepting and rejecting an element can matter. The question is what a single pass through the elements can guarantee when the function is available through value queries. Buchbinder et al., FOCS 2012
The randomized algorithm in this mission attains an expected one-half approximation for every nonnegative submodular function. The paper presents this as tight in the value-oracle setting: it recalls the earlier result of Feige, Mirrokni and Vondrák that a fixed improvement beyond one-half requires exponentially many queries. The contribution here is therefore both the guarantee and a short adaptive rule that attains it in a linear number of iterations. The local proposal follows the FOCS 2012 version of the paper; its theorem numbering differs from the later SIAM Journal on Computing article. Buchbinder et al., §I.A and Theorem I.2
Setting
Let N be a finite ground set, and let f:2N→R≥0 assign a nonnegative real value to every subset. The unconstrained submodular maximization problem asks for the largest value f(S) among all S⊆N. Write OPT for that value when no confusion arises, and O for a set attaining it. Submodularity means
f(A∪B)+f(A∩B)≤f(A)+f(B)(A,B⊆N).
There is no monotonicity or normalization assumption: f(∅) and f(N) may both be positive. A value oracle returns f(S) for a requested subset S. The paper's complexity claim counts such queries, assuming a query takes constant time. Buchbinder et al., §I and footnotes 1–2
Algorithm 2 visits the elements once in an arbitrary order u1,…,un. It keeps two sets, starting at X0=∅ and Y0=N. At step i, it measures the gain ai from adding ui to Xi−1 and the gain bi from removing ui from Yi−1. It clips each gain at zero, giving ai′=max(ai,0) and bi′=max(bi,0). It adds ui to X with probability ai′/(ai′+bi′) and otherwise removes it from Y. When both clipped gains vanish, the paper defines the add probability as one. After all elements have been processed, the two sets coincide, and the algorithm returns their common value. The state law is adaptive: its probability at step i depends on the actual pair of sets produced by earlier choices. Buchbinder et al., Algorithm 2
Formalization targets
The main target is Theorem I.2 for this exact algorithm and for every enumeration of the ground set:
S⊆Nmaxf(S)≤2E[f(Xn)].
The milestone statements retain the paper's key local quantities. For a comparison optimum O, set OPTi=(O∪Xi)∩Yi. Lemma II.1 asserts ai+bi≥0. The endpoint statement identifies OPT0=O and OPTn=Xn=Yn. Inequality (3) bounds the conditional loss in the positive-gain case; Lemma III.1 compares the expected change of OPTi with the expected combined change of Xi and Yi. The telescoped display keeps the initial endpoint values f(∅) and f(N) before using nonnegativity. Buchbinder et al., Lemmas II.1 and III.1, inequality (3), proof of Theorem I.2
A companion target is Theorem I.4 via its second proof. For two normalized monotone submodular utilities f1,f2, let g(S)=f1(S)+f2(N∖S). The maximum of g is exactly the optimal welfare of a two-player partition. Algorithm 2 on g is asked to satisfy
The main theorem gives a specific randomized rule whose expected value is at least half the best subset value, even when accepting an element can lower the objective. It applies without restricting the cardinality or shape of the chosen subset. The welfare corollary shows that keeping the initial endpoint values in the analysis yields a stronger guarantee for the objective formed from two monotone players. Buchbinder et al., Theorems I.2 and I.4
This mission formalizes the statement of the algorithm, its intermediate state laws, its comparison set, and the paper's numbered proof targets. The algorithmic guarantee is proved in the source paper; the local Lean theorem files are open statements with sorry and do not yet give machine-checked proofs of these results. A completed development would supply a reusable formal model of an adaptive finite random process over pairs of subsets, as well as the specific submodular inequalities. The published Submodular and OPT definitions from the earlier Feige–Mirrokni–Vondrák formalization are reused here.
Difficulty
The two possible updates cannot be assessed independently. The probability of each choice depends on the current state, and the comparison set OPTi can gain or lose the processed element in a way that differs from the two algorithm sets. A bound on the expected value of Xi alone does not control the movement of OPTi. The proof must handle the clipped gains, including the case when both are zero, while preserving the exact joint law of (Xi,Yi). Buchbinder et al., proof of Lemma III.1
Formalization scope
The ground set is a finite Lean type; subsets are Finset X, and values are real numbers. An order is a list with no repeated elements that covers the type, including the empty type. The run is an explicit finite mass function on pairs of subsets after every prefix of the list. Expectation is a finite weighted sum, so it has no integrability exception. The transition clips the two real marginal gains and handles 0/0 by assigning probability one to the add branch, exactly as Algorithm 2 specifies. The optimum is the published maximum over all subsets. No ratio divides by a possibly zero optimum.
The theorem fixes Algorithm 2 itself; an arbitrary process with nested sets or a process defined by its desired approximation property does not satisfy this scope. The Lean goal states the value bound and leaves the paper's linear-time claim outside the formal theorem. The algorithm uses four value evaluations per processed element in its printed rule; the Lean development represents those evaluations, not an implementation cost model. The statement that its two final sets coincide is a separate milestone.
The source's main-text decreasing-returns definition has an overbroad quantifier on the added element. This development uses the equivalent lattice inequality given in the paper's footnote, which permits nonmonotone functions. The proof of Lemma II.1 also has a set-index slip, and the proof of Theorem I.2 prints F for f in one display; neither slip is copied into a formal statement. The one-step inequality (3) is stated for any nested pair with the processed element in Y∖X, a generalization of the conditioned reachable states in the paper. Contributions proving the endpoint invariant, conditional inequality, one-step expected estimate, and final bound are all within scope.
Selected references
Niv Buchbinder, Moran Feldman, Joseph Naor and Roy Schwartz, A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization, Proceedings of the 53rd IEEE Symposium on Foundations of Computer Science, 2012. FOCS version used here.
Niv Buchbinder, Moran Feldman, Joseph Naor and Roy Schwartz, A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization, SIAM Journal on Computing 44(5), 2015. DOI: 10.1137/130929205. The cited statement indices above refer to the FOCS version.
The Relaxation Method of Finding the Common Point of Convex Sets and Its Application to the Solution of Problems in Convex Programming 1: Under Cyclic Control Every Limit Point Is a Common PointResearch Paper
Motivation
Many problems in optimization and numerical analysis reduce to finding a point in the intersection of finitely many closed convex sets: solving a system of linear equations or inequalities, reconstructing an image from projections, or finding a feasible point of a convex program. The classical methods for this convex feasibility problem project the current point onto one set at a time, in Euclidean distance: Kaczmarz (1937) for linear equations, Agmon and Motzkin–Schoenberg (1954) for linear inequalities, and the cyclic projection method for general convex sets studied by Gubin, Polyak and Raik (1967).
L. M. Bregman's 1967 paper replaces the Euclidean distance by a general function D(x,y) satisfying a short list of axioms, and shows that the projection method still works. The functions D(x,y)=f(x)−f(y)−⟨∇f(y),x−y⟩ built from a strictly convex f are the ones now called Bregman divergences, and the paper is the origin of Bregman projections, of the row-action methods of Censor and collaborators, and indirectly of mirror descent. Its §2 uses the abstract result to solve convex programs with linear constraints by relaxation.
This mission formalizes §1 of the paper for the cyclic control, in which the sets are visited in a fixed round-robin order. A companion mission treats the remotest-set control of Theorem 2, and two further missions treat the convex-programming results of §2.
Setting
Let X be a real linear topological space and A0,…,Am−1 closed convex subsets of X, with intersection R=⋂iAi. Let S⊂X be a convex set with S∩R=∅, and let D:S×S→R. The paper requires:
I.D(x,y)≥0, with equality if and only if x=y.
II. For every y∈S and every i there is a point Piy∈Ai∩S minimizing D(⋅,y) over Ai∩S; it is the D-projection of y onto Ai.
III. For every i and y∈S, the function z↦D(z,y)−D(z,Piy) is convex on Ai∩S.
IV.D(⋅,y) has derivative 0 at the point y.
V. For every z∈R∩S and real L, the sublevel set {x∈S∣D(z,x)≤L} is compact.
VI. If D(xn,yn)→0, yn→y∗∈Sˉ, and {xn} lies in a compact set, then xn→y∗.
The relaxation sequence with control (in) starts at any x0∈S and sets xn+1=Pinxn. Under the cyclic controlin=nmodm, the sets are projected onto in the order A0,A1,…,Am−1,A0,…. A limiting point of {xn} is the limit of a convergent subsequence xnk.
The Lean development uses the namespace BregmanRelax.Cyclic: DConditions A S D P bundles conditions I–IV and VI together with the closedness and convexity of the sets, CondV S D Z is condition V for the points of Z, IsRelaxSeq S P i x is the relaxation sequence with control i, and cyclicControl hm is n↦nmodm.
Formalization targets
Goal: Theorem 1 (p. 203)
Under conditions I–VI, with the cyclic control, every limiting point of every relaxation sequence lies in every set:
xnk→x∗⟹x∗∈i=0⋂m−1Ai.
The statement is about every starting point x0∈S and every convergent subsequence. It does not assert that the whole sequence converges.
Milestones
Lemma 1 (pp. 201–202): for z∈Ai∩S and y∈S,
D(Piy,y)≤D(z,y)−D(z,Piy).
Lemma 2 (2) (p. 202): for any control and any z∈R∩S, limn→∞D(z,xn) exists.
Lemma 2 (3) (p. 202): for any control, D(xn+1,xn)→0.
Lemma 2 (1) (p. 202): for any control, {xn} lies in a compact set.
Further result: Note 1, condition (1) (pp. 204–205)
For any control whose relaxation sequence has all its limiting points in R (the cyclic control, by Theorem 1), if in addition S is closed and y↦D(z1,y)−D(z2,y) is continuous on S for all z1,z2∈R∩S, then the relaxation sequence converges to a point of R.
Significance
Theorem 1 is the abstract convergence theorem behind cyclic Bregman projections. With D(x,y)=∥x−y∥2 in a Hilbert space it gives the convergence of cyclic orthogonal projections onto finitely many closed convex sets in the weak topology (the paper's Example 1). With D given by a Bregman divergence it gives the method that the paper's §2 turns into an algorithm for convex programs with linear equality and inequality constraints, including entropy maximization. Lemma 1, the generalized Pythagorean inequality, is used throughout the later literature on Bregman projections, mirror descent and online learning.
The results are proved in the paper and are classical. To our knowledge no machine-checked version exists: Mathlib has orthogonal projections onto closed convex sets in Hilbert spaces, but no Bregman projections and no convergence theorem for cyclic projection methods. A formalization supplies an axiomatic interface (conditions I–VI) that does not depend on any particular divergence, so special cases (Euclidean distance, Kullback–Leibler divergence, Bregman divergences of Legendre functions) can be obtained by checking the conditions.
Difficulty
There is no norm and no metric: D is neither symmetric nor subject to a triangle inequality, and X is only a topological vector space. The usual Fejér-monotonicity argument for Euclidean projections, which compares distances to a fixed point of R, works only one way in D. Convergence of a subsequence xnk does not by itself say anything about the shifted subsequences xnk+1,…,xnk+m−1, and these are needed to reach every set Ai. That step requires condition VI together with compactness, and condition VI has a compactness premise that has to be supplied separately. Throughout, convergence is in a general topology where "compact" and "sequentially compact" may differ.
Formalization scope
The formalization commits to the following readings, each recorded in the items' Formalization Notes.
The projection is a map.P:ι→X→X is fixed, and condition II states that Piy is a minimizer. Condition III is stated for this map.
Condition IV, one-sided. The paper asks for limt→0D(y+tz,y)/t=0 for every z∈X. The formalization assumes only the right-hand limit in the directions w−y with w∈S, which is what the proofs use and what the paper's IV implies. Every theorem is therefore at least as strong as the paper's.
Compactness is sequential. "Compact" in V, VI and Lemma 2 (1) is IsSeqCompact. The set of elements of {xn} being compact is read as {xn} lying in a sequentially compact set.
Hausdorff space. The proof of Theorem 1 identifies two limits of one sequence, so T2Space X is assumed. X is a real topological vector space (IsTopologicalAddGroup, ContinuousSMul ℝ).
Limiting point means the limit of x ∘ φ for a strictly increasing φ : ℕ → ℕ.
Index base. The sets are indexed by Fin m with 0<m, and the cyclic control is n↦nmodm, the paper's in=(nmodm)+1 shifted by one.
Translation typos. Condition II is printed as "D(x,y)=minz∈Ai∩SD(z,x)" with "i∈T". The formalization reads minzD(z,y) and i∈I. In Lemma 2 (2) the faint set symbol is read as R, and z is taken in R∩S, as in the proof.
Domain of D.D is a total function X → X → ℝ; every condition constrains it on S×S only, and the standing assumption S∩R=∅ is an explicit hypothesis.
A trivializing formalization is ruled out: the hypotheses are satisfiable (a sorry-free local check takes X=R, D(x,y)=(x−y)2, two overlapping closed intervals and the clamp projections), the conclusion concerns every limiting point of every cyclic run, and the goal neither assumes convergence nor restricts the control.
Contributions welcome: proofs of the milestones, a proof of the goal, and instances of DConditions for concrete divergences (squared Euclidean distance in finite dimension, Bregman divergences of strictly convex differentiable functions). These instances are reusable by the companion missions of this paper.
Selected references
L. M. Bregman, The relaxation method of finding the common point of convex sets and its application to the solution of problems in convex programming, USSR Computational Mathematics and Mathematical Physics 7(3) (1967) 200–217. https://doi.org/10.1016/0041-5553(67)90040-7
L. G. Gubin, B. T. Polyak, E. V. Raik, The method of projections for finding the common point of convex sets, USSR Computational Mathematics and Mathematical Physics 7(6) (1967) 1–24. https://doi.org/10.1016/0041-5553(67)90113-9
T. S. Motzkin, I. J. Schoenberg, The relaxation method for linear inequalities, Canadian Journal of Mathematics 6 (1954) 393–404. https://doi.org/10.4153/CJM-1954-038-x
Y. Censor, A. Lent, An iterative row-action method for interval convex programming, Journal of Optimization Theory and Applications 34 (1981) 321–353. https://doi.org/10.1007/BF00934676
Optimal Sequencing of a Single Machine Subject to Precedence Constraints: Repeatedly Placing Last a Least-Cost Eligible Job Yields a Minmax Optimal SequenceResearch Paper
Motivation
Single-machine sequencing is the base case of deterministic scheduling theory. Many multi-machine and shop problems are analysed by reduction to it, and many bounds and approximation algorithms for harder models use it as a subroutine. A central objective class is the bottleneck or minmax objective. Each job carries a nondecreasing cost of its completion time, and the schedule is judged by its worst job. Maximum lateness, maximum tardiness and maximum weighted tardiness are all special cases.
Before 1973 the minmax problem was solved without precedence constraints. Jackson (1955) showed that ordering by due date minimizes maximum lateness. Moore (1968, Management Science 15(1)) gave a procedure for general nondecreasing deferral costs, and Lawler and Moore (1969) gave a related method. In Lawler, Optimal Sequencing of a Single Machine Subject to Precedence Constraints, Management Science 19(5), 1973, Lawler showed that arbitrary precedence constraints can be added at no loss of efficiency. Jobs are chosen from last to first, by a single comparison of costs at a known time. The resulting O(n2) procedure is the standard algorithm for the problem written 1∣prec∣fmax in the classification of Graham, Lawler, Lenstra and Rinnooy Kan (1979). It is one of the first polynomial-time results for precedence-constrained scheduling that every survey of the field cites.
Setting
A finite, nonempty set J of jobs is processed on a single machine, one job at a time and without interruption. Each job j has a processing timeaj≥0 and a cost functioncj:R→R that is monotone nondecreasing. The value cj(t) is the cost incurred when j is completed at time t.
The precedence constraints are an arbitrary relation ≺ on jobs: i≺j means that job i is required to precede job j. A sequenceπ=(π1,…,πn) lists every job of J once. It observes the precedence constraints if πq≺πp never holds for positions p<q. The machine starts at time 0 with no idle time, so the completion time of πm is Cπm(π)=aπ1+⋯+aπm. The maximum incurred cost of π is
fmax(π)=j∈Jmaxcj(Cj(π)),
and a feasible π is minmax optimal if fmax(π)≤fmax(π′) for every feasible π′.
For a set P of jobs, S(P) is the set of jobs of P that are not required to precede any other job of P, and TP=∑j∈Paj. Lawler's rule builds a sequence from the last position to the first. With P the jobs not yet placed, it chooses k∈S(P) with ck(TP)=minj∈S(P)cj(TP), places k in the latest open position and removes it from P. Ties are broken arbitrarily. In Lean the objects are IsFeasible, lastEligible (S), IsMinmaxOptimal and IsLawlerSequence, in namespace LawlerPrec.MinMax. They are built on the published MooreLateJobs.Shared.completionTime and MooreLateJobs.MaxDeferral.maxCost.
Formalization targets
Goal: the rule is optimal
Every sequence π that Lawler's rule can produce, under any tie-breaking, observes the precedence constraints and satisfies
fmax(π)≤fmax(π′)for every sequence π′ of J observing the precedence constraints.
This is the statement of §3 (p. 545), "An efficient algorithm for finding a minmax optimal sequence follows immediately from the theorem above". It contains no constants.
Milestones
§2 proof, third paragraph. Moving a job of S(J) to the end of a feasible sequence keeps it feasible.
§2 proof, fourth paragraph, first sentence. After that move, no job other than k completes later, and k completes at T=∑j∈Jaj.
§2 proof, fourth paragraph. If ck(T)≤ck′(T), where k′ is the last job of the feasible sequence, the move does not raise fmax.
THEOREM (§2), p. 544. If some feasible sequence exists and k∈S(J) minimizes cj(T) over S(J), then some minmax optimal sequence has k last.
§3, the reduction. A minmax optimal sequence of J∖{k}, followed by k, is minmax optimal for J.
§3, the procedure never stalls. If a feasible sequence exists, the rule produces a complete sequence. This shows the goal is not vacuous.
Significance
The result shows that 1∣prec∣fmax is solvable in polynomial time for every family of nondecreasing costs. The ordering of an optimal sequence depends on the costs only through their values at the n partial sums TP along the way. The deadline problem is a corollary (§5): sequencing from last to first by latest deadline among the currently available jobs avoids tardiness whenever any sequence does. The last-to-first scheme is reused in later backward rules for fmax objectives. A formal statement of the rule, its feasibility and its optimality makes these extensions available for formal reuse.
The result is classical and its proof is short. No machine-checked proof of it is known to be in Mathlib. The work this mission asks for is a formal proof of the known exchange argument and of the induction that turns the Theorem into the algorithm's correctness. The induction needs the reduced problem's sets S(P) and times TP to be the correct ones at each stage, which the definitions fix.
Difficulty
The exchange argument of §2 is elementary. The difficulty lies in stating the algorithm faithfully and carrying the induction. At each stage the eligible set S(P) and the time TP must be recomputed on the remaining jobs, with constraints into already placed jobs ignored. The induction must also show that the rule's sequence is feasible, which is a conclusion and not an assumption.
A first attempt often proves only the Theorem, that some optimal sequence has k last. That statement says nothing about a sequence built entirely by the rule, because an optimal sequence of J with k last need not restrict to an optimal sequence of J∖{k}. Optimality of the rule's whole sequence is the target, and milestone 5 isolates the corresponding step of the page.
Formalization scope
Jobs form a type ι with decidable equality, and the job set is J : Finset ι.
Processing times are a : ι → ℝ, costs are c : ι → ℝ → ℝ, and the precedence constraints are prec : ι → ι → Prop.
A sequence is a duplicate-free list whose elements are exactly J. Positions are 0-based, and completion times are prefix sums (MooreLateJobs.Shared.completionAt).
The relation prec is arbitrary: it is not assumed transitive, irreflexive or acyclic. A cycle among distinct jobs leaves no feasible sequence. A self-loop constrains nothing, both in feasibility and in S (the "others" of the page exclude the job itself).
The standing assumptions of §1 appear as hypotheses wherever they are used: monotone nondecreasing cj for j∈J, and J nonempty where the maximum is taken. Two hypotheses are added relative to the page and disclosed in each statement. Processing times are non-negative (aj≥0), since they are durations and the exchange argument fails without them. The Theorem also assumes the existence of a feasible sequence, which its conclusion presupposes.
The rule is the property IsLawlerSequence of a finished sequence. At each position m, the job there lies in S of the jobs in positions 0..m and minimizes the cost at their total processing time. Every tie-break is covered. The rule is not a deterministic function, and it is not an arbitrary choice function. Feasibility of the rule's output is part of the goal's conclusion, so the goal cannot be obtained by assuming it. A statement that compares the rule only with some sequence, or that asserts only that an optimal sequence exists, is weaker and is ruled out by the goal's form. Milestone 6 shows the goal's hypotheses are satisfiable whenever a feasible sequence exists.
The n2 operation count of §4, the first-to-last rule of §5 and the deadline corollaries of §5 are not part of this mission. A development needs only finite lists and finsets from Mathlib. Lemmas about moving an element to the end of a duplicate-free list, and about prefix sums under that move, are reusable for other exchange arguments in single-machine scheduling.
Selected references
E. L. Lawler, Optimal Sequencing of a Single Machine Subject to Precedence Constraints, Management Science 19(5):544–546, 1973. https://doi.org/10.1287/mnsc.19.5.544
J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1):102–109, 1968. https://doi.org/10.1287/mnsc.15.1.102
E. L. Lawler and J. M. Moore, A Functional Equation and its Application to Resource Allocation and Sequencing Problems, Management Science 16(1):77–84, 1969. 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.
R. L. Graham, E. L. Lawler, J. K. Lenstra and A. H. G. Rinnooy Kan, Optimization and Approximation in Deterministic Sequencing and Scheduling: a Survey, Annals of Discrete Mathematics 5:287–326, 1979. https://doi.org/10.1016/S0167-5060(08)70356-X
A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization 1: Deterministic Double Greedy Achieves 1/3 of the OptimumResearch Paper
Motivation
A set function f:2N→R on a finite ground set N is submodular if it has diminishing returns, equivalently if f(A)+f(B)≥f(A∪B)+f(A∩B) for all A,B⊆N. Cut functions of graphs and hypergraphs, coverage functions, entropy, and many facility-location and welfare objectives are submodular. Unconstrained Submodular Maximization (USM) asks, given a nonnegative submodular f through a value oracle, for a set S⊆N of maximum value. It contains Max-Cut, Max-DiCut and Max Facility Location as special cases, and it is a subroutine in algorithms for constrained submodular maximization.
Timeline:
Feige, Mirrokni and Vondrák (FOCS 2007; SIAM J. Comput. 2011) gave a uniformly random set achieving 1/4 of the optimum, a deterministic local search achieving 1/3−ε/n, a randomized local search achieving 2/5, and proved that no algorithm making polynomially many value queries achieves 1/2+ε.
Oveis Gharan and Vondrák (SODA 2011) improved the ratio to about 0.41 by simulated annealing; Feldman, Naor and Schwartz (ICALP 2011) to about 0.42.
Buchbinder, Feldman, Naor and Schwartz (FOCS 2012; SIAM J. Comput. 2015) gave the double greedy algorithms: a deterministic linear-time 1/3-approximation (this mission) and a randomized linear-time 1/2-approximation, matching the query lower bound.
Setting
Let N be a finite ground set and f:2N→R≥0 a nonnegative submodular function. Write f(OPT)=maxS⊆Nf(S), and let OPT denote a set attaining it.
Algorithm 1 (DeterministicUSM) fixes an arbitrary order u1,…,un of N and maintains two solutions, starting from X0=∅ and Y0=N. In iteration i=1,…,n it computes
If ai≥bi it sets Xi=Xi−1∪{ui}, Yi=Yi−1; otherwise Xi=Xi−1, Yi=Yi−1∖{ui}. A tie adds ui. After n iterations Xn=Yn, which is the output.
The analysis uses the hybrid sets OPTi=(OPT∪Xi)∩Yi, which agree with Xi and Yi on u1,…,ui and with OPT on ui+1,…,un. In Lean, the run is state f l i, the state (Xi,Yi) after the first i entries of the order l, and OPTi is optI O (state f l i).
Formalization targets
Goal: Theorem I.1
For every nonnegative submodular f and every order of N,
Xn=Ynandf(OPT)≤3f(Xn).
Milestones
Lemma II.1. For every 1≤i≤n, ai+bi≥0.
The hybrid sequence.OPTi agrees with Xi,Yi on u1,…,ui and with OPT on the rest; OPT0=OPT and OPTn=Xn=Yn.
The telescoped display.f(OPT0)−f(OPTn)≤[f(Xn)−f(X0)]+[f(Yn)−f(Y0)]≤f(Xn)+f(Yn).
Theorem II.3 (tightness). For every ε>0 there is a nonnegative submodular f with f(OPT)>0 and an order on which f(Xn)≤(1/3+ε)f(OPT).
Significance
The result. Algorithm 1 is the deterministic member of the double greedy family. It makes one pass over the ground set with four value queries per element, and it guarantees 1/3 of the optimum for every order, without the polynomial-but-large running time and the ε/n loss of local search. Its analysis, which charges the decrease of f(OPTi) to the increases of f(Xi) and f(Yi), is the template the paper then refines into the randomized 1/2-approximation (Theorem I.2) and its continuous counterpart on the multilinear extension. Theorem II.3 shows that 1/3 is the exact ratio of this algorithm, so the improvement to 1/2 requires randomization (or a different deterministic rule) rather than a sharper analysis.
Formalizing it. The theorem is proved in the paper; to our knowledge it has no machine-checked proof. The mission produces a formal statement of the algorithm as printed, a checked proof of its guarantee for every order, and a checked tight instance. The definitions of the run and of OPTi are the same objects the randomized and fractional analyses reason about, so a complete development here is the first step toward the paper's main theorem.
Difficulty
The individual inequalities are short; the difficulty lies in the bookkeeping. Each step needs the invariants Xi−1⊆Yi−1 and ui∈Yi−1∖Xi−1, which follow from the order being an enumeration (no repetitions, every element present), and the identification of OPTi from OPTi−1 in each branch of the algorithm. Summing Lemma II.2 needs a telescoping over the run defined as a fold. The naive idea of comparing f(Xn) with f(OPT) directly, without the hybrid sets, gives no bound: the greedy choices are made against X and Y, not against OPT. For Theorem II.3 the difficulty is producing an explicit instance, checking that it is submodular and nonnegative, and tracing the run, including the ties, which the algorithm resolves by adding.
Formalization scope
The ground set is a finite type X with decidable equality; subsets are Finset X; f is real valued, Finset X → ℝ, and nonnegativity is the hypothesis ∀ S, 0 ≤ f S where the page uses it (the goal, the telescoped display and the tight example). Lemma II.1, Lemma II.2 and the hybrid-sequence milestone do not assume it.
Submodularity is the lattice form f(A)+f(B)≥f(A∪B)+f(A∩B) of the paper's footnote 1, through the published definition NonmonotoneSubmod.Shared.Submodular. The paper's main-text sentence ("for every A⊆B⊆N and u∈N") would force monotonicity when u∈B∖A and is read as the footnote. f(OPT) is the published NonmonotoneSubmod.Shared.OPT f, the maximum of f over all subsets.
The order u1,…,un is a list l with l.Nodup and ∀ x, x ∈ l; ui is l[i - 1]. Every statement quantifies over all such lists. No nonemptiness of N is assumed: for an empty ground set the goal reads f(∅)≤3f(∅).
The tie rule is line 5's ai≥bi: ties add ui.
Where a milestone mentions an optimal solution, it takes a set O with ∀ S, f S ≤ f O.
The goal is stated multiplied out, f(OPT)≤3f(Xn), because f(OPT) may be 0.
Trivializing formalizations ruled out. The paper's Theorem I.1 reads "there exists a deterministic linear time (1/3)-approximation algorithm"; without the running time that existential is satisfied by exhaustive search, so the goal is the guarantee of the printed Algorithm 1 for every order. Running time is not formalized: the algorithm evaluates f on four sets per element, n elements in all. Theorem II.3 requires f(OPT)>0, without which f≡0 would satisfy it.
Needed infrastructure: elementary lemmas on List.foldl over List.take, on membership in the states of the run, and on telescoping sums over 1≤i≤n. A reusable lemma "the run keeps Xi⊆Yi and decides exactly u1,…,ui" would serve all three missions of this paper. Contributions of proofs of any milestone, of the goal from the milestones, and of the tight instance (e.g. the paper's five-vertex directed cut function) are welcome.
Gradient Convergence in Gradient Methods with Errors I: With Deterministic Errors Proportional to the Stepsize, Either f(x_t) → −∞ or f(x_t) Converges and ∇f(x_t) → 0Research Paper
Motivation
Gradient methods are the workhorse of large-scale nonlinear optimization and of the training of statistical models. In practice the direction actually used is rarely the exact negative gradient: it may be scaled, computed incrementally one data component at a time, or perturbed by approximation error. The classical convergence theory of such methods often assumes that the iterates stay bounded, that the objective is bounded below, or that the errors vanish at a prescribed rate, and these assumptions must then be checked separately for each method.
Bertsekas and Tsitsiklis (2000) proved convergence results for gradient methods with errors that need none of these assumptions. Their deterministic result (Proposition 1) allows a general descent direction together with an error whose size is proportional to the stepsize, and concludes that either the objective values diverge to −∞ or they converge and the gradients tend to zero. It applies, among others, to the incremental gradient method for a sum of functions (Proposition 2 of the same paper), which underlies backpropagation-style training. The stochastic counterpart (Proposition 3, zero-mean errors) is the subject of a companion mission.
Setting
Throughout, f:Rn→R is a continuously differentiable function whose gradient is Lipschitz continuous: for some constant L,
∥∇f(x)−∇f(xˉ)∥≤L∥x−xˉ∥∀x,xˉ∈Rn.(2.1)
Here ∥⋅∥ is the Euclidean norm and x′y the standard inner product. The gradient method with errors generates a sequence of iterates
xt+1=xt+γt(st+wt),t=0,1,…,
where γt>0 is the stepsize, st is a descent direction and wt is an error vector. Nothing is assumed about how st and wt are produced, beyond the two conditions below, which hold for some positive scalars c1,c2,p,q and every t:
The stepsizes are diminishing in the standard sense:
t=0∑∞γt=∞,t=0∑∞γt2<∞.
A stationary point of f is a point xˉ with ∇f(xˉ)=0; a limit point of (xt) is the limit of some subsequence.
Formalization targets
Goal: Proposition 1 (p. 630)
Under (2.1), (2.2), (2.3) and the stepsize conditions, either
f(xt)→−∞,
or else f(xt) converges to a finite value and
t→∞lim∇f(xt)=0.
Furthermore, every limit point of (xt) is a stationary point of f.
Milestones
The milestones follow the paper's own argument, in order.
Lemma 1 (p. 629). For real sequences with Wt≥0, Yt+1≤Yt−Wt+Zt and ∑t=0TZt convergent, either Yt→−∞, or Yt converges and ∑tWt<∞.
(2.4) (p. 630). Under (2.1), f(x+z)≤f(x)+z′∇f(x)+2L∥z∥2 for all x,z.
(2.5) (p. 631). For some β1,β2>0 and all sufficiently large t, f(xt+1)≤f(xt)−γtβ1∥∇f(xt)∥2+γt2β2.
(2.6) (p. 631). Either f(xt)→−∞, or f(xt) converges and ∑tγt∥∇f(xt)∥2<∞.
After (2.6) (p. 631). If f(xt)→−∞, then liminft→∞∥∇f(xt)∥=0.
Significance
The result. Proposition 1 separates two concerns that are usually entangled: what the method guarantees, and what must be known about f. It concludes stationarity of all limit points and convergence of the gradients to zero without assuming that the iterates are bounded or that f is bounded below; when f is bounded below the first alternative is excluded and ∇f(xt)→0 follows outright. Because st need not be the negative gradient and wt need not vanish faster than the stepsize, the result covers scaled gradient methods, incremental gradient methods for sums of functions, and gradient methods with deterministic approximation error. The descent inequality (2.4) and the deterministic supermartingale-type Lemma 1 are standard tools that recur throughout optimization theory.
Formalizing it. The proposition is proved in the paper; it has not been machine-checked. A formal proof would give a reusable, verified convergence theorem for a broad class of first-order methods on Rn, together with a formal descent lemma for functions with Lipschitz gradient, which Mathlib does not currently state in this form, and a deterministic Robbins–Siegmund-type lemma for sequences.
Difficulty
The summability estimate (2.6) gives only liminf∥∇f(xt)∥=0. Passing to lim∇f(xt)=0 is the main step: the obvious argument (a summable series ∑tγt∥∇f(xt)∥2 with ∑tγt=∞ forces the gradient norms to zero) is false in general, because a nonnegative sequence with these two properties may still have infinitely many large terms. What is missing is a bound on how far ∥∇f(xt)∥ can travel while the stepsizes are small, and only (2.1) and (2.2)–(2.3) together supply it. A second difficulty is that there is no boundedness of the iterates: every estimate must hold globally, and the error wt is controlled only relative to ∥∇f(xt)∥, which may be unbounded along the sequence.
Formalization scope
Rn is EuclideanSpace ℝ (Fin n), x′y is the real inner product ⟪x, y⟫_ℝ, and ∇f is Mathlib's gradient f; the hypothesis ContDiff ℝ 1 f makes it the true gradient. The paper's statement is for Rn and the formalization does not generalize to Hilbert spaces.
The standing assumption (2.1) of §2 is part of every statement about f, as LipschitzWith L (gradient f) with L : ℝ≥0; this is equivalent to (2.1) for some real constant.
The sequences xt,st,wt and γt are arbitrary data indexed from t=0, constrained only by the recursion and by (2.2), (2.3), γt>0 (all four constants c1,c2,p,q are positive, as printed).
∑tγt=∞ is divergence of the partial sums to +∞; ∑tγt2<∞ is summability of nonnegative terms. In Lemma 1 the convergence of ∑tZt is convergence of the partial sums, not absolute convergence, since Zt may change sign.
liminf is written out as "for every ϵ>0, infinitely often below ϵ", avoiding junk values of a lim inf of an unbounded sequence. Limit points are cluster points of the sequence.
"Every limit point is stationary" is a separate conjunct, outside the dichotomy, exactly as on the page.
The constants β1,β2 in (2.5) are existential. The milestones (2.5) and (2.6) retain the stepsize hypotheses of Proposition 1, where the paper derives them.
A trivializing formalization would drop the "−∞" alternative or require f bounded below; neither is done. Instances satisfying all hypotheses with f(xt)→−∞ and ∇f→0 exist (a linear f), so the first alternative is genuinely needed.
Out of scope: Proposition 2 (the incremental gradient method of §3), which is a corollary of the goal, and the stochastic results of §4–§5.
Contributions welcome: proofs of the descent lemma and Lemma 1 (both reusable well beyond this mission), and of the steps (2.5)–(2.6) and the excursion argument.
Selected references
D. P. Bertsekas and J. N. Tsitsiklis, Gradient Convergence in Gradient Methods with Errors, SIAM Journal on Optimization 10(3):627–642, 2000. https://doi.org/10.1137/S1052623497331063
D. P. Bertsekas, Nonlinear Programming, 2nd ed., Athena Scientific, 1999.
H. Robbins and D. Siegmund, A convergence theorem for non negative almost supermartingales and some applications, in Optimizing Methods in Statistics, Academic Press, 1971, 233–257. https://doi.org/10.1016/B978-0-12-604550-5.50015-8
On Sequential Decisions and Markov Chains 3: A Deterministic Stationary Procedure Minimizes the Ratio of Two Long-Run Average CostsResearch Paper
Motivation
Many controlled systems are judged by a ratio of two long-run quantities rather than by a single one: cost per unit of output, cost per unit of time when the time spent in a state depends on the decision, cost per customer served, or expected cost per cycle of a renewal process. In a finite Markov decision model each of these is a quotient of two average costs per unit time. Cyrus Derman's 1962 paper On Sequential Decisions and Markov Chains (DOI 10.1287/mnsc.9.1.16) introduced this ratio-of-costs criterion in its §4, prompted by the fractional linear program that its §3 uses to solve the total-cost problem as a linear program, and pointed to Klein's work on maintenance policies as an example of the problem.
The paper's §4 first observes that, restricted to stationary randomized procedures, the ratio criterion is a ratio of two linear functions of the stationary state-decision frequencies, so it can be minimized by the fractional linear programming lemma of §3. The question it then raises is the one this mission formalizes: is the procedure optimal over stationary procedures also optimal over all procedures, including history-dependent and randomized ones? Derman's Theorem 3 answers yes under an irreducibility assumption, by reducing the ratio problem to a family of ordinary average-cost problems with costs of either sign.
Timeline, as far as it bears on this mission:
1960: Manne, Linear Programming and Sequential Decisions, shows that linear programming applies to the average-cost problem, in the context of an inventory problem; Wagner, On the Optimality of Pure Strategies, shows by linear programming that a deterministic stationary procedure is optimal for it.
1960: Howard, Dynamic Programming and Markov Processes, gives policy iteration for the average-cost problem over stationary procedures.
1962: Derman proves that a deterministic stationary procedure is optimal over all procedures for the average-cost criterion (Theorem 1), formulates the average and total cost problems as linear programs under irreducibility assumptions (Theorem 2), and extends the optimality of deterministic stationary procedures to the ratio criterion (Theorem 3).
1962: Klein, Inspection-Maintenance-Replacement Schedules Under Markovian Deterioration, gives a problem of the ratio type (cited by Derman, p. 18).
1963: Jewell, Markov-renewal programming, treats the gain rate (reward per unit sojourn time) of semi-Markov decision processes, over stationary policies.
Setting
A system is observed at times t=0,1,… in one of finitely many states0,…,L. After each observation one of the decisionsd1,…,dK is made, all of them available in every state. If the system is in state i and decision dk is made, the next state is j with probability qij(k)≥0, where ∑jqij(k)=1.
A procedureR chooses the decision at time t at random, with probabilities Dk(X0,Δ0,…,Xt) that may depend on the whole past; the class of all procedures is C. The class C′ consists of the stationary randomized procedures, for which the probability of dk in state i is a fixed number Dik, whatever the past and the time. The class C′′ consists of the deterministic stationary procedures, those of C′ with every Dik∈{0,1}; it is finite. A procedure of C′ turns the states into a Markov chain with transition probabilities pij=∑kqij(k)Dik.
Let wik′>0 and wik′′>0 be two sets of costs incurred when decision dk is made in state i. For a fixed procedure R started at X0=i, let Wt′ and Wt′′ be the expected costs at time t. The ratio criterion is
ψR(i)=T→∞limsup∑t=0TWt′′∑t=0TWt′.
For a single cost set w with expected costs Wt, the average cost per unit time is QR(i)=limsupT→∞T1∑t=0TWt.
Assumption A says that for every procedure of C′ all states 0,…,L belong to the same class of the induced Markov chain.
Formalization targets
Goal: Theorem 3 (p. 23)
Under Assumption A, for every initial state i there is a deterministic stationary procedure R3∈C′′ with
ψR3(i)=R∈CminψR(i),
that is, ψR3(i)≤ψR(i) for every procedure R∈C.
Steps of the proof (milestones)
Theorem 1 (1) for costs of either sign: for every real cost w there is R1∈C′′ with QR1(i)≤QR(i) for all R∈C and all i.
For any procedure R, ψR(i)≤m implies QR(i)≤0 for the costs wik=wik′−mwik′′.
Under Assumption A, for R∗∈C′′, QR∗(i)≤0 for those costs implies ψR∗(i)≤m.
For R∈C′ under Assumption A, ψR(i)=∑s∑kπsDskwsk′′∑s∑kπsDskwsk′, with π the stationary distribution of (psj).
Significance
Theorem 3 justifies solving ratio problems over stationary procedures only. Combined with the display of milestone 4 it shows that the fractional linear program over stationary state-decision frequencies yields a procedure optimal against every procedure, including those that remember the past or randomize. The same reduction, minimizing w′−mw′′ and adjusting m, underlies later parametric methods for fractional Markov decision problems and the analysis of semi-Markov decision processes, where the denominator is the expected sojourn time.
All four steps and the theorem are classical and proved on paper. None of them is formalized on Prove2Me: the platform has average-cost optimality statements with nonnegative costs (Sennott's Proposition 6.2.3) and Jewell's gain-rate results restricted to stationary policies, but no statement of a ratio criterion over history-dependent procedures. This mission produces the statement of Theorem 3, the signed-cost version of Theorem 1 that it uses, and the two translation steps between the ratio criterion and the average-cost criterion.
Difficulty
The obvious argument restricts to stationary procedures, where all Cesàro limits exist and the ratio criterion is a ratio of two linear functionals of a stationary distribution. It says nothing about a history-dependent procedure, whose averages T1∑t≤TWt′ and T1∑t≤TWt′′ need not converge, and for which the limit superior of the ratio is not the ratio of the limits superior. The translation from the ratio to an average cost therefore works in one direction for every procedure (milestone 2) and in the other direction only for stationary ones (milestone 3). The other ingredient, optimality of a deterministic stationary procedure for the average-cost criterion against all procedures with costs of either sign (milestone 1), is the substance of Derman's Theorem 1 and requires a vanishing-discount or equivalent argument over history-dependent procedures.
Formalization scope
The dynamics and the procedures come from the published definitions SennottDP_AvgFinite_Model: the system is an MDC S Act with [Fintype S] [Fintype Act] and the hypothesis ∀ s, M.A s = Finset.univ (all decisions available); the class C is Policy M, history-dependent and randomized; C′′ is StationaryPolicy M through .toPolicy; the law of the history is histProb. The cost field M.C of that structure plays no role: the costs w′, w′′ and the signed cost of milestone 1 are explicit real arguments S → Act → ℝ.
The local definitions are: the expected cost at time t for a real cost, as a finite sum over histories of length t+1; QR(i) with Derman's normalization (T+1 terms divided by T); ψR(i) as the limit superior of the ratio of partial sums; the induced matrix pij; Assumption A as Matrix.IsIrreducible of p for every row-stochastic D≥0; and membership of a procedure in C′ with probabilities D. All limits superior are real, of bounded sequences; positivity of w′ and w′′ is a hypothesis of every statement involving ψ, which keeps the denominators positive.
The goal quantifies "for every initial state there is R3", following the proof. The competitors in the goal and in milestone 1 range over all of Policy M; a version comparing only with stationary procedures is a different and easier theorem and does not close this mission. Assumption A is kept in the goal although the proof does not visibly use it, because the theorem states it.
Contributions welcome: proofs of the milestones, in particular the signed-cost Theorem 1 (which may reduce to Sennott's Proposition 6.2.3 by shifting costs by a constant), Cesàro limits for stationary procedures on finite chains (reusable for milestones 3 and 4), and the final compactness argument over the finite class C′′.
M. Klein, Inspection-Maintenance-Replacement Schedules Under Markovian Deterioration, Management Science 9(1), 1962.
H. M. Wagner, On the Optimality of Pure Strategies, Management Science 6(3), 1960.
R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
W. S. Jewell, Markov-Renewal Programming. I: Formulation, Finite Return Models, Operations Research 11(6):938–948, 1963. https://doi.org/10.1287/opre.11.6.938
Air Travel Demand and Airline Seat Inventory Management III: Gaussian EMSR Protection Levels and Their SensitivityTextbook
Why protection levels and their inputs matter
An airline sells the seats of one flight leg in several fare classes at different prices. Low-fare passengers usually book first, so the airline must decide how many seats to keep back, or protect, for later high-fare passengers. Peter Belobaba's 1987 MIT dissertation introduced the expected marginal seat revenue (EMSR) rule for this decision, and EMSR-type rules became a standard of airline revenue management practice (Talluri and van Ryzin 2004). A protection level is computed from a demand forecast, and forecasts are uncertain. Section 6.2 of the dissertation asks how the protection level moves when its inputs move: the mean of forecast demand, its standard deviation, and the ratio of the two fares. That question decides where forecasting effort pays off, and this mission formalizes the answers the dissertation gives for Gaussian demand.
This is the third mission in a series on the dissertation. The first treats marginal allocation among distinct fare classes, and the second the two-class nested protection level in the discrete model, including its revenue optimality. This mission takes the continuous Gaussian model of Chapter 6 on its own terms.
Setting
Let r be the number of requests for a fare class, a real random variable with law μ. For a seat level S∈R the tail probability is
Pˉ(S)=P[r≥S],
and for the fare f of the class the expected marginal seat revenue is EMSR(S)=Pˉ(S)⋅f (Eqs. (6.1)–(6.2)).
There are two classes: class 1 with fare f1 and class 2 with fare f2, where 0<f2<f1. Requests for class 1 are Gaussian with estimated mean rˉ and estimated standard deviation σ^>0, written r1∼N(rˉ,σ^2). A real number S is an EMSR protection level for class 1 against class 2 when
Pˉ1(S)=P[r1≥S]=f1f2(Eq. (6.10)).
The standardized levelZ is the value "which has a probability of f2/f1 of being exceeded" by a standard normal variable:
P[N(0,1)≥Z]=f1f2.
In the Lean development these are tailProb, emsr, gaussianLaw rbar σ, stdNormal, IsProtectionLevel rbar σ f₁ f₂ S and IsStdNormalLevel f₁ f₂ Z, all in the namespace SeatInventory.Gaussian.
Formalization targets
Goal: the Gaussian protection level and its sensitivity to σ^
For σ^>0 and 0<f2<f1:
Eq. (6.10) has exactly one solution S, and the standard normal equation has exactly one solution Z;
they satisfy
S=rˉ+Zσ^(Eq. (6.12));
Z<0 if f2/f1>1/2, Z>0 if f2/f1<1/2, Z=0 if f2/f1=1/2 (Eq. (6.14)), and S=rˉ in the last case;
if σ^′>σ^ and S′ solves (6.10) for N(rˉ,σ^′2), then S′<S, S′>S or S′=S according as f2/f1 is above, below or equal to 1/2.
The goal states no numerical constant and no particular fare ratio; it fixes only the shape of the dependence.
Milestones, in attack order
Eq. (6.1)–(6.2): for any request law, Pˉ and EMSR are non-increasing in S.
Eq. (6.10): the Gaussian protection level exists and is unique.
Eq. (6.11)–(6.12): S=rˉ+Zσ^.
p. 154: with σ^ and the fares fixed, replacing rˉ by rˉ+c replaces S by S+c.
Eq. (6.14): the sign of Z, and S=rˉ at fare ratio 1/2 for every σ^.
p. 154: the effect of σ^ on S (part 4 of the goal on its own).
p. 157: Z and S decrease strictly as the fare ratio f2/f1 increases.
The dissertation's constant-coefficient-of-variation form, Eq. (6.13), S=rˉ(1+Zk) with k=σ^/rˉ, follows from (6.12) by substitution and is not stated separately.
Significance
The result gives every Gaussian protection level as a closed form in one standard normal quantile. From it come the three sensitivities that Sect. 6.2 uses to argue for better forecasts. The protection level moves one-for-one with mean demand. The standard deviation moves it in a direction fixed only by whether the discount fare is above or below half the full fare. A higher fare ratio always lowers it. The dissertation uses these facts, and its Figures 6.1 and 6.2, to argue that reducing the estimated standard deviation of demand narrows the range of protection levels a forecast can produce. The same quantile structure is behind Littlewood's rule and the newsvendor critical fractile, so the statements here are the Gaussian specialization of a pattern that recurs throughout revenue management and inventory theory.
All the statements are classical and easy to believe. None of them, to our knowledge, has a machine-checked proof. Mathlib provides the Gaussian law and its affine images, but no standard normal quantile and no statement that a Gaussian tail is a strictly decreasing bijection onto (0,1). Formalizing this mission produces both, in a form that can be used again wherever a normal critical fractile appears.
Difficulty
Most of the work is in the existence and uniqueness of the two tail solutions. The tail S↦P[r1≥S] must be shown continuous, strictly decreasing, and to take every value in (0,1). Strictness needs the Gaussian density to be positive everywhere, and existence needs a limit argument at both ends. Monotonicity alone, which holds for every law (Eqs. (6.1)–(6.2)), gives neither, because a general law can have flat stretches and jumps in its tail. The relation S=rˉ+Zσ^ then requires transporting the tail of N(rˉ,σ^2) to that of N(0,1) through the affine map x↦(x−rˉ)/σ^, and the sign of Z requires the symmetry of N(0,1), namely P[N(0,1)≥0]=1/2. Once uniqueness is available, each sensitivity statement follows from these facts. The tempting shortcut of reading S=rˉ+Zσ^ as a definition is ruled out below.
Formalization scope
Continuous seats. Protection levels and Z are real numbers, as in the dissertation's own Gaussian example (Z=−0.675 at fare ratio 0.75). This differs from the first two missions of the series, which count seats in N. For a continuous law P[r≥S]=P[r>S], so the two definitions of Pˉ the dissertation uses (Eq. (5.2) and Eq. (6.2)) coincide here.
Gaussian law.N(rˉ,σ^2) is Mathlib's gaussianReal rbar (σ^2), parameterised by the variance. Every theorem assumes σ^>0; at σ^=0 the law is a Dirac mass and (6.10) has no solution.
Fares.0<f2<f1, so f2/f1∈(0,1). This is the dissertation's "f2<f1" together with positive fares.
Relational sensitivity. The sensitivity statements compare any two solutions of (6.10) under the two input values. Together with uniqueness, this is the same as monotonicity of the solution map. No function is defined by a choice operator.
Tail as a real number.Pˉ(S) is the measure of [S,∞) as a real number. The law is a probability measure, so nothing is truncated.
No trivialization.S is defined only by the tail equation (6.10) for N(rˉ,σ^2), and Z only by the tail equation for N(0,1). Neither is defined by the formula S=rˉ+Zσ^, which would make Eq. (6.12) true by definition.
Not covered. The revenue optimality of the level defined by (6.10) belongs to the second mission. The multi-class EMSR rules (5.19)–(5.29) are not optimal for three or more classes and are not stated. The empirical analysis of Sect. 6.1 is out of scope.
Useful infrastructure, all reusable: the strict monotonicity, continuity and range of Gaussian tails; the standard normal quantile; and tail transport under affine maps. Contributions of these as separate lemmas are welcome.
Selected references
P. P. Belobaba, Air Travel Demand and Airline Seat Inventory Management, PhD thesis, MIT Flight Transportation Laboratory Report R87-7, 1987. (no DOI; the source PDF of this mission).
P. P. Belobaba, Application of a probabilistic decision model to airline seat inventory control, Operations Research 37(2):183–197, 1989. https://doi.org/10.1287/opre.37.2.183
K. Littlewood, Forecasting and control of passenger bookings, AGIFORS Symposium Proceedings 12, 1972; reprinted in Journal of Revenue and Pricing Management 4:111–123, 2005. https://doi.org/10.1057/palgrave.rpm.5170134
K. T. Talluri and G. J. van Ryzin, The Theory and Practice of Revenue Management, Springer, 2004. https://doi.org/10.1007/b139000
Understanding and Using Linear Programming XI: The KKT Conditions and the Unique Smallest Enclosing BallTextbook
Motivation
The smallest enclosing ball problem asks, for finitely many points p1,…,pn∈Rd, for a ball of the smallest radius that contains all of them. It appears in clustering, in collision detection and bounding-volume hierarchies, in facility location (placing one service point so that the farthest client is as close as possible), and in the analysis of geometric algorithms. Sylvester posed the planar version in 1857; Megiddo (1983) gave a linear-time algorithm in fixed dimension, and Welzl (1991) a simple randomized one.
This mission formalizes Section 8.7 of Matoušek and Gärtner, Understanding and Using Linear Programming (Springer, 2007), which uses the problem to introduce convex programming. Unlike the geometric problems of the book's Chapter 2, the smallest ball cannot be written as a linear program. The section shows instead that it is a convex quadratic program, derives the Karush–Kuhn–Tucker (KKT) conditions for convex programs in equational form from the duality theorem of linear programming, and uses them to prove that the smallest enclosing ball exists and is unique. It is the book's bridge from linear to convex optimization.
Setting
A function f:Rn→R is convex if f((1−t)x+ty)≤(1−t)f(x)+tf(y) for all x,y∈Rn and t∈[0,1]. A convex program in equational form is
minimize f(x)subject to Ax=b,x≥0,
with A a real m×n matrix with columns a1,…,an, b∈Rm and f convex. A vector x is feasible if Ax=b and x≥0 componentwise, and optimal if it is feasible and f(x)≤f(x′) for every feasible x′. For differentiable f, ∇f(x) is the row vector of partial derivatives, so ∇f(x∗)(x−x∗) is a scalar.
For points p1,…,pn∈Rd, write P={p1,…,pn} and let Q be the d×n matrix whose jth column is pj. The program studied is
(8.15)minimize f(x)=xTQTQx−j=1∑nxjpjTpjsubject to j=1∑nxj=1,x≥0.
A ball is a closed Euclidean ball B(c,r)={z∈Rd:∥z−c∥≤r}. The ball B(c,r) is the unique smallest enclosing ball of a set S if r≥0, S⊆B(c,r), every ball containing S has radius at least r, and every ball containing S of radius at most r has center c.
Formalization targets
Goal: Theorem 8.7.4
For n≥1 points p1,…,pn∈Rd, the objective f of (8.15) is convex, and
(8.15) has an optimal solution x∗;
there is a point p∗ with p∗=Qx∗ for every optimal x∗, and for every optimal x∗
−f(x∗)≥0andB(p∗,−f(x∗))is the unique smallest enclosing ball of P.
Milestones
Fact 8.7.1. For C⊆Rn convex, f differentiable and convex, and x∗∈C: x∗ minimizes f over C iff ∇f(x∗)(x−x∗)≥0 for all x∈C.
Proposition 8.7.2 (KKT conditions). For f convex with continuous partial derivatives and x∗ feasible: x∗ is optimal iff there is y~∈Rm with
Lemma 8.7.3. If s1,…,sk lie on the boundary of the ball B with center s∗, then B is the unique smallest enclosing ball of {s1,…,sk} iff for every u∈Rd some j has uT(sj−s∗)≤0.
Significance
The result. Theorem 8.7.4 gives existence and uniqueness of the smallest enclosing ball together with an explicit certificate: the center is a convex combination Qx∗ of the input points, the squared radius is the negated optimum value, and the points pj with xj∗>0 lie on the boundary. It reduces the geometric problem to a convex quadratic program, for which interior-point and simplex-type solvers exist, and it is the basis of the combinatorial characterization "the center lies in the convex hull of the boundary points" used by Welzl-type algorithms. Proposition 8.7.2 is the KKT theorem for equational-form convex programs; it holds without any constraint qualification because the constraints are linear.
Formalizing it. All results here are classical and proved in the book; none is open. The mission produces machine-checked statements and, when solved, proofs of: the first-order optimality criterion for convex functions on convex sets in Rn; the equational-form KKT theorem derived from LP duality; the boundary characterization of unique smallest enclosing balls; and existence and uniqueness of the smallest enclosing ball in every dimension. Mathlib has first-order necessary conditions at local minima and general convexity theory, but no KKT theorem for linearly constrained convex programs in this form and no smallest-enclosing-ball theory.
Difficulty
Existence of an optimum and convexity of f are routine. For the KKT conditions, the necessary direction needs multipliers, which do not come from calculus alone: the obvious Lagrange-multiplier argument handles only equality constraints and says nothing about the sign pattern forced by x≥0. For the goal, a solver must connect three layers — the gradient of a quadratic form in matrix notation, the multiplier conditions, and the Euclidean geometry of distances to p∗ — and uniqueness of the ball does not follow from uniqueness of the optimizer x∗, which in general is not unique (repeated or cospherical points). The statement quantifies over all optimal x∗ and asserts that they all yield the same center.
Formalization scope
Vectors of Rn are Fin n → ℝ, so the book's indices 1,…,n become 0,…,n−1. Points of Rd are EuclideanSpace ℝ (Fin d), so ∥⋅∥ and pTq are Euclidean. The matrix Q is Matrix (Fin d) (Fin n) ℝ.
Optimality is stated against every feasible point; no infimum or supremum is taken. ∇f(x∗)(x−x∗) is the Fréchet derivative applied to x−x∗, and ∇f(x∗)j its value on the jth unit vector. "Continuous partial derivatives" is ContDiff ℝ 1 f. Convexity is ConvexOn ℝ Set.univ f.
Balls are closed. The squared radius −f(x∗) is expressed by asserting −f(x∗)≥0 and taking the radius −f(x∗). "Unique ball of smallest radius" is written out as minimality of the radius among all enclosing closed balls plus equality of centers for every enclosing ball of radius at most the optimum; merely stating that the ball encloses P would not be the theorem.
The goal assumes n≥1 (for n=0 the feasible set is empty). In Fact 8.7.1 the minimizer x∗ is assumed to lie in C, as "minimizes f over C" presupposes. In Lemma 8.7.3 the radius is nonnegative and each sj is at distance exactly r from s∗.
Needed infrastructure: gradients of quadratic forms on Fin n → ℝ, LP duality for the pair (maximize cTx, Ax=b, x≥0) / (minimize bTy, ATy≥c), compactness of the standard simplex, and elementary Euclidean geometry. The first-order criterion and the KKT theorem are reusable beyond this mission; proofs through any route are welcome.
N. Megiddo, Linear-time algorithms for linear programming in R3 and related problems, SIAM J. Comput. 12(4), 1983. https://doi.org/10.1137/0212052
E. Welzl, Smallest enclosing disks (balls and ellipsoids), in New Results and New Trends in Computer Science, LNCS 555, Springer, 1991. https://doi.org/10.1007/BFb0038202
J. J. Sylvester, A question in the geometry of situation, Quarterly Journal of Pure and Applied Mathematics 1, 1857.
Understanding and Using Linear Programming X: Pairwise Intersecting d-Intervals Have a Transversal of Size 2d²Textbook
Motivation
A basic question of combinatorial geometry asks when a family of sets can be pierced (or stabbed) by few points. For intervals on the real line the answer is classical: if every two of finitely many closed intervals intersect, one point meets all of them, namely the rightmost left endpoint. This is the one-dimensional case of Helly's theorem. The situation changes as soon as the sets are allowed to have holes. Unions of two intervals can intersect pairwise without any point being common to three of them, so no single point suffices, and it is not obvious that any bound depending only on the number of holes exists.
This mission formalizes the answer given in Section 8.6 of Matoušek and Gärtner's Understanding and Using Linear Programming (Springer, 2007): pairwise intersecting unions of d intervals can always be pierced by 2d2 points. The section uses the result to illustrate a general method of combinatorics, in which a linear programming relaxation of a covering problem is bounded through LP duality and then rounded. The same scheme, a bound on the fractional transversal number followed by a rounding step, appears across discrete geometry and combinatorial optimization.
Timeline.
1970: Gyárfás and Lehel prove that a bound depending only on d exists; their bound is exponential in d (A Helly-type problem in trees, in Combinatorial Theory and its Applications, North-Holland).
1992: Alon and Kleitman solve the Hadwiger–Debrunner (p,q)-problem with a method combining fractional transversals and LP duality (Adv. Math. 96).
1997: Kaiser proves the bound d2 using algebraic topology (Discrete Comput. Geom. 18).
1998: Alon gives the short LP-duality proof of the bound 2d2 formalized here (Discrete Comput. Geom. 19).
2001: Matoušek shows that the transversal number cannot in general be below a constant multiple of d2/logd (Discrete Comput. Geom. 26).
Setting
Fix an integer d≥1. A d-interval is a union of d closed intervals on the real line,
J=[a1,b1]∪⋯∪[ad,bd],ak≤bk.
The numbers ak and bk are the endpoints of J. A finite family J of d-intervals is pairwise intersecting if J1∩J2=∅ for all J1,J2∈J. A set X of real numbers is a transversal of J if every J∈J contains a point of X.
More generally, for a finite set V and a system F of subsets of V: a transversal is a set X⊆V meeting every member; the transversal numberτ(F) is the smallest size of a transversal; a matching is a subsystem of pairwise disjoint members, and the matching numberν(F) is the largest size of a matching. The fractional transversal numberτ∗(F) is the optimal value of the linear program
minv∈V∑xvs.t.v∈F∑xv≥1(F∈F),x≥0,
and the fractional matching numberν∗(F) is the optimal value of
maxF∈F∑yFs.t.F:v∈F∑yF≤1(v∈V),y≥0.
Formalization targets
Goal: Theorem 8.6.1
J finite, pairwise intersecting family of d-intervals⟹∃X⊂R,∣X∣≤2d2,X∩J=∅∀J∈J.
This is the book's theorem with its constant 2d2.
Milestones
Lemma 8.6.2. If J1,…,Jn (n≥1, repetitions allowed) are d-intervals with Ji∩Jj=∅ for all i,j, then some endpoint of some Ji lies in at least n/2d of the Jj.
§8.6, p. 182. For every finite set system with nonempty members,
ν(F)≤ν∗(F)=τ∗(F)≤τ(F).
Lemma 8.6.3. If J is a finite pairwise intersecting family of d-intervals and P its set of endpoints, there are weights xp≥0, p∈P, with ∑p∈J∩Pxp≥1 for every J∈J and ∑p∈Pxp≤2d.
Significance
The result. Theorem 8.6.1 shows that the piercing number of pairwise intersecting d-intervals is bounded by a function of d alone, and that this function is polynomial. The section also states, without proof, the extension τ(J)≤2d2ν(J) for arbitrary finite families of d-intervals. Upper bounds of this kind feed into piercing and hitting-set questions for families with bounded "complexity", and the chain ν≤ν∗=τ∗≤τ is the standard frame in which such bounds are proved.
Formalizing it. The theorem, both lemmas and the duality chain are proved in the literature and in the book. None of them is on the platform. The work consists of formalizing the book's proof: a double-counting argument, LP duality for the pair of fractional programs together with the rationality of an optimal basic solution, and a rounding step. The general-set-system milestone is reusable for any transversal problem, independent of d-intervals.
Difficulty
The obvious generalization of the one-dimensional argument fails: for d≥2 no point need be common to all members, so there is no single extremal endpoint to choose, and a greedy piercing procedure has no control over how many points it uses. The difficulty is to obtain a bound that does not depend on the size of the family. In the book's route the counting statement of Lemma 8.6.2 holds only for equal weights, while the fractional programs produce arbitrary real weights, and the passage between the two, as well as the passage from a fractional transversal of small total weight to an actual finite set of points, are the steps that need care.
Formalization scope
A d-interval is stored as data: two functions left, right : Fin d → ℝ with left k ≤ right k, together with the set toSet=⋃k[ak,bk]. Components are indexed 0,…,d−1. Endpoints are those of the given components, so they depend on the representation, as in the book's proofs. Families are Finsets of such data; Lemma 8.6.2 uses a Fin n-indexed sequence, since the proof of Lemma 8.6.3 applies it to a sequence with repetitions. The hypotheses d≥1 (the book's definition) and, in Lemma 8.6.2, n≥1 are explicit. The quantity n/2d is real division. Transversal sizes are cardinalities of a Finset ℝ bounded by 2d2.
For set systems, V is a finite type and F a Finset (Finset V) with nonempty members; without this assumption no transversal exists and both fractional programs degenerate. The numbers τ∗ and ν∗ are expressed through optimal feasible solutions, not as infima or suprema, so no junk value of an empty or unbounded set is involved. τ is an sInf over N that is attained under the nonemptiness assumption, and ν is a maximum over the finite family of matchings.
A trivializing formalization is ruled out: the pairwise-intersection hypothesis is satisfiable by nonempty families, the transversal is required to meet the actual sets J, not a representation artifact, and the bound 2d2 and 2d are the book's constants, not weakened ones.
Needed infrastructure: finite sums over Finset ℝ, LP duality for a finite primal–dual pair in inequality form (or a direct proof of the chain), rationality of an optimal vertex, and a left-to-right sweep over a sorted finite set of reals. Contributions of a general LP duality statement for set-system relaxations are welcome and reusable.
N. Alon, Piercing d-intervals, Discrete Comput. Geom. 19 (1998) 333–334.
N. Alon, D. Kleitman, Piercing convex sets and the Hadwiger–Debrunner (p, q)-problem, Adv. Math. 96 (1992) 103–112.
T. Kaiser, Transversals of d-intervals, Discrete Comput. Geom. 18 (1997) 195–203.
J. Matoušek, Lower bounds on the transversal numbers of d-intervals, Discrete Comput. Geom. 26 (2001) 283–287.
A. Gyárfás, J. Lehel, A Helly-type problem in trees, in Combinatorial Theory and its Applications (P. Erdős, A. Rényi, V. T. Sós, eds.), North-Holland, 1970, 571–584.
Understanding and Using Linear Programming IX: Basis Pursuit Recovers Sparse Solutions Exactly iff the Kernel Misses the CrosspolytopeTextbook
Motivation
A deep-space probe sends a vector w∈Rk encoded as z=Qw∈Rn, and up to about 8% of the transmitted numbers may be corrupted arbitrarily. Section 8.5 of Matoušek and Gärtner's Understanding and Using Linear Programming (Springer 2007, DOI 10.1007/978-3-540-30717-4) shows that decoding reduces to finding a sparse solution of an underdetermined linear system Ax=b, and that under suitable conditions this sparse solution is found exactly by a single linear program. The same problem arises in signal processing (sparse representations in redundant wavelet dictionaries) and in computer tomography, and it is the core of what became known as compressed sensing.
Timeline, as recorded in the book's references:
1999: Chen, Donoho and Saunders introduce basis pursuit, minimizing the ℓ1-norm subject to Ax=b (SIAM J. Sci. Comput. 20).
2005: Candès, Rudelson, Tao and Vershynin prove that for every α∈(0,1) there is β(α)>0 such that a random ⌊αn⌋×n matrix is exact for ⌊βn⌋-sparse vectors with probability exponentially close to 1 (FOCS 2005).
2006: Donoho, via neighborliness of centrally symmetric polytopes, obtains the constants α=0.75, β=0.08 used in the book, and shows that no ⌊0.75n⌋×n matrix is exact for r>0.25n when n is large (Discrete Comput. Geom. 35).
2006: Linial and Novik prove further upper bounds showing that these existence results are asymptotically optimal (Discrete Comput. Geom. 36).
Setting
Let A be a real m×n matrix with m<n and b∈Rm. The support of x∈Rn is supp(x)={i:xi=0}. For an integer r≥0, a sparse solution of Ax=b is an x with Ax=b and ∣supp(x)∣≤r. The ℓ1-norm is ∥x∥1=∣x1∣+⋯+∣xn∣.
Basis pursuit is the optimization problem
(BP)minimize ∥x∥1 subject to x∈Rn,Ax=b,
which is equivalent to the linear program
(BP′)minimize u1+⋯+un subject to Ax=b,−u≤x≤u,u≥0.
The matrix A is BP-exact for r if for every b∈Rm: whenever Ax=b has a solution x~ with at most r nonzero components, x~ is the unique optimal solution of (BP). The crosspolytope is B1n={x:∥x∥1≤1}, the kernel of A is L={x:Ax=0}, and L+z={ℓ+z:ℓ∈L}. For z with ∥z∥1=1, the cone at z is Cz={t(x−z):t≥0,x∈B1n}, and L is good for z if (L+z)∩B1n={z}.
Formalization targets
Goal: Lemma 8.5.4 (reformulation of BP-exactness)
For m<n and r≤m:
A is BP-exact for r⟺∀z∈Rnwith∥z∥1=1,∣supp(z)∣≤r:(L+z)∩B1n={z}.
This is the book's geometric characterization of exact recovery, and the statement on which the known probabilistic proofs are built.
Milestones
Observation 8.5.1: Ax=b has at most one sparse solution for every b if and only if every 2r or fewer columns of A are linearly independent.
The remark after it (p. 169): under m<n, that column condition forces m≥2r.
Equivalence of (BP) and (BP′) (p. 170): in every optimal solution of (BP′), ui=∣xi∣; and x is optimal for (BP) iff (x,∣x∣) is optimal for (BP′).
From the proof of Lemma 8.5.4 (p. 173): if Az=b, the solution set of Ax=b is exactly L+z.
From "Intuition for BP-exactness" (p. 174): for ∥z∥1=1 and ∣supp(z)∣≤r, L is good for z iff L∩Cz={0}.
Further draft item: Theorem 8.5.2
With m=⌊0.75n⌋, r=⌊0.08n⌋ and A an m×n matrix of independent N(0,1) entries, there is a constant c>0 such that for every n
Pr[A is BP-exact for r]≥1−e−cm.
The book states this without proof. It is included as a separate theorem, not a milestone of the goal.
Significance
Lemma 8.5.4 converts an algorithmic property, that an ℓ1 linear program returns a prescribed sparse vector for every right-hand side, into a purely geometric property of the kernel of A relative to the low-dimensional faces of the crosspolytope. With milestone 5 it becomes the statement that L avoids a finite family of cones, which is where union bounds over faces and estimates for random subspaces enter. Observation 8.5.1 separates what is information-theoretically possible (uniqueness of sparse solutions) from what is computationally achievable by linear programming; finding a sparse solution directly is NP-hard in general. Theorem 8.5.2 is the quantitative payoff: a fixed fraction of arbitrary gross errors can be corrected by solving one linear program.
All of these results are proved in the literature; Lemma 8.5.4, Observation 8.5.1 and the milestones are elementary, and Theorem 8.5.2 rests on Donoho's polytope-neighborliness analysis. The platform has a related formalization of Wainwright's restricted nullspace property (Theorem 7.8 of High-Dimensional Statistics, namespace HighDimStat.SparseLinear), which fixes a support set S rather than characterizing exactness for all r-sparse vectors through the crosspolytope. A machine-checked proof of Theorem 8.5.2 with the constants 0.75 and 0.08 is, to our knowledge, not available anywhere; it would require substantial Gaussian and high-dimensional geometry infrastructure.
Difficulty
For the goal and milestones the difficulty is bookkeeping, not ideas: the scaling between a sparse solution x~ and the boundary point x~/∥x~∥1, the case x~=0, and the fact that BP-exactness quantifies over all right-hand sides b while the geometric side quantifies over boundary points of the crosspolytope.
Theorem 8.5.2 is of a different order. A union bound over the (rn)2r faces of dimension r−1 reduces it to bounding the probability that a random (n−m)-dimensional subspace meets one cone CF nontrivially, and getting that probability small enough to beat the combinatorial factor with the stated numerical constants is the hard part. Rough asymptotic estimates do not give 0.08 at α=0.75.
Formalization scope
Vectors are functions Fin n → ℝ (the book's indices 1,…,n become 0,…,n−1) and matrices are Matrix (Fin m) (Fin n) ℝ. The ℓ1-norm is written out as ∑i∣xi∣, since Mathlib's norm on Fin n → ℝ is the sup norm. The support is a Finset of indices. Optimality in (BP) and (BP′) is stated against every feasible point; no infimum is taken, so an empty or unbounded feasible set cannot create a spurious optimum. "Every 2r or fewer columns" ranges over finsets of distinct column indices, column j being Aᵀ j. The hypotheses m<n and r≤m of Lemma 8.5.4 are kept as on the page, although the equivalence does not use them; m<n is also the standing assumption of §8.5 needed for m≥2r.
In Theorem 8.5.2 the random matrix has the product law of independent gaussianReal 0 1 entries, the constant c>0 is quantified before n, and measurability of the BP-exact event is part of the conclusion, so the bound concerns a genuine probability rather than an outer measure.
A trivializing formalization is ruled out: BP-exactness requires uniqueness among all minimizers for every right-hand side, not just optimality of x~, and the crosspolytope condition is an equality of sets, not an inclusion that z alone would satisfy.
All definitions live in one module (MatousekLP.SparseRecovery.BasisPursuit); the ℓ1 and support vocabulary is reusable for later sparse-recovery missions. Contributions are welcome on every milestone, on the goal, and on the infrastructure towards Theorem 8.5.2 (Gaussian measures on matrix spaces, measurability of the BP-exact event, the face structure of the crosspolytope).
S. S. Chen, D. L. Donoho and M. A. Saunders, Atomic decomposition by basis pursuit, SIAM J. Sci. Comput. 20(1), 1999, 33–61. https://doi.org/10.1137/S1064827596304010
E. J. Candès, M. Rudelson, T. Tao and R. Vershynin, Error correction via linear programming, Proc. 46th IEEE FOCS, 2005, 295–308. https://doi.org/10.1109/SFCS.2005.5464411
D. L. Donoho, High-dimensional centrally symmetric polytopes with neighborliness proportional to dimension, Discrete Comput. Geom. 35, 2006, 617–652. https://doi.org/10.1007/s00454-005-1220-0
Understanding and Using Linear Programming VIII: The Delsarte Linear Programming Bound for Binary CodesTextbook
Motivation
A binary error-correcting code is a set of n-bit words chosen so that the words stay distinguishable after a few bits have been corrupted in transmission. A code can correct any r errors exactly when every two of its words differ in at least 2r+1 positions. The more words the code has, the more information each transmitted block carries. So the central quantitative question of coding theory is how large a code of given length and minimum distance can be. Codes are used in every technology that transmits or stores data, from disks and phones to deep-space probes.
In 1973 Philippe Delsarte showed that an upper bound on this maximum size is the optimum value of an explicit linear program (Delsarte, An algebraic approach to the association schemes of coding theory, Philips Res. Repts. Suppl. 10, 1973). The bound was far stronger than the classical volume argument and remains a standard tool. This mission formalizes the self-contained proof of the bound in §8.4 of Matoušek and Gärtner's textbook (Springer 2007). That proof follows Best, Brouwer, MacWilliams, Odlyzko and Sloane (IEEE Trans. Inform. Theory 24, 1978). The mission also covers the step of Delsarte's original argument that the book isolates as a lemma.
Timeline.
1950: Hamming introduces single-error-correcting codes and the sphere-packing bound.
1973: Delsarte proves the linear programming bound using association schemes.
1978: Best et al. give the elementary parity proof and small improvements, among them A(17,3)≤6552.
2005: Schrijver replaces the linear program by a semidefinite program and improves many entries of the code tables (IEEE Trans. Inform. Theory 51).
Setting
A word is w=(w1,…,wn)∈{0,1}n, and a code is any set C⊆{0,1}n. The Hamming distancedH(w,w′) is the number of positions j with wj=wj′. The weight∣w∣ is the number of ones in w. The word w⊕w′ is the entrywise sum modulo 2. For I⊆{1,…,n}, the restricted distancedHI(w,w′) counts only the differing positions that lie in I.
A code has distanced if dH(w,w′)≥d for all distinct w,w′∈C (Definition 8.4.1). The quantity A(n,d) is the maximum of ∣C∣ over all codes C⊆{0,1}n with distance d.
For 0≤i,t≤n the Krawtchouk numbers are
Kt(n,i)=j=0∑min(i,t)(−1)j(ji)(t−jn−i).
The distance distribution of a code C is
x~i(C)=∣C∣1{(w,w′)∈C2:dH(w,w′)=i},i=0,…,n.
The Delsarte linear program has variables x0,…,xn. It maximizes x0+⋯+xn subject to:
x0=1;
xi=0 for 1≤i≤d−1;
∑i=0nKt(n,i)xi≥0 for 1≤t≤n;
x≥0.
For Delsarte's original argument, Mi is the 2n×2n matrix whose (v,w) entry is 1 when dH(v,w)=i and 0 otherwise. The weights are y~i=∣{(w,w′)∈C2:dH=i}∣/(2n(in)).
Formalization targets
Goal: Theorem 8.4.3 (the Delsarte bound)
A(n,d)≤max{∑i=0nxi:x feasible for the Delsarte program}for all n,d.
The goal is stated against every upper bound v of the objective on the feasible set. No particular optimum value is fixed, so the statement covers every n and d at once.
Milestones, in attack order
Lemma 8.4.5. For every I and C, the pairs in C2 with even dHI are at least as many as the pairs with odd dHI.
Corollary 8.4.6.∑(w,w′)∈C2(−1)(w⊕w′)Tv≥0 for every v.
Proposition 8.4.4.∑i=0nKt(n,i)x~i(C)≥0 for every C and every t=1,…,n.
§8.4, p. 160. The values x~i(C) sum to ∣C∣. For a nonempty code with distance d, the vector x~(C) is feasible for the program.
Lemma 8.4.7.M~=∑i=0ny~iMi is positive semidefinite.
Significance
The Delsarte bound turns an extremal problem over the 22n subsets of the cube into a linear program with n+1 variables. For A(17,3) it gives 6553, while the sphere-packing bound gives 7281. Many entries of the standard code tables rest on this bound or its refinements. The positive semidefiniteness in Lemma 8.4.7 is the starting point of the semidefinite programming bounds of Schrijver and of later work. The same framework also underlies the linear programming bounds for spherical codes and sphere packings.
The theorem is classical and fully proved in the literature. Neither Mathlib nor this platform has a formal statement or proof of it. Mathlib has Hamming distance and binomial coefficients, but it has no A(n,d), no Krawtchouk numbers and no LP bound for codes. This mission would produce the first formal statement and proof. It would also produce reusable identities on Krawtchouk sums and character sums over {0,1}n.
Difficulty
Two of the program's constraints are immediate once x~i is defined: x~0=1, and x~i=0 for i<d. The difficulty lies in the Krawtchouk constraints. They do not follow from counting pairs at a single distance. They require a sign-weighted count over all words of weight t, and the sum must then be regrouped by the distance of each pair. That regrouping identifies a count of words, split by how many ones they share with a fixed word, with the Krawtchouk number. Formally this is an exchange of finite sums together with a binomial counting identity, and the index bookkeeping, including the range j≤min(i,t), has to be exact.
The obvious attempt proves the inequality one distance class at a time. It fails because the individual terms Kt(n,i)x~i have no sign. Only the whole sum is nonnegative.
Formalization scope
Words and codes. Words are Fin n → Bool, with bit 1 as true. The book's positions 1,…,n become 0, …, n-1. Codes are Finsets of words, and dH is Mathlib's hammingDist.
The maximum A(n,d).A(n,d) is a Finset.sup over the finite family of codes with distance d. This family contains the empty code, so the maximum is attained.
Krawtchouk numbers.Kt(n,i) is an integer, and its natural-number subtractions are honest for i≤n and j≤t.
LP variables and the xi=0 constraints. The LP variables are indexed by Fin (n+1) with no index shift. The constraints xi=0 are imposed for 1≤i<d, so they are vacuous for d≤1.
The empty code. Lean's convention 1/0=0 gives x~(∅)=0. Proposition 8.4.4 then holds trivially, and the feasibility milestone carries the hypothesis C=∅ that the book's division presupposes.
The sphere-packing floor. The floor in the sphere-packing bound is natural-number division by a denominator that is at least 1.
Positive semidefiniteness. This is Mathlib's Matrix.PosSemidef over R.
No trivialization. The goal is not stated as "A(n,d)≤sup" with a real supremum, which Lean would evaluate to 0 on an empty or unbounded set. Its hypothesis ranges over upper bounds of a feasible program: (1,0,…,0) is always feasible, so the hypothesis is never vacuous.
Contributions welcome. Useful lemmas include:
Krawtchouk identities, for example ∑tKt(n,i)=2n[i=0] and Ki(n,t)(in)=Kt(n,i)(tn);
counting words of weight t that meet a fixed support in exactly j positions;
general facts on character sums ∑w∈C(−1)wTv.
These are reusable for other LP and SDP bounds in coding theory.
P. Delsarte, An algebraic approach to the association schemes of coding theory, Philips Research Reports Supplements 10, 1973.
M. R. Best, A. E. Brouwer, F. J. MacWilliams, A. M. Odlyzko, N. J. A. Sloane, Bounds for binary codes of length less than 25, IEEE Trans. Inform. Theory 24 (1978), 81–93. https://doi.org/10.1109/TIT.1978.1055827
A. Schrijver, New code upper bounds from the Terwilliger algebra and semidefinite programming, IEEE Trans. Inform. Theory 51 (2005), 2859–2866. https://doi.org/10.1109/TIT.2005.851748
Understanding and Using Linear Programming VI: The Minimax Theorem for Zero-Sum GamesTextbook
Why zero-sum games belong in a linear programming course
A two-player zero-sum game models any situation in which one party's gain is exactly the other party's loss: a military allocation in the spirit of Colonel Blotto, a sealed-bid contest, rock–paper–scissors. The central question is what each player should do when the opponent is also reasoning about them. John von Neumann answered it in 1928 with the minimax theorem (von Neumann 1928): each player has a strategy guaranteeing the same number, the value of the game, whatever the opponent does. The theorem underlies modern game theory, robust decision making, and the analysis of online learning algorithms, where regret bounds are routinely derived from it.
Section 8.1 of Matoušek and Gärtner's Understanding and Using Linear Programming (Springer 2007) presents the theorem as an application of linear programming duality. This mission is the sixth of a series formalizing the capstone results of the book.
Setting
Alice has m≥1 pure strategies and Bob has n≥1. A real m×npayoff matrixM=(mij) records Alice's gain, and Bob's loss, when Alice plays her ith and Bob his jth pure strategy. A mixed strategy of Alice is a probability vector x∈Rm, ∑ixi=1, x≥0; a mixed strategy of Bob is a probability vector y∈Rn. When the players randomize independently, Alice's expected payoff is
xTMy=i,j∑mijxiyj.
The worst-case payoffs are
β(x)=yminxTMy,α(y)=xmaxxTMy,
over mixed strategies. A mixed strategy of Bob is a best response against x if it minimizes xTMy; a mixed strategy of Alice is a best response against y if it maximizes it. A pair (x~,y~) is a mixed Nash equilibrium (Definition 8.1.1) if each is a best response against the other. Alice's x~ is worst-case optimal if β(x~)=maxxβ(x); Bob's y~ is worst-case optimal if α(y~)=minyα(y).
The proof in the book passes through three linear programs: the dual of (8.1), which for a fixed x maximizes x0 subject to MTx−1x0≥0; program (8.2), the same with x as variables subject to ∑ixi=1, x≥0; and program (8.4), which minimizes y0 subject to My−1y0≤0, ∑jyj=1, y≥0.
Formalization targets
Goal: Theorem 8.1.3 (minimax theorem for zero-sum games)
For every m×n payoff matrix with m,n≥1: worst-case optimal mixed strategies exist for both players; for any worst-case optimal x~ of Alice and y~ of Bob, the pair (x~,y~) is a mixed Nash equilibrium; and there is a single number v, the value of the game, with
β(x~)=x~TMy~=α(y~)=v
for every such pair. The third clause is what distinguishes the theorem from the existence of some saddle point.
Milestones
β and α are attained minima and maxima (p. 135).
Lemma 8.1.2(i): β(x)≤xTMy≤α(y) for all mixed x,y, hence maxxβ≤minyα.
Lemma 8.1.2(ii): both strategies of a mixed Nash equilibrium are worst-case optimal.
Lemma 8.1.2(iii): β(x~)=α(y~) implies that (x~,y~) is a mixed Nash equilibrium.
The dual of (8.1) has optimal value β(x) (p. 137).
Eq. (8.3): an optimal solution (x~0,x~) of (8.2) satisfies x~0=β(x~)=maxxβ(x).
Eq. (8.5): an optimal solution (y~0,y~) of (8.4) satisfies y~0=α(y~)=minyα(y).
Programs (8.2) and (8.4) both have optimal solutions, and their optimum values coincide (p. 138).
The minimax equality (p. 137):
xmaxyminxTMy=yminxmaxxTMy.
Significance
The theorem gives a complete prescription for zero-sum play: a worst-case optimal strategy secures at least the value against any opponent, and a worst-case optimal opponent holds the player to at most the value, so both players can announce their strategies in advance without loss. With Lemma 8.1.2(ii) it yields a characterization: a pair of mixed strategies is a Nash equilibrium if and only if both are worst-case optimal. The minimax equality is used downstream in online learning (regret-to-value arguments), in robust optimization, and in Yao's principle for randomized algorithms.
The mathematics is classical and proved; what this mission adds is a machine-checked version in the book's own formulation. The platform already has AGT.zero_sum_minimax (Algorithmic Game Theory I), which proves the existence of a saddle point, and the general FamousTheorems.sion_minimax_theorem. Neither states that every pair of worst-case optimal strategies is an equilibrium with a common value, and neither exhibits the LP route: the dual of (8.1), the programs (8.2) and (8.4), and their duality. The mission records that route statement by statement, so that it can be reused as a worked instance of LP duality.
Difficulty
Lemma 8.1.2 is routine; the entire content is the reverse inequality maxxβ(x)≥minyα(y). The obvious attack, maximizing β directly, fails because β is a minimum of linear functions and hence not linear, so its maximization is not a linear program as written. The obstacle is removed only by an appeal to LP duality in the proof, together with the facts that the simplices are nonempty and compact, and that the relevant programs are feasible and bounded so that optima exist. None of this is supplied by the pure-strategy structure of the game: pure Nash equilibria need not exist (rock–paper–scissors has none).
Formalization scope
Pure strategies are indexed by Fin m and Fin n, with the book's standing assumption m,n≥1 carried as hypotheses 1 ≤ m, 1 ≤ n by every theorem; the book's indices 1,…,m become 0,…,m−1. Mixed strategies are Mathlib's stdSimplex ℝ (Fin m), the payoff is x ⬝ᵥ (M *ᵥ y). β(x) is the real sInf and α(y) the real sSup of the payoffs over the opponent's simplex; milestone 1 states that these are attained. A mixed Nash equilibrium is defined in the verbal form of Definition 8.1.1 (mutual best responses). Worst-case optimality is defined against all mixed strategies, never as a saddle-point condition, so the goal is not circular with Lemma 8.1.2(iii). LP optimality is stated as "feasible and at least as good as every feasible point", so no supremum over a possibly empty or unbounded feasible set is used.
The book's clause that worst-case optimal strategies "can be efficiently computed by linear programming" is algorithmic and is not part of the formal statement; there is no complexity model. A goal asserting only the existence of worst-case optimal strategies, or only the existence of some equilibrium, would drop the theorem's third clause and is ruled out: the common value v is quantified before all pairs of worst-case optimal strategies.
A complete development needs compactness of the standard simplex, continuity of the bilinear payoff, and a strong duality theorem for linear programs in the form of the programs (8.2)/(8.4); the latter is reusable across the whole series. Proofs by other routes (Sion's theorem, a separating hyperplane argument, fixed points) are welcome for the goal; the LP milestones stand on their own as statements about the programs.
Understanding and Using Linear Programming II: Optimal Basic Feasible Solutions and Vertices in Equational FormTextbook
Motivation
Every finite algorithm for linear programming rests on one structural fact: if a linear program has an optimum at all, it has one at a point singled out by finitely many linear conditions. The simplex method walks between such points, and exact complexity analyses, sensitivity analysis and integrality arguments all start from them. Chapter 4 of J. Matoušek and B. Gärtner, Understanding and Using Linear Programming (Springer, 2007, DOI 10.1007/978-3-540-30717-4), establishes this fact for linear programs in equational form, in the definitions that the rest of the book (the simplex method of Chapter 5, duality in Chapter 6, the applications in Chapter 8) uses.
This mission is the second of a series formalizing that book. It fixes the book's notion of a basic feasible solution and of a vertex, and targets the theorem that optimal solutions exist whenever the program is feasible and bounded, and can then be chosen basic.
Setting
A linear program in equational form is
maximize cTxsubject toAx=b,x≥0,
where A is a real m×n matrix, b∈Rm, c∈Rn, and x≥0 means every coordinate of x is nonnegative. A feasible solution is an x∈Rn satisfying both constraints; the set of them is P. An optimal solution is a feasible x with cTy≤cTx for every feasible y. The objective is bounded from above if some real M satisfies cTx≤M for all feasible x.
Throughout Section 4.2 the book assumes that A has n≥m columns and rankm (its rows are linearly independent). For S⊆{1,…,n}, AS denotes the matrix formed by the columns of A with indices in S. A basis is an m-element set B for which AB is nonsingular, i.e. its columns are linearly independent. A basic feasible solution is a feasible x for which some basis B has xj=0 for every j∈/B.
A point v is a vertex of P if v∈P and some nonzero c∈Rn satisfies cTv>cTy for every y∈P∖{v}: v is the unique maximizer over P of a nonzero linear function.
Formalization targets
Goal: Theorem 4.2.3 (p. 46)
For A of rank m with n≥m,
(P=∅∧∃M∀x∈P,cTx≤M)⟹∃x∗optimal,∃x∗optimal⟹∃x~optimal and basic feasible.
Both parts are one theorem, as in the book. Part (i) says optimal solutions fail to exist only for the two obvious reasons, infeasibility and unboundedness; part (ii) says an optimum can always be found among basic feasible solutions.
Milestones
Lemma 4.2.1 (p. 45): a feasible x is basic if and only if the columns of AK are linearly independent, where K={j:xj>0}.
Proposition 4.2.2 (p. 45): for a basis B there is at most one feasible solution vanishing outside B.
The statement proved inside the proof of Theorem 4.2.3 (p. 47): if the objective is bounded above, every feasible x0 is dominated by a basic feasible x~, cTx~≥cTx0.
Theorem 4.4.1 (p. 54): a point of P is a vertex of P if and only if it is a basic feasible solution.
Significance
Theorem 4.2.3 gives a finite, if impractical, algorithm for linear programming: enumerate the at most (mn) sets B, solve ABxB=b, and keep the best nonnegative solution. It is the correctness backbone of the simplex method, which visits basic feasible solutions in a smarter order, and it is the source of the book's claim that a feasible and bounded linear program has an optimal solution. Theorem 4.4.1 identifies this algebraic notion with the geometric corners of the feasible polyhedron, which is what makes statements such as "the LP relaxation has an integral vertex" in later chapters meaningful.
All of these results are classical and fully proved in the book. The value of formalizing them here is the definition layer: later missions of this series (Bland's rule, the central path, the scheduling application) state their results about bases and basic feasible solutions in exactly these definitions, and a proved Theorem 4.2.3 in this form lets them import the existence of an optimal basic solution instead of re-deriving it. Related facts are already machine-checked on Prove2Me in the formulation of Bertsimas and Tsitsiklis (Introduction to Linear Optimization I and II: minimization over polyhedra {x:aiTx≥bi}, extreme points, basic solutions as n active linearly independent constraints). Those statements concern a different presentation of the program and a different notion of basic solution; connecting them to the equational-form statements here is itself a welcome contribution.
Difficulty
The obvious argument for part (i), "a continuous function on a closed set bounded above attains its supremum", fails: the feasible set is usually unbounded, and a linear function bounded above on an unbounded closed convex set need not obviously attain its supremum without using the polyhedral structure. The existence of an optimum is exactly the nontrivial content of part (i); compactness is not available.
For milestone 1, the delicate direction is the converse: a set of linearly independent columns indexed by K must be completed to an m-element basis, which requires the rank-m assumption. For Theorem 4.4.1, the direction from vertex to basic feasible solution is not local: a vertex is defined by an optimization property, while basicness is a statement about the support of the point.
Formalization scope
All items live in the namespace MatousekLP.BFS and share one definition module, MatousekLP.BFS.EquationalForm. Conventions:
vectors are Fin n → ℝ, matrices Matrix (Fin m) (Fin n) ℝ; the book's indices 1,…,n are 0, …, n-1;
Ax=b is A *ᵥ x = b, x≥0 is 0 ≤ x (pointwise), cTx is c ⬝ᵥ x;
a subset B of indices is a Finset (Fin n); "AB nonsingular" is linear independence over R of the family of columns of A indexed by the elements of B, together with B.card = m;
the standing assumption of §4.2 is the pair of hypotheses m ≤ n and A.rank = m on every theorem;
"optimal" and "bounded from above" are stated against every feasible point. No real supremum over the feasible set appears anywhere, so an empty or unbounded feasible set cannot make a statement hold through a default value;
"vertex" is the book's unique-maximizer definition of p. 53, not Mathlib's Set.extremePoints; the book's remark on p. 55 that the two coincide is not used as a definition;
Theorem 4.4.1 carries the extra hypothesis n≥1: for n=0 there is no nonzero vector in R0, the single feasible point 0 is basic but not a vertex, and the book's equivalence fails.
A formalization in which "optimal" were defined through sSup of the objective over the feasible set would make part (ii) trivially true or false on unbounded programs; the definitions here rule that out. Dropping the rank hypothesis would make part (ii) false (no basis exists when the rows are dependent), so it is not optional.
Reusable infrastructure: the column-restriction and basis vocabulary, the support set K, and the extension of a linearly independent set of columns to a basis of the column space are needed again in the simplex chapter. Proofs of any milestone, and bridges to Mathlib's Set.extremePoints or to the Bertsimas–Tsitsiklis statements on the platform, are welcome.
Selected references
J. Matoušek and B. Gärtner, Understanding and Using Linear Programming, Universitext, Springer, 2007, Chapter 4, pp. 41–56. https://doi.org/10.1007/978-3-540-30717-4
D. Bertsimas and J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997, Chapter 2.
Decoding by Linear Programming: Exact Recovery by ℓ1 Minimization under the Restricted Isometry ConditionResearch Paper
Motivation
Consider the classical error-correcting problem. An input vector f∈Rn (the plaintext) is encoded as Af∈Rm by a coding matrix A with m>n, and an unknown, arbitrary vector of errors e corrupts the result, so that only y=Af+e is observed. Can f be recovered exactly, and by an algorithm whose running time is polynomial in m? Candès and Tao (2005) answer both questions at once: if a matrix F annihilating A satisfies a restricted orthonormality condition, then f is the unique solution of the convex program ming∥y−Ag∥ℓ1, which is a linear program, whenever at most S entries of y are corrupted, whatever their positions and values. Read for the matrix F alone, the same theorem says that ℓ1 minimization (basis pursuit) returns the sparsest solution of an underdetermined linear system. That statement is the mathematical core of compressed sensing, and the restricted isometry constants introduced in this paper became the standard tool of the field.
Timeline.Donoho and Huo (2001), followed by Elad–Bruckstein, Donoho–Elad and Gribonval–Nielsen, proved the equivalence of ℓ0 and ℓ1 minimization for matrices formed by concatenating two orthonormal bases, for sparsity of order m, through incoherence. Candès, Romberg and Tao (2004) and Candès and Tao (2004) obtained recovery with overwhelming probability for random matrices at sparsity of order m/logm. Donoho (2004) showed for Gaussian matrices that a constant, unspecified fraction ρm of nonzero entries can be tolerated. The present paper (December 2004, published 2005) gives a deterministic sufficient condition, δS+θS,S+θS,2S<1, valid for every matrix, and specializes it to Gaussian matrices with explicit numerical values of the tolerable fraction. Later work, for instance Candès (2008) with the condition δ2S<2−1, sharpened the sufficient condition; those later results are not part of this mission.
Setting
Let F be a real p×m matrix with columns v1,…,vm∈Rp, and let H be the linear span of these columns. For an index set T⊆{1,…,m} and real coefficients c=(cj)j∈T, write FTc=∑j∈Tcjvj. A vector c∈Rm is supported onT when cj=0 for all j∈/T; with this convention FTc is just the product Fc. Norms are the Euclidean norm ∥c∥=(∑jcj2)1/2 and the ℓ1 norm ∥c∥ℓ1=∑j∣cj∣.
Definition 1.1. For an integer S, the S-restricted isometry constantδS is the smallest quantity such that
(1−δS)∥c∥2≤∥FTc∥2≤(1+δS)∥c∥2
for all T of cardinality at most S and all real coefficients (cj)j∈T. The S,S′-restricted orthogonality constantθS,S′ is the smallest quantity such that
∣⟨FTc,FT′c′⟩∣≤θS,S′∥c∥∥c′∥
for all disjoint T,T′ with ∣T∣≤S and ∣T′∣≤S′. The paper writes θS for θS,S. These numbers measure how far the columns of F are from an orthonormal system when only linear combinations of at most S columns are considered.
The two optimization problems are
(P1)d∈Rmmin∥d∥ℓ1 subject to Fd=f,(P1′)g∈Rnmin∥y−Ag∥ℓ1.
A vector is the unique minimizer of one of these problems when it is feasible and every other feasible vector has a strictly larger objective value.
Formalization targets
Goal: Theorem 1.5 (decoding by linear programming)
Let A be a real m×n matrix of full rank with m>n, and F a real p×m matrix with FA=0. Let S≥1 satisfy
δS(F)+θS,S(F)+θS,2S(F)<1.(1.10)
If y=Af+e where e is supported on a set of size at most S, then f is the unique minimizer of (P1′).
Core: Theorem 1.4 (exact recovery by ℓ1 minimization)
Let S≥1 satisfy (1.10) for F, and let c be supported on a set T with ∣T∣≤S. Then c is the unique minimizer of (P1) with f:=Fc.
Theorem 1.5 is the companion of Theorem 1.4 for the decoding problem, and the mission's milestones are the four lemmas the paper proves on the way: Lemma 1.2 (the δ numbers control the θ numbers), Lemma 1.3 (uniqueness of sparse representations under δ2S<1), and the two dual sparse reconstruction properties, Lemma 2.1 (ℓ2 version) and Lemma 2.2 (ℓ∞ version).
Significance
The result. The guarantee is deterministic and uniform: one condition on F, checkable in principle from the matrix alone, ensures that a single linear program recovers every sufficiently sparse vector, with no probability of failure. In the decoding reading, a fixed fraction of the ciphertext can be corrupted arbitrarily and the plaintext is still recovered exactly by convex optimization. The paper shows in its Section 3 that Gaussian matrices satisfy (1.10) with overwhelming probability at explicit values of S/m, and in Section 5 that the same hypothesis yields near-optimal recovery of compressible signals from few measurements; both are consequences of the deterministic core formalized here.
Formalizing it. The theorems are proved in the paper, and no machine-checked proof of them exists. Prove2Me holds a formalization of a different restricted-isometry sufficient condition taken from a textbook (HighDimProb.SparseRecovery.rip_implies_exact_recovery); it uses a different definition of the isometry constant and a different hypothesis, so nothing there can be reused as is. This mission produces the definitions of δS and θS,S′ exactly as in Definition 1.1, the dual-certificate lemmas, and the two theorems, in a form that later missions on compressed sensing can import. The probabilistic Theorem 1.6, Lemma 3.1 and Corollary 1.7, and the compressible-signal Theorem 5.1, are not targets: see the scope section for why.
Difficulty
The whole proof rests on a dual certificate: a vector w∈H with ⟨w,vj⟩=sgn(cj) for j∈T and ∣⟨w,vj⟩∣<1 for j∈/T. Given such a w, the argument of Section 2.2 is a short chain of inequalities. The first idea every newcomer has is w=FT(FT∗FT)−1sgn(c); this interpolates the signs on T and, by restricted orthogonality, its inner products off T are small in an ℓ2 sense, but not in the ℓ∞ sense required. That is exactly Lemma 2.1: the ℓ∞ bound holds only outside an exceptional set of at most S′ indices. Lemma 2.2 removes the exceptional set by an infinite alternating iteration, prescribing values on the previous exceptional set while keeping the values on T fixed, and summing a geometrically convergent series.
Two points deserve attention from solvers. First, the paper's proof of Lemma 2.2 prescribes values on sets of size up to 2S (T0∪Tn) at each step, while the per-step factors it quotes, θS,2S/(1−δS), are what Lemma 2.1 gives for a set of size S; a proof of the printed constant in (2.4) has to account for this, and the hypothesis of Theorem 1.4 leaves room for a proof with slightly worse per-step factors. Second, Lemma 2.1 is printed with θS in its ℓ2 bound on the exceptional set, while the inequality (2.3) its proof establishes gives θS,S′; the mission states the lemma with θS,S′, which coincides with the printed form in the case S′=S used by Lemma 2.2.
Formalization scope
Matrices are Matrix (Fin p) (Fin m) ℝ; a coefficient vector on T is a vector in Fin m → ℝ supported on the finite set T, and FTc is F.mulVec c. The Euclidean and ℓ1 norms and the inner product are explicit finite sums, so every statement can be checked by hand against the paper. H is the span of the columns.
The constants δS and θS,S′ are the infimum of the set of nonnegativeδ (resp. θ) satisfying the defining inequalities for all admissible sets and coefficients. This set is nonempty, closed and bounded below, so the infimum is attained and is the paper's smallest quantity; on the paper's domain the smallest such quantity is nonnegative, so the extra clause only fixes a harmless value in degenerate cases such as S=0. The definitions are total in S,S′, and each theorem carries the paper's domain conditions (S≥1, and 2S≤m, 3S≤m or S+S′≤m as needed) as explicit hypotheses. The hypotheses are satisfiable, since a matrix with orthonormal columns has δS=θS,S′=0, so none of the statements is vacuous.
"Unique minimizer" is a strict inequality against every competitor. "Full rank" for the m×n matrix A with m>n is injectivity of g↦Ag; both are standing assumptions of the paper's Section 1.1 and appear as hypotheses of Theorem 1.5. In Lemma 2.1, "a constant K>0 depending only on δS" is a positive function of the real number δS, quantified before all other data.
Out of scope, with the reason for each: Theorem 1.6 refers to a threshold r∗(p,m) "given in Section 3.5", which the paper does not contain, and to "overwhelming probability" with unspecified constants; Lemma 3.1 is proved only for m and p "large enough", with an unspecified threshold and an o(1) term quoted from the literature; Corollary 1.7 rests on Theorem 1.6; Theorem 5.1 has an unspecified constant C and is explicitly not proved in the paper. A future mission can add these once precise statements are fixed.
Contributions that are welcome: proofs of the four milestone lemmas and of the two theorems; reusable lemmas on the attainment and monotonicity of the constants, on the Gram matrix FT∗FT and its inverse under δS<1, and on the duality inequality of Section 2.2. Statements that weaken the hypotheses (for instance to δ2S<2−1) belong to a separate mission.
E. J. Candès, J. Romberg and T. Tao, Robust uncertainty principles: exact signal reconstruction from highly incomplete frequency information, IEEE Trans. Inform. Theory 52 (2), 2006. https://arxiv.org/abs/math/0409186
E. J. Candès and T. Tao, Near optimal signal recovery from random projections: universal encoding strategies?, IEEE Trans. Inform. Theory 52 (12), 2006. https://arxiv.org/abs/math/0410542
D. L. Donoho and X. Huo, Uncertainty principles and ideal atomic decomposition, IEEE Trans. Inform. Theory 47, 2001, 2845–2862. https://doi.org/10.1109/18.959265
E. J. Candès, The restricted isometry property and its implications for compressed sensing, C. R. Acad. Sci. Paris, Ser. I 346, 2008, 589–592. https://doi.org/10.1016/j.crma.2008.03.014
Lindgren 2022: Dynamic-Programming Price Adjustment and Lyapunov StabilityResearch Paper
Motivation
In a Walrasian pure exchange economy, agents trade a fixed stock of l commodities, and a price vector p∈Rl is a general equilibrium when aggregate excess demand vanishes. Existence of equilibrium (Arrow–Debreu, 1954) says nothing about how prices reach it. The classical tâtonnement model of Samuelson (1947), dpi/ds=ciZi(p), is not derived from any optimization principle, and Scarf (1960) gave economies in which it is not globally stable; see also Smale's survey Dynamics in General Equilibrium Theory (JSTOR 1817235) and the chaotic tâtonnement examples of Bala–Majumdar (JSTOR 25054664).
Lindgren (doi:10.3390/analytics1010003) proposes instead that the economy as a whole chooses a price path by dynamic programming: it minimizes a running cost combining a quadratic transaction cost for price changes and the agents' aggregate minimal expenditure. From the resulting Hamilton–Jacobi–Bellman (HJB) equation the paper derives an evolution equation for the price velocity and a condition under which the value function acts as a Lyapunov function: the equilibrium is approached when price adjustments are large enough. This mission formalizes those derivations.
Setting
There are l commodities and n agents. Prices are vectors p=(p1,…,pl)∈Rl, and the paper's implicit summation xiyi=∑i=1lxiyi is written ⟨x,y⟩. Agent j has an expenditure functionej(p) (minimal cost of reaching a fixed utility level), and the market weighs agents with constants λj>0; the aggregate expenditure is
E(p)=λjej(p)=j=1∑nλjej(p).
The economy controls the price velocityv=dp/ds and minimizes the cost functional (eq. (7))
∫tT(21m⟨v,v⟩+E(p))ds,m>0,
whose value function is J(t,p). The Hamiltonian (eq. (8)) is
H(v)=21m⟨v,v⟩+E(p)+⟨∇J,v⟩,
the optimal policy (eq. (9)) is v=−m1∇J, and the HJB equation (eq. (10)) reads
∂t∂J=2m1⟨∇J,∇J⟩−E(p).
Here ∇ always denotes the gradient with respect to prices. Shephard's lemma identifies the Hicksian demand of agent j with hj=∇ej. For the stability analysis the paper runs time forward, which reverses the sign of the HJB equation: ∂J/∂s=−2m1⟨∇J,∇J⟩+E(p).
Formalization targets
Goal — Lyapunov stability condition (Section 3)
If J is C1 and solves the time-reversed HJB equation, and the price path follows the optimal policy p˙(s)=v(s)=−m1∇J(s,p(s)), then on any interval [t,T] on which
E(p(s))<23m⟨v(s),v(s)⟩,
the function s↦J(s,p(s)) is strictly decreasing; if moreover J(T,p(T))=0, it is strictly positive on [t,T).
Milestones
Eq. (4): under the normalization ⟨p,p⟩=1, ⟨p,p˙⟩=0.
Eq. (9): for m>0, v minimizes H if and only if mv=−∇J.
Eq. (10): the HJB equation −∂tJ=minvH takes the explicit form above.
Eq. (12): for a C2 solution of (10), v=−m1∇J satisfies
m∂t∂vi+21m∇i⟨v,v⟩=∇iE.
Eq. (14): with Shephard's lemma, the right-hand side becomes ∑jλjhij.
Eq. (19): along the optimal path, dsdJ=E(p)−23m⟨v,v⟩.
Significance
The paper's contribution is the claim that price dynamics derived from an optimization principle are nonlinear and only conditionally stable, with stability requiring sufficiently fast price changes; the author connects this to volatility clustering in financial time series. The derivations in the paper are formal calculations with the regularity of J left implicit. Formalizing them pins down exactly which smoothness assumptions each step needs (for instance, eq. (12) uses equality of mixed partial derivatives, hence a C2 value function), and which facts are imported from outside (the HJB equation itself, Shephard's lemma). The resulting statements are reusable calculus facts about HJB equations with quadratic control cost.
Difficulty
Each step is a short computation on paper; the formal difficulty is in the calculus infrastructure: partial derivatives of functions on R×Rl, symmetry of second derivatives, the chain rule along a curve, and turning a pointwise negative derivative into strict monotonicity on a closed interval. The HJB equation is taken as a hypothesis on J rather than derived from the definition of the value function, because the paper asserts it without proof and a rigorous derivation would require viscosity-solution theory.
Formalization scope
All declarations live in the namespace LindgrenPriceDynamics. Prices are functions Fin l → ℝ; partial derivatives are Fréchet derivatives applied to standard basis vectors, and time derivatives are one-variable derivatives in the time argument. The value function is a function J : ℝ → (Fin l → ℝ) → ℝ whose joint regularity is stated for the uncurried map on ℝ × (Fin l → ℝ). The standing assumption m>0 is kept; positivity of λj and ej is not needed by any stated conclusion and is not imposed. Prices are not restricted to the positive orthant. The goal's large-velocity hypothesis is satisfiable (e.g. l=1, J=ap2+cs, E=2a2p2/m+c with small c>0 on a bounded interval), so the goal is not vacuous.
Global Convergence of Splitting Methods for Nonconvex Composite Optimization IV: Descent and Stationary Cluster Points of the Proximal Gradient MethodResearch Paper
Motivation
Many problems in statistics, signal processing and machine learning minimize a sum of a smooth loss and a nonsmooth regularizer: least squares with an ℓ0 or ℓ1/2 penalty, and constrained problems in which the regularizer is the indicator of a nonconvex set. The proximal gradient method (also called forward–backward splitting) is the standard first-order algorithm for such problems. Each step takes a gradient step on the smooth part and then applies the proximal mapping of the nonsmooth part, which for many nonconvex regularizers (hard thresholding, projection onto sparse vectors) has a closed form.
For a smooth part h whose gradient is L-Lipschitz, the classical analysis allows any constant step size β∈(0,1/L), and every cluster point of the iterates is stationary; Li and Pong cite Bredies and Lorenz (Minimization of non-convex, non-smooth functionals by iterative thresholding, preprint, 2009) for this. Attouch, Bolte and Svaiter (Math. Program., 2013) added convergence of the whole sequence when h+P has the Kurdyka–Łojasiewicz property. When h is nonconvex, however, L is governed by the most negative curvature of h as much as by the most positive one, and the admissible step sizes can be much smaller than the convex part of h alone would require.
Li and Pong (SIAM J. Optim., 2015; preprint arXiv:1407.0753v6) show that the concave part of h imposes no restriction on the step size: it suffices to bound the curvature of h after it has been offset by a convex function. This mission formalizes that result, Theorem 4 of their paper. It is the fourth mission of a series on the paper; the first three treat its results on the alternating direction method of multipliers.
Setting
Work in Rn with the Euclidean inner product ⟨⋅,⋅⟩ and norm ∥⋅∥. The problem is
x∈Rnminh(x)+P(x),
under the paper's standing assumptions: h:Rn→R is twice continuously differentiable with a bounded Hessian ∇2h; P:Rn→(−∞,+∞] is proper (never −∞, finite somewhere) and closed (lower semicontinuous); and for every τ>0 and u the proximal problem minyτP(y)+21∥y−u∥2 has a minimizer. Neither h nor P is assumed convex.
A vector v is a regular subgradient of P at x (with P(x)<∞) if P(z)≥P(x)+⟨v,z−x⟩−ε∥z−x∥ for all z near x, for every ε>0. The limiting subdifferential∂P(x) collects the limits v=limvt of regular subgradients vt at points xt→x with P(xt)→P(x). A point x is stationary if
0∈∇h(x)+∂P(x).
Given a step size β>0 and an arbitrary starting point x0, the proximal gradient method generates (xt)t≥0 by
The summed bound after (46): (2β1−2ℓ)∑t=0N−1∥xt+1−xt∥2+h(xN)+P(xN)≤h(x0)+P(x0).
Vanishing steps: if a cluster point exists, ∥xt+1−xt∥→0.
Function-value convergence: if xti→x∗, then P(xti+1)→P(x∗).
Eq. (47): 0∈∇h(xt)+β1(xt+1−xt)+∂P(xt+1) for every t.
Significance
The result. For h=h1−h2 a difference of convex C2 functions with ∇h1 being L1-Lipschitz, (44) holds with q=h2 and ℓ=L1, so the step size may be taken in (0,1/L1) whatever the curvature of h2. For an indefinite quadratic h(x)=21⟨x,Qx⟩ the admissible range becomes (0,1/λmax(Q)) instead of (0,1/maxi∣λi(Q)∣), and for a concave quadratic every positive step size is admissible. Because the method is a descent method under this rule, its iterates stay in a sublevel set of h+P, so the sequence is bounded whenever h+P is coercive. The same estimates feed the whole-sequence convergence argument for Kurdyka–Łojasiewicz functions.
Formalizing it. The theorem is proved in the paper; to the best of current knowledge it has no machine-checked proof. Formalizing it requires the limiting subdifferential of an extended-real-valued function, its closedness property (3), and a Fermat rule for a smooth-plus-nonsmooth sum, none of which is in Mathlib. These are reusable for any nonconvex first-order method analysed through cluster points.
Difficulty
The descent part rests on (45), a descent inequality for h+q whose Lipschitz constant is read off from a two-sided Hessian bound; the familiar descent lemma is stated for h alone and does not apply, since ∇h may have a much larger Lipschitz constant than ℓ.
The stationarity part is where the naive argument fails. Passing to the limit in (47) needs not only xti+1→x∗ but also P(xti+1)→P(x∗), because the limiting subdifferential is closed only under P-attentive convergence. Lower semicontinuity gives one inequality; the other must come from the minimizing property (43) compared against x∗. The objective may be +∞ at x0, so summability of the steps has to be extracted without assuming a finite starting value.
Formalization scope
The space is EuclideanSpace ℝ (Fin n). h and q are real-valued; P takes values in EReal, and every objective value h(x)+P(x) is compared in EReal, never through EReal.toReal. The Hessian is the derivative of the gradient map, a continuous linear self-map; the Loewner order is Mathlib's partial order A ≤ B ↔ (B - A).IsPositive, and both sides of (44) are kept. The regular subgradient is encoded in its ε-neighbourhood form, and the limiting subdifferential requires all three convergences xt→x, P(xt)→P(x), vt→v. Stationarity is ∃w∈∂P(x),∇h(x)+w=0. The update (43) is a relation on sequences: xt+1 minimizes the bracket over all of Rn, with no uniqueness and a free starting point. A cluster point is the limit of xφ(i) for a strictly increasing φ.
Trivializing formalizations are ruled out: (44) is not replaced by "∇h is ℓ-Lipschitz", which is the classical special case q=0; P(x0)<∞, boundedness of the sequence and existence of a cluster point are not assumed; and a limiting subdifferential without P(xt)→P(x) is not used, since that would make stationarity a weaker statement.
Contributions welcome: the closedness (3) and the Fermat rule behind (47) for the limiting subdifferential, a descent lemma from a two-sided Hessian bound, and the telescoping and limit arguments of the proof.
H. Attouch, J. Bolte and B. F. Svaiter, Convergence of descent methods for semi-algebraic and tame problems: proximal algorithms, forward–backward splitting, and regularized Gauss–Seidel methods, Math. Program. 137, 2013. https://doi.org/10.1007/s10107-011-0484-9
K. Bredies and D. A. Lorenz, Minimization of non-convex, non-smooth functionals by iterative thresholding, preprint, 2009 (reference [9] of Li–Pong; no stable link recorded there).
Global Convergence of Splitting Methods for Nonconvex Composite Optimization II: The Proximal ADMM Sequence Is Bounded Under CoercivityResearch Paper
Motivation
The alternating direction method of multipliers (ADMM) splits a problem of the form minxh(x)+P(Mx) into a sequence of simpler subproblems, one in which the nonsmooth term P enters only through its proximal map and one in which only the smooth term h appears. For convex problems its convergence theory is classical. In signal processing and statistics, however, the method is routinely run on nonconvex models, such as ℓ0- or ℓ1/2-regularized least squares, where P is nonconvex and possibly discontinuous and convex theory does not apply.
Li and Pong (arXiv:1407.0753, SIAM J. Optim. 25(4), 2015) gave a convergence analysis of a proximal variant of the ADMM for this nonconvex setting. Their Theorem 1 shows that every cluster point of the iterates is a stationary point. That statement is only informative if cluster points exist. Theorem 2, the subject of this mission, gives conditions on h, P and M under which the whole sequence of iterates is bounded, so that cluster points exist and Theorem 1 applies.
Setting
Let n,m≥0. The data are:
h:Rn→R, twice continuously differentiable with bounded Hessian ∇2h;
P:Rm→(−∞,+∞], proper (never −∞, finite somewhere) and closed (lower semicontinuous);
M:Rn→Rm linear, with adjoint M∗;
a penalty β>0 and a convex, twice continuously differentiable ϕ:Rn→R.
The augmented Lagrangian is
Lβ(x,y,z)=h(x)+P(y)−⟨z,Mx−y⟩+2β∥Mx−y∥2,
and the Bregman distance of ϕ is Dϕ(x1,x2)=ϕ(x1)−ϕ(x2)−⟨∇ϕ(x2),x1−x2⟩. A sequence (xt,yt,zt)t≥0 is generated by the proximal ADMM if, from arbitrary x0,z0,
For a linear self-map T, write ∥x∥T2=⟨x,Tx⟩, and write ⪰, ≻ for the semidefinite and definite order of symmetric maps. Assumption 1 asks for σ>0 with MM∗⪰σI (so M is surjective), bounds Q1⪰∇2h⪰Q2, maps T1⪰T2⪰0 with T12⪰[∇2ϕ]2⪰T22, δ>0 with Q2+βM∗M+T2⪰δI, a bound Q3⪰[∇2h+∇2ϕ]2, and γ∈(0,1) with
δI+T2≻σβ2(γ1Q3+1−γ1T12).
Formalization targets
Goal: Theorem 2 (p. 11)
Suppose Assumption 1 holds and, with the same σ and γ, there is 0<ζ<2βγ with
h0:=xinf{h(x)−σζ1∥∇h(x)∥2}>−∞.(29)
Suppose that either (i) M is invertible and liminf∥y∥→∞P(y)=∞, or (ii) liminf∥x∥→∞h(x)=∞ and infyP(y)>−∞. Then
t≥0sup(∥xt∥+∥yt∥+∥zt∥)<∞.
Milestones
The milestones are the numbered displays of the paper's proof:
Eq. (13): M∗zt+1=∇h(xt+1)+∇ϕ(xt+1)−∇ϕ(xt).
Eq. (20): the one-step estimate Lβ(wt+1)≤Lβ(wt)+21∥xt+1−xt∥σβγ2Q3−δI−T22+21∥xt−xt−1∥σβ(1−γ)2T122 for t≥1.
Eq. (30): the merit quantity Lβ(wt)+21∥xt−xt−1∥σβ(1−γ)2T122 stays below its value at t=1.
Eq. (31): σ∥zt∥2≤γ1∥∇h(xt)∥2+1−γ1∥xt−xt−1∥T122 for t≥1.
Eq. (32): a lower estimate of that value at t=1 by μh(xt)+(1−μ)h0+σc∥∇h(xt)∥2+P(yt)+2β∥Mxt−yt−zt/β∥2+…, where c=ζ1−μ−2βγ1>0.
Significance
The result. Theorem 2 supplies the existence of cluster points that Theorem 1 assumes. The two together give an unconditional statement: under Assumption 1, (29) and either coercivity condition, the proximal ADMM has a cluster point and every one of them is stationary. The hypotheses cover the models that motivate the paper. Least squares with a coercive nonconvex regularizer falls under case (i) with M=I, and a strongly convex quadratic h with a regularizer that is bounded below and a general surjective M falls under case (ii) (Examples 4–6 of the paper). Boundedness is also a standing hypothesis of the paper's Theorem 3, the Kurdyka–Łojasiewicz argument for convergence of the whole sequence.
Formalizing it. The result has been proved since 2015. As far as a search of the platform shows, neither it nor the underlying Lyapunov-type estimates for the ADMM has been machine-checked. This mission formalizes the known proof. The estimates (20), (30) and (31) are shared with the stationarity analysis of the same algorithm, so they serve any later formal work on nonconvex ADMM variants.
Difficulty
The obvious approach is to bound the iterates by the monotone quantity of Eq. (30). That quantity involves Lβ, which contains −⟨z,Mx−y⟩ and is not bounded below a priori, so its decrease alone does not bound anything. The dual term has to be absorbed. It is controlled through ∇h(xt) and the last primal step, and the part involving ∥∇h(xt)∥2 is then paid for out of h itself. Condition (29) exists to make exactly this trade possible, which is why it couples ζ to the γ of Assumption 1. The two cases then extract boundedness in opposite orders: (i) goes from yt through zt to xt using invertibility of M, and (ii) goes from xt through zt to yt. In case (i) the lower bound on P that the argument needs is not assumed and must itself be derived from coercivity and lower semicontinuity.
Formalization scope
Spaces and values. Spaces are EuclideanSpace ℝ (Fin n) and EuclideanSpace ℝ (Fin m), and M is a continuous linear map with Mathlib's adjoint. P, Lβ and every inequality containing them live in EReal, stated additively so that no extended-real subtraction occurs.
Assumption 1 is one definition with its witnesses σ,δ,γ,Q1,Q2,T1,T2,Q3 as explicit parameters, and ⪰ is Mathlib's Loewner order on self-maps. ∥x∥T2 is ⟨x,Tx⟩ for every T, including indefinite ones.
Condition (29) takes ζ and a real lower bound h0 as parameters, with the same σ and γ as Assumption 1.
The algorithm is a relation on sequences. An argmin is a global minimizer, not necessarily unique. x0 and z0 are free, and y0 is unconstrained. No existence of minimizers is asserted.
Coercivity is stated in its ∀r∃R form, and "invertible" is bijectivity of M.
Boundedness means one radius for all three blocks and all t≥0.
Ruling out trivial versions. A formalization that bounds only xt, fixes γ or ζ to an example's values, lets (29) use a fresh γ, adds a lower bound on P in case (i), or assumes minimizers that make the sequence constant proves a different, weaker theorem, and is not the target.
Definitions needed. Proper and closed extended-valued functions, the Hessian as fderiv of gradient, the augmented Lagrangian, the Bregman distance, the proximal-ADMM relation and Assumption 1 are all provided. They mirror the definitions of the companion mission on cluster points of the same algorithm. A solver will need standard facts beyond them: first-order optimality for a differentiable function, the mean-value bound ∥∇ϕ(a)−∇ϕ(b)∥2≤∥a−b∥T122 from the Hessian sandwich, and strong convexity of the x-subproblem. Proofs of individual milestones are welcome independently.
Selected references
G. Li and T. K. Pong, Global Convergence of Splitting Methods for Nonconvex Composite Optimization, SIAM J. Optim. 25(4), 2015; preprint arXiv:1407.0753v6. https://arxiv.org/abs/1407.0753 (DOI 10.1137/140998135)
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(1), 2011. https://doi.org/10.1561/2200000016
H. Attouch, J. Bolte and B. F. Svaiter, Convergence of descent methods for semi-algebraic and tame problems, Math. Program. 137, 2013. https://doi.org/10.1007/s10107-011-0484-9
Optimal Two- and Three-Stage Production Schedules with Setup Times Included 2: Johnson's Rule for Three MachinesResearch Paper
Motivation
Johnson's 1954 paper in Naval Research Logistics Quarterly is the starting point of machine scheduling theory. Its first section solves the two-machine flow shop: n items must pass through machine 1 and then machine 2, and an explicit ordering rule minimizes the total elapsed time. Its second section treats three machines. There the problem "loses some of the nice structure of the two-stage case" (p. 65), and the general three-machine problem was later shown to be strongly NP-hard (Garey, Johnson and Sethi, 1976). Johnson nevertheless identifies a restricted case, in which the middle machine is dominated by the first (or the last), where the two-machine rule still gives an optimal schedule. That case, and the structural facts behind it, are the content of this mission.
The three-machine results are still the reference point for polynomially solvable flow shops and for lower bounds in branch-and-bound methods for the general problem.
Timeline.
1954: Johnson proves the two-machine rule (Theorem 1) and, for three machines, the reduction to a common ordering (Lemma 3), a closed form for the elapsed time, and optimality of the rule on Ai+Bi, Bi+Ci when minAi≥maxBj (Theorem 2), with the mirror case minCi≥maxBj asserted.
1976: Garey, Johnson and Sethi show that minimizing makespan in a three-machine flow shop is strongly NP-hard in general, so some restriction of Theorem 2's kind is unavoidable for an exact ordering rule.
Setting
There are nitems and three machines. Item i needs processing time Ai>0 on machine 1, Bi>0 on machine 2 and Ci>0 on machine 3, in that order. Each machine handles at most one item at a time, and processing is not interrupted.
A schedule assigns each item start times si1,si2,si3. It is feasible when all start times are at least 0 on machine 1, the processing intervals of distinct items on the same machine do not overlap, and si1+Ai≤si2, si2+Bi≤si3. The three machines may process the items in different orders. The total elapsed time (makespan) is maxi(si3+Ci).
An orderingσ lists the items, σ(k) being the item in position k. Its as-soon-as-possible schedule processes the items in the order σ on every machine and starts each item on each machine as early as the rules allow. For an ordering, with positions 1,…,n, Johnson defines
the sums running over the items in the first u (resp. v) positions.
Johnson's three-stage rule says that item idefinitely precedes item j when
min(Ai+Bi,Cj+Bj)<min(Aj+Bj,Ci+Bi)(IV)
and calls them indifferent under equality. An ordering is consistent with (IV) when no item placed later is definitely preferred to an item placed earlier.
Formalization targets
Goal: Theorem 2 (p. 67)
If every Ai is at least every Bj, then an ordering consistent with (IV) exists, and for every such ordering σ the as-soon-as-possible schedule of σ is feasible and satisfies
makespan(as-soon-as-possible schedule of σ)≤makespan(s)for every feasible schedule s.
Milestones
Lemma 3 (p. 65). Every feasible schedule is matched or beaten by the as-soon-as-possible schedule of some single ordering.
Closed form (p. 66). For every ordering, the total idle time of machine 3 is ∑iYi=max1≤u≤v≤n(Hv+Ku), so that
makespan=i=1∑nCi+1≤u≤v≤nmax(Ku+Hv),
the "maximum walk" of p. 68.
3. Special case (p. 67). If minAi≥maxBj then maxu≤vKu=Kv, so the makespan is ∑iCi+maxv(Hv+Kv).
4. (III) ⇔ (IV) (p. 67). Interchanging the items in positions j,j+1 changes H and K only at j,j+1, and the interchange is strictly worse for the diagonal terms exactly when (IV) holds.
5. Lemma 4 (p. 67). Relation (IV) is transitive, except when the middle item is indifferent to both others.
6. Mirror case (p. 68). The conclusion of Theorem 2 also holds when every Ci is at least every Bj.
Significance
The result. Theorem 2 gives an O(nlogn) exact method for a class of three-machine flow shops, in a problem that is strongly NP-hard in general. Lemma 3 says that, for three machines, permutation schedules are dominant; Johnson's example on p. 65 shows this fails for four machines. The closed form of milestone 2 expresses the makespan of any ordering as a longest path in a grid, the device behind most later flow-shop lower bounds.
Formalizing it. All results are proved on paper, some tersely: Lemma 3's proof is two lines and cites the wrong lemma, Lemma 4 is proved by reference to Lemma 2, and the mirror case is asserted without proof. A search of Mathlib and of the platform catalog found no machine-checked proof of any of them. The mission produces a checked account of the three-machine flow shop, including the comparison against all feasible schedules rather than only permutation schedules, and pins down the exact form of the hypotheses (see below).
Difficulty
The interchange argument of the two-machine case does not transfer directly. For a general ordering the makespan involves maxu≤v(Hv+Ku), and interchanging adjacent items changes terms that depend on everything placed earlier; the page notes that "the decision is not independent of what precedes the interchanged elements". The hypothesis minA≥maxB is what makes K nondecreasing along the ordering, collapsing the double maximum to the diagonal. A second obstacle is that (IV) is not a total preorder: ties break transitivity, so passing from "no adjacent pair can be improved" to "optimal" needs the all-pairs consistency and the tie exception of Lemma 4. Finally, Lemma 3 is a statement about arbitrary start-time schedules, so the reduction to orderings must handle machines whose orders differ.
Formalization scope
Items are Fin n; processing times are real-valued functions A B C : Fin n → ℝ, assumed positive in each theorem that is about schedules (the paper's standing assumption, p. 61). A schedule is three start-time functions; feasibility is spelled out as above with non-overlap written as a disjunction of inequalities. The makespan is the maximum of the machine-3 completion times together with 0, so the empty instance has makespan 0. An ordering is an Equiv.Perm (Fin n) with σ k the item in position k; positions are 0-based, so the Lean K u, H v are the paper's Ku+1, Hv+1. Statements with maxima over positions assume n≥1.
Hypotheses made explicit or corrected:
minAi≥maxBi is read globally, Bj≤Ai for all i,j, as in the section heading. The pointwise reading Bi≤Ai makes Theorem 2 false (an instance with five items is recorded in the Formalization Note of the goal).
Consistency with (IV) is required for all pairs of positions, not only adjacent ones.
Lemma 4 carries Lemma 2's exception for an item indifferent to both others; without it the statement is false.
Lemma 3's proof cites "Lemma 2" where Lemma 1 is meant.
The interchange equivalence (milestone 4) is stated for arbitrary reals, which is stronger than the page needs.
Optimality in the goal is against every feasible schedule. A formalization that compares only orderings with each other, or that defines the objective as the closed form ∑C+max(Ku+Hv), would drop Lemma 3's content and is ruled out: the makespan is the latest completion time of a start-time schedule. The existence clause keeps the optimality clause from being vacuous.
A complete development needs finite sums over initial segments of Fin n, Finset.sup', and permutation manipulations (adjacent transpositions, bubble-sort arguments). The feasibility model and the closed form are reusable for other flow-shop results; contributions of general lemmas on adjacent interchanges of permutations are welcome.
Selected references
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
M. R. Garey, D. S. Johnson, R. Sethi, The complexity of flowshop and jobshop scheduling, Mathematics of Operations Research 1(2):117–129, 1976. https://doi.org/10.1287/moor.1.2.117
Robustness and Generalization IV: Robustness of the Lasso on a Compact Sample SpaceResearch Paper
Motivation
The Lasso (Tibshirani 1996, doi:10.1111/j.2517-6161.1996.tb02080.x) is ℓ1-penalized least squares regression, one of the standard estimators of statistics and machine learning because it selects sparse coefficient vectors. Explaining why a learned Lasso predictor generalizes is less routine than it looks. The two classical routes are uniform convergence over the hypothesis class and algorithmic stability (Bousquet and Elisseeff 2002, JMLR 2:499–526). The stability route is closed for the Lasso: Xu, Caramanis and Mannor (IEEE Trans. Inf. Theory 56(7), 2010, doi:10.1109/TIT.2010.2048503) showed that its uniform stability bound does not decrease with the sample size, a fact reproduced as Theorem 7 of Xu and Mannor (2012).
Xu and Mannor, Robustness and Generalization (Mach Learn 86 (2012) 391–423, doi:10.1007/s10994-011-5268-1), propose a third route, algorithmic robustness: if the sample space can be split into K cells such that a test point in the same cell as a training point has nearly the same loss, then the algorithm generalizes (their Theorem 1). Their Example 6 shows that the Lasso is robust in this sense, with a number of cells given by a covering number and a robustness level depending on the training responses. This mission formalizes Example 6 together with the general criterion it rests on (Theorem 6) and the Lipschitz estimate for the Lasso loss (Lemma 3).
Setting
A sample is a point z=(z(y),z(x)) with a response z(y)∈R and a feature vector z(x)∈Rm, so the samples live in Rm+1. The sample spaceZ⊆Rm+1 is a compact set, and Rm+1 carries the norm ∥z∥∞=max(∣z(y)∣,maxj∣zj(x)∣). A training set is s=(s1,…,sn)∈Zn.
A learning algorithm maps each training set s to a hypothesis As; with a lossl(h,z), it is (K,ϵ(⋅))-robust (Definition 2, p. 396) if Z can be partitioned into K disjoint sets C1,…,CK, fixed independently of the data, such that for every s∈Zn, every training point s∈s, every z∈Z and every i,
s,z∈Ci⟹∣l(As,s)−l(As,z)∣≤ϵ(s).
For a metric ρ on Z and ϵ>0, a set T^⊆Z is an ϵ-cover of Z if every point of Z is within distance ≤ϵ of a point of T^; the covering numberN(ϵ,Z,ρ) is the least cardinality of such a cover (Definition 1, p. 394).
For a coefficient vector w∈Rm let ∥w∥1=∑j∣wj∣. Given c>0, the Lasso is
wminn1i=1∑n(si(y)−w⊤si(x))2+c∥w∥1,(5)
a Lasso algorithm returns a minimizer As=w of (5) for each s, and the loss is the absolute prediction error l(w,z)=∣z(y)−w⊤z(x)∣. Finally Y(s)=n1∑i=1n[si(y)]2.
Formalization targets
Goal: Example 6 (p. 404)
For every compact Z⊆Rm+1, every c>0, every Lasso algorithm A and every γ>0,
A is (N(γ/2,Z,∥⋅∥∞),(Y(s)/c+1)γ)-robust.
The statement holds for every selection of a minimizer, since (5) need not have a unique solution.
Milestones
Optimality bound (proof of Lemma 3, p. 419): every Lasso solution satisfies ∥w∗∥1≤nc1∑i=1n[si(y)]2.
Theorem 6 (p. 402): for a metric ρ on Z and γ>0, if ∣l(As,z1)−l(As,z2)∣≤ϵ(s) whenever z1∈s and ρ(z1,z2)≤γ, and N(γ/2,Z,ρ)<∞, then A is (N(γ/2,Z,ρ),ϵ(⋅))-robust.
Significance
Combined with Theorem 1 of the same paper, Example 6 yields a generalization bound for the Lasso of the form ϵ(s)+M(2Kln2+2ln(1/δ))/n with K a covering number of the sample space, a bound that uses no stability of the algorithm and no uniqueness of the minimizer. Theorem 6 is the reusable part: it converts any data-dependent local Lipschitz or continuity estimate of the loss into robustness, and the paper derives its examples for the SVM, the Lasso, neural networks and PCA from it. The authors note (p. 404) that the resulting bound is weaker than VC-dimension bounds for linear predictors, since it depends exponentially on the dimension; the value of the example is the method, not the rate.
The results are proved in the paper, with short arguments. No machine-checked version of Theorem 6, Lemma 3 or Example 6 is known to exist. The formal work is to connect Mathlib's covering numbers to partitions of a set, to handle the ℓ1/ℓ∞ pairing on R×Rm, and to state robustness so that later missions of this series (the generalization bound of Theorem 1, mission I) can consume it.
Difficulty
The constant in the robustness level depends on the training set through Y(s), while the partition in Definition 2 must be chosen before the training set is seen. A formalization that lets the cells depend on s proves a much weaker, nearly empty statement, so the data dependence has to be carried entirely by ϵ(s) and the cells must depend only on Z and γ. A cover by balls is not a partition, and the radius of the cover (γ/2) and the closeness threshold in Theorem 6 (γ) differ by the factor that the diameter of a cell requires. The Lipschitz estimate must bound a Lasso solution without any information beyond optimality, and the pairing between ∥w∥1 and ∥⋅∥∞ is the one that makes the constant come out as printed; a Euclidean norm on either side gives a different constant.
Formalization scope
Rm+1 is ℝ × (Fin m → ℝ), a point being (z^{(y)}, z^{(x)}). Lean's norm on this product is the maximum of the absolute values of all coordinates, which is exactly ∥⋅∥∞. ∥w∥1 is written out as ∑j∣wj∣, since the default norm on Fin m → ℝ is the sup norm; w⊤x is dotProduct w x.
The sample space is a set Z with IsCompact Z. Robustness (IsRobustOn) asks for cells C : Fin K → Set α that lie in Z, cover Z and are pairwise disjoint (empty cells allowed), chosen before the universally quantified training set; training sets are maps Fin n → α with all points in Z. No measurability is involved anywhere in this mission.
The covering number is Mathlib's Metric.coveringNumber at radius Real.toNNReal (γ / 2): closed balls, centres in Z (the metric space of Definition 1 is Z itself), value in ℕ∞, converted with toNat. Theorem 6 assumes its finiteness, as the paper does; without that hypothesis toNat would return 0 and the statement would be false for nonempty Z. Example 6 does not assume it: it follows from compactness.
A Lasso algorithm is any function A with ∀ s, IsLassoSolution c s (A s); it is not defined by a choice of minimizer. The regularization parameter satisfies c>0, which the paper leaves implicit. The factor 1/n is a real division; for n=0 it is 0 in Lean, the objective reduces to c∥w∥1, and all statements remain true.
The robustness level is (Y(s)/c+1)γ in Example 6 and nc1∑i[si(y)]2+1 in Lemma 3, each in its printed form.
Useful infrastructure beyond this mission: a lemma turning a finite cover of a set into a partition of it with cells of diameter at most twice the radius, and finiteness of Mathlib's internal covering number for compact sets. Contributions of either as separate theorems are welcome.
Selected references
H. Xu and S. Mannor, Robustness and Generalization, Machine Learning 86 (2012) 391–423. doi:10.1007/s10994-011-5268-1
R. Tibshirani, Regression Shrinkage and Selection via the Lasso, Journal of the Royal Statistical Society, Series B 58(1) (1996) 267–288. doi:10.1111/j.2517-6161.1996.tb02080.x
H. Xu, C. Caramanis and S. Mannor, Robust Regression and Lasso, IEEE Transactions on Information Theory 56(7) (2010) 3561–3574. doi:10.1109/TIT.2010.2048503
O. Bousquet and A. Elisseeff, Stability and Generalization, Journal of Machine Learning Research 2 (2002) 499–526. jmlr.org/papers/v2/bousquet02a
Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program II: Stability of the Deterministic Equivalent Convex ProgramResearch Paper
Motivation
A two-stage stochastic linear program with fixed recourse chooses a first-stage decision x before a random vector ξ is observed, and then pays for a cheapest corrective action y once ξ is known. It is the basic model of planning under uncertainty in operations research: capacity expansion, production planning with random demand, and energy dispatch are all written in this form, and every decomposition algorithm of the field (L-shaped, stochastic decomposition, progressive hedging) works on it.
Roger J.-B. Wets' survey Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program (SIAM Review, 1974) collected the structural theory of this model: where the problem is feasible (§4), what the expected cost looks like as a function of x (§7), and when the resulting convex program is well behaved (§8). This mission formalizes the second chain, from the polyhedral structure of the recourse function to the stability of the deterministic equivalent program: the existence of an optimal Lagrange multiplier for the first-stage constraints. Stability is what makes the optimal value react at a bounded rate to perturbations of the first-stage right-hand side, and it is the hypothesis under which dual and decomposition methods have something to converge to.
Setting
The data are a random element ξ=(c,q,p,T) with c∈Rn, q∈Rnˉ, p∈Rmˉ and T an mˉ×n matrix, distributed according to a probability measure μ. The recourse matrixW (mˉ×nˉ), the first-stage matrix A (m×n) and b∈Rm are fixed. The recourse function is
Q(x,ξ)=min{q(ξ)y∣Wy=p(ξ)−T(ξ)x,y≥0},
equal to +∞ if the second-stage program is infeasible and −∞ if it is unbounded.
The weak covariance condition (Definition 2.2) requires cj, qjpi and qjtik to be integrable for all indices; it does not require q, p or T themselves to be integrable. The paper also assumes throughout that W has full row rank (p. 312).
Expectations use the paper's integral: positive part minus negative part, with each part infinite if its integral diverges or the integrand is infinite on a set of positive measure, and (+∞)+(−∞)=+∞. The expected recourse is Q(x)=Eξ{Q(x,ξ)} and the objective is
Z(x)=cˉx+Q(x),cˉ=Eξ{c(ξ)}.
The induced constraints are K2=⋂ζ∈Ξ~p,T{x:p−Tx∈posW}, where posW={Wy:y≥0} and Ξ~p,T is the support of the distribution of (p,T). The fixed constraints are K1={x:Ax=b,x≥0}, and K=K1∩K2. The deterministic equivalent program (8.2) is to minimize Z over K.
A convex program of the form min{f(x):Ax=b,x≥0,x∈D} with finite value v is stable (Definition 8.1(iv)) if there is π∈Rm with v≤f(x)+π(b−Ax) for all x∈D, x≥0. Equivalently, the dual obtained by perturbing b is solvable and has no duality gap.
Formalization targets
Goal: Theorem 8.11 (p. 337)
If the weak covariance condition holds, W has full row rank, K2 is a polyhedron and the program is finite, v=infKZ∈R, then
∃π∈Rm:v≤Z(x)+π(b−Ax)for all x∈K2,x≥0.
Milestones
Corollary 7.3 (p. 328). The value t↦min{cx∣Ax=t,x≥0} is a finite maximum of affine functions on posA, or −∞ on all of posA.
Proposition 7.5 (p. 329). Q(x,ξ) is convex polyhedral in x on K2 for each ξ in the support, concave polyhedral in q, and convex polyhedral in (p,T).
Theorem 7.6 (p. 329). Z is convex on K, and it is either finite on K or identically −∞ on K.
Theorem 7.7 (pp. 329–330). If Z>−∞ on K, then ∣Z(x)−Z(x0)∣≤Bˉ∥x−x0∥ on K (Euclidean norm).
Lemma 8.9 (p. 337). A finite program min{f(x):Ax=b,x≥0} whose objective is convex and Lipschitz on a polyhedral domain is stable.
Significance
Stability of (8.2) is the regularity property that the dual and sensitivity theory of two-stage programs relies on. It gives a finite Lagrange multiplier for the first-stage constraints, a supporting hyperplane of the perturbation function ϕ(u)=inf{Z(x):Ax=b−u,x∈K2∩R+n} at u=0, and hence a bounded rate of change of the optimal value under perturbations of b. The route through Theorems 7.6 and 7.7 also yields facts that are used on their own: the objective is a convex function that is either finite or identically −∞ on the feasible region, and it is Lipschitz with a constant controlled by the weak covariance moments.
The results have been proved since 1974, and Lemma 8.9 is cited there to Walkup and Wets (1969). As far as the platform's catalog shows, none of them is formalized for a general distribution. The platform has finite-scenario versions of related facts from Birge and Louveaux's textbook, Chapter 3: StochasticProg.Recourse.thm6a_Q_lipschitz_convex_finite (the expected recourse is finite, convex and Lipschitz on K2 for finitely many scenarios) and StochasticProg.Recourse.thm5a_K2_closed_convex. A complete development would supply the general-distribution versions, with the paper's own extended integral.
Difficulty
The obvious argument for Theorem 7.7 integrates a pointwise Lipschitz constant of Q(⋅,ξ). It fails unless that constant is integrable, and the weak covariance condition, not integrability of ξ, is what has to deliver this, uniformly over the finitely many second-stage bases.
For the goal, convexity and finiteness of the program are not enough. The paper's Example 8.5 has a finite convex deterministic equivalent with an infinite duality gap, and the counterexample under Formalization scope has a finite value and no multiplier. When the domain of Z has curved boundary, the perturbation function can have infinite slope at 0; the polyhedral hypothesis on K2 is what excludes this.
Formalization scope
Types. Vectors are Fin n → ℝ; matrices are Matrix (Fin _) (Fin _) ℝ; row vectors of the paper (c, q, π) enter through dotProduct. The law μ is a probability measure on (Fin n → ℝ) × (Fin n̄ → ℝ) × (Fin m̄ → ℝ) × (Fin m̄ → Fin n → ℝ). Q is the platform definition KallMayer.Recourse.PointwiseRecourse, an EReal-valued infimum. Supports are MeasureTheory.Measure.support.
The integral.Q is written as lintegral of the positive part minus lintegral of the negative part, with +∞ whenever the positive part is +∞. This is the paper's (+∞)+(−∞)=+∞; Mathlib's EReal subtraction resolves the other way. A Bochner integral of toReal would be 0 for non-integrable integrands and make every expected-cost statement trivial, and it is not used. cˉ is a Bochner integral, legitimate because Definition 2.2 makes each cj integrable.
Readings of informal words.
"Has first moments" is Integrable.
"Convex polyhedron" means finitely many weak linear inequalities; ∅ and Rn are included.
"Finite convex (concave) polyhedral function on S" means equal on S to the maximum (minimum) of finitely many affine functions. The x and (p,T) parts of Proposition 7.5 are stated as a dichotomy with the identically −∞ case; the q part is stated, as Corollary 7.4 gives it, as finite concave polyhedral on pos(WT,−WT,I) when the recourse problem is feasible.
"Convex" for the extended-real Z (Theorem 7.6) is ConvexOn of toReal on the finite branch.
"Bounded on K" (Theorem 7.7) is read as Z>−∞ on K, the proof's own reading. Finiteness on K is part of the conclusion.
"Convex and Lipschitz on a polyhedron" (Lemma 8.9) means the objective's domain is the polyhedron.
"The program is finite" means the infimum over K is a real number.
"Stable" is the Kuhn–Tucker form above: a multiplier compared against the primal value, not merely a solvable dual. The latter would allow a duality gap.
Standing assumptions. Full row rank of W appears in Theorems 7.7 and 8.11, where the proof uses square nonsingular submatrices of W. It is omitted from Theorem 7.6 and Corollary 7.3 (Theorem 7.2's rank assumption), where it is not needed; this makes those statements stronger.
Corrections to the page. Theorem 8.11 is printed with "K is polyhedral", K=K1∩K2, and read literally it is false. Take T(ξ) uniform on the unit circle, p≡1, W=(1), q≡0, c≡(−1,0) and K1={x2=1,x≥0}. Then K2 is the unit disk and K={(0,1)} is polyhedral with finite value 0, but no multiplier exists. The goal therefore assumes "K2 is polyhedral", as the sentence before Lemma 8.9 and the proof require. In the dual (8.3) the page writes c for cˉ.
Ruled out. A statement of stability as "the dual supremum is attained" without equality to the primal value is not the goal, and neither is a hypothesis making K empty or Z identically −∞: the finiteness hypothesis excludes both.
Infrastructure. The needed pieces are Minkowski–Weyl for polyhedra (PointedCone.FG/DualFG in Mathlib), LP duality with ±∞ values, the paper's extended integral, and a Kuhn–Tucker theorem for convex programs with polyhedral constraints (Rockafellar, Convex Analysis, Thm 28.2). Corollary 7.3 and Lemma 8.9 contain no probability and are reusable across convex analysis. Proofs of any milestone, and lemmas on the paper's extended integral (monotonicity, subadditivity), are welcome.
Selected references
R. J.-B. Wets, Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program, SIAM Review 16(3):309–339, 1974. https://doi.org/10.1137/1016053
D. W. Walkup and R. J.-B. Wets, Stochastic programs with recourse, SIAM J. Appl. Math. 15(5):1299–1314, 1967. https://doi.org/10.1137/0115113
R. M. Van Slyke and R. J.-B. Wets, A duality theory for abstract mathematical programs with applications to optimal control theory, J. Math. Anal. Appl. 22(3):679–706, 1968 (cited by Wets for Definition 8.1 and the dual (8.3)).
Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program I: The Induced Feasibility Region Is a Closed Convex Polyhedron When T Is FixedResearch Paper
Motivation
A two-stage stochastic program with recourse is a linear program in which a decision x is taken before a random vector ξ is observed, and a corrective (recourse) decision y is taken afterwards at a cost. It is the basic model of planning under uncertainty in operations research: capacity expansion, production planning, energy dispatch and inventory models are routinely written this way. Before any algorithm can be applied, the model has to be reduced to a deterministic equivalent program in x alone, and the first question is which x are admissible at all: the random second-stage constraints induce constraints on x that are not written down anywhere in the data.
Roger J.-B. Wets's survey (SIAM Review 16(3), 1974) settled this question for fixed recourse (the recourse matrix W is not random) under a weak moment condition on the data. Its §4 shows that the natural definitions of the induced feasibility region agree, that the region is always closed and convex, and that it is a polyhedron, described by finitely many deterministic linear inequalities, whenever the technology matrix T is fixed. The last fact is what makes decomposition methods such as the L-shaped method of Van Slyke and Wets (1969) terminate with finitely many feasibility cuts.
Timeline: Dantzig (1955) and Beale (1955) introduce linear programs under uncertainty, under assumptions that make every x feasible (relatively complete recourse). Wets (1966) and Kall (1966) begin studying the feasibility region without that assumption; Wets (1966c) introduces the polar matrix used for the polyhedrality result. Walkup and Wets (1967) treat random W. The 1974 survey collects these results in the form formalized here.
Setting
The data are a fixed real mˉ×nˉ matrix W and a random vector ξ=(c,q,p,T) with c∈Rn, q∈Rnˉ, p∈Rmˉ and T an mˉ×n matrix. The law of ξ is a probability measure μ on the product space, and its supportΞ~ is the smallest closed set of measure one. The recourse function is
Q(x,ξ)=min{q(ξ)y∣Wy=p(ξ)−T(ξ)x,y≥0},
equal to +∞ when the program is infeasible and −∞ when it is unbounded below. The expected recourseQ(x)=Eξ{Q(x,ξ)} uses the paper's integral: the sum of the positive part ∫Q+dμ∈[0,+∞] and the negative part −∫Q−dμ∈[−∞,0], with (+∞)+(−∞)=+∞.
The weak covariance condition (Definition 2.2) asks that cj, qjpi and qjtik be integrable for all i,j,k. Write posW={Wy∣y≥0}. The candidate feasibility sets for the induced constraints are
K2μ: the x for which, with probability one, some y≥0 solves Wy=p(ξ)−T(ξ)x;
K2p: the x for which such a y exists for every ξ∈Ξ~;
K2s={x∣Q(x)<+∞};
K2=⋂ζ∈Ξ~p,TK2(ζ), where Ξ~p,T is the support of the law of (p,T) and K2(ζ)={x∣p−Tx∈posW} for ζ=(p,T).
A convex polyhedron is a set {x∣Gx≥α} given by finitely many linear inequalities; ∅ and Rn are polyhedra.
Formalization targets
Goal: Theorem 4.10
If T is fixed and ξ satisfies the weak covariance condition, then
K2={x∈Rn∣Gx≥α}for some finite system G,α,
so K2 is a closed convex polyhedron. The number of inequalities is not fixed in advance, and K2 may be empty.
Milestones
Theorem 4.1. Under weak covariance, K2μ=K2p=K2s.
Corollary 4.5. Under weak covariance, K2=K2p=K2μ=K2s.
Theorem 4.6. For every set Σ with the same closed positive hull as Ξ~p,T, K2=⋂ζ∈ΣK2(ζ).
Theorem 4.7.K2 is closed and convex; if the closed positive hull pos(Ξ~p,T) is a convex polyhedral cone, K2 is a convex polyhedron.
Significance
Theorem 4.1 and Corollary 4.5 show that three different notions of second-stage feasibility (almost sure, on the support, finite expected cost) coincide, and that feasibility depends only on the distribution of (p,T). This justifies computing the feasibility region from the support alone, which is what feasibility-cut algorithms do. Theorem 4.7 guarantees that the deterministic equivalent program is a convex program over a closed convex set, with no moment condition. Theorem 4.10 shows that with a fixed technology matrix the induced constraints are finitely many linear inequalities, even when p(ξ) has an unbounded continuous distribution, so the deterministic equivalent program has a polyhedral feasible region.
The results are classical and proved in the paper. None of them is formalized on Prove2Me for a general distribution. The platform has the finite-scenario analogue of Theorem 4.7's first part, StochasticProg.Recourse.thm5a_K2_closed_convex (Birge and Louveaux, Ch. 3, Thm 5(a)), for finitely many scenarios; it is related work, not a special case in the Lean sense, because its model differs. The mission produces a machine-checked account of the measure-theoretic part (supports, pushforwards, an extended-valued integral with a nonstandard convention) and of the polyhedral part (Minkowski–Weyl for cones).
Difficulty
Two steps resist the obvious approach. First, K2p⊆K2s needs an integrable upper bound for the positive part of Q(x,⋅) on the whole support. Q is only piecewise linear in ξ, can equal −∞, and q, p, T are not assumed integrable separately, so no single dominating function is at hand; only the products controlled by the weak covariance condition are integrable. Second, Theorem 4.10 intersects infinitely many polyhedra K2(ζ), and an infinite intersection of polyhedra is in general only closed and convex (Theorem 4.7). Showing that finitely many inequalities suffice without any assumption on the shape of the support of p is the content of the goal, and the resulting system may be inconsistent, in which case K2=∅.
Formalization scope
Vectors are Fin k → ℝ and matrices are Matrix (Fin m) (Fin n) ℝ; the paper's row vectors and suppressed transposes become Matrix.mulVec. The data space is Rn×Rnˉ×Rmˉ×Rmˉ×n with its Borel structure, and μ is a probability measure on the whole space (the paper's sample space Ξ only carries μ). Readings fixed by the formalization:
"has first moments" (Def. 2.2) is Integrable with respect to μ.
The integral is the paper's: two lower Lebesgue integrals, returning +∞ whenever the positive part diverges. Mathlib's EReal subtraction (⊤−⊤=⊥) and the Bochner integral of toReal (zero for non-integrable functions) would both make K2s wrong and are not used.
"support" is Mathlib's Measure.support; Ξ~p,T is the support of the pushforward under the (continuous, hence measurable) projection onto (p,T).
"T is fixed" means T(ξ)=T0 with probability one, a weaker hypothesis than pointwise constancy.
"convex polyhedron" is the solution set of finitely many weak linear inequalities, the number of them existentially quantified; "convex polyhedral cone" is the conic hull of finitely many vectors; "closed positive hull" is the closure of the conic hull.
Full row rank of W is the paper's standing assumption (p. 312) and is carried as a hypothesis of Theorem 4.1, Corollary 4.5 and Theorem 4.10; it is inessential for them.
Theorem 4.6 is stated as "for every Σ with the same closed positive hull as Ξ~p,T". The literal statement fails: a closed half-plane has no extreme points, so the "inverse of convex closure" would give Σ=∅ and an intersection equal to Rn.
The set on p. 314 (iii) is printed K2p.
A trivializing formalization is ruled out: a polyhedron indexed by an arbitrary type or by the support would make Theorem 4.10 a restatement of the first part of Theorem 4.7, and a Bochner-integral Q would make K2s=Rn. Neither is used.
A complete development needs Minkowski–Weyl for finitely generated cones (available in Mathlib as PointedCone.FG / DualFG), closedness of finitely generated cones, supports of pushforward measures, and simplicial covers of posW (Carathéodory). The support and integral lemmas are reusable for every result about recourse functions with general distributions; contributions of such lemmas as separate theorems are welcome.
Selected references
R. J.-B. Wets, Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program, SIAM Review 16(3):309–339, 1974. https://doi.org/10.1137/1016053
R. M. Van Slyke and R. J.-B. Wets, L-Shaped Linear Programs with Applications to Optimal Control and Stochastic Programming, SIAM J. Appl. Math. 17(4):638–663, 1969. https://doi.org/10.1137/0117061
D. W. Walkup and R. J.-B. Wets, Stochastic Programs with Recourse, SIAM J. Appl. Math. 15(5):1299–1314, 1967. https://doi.org/10.1137/0115113