Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

1094 missions

Missions

441–460 of 1094
OpenCompletedAll
🏆Completed
CombinatoricsDiscrete GeometryOperations Research+1·Captain: Shuze Chen

Discrete Convex Analysis III: Edmonds's Intersection TheoremTextbook

Motivation

Matroid intersection is one of the founding results of combinatorial optimization: given two matroids on a common ground set, the largest common independent set can be found in polynomial time, and its size equals the minimum of a natural upper bound ranging over all subsets — a min-max theorem in the spirit of König's theorem and Menger's theorem, but for a strictly richer combinatorial structure. Jack Edmonds proved this in 1970, and Jack Edmonds and Rick Giles's subsequent generalization to submodular flows, together with André Frank's discrete separation theorem for submodular and supermodular set functions (1982), placed matroid intersection inside a single unifying framework: submodular function duality. This framework explains, in one stroke, matroid intersection, the base-exchange structure of matroids, and a family of other combinatorial min-max theorems that had previously seemed unrelated.

Murota's Discrete Convex Analysis develops this framework as the theory of M-convex sets: sets of integer vectors satisfying a lattice-exchange axiom that turns out to be exactly equivalent to being the integer points of a base polyhedron of an integer-valued submodular set function. This mission formalizes the chapter's central results: the equivalence of four variant forms of the exchange axiom (Theorem 4.3), the M-convex set / submodular function correspondence (Theorem 4.15), Frank's discrete separation theorem (Theorem 4.17), and Edmonds's intersection theorem itself (Theorem 4.18) — the deepest duality result in the theory of submodular functions and the historical origin of the M-convexity concept that the rest of the book generalizes to real-valued functions.

Setting

Let VVV be a finite ground set. A set function ρ:2V→R∪{+∞}\rho : 2^V \to \mathbb R \cup \{+\infty\}ρ:2V→R∪{+∞} with ρ(∅)=0\rho(\emptyset) = 0ρ(∅)=0 and ρ(V)<+∞\rho(V) < +\inftyρ(V)<+∞ is submodular (the class S[R]S[\mathbb R]S[R]) if

ρ(X)+ρ(Y)≥ρ(X∪Y)+ρ(X∩Y)(X,Y⊆V).\rho(X) + \rho(Y) \ge \rho(X \cup Y) + \rho(X \cap Y) \qquad (X, Y \subseteq V).ρ(X)+ρ(Y)≥ρ(X∪Y)+ρ(X∩Y)(X,Y⊆V).

Its base polyhedron and submodular polyhedron are

B(ρ)={x∈RV:x(X)≤ρ(X) (∀X⊆V), x(V)=ρ(V)},P(ρ)={x∈RV:x(X)≤ρ(X) (∀X⊆V)},B(\rho) = \{x \in \mathbb R^V : x(X) \le \rho(X)\ (\forall X \subseteq V),\ x(V) = \rho(V)\}, \qquad P(\rho) = \{x \in \mathbb R^V : x(X) \le \rho(X)\ (\forall X \subseteq V)\},B(ρ)={x∈RV:x(X)≤ρ(X) (∀X⊆V), x(V)=ρ(V)},P(ρ)={x∈RV:x(X)≤ρ(X) (∀X⊆V)},

where x(X)=∑v∈Xx(v)x(X) = \sum_{v \in X} x(v)x(X)=∑v∈X​x(v); a supermodular function μ\muμ is one with −μ-\mu−μ submodular. A nonempty set B⊆ZVB \subseteq \mathbb Z^VB⊆ZV is an M-convex set if it satisfies the exchange axiom (B-EXC[Z]): for x,y∈Bx, y \in Bx,y∈B and uuu in the positive support of x−yx-yx−y, there is vvv in the negative support of x−yx-yx−y with both x−χu+χv∈Bx - \chi_u + \chi_v \in Bx−χu​+χv​∈B and y+χu−χv∈By + \chi_u - \chi_v \in By+χu​−χv​∈B, where χu\chi_uχu​ is the characteristic vector of uuu. A polyhedron P⊆RVP \subseteq \mathbb R^VP⊆RV is integral if P=conv⁡(P∩ZV)P = \operatorname{conv}(P \cap \mathbb Z^V)P=conv(P∩ZV).

Formalization targets

Goal: Theorem 4.18 (Edmonds's intersection theorem)

For submodular set functions ρ1,ρ2∈S[R]\rho_1, \rho_2 \in S[\mathbb R]ρ1​,ρ2​∈S[R],

max⁡{x(V):x∈P(ρ1)∩P(ρ2)}=min⁡{ρ1(X)+ρ2(V∖X):X⊆V},\max\{x(V) : x \in P(\rho_1) \cap P(\rho_2)\} = \min\{\rho_1(X) + \rho_2(V \setminus X) : X \subseteq V\},max{x(V):x∈P(ρ1​)∩P(ρ2​)}=min{ρ1​(X)+ρ2​(V∖X):X⊆V},

with both sides attained. If ρ1,ρ2\rho_1, \rho_2ρ1​,ρ2​ are integer valued, P(ρ1)∩P(ρ2)P(\rho_1) \cap P(\rho_2)P(ρ1​)∩P(ρ2​) is an integral polyhedron and the maximum is attained at an integer point. Dropping the integrality clause and stating only the real max-min equality would leave ordinary LP duality with no discrete content at all; this mission keeps it in the goal at every strength the book proves it.

Milestones: Theorems 4.3, 4.15, 4.17

Theorem 4.3: the exchange axiom (B-EXC[Z]) is equivalent to three variants that impose the exchange condition asymmetrically or only for distinct vectors — groundwork establishing that M-convexity does not depend on which variant is taken as primitive. Theorem 4.15: BBB is M-convex if and only if B=B(ρ)∩ZVB = B(\rho) \cap \mathbb Z^VB=B(ρ)∩ZV for some integer-valued submodular ρ\rhoρ — M-convex sets and integer-valued submodular set functions are two descriptions of the same combinatorial object. Theorem 4.17 (Frank): if a submodular ρ\rhoρ dominates a supermodular μ\muμ pointwise, a single vector x∗x^*x∗ separates them (ρ≥x∗≥μ\rho \ge x^* \ge \muρ≥x∗≥μ pointwise on every subset), integrally when ρ,μ\rho, \muρ,μ are integer valued — derived, in the book, as a direct corollary of the goal theorem.

Significance

The result itself. Edmonds's intersection theorem is the min-max theorem underlying polynomial-time matroid intersection (a matroid's rank function is submodular, so the classical matroid intersection theorem is the special case ρ1,ρ2\rho_1, \rho_2ρ1​,ρ2​ both matroid rank functions), and its generality — arbitrary submodular set functions, not just matroid ranks — is what lets Frank's discrete separation theorem, and through it a wide range of combinatorial duality results in network flows, scheduling, and matroid theory, be derived as corollaries rather than proved from scratch each time. The integrality clause specifically is the fact that makes these duality theorems combinatorial: it guarantees that optimal fractional solutions to the underlying linear program can always be taken integral, without which the connection to discrete optimization would be lost.

Formalizing it. No matching item exists on the platform (searches for "submodular set function", "base polyhedron", "matroid intersection" return no relevant hits; Mathlib's Combinatorics/Matroid/ develops matroid rank functions, a special case, but not general submodular set functions or their polyhedra). This mission gives the first formal statement of the theorem at its natural generality, together with the M-convex-set viewpoint that motivates the rest of the book, and Frank's separation theorem as an explicit worked corollary.

Difficulty

The real-valued half of Theorem 4.18 is ordinary LP duality applied to a cleverly chosen primal program (maximize ⟨p,x⟩\langle p, x\rangle⟨p,x⟩ over P(ρ1)∩P(ρ2)P(\rho_1) \cap P(\rho_2)P(ρ1​)∩P(ρ2​)) and its dual — routine once the right LP is written down. The integrality half is where the combinatorics enters: an optimal dual solution can always be chosen supported on a chain in each ρi\rho_iρi​'s effective domain (an extremal argument maximizing a strictly convex potential over the optimal dual face), and the incidence matrix of a chain of subsets is totally unimodular — this is the fact, external to ordinary LP theory, that forces an integral optimal solution to exist whenever the data (ρ1,ρ2\rho_1, \rho_2ρ1​,ρ2​) are integral. A proof that stops at real-valued LP duality, however carefully done, misses this step entirely and cannot produce the integrality clause; total unimodularity of a chain's incidence matrix is the one piece of combinatorics doing all the discrete work in an otherwise classical convex-duality argument.

Formalization scope

The ground set VVV is a Fintype with DecidableEq; subsets are Finset V, vectors are V → ℝ/V → ℤ. Submodular functions take values in WithTop ℝ (exactly R∪{+∞}\mathbb R \cup \{+\infty\}R∪{+∞}); supermodular functions in WithBot ℝ; comparisons across the two use an explicit embedding into EReal. The max/min in the goal are stated via IsGreatest/IsLeast sharing a common EReal witness, so that "both sides attained, at the same value" — not merely "sup equals inf" — is what the Lean statement asserts, which is essential since the integrality clause's whole content is about which point attains the maximum.

A trivializing formalization of the goal would drop the integrality clause (leaving unqualified LP duality) or replace IsGreatest/IsLeast with a bare supremum/infimum equality (losing the "is attained" content the second half of the theorem needs); both are avoided. Theorem 4.15 is stated as the existential "iff" (some integer submodular ρ\rhoρ realizes BBB) rather than reifying the book's own named bijection Φ,Ψ\Phi, \PsiΦ,Ψ explicitly — a deliberate, documented scope reduction of that one milestone (see MODERATION_NOTES.md), not of the goal. Contributions building the explicit Φ\PhiΦ map, the Lovász extension (needed for Theorem 4.16, not drafted here), or M-convex-set infrastructure reusable by chunks 06–07 (M-convex functions, which build on this chapter's vocabulary) are welcome.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • J. Edmonds, "Submodular functions, matroids, and certain polyhedra," in Combinatorial Structures and Their Applications, Gordon and Breach, 1970, pp. 69–87.
  • A. Frank, "An algorithm for submodular functions on graphs," Annals of Discrete Mathematics, 16, 1982, pp. 97–120.
20 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XI: Bayesian Decision Models and Finite-Horizon BanditsTextbook

Motivation

A decision maker who does not know the true parameters of the system they are controlling — the success probability of a slot machine, the drift of an asset, the failure rate of a machine — faces a genuinely different problem from one who knows them: every action taken has two effects, an immediate payoff and a change in what is known. Formalizing this "explore versus exploit" tension precisely is the subject of Bayesian sequential decision theory, whose best-known instance is the multi-armed bandit problem (Robbins, 1952; Gittins and Jones, 1974). Bäuerle and Rieder's treatment (Markov Decision Processes with Applications to Finance, Springer, 2011, Chapter 5) gives the finite-horizon Bayesian theory its cleanest general form: rather than analyzing each bandit variant from scratch, it builds one reduction — from a Markov Decision Model with an unknown parameter to an ordinary, fully observed Markov Decision Model on an enlarged "information state" — and one structural theorem that turns primitive monotonicity hypotheses on the original ingredients into monotonicity of the optimal policy in the information state. Two classical finite-horizon bandit results (Theorems 5.5.1, 5.5.2) then follow as applications, not separate proofs.

Setting

A Bayesian Model is a Markov Decision Model whose unobservable component is a single, never-changing, unknown parameter θ\thetaθ, drawn once from a prior distribution Q0Q_0Q0​ on a parameter space Θ\ThetaΘ. Concretely: an observable state space EXE_XEX​, an action space AAA, a disturbance space ZZZ with reference measure ν\nuν, a feasible set D⊆EX×AD \subseteq E_X \times AD⊆EX​×A, a deterministic transition TX:EX×A×Z→EXT^X : E_X \times A \times Z \to E_XTX:EX​×A×Z→EX​, a disturbance density qZ(x,θ,a,z)q_Z(x,\theta,a,z)qZ​(x,θ,a,z), a reward r(x,θ,a)r(x,\theta,a)r(x,θ,a), a terminal reward g(x,θ)g(x,\theta)g(x,θ), and a discount β∈(0,1]\beta \in (0,1]β∈(0,1].

Because θ\thetaθ is never observed directly, the decision maker's state of knowledge at stage nnn is the posterior μn(⋅∣h~n)\mu_n(\cdot \mid \tilde h_n)μn​(⋅∣h~n​), the conditional law of θ\thetaθ given the full observable history h~n=(x0,a0,z1,…,xn)\tilde h_n = (x_0,a_0,z_1,\dots,x_n)h~n​=(x0​,a0​,z1​,…,xn​). Bayes' rule updates this posterior one disturbance at a time; unrolling the update gives μn\mu_nμn​ an explicit closed form as a product of likelihoods against the prior (Lemma 5.4.1), and the process μn(C∣⋅)\mu_n(C\mid \cdot)μn​(C∣⋅), for any fixed event CCC, is a martingale (Lemma 5.4.2) — it is, after all, a sequence of conditional expectations of the same random variable 1θ∈C\mathbf 1_{\theta \in C}1θ∈C​ against a refining amount of information.

Often the whole posterior is not needed to act optimally: a sufficient statistic tnt_ntn​ compresses h~n\tilde h_nh~n​ into a value in some space III from which μn\mu_nμn​ can still be recovered, and it is sequential if tn+1t_{n+1}tn+1​ updates from only (xn,tn,an,zn+1)(x_n, t_n, a_n, z_{n+1})(xn​,tn​,an​,zn+1​). Given a sequential sufficient statistic, the information-based Markov Decision Model replaces the never-observed θ\thetaθ by the always-computable tnt_ntn​ as the second state coordinate, giving an ordinary Markov Decision Model on EX×IE_X \times IEX​×I whose reward, terminal reward, and transition law are the original ones averaged against the current posterior μ^(⋅∣i)\hat\mu(\cdot\mid i)μ^​(⋅∣i).

Formalization targets

Theorem 5.4.10.Given: D(⋅) increasing; qZ(⋅∣θ,a)≤lrqZ(⋅∣θ′,a) for θ≤θ′; (x,z)↦TX(x,a,z),(θ,x)↦r(θ,x,a), (θ,x)↦g(θ,x) increasing; every increasing v∈IBb+ has a maximizer in Δ.Then: IM:={v∈IBb+∣v increasing} and Δ satisfy the Structure Assumption.\textbf{Theorem 5.4.10.} \quad \begin{aligned} &\text{Given: } D(\cdot) \text{ increasing; } q_Z(\cdot\mid\theta,a) \le_{lr} q_Z(\cdot\mid\theta',a) \text{ for } \theta \le \theta'\text{; } (x,z)\mapsto T^X(x,a,z),\\ &(\theta,x)\mapsto r(\theta,x,a),\ (\theta,x)\mapsto g(\theta,x) \text{ increasing; every increasing } v \in IB_b^+ \text{ has a maximizer in } \Delta.\\ &\text{Then: } IM := \{v \in IB_b^+ \mid v \text{ increasing}\} \text{ and } \Delta \text{ satisfy the Structure Assumption.} \end{aligned}Theorem 5.4.10.​Given: D(⋅) increasing; qZ​(⋅∣θ,a)≤lr​qZ​(⋅∣θ′,a) for θ≤θ′; (x,z)↦TX(x,a,z),(θ,x)↦r(θ,x,a), (θ,x)↦g(θ,x) increasing; every increasing v∈IBb+​ has a maximizer in Δ.Then: IM:={v∈IBb+​∣v increasing} and Δ satisfy the Structure Assumption.​

This is the weakest, most reusable form of the result: it names exactly the primitive hypotheses on the original model's ingredients under which the reduced model's Bellman equation holds and its value function and an optimal policy are monotone in the information state — without fixing which bandit or estimation problem those ingredients come from. Theorems 5.5.1 and 5.5.2 are downstream applications kept as milestones, not additional goals: proving the general theorem subsumes verifying its hypotheses in each concrete case.

Significance

Every one of the classical finite-horizon two-armed-bandit results — "switch to the arm with higher posterior mean once the advantage function is nonnegative," "never abandon a winning arm," "once you commit to the known arm, never leave it" — is, in this book's organization, a one-page corollary of Theorem 5.4.10 plus a routine (if occasionally fiddly) check of its five hypotheses on a two- or four-dimensional concrete state space. The theorem is what makes the qualitative behavior of an optimal bandit policy provable in general, rather than re-derived by induction for each new bandit variant.

Formalizing it also isolates, in one place, exactly which comparison of distributions (likelihood-ratio order, not the weaker stochastic order) makes the reduction go through, and exactly which practically checkable joint-density condition (MTP2) implies it (Lemma 5.4.9) — a genuinely reusable piece of probability theory beyond Markov decision theory.

Difficulty

The obvious first idea — "the information state's order is defined via the likelihood ratio order on posteriors, so just check the transition kernel is stochastically monotone and invoke the general increasing-model theorem of Chapter 2" — hides the actual difficulty: the state space of the reduced model is EX×IE_X \times IEX​×I, and III is itself a space of posterior distributions, so "the transition kernel is monotone" is a statement about how the whole posterior moves when a new observation arrives, not a fact about EXE_XEX​ alone. The crux is showing that the sequential-sufficient-statistic update Φ^\hat\PhiΦ^ is jointly increasing in the current information state and the new disturbance — and this is exactly where Lemma 5.4.9's MTP2 characterization does the real work: MTP2 of the disturbance density in (z,θ)(z,\theta)(z,θ) is what turns "a good disturbance is more likely under a good θ\thetaθ" into "an increasing information state produces an increasing posterior update," without which the hypotheses on DDD, TXT^XTX, rrr, ggg alone would not propagate to the enlarged state space at all.

Formalization scope

The Bayesian Model, its posterior, and the information-based model are formalized as they are introduced in the book: BayesModel bundles the primitive data (disturbance density, prior, reward, discount); Posterior bundles the filter (μn)(\mu_n)(μn​) as data satisfying its defining one-step Bayes update, rather than constructed from a canonical probability space, matching how MDPFinance.POMDP.FilterData (chunk 05a) treats the general Bayes operator; the Structure Assumption, Bellman operators, and bounding-function machinery of Chapter 2 are restated specialized to the stationary form the information-based model needs. "Θ,Z⊆R\Theta, Z \subseteq \mathbb RΘ,Z⊆R" and "qZq_ZqZ​ independent of xxx" (the "Monotonicity Results" subsection's own standing simplifications) are carried as explicit hypotheses of Lemma 5.4.9 and the goal, not silently dropped. A formalization that merely assumed the reduced model's disturbance kernel monotone, rather than deriving it via Lemma 5.4.9 from the checkable hypothesis on qZq_ZqZ​, would trivialize the theorem; this one keeps hypothesis (ii) exactly as the book states it. The two bandit applications (Theorems 5.5.1, 5.5.2) are formalized as self-contained concrete finite (countable-state, finite-action) Markov Decision Models, since the book itself reduces them to explicit recursions before stating the results — no general measure-theoretic machinery is needed there. Reusable beyond this mission: the likelihood-ratio order and MTP2 definitions (LikelihoodRatioOrder, IsMTP2), applicable to any Bayesian comparison result.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • H. Robbins, "Some aspects of the sequential design of experiments," Bulletin of the American Mathematical Society, 58(5), 1952, 527-535.
  • J. C. Gittins and D. M. Jones, "A dynamic allocation index for the sequential design of experiments," in Progress in Statistics, 1974.
  • A. Müller and D. Stoyan, Comparison Methods for Stochastic Models and Risks, Wiley, 2002 (the book's own reference for the likelihood-ratio order and MTP2 functions, Appendices A.3, B.3).
21 thms2 active usersReviewed
🏆Completed
CombinatoricsConvex OptimizationDiscrete Geometry+2·Captain: Shuze Chen

Discrete Convex Analysis XIX: Discrete Separation for M-Convex SetsTextbook

Motivation

Submodular set functions are the combinatorial stand-in for convexity: a function ρ:2V→R\rho : 2^V \to \mathbb Rρ:2V→R on the subsets of a finite ground set VVV is submodular if ρ(X)+ρ(Y)≥ρ(X∪Y)+ρ(X∩Y)\rho(X) + \rho(Y) \ge \rho(X \cup Y) + \rho(X \cap Y)ρ(X)+ρ(Y)≥ρ(X∪Y)+ρ(X∩Y), and this single diminishing-returns inequality drives an enormous range of combinatorial optimization — matroid rank functions, graph cut capacities, entropy, coverage functions, and the max-flow min-cut theorem all arise as special or dual cases (Edmonds 1970; Lovász 1983; Fujishige 2005). M-convex sets are the "vector" incarnation of the same idea: subsets BBB of ZV\mathbb Z^VZV satisfying an exchange axiom that generalizes the basis-exchange property of matroids to sets of integer points lying on a common hyperplane. Murota's Discrete Convex Analysis (SIAM, 2003) develops both sides of this correspondence and proves they coincide exactly: M-convex sets are precisely the integer points of the base polyhedra of integer-valued submodular functions. This mission covers the second half of that development — the structural theory (integrality, holes, Minkowski sums) that turns the correspondence into a working calculus, and its capstone, a discrete separation theorem for two disjoint M-convex sets whose separating hyperplane is forced to have {0,1}\{0,1\}{0,1}- or {0,−1}\{0,-1\}{0,−1}-valued coefficients.

Companion mission 04-mconvex-sets (Discrete Convex Analysis III) covers the same chapter's foundational results: the equivalence of the exchange-axiom variants, the one-to-one correspondence between M-convex sets and integer submodular functions (Theorem 4.15), Edmonds's intersection theorem (Theorem 4.18), and Frank's discrete separation theorem for submodular/ supermodular pairs (Theorem 4.17). This mission builds on that vocabulary (redeclared here, since draft missions in the same series cannot yet import one another) and proves the results the chapter leaves for its second half.

Setting

Fix a finite ground set VVV. A vector x∈ZVx \in \mathbb Z^Vx∈ZV assigns an integer x(v)x(v)x(v) to each v∈Vv \in Vv∈V; write x(X)=∑v∈Xx(v)x(X) = \sum_{v \in X} x(v)x(X)=∑v∈X​x(v) for X⊆VX \subseteq VX⊆V. For x,y∈ZVx, y \in \mathbb Z^Vx,y∈ZV, the positive support supp⁡+(x−y)={v:x(v)>y(v)}\operatorname{supp}^+(x-y) = \{v : x(v) > y(v)\}supp+(x−y)={v:x(v)>y(v)} and negative support supp⁡−(x−y)={v:x(v)<y(v)}\operatorname{supp}^-(x-y) = \{v : x(v) < y(v)\}supp−(x−y)={v:x(v)<y(v)} record where xxx exceeds, and falls short of, yyy. A nonempty set B⊆ZVB \subseteq \mathbb Z^VB⊆ZV is M-convex if it satisfies the exchange axiom (B-EXC[Z]): for all x,y∈Bx, y \in Bx,y∈B and u∈supp⁡+(x−y)u \in \operatorname{supp}^+(x-y)u∈supp+(x−y), some v∈supp⁡−(x−y)v \in \operatorname{supp}^-(x-y)v∈supp−(x−y) has both x−χu+χv∈Bx - \chi_u + \chi_v \in Bx−χu​+χv​∈B and y+χu−χv∈By + \chi_u - \chi_v \in By+χu​−χv​∈B, where χu\chi_uχu​ is the characteristic vector of uuu.

A set function ρ:2V→R∪{+∞}\rho : 2^V \to \mathbb R \cup \{+\infty\}ρ:2V→R∪{+∞} with ρ(∅)=0\rho(\emptyset) = 0ρ(∅)=0 and ρ(V)<+∞\rho(V) < +\inftyρ(V)<+∞ is submodular (the class S[R]S[\mathbb R]S[R], or S[Z]S[\mathbb Z]S[Z] when integer-valued) if ρ(X)+ρ(Y)≥ρ(X∪Y)+ρ(X∩Y)\rho(X) + \rho(Y) \ge \rho(X \cup Y) + \rho(X \cap Y)ρ(X)+ρ(Y)≥ρ(X∪Y)+ρ(X∩Y) for all X,YX, YX,Y. Its base polyhedron is B(ρ)={x∈RV:x(X)≤ρ(X) (∀X), x(V)=ρ(V)}B(\rho) = \{x \in \mathbb R^V : x(X) \le \rho(X)\ (\forall X),\ x(V) = \rho(V)\}B(ρ)={x∈RV:x(X)≤ρ(X) (∀X), x(V)=ρ(V)}. The Lovász extension ρ^:RV→R∪{±∞}\hat\rho : \mathbb R^V \to \mathbb R \cup \{\pm\infty\}ρ^​:RV→R∪{±∞} linearly interpolates ρ\rhoρ off {0,1}V\{0,1\}^V{0,1}V: sorting the distinct values of p∈RVp \in \mathbb R^Vp∈RV as p^1>⋯>p^m\hat p_1 > \cdots > \hat p_mp^​1​>⋯>p^​m​ and setting Ui={v:p(v)≥p^i}U_i = \{v : p(v) \ge \hat p_i\}Ui​={v:p(v)≥p^​i​}, it is ρ^(p)=∑i=1m−1(p^i−p^i+1)ρ(Ui)+p^mρ(Um)\hat\rho(p) = \sum_{i=1}^{m-1}(\hat p_i - \hat p_{i+1})\rho(U_i) + \hat p_m \rho(U_m)ρ^​(p)=∑i=1m−1​(p^​i​−p^​i+1​)ρ(Ui​)+p^​m​ρ(Um​).

Formalization targets

Goal: discrete separation for M-convex sets

B1∩B2=∅  ⟹  ∃ p∗∈{0,1}V∪{0,−1}V,inf⁡x∈B1⟨p∗,x⟩−sup⁡x∈B2⟨p∗,x⟩≥1,B_1 \cap B_2 = \emptyset \implies \exists\, p^* \in \{0,1\}^V \cup \{0,-1\}^V,\quad \inf_{x \in B_1}\langle p^*, x\rangle - \sup_{x \in B_2}\langle p^*, x\rangle \ge 1,B1​∩B2​=∅⟹∃p∗∈{0,1}V∪{0,−1}V,x∈B1​inf​⟨p∗,x⟩−x∈B2​sup​⟨p∗,x⟩≥1,

for M-convex sets B1,B2⊆ZVB_1, B_2 \subseteq \mathbb Z^VB1​,B2​⊆ZV (Theorem 4.21). This is the weakest stable form of the result — it asserts only the existence of a combinatorially special separator, not any bound tied to ∣V∣|V|∣V∣ or a particular construction, so it is not invalidated by a sharper algorithm for finding p∗p^*p∗.

Supporting structural targets

Eleven further results build the calculus this goal rests on: the hyperplane property of M-convex sets (Prop. 4.1), an equivalent one-sided exchange axiom (Prop. 4.2), nonemptiness and the support-function identity for B(ρ)B(\rho)B(ρ) (Props. 4.4-4.5), integrality of B(ρ)B(\rho)B(ρ) for integer-valued ρ\rhoρ (Prop. 4.6), the hole-free property identifying an M-convex set with the integer points of its own convex hull (Thm. 4.12), the two-way polyhedral description of M-convex sets via induced submodular functions (Props. 4.13-4.14), the equivalence of submodularity with convexity of the Lovász extension (Thm. 4.16, due to Lovász), integrality of the intersection of M-convex sets (Thm. 4.22), and Minkowski-sum identities for base polyhedra and M-convex sets (Thm. 4.23).

Significance

The discrete separation theorem is what makes M-convexity discrete rather than merely a polyhedral fact: ordinary separation of two disjoint convex sets by a hyperplane is classical, but here the separator is forced into {0,1}V∪{0,−1}V\{0,1\}^V \cup \{0,-1\}^V{0,1}V∪{0,−1}V — a purely combinatorial object — with no loss of strength. This is the mechanism behind integrality results across combinatorial optimization (e.g., that the intersection of two integral base polyhedra is integral, Theorem 4.22, used pervasively in matroid intersection and submodular flow algorithms). The structural results (holes, Minkowski sums, the Lovász-extension convexity equivalence) are the working toolkit every later use of M-convexity in the book — proximity theorems for M-convex functions (chunks 06+), the discrete conjugacy theorem, submodular flows — draws on without restating.

None of these results are open: Murota attributes the exchange-axiom theory to the matroid and submodular-function literature it systematizes, citing Edmonds, Frank, and Lovász by name for the specific theorems. What this mission produces is a machine-checked formal statement of each result exactly as the book states it, in a shared Lean vocabulary (ExchangeAxiomB, BasePolyhedron, LovaszExtension) that the rest of the Discrete Convex Analysis series builds on; no result here has a prior formalization on the platform (see Formalization scope).

Difficulty

The separation theorem is not proved by convex separation directly — the whole point is that the naive proof (apply the ordinary hyperplane separation theorem to the convex hulls of B1,B2B_1, B_2B1​,B2​, then argue the separator can be taken {0,1}\{0,1\}{0,1}-valued) does not go through, because convex separation alone gives no control over the separator's coefficients. The book instead derives it from Edmonds's intersection theorem (Theorem 4.18, chunk 04-mconvex-sets) applied to a submodular/supermodular pair built from B1,B2B_1, B_2B1​,B2​'s associated set functions (Theorem 4.15), routed through Frank's discrete separation theorem (Theorem 4.17) — a genuine two-step reduction, not a direct argument. A second, independent difficulty sits in the supporting results: the hole-free property (Theorem 4.12) requires an explicit induction reducing an arbitrary convex combination representing an integer point to a single element of BBB, a combinatorial exchange argument with no shortcut through general polyhedral theory.

Formalization scope

Ground-set elements are a Fintype V with DecidableEq; M-convex sets are Set (V → ℤ); submodular/supermodular functions are Finset V → WithTop ℝ / WithBot ℝ; base polyhedra are Set (V → ℝ). The Lovász extension is formalized directly from the book's own sorted-values construction (SortedValues, LevelSet, Eq. (4.4)-(4.6)), not via an equivalent closed form. Since WithTop ℝ carries no Module ℝ structure, convexity for Theorem 4.16 is stated via a bespoke nonnegative-scalar action (ScalarWithTop) rather than Mathlib's ConvexOn — this changes no mathematical content, only its packaging (see MODERATION_NOTES.md). No numeric constants are hard-coded anywhere in this mission (rule 7 is vacuous). The goal's hypothesis (ExchangeAxiomB plus Nonempty on each BiB_iBi​) is exactly the book's own definition of M-convexity — no weaker substitute (e.g. requiring a specific ρ\rhoρ witness in the hypothesis rather than deriving one, or dropping the {0,1}/{0,−1}\{0,1\}/\{0,-1\}{0,1}/{0,−1} constraint on p∗p^*p∗ in favor of a generic separator) would be faithful, and both trivializations are ruled out by construction. This mission's definitions (ExchangeAxiomB, BasePolyhedron, SubmodularSetFunction, LovaszExtension) are redeclared from chunk 04-mconvex-sets rather than imported, since sibling drafts in this series cannot yet reference one another; a later, published version of this book's namespace should consolidate them. Contributions completing any of the twelve sorrys are welcome; the hole-free property (Theorem 4.12) and the goal are the two with the most independent proof content.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • J. Edmonds, "Submodular functions, matroids, and certain polyhedra," in Combinatorial Structures and Their Applications, 1970, pp. 69-87.
  • A. Frank, "An algorithm for submodular functions on graphs," Annals of Discrete Mathematics, 16 (1982), pp. 97-120.
  • L. Lovász, "Submodular functions and convexity," in Mathematical Programming: The State of the Art, Springer, 1983, pp. 235-257.
29 thms3 active usersReviewed
Algorithmic Game TheoryConvex OptimizationOperations Research+1·Captain: mikedeng1

Existence of an Equilibrium for a Competitive Economy II: Equilibrium Exists When Every Consumer Can Supply Productive LaborResearch Paper

Motivation

A competitive equilibrium is a list of production plans, consumption plans and prices at which every firm maximizes profit, every consumer maximizes utility within the budget, and no market has excess demand. Whether such prices exist at all is the consistency question behind general equilibrium theory, the welfare theorems, and applied equilibrium models used in policy analysis. Arrow and Debreu gave the first proof of existence for a model with production, private ownership and general convex preferences (Econometrica 22, 1954), using Debreu's existence theorem for abstract economies (PNAS 38, 1952).

Their Theorem I assumes that every consumer initially holds a positive amount of every commodity (Assumption IV.a). The authors call this "clearly unrealistic" (p. 280): a household does not hold every good, and most households own little beyond their labor. Theorem II, the subject of this mission, removes that assumption. It only asks that every consumer be able to supply some type of labor that is always productive of a commodity everyone desires. This is the version of the existence theorem that allows a wage-earner economy.

Timeline. Wald (1935–36) proved existence for special production models. Nash (1950) proved existence of equilibrium points for finite games, and Debreu (1952) extended it to abstract economies, in which each player's feasible set depends on the others' choices. Arrow and Debreu (1954) proved Theorems I and II. McKenzie's independent existence proof was published the same year (Econometrica 22, 1954).

Setting

There are lll commodities, nnn producers and mmm consumers; vectors live in Rl\mathbb R^lRl and x≦yx\leqq yx≦y is componentwise. Producer jjj has a production set YjY_jYj​. Consumer iii has a consumption set XiX_iXi​, a utility uiu_iui​ on XiX_iXi​, an endowment ζi\zeta_iζi​ and profit shares αij\alpha_{ij}αij​. Write Y=∑jYjY=\sum_jY_jY=∑j​Yj​, X=∑iXiX=\sum_iX_iX=∑i​Xi​, ζ=∑iζi\zeta=\sum_i\zeta_iζ=∑i​ζi​, and let P={p≧0, ∑hph=1}P=\{p\geqq0,\ \sum_hp_h=1\}P={p≧0, ∑h​ph​=1} be the price simplex. A competitive equilibrium (x1∗,…,xm∗,y1∗,…,yn∗,p∗)(x_1^*,\dots,x_m^*,y_1^*,\dots,y_n^*,p^*)(x1∗​,…,xm∗​,y1∗​,…,yn∗​,p∗) satisfies four conditions. Each yj∗y_j^*yj∗​ maximizes p∗⋅yjp^*\cdot y_jp∗⋅yj​ on YjY_jYj​. Each xi∗x_i^*xi∗​ maximizes uiu_iui​ on {xi∈Xi:p∗⋅xi≤p∗⋅ζi+∑jαijp∗⋅yj∗}\{x_i\in X_i: p^*\cdot x_i\le p^*\cdot\zeta_i+\sum_j\alpha_{ij}p^*\cdot y_j^*\}{xi​∈Xi​:p∗⋅xi​≤p∗⋅ζi​+∑j​αij​p∗⋅yj∗​}. The price vector satisfies p∗∈Pp^*\in Pp∗∈P. Finally z∗=∑xi∗−∑yj∗−ζ≦0z^*=\sum x_i^*-\sum y_j^*-\zeta\leqq0z∗=∑xi∗​−∑yj∗​−ζ≦0 and p∗⋅z∗=0p^*\cdot z^*=0p∗⋅z∗=0.

The assumptions of Theorem II are as follows. I: production sets are closed, convex and contain 000; Y∩Ω={0}Y\cap\Omega=\{0\}Y∩Ω={0} (no output without input); Y∩(−Y)={0}Y\cap(-Y)=\{0\}Y∩(−Y)={0} (no reversible production). II: each XiX_iXi​ is closed, convex and bounded below. III: uiu_iui​ is continuous, has no satiation point, and satisfies ui(tx+(1−t)x′)>ui(x′)u_i(tx+(1-t)x')>u_i(x')ui​(tx+(1−t)x′)>ui​(x′) whenever ui(x)>ui(x′)u_i(x)>u_i(x')ui​(x)>ui​(x′) and 0<t<10<t<10<t<1. IV.b: shares are nonnegative and sum to one for each firm. Two sets of commodities are defined from the data. The set D\mathcal DD contains the commodities always desired by every consumer: from any xi∈Xix_i\in X_ixi​∈Xi​, adding some positive amount of the commodity stays in XiX_iXi​ and raises uiu_iui​. The set P\mathcal PP contains the types of productive labor: for every y∈Yy\in Yy∈Y, (a) yh≤0y_h\le0yh​≤0, and (b) some y′∈Yy'\in Yy′∈Y satisfies yh′′≥yh′y'_{h'}\ge y_{h'}yh′′​≥yh′​ for all h′≠hh'\ne hh′=h and yh′′′>yh′′y'_{h''}>y_{h''}yh′′′​>yh′′​ for some h′′∈Dh''\in\mathcal Dh′′∈D. The remaining assumptions are:

  • IV′.a: each consumer has some xi∈Xix_i\in X_ixi​∈Xi​ with xi≦ζix_i\leqq\zeta_ixi​≦ζi​ and xhi<ζhix_{hi}<\zeta_{hi}xhi​<ζhi​ for some h∈Ph\in\mathcal Ph∈P;
  • V: some x∈Xx\in Xx∈X and y∈Yy\in Yy∈Y satisfy xh<yh+ζhx_h<y_h+\zeta_hxh​<yh​+ζh​ for every hhh;
  • VI: D≠∅\mathcal D\ne\emptysetD=∅;
  • VII: P≠∅\mathcal P\ne\emptysetP=∅.

Formalization targets

Goal: Theorem II (§4.5, p. 281)

Assumptions I–III, IV′, V–VII ⟹ ∃ (x∗,y∗,p∗) satisfying Conditions 1–4.\text{Assumptions I–III, IV}',\ \text{V–VII}\ \Longrightarrow\ \exists\,(x^*,y^*,p^*)\ \text{satisfying Conditions 1–4.}Assumptions I–III, IV′, V–VII ⟹ ∃(x∗,y∗,p∗) satisfying Conditions 1–4.

Milestones (§5, pp. 282–287)

They follow the paper's proof. Let π=∣P∣\pi=|\mathcal P|π=∣P∣ and Pε={p∈P:ph≥ε ∀h∈P}P^\varepsilon=\{p\in P: p_h\ge\varepsilon\ \forall h\in\mathcal P\}Pε={p∈P:ph​≥ε ∀h∈P} for 0<ε≤1/(2π)0<\varepsilon\le1/(2\pi)0<ε≤1/(2π). Let EεE^\varepsilonEε be the abstract economy in which consumers maximize utility under budget constraints, producers maximize profit, and a market participant chooses p∈Pεp\in P^\varepsilonp∈Pε to maximize p⋅zp\cdot zp⋅z. The milestones are:

  1. §5.0 (1). On PεP^\varepsilonPε every consumer can spend strictly less than p⋅ζip\cdot\zeta_ip⋅ζi​.
  2. §5.1.1 (5). Equilibrium points of EεE^\varepsilonEε satisfy x∗−y∗≦ζ′x^*-y^*\leqq\zeta'x∗−y∗≦ζ′ for a vector ζ′\zeta'ζ′ independent of ε\varepsilonε.
  3. §5.2.0. The attainable sets relative to ζ′\zeta'ζ′ are bounded.
  4. §5.2.1. The truncated economy E~ε\tilde E^\varepsilonE~ε has an equilibrium point.
  5. §5.2.2 (3)–(5). An equilibrium point of E~ε\tilde E^\varepsilonE~ε is one of EεE^\varepsilonEε.
  6. §5.3.0 (2). If ph∗>εp^*_h>\varepsilonph∗​>ε for all h∈Ph\in\mathcal Ph∈P, the point is a competitive equilibrium.
  7. §5.3.2 (1). Limits of equilibrium points as ε→0\varepsilon\to0ε→0 are quasi-equilibria for consumers.
  8. §5.3.4 (3). If the floors bind, some desired commodity has limit price 000.
  9. §5.3.4 (6). If the floors bind, limit consumption minimizes expenditure over XiX_iXi​.
  10. §5.3.5. For some ε\varepsilonε the floor does not bind.

Significance

Theorem II is the existence theorem for a competitive economy in which consumers may own nothing but their labor. It shows that the survival assumption IV.a can be traded for conditions on labor, desirability and the possibility of an overall excess supply. Section 5.3.3 of the paper also isolates the quasi-equilibrium, in which utility maximization under the budget is replaced by cost minimization at a given utility level. That notion is used in later existence and welfare arguments.

The theorem has been proved since 1954; this mission does not reopen it. The work here is the machine-checked proof. The companion mission on Theorem I formalizes the shared model and Debreu's lemma. As of September 2026 neither theorem has a Lean formalization on the platform, and Mathlib contains no general equilibrium theory.

Difficulty

The obvious approach reuses the proof of Theorem I: build the abstract economy of consumers, producers and a price-choosing participant, and apply Debreu's lemma. That fails at the boundary of the price simplex. Without IV.a, a consumer's cheapest point in XiX_iXi​ can cost as much as the endowment at some prices, so the budget correspondence is not continuous there and the lemma does not apply. The paper therefore keeps prices of productive labor at least ε\varepsilonε and must then show that the floor does not bind for some ε\varepsilonε. That is a limit argument as ε→0\varepsilon\to0ε→0 which uses Assumptions V, VI and VII together, and each of the milestones 7–9 is a step of it. Debreu's lemma itself needs a Kakutani-type fixed point theorem for correspondences, which Mathlib does not provide.

Formalization scope

Commodity vectors are Fin l → ℝ. Consumers are indexed by Fin m and producers by Fin n. The inner product is ⬝ᵥ. The paper's x<yx<yx<y is strict in every component and is written componentwise, never as Lean's < on functions. D\mathcal DD and P\mathcal PP are computed from the economy, not supplied as parameters. Utilities are total functions, but every assumption on uiu_iui​ quantifies over XiX_iXi​ only. "Maximizes" is membership plus an inequality against every feasible alternative; no supremum is used. EEE, EεE^\varepsilonEε and E~ε\tilde E^\varepsilonE~ε are built by one constructor over the players Fin m ⊕ Fin n ⊕ Unit. The vector ζ′\zeta'ζ′ takes the lower bounds ξi\xi_iξi​ of Assumption II as an explicit argument. The milestones of §5.3 are stated for the limit of a sequence of equilibrium points, which is how the paper constructs them. Assumption V is dropped from every milestone except §5.3.5 and the goal. With V, the case assumption of §5.3.1 is contradictory and those milestones would hold vacuously.

A trivializing formalization is ruled out as follows. The assumptions are satisfiable with IV.a failing: a sorry-free check covers two goods, one consumer who owns nothing and can only supply labor, and one firm turning labor into the desired good. The goal therefore does not hold vacuously.

Needed infrastructure includes a Kakutani fixed point theorem or Debreu's lemma, compactness of truncated action sets, and sequential compactness arguments in Rl\mathbb R^lRl. AGT.brouwer_fixed_point is on the platform and can serve as a starting point. The lemma is reusable well beyond this mission. Contributions to any milestone, to the lemma, or to the boundedness results shared with Theorem I are welcome.

Selected references

  • K. J. Arrow and G. Debreu, Existence of an Equilibrium for a Competitive Economy, Econometrica 22(3), 265–290, 1954. https://doi.org/10.2307/1907353
  • G. Debreu, A Social Equilibrium Existence Theorem, Proceedings of the National Academy of Sciences 38(10), 886–893, 1952. https://doi.org/10.1073/pnas.38.10.886
  • L. W. McKenzie, On Equilibrium in Graham's Model of World Trade and Other Competitive Systems, Econometrica 22(2), 147–161, 1954. https://doi.org/10.2307/1907352
  • J. F. Nash, Equilibrium Points in n-Person Games, Proceedings of the National Academy of Sciences 36(1), 48–49, 1950. https://doi.org/10.1073/pnas.36.1.48
16 thms2 active usersReviewed
🏆Completed
CombinatoricsComplexity TheoryGraph Theory+2·Captain: mikedeng1

Scheduling Subject to Resource Constraints: Classification and Complexity II: Unit-Time Jobs on Two Uniform Machines with Unit Resources Are Strongly NP-hardResearch Paper

Motivation

Machine scheduling asks how to assign jobs to machines over time. In many applications a job also needs additional scarce resources while it runs: a tool, a skilled operator, a memory bank, a channel. Adding such resources can turn a problem with a polynomial algorithm into an NP-hard one. Błażewicz, Lenstra and Rinnooy Kan (DAM 1983) extended the standard three-field classification α ∣ β ∣ γ\alpha\,|\,\beta\,|\,\gammaα∣β∣γ of scheduling problems (Graham, Lawler, Lenstra and Rinnooy Kan 1979) with a resource field resλσρres\lambda\sigma\rhoresλσρ. They then drew the complete borderline between easy and hard problems for unit-time jobs, identical or uniform machines and the makespan criterion. Their Fig. 2 marks each problem type as polynomially solvable or NP-hard.

This mission formalizes the two hardness results of that classification that come from graph partition problems (Theorems 2 and 3, p. 15). Two identical machines are easy under any resource constraints (Theorem 1, after Garey and Johnson 1975). Theorems 2 and 3 show that a third identical machine, or two machines of different speeds, already makes the problem strongly NP-hard, once the number of unit resources is part of the input.

Setting

There are nnn jobs J1,…,JnJ_1,\dots,J_nJ1​,…,Jn​ and mmm machines M1,…,MmM_1,\dots,M_mM1​,…,Mm​. Each machine processes at most one job at a time, and each job runs on one machine without interruption. Machine MiM_iMi​ has a speed qi>0q_i>0qi​>0, and every job has unit execution requirement pj=1p_j=1pj​=1, so it takes time 1/qi1/q_i1/qi​ on MiM_iMi​. Identical machines (PPP) are the case qi=1q_i=1qi​=1; uniform machines (QQQ) allow arbitrary speeds.

There are lll resources R1,…,RlR_1,\dots,R_lR1​,…,Rl​. Resource RhR_hRh​ has a positive integer size shs_hsh​, the amount available at any time. Job JjJ_jJj​ needs a nonnegative integer amount rhjr_{hj}rhj​ of RhR_hRh​ throughout its execution. A schedule assigns each job a machine μ(j)\mu(j)μ(j) and a start time Sj≥0S_j\ge 0Sj​≥0. Its completion time is Cj=Sj+1/qμ(j)C_j=S_j+1/q_{\mu(j)}Cj​=Sj​+1/qμ(j)​, and it is being executed at every time ttt with Sj≤t<CjS_j\le t<C_jSj​≤t<Cj​. A schedule is feasible when:

  • jobs on the same machine do not overlap in time;
  • at every time ttt, the set StS_tSt​ of jobs being executed satisfies
∑j∈Strhj≤sh(h=1,…,l).\sum_{j\in S_t} r_{hj}\le s_h\qquad(h=1,\dots,l).j∈St​∑​rhj​≤sh​(h=1,…,l).

The makespan is Cmax⁡=max⁡jCjC_{\max}=\max_j C_jCmax​=maxj​Cj​.

The resource type res⋅11res{\cdot}11res⋅11 means three things: the number lll of resources is part of the input, every size is sh=1s_h=1sh​=1, and every requirement satisfies rhj≤1r_{hj}\le1rhj​≤1. A unit resource is therefore a conflict: two jobs that both need it can never run at the same time. The problems here have no precedence constraints. Pm ∣ res⋅11, pj=1 ∣ Cmax⁡Pm\,|\,res{\cdot}11,\,p_j=1\,|\,C_{\max}Pm∣res⋅11,pj​=1∣Cmax​ and Qm ∣ res⋅11, pj=1 ∣ Cmax⁡Qm\,|\,res{\cdot}11,\,p_j=1\,|\,C_{\max}Qm∣res⋅11,pj​=1∣Cmax​ ask for a feasible schedule of minimum makespan. Their decision versions ask, for a threshold yyy, whether a feasible schedule with Cmax⁡≤yC_{\max}\le yCmax​≤y exists.

The source problems are two graph problems on a graph G=(V,E)G=(V,E)G=(V,E) with ∣V∣=3t|V|=3t∣V∣=3t:

  • PARTITION INTO TRIANGLES: can VVV be partitioned into ttt triples of pairwise adjacent vertices?
  • PARTITION INTO PATHS OF LENGTH 2: can VVV be partitioned into ttt triples, each with at most one nonadjacent pair, that is, each spanning a path of length 2?

Both are NP-complete (Garey and Johnson 1979, problems GT11 and GT13).

The construction of p. 15 introduces one job per vertex and one unit resource R{j,k}R_{\{j,k\}}R{j,k}​ per nonadjacent pair {j,k}\{j,k\}{j,k}, required by JjJ_jJj​ and JkJ_kJk​ only.

Formalization targets

Goal: Theorem 3

Q2 ∣ res⋅11, pj=1 ∣ Cmax⁡ is NP-hard in the strong sense.Q2\,|\,res{\cdot}11,\,p_j=1\,|\,C_{\max}\ \text{is NP-hard in the strong sense.}Q2∣res⋅11,pj​=1∣Cmax​ is NP-hard in the strong sense.

Formally: if the language of PARTITION INTO PATHS OF LENGTH 2 is NP-hard, then the language of unary codes of yes-instances of the decision version of Q2 ∣ res⋅11, pj=1 ∣ Cmax⁡Q2\,|\,res{\cdot}11,\,p_j=1\,|\,C_{\max}Q2∣res⋅11,pj​=1∣Cmax​ is NP-hard. The two speeds are arbitrary positive integers.

Milestones

  1. The construction's key property (p. 15). In the constructed instance, two distinct jobs can be executed simultaneously if and only if their vertices are adjacent.
  2. The triangle equivalence (proof of Theorem 2). GGG has a partition into triangles if and only if the constructed instance on three identical machines has a feasible schedule with Cmax⁡≤tC_{\max}\le tCmax​≤t.
  3. Theorem 2. P3 ∣ res⋅11, pj=1 ∣ Cmax⁡P3\,|\,res{\cdot}11,\,p_j=1\,|\,C_{\max}P3∣res⋅11,pj​=1∣Cmax​ is NP-hard in the strong sense, given the NP-hardness of PARTITION INTO TRIANGLES.
  4. The paths equivalence (proof of Theorem 3). GGG has a partition into paths of length 2 if and only if the constructed instance on two uniform machines with speeds q1=2q_1=2q1​=2, q2=1q_2=1q2​=1 has a feasible schedule with Cmax⁡≤tC_{\max}\le tCmax​≤t.

Significance

The results. Theorems 2 and 3 are two of the minimal NP-hard problems in the paper's classification. Together with Theorem 1 they place the borderline exactly: with unit resources whose number is part of the input, two identical machines are polynomial, while three identical machines, or two machines of different speeds, are strongly NP-hard. Strong NP-hardness rules out pseudo-polynomial algorithms unless P = NP, and it carries over to every more general resource type and machine environment in Fig. 1 and Fig. 2. Section 4.1 of the paper also derives hardness for ∑Cj\sum C_j∑Cj​ and Lmax⁡L_{\max}Lmax​ from these instances.

Formalizing it. The results are classical and proved on paper, but the paper's proofs are one sentence each ("Clearly", "It is easily seen"). No machine-checked proof exists, and the platform has no model of resource-constrained scheduling with real-valued time. This mission produces that model. It also produces a precise statement of strong NP-hardness on top of Cook's Turing-machine definitions, and the first formal NP-hardness reductions from graph partition problems to scheduling.

Difficulty

The scheduling half of each equivalence depends on the real-time model. On two uniform machines of speeds 2 and 1, jobs take time 12\tfrac1221​ and 111, so jobs on the fast machine start at half-integers or anywhere else. The resource constraint must hold at every real time, not at a finite set of checkpoints. An argument that treats time as integer slots applies to the triangle case but does not transfer to the paths case.

The complexity half needs polynomial-time computability of the construction on Cook's one-tape Turing machines, on encoded strings that include malformed inputs. It also needs closure of polynomial-time reductions under composition, which the imported complexity layer states but does not prove.

Formalization scope

  • Time and schedules. Start times are nonnegative reals, execution intervals are half-open [Sj,Cj)[S_j,C_j)[Sj​,Cj​), and the resource constraints are imposed at every real time. Schedules are nonpreemptive.
  • Indices. Jobs, machines and resources are 0-based (Fin n, Fin m, Fin l), so q1,q2q_1,q_2q1​,q2​ are q 0, q 1.
  • Decision versions. "NP-hard" refers to the decision version with a threshold yyy. Thresholds are natural numbers and the Q2Q2Q2 speeds are positive integers. This restricted problem is a subproblem of the one with rational data, so its hardness is the stronger statement.
  • Encodings and strong NP-hardness. Instances are strings over a two-letter alphabet with every number in unary. Graphs are ttt in unary followed by the 3t×3t3t\times 3t3t×3t adjacency matrix, so ∣V∣=3t|V|=3t∣V∣=3t is part of the instance. Languages contain only codes of yes-instances. Strong NP-hardness is NP-hardness of the unary code language. With unary numbers, Max(I)≤Length(I)\mathrm{Max}(I)\le\mathrm{Length}(I)Max(I)≤Length(I), so this is equivalent to Garey and Johnson's definition. The complexity layer is the published module CookPvsNP_defs.
  • Cited hypothesis. Each hardness theorem takes as its only hypothesis the NP-hardness of its source problem, which the paper cites from Garey and Johnson rather than proves. The hypothesis is a true statement about a nonempty, non-universal language. The statements are not weakened to a reduction between languages, and they assume nothing about P versus NP.
  • Source problems. The paper's phrase "three vertices, at most two of which are nonadjacent" is read as "at most one nonadjacent pair", which is Garey and Johnson's GT13. Reading it as "at most two nonadjacent pairs" would admit triples with a single edge and change the problem. PARTITION INTO PATHS OF LENGTH 2 reuses the published definition CubicP3Partition.P3Factor, a spanning non-induced P3P_3P3​-factor.
  • Construction. Resources are indexed by the nonadjacent pairs j<kj<kj<k in lexicographic order, one per unordered pair and none for a pair {j,j}\{j,j\}{j,j}. A diagonal resource would make every job infeasible.
  • Not trivial. A model that checks resources only at integer times, or only at start times, would make the paths equivalence false. A hypothesis on the target problem would make the goal circular. The definitions rule out both.

Welcome contributions: proofs of the two equivalences, polynomial-time computability of the construction on Cook's machines, and a general composition lemma for polynomial-time reductions. The composition lemma is reusable for every hardness mission built on CookPvsNP_defs.

Selected references

  • J. Błażewicz, J. K. Lenstra, A. H. G. Rinnooy Kan, Scheduling subject to resource constraints: classification and complexity, Discrete Applied Mathematics 5 (1983) 11–24. https://doi.org/10.1016/0166-218X(83)90012-4
  • M. R. Garey, D. S. Johnson, Complexity results for multiprocessor scheduling under resource constraints, SIAM Journal on Computing 4 (1975) 397–411. https://doi.org/10.1137/0204035
  • M. R. Garey, D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, Freeman, San Francisco, 1979, ISBN 0-7167-1045-5.
  • R. L. Graham, E. L. Lawler, J. K. Lenstra, A. H. G. Rinnooy Kan, Optimization and approximation in deterministic sequencing and scheduling: a survey, Annals of Discrete Mathematics 5 (1979) 287–326. https://doi.org/10.1016/S0167-5060(08)70356-X
  • S. Cook, The P versus NP problem, Clay Mathematics Institute Millennium Problems. https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf
41 thms7 active usersReviewed
🏆Completed
CombinatoricsDiscrete GeometryOperations Research+1·Captain: Shuze Chen

Discrete Convex Analysis IV: Discrete Separation for L-Convex SetsTextbook

Motivation

The classical separating hyperplane theorem says that any two disjoint convex sets in Rn\mathbb R^nRn can be separated by a hyperplane with an arbitrary real normal vector. When the sets in question are not arbitrary convex sets but the integer points of specially structured discrete sets, one can sometimes ask for much more: not merely that a separator exists, but that it can be chosen from a small, structured, dimension-independent family regardless of the size or shape of the sets being separated. Results of this kind — "discrete separation theorems" — are a recurring and often surprising theme in combinatorial optimization, playing the role that the ordinary separation theorem plays in continuous convex analysis, but with genuinely combinatorial content beyond it.

L-convex sets, introduced by Murota as part of the discrete convex analysis framework, are one of the two dual families of well-behaved discrete convex sets studied in the book (the other being M-convex sets, chunk 04 of this series). They are defined by a lattice-closure axiom together with translation invariance, and they correspond one-to-one to integer-valued distance functions satisfying the triangle inequality — objects long familiar from network flow theory and shortest-path duality, even though the L-convexity terminology is not traditionally used there. This mission formalizes the chapter's central results, culminating in Theorem 5.9: two disjoint L-convex sets can always be separated by a vector with entries in {−1,0,1}\{-1, 0, 1\}{−1,0,1}, no matter how large or complicated the sets are.

Setting

Let VVV be a finite ground set. A nonempty set D⊆ZVD \subseteq \mathbb Z^VD⊆ZV is an L-convex set if it satisfies the sublattice axiom (SBS[Z]) — p,q∈D  ⟹  p∨q, p∧q∈Dp, q \in D \implies p \vee q,\ p \wedge q \in Dp,q∈D⟹p∨q, p∧q∈D, where ∨,∧\vee, \wedge∨,∧ are componentwise maximum and minimum — and the translation axiom (TRS[Z]) — p∈D  ⟹  p±1∈Dp \in D \implies p \pm \mathbf 1 \in Dp∈D⟹p±1∈D, where 1\mathbf 11 is the all-ones vector. A distance function γ:V×V→R∪{+∞}\gamma : V \times V \to \mathbb R \cup \{+\infty\}γ:V×V→R∪{+∞} satisfies γ(v,v)=0\gamma(v,v) = 0γ(v,v)=0 for every vvv; it satisfies the triangle inequality if γ(v1,v2)+γ(v2,v3)≥γ(v1,v3)\gamma(v_1,v_2) + \gamma(v_2,v_3) \ge \gamma(v_1,v_3)γ(v1​,v2​)+γ(v2​,v3​)≥γ(v1​,v3​) for all v1,v2,v3v_1, v_2, v_3v1​,v2​,v3​. The admissible-potential polyhedron of γ\gammaγ is

D(γ)={p∈RV:p(v)−p(u)≤γ(u,v) (∀u≠v)}.D(\gamma) = \{p \in \mathbb R^V : p(v) - p(u) \le \gamma(u,v)\ (\forall u \ne v)\}.D(γ)={p∈RV:p(v)−p(u)≤γ(u,v) (∀u=v)}.

The convex hull of a discrete set D⊆ZVD \subseteq \mathbb Z^VD⊆ZV is written Dˉ⊆RV\bar D \subseteq \mathbb R^VDˉ⊆RV.

Formalization targets

Goal: Theorem 5.9 (discrete separation for L-convex sets)

If D1,D2⊆ZVD_1, D_2 \subseteq \mathbb Z^VD1​,D2​⊆ZV are disjoint L-convex sets, there exists x∗∈{−1,0,1}Vx^* \in \{-1,0,1\}^Vx∗∈{−1,0,1}V such that

inf⁡{⟨p,x∗⟩:p∈D1}−sup⁡{⟨p,x∗⟩:p∈D2}≥1.\inf\{\langle p, x^*\rangle : p \in D_1\} - \sup\{\langle p, x^*\rangle : p \in D_2\} \ge 1.inf{⟨p,x∗⟩:p∈D1​}−sup{⟨p,x∗⟩:p∈D2​}≥1.

Dropping the {−1,0,1}V\{-1,0,1\}^V{−1,0,1}V restriction and allowing an arbitrary real separator would recover the classical separation theorem for convex sets, which holds regardless of L-convexity and carries no discrete-convexity content; the three-valued restriction is the weakest correct strengthening and is kept in full.

Milestones: Theorems 5.2, 5.5, 5.7

Theorem 5.2: an L-convex set is hole free (D=Dˉ∩ZVD = \bar D \cap \mathbb Z^VD=Dˉ∩ZV) — its integer points are exactly the integer points of its own convex hull. Theorem 5.5: DDD is L-convex if and only if D=D(γ)∩ZVD = D(\gamma) \cap \mathbb Z^VD=D(γ)∩ZV for some integer-valued distance function γ\gammaγ satisfying the triangle inequality — L-convex sets and such distance functions are two descriptions of the same object, the discrete analogue of chunk 04's M-convex-set / submodular- function correspondence. Theorem 5.7 (parts (1), (4)): L-convex sets are closed under intersection in the strongest sense — the convex hulls intersect exactly where the sets do, and a nonempty intersection of L-convex sets is again L-convex.

Significance

The result itself. Theorem 5.9 packs two claims into one, as the book itself points out: the separator is forced into {−1,0,1}V\{-1,0,1\}^V{−1,0,1}V (explicit in the statement), and disjoint L-convex sets satisfy "convexity in intersection" — their convex hulls are already disjoint whenever the sets themselves are (implicit, and necessary for the stated inequality to be possible at all). The {−1,0,1}\{-1,0,1\}{−1,0,1} structure connects directly to combinatorial duality in network flows: L-convex polyhedra are, without the name, a familiar object there, and a {−1,0,1}\{-1,0,1\}{−1,0,1}-separator corresponds to a signed cut or a negative-cost cycle in an associated graph. Theorem 5.5's correspondence is the L-convex mirror of chunk 04's M-convex/submodular correspondence, and the book explicitly flags that the two will be unified into a single conjugacy relationship in a later chapter (Note 5.6) — this mission's formalization of the L-side is a prerequisite for that later unification.

Formalizing it. No matching item exists on the platform (searches for "L-convex", "distance function", and "negative cycle" return only unrelated results — number-theoretic distance estimates, polytope graph metrics, shortest-path graph structures — none matching the combinatorial L-convexity/discrete-separation content here). This mission gives the first formal statement of L-convex sets and their central separation theorem. Notably, Theorem 5.9's own statement — unlike the analogous M-convex Theorem 4.18 — needs none of the distance-function machinery that its proof uses; only the L-convexity axiom itself appears in the goal, making its formal statement comparatively lean even though the underlying mathematics is just as deep.

Difficulty

The natural first attempt at Theorem 5.9 is to try to construct x∗x^*x∗ directly from the structure of D1,D2D_1, D_2D1​,D2​ — for instance, from a normal vector to a real separating hyperplane, rounded coordinatewise. This does not work: rounding an arbitrary real separator gives no control over its entries, and there is no reason a rounded vector should still separate. The book's actual proof instead represents D1,D2D_1, D_2D1​,D2​ via distance functions γ1,γ2\gamma_1, \gamma_2γ1​,γ2​ (Theorem 5.5), combines them into γ12=min⁡(γ1,γ2)\gamma_{12} = \min(\gamma_1, \gamma_2)γ12​=min(γ1​,γ2​), and extracts the separator from a shortest negative cycle in the associated graph: the vertices of the cycle alternate between the two sets' "tight" arcs, and the alternating ±1\pm 1±1 pattern around the cycle is exactly the {−1,0,1}\{-1,0,1\}{−1,0,1} vector x∗x^*x∗ — with the cycle's negativity translating directly into the required gap of at least 111. Locating the right combinatorial object (a shortest negative cycle, not an arbitrary one) is what pins the separator down to a vector supported on a single alternating cycle rather than an arbitrary {−1,0,1}\{-1,0,1\}{−1,0,1} pattern, and is the step a naive rounding or linear-algebra argument has no analogue of.

Formalization scope

The ground set VVV is a Fintype with DecidableEq; D⊆ZVD \subseteq \mathbb Z^VD⊆ZV is a Set (V → ℤ). Distance functions take values in WithTop ℝ; the goal's infimum and supremum are taken in EReal (a complete lattice), since L-convex sets are always infinite (translation invariance along the all-ones direction), so an ℝ-valued supremum/infimum would silently return a junk value on an unbounded set. The conclusion is stated as sup⁡D2⟨p,x∗⟩+1≤inf⁡D1⟨p,x∗⟩\sup_{D_2}\langle p,x^*\rangle + 1 \le \inf_{D_1}\langle p,x^*\ranglesupD2​​⟨p,x∗⟩+1≤infD1​​⟨p,x∗⟩, an addition-based reformulation of the book's subtraction inequality that avoids EReal's ⊤ - ⊤ ambiguity while remaining equivalent whenever both sides are finite.

A trivializing formalization of the goal would drop the {−1,0,1}V\{-1,0,1\}^V{−1,0,1}V constraint on x∗x^*x∗ (recovering the classical, L-convexity-independent separation theorem) or fix a single coordinate pattern rather than asserting existence over the full three-valued family; neither is done here. Theorem 5.5 is stated existentially rather than via the book's named bijection Φ,Ψ\Phi, \PsiΦ,Ψ (a documented scope reduction, parallel to chunk 04's treatment of Theorem 4.15), and Theorem 5.7 is drafted with only its two representation-independent clauses (parts (1) and (4); see MODERATION_NOTES.md). Contributions building the distance-function/admissible- potential apparatus needed for Theorem 5.7's remaining clauses, or the L-convex/integrally-convex bridge (Theorem 5.10, needing chunk 03's vocabulary), are welcome.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
12 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XII: Terminal Wealth and Mean-Variance under Partial ObservationTextbook

Motivation

Every portfolio-choice model treated so far in this series assumes the investor knows the exact law governing the market's returns. Real investors do not: the drift of a stock, the regime a market is in, or the probability of an up-move in a simplified binomial model is itself uncertain and must be learned from the very prices being observed. Bäuerle and Rieder's Chapter 6 (Markov Decision Processes with Applications to Finance, Springer, 2011) is the book's synthesis of two threads developed separately earlier: Chapter 5's reduction of a partially observable decision problem to an ordinary one on an enlarged "belief" state space, and Chapter 4's classical solutions of terminal-wealth utility maximization and dynamic mean-variance portfolio choice. Combining them answers a natural question with no simple a priori answer: how does not knowing which market you are in change the qualitatively optimal way to invest, and can the closed-form solutions of the fully-observed theory be recovered, term for term, once the unknown factor is replaced by a belief about it?

Setting

The market has an unobservable factor Y (state space E_Y) driving the vector of relative risks Z ∈ ℝ^d of d risky assets: given Y_n = y, the next return Z_{n+1} has a density q_R(y,\cdot), and Y itself evolves via its own transition density q_Y(y,\cdot), jointly — crucially, this joint law depends only on y, never on wealth or the action taken. An investor observes only the stock prices (equivalently, the return history), never Y itself. Bayes' rule turns this into a filtering problem: the investor's belief ρ_n \in \mathbb P(E_Y) about the current factor is updated one return at a time by an operator Φ(ρ,z) that depends only on the current belief and the newly observed return — a genuine simplification of Chapter 5's general Bayes operator, forced by the market's own structure. The pair (x_n,ρ_n) — observable wealth and current belief — is then an ordinary, fully observed state for an ordinary Markov Decision Model, and every value function and optimal policy of this chapter lives on that enlarged state space.

Formalization targets

The goal, Theorem 6.2.3, solves the dynamic mean-variance problem (MV): minimize the variance of terminal wealth X_N subject to a target expectation \mathbb E[X_N] \ge \mu, under partial observation. It is reached by a Lagrangian embedding into an auxiliary quadratic-loss problem QP(b), solved explicitly in Theorem 6.2.2, whose value function factors as ((xS^0_N/S^0_n)-b)^2 d_n(\rho) for a belief-only sequence (d_n) satisfying the backward recursion (6.7); Lemma 6.2.1 shows this sequence always lies strictly between 0 and 1, which is exactly what makes the final variance formula and Lagrange multiplier well-posed. The remaining milestones develop the parallel terminal-wealth theory of §6.1: the general structure theorem (Theorem 6.1.1), its power- and logarithmic-utility closed forms (Theorems 6.1.2, 6.1.7), and — for the specific binomial market with an unknown up-probability — a likelihood-ratio monotonicity result for the filter update (Lemma 6.1.4) and a comparison between the partially and completely observed optimal investment fractions (Theorem 6.1.5).

Significance

The chapter's organizing insight is that partial observation does not require a new theory: once the belief is added as a state coordinate, every general result already proved for fully observed Markov Decision Models — the Bellman equation, the existence of optimal Markov policies, the Lagrangian embedding technique for mean-variance problems — applies unchanged. What is genuinely new, and genuinely non-trivial, is checking that the reduced model inherits the structural hypotheses (monotonicity, boundedness, positive-definiteness of covariance matrices) those general theorems require, expressed now as conditions on the belief-indexed quantities Φ(ρ,z), d_n(\rho), \ell_n(\rho), C_n(\rho) rather than on the original, unobserved factor. Theorem 6.1.5's comparison result is a genuinely new phenomenon with no fully-observed analogue at all: it quantifies, in the two opposite directions dictated by the sign of the risk-aversion parameter γ, how residual uncertainty about the market itself changes the qualitatively optimal amount to invest — the discrete-time analogue of a continuous-time result in the literature this book cites (Sass and Haussmann 2004).

Difficulty

The recurring difficulty across every result in this mission is that the reduced model's state space E_X \times \mathbb P(E_Y) includes a space of probability measures as one coordinate, and every quantity that must be shown well-defined, monotone, or bounded is a functional on that space, not a function on a concrete Euclidean set. Formalizing the mean-variance recursion (6.7) in particular is a three-way mutual computation — a scalar d_n(\rho), a vector \ell_n(\rho), and a matrix C_n(\rho), each an integral against the same belief-dependent predictive law of the next return, each feeding the next stage's version of all three — where Lemma 6.2.1's strict-inequality bound is not a bookkeeping detail but exactly the fact that keeps C_n(\rho) invertible and the whole construction from breaking down. Theorem 6.2.3 itself is the hardest single step: verifying that the specific constant b^* the Lagrangian method selects makes the mean constraint bind at exact equality, and that the resulting variance is the true constrained minimum (not merely a feasible value), is exactly the non-trivial content a superficial restatement of Theorem 6.2.2 at an unspecified b would silently discard.

Formalization scope

Every value function of this chapter — the terminal-wealth maximization of §6.1, the quadratic loss QP(b) and the mean-variance problem (MV) of §6.2 — is built from one shared history-dependent value-function scaffold, parametrized by its terminal payoff (the utility U, a quadratic loss, or the raw first/second moment), its rate sequence (constant in §6.1, non-stationary in §6.2), and its feasible-action correspondence, rather than four separately re-derived constructions. Optimal fractions in the binomial sub-model (Lemma 6.1.4, Theorem 6.1.5) are characterized as any maximizer of the relevant one-step concave problem rather than through the closed-form solution the book's own proof derives via machinery from a different, unavailable chunk (Lemma 4.2.9) — the comparison and monotonicity results proved here are facts about any such maximizer, not about that specific formula. A formalization that assumed the reduced model's filter update or covariance structure directly, rather than deriving it from the market's own return and factor densities via the Bayes operator Φ, would trivialize every result in this mission; none of the items here take that shortcut.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • R. Sass and U. G. Haussmann, "Optimizing trading strategies with respect to drawdown in the hidden Markov model," Statistics & Decisions, 2004.
  • N. Bäuerle and U. Rieder, "Portfolio optimization with unobservable Markov-modulated drift process," Journal of Applied Probability, 2007.
  • V. Runggaldier, W. Trivellato, and T. Vargiolu, "A Bayesian adaptive control approach to parameter estimation and optimal portfolio selection," in Mathematical Finance, Trends in Mathematics, Birkhäuser, 2002 (the binomial-market source this chapter's §6.1 example specializes).
14 thms2 active usersReviewed
🏆Completed
Convex OptimizationMachine LearningOperations Research+1·Captain: mikedeng1

A Stochastic Quasi-Newton Method for Large-Scale Optimization: The Expected Suboptimality Bound of the SQN MethodResearch Paper

Motivation

Training a statistical model by empirical risk minimization means minimizing an average of NNN losses over a parameter vector w∈Rnw\in\mathbb R^nw∈Rn, where both NNN and nnn can be in the millions. Stochastic gradient descent (SGD) is the standard method: each step uses the gradient of a small random batch of losses. It is cheap per step but sensitive to the scaling of the problem. Quasi-Newton methods such as L-BFGS correct the scaling in deterministic optimization, but naive stochastic versions are unstable, because differences of noisy gradients are poor curvature estimates.

Byrd, Hansen, Nocedal and Singer (SIAM J. Optim. 26(2), 2016) proposed the stochastic quasi-Newton (SQN) method. It decouples the two estimates: gradients come from small batches at every step, while curvature pairs are formed only every LLL steps, from averaged iterates and subsampled Hessian–vector products. The paper's analysis (Section 3) shows that the method keeps the O(1/k)O(1/k)O(1/k) expected suboptimality rate of SGD on strongly convex problems. The same eigenvalue bound was obtained independently by Mokhtari and Ribeiro (JMLR 16, 2015). Bottou, Curtis and Nocedal later gave a general treatment of such preconditioned stochastic methods (SIAM Review 60(2), 2018).

Setting

Let f1,…,fN:Rn→Rf_1,\dots,f_N:\mathbb R^n\to\mathbb Rf1​,…,fN​:Rn→R be twice continuously differentiable losses and

F(w)=1N∑i=1Nfi(w).F(w)=\frac1N\sum_{i=1}^N f_i(w).F(w)=N1​i=1∑N​fi​(w).

For a sample S⊆{1,…,N}\mathcal S\subseteq\{1,\dots,N\}S⊆{1,…,N} of size bbb, the minibatch gradient is ∇FS(w)=1b∑i∈S∇fi(w)\nabla F_{\mathcal S}(w)=\frac1b\sum_{i\in\mathcal S}\nabla f_i(w)∇FS​(w)=b1​∑i∈S​∇fi​(w). For a sample SH\mathcal S_HSH​ of size bHb_HbH​, the subsampled Hessian is ∇2FSH(w)=1bH∑i∈SH∇2fi(w)\nabla^2F_{\mathcal S_H}(w)=\frac1{b_H}\sum_{i\in\mathcal S_H}\nabla^2 f_i(w)∇2FSH​​(w)=bH​1​∑i∈SH​​∇2fi​(w).

Assumption 1 requires constants 0<λ,Λ0<\lambda,\Lambda0<λ,Λ with λI≺∇2FSH(w)≺ΛI\lambda I\prec\nabla^2F_{\mathcal S_H}(w)\prec\Lambda IλI≺∇2FSH​​(w)≺ΛI for every www and every Hessian sample. It also requires a bound γ2\gamma^2γ2 on the second moment of the stochastic gradient. w∗w^*w∗ denotes the minimizer of FFF.

Algorithm 2 turns correction pairs (sj,yj)(s_j,y_j)(sj​,yj​) into a matrix HtH_tHt​. With m~=min⁡{t,M}\tilde m=\min\{t,M\}m~=min{t,M}, it starts from stTytytTytI\frac{s_t^Ty_t}{y_t^Ty_t}IytT​yt​stT​yt​​I and applies the BFGS update

H←(I−ρjsjyjT)H(I−ρjyjsjT)+ρjsjsjT,ρj=1yjTsj,H\leftarrow(I-\rho_js_jy_j^T)H(I-\rho_jy_js_j^T)+\rho_js_js_j^T,\qquad\rho_j=\frac1{y_j^Ts_j},H←(I−ρj​sj​yjT​)H(I−ρj​yj​sjT​)+ρj​sj​sjT​,ρj​=yjT​sj​1​,

for j=t−m~+1,…,tj=t-\tilde m+1,\dots,tj=t−m~+1,…,t.

Algorithm 1 (SQN) runs for k=1,2,…k=1,2,\dotsk=1,2,…. It draws a gradient sample Sk\mathcal S_kSk​ and steps

wk+1=wk−αkH∇FSk(wk),w^{k+1}=w^k-\alpha^kH\nabla F_{\mathcal S_k}(w^k),wk+1=wk−αkH∇FSk​​(wk),

where H=IH=IH=I for k≤2Lk\le2Lk≤2L and H=HtH=H_tH=Ht​, t=⌊(k−1)/L⌋−1t=\lfloor(k-1)/L\rfloor-1t=⌊(k−1)/L⌋−1, afterwards. Every LLL iterations it forms the block average wˉt\bar w_twˉt​ of the last LLL iterates and a new pair

st=wˉt−wˉt−1,yt=∇2FSH,t(wˉt) st.s_t=\bar w_t-\bar w_{t-1},\qquad y_t=\nabla^2F_{\mathcal S_{H,t}}(\bar w_t)\,s_t .st​=wˉt​−wˉt−1​,yt​=∇2FSH,t​​(wˉt​)st​.

Samples are drawn independently and uniformly among the subsets of their size. The step length is αk=β/k\alpha^k=\beta/kαk=β/k.

Formalization targets

Goal: Corollary 3.3, with a corrected constant

There are 0<μ1≤μ20<\mu_1\le\mu_20<μ1​≤μ2​, depending only on the problem data, such that every matrix Algorithm 1 applies satisfies μ1I≺H≺μ2I\mu_1I\prec H\prec\mu_2Iμ1​I≺H≺μ2​I. Moreover, for every β>1/(2μ1λ)\beta>1/(2\mu_1\lambda)β>1/(2μ1​λ),

E[F(wk)−F(w∗)]≤Qc(β)k(k≥1),E[F(w^k)-F(w^*)]\le\frac{Q_c(\beta)}k\qquad(k\ge1),E[F(wk)−F(w∗)]≤kQc​(β)​(k≥1), Qc(β)=max⁡{Λμ22β2γ22(2μ1λβ−1), Λμ22β2γ2, F(w1)−F(w∗)}.Q_c(\beta)=\max\Big\{\frac{\Lambda\mu_2^2\beta^2\gamma^2}{2(2\mu_1\lambda\beta-1)},\ \Lambda\mu_2^2\beta^2\gamma^2,\ F(w^1)-F(w^*)\Big\}.Qc​(β)=max{2(2μ1​λβ−1)Λμ22​β2γ2​, Λμ22​β2γ2, F(w1)−F(w∗)}.

The constants μ1,μ2\mu_1,\mu_2μ1​,μ2​ are not fixed numerically. The goal asserts a rate of order 1/k1/k1/k with an explicit constant in terms of them.

Milestones

  • (3.8)–(3.10): the curvature bounds λ∥s∥2≤yTs≤Λ∥s∥2\lambda\|s\|^2\le y^Ts\le\Lambda\|s\|^2λ∥s∥2≤yTs≤Λ∥s∥2 and λ≤∥y∥2/yTs≤Λ\lambda\le\|y\|^2/y^Ts\le\Lambdaλ≤∥y∥2/yTs≤Λ for Hessian-product pairs.
  • (3.11) and (3.12): the trace bound and Powell's determinant formula for the direct L-BFGS matrices.
  • Lemma 3.1: μ1I≺Ht≺μ2I\mu_1I\prec H_t\prec\mu_2Iμ1​I≺Ht​≺μ2​I uniformly along every run.
  • (3.18): expected descent for the general Newton-like iteration wk+1=wk−αkHk∇f(wk,ξk)w^{k+1}=w^k-\alpha^kH_k\nabla f(w^k,\xi^k)wk+1=wk−αkHk​∇f(wk,ξk).
  • (3.19): 2λ[F(w)−F(w∗)]≤∥∇F(w)∥22\lambda[F(w)-F(w^*)]\le\|\nabla F(w)\|^22λ[F(w)−F(w∗)]≤∥∇F(w)∥2.
  • (3.22): the recursion ϕk+1≤(1−2αkμ1λ)ϕk+Λ2(αkμ2)2γ2\phi_{k+1}\le(1-2\alpha^k\mu_1\lambda)\phi_k+\frac\Lambda2(\alpha^k\mu_2)^2\gamma^2ϕk+1​≤(1−2αkμ1​λ)ϕk​+2Λ​(αkμ2​)2γ2.
  • Theorem 3.2: the Qc(β)/kQ_c(\beta)/kQc​(β)/k rate for the Newton-like iteration.

Significance

The corollary says that curvature information costs nothing in rate. With uniformly bounded preconditioners and the β/k\beta/kβ/k schedule, the SQN method converges in expectation at the same order as SGD, which is the order known to be optimal for this class of problems. Lemma 3.1 is the reusable part: it holds for any L-BFGS matrix built from pairs whose curvature is controlled by a bounded Hessian. Theorem 3.2 applies to every stochastic method whose preconditioner is fixed before the sample is drawn and has uniformly bounded spectrum.

The formalization adds three things. First, it states the result correctly. As printed, Theorem 3.2 is false and Assumption 1(3) cannot be satisfied (see Formalization scope), and the mission states and labels the repaired versions. Second, it gives a machine-checked statement of the SQN algorithm itself, which is not currently formalized anywhere. Third, it provides L-BFGS and preconditioned-SGD infrastructure that later missions on stochastic second-order methods can reuse. To our knowledge none of these results has a machine-checked proof.

Difficulty

The natural first idea is to feed the iterates of Algorithm 1 to a standard SGD rate theorem. This fails for two reasons. The preconditioner HtH_tHt​ depends on the past iterates and on independent Hessian samples, so the analysis needs a filtration in which HtH_tHt​ is known before the gradient sample is drawn. Also, the rate proof itself is an induction that breaks in the first iterations, which is exactly where the printed argument goes wrong.

On the linear-algebra side, the difficulty is a lower bound on the smallest eigenvalue of HtH_tHt​ that is uniform over all runs and all ttt. The curvature bounds on each individual pair do not give it directly, because the BFGS updates compound across the memory window. The expectation side needs conditional expectations of vector-valued functions and a descent inequality under a Hessian bound, neither of which Mathlib packages for this setting.

Formalization scope

Vectors live in EuclideanSpace ℝ (Fin n), matrices are Matrix (Fin n) (Fin n) ℝ acting through Matrix.toEuclideanLin, and A≺BA\prec BA≺B is (B - A).PosDef. Hessians are fderiv ℝ (gradient f) w. Indices k,tk,tk,t start at 111 as in the paper. In the corollary, EEE is an exact finite average over sample histories, and "almost surely" means "on every history". Theorem 3.2 uses a general probability space with a filtration. HkH_kHk​ and wkw^kwk are Fk\mathcal F_kFk​-measurable, the sample ξk\xi^kξk is Fk+1\mathcal F_{k+1}Fk+1​-measurable, and unbiasedness is a conditional expectation. Integrability of F(wk)F(w^k)F(wk) is part of each conclusion, so a junk-zero integral cannot satisfy it.

Two corrections to the paper, each labelled in the item titles and notes:

  • Iterate-wise γ\gammaγ. Assumption 1(3) says Eξ∥∇f(w,ξ)∥2≤γ2E_\xi\|\nabla f(w,\xi)\|^2\le\gamma^2Eξ​∥∇f(w,ξ)∥2≤γ2 for all www. Together with unbiasedness and λ\lambdaλ-strong convexity on Rn\mathbb R^nRn, this forces λ∥w−w∗∥≤∥∇F(w)∥≤γ\lambda\|w-w^*\|\le\|\nabla F(w)\|\le\gammaλ∥w−w∗∥≤∥∇F(w)∥≤γ for every www, which is impossible. The mission imposes the bound at the iterates, conditionally on the past, which is how the proof uses it.
  • Constant Qc(β)Q_c(\beta)Qc​(β). The induction after (3.22) multiplies by 1−2βμ1λ/k1-2\beta\mu_1\lambda/k1−2βμ1​λ/k, which is negative for k<2βμ1λk<2\beta\mu_1\lambdak<2βμ1​λ. Counterexample: n=1n=1n=1, f1,2(w)=(w∓1)2/2f_{1,2}(w)=(w\mp1)^2/2f1,2​(w)=(w∓1)2/2, Hk=IH_k=IHk​=I, w1=0w^1=0w1=0, β=2\beta=2β=2, γ2=5\gamma^2=5γ2=5. Then F(w2)−F(w∗)=2>Q(2)/2=5/3F(w^2)-F(w^*)=2>Q(2)/2=5/3F(w2)−F(w∗)=2>Q(2)/2=5/3, and the example survives perturbing the constants so that every strict inequality holds. The middle entry of QcQ_cQc​ repairs it, and Qc=QQ_c=QQc​=Q whenever 2μ1λβ≤3/22\mu_1\lambda\beta\le3/22μ1​λβ≤3/2.

Smaller conventions:

  • The pairs must satisfy st≠0s_t\neq0st​=0, since Algorithm 2 is undefined otherwise.
  • Hessian samples have size bH≥1b_H\ge1bH​≥1; the empty sample makes (2.3) a 0/00/00/0.
  • The corollary's undefined μ2\mu_2μ2​ is Lemma 3.1's constant, enlarged together with μ1\mu_1μ1​ to cover the initial H=IH=IH=I steps.
  • The block average of Algorithm 1 is used, not Eq. (2.1).

Trivializing encodings are ruled out: HtH_tHt​ is Algorithm 2 applied to Algorithm 1's own pairs, not an arbitrary bounded matrix, and the second-moment bound is not imposed for all www.

Needed infrastructure, all welcome as contributions: the symmetry and spectral bounds of Hessians of C2C^2C2 functions, trace and determinant identities for BFGS updates, the descent lemma from a Hessian upper bound, conditional-expectation manipulations for adapted iterations, and the reduction of Algorithm 1 with uniform finite sampling to the abstract iteration.

Selected references

  • R. H. Byrd, S. L. Hansen, J. Nocedal, Y. Singer, A Stochastic Quasi-Newton Method for Large-Scale Optimization, SIAM J. Optim. 26(2):1008–1031, 2016. https://doi.org/10.1137/140954362
  • A. Mokhtari, A. Ribeiro, Global Convergence of Online Limited Memory BFGS, J. Mach. Learn. Res. 16:3151–3181, 2015. https://jmlr.org/papers/v16/mokhtari15a.html
  • L. Bottou, F. E. Curtis, J. Nocedal, Optimization Methods for Large-Scale Machine Learning, SIAM Review 60(2):223–311, 2018. https://doi.org/10.1137/16M1080173
  • A. Nemirovski, A. Juditsky, G. Lan, A. Shapiro, Robust Stochastic Approximation Approach to Stochastic Programming, SIAM J. Optim. 19(4):1574–1609, 2009. https://doi.org/10.1137/070704277
  • M. J. D. Powell, Some global convergence properties of a variable metric algorithm for minimization without exact line searches, in Nonlinear Programming, SIAM-AMS Proc. IX, 1976, pp. 53–72.
13 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XIII: Contracting Infinite-Horizon Markov Decision ModelsTextbook

Motivation

Every mission in this series so far has treated a finite-horizon decision problem: an investor or planner with a fixed, known number of periods left. Many of the most important applications — perpetual investment, an infinitely-repeated inventory or maintenance problem, a firm that never stops operating — have no natural end date at all. Chapter 7 of Bäuerle and Rieder's Markov Decision Processes with Applications to Finance (Springer, 2011) builds the theory needed to make sense of "the value of a decision problem that never ends," and does so on a general Borel state space rather than a finite one. This mission covers the chapter's first three sections: the general infinite-horizon setup, the semicontinuous existence theory that makes it usable, and the sharper contraction-based theory that is the chapter's, and arguably the whole book's, theoretical center.

Setting

An infinite-horizon Markov Decision Model reuses the same data (E,A,D,Q,r,β)(E,A,D,Q,r,\beta)(E,A,D,Q,r,β) as the finite-horizon models of earlier chapters, but drops the terminal reward and applies a single (possibly randomized) decision rule at every one of infinitely many stages. Its performance criterion, J∞(x):=sup⁡πExπ[∑k=0∞βkr(Xk,fk(Xk))]J_\infty(x) := \sup_\pi \mathbb E^\pi_x\big[\sum_{k=0}^\infty \beta^kr(X_k,f_k(X_k)) \big]J∞​(x):=supπ​Exπ​[∑k=0∞​βkr(Xk​,fk​(Xk​))], is only meaningful once an integrability condition (Assumption (A)) and a convergence condition (Assumption (C)) rule out the sum diverging or the finite-horizon approximations failing to settle down. Both conditions follow automatically once the model has an upper bounding function bbb — a function controlling both the size of the reward and how fast the transition kernel can grow bbb itself — with βαb<1\beta\alpha_b < 1βαb​<1, the manageable special case that covers both the classical bounded-reward discounted case and the case of a non-positive reward.

Formalization targets

The goal, Theorem 7.3.5 (Structure Theorem), is the chapter's capstone: under a genuine bounding function (a two-sided reward bound making the space IBbIB_bIBb​ of finite-weighted-norm functions a Banach space) with βαb<1\beta\alpha_b < 1βαb​<1, and one abstract structural hypothesis — a closed class IM⊂IBbIM \subset IB_bIM⊂IBb​ containing 000, mapped into itself by the Bellman operator TTT, on which a maximizing action always exists — Banach's fixed point theorem delivers existence, uniqueness, an explicit geometric convergence rate for value iteration, and existence of an optimal stationary policy, all at once. The milestones build up to it in three stages: the general infinite-horizon machinery (Lemmas 7.1.4-7.1.5, Theorems 7.1.6-7.1.8 — reward iteration, a verification theorem, and a structure theorem under an abstract structure assumption that is not yet tied to any checkable property of the model); the semicontinuous existence theory that gives primitive, checkable conditions implying that abstract assumption (Theorem 7.2.1 and its two corollaries, including a genuine policy iteration conclusion); and the contracting theory proper (Lemma 7.3.3's contraction estimate, Theorem 7.3.4's sharpened verification theorem, and Theorem 7.3.6's continuous specialization of the goal).

Significance

The goal is the direct, general-Borel-space generalization of what finite-state dynamic programming theorems already on the platform (BertsekasDP.discounted_main_theorem, BertsekasDP.ssp_main_theorem) establish only for a finite state and action space, where Banach's theorem is applied directly on Rn\mathbb R^nRn: this mission's content is that the same conclusions — including the same explicit geometric convergence rate for value iteration — hold on an arbitrary Borel state space, the moment one abstract, structural condition is checked. That condition is not vacuous or automatic: Example 7.2.4 (cited but not itself formalized, being an unnumbered worked counterexample rather than a numbered result) shows that without compactness of the feasible-action correspondence, the naive Structure Assumption of Chapter 2 is not enough and value iteration can converge to the wrong limit (J≠J∞J \ne J_\inftyJ=J∞​). Theorems 7.1.8's Structure Assumption (SA) is built precisely to rule this out, and Theorem 7.2.1's semicontinuity/ compactness conditions are the practical, checkable sufficient conditions for it.

Difficulty

The central formalization challenge is representing J∞πJ_\infty^\piJ∞π​, the genuine infinite-horizon expected discounted reward, without constructing a canonical infinite-horizon path measure from the model's transition kernel — a substantial undertaking the book itself sidesteps by proving (via an appendix result, Theorem B.1.1, not itself reproved here) that J∞πJ_\infty^\piJ∞π​ equals the limit of the finite-horizon truncations JnπJ_n^\piJnπ​. This mission takes that limit characterization as its own definition, via Filter.limsup for the same total, junk-safe reasons this book's series has used throughout (no canonical path measure anywhere in chunks 02a, 05a, 05b, 06). A second, genuinely new difficulty is Ls, the "upper limit of a sequence of sets" that drives every policy-iteration conclusion: it is a statement about accumulation points of a sequence of points, one drawn from each set in the sequence, not the more familiar set-theoretic limsup of a sequence of sets — getting this distinction right is the entire content of what "policy iteration" asserts.

Formalization scope

Every operator, bounding-function class, and value function of §7.1-7.3 is restated (not imported) in this chunk's own namespace from the finite-horizon originals of chunks 02a/02b, adapted to drop the time index and bake the discount into the one-stage operator directly, per this chapter's own presentation. The contracting theory's genuinely real-valued Banach-space objects (Tf′T_f'Tf′​, T′T'T′, IBbIB_bIBb​, the weighted norm ∥⋅∥b\|\cdot\|_b∥⋅∥b​) are kept separate from the general theory's EReal-valued objects (TfT_fTf​, TTT, IM(E)IM(E)IM(E)), matching the book's own distinction between a value function that is a priori only known to avoid +∞+\infty+∞ and one known to be genuinely finite everywhere. Part (d) of the goal — the explicit geometric convergence rate — is stated in full, not weakened to bare qualitative convergence, since a formalization that dropped it would lose exactly the fact (used again by this book's own Theorem 7.5.12, a different chunk) that makes value iteration a genuine numerical method with a computable error bound rather than merely an existence argument.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. II, 4th ed., Athena Scientific, 2012 (the finite-state discounted/SSP theorems this goal generalizes).
  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978 (analytic measurability of J∞J_\inftyJ∞​, JJJ; cited by the book for this chapter's foundational measure-theoretic facts).
  • K. Hinderer, Foundations of Non-stationary Dynamic Programming with Discrete Time Parameter, Lecture Notes in Operations Research and Mathematical Systems 33, Springer, 1970 (Theorem 18.4, cited for the fact that history-dependent policies do not improve on Markov ones).
16 thms2 active usersReviewed
🏆Completed
CombinatoricsConvex OptimizationDiscrete Geometry+2·Captain: Shuze Chen

Discrete Convex Analysis XX: Integral Convexity of L-Convex SetsTextbook

Motivation

Shortest-path distances and network potentials are among the oldest objects in combinatorial optimization: a directed graph with arc lengths, its shortest-path distances, and the "feasible potentials" (vertex labels consistent with those lengths) underlie duality in min-cost flow, scheduling, and difference-constraint systems. Murota's Discrete Convex Analysis (SIAM, 2003) isolates the abstract structure behind these objects — distance functions satisfying the triangle inequality, and their associated sets of admissible potentials — and shows it is governed by exactly the same discrete-convexity machinery as submodular set functions: a one-to-one correspondence with a second family of well-behaved integer point sets, the L-convex sets. Where an M-convex set (chapter 4) is defined by an exchange axiom generalizing matroid base exchange, an L-convex set is defined by closure under coordinatewise lattice operations (∨, ∧) and translation by the all-ones vector — a genuinely different axiom system that nonetheless produces a parallel structural theory: hole-freeness, a polyhedral description via an induced distance function, and integral convexity.

Companion mission 05-lconvex-sets (Discrete Convex Analysis IV) covers this chapter's other half: the hole-free property (Theorem 5.2), the one-to-one correspondence between L-convex sets and integer-valued triangle-inequality distance functions (Theorem 5.5), the intersection properties (Theorem 5.7), and the chapter's discrete separation theorem (Theorem 5.9, its goal). This mission builds the vocabulary those results also need (redeclared here, since sibling drafts cannot yet import one another) and proves the results the chapter leaves for its second half: the fundamental facts connecting a distance function to its admissible potentials (Proposition 5.1), the two-way polyhedral correspondence's supporting propositions (5.3-5.4), Minkowski-sum convexity (Theorem 5.8), and — this mission's goal — the explicit description of an L-convex set's convex hull that establishes its integral convexity (Theorem 5.10).

Setting

Fix a finite ground set VVV. A distance function is a map γ:V×V→R∪{+∞}\gamma : V \times V \to \mathbb R \cup \{+\infty\}γ:V×V→R∪{+∞} with γ(v,v)=0\gamma(v,v) = 0γ(v,v)=0; it may take negative finite values and need not be symmetric. It defines a directed graph Gγ=(V,Aγ)G_\gamma = (V, A_\gamma)Gγ​=(V,Aγ​) with Aγ={(u,v):γ(u,v)<+∞}A_\gamma = \{(u,v) : \gamma(u,v) < +\infty\}Aγ​={(u,v):γ(u,v)<+∞}, arc (u,v)(u,v)(u,v) having length γ(u,v)\gamma(u,v)γ(u,v). Write γˉ(u,v)\bar\gamma(u,v)γˉ​(u,v) for the shortest-path length from uuu to vvv in GγG_\gammaGγ​ (+∞+\infty+∞ if none exists); γ\gammaγ is well defined (γˉ\bar\gammaγˉ​ finite-valued wherever a path exists) exactly when GγG_\gammaGγ​ has no negative cycle. The triangle inequality γ(v1,v2)+γ(v2,v3)≥γ(v1,v3)\gamma(v_1,v_2) + \gamma(v_2,v_3) \ge \gamma(v_1,v_3)γ(v1​,v2​)+γ(v2​,v3​)≥γ(v1​,v3​) defines the class T[R]T[\mathbb R]T[R] (or T[Z]T[\mathbb Z]T[Z] when integer-valued). A vector p∈RVp \in \mathbb R^Vp∈RV is an admissible potential of γ\gammaγ if p(v)−p(u)≤γ(u,v)p(v) - p(u) \le \gamma(u,v)p(v)−p(u)≤γ(u,v) for all u≠vu \ne vu=v; write D(γ)D(\gamma)D(γ) for the set of all such potentials.

A nonempty set D⊆ZVD \subseteq \mathbb Z^VD⊆ZV is L-convex if it satisfies (SBS[Z]): p,q∈D  ⟹  p∨q, p∧q∈Dp, q \in D \implies p \vee q,\ p \wedge q \in Dp,q∈D⟹p∨q, p∧q∈D (coordinatewise max/min), and (TRS[Z]): p∈D  ⟹  p±1∈Dp \in D \implies p \pm \mathbf 1 \in Dp∈D⟹p±1∈D. A set S⊆ZVS \subseteq \mathbb Z^VS⊆ZV is integrally convex if every point of its convex hull S‾\overline SS lies in the convex hull of SSS restricted to that point's integral neighborhood N(p)={y∈ZV:⌊p⌋≤y≤⌈p⌉ coordinatewise}N(p) = \{y \in \mathbb Z^V : \lfloor p \rfloor \le y \le \lceil p \rceil\text{ coordinatewise}\}N(p)={y∈ZV:⌊p⌋≤y≤⌈p⌉ coordinatewise} — a strong, local form of "no holes" saying every real point of the hull is explained by nearby integer points alone.

Formalization targets

Goal: integral convexity of L-convex sets

For an L-convex set D⊆ZVD \subseteq \mathbb Z^VD⊆ZV, writing a=p−⌊p⌋a = p - \lfloor p \rfloora=p−⌊p⌋ for the fractional part of p∈RVp \in \mathbb R^Vp∈RV, α1>⋯>αm\alpha_1 > \cdots > \alpha_mα1​>⋯>αm​ for the distinct nonzero values of aaa, and Ui(p)={v:a(v)≥αi}U_i(p) = \{v : a(v) \ge \alpha_i\}Ui​(p)={v:a(v)≥αi​} (with U0=∅U_0 = \emptysetU0​=∅):

D‾={p∈RV:⌊p⌋+χUi(p)∈D  (i=0,1,…,m)},hence D is integrally convex.\overline D = \{p \in \mathbb R^V : \lfloor p \rfloor + \chi_{U_i(p)} \in D\ \ (i = 0, 1, \ldots, m)\}, \qquad \text{hence } D \text{ is integrally convex}.D={p∈RV:⌊p⌋+χUi​(p)​∈D  (i=0,1,…,m)},hence D is integrally convex.

This is the weakest stable form available: it exhibits an explicit, finite set of at most ∣V∣+1|V|+1∣V∣+1 integer witnesses for every point of the hull, which is what "integrally convex" asserts abstractly, rather than a numerical bound that a sharper construction could later shrink.

Supporting structural targets

Four further results build the correspondence this goal uses: the basic duality between a distance function's admissible potentials, its shortest-path closure, and negative-cycle freedom (Prop. 5.1); the induced-distance-function construction recovering a triangle-inequality distance function from any integer point set, and the convex hull of an L-convex set as its associated polyhedron (Prop. 5.3); the converse construction recovering an L-convex set from an integer-valued distance function (Prop. 5.4); and convexity in Minkowski sum (Thm. 5.8).

Significance

Theorem 5.10 is what makes "L-convex" a genuinely convex-analytic notion rather than a combinatorial curiosity: it shows the convex hull of an L-convex set is not merely a polyhedron (already known from the chapter's polyhedral-description results) but one with the strongest local integrality property discrete convex analysis considers, integral convexity — every real point's hull membership is certified by a small, explicitly constructed set of nearby lattice points, uniformly across the whole set. This is the L-convex counterpart of the corresponding M-convex fact (chapter 4's Theorem 4.24) and is used later in the book wherever L-convex functions (chapter 7) need their epigraphs' local structure. Proposition 5.1 is the combinatorial engine underneath: it is exactly the LP-duality statement between shortest paths and feasible potentials that appears, in various guises, throughout network flow theory, made precise here as the base case the L-convex correspondence rests on.

None of these results are open — Murota presents them as, in his own words, "fundamental facts well known in network flow theory" (Proposition 5.1) systematized into the discrete convex analysis framework. What this mission contributes is a faithful, machine-checked formal statement of each, in the shared Lean vocabulary (LConvexSet, AdmissiblePotentials, ShortestDist) the rest of the Discrete Convex Analysis series can build on; no comparable formalization exists on the platform (see Formalization scope).

Difficulty

The shortest-path closure γˉ\bar\gammaγˉ​ is not a bookkeeping convenience but genuinely graph-theoretic content: proving Proposition 5.1 requires constructing an admissible potential from a shortest-path labeling and, conversely, deriving the negative-cycle-freeness of GγG_\gammaGγ​ from the mere existence of one admissible potential — a min-cost-flow-style LP duality argument, not a direct combinatorial check. Theorem 5.10's difficulty sits in a different place: the naive approach to "DDD is integrally convex" would attempt an inductive argument peeling off one coordinate at a time, but the actual proof constructs a single, uniform family of m+1m+1m+1 witness points from the sorted fractional values of ppp — a Carathéodory-style representation (Eq. (5.11)) that must simultaneously stay inside the integral neighborhood N(p)N(p)N(p) and land in DDD itself via the triangle inequality of DDD's induced distance function, a construction with no one-coordinate-at-a-time shortcut.

Formalization scope

Ground-set elements are a Fintype V with DecidableEq; L-convex sets are Set (V → ℤ); distance functions are V → V → WithTop ℝ; admissible-potential sets are Set (V → ℝ). The shortest-path closure is formalized directly from finite walks (Fin (k+1) → V) rather than via a graph-library shortest-path predicate, matching the book's own construction. The Eq. (5.11) witnesses are built exactly as the book describes them — sorted distinct nonzero fractional values and their level sets — mirroring the Lovász-extension construction of the companion mission 20-ch04b-mconvexsets. No numeric constants are hard-coded anywhere in this mission (rule 7 is vacuous). The goal's explicit witness set (at most ∣V∣+1|V|+1∣V∣+1 points) is not a trivializing special case: it holds for every L-convex set and every point of its hull, with no extra hypothesis narrowing the class. This mission's definitions (LConvexSet, AdmissiblePotentials, DistanceFunction, IsIntegrallyConvex) are redeclared from chunk 05-lconvex-sets (and, for IsIntegrallyConvex/IntegralNeighborhood, from chapter 3's own definitions) rather than imported, since sibling drafts in this series cannot yet reference one another; a later, published version of this book's namespace should consolidate them. Contributions completing any of the five sorrys are welcome; Proposition 5.1's LP-duality argument and the goal's Carathéodory-style construction are the two with the most independent proof content.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • A. J. Hoffman, "On abstract dual linear programs," Naval Research Logistics Quarterly, 10 (1963), pp. 369-373 (feasible-potential duality in network flow theory).
23 thms3 active usersReviewed
🏆Completed
AnalysisControl TheoryDynamical Systems+2·Captain: mikedeng1

Generalized Gradients and Applications II: Flow-Invariant Sets of Lipschitz Differential InclusionsResearch Paper

Motivation

A closed set F⊆RnF\subseteq\mathbb R^nF⊆Rn is flow-invariant for a dynamical system when every trajectory that starts in FFF stays in FFF. Invariance of sets underlies state constraints in optimal control, safety certificates for controlled systems, comparison and maximum principles for differential equations, and the positivity of solutions of kinetic and population models. The question is always the same: which infinitesimal condition at the points of FFF is equivalent to the global statement that trajectories cannot leave FFF?

For a smooth vector field and a smooth boundary the answer is that the field must not point strictly outward. For a nonsmooth set, such as a polyhedron, the positive orthant or a set with inward cusps, "pointing inward" must be made precise through a notion of tangent vector that works at corners. Frank H. Clarke's 1975 paper introduces the generalized gradient of a Lipschitz function and derives from it a normal cone and a tangent cone for arbitrary closed sets. Its Theorem (4.4) shows that this tangent cone is exactly the right notion: for a Lipschitz differential inclusion x˙∈X(x)\dot x\in X(x)x˙∈X(x), a closed set is flow-invariant if and only if X(x)X(x)X(x) is contained in the tangent cone at each point of the set.

Timeline:

  • 1942. Nagumo characterizes invariance for continuous ODEs with unique solutions by a condition on the distance function (Proc. Phys.-Math. Soc. Japan 24).
  • 1969. Bony proves an invariance theorem for Lipschitz vector fields, stated through exterior normals, in the course of a maximum principle for degenerate elliptic operators (Bony 1969).
  • 1970. Brezis characterizes flow-invariant closed sets of a locally Lipschitz vector field by lim⁡δ↓0dF(y+δX(y))/δ=0\lim_{\delta\downarrow0} d_F(y+\delta X(y))/\delta=0limδ↓0​dF​(y+δX(y))/δ=0 (Brezis 1970).
  • 1972. Redheffer gives simplified proofs of the Bony and Brezis theorems under weaker "uniqueness function" hypotheses (Amer. Math. Monthly 79, 740–747).
  • 1975. Clarke extends the characterization to Lipschitz multifunctions with nonempty compact values, with tangency in the sense of his new tangent cone, and recovers Bony and Brezis as corollaries (Clarke 1975, Theorem (4.4), Corollaries (4.10), (4.12)).

Setting

Throughout, Rn\mathbb R^nRn carries the Euclidean inner product ζ⋅v\zeta\cdot vζ⋅v and norm ∣⋅∣|\cdot|∣⋅∣.

Generalized gradient. For f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R Lipschitz on bounded sets, ∂f(x)\partial f(x)∂f(x) is the convex hull of all limits lim⁡i∇f(x+hi)\lim_i\nabla f(x+h_i)limi​∇f(x+hi​) with hi→0h_i\to0hi​→0 and fff differentiable at each x+hix+h_ix+hi​ (Definition (1.1)). The generalized directional derivative is f∘(x;v)=lim sup⁡h→0, δ↓0[f(x+h+δv)−f(x+h)]/δf^\circ(x;v)=\limsup_{h\to0,\ \delta\downarrow0}[f(x+h+\delta v)-f(x+h)]/\deltaf∘(x;v)=limsuph→0, δ↓0​[f(x+h+δv)−f(x+h)]/δ (Definition (1.3)).

Distance function. For a nonempty closed E⊆RnE\subseteq\mathbb R^nE⊆Rn, dE(x)=min⁡{∣x−e∣:e∈E}d_E(x)=\min\{|x-e|:e\in E\}dE​(x)=min{∣x−e∣:e∈E}. It is Lipschitz with constant 111. A point e∈Ee\in Ee∈E with ∣x−e∣=dE(x)|x-e|=d_E(x)∣x−e∣=dE​(x) is a closest point to xxx; it exists but need not be unique.

Normal and tangent cones. For e∈Ee\in Ee∈E, the cone of normals is

NE(e)=cl⁡{p: s p∈∂dE(e) for some s>0}(Definition (3.1)),N_E(e)=\operatorname{cl}\{p:\ s\,p\in\partial d_E(e)\text{ for some }s>0\}\qquad\text{(Definition (3.1))},NE​(e)=cl{p: sp∈∂dE​(e) for some s>0}(Definition (3.1)),

and the tangent cone is its dual,

TE(e)={ζ: ζ⋅v≤0 for all v∈NE(e)}(Definition (3.6)).T_E(e)=\{\zeta:\ \zeta\cdot v\le0\text{ for all }v\in N_E(e)\}\qquad\text{(Definition (3.6))}.TE​(e)={ζ: ζ⋅v≤0 for all v∈NE​(e)}(Definition (3.6)).

Differential inclusions. A multifunction XXX assigns to each x∈Rnx\in\mathbb R^nx∈Rn a set X(x)⊆RnX(x)\subseteq\mathbb R^nX(x)⊆Rn; standing assumption of §4: every X(x)X(x)X(x) is nonempty and compact. A trajectory is an absolutely continuous x:[0,1]→Rnx:[0,1]\to\mathbb R^nx:[0,1]→Rn with x˙(t)∈X(x(t))\dot x(t)\in X(x(t))x˙(t)∈X(x(t)) for almost every ttt ((4.1)). XXX is Lipschitz if there is KKK such that for all x1,x2x_1,x_2x1​,x2​ and v1∈X(x1)v_1\in X(x_1)v1​∈X(x1​) some v2∈X(x2)v_2\in X(x_2)v2​∈X(x2​) has ∣v1−v2∣≤K∣x1−x2∣|v_1-v_2|\le K|x_1-x_2|∣v1​−v2​∣≤K∣x1​−x2​∣ ((4.2)). A closed set FFF is flow-invariant for XXX if every trajectory with x(0)∈Fx(0)\in Fx(0)∈F has x(t)∈Fx(t)\in Fx(t)∈F for all t∈[0,1]t\in[0,1]t∈[0,1] ((4.3)).

Formalization targets

Goal: Theorem (4.4)

Let XXX be a Lipschitz multifunction with nonempty compact values and FFF a nonempty closed subset of Rn\mathbb R^nRn. Then

F is flow-invariant for X  ⟺  X(x)⊆TF(x)  for every x∈F.F\text{ is flow-invariant for }X\iff X(x)\subseteq T_F(x)\ \text{ for every }x\in F.F is flow-invariant for X⟺X(x)⊆TF​(x)  for every x∈F.

Milestones, in the order the proof uses them

  1. Proposition (1.4). f∘(x;v)=max⁡{ζ⋅v:ζ∈∂f(x)}f^\circ(x;v)=\max\{\zeta\cdot v:\zeta\in\partial f(x)\}f∘(x;v)=max{ζ⋅v:ζ∈∂f(x)} for locally Lipschitz fff.
  2. Proposition (2.4). If ∇dE(x)\nabla d_E(x)∇dE​(x) exists and is nonzero, then x∉Ex\notin Ex∈/E, xxx has a unique closest point eee, and ∇dE(x)=(x−e)/∣x−e∣\nabla d_E(x)=(x-e)/|x-e|∇dE​(x)=(x−e)/∣x−e∣.
  3. Corollary (2.5). For e∈Ee\in Ee∈E, ∂dE(e)=co⁡{0,lim⁡(xi−ei)/∣xi−ei∣}\partial d_E(e)=\operatorname{co}\{0,\lim (x_i-e_i)/|x_i-e_i|\}∂dE​(e)=co{0,lim(xi​−ei​)/∣xi​−ei​∣} over xi∉Ex_i\notin Exi​∈/E, xi→ex_i\to exi​→e, eie_iei​ closest to xix_ixi​.
  4. Proposition (3.2). NE(e)=cl⁡co⁡{lim⁡si(xi−ei)}N_E(e)=\operatorname{cl}\operatorname{co}\{\lim s_i(x_i-e_i)\}NE​(e)=clco{limsi​(xi​−ei​)} over si≥0s_i\ge0si​≥0, xi→ex_i\to exi​→e, eie_iei​ closest to xix_ixi​.
  5. Inequality (4.8). If X(y)⊆TF(y)X(y)\subseteq T_F(y)X(y)⊆TF​(y) on FFF and xxx is a trajectory, then f(t)=dF(x(t))f(t)=d_F(x(t))f(t)=dF​(x(t)) satisfies f′(t)≤Kf(t)f'(t)\le Kf(t)f′(t)≤Kf(t) almost everywhere.
  6. Limit (4.9). If FFF is flow-invariant, then dF(y+δv)/δ→0d_F(y+\delta v)/\delta\to0dF​(y+δv)/δ→0 as δ↓0\delta\downarrow0δ↓0 for every y∈Fy\in Fy∈F and v∈X(y)v\in X(y)v∈X(y).
  7. Proposition (3.7). v∈TE(e0)v\in T_E(e_0)v∈TE​(e0​) iff lim⁡e→e0, e∈Elim inf⁡δ↓0dE(e+δv)/δ=0\lim_{e\to e_0,\,e\in E}\liminf_{\delta\downarrow0} d_E(e+\delta v)/\delta=0lime→e0​,e∈E​liminfδ↓0​dE​(e+δv)/δ=0.

Significance

The result. Theorem (4.4) turns a statement about all trajectories of a set-valued dynamical system into a pointwise geometric condition on FFF that can be checked without solving anything. It is the prototype of the strong invariance theorems of nonsmooth control theory, later developed in viability theory and in the monograph of Clarke, Ledyaev, Stern and Wolenski, and it is the tool behind state-constrained optimal control and Lyapunov-type arguments for nonsmooth systems. Its corollaries recover the Bony and Brezis theorems for Lipschitz vector fields. The companion milestones (2.5), (3.2) and (3.7) are standalone facts of nonsmooth geometry: the Clarke normal cone is generated by limits of proximal normals, and Clarke tangency can be tested along rays from nearby points of the set.

Formalizing it. The result is proved in the paper and has been reproved in textbooks; to the best of our knowledge it has no machine-checked proof. Mathlib contains Rademacher's theorem, absolutely continuous functions on intervals and the Bouligand tangent cone, but no Clarke generalized gradient, no Clarke normal or tangent cone, and no theory of differential inclusions. A complete development supplies a first nonsmooth-analysis layer on top of Mathlib and a first existence theorem for Lipschitz differential inclusions.

Difficulty

The direction (2) ⇒\Rightarrow⇒ (1) looks like a Gronwall argument for f(t)=dF(x(t))f(t)=d_F(x(t))f(t)=dF​(x(t)), but dFd_FdF​ is not differentiable, xxx is only absolutely continuous, and the closest point to x(t)x(t)x(t) can jump. The step that must be controlled is the comparison between x˙(t)\dot x(t)x˙(t), a nearby admissible velocity at the closest point, and the normal x(t)−yx(t)-yx(t)−y; this is where Proposition (3.2) enters, and it is why the Clarke cone, rather than a weaker cone, is needed.

The direction (1) ⇒\Rightarrow⇒ (2) needs a trajectory through an arbitrary y∈Fy\in Fy∈F whose initial velocity is a prescribed v∈X(y)v\in X(y)v∈X(y). For a nonconvex multifunction this is Filippov's theorem [7, Theorem 5], which the paper cites and does not prove. A solver must prove it, or an equivalent existence result for Lipschitz inclusions with compact values, from scratch in Lean. The Clarke tangent cone and the more familiar Bouligand (contingent) cone differ pointwise at nonconvex corners, so a statement written with Mathlib's tangentConeAt is a different theorem from (4.4). That the two universal conditions "X(x)⊆TF(x)X(x)\subseteq T_F(x)X(x)⊆TF​(x) for all x∈Fx\in Fx∈F" are equivalent for Lipschitz XXX is a later, separate result and cannot be assumed.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n); dEd_EdE​ is Metric.infDist · E; "eee is a closest point to xxx" is e ∈ E ∧ dist x e = infDist x E.
  • ∂f\partial f∂f and f∘f^\circf∘ follow Definitions (1.1) and (1.3). The gradient limits carry DifferentiableAt, because Mathlib's gradient is 000 off the differentiability set. f∘f^\circf∘ is a real limsup, and every theorem using it carries the §1 Lipschitz hypothesis.
  • NEN_ENE​ and TET_ETE​ are defined from ∂dE\partial d_E∂dE​ as in (3.1) and (3.6). The tangent cone is not Mathlib's tangentConeAt.
  • A trajectory is x : ℝ → ℝⁿ with AbsolutelyContinuousOnInterval x 0 1 and, for almost every t∈[0,1]t\in[0,1]t∈[0,1], ∃ w ∈ X (x t), HasDerivAt x w t. Values outside [0,1][0,1][0,1] are irrelevant.
  • Standing assumptions made explicit: X(x)X(x)X(x) nonempty and compact for every xxx (§4, p. 259); EEE, FFF nonempty and closed and e∈Ee\in Ee∈E (§3, p. 254); fff Lipschitz on bounded sets (§1, p. 247). The Lipschitz constant of (4.2) is global.
  • Ruled out: dropping absolute continuity (Cantor-type curves would leave FFF), using deriv in (4.1), using a punctured filter in (3.7), which would make (3.7)(2) hold at isolated points, and assuming Filippov's theorem as a hypothesis of (4.9) or of the goal.
  • Needed infrastructure: the Clarke calculus for dEd_EdE​, a chain-rule-type estimate for dF∘xd_F\circ xdF​∘x along absolutely continuous curves, a Gronwall lemma for absolutely continuous functions (Mathlib has norm_le_gronwallBound_of_norm_deriv_right_le for the differentiable case), and Filippov's existence theorem. The generalized gradient, cones and trajectory notions are reusable by any nonsmooth-optimization or control mission. Contributions of any of these as separate lemmas are welcome.
  • The §1 definitions duplicate those of the companion mission Generalized Gradients and Applications I; the two missions were drafted at the same time.

Selected references

  • F. H. Clarke, Generalized gradients and applications, Trans. Amer. Math. Soc. 205 (1975), 247–262. https://doi.org/10.1090/s0002-9947-1975-0367131-6
  • A. F. Filippov, Classical solutions of differential equations with multivalued right-hand side, SIAM J. Control 5 (1967), 609–621. https://doi.org/10.1137/0305040
  • H. Brezis, On a characterization of flow-invariant sets, Comm. Pure Appl. Math. 23 (1970), 261–263. https://doi.org/10.1002/cpa.3160230211
  • J. M. Bony, Principe du maximum, inégalité de Harnack et unicité du problème de Cauchy pour les opérateurs elliptiques dégénérés, Ann. Inst. Fourier 19 (1969), 277–304. https://doi.org/10.5802/aif.319
  • R. M. Redheffer, The theorems of Bony and Brezis on flow-invariant sets, Amer. Math. Monthly 79 (1972), 740–747. MR 46 #2166.
  • F. H. Clarke, Yu. S. Ledyaev, R. J. Stern, P. R. Wolenski, Nonsmooth Analysis and Control Theory, Graduate Texts in Mathematics 178, Springer, 1998. https://doi.org/10.1007/b97650
16 thms4 active usersReviewed
🏆Completed
Dynamic ProgrammingLinear OptimizationOperations Research+2·Captain: Shuze Chen

Markov Decision Processes XIV: Positive Models and Linear Programming Duality for MDPsTextbook

Motivation

Chunk 07a built the general theory of infinite-horizon Markov Decision Processes and its sharpest special case, contracting models, where Banach's fixed point theorem delivers existence, uniqueness, and an explicit convergence rate all at once. That theory answers "does an optimal policy exist, and can I compute it by iterating a fixed point equation?" This mission answers the two questions a practitioner asks next: what happens when the reward's negative part, rather than its positive part, is the one that needs controlling (positive models, §7.4), and — more strikingly — can finding an optimal policy be reduced to solving a genuine linear program, the single most heavily-optimized computational primitive in all of operations research (§7.5)?

Setting

A positive Markov Decision Model is the mirror image of chunk 07a's general setup: instead of bounding the reward's positive part with an upper bounding function, the negative part is bounded by an integrability quantity ε\varepsilonε, and the roles of "largest subharmonic" and "smallest superharmonic" swap accordingly. The computational sections build on chunk 07a's contracting theory directly: Howard's policy improvement algorithm iteratively replaces a decision rule with a strict pointwise improvement; the linear-programming approach recasts the entire optimization problem — the value function and the optimal policy — as a primal/dual pair of linear programs, not over finite vectors but over an infinite-dimensional space of measurable functions (v∈IMv \in IMv∈IM) and finitely-additive-in-spirit measures (μ∈Mb\mu \in M_bμ∈Mb​); and state-space discretization approximates an infinite (Borel) state space by a finite grid, with an explicit, computable bound on the resulting numerical error.

Formalization targets

The goal, Theorem 7.5.8 (Strong Duality), is the section's deepest result: under chunk 07a's contracting Structure Theorem's own hypotheses, the primal linear program (P)(P)(P) is solved exactly by the true optimal value function J∞J_\inftyJ∞​, the dual program (D)(D)(D) is solved by the occupation measure of any optimal stationary policy, and the two optimal values coincide. The milestones build up to it in three groups: the positive-model mirror theory (Lemmas 7.4.1-7.4.2, Theorems 7.4.3 and 7.4.5); Howard's policy improvement and its termination guarantee (Theorem 7.5.1, Corollary 7.5.3); and the linear-programming machinery itself (weak duality, complementary slackness, and the finite-state specialization that recovers an ordinary finite linear program, Theorems 7.5.6, 7.5.7, 7.5.9) together with the discretization error bounds that make the whole theory numerically usable (Proposition 7.5.11, Theorem 7.5.12).

Significance

The strong duality theorem is genuinely new content relative to what is already on the platform: the existing finite-dimensional LP duality missions (SmaleNinth.lp_strong_duality, LinearOptimization.lp_general_weak_duality, and others in the linear-optimization field) all operate over Rn\mathbb R^nRn-valued vectors, while this theorem's primal and dual variables are a measurable function on a general Borel space and a measure on a general Borel space respectively — an infinite-dimensional linear program in the fullest sense. Theorem 7.5.9, the finite-state specialization, is the one point of genuine hypothesis-for-hypothesis contact with that prior art (checked directly; see STATUS.md for why it was drafted fresh rather than cited as a reference item), and it is exactly there that the reduction to an ordinary finite LP — with the platform's familiar vertex/extreme-point vocabulary — becomes visible.

Difficulty

Constructing the occupation measure μpf∞\mu^{f^\infty}_pμpf∞​ without a canonical infinite-horizon path measure is the central technical challenge: it must be a genuine Measure (E × A), not merely a real-valued functional, since the dual program optimizes over a space of such measures. This mission builds it from iterated Measure.bind (pushing the initial law ppp forward through the model's kernel under a fixed stationary decision rule) combined with a countable Measure.sum of βk\beta^kβk-scaled terms — a construction that stays entirely within Mathlib's existing measure-theoretic vocabulary without needing an Ionescu–Tulcea-style infinite product. A second, different difficulty is the state-space discretization section's grid interpolation, which presupposes a convex-combination structure (x=∑kλkxkx = \sum_k\lambda_kx_kx=∑k​λk​xk​ for grid points xkx_kxk​) on the state space that a general Borel space does not carry; this mission represents the grid operator and grid bounding function as data satisfying exactly the structural properties their two target theorems' own proofs use, rather than reconstructing the literal interpolation scheme — a deliberate, documented scope decision (see MODERATION_NOTES.md), not an approximation of either theorem's mathematical content.

Formalization scope

Every operator and value-function construction restates chunk 07a's own vocabulary (per this series' file-ownership convention, an independent copy in this chunk's own namespace), extended by the positive-model integrability bound ε\varepsilonε, the occupation-measure/linear-program apparatus of §7.5.2, and the grid-approximation data of §7.5.3. The primal/dual optimal values val(P)\mathrm{val}(P)val(P)/val(D)\mathrm{val}(D)val(D) are kept EReal-valued rather than real-valued specifically so that Theorem 7.5.6's own finiteness claims (−∞<val(D)-\infty < \mathrm{val}(D)−∞<val(D), val(P)<∞\mathrm{val}(P) < \inftyval(P)<∞) remain genuine, checkable content rather than being trivialized by a real-valued sInf/sSup's always-finite convention. Theorem 7.5.9's "optimal vertex" is stated via an explicit convex-combination (extreme-point) characterization using ENNReal weights, since Measure does not carry the module structure Mathlib's own Set.extremePoints requires.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960 (the policy improvement algorithm this section names after him).
  • E. V. Denardo, "On linear programming in a Markov decision problem," Management Science, 1970 (the classical finite-state linear-programming formulation this section generalizes).
  • W. J. Heilmann, "A note on the dual of a linear program with infinitely many constraints," cited by the book's own Remark 7.5.5 for the finitely-additive treatment the restricted dual (D)(D)(D) over MbM_bMb​ sidesteps.
17 thms3 active usersReviewed
🏆Completed
Convex OptimizationDiscrete GeometryOperations Research+1·Captain: Shuze Chen

Discrete Convex Analysis V: The M-Optimality Criterion and the Proximity TheoremTextbook

Motivation

Scaling algorithms are one of the standard techniques for solving discrete optimization problems efficiently: instead of searching a huge integer domain directly, an algorithm first solves a coarsened version of the problem — checking optimality only against neighbors reached by a large step size α\alphaα — and then refines the resulting approximate solution down to the true optimum. This strategy is only as good as the guarantee that a coarse-scale local optimum is provably close to a true, fine-scale global optimum; without such a guarantee, refinement could require an unbounded number of steps. Results providing this guarantee are called proximity theorems, and they are a standard tool across combinatorial optimization, from network flow scaling algorithms to submodular function minimization.

M-convex functions, the subject of this chapter, are exactly the class of discrete convex functions for which the classical local-optimality test of chapter 3 (checking a full neighborhood of up to 3n−13^n-13n−1 sign patterns) sharpens to a much smaller, purely pairwise test: checking f(x)≤f(x−χu+χv)f(x) \le f(x - \chi_u + \chi_v)f(x)≤f(x−χu​+χv​) for every pair of coordinates u,vu, vu,v. This mission formalizes the chapter's central definitional equivalence (Theorem 6.2), this pairwise optimality criterion (Theorem 6.26), a structural minimizer-cut lemma (Theorem 6.28), and the chapter's capstone, the M-proximity theorem (Theorem 6.37) — the result that makes M-convex scaling algorithms provably correct, with an explicit, dimension-and-scale-only distance bound between a coarse-scale local optimum and a true global minimizer.

Setting

Let VVV be a finite ground set. A function f:ZV→R∪{+∞}f : \mathbb Z^V \to \mathbb R \cup \{+\infty\}f:ZV→R∪{+∞} with nonempty effective domain dom⁡f\operatorname{dom} fdomf is an M-convex function if it satisfies the exchange axiom (M-EXC[Z]): for x,y∈dom⁡fx, y \in \operatorname{dom} fx,y∈domf and uuu in the positive support of x−yx - yx−y, there is vvv in the negative support of x−yx-yx−y with

f(x)+f(y)≥f(x−χu+χv)+f(y+χu−χv).f(x) + f(y) \ge f(x - \chi_u + \chi_v) + f(y + \chi_u - \chi_v).f(x)+f(y)≥f(x−χu​+χv​)+f(y+χu​−χv​).

An M♮^\natural♮-convex function is one whose lift f~\tilde ff~​ to the extended ground set V~={0}∪V\tilde V = \{0\} \cup VV~={0}∪V — defined by f~(x0,x)=f(x)\tilde f(x_0, x) = f(x)f~​(x0​,x)=f(x) when x0=−x(V)x_0 = -x(V)x0​=−x(V), and +∞+\infty+∞ otherwise — is M-convex; equivalently (Theorem 6.2, below) fff satisfies the axiom (M♮^\natural♮-EXC[Z]), a variant of (M-EXC[Z]) that additionally allows a single-coordinate move (uuu alone, with no compensating vvv). Every M-convex function is M♮^\natural♮-convex, but not conversely. For α\alphaα a positive integer, a point satisfies the scaled local optimality condition at scale α\alphaα if f(xα)≤f(xα+α(χv−χu))f(x_\alpha) \le f(x_\alpha + \alpha(\chi_v - \chi_u))f(xα​)≤f(xα​+α(χv​−χu​)) for all relevant u,vu, vu,v — a check against neighbors α\alphaα steps away rather than adjacent ones.

Formalization targets

Goal: Theorem 6.37 (the M-proximity theorem)

Assume α\alphaα is a positive integer and n=∣V∣n = |V|n=∣V∣.

(1) f M-convex, f(xα)≤f(xα+α(χv−χu)) ∀u,v  ⟹  ∃x∗∈arg⁡min⁡f, ∥xα−x∗∥∞≤(n−1)(α−1),\text{(1) } f \text{ M-convex, } f(x_\alpha) \le f(x_\alpha + \alpha(\chi_v-\chi_u))\ \forall u,v \implies \exists x^* \in \arg\min f,\ \|x_\alpha - x^*\|_\infty \le (n-1)(\alpha-1),(1) f M-convex, f(xα​)≤f(xα​+α(χv​−χu​)) ∀u,v⟹∃x∗∈argminf, ∥xα​−x∗∥∞​≤(n−1)(α−1), (2) f M♮-convex, same hypothesis over u,v∈V∪{0}  ⟹  ∃x∗∈arg⁡min⁡f, ∥xα−x∗∥∞≤n(α−1).\text{(2) } f \text{ M}^\natural\text{-convex, same hypothesis over } u,v \in V \cup \{0\} \implies \exists x^* \in \arg\min f,\ \|x_\alpha - x^*\|_\infty \le n(\alpha-1).(2) f M♮-convex, same hypothesis over u,v∈V∪{0}⟹∃x∗∈argminf, ∥xα​−x∗∥∞​≤n(α−1).

Both bounds are exact and specific to their hypothesis class; replacing either with an unspecified function of nnn and α\alphaα would discard exactly the content chapter 10's algorithms rely on.

Milestones: Theorems 6.2, 6.26, 6.28

Theorem 6.2: M♮^\natural♮-convexity (defined via the lift) is equivalent to the direct exchange axiom (M♮^\natural♮-EXC[Z]) — the chapter's central definitional theorem, needed to work with M♮^\natural♮-convex functions without repeatedly invoking the lift construction. Theorem 6.26 (the M-optimality criterion): global optimality of fff at xxx is equivalent to a purely pairwise local check, f(x)≤f(x−χu+χv)f(x) \le f(x-\chi_u+\chi_v)f(x)≤f(x−χu​+χv​) for all u,vu,vu,v (plus, in the M♮^\natural♮ case, f(x)≤f(x±χv)f(x) \le f(x\pm\chi_v)f(x)≤f(x±χv​)). Theorem 6.28 (the M-minimizer cut): from any point and any coordinate pair minimizing a one-step exchange, one can certify a coordinate-wise bound that some global minimizer must satisfy — the structural fact underlying both the domain-reduction algorithm and, via the same proof technique, the proximity theorem itself.

Significance

The result itself. Theorem 6.26 already sharpens chapter 3's local-to-global criterion (checking a full 3n−13^n-13n−1-point neighborhood) to an O(n2)O(n^2)O(n2)-size pairwise check — the minimum spanning tree optimality criterion is a direct special case. The proximity theorem builds on this to control what happens when the local check is only performed at a coarse scale α\alphaα: it guarantees that scaling-based algorithms, which alternate between coarse-scale local search and scale reduction, terminate with a guaranteed-close approximation at every stage, with an explicit linear-in-nnn, linear-in-α\alphaα error bound rather than a qualitative "eventually converges" guarantee.

Formalizing it. No matching item exists on the platform for M-convex functions, the exchange axiom, or a discrete proximity theorem of this kind. This mission gives the first formal statement of the M-optimality criterion and the M-proximity theorem, together with the exchange-axiom / lift-based-definition equivalence (Theorem 6.2) that the rest of the M-convex function theory (chunks 07, and indirectly 10–14) is built on.

Difficulty

The natural first attempt at Theorem 6.37 is to try a direct coordinatewise argument: since the scaled hypothesis holds for every pair u,vu, vu,v, one might hope to bound ∣xα(v)−x∗(v)∣|x_\alpha(v) - x^*(v)|∣xα​(v)−x∗(v)∣ coordinate by coordinate independently. This does not work, because a single application of the exchange axiom only ever improves fff by trading one coordinate down and one other coordinate up simultaneously — there is no way to move a single coordinate toward a minimizer in isolation without accounting for where the compensating mass goes. The actual proof instead fixes a target coordinate vvv, constructs a chain of strictly decreasing function values y0=xα,y1,…,yky_0 = x_\alpha, y_1, \ldots, y_ky0​=xα​,y1​,…,yk​ by repeatedly applying (M-EXC[Z]) against a fixed near-optimal point x∗x^*x∗ (exactly the technique of Theorem 6.28's proof), and then bounds how far each other coordinate can move along this chain using the scaled hypothesis itself, before summing those bounds via the M-convex domain's hyperplane constraint x(V)=x(V) = x(V)= constant to recover the bound on vvv. The chain construction, not a per-coordinate estimate, is what makes the linear-in-nnn bound provable at all.

Formalization scope

The ground set VVV is a Fintype with DecidableEq; f:ZV→R∪{+∞}f : \mathbb Z^V \to \mathbb R \cup \{+\infty\}f:ZV→R∪{+∞} is (V → ℤ) → WithTop ℝ. M♮^\natural♮-convexity is represented via an explicit lift to Option V (none standing for the extended ground set's new element 000), matching the book's own primary definition; the direct exchange-axiom form is a separate predicate related to it by Theorem 6.2, not conflated with it. `‖x_\alpha - x^*|_\infty \le c$ is stated pointwise.

A trivializing formalization of the goal would replace either exact bound, (n−1)(α−1)(n-1)(\alpha-1)(n−1)(α−1) or n(α−1)n(\alpha-1)n(α−1), with an unspecified asymptotic bound, or merge the two hypothesis classes into a single weaker statement; neither is done here. Propositions establishing dom f as an M-convex set, the M/M♮^\natural♮ relationship (Theorem 6.3), and several structural closure properties are cut from this mission's scope (not needed by the chosen items' statements — see MODERATION_NOTES.md) but are natural targets for a follow-on mission or for chunk 07, which builds directly on this chunk's exchange-axiom vocabulary. Contributions building the arg min f M-convexity corollary (Proposition 6.29) or the scaled minimizer cut (Theorem 6.39, the direct generalization of Theorem 6.28 drafted here) are welcome.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • D. S. Hochbaum, "Lower and upper bounds for the allocation problem and other nonlinear optimization problems," Mathematics of Operations Research, 19(2), 1994, pp. 390–409.
14 thms2 active usersReviewed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XV: Optimal Play in Red-and-Black and the Gittins IndexTextbook

Motivation

Chapter 7's abstract machinery — contracting Markov Decision Models, the Structure Theorem, value iteration with an explicit convergence rate — earns its keep by solving concrete problems. Section 7.6 works through four kinds of application: a return to the classical cash-balance inventory problem, now over an infinite horizon; the "red-and-black" gambling problem, where a player tries to reach a target fortune before going bankrupt; and, most substantially, the infinite-horizon two-armed bandit, where the general theory reveals something genuinely surprising — the qualitatively optimal policy can be computed one arm at a time.

Setting

Every application here specializes the general infinite-horizon, contracting-model machinery of chunks 07a/07b to a concrete transition structure. The cash-balance model orders inventory up to a level aaa at linear cost, incurs a holding/shortage cost, then absorbs a random demand. The red-and-black model bets a fraction of a bounded fortune on a biased coin, absorbing at bankruptcy or at the target. The bandit model reconsiders the Beta-Bernoulli two-armed bandit of chunk 05b, now over an infinite horizon with a genuine discount β<1\beta<1β<1: the key new tool is the K-stopping problem, a fictitious single-arm decision problem where, at every stage, the decision maker may either pull the arm or retire with a fixed payment KKK. The Gittins index I(m,n)I(m,n)I(m,n) is the smallest such payment at which retiring immediately is already as good as continuing.

Formalization targets

The goal, Theorem 7.6.10, is the Gittins index theorem for this book's two-armed bandit: always pulling the arm with the higher index is optimal for the full infinite-horizon problem. The milestones build the machinery it needs — the index's definition (Definition 7.6.5) and its equivalent representation as a supremum over stopping times (Theorem 7.6.6), the K-stopping value function's monotonicity/convexity/differentiability properties (Proposition 7.6.7), the index's optimal-stopping-set and indifference characterizations (Corollary 7.6.8), the two-arm joint stopping value's parallel structure (Proposition 7.6.9), and a fixed-point recasting useful for computation (Proposition 7.6.11) — plus, independently, the cash-balance and casino-game applications (Theorems 7.6.1-7.6.4), which use the general theory but not the bandit-specific machinery.

Significance

The Gittins index theorem's real content, emphasized by the book's own remark, is not merely that an optimal policy exists but how little computation it needs: instead of solving one optimization problem over the bandit's full four-dimensional joint state space N02×N02\mathbb N_0^2 \times \mathbb N_0^2N02​×N02​, the decision maker solves two independent two-dimensional single-arm problems and compares two numbers. This mission's formalization of the goal is built specifically to keep that separation visible — each arm's index is computed from a single, shared KStoppingValue structure applied to that arm's own state alone, never from a function that happens to take the whole joint state as an argument. The proof route here (via the K-stopping problem's explicit fixed-point characterization, Definition 7.6.5 and Proposition 7.6.11) is a genuinely different construction from the platform's existing Gittins-index theorems (BanditAlgorithm.gittins_index_theorem and related), which are built via Whittle's retirement/charge-accounting argument — checked directly and found to define the index differently enough that this mission drafts its own theorems rather than treat that construction as prior art.

Difficulty

The K-stopping value function J(m,n;K)J(m,n;K)J(m,n;K) and the two-arm joint value J~(x;K)\tilde J(x;K)J~(x;K) are both genuine fixed points of an infinite-horizon Bellman equation with no finite backward recursion to fall back on (the "stopping" option, rather than a terminal condition, is what makes the horizon infinite); this mission bundles them as data satisfying their own defining fixed-point equations, the same convention this series uses throughout for such objects. A second difficulty is Theorem 7.6.6's supremum over stopping times: without a canonical path measure for the underlying Markov chain (not built anywhere in this series), the two expectations the theorem compares are represented as data satisfying the positivity a genuine expectation must have, over an explicit, elementary notion of stopping time (a function of the whole observed path, adapted in the sense that whether it has fired by time nnn depends only on the path up to nnn) — a faithful, if representational, rendering of the theorem's genuinely path-dependent content.

Formalization scope

The cash-balance model (Theorem 7.6.1) explicitly cites chunk 02d's finite-horizon critical-level sequences as a hypothesis rather than re-deriving them, since this mission's own content is the infinite-horizon extension, not a second proof of the finite-horizon theory those sequences come from. The casino-game theorems (7.6.2-7.6.4) state optimality for the specific, named timid and bold strategies, not for an unnamed "some optimal policy" — the theorems' entire content is that these particular policies, not merely some optimal one, are best in their regime. The bandit model's posterior mean and Bayes-update operator are kept identical in substance to chunk 05b's finite-horizon Beta-Bernoulli model (restated, since chunks cannot import each other's Lean), so a reader can see this section is solving the same underlying statistical model, now over an infinite horizon.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • J. C. Gittins, "Bandit processes and dynamic allocation indices," Journal of the Royal Statistical Society, Series B, 1979 (the original index construction this section's K-stopping-problem approach reformulates).
  • P. Whittle, "Multi-armed bandits and the Gittins index," Journal of the Royal Statistical Society, Series B, 1980 (the retirement-option construction the platform's existing Gittins theorems use, a different proof route from this chunk's own).
  • L. E. Dubins and L. J. Savage, How to Gamble If You Must: Inequalities for Stochastic Processes, McGraw-Hill, 1965 (the classical red-and-black problem, Theorems 7.6.2-7.6.4).
14 thms2 active usersReviewed
Convex OptimizationDiscrete GeometryOperations Research+1·Captain: Shuze Chen

Discrete Convex Analysis VI: Quasi M-Convex Functions and the Quasi-Proximity TheoremTextbook

Motivation

Convexity is normally defined additively — a function's value at a mixture is bounded by the mixture of its values — but many of the properties that make convexity useful in optimization (a local minimum is global, level sets are well-behaved) survive under a much weaker, purely ordinal notion: quasi-convexity, which compares function values rather than adding them. A nondecreasing rescaling of a convex function is generally not convex, but it is always quasi-convex — so a theory built only on ordinal comparisons automatically covers every such rescaling for free, at the cost of a more delicate proof architecture (since the algebraic cancellations available to additive convexity are no longer available).

Chapter 6's second half asks exactly how far this idea extends in the discrete setting: does the M-convexity exchange axiom have an ordinal, quasi-convex relaxation that still supports the same strong minimization theory — an optimality criterion, a minimizer-cut lemma, and, most significantly, a proximity theorem with the same explicit distance bound? This mission formalizes the chapter's answer: yes, and the relevant relaxed class, functions satisfying condition (SSQM≠_{\ne}=​), is large enough to include every strictly increasing rescaling of an M-convex function, a class the M-convex theory of chunk 06 alone says nothing about.

Setting

Let VVV be a finite ground set and f:ZV→R∪{+∞}f : \mathbb Z^V \to \mathbb R \cup \{+\infty\}f:ZV→R∪{+∞} with nonempty effective domain. Building on chunk 06's M-convex exchange axiom (M-EXC[Z]), this chapter introduces several ordinal relaxations. fff is weakly quasi M-convex, satisfying (QMw), if for every pair of distinct points x,y∈dom⁡fx, y \in \operatorname{dom} fx,y∈domf there exist uuu in the positive support and vvv in the negative support of x−yx - yx−y with f(x−χu+χv)≤f(x)f(x - \chi_u + \chi_v) \le f(x)f(x−χu​+χv​)≤f(x) or f(y+χu−χv)≤f(y)f(y + \chi_u - \chi_v) \le f(y)f(y+χu​−χv​)≤f(y) — an "or" where (M-EXC[Z]) demands an additive inequality. Two further conditions restrict attention to points of different function value and sharpen the conclusion to a three-way trichotomy (strictly better on one side, or exactly tied on both): (SSQM≠_{\ne}=​) quantifies universally over uuu (as in (M-EXC[Z])), while (SSQM≠,w_{\ne,w}=,w​) quantifies existentially over both uuu and vvv (as in (QMw)). The linear perturbation of fff by p:V→Rp : V \to \mathbb Rp:V→R is f[p](x)=f(x)−⟨p,x⟩f[p](x) = f(x) - \langle p, x \ranglef[p](x)=f(x)−⟨p,x⟩.

Formalization targets

Goal: Theorem 6.78 (the quasi M-proximity theorem)

Let fff satisfy (SSQM≠_{\ne}=​), n=∣V∣n = |V|n=∣V∣, α\alphaα a positive integer. If xα∈dom⁡fx_\alpha \in \operatorname{dom} fxα​∈domf satisfies f(xα)≤f(xα+α(χv−χu))f(x_\alpha) \le f(x_\alpha + \alpha(\chi_v - \chi_u))f(xα​)≤f(xα​+α(χv​−χu​)) for all u,v∈Vu, v \in Vu,v∈V, then arg⁡min⁡f≠∅\arg\min f \ne \emptysetargminf=∅ and there is x∗∈arg⁡min⁡fx^* \in \arg\min fx∗∈argminf with ∥xα−x∗∥∞≤(n−1)(α−1)\|x_\alpha - x^*\|_\infty \le (n-1)(\alpha - 1)∥xα​−x∗∥∞​≤(n−1)(α−1) — verbatim the same conclusion, and the same exact bound, as chunk 06's Theorem 6.37(1), now established for the strictly larger class satisfying (SSQM≠_{\ne}=​) rather than the M-convex exchange axiom itself.

Milestones: Theorems 6.68(2), 6.76, 6.77

Theorem 6.68(2): fff satisfies (M-EXC[Z]) if and only if every linear perturbation f[p]f[p]f[p] satisfies (QMw) — quantifying exactly how much weaker (QMw) is pointwise, and how the gap closes once quantified over every perturbation. Theorem 6.76 (the quasi M-optimality criterion): the direct analogue of chunk 06's Theorem 6.26 for the quasi-convexity classes — a purely pairwise local check still characterizes global (or, in the (QMw) case, strict unique) optimality. Theorem 6.77 (the quasi M-minimizer cut): chunk 06's Theorem 6.28 continues to hold verbatim when its M-convexity hypothesis is replaced by (SSQM≠_{\ne}=​) — the structural fact the proximity theorem's proof is built from survives the relaxation intact.

Significance

The result itself. The proximity theorem is the result algorithms actually use: a scaling algorithm for minimizing quasi-convex functions of this kind inherits exactly the same correctness guarantee, with exactly the same distance bound, as the M-convex case — this is a genuine broadening of chapter 10's algorithmic reach, not a restatement dressed in weaker hypotheses. Every strictly increasing scalar transformation of an M-convex objective (a common modeling device — re-expressing a cost in utility units, or applying a monotone risk measure) now falls under a proximity theorem, whereas prior to this chapter's relaxation such a transformation would generally destroy M-convexity itself and leave optimization theory silent on the transformed problem.

Formalizing it. No matching item exists on the platform for quasi M-convexity in any of its forms. Formalizing Theorem 6.78 requires first pinning down (SSQM≠_{\ne}=​) exactly (there are six closely related axiom variants in this section of the book, only three of which — (QMw), (SSQM≠_{\ne}=​), (SSQM≠,w_{\ne,w}=,w​) — are needed for this mission's chosen results), and this mission also captures, via Theorem 6.68(2), the precise sense in which these relaxed conditions are strictly weaker than plain M-convexity while remaining tightly connected to it.

Difficulty

The natural first instinct, given how close the quasi-convexity axioms look to (M-EXC[Z]), is to try to prove Theorem 6.78 by directly imitating chunk 06's proof of Theorem 6.37 line by line. This mostly works — the proof structure (fix a target coordinate, build a chain of strictly decreasing values via repeated exchange steps, bound the chain's length using the scaled hypothesis) survives verbatim — but every step that chunk 06's proof took by adding two instances of the exchange inequality together must be replaced by an ordinal argument, since (SSQM≠_{\ne}=​) only ever asserts a disjunction of value comparisons, never an additive inequality relating four function values simultaneously the way (M-EXC[Z])'s f(x)+f(y)≥f(x−χu+χv)+f(y+χu−χv)f(x)+f(y) \ge f(x-\chi_u+\chi_v)+f(y+\chi_u-\chi_v)f(x)+f(y)≥f(x−χu​+χv​)+f(y+χu​−χv​) does. The book's proof handles this by working with strict inequalities and the trichotomy structure of (SSQM≠_{\ne}=​) directly rather than algebraic cancellation — the same overall architecture, but every arithmetic step rebuilt as a case analysis on which disjunct of (SSQM≠_{\ne}=​) fires.

Formalization scope

This mission builds directly on chunk 06's published items (CharVec, SuppPos, SuppNeg, DomZ, MExchangeAxiom, ArgMin), per the platform's textbook convention that a later chapter of the same book imports an earlier one's definitions rather than redrafting them; its own namespace DiscreteConvex.MConvexFunctions.Quasi nests under chunk 06's DiscreteConvex.MConvexFunctions accordingly. Δf(z;v,u) (Eq. (6.2)) is never reified as a separate object; every occurrence is unfolded directly into an f-value comparison, avoiding WithTop ℝ subtraction throughout, consistent with chunk 06's own convention.

A trivializing formalization of the goal would silently strengthen (SSQM≠_{\ne}=​) back to plain M-convexity (making this mission redundant with chunk 06's Theorem 6.37) or loosen the exact bound (n−1)(α−1)(n-1)(\alpha-1)(n−1)(α−1) to an unspecified function of n,αn, \alphan,α; neither is done. Six axiom variants appear in this section of the book ((QM), (SSQM), (QMw), (SSQMw_ww​), (SSQM≠_{\ne}=​), (SSQM≠,w_{\ne,w}=,w​)); only the three actually needed by this mission's four items are drafted, and Theorem 6.68's first part (an implication chain among the other three) is left out — see MODERATION_NOTES.md. Contributions building the polyhedral M-convex-function bridge (§6.11–6.12, Theorems 6.59–6.64), the level-set characterizations (Theorems 6.72, 6.74), or the scaled quasi M-minimizer cut (Theorem 6.79, the direct generalization of Theorem 6.77 drafted here) are welcome.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • M. Avriel, W. E. Diewert, S. Schaible, I. Zang, Generalized Concavity, Plenum Press, 1988.
8 thms2 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

Star-Shaped Risk Measures 1: star-shaped risk measures are the minima of convex risk measuresResearch Paper

Motivation

A risk measure turns the random loss of a financial position into a single number: the amount of capital a regulator or a risk manager requires to hold the position. Two families of risk measures dominate practice and theory. Value-at-Risk (VaR), a quantile of the loss distribution, is used in banking and insurance regulation; it is positively homogeneous but not convex, so it can penalize diversification. Convex risk measures (Föllmer and Schied 2002; Frittelli and Rosazza Gianini 2002), and their positively homogeneous subclass of coherent risk measures (Artzner, Delbaen, Eber and Heath 1999), reward diversification and come with a duality theory, but they exclude VaR and many of its robust variants.

Castagnoli, Cattelan, Maccheroni, Tebaldi and Wang (Operations Research 70(5), 2022) study the class that contains both: star-shaped risk measures, those for which increasing the exposure to a position never decreases the risk per unit of exposure. The class is closed under the aggregation operations used in practice (averages across models, worst cases across scenarios, medians, risk sharing), which convexity is not. It contains VaR, Expected Shortfall, their scenario-based robustifications such as MaxVaR\mathrm{MaxVaR}MaxVaR, the benchmark-loss VaR of Bignozzi et al. (2020), and utility-based shortfall risk for utilities with the Landsberger–Meilijson property.

Timeline. Artzner et al. (1999) axiomatize coherent risk measures. Föllmer and Schied (2002) and Frittelli and Rosazza Gianini (2002) introduce convex ones. Föllmer and Schied (2016, Proposition 4.47) show that VaR is the minimum of the convex risk measures dominating it. Castagnoli et al. (2015) state the representation below without proof. The 2022 paper proves it for every star-shaped risk measure, and shows that the property characterizes the class.

Setting

Fix a set Ω\OmegaΩ of states. The space of positions X\mathcal XX is a linear space of bounded functions X:Ω→RX:\Omega\to\mathbb RX:Ω→R containing every constant function; the constant mmm is identified with the position that pays mmm in every state. A value X(ω)>0X(\omega)>0X(ω)>0 is a loss. No probability measure is fixed. X\mathcal XX is ordered pointwise: X≧YX\geqq YX≧Y means X(ω)≥Y(ω)X(\omega)\ge Y(\omega)X(ω)≥Y(ω) for every ω\omegaω.

A risk measure is a function ρ:X→R\rho:\mathcal X\to\mathbb Rρ:X→R that is monotone (X≧Y⇒ρ(X)≥ρ(Y)X\geqq Y\Rightarrow\rho(X)\ge\rho(Y)X≧Y⇒ρ(X)≥ρ(Y)), translation invariant (ρ(X−m)=ρ(X)−m\rho(X-m)=\rho(X)-mρ(X−m)=ρ(X)−m for all real mmm) and normalized (ρ(0)=0\rho(0)=0ρ(0)=0). It is

  • star-shaped if ρ(λX)≥λρ(X)\rho(\lambda X)\ge\lambda\rho(X)ρ(λX)≥λρ(X) for all XXX and all λ>1\lambda>1λ>1;
  • convex if ρ(λX+(1−λ)Y)≤λρ(X)+(1−λ)ρ(Y)\rho(\lambda X+(1-\lambda)Y)\le\lambda\rho(X)+(1-\lambda)\rho(Y)ρ(λX+(1−λ)Y)≤λρ(X)+(1−λ)ρ(Y) for all X,YX,YX,Y and all λ∈(0,1)\lambda\in(0,1)λ∈(0,1);
  • positively homogeneous if ρ(λX)=λρ(X)\rho(\lambda X)=\lambda\rho(X)ρ(λX)=λρ(X) for all λ>0\lambda>0λ>0;
  • coherent if it is positively homogeneous and subadditive, ρ(X+Y)≤ρ(X)+ρ(Y)\rho(X+Y)\le\rho(X)+\rho(Y)ρ(X+Y)≤ρ(X)+ρ(Y).

The acceptance set of ρ\rhoρ is Aρ={X∈X∣ρ(X)≤0}\mathcal A_\rho=\{X\in\mathcal X\mid\rho(X)\le0\}Aρ​={X∈X∣ρ(X)≤0}. More generally, an acceptance set is a subset A⊆X\mathcal A\subseteq\mathcal XA⊆X with sup⁡{m∈R∣m∈A}=0\sup\{m\in\mathbb R\mid m\in\mathcal A\}=0sup{m∈R∣m∈A}=0 that is closed downwards (X∈AX\in\mathcal AX∈A, Y≦XY\leqq XY≦X imply Y∈AY\in\mathcal AY∈A). It is convex if convex and coherent if a convex cone, and it generates ρA(X)=inf⁡{m∣X−m∈A}\rho_{\mathcal A}(X)=\inf\{m\mid X-m\in\mathcal A\}ρA​(X)=inf{m∣X−m∈A}. A set SSS is star-shaped if λs∈S\lambda s\in Sλs∈S for all s∈Ss\in Ss∈S and λ∈[0,1]\lambda\in[0,1]λ∈[0,1].

In the Lean development the space of positions is PositionSpace Ω, positions are elements of 𝒳.carrier, and the predicates are IsRiskMeasure, IsStarShaped, IsConvexRiskMeasure, IsCoherentRiskMeasure, acceptanceSet, IsAcceptanceSet, IsConvexAcceptanceSet.

Formalization targets

Goal: Theorem 2 (p. 2643)

For a risk measure ρ\rhoρ, the following are equivalent:

  1. ρ\rhoρ is star-shaped;
  2. there is a set Γ\GammaΓ of convex risk measures with
ρ(X)=min⁡γ∈Γγ(X)for all X∈X;\rho(X)=\min_{\gamma\in\Gamma}\gamma(X)\qquad\text{for all }X\in\mathcal X;ρ(X)=γ∈Γmin​γ(X)for all X∈X;
  1. there is a family {Aβ}β∈B\{\mathcal A_\beta\}_{\beta\in B}{Aβ​}β∈B​ of convex acceptance sets with
ρ(X)=min⁡{m∈R∣X−m∈Aβ for some β∈B}for all X∈X.\rho(X)=\min\{m\in\mathbb R\mid X-m\in\mathcal A_\beta\text{ for some }\beta\in B\}\qquad\text{for all }X\in\mathcal X.ρ(X)=min{m∈R∣X−m∈Aβ​ for some β∈B}for all X∈X.

Moreover, for star-shaped ρ\rhoρ, Γ\GammaΓ may be taken to be the set of all convex risk measures γ≧ρ\gamma\geqq\rhoγ≧ρ, and the family to be their acceptance sets. The minima are attained. The goal fixes no particular Ω\OmegaΩ, X\mathcal XX or Γ\GammaΓ.

Milestones

  • Proposition 1 (p. 2642): star-shapedness is equivalent to ρ(αX)≤αρ(X)\rho(\alpha X)\le\alpha\rho(X)ρ(αX)≤αρ(X) for α∈(0,1)\alpha\in(0,1)α∈(0,1), and to the risk-to-exposure ratio β↦ρ(βX)/β\beta\mapsto\rho(\beta X)/\betaβ↦ρ(βX)/β being increasing on (0,∞)(0,\infty)(0,∞).
  • Eq. (7) (p. 2642): ρ(X)=min⁡{m∣X−m∈Aρ}\rho(X)=\min\{m\mid X-m\in\mathcal A_\rho\}ρ(X)=min{m∣X−m∈Aρ​}.
  • Proposition 2 (p. 2642): ρ\rhoρ is star-shaped iff Aρ\mathcal A_\rhoAρ​ is star-shaped iff ρ=ρA\rho=\rho_{\mathcal A}ρ=ρA​ for a star-shaped acceptance set A\mathcal AA.
  • Theorem 1 (p. 2643), in four parts: the infimum, supremum, μ\muμ-average and inf-convolution of star-shaped risk measures are star-shaped risk measures.
  • Proposition 3 (p. 2642): for subadditive risk measures, star-shaped, positively homogeneous and convex coincide.
  • Theorem 2, positively homogeneous case: the same equivalence with "positively homogeneous", "coherent risk measures" and "coherent acceptance sets".
  • Corollary 1 (p. 2645): inf⁡X∈Yρ(X)=inf⁡γ∈Γinf⁡X∈Yγ(X)\inf_{X\in\mathcal Y}\rho(X)=\inf_{\gamma\in\Gamma}\inf_{X\in\mathcal Y}\gamma(X)infX∈Y​ρ(X)=infγ∈Γ​infX∈Y​γ(X) for any Y⊆X\mathcal Y\subseteq\mathcal XY⊆X.

Significance

Theorem 2 identifies star-shaped risk measures as exactly the lower envelopes of convex risk measures. Consequences drawn in the paper: minimizing a star-shaped risk measure over a set of positions reduces to a family of convex risk-minimization problems (Corollary 1, Proposition 6), each convex risk measure in the envelope carries its dual representation (Proposition 5), and VaR-type measures inherit a tractable structure without being convex. The positively homogeneous case gives the analogous statement for VaR-like measures in terms of coherent ones, generalizing Föllmer–Schied Proposition 4.47.

The paper proves these results; the mission adds a machine-checked proof on a general space of bounded positions, with the attainment of every minimum made explicit. No formalization of star-shaped risk measures is known to exist. The platform mission Coherent Measures of Risk formalizes the Artzner et al. axioms on finitely many states with a gain convention; its definitions are not reused here. The definitions of this mission (risk measures on a space of bounded functions, acceptance sets, the aggregation operations) are reusable by any later development of monetary risk measures without a reference probability.

Difficulty

The equivalence (2)⇔(3) and the direction (2)⇒(1) reduce to closure properties of the class; the content is (1)⇒(2) together with the "Moreover" clause. The obvious first idea, taking the convex hull or convex envelope of ρ\rhoρ or of Aρ\mathcal A_\rhoAρ​, fails: the convex hull of Aρ\mathcal A_\rhoAρ​ generates a convex risk measure below ρ\rhoρ, not above it, and a single convex risk measure cannot equal a non-convex ρ\rhoρ. What is needed is, for each position, a convex risk measure that dominates ρ\rhoρ everywhere and touches it at that position, and it must be monotone, translation invariant and normalized, not merely a convex functional. Attainment of the minimum, rather than an infimum, is part of the claim.

Formalization scope

  • X\mathcal XX is any Submodule ℝ (Ω → ℝ) containing the constants whose elements are bounded, bundled as PositionSpace Ω. It is not specialised to all bounded functions, and no measurability or probability is imposed; positive values are losses.
  • "min" is always IsLeast (attained). The acceptance-set axiom sup⁡{m∣m∈A}=0\sup\{m\mid m\in\mathcal A\}=0sup{m∣m∈A}=0 is IsLUB, not sSup … = 0. ρA\rho_{\mathcal A}ρA​ uses the real sInf, which is genuine for acceptance sets on bounded positions.
  • Every γ∈Γ\gamma\in\Gammaγ∈Γ is a full risk measure: monotone, translation invariant, normalized and convex. A representation of ρ\rhoρ as a minimum of arbitrary, non-normalized convex functionals holds for every monotone translation-invariant map and is not this theorem; such a formalization is ruled out.
  • The family in (3) is a set of subsets of X\mathcal XX, with no finiteness or nonemptiness assumption.
  • A coherent acceptance set is convex and closed under multiplication by every t>0t>0t>0.
  • Theorem 1 adds the hypotheses the page leaves implicit: a nonempty index set for supremum and infimum; the power-set σ-algebra and a countably additive probability measure for the average (the paper's proof also covers capacities with Choquet integrals, which are not stated here); n≥1n\ge1n≥1 and the normality condition (10) for the inf-convolution.
  • Corollary 1 computes infima in the extended reals, so the set Y\mathcal YY may be empty and the infima may be −∞-\infty−∞.

Contributions welcome: proofs of any milestone, and in particular general lemmas on risk measures on a space of bounded functions (the bounds inf⁡X≤ρ(X)≤sup⁡X\inf X\le\rho(X)\le\sup XinfX≤ρ(X)≤supX, properties of ρA\rho_{\mathcal A}ρA​, convexity of ρA\rho_{\mathcal A}ρA​ for convex A\mathcal AA), which are reusable across risk-measure missions.

Selected references

  • E. Castagnoli, G. Cattelan, F. Maccheroni, C. Tebaldi, R. Wang, Star-Shaped Risk Measures, Operations Research 70(5):2637–2654, 2022. https://doi.org/10.1287/opre.2022.2303
  • P. Artzner, F. Delbaen, J.-M. Eber, D. Heath, Coherent Measures of Risk, Mathematical Finance 9(3):203–228, 1999. https://doi.org/10.1111/1467-9965.00068
  • H. Föllmer, A. Schied, Convex measures of risk and trading constraints, Finance and Stochastics 6(4):429–447, 2002. https://doi.org/10.1007/s007800200072
  • M. Frittelli, E. Rosazza Gianin, Putting order in risk measures, Journal of Banking & Finance 26(7):1473–1486, 2002. https://doi.org/10.1016/S0378-4266(02)00270-4
  • H. Föllmer, A. Schied, Stochastic Finance: An Introduction in Discrete Time, 4th ed., De Gruyter, 2016. https://doi.org/10.1515/9783110463453
14 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XVI: Piecewise Deterministic Markov Decision ProcessesTextbook

Motivation

Every mission in this series so far has treated a control problem that already lives in discrete time: a decision maker observes a state, chooses an action, and the process moves to a new state at the next integer time step. Many real systems evolve in continuous time instead — a machine that runs deterministically until it randomly breaks down and is repaired into a new condition, an inventory that drains continuously until a random demand arrives, a population that grows deterministically between random catastrophic events. Chapter 8 of Bäuerle and Rieder's Markov Decision Processes with Applications to Finance (Springer, 2011) shows that an entire class of such continuous-time control problems — Piecewise Deterministic Markov Decision Processes, where the state moves along a deterministic, controlled flow between randomly-timed jumps to a new state — can be solved by exactly the discrete-time machinery this book's series has already built, once the problem is re-expressed as a Markov Decision Model at the jump times themselves. This mission covers that embedding and its consequences (§8.2), and a simpler, discrete-state special case, the continuous-time Markov Decision Chain, treated with both an infinite and a finite time horizon (§8.3).

Setting

A Piecewise Deterministic Markov Decision Model (Definition 8.1.1) consists of a Borel state space EEE, a Borel control space UUU, a deterministic drift μ(x,u)\mu(x,u)μ(x,u) governing the flow φtα(x)\varphi^\alpha_t(x)φtα​(x) between jumps, a Poisson jump clock of rate λ\lambdaλ, a kernel QQQ giving the distribution of the post-jump state, a reward rate rrr, and a discount rate β\betaβ. A control is a whole measurable function α:R≥0→U\alpha : \mathbb R_{\ge0} \to Uα:R≥0​→U fixed at each jump time and applied until the next one — so the "action space" of the embedded discrete-time problem is itself a function space, a genuinely new technical wrinkle this book's earlier chapters never face. Embedding at the jump times produces a discrete-time Markov Decision Model (E,A,Q′,r′)(E,A,Q',r')(E,A,Q′,r′) whose reward and kernel are themselves integrals of the original data against the flow (Eqs. (8.4)-(8.5)); Chapter 7's infinite-horizon existence theory, already developed for a general Borel state space, applies directly to this embedded model once its own compactness and semicontinuity hypotheses are checked. Checking them forces a further enlargement of the control space to the relaxed controls RRR — measurable functions into probability measures on UUU rather than UUU itself — which is compact in a suitable topology where the space of literal control functions is not.

Formalization targets

The goal, Theorem 8.2.6, is the chapter's central existence result: given a continuous upper bounding function with the discrete embedded model's own contraction-type condition and a package of continuity/compactness assumptions, the value function of the model embedded with relaxed controls is bounded, upper semicontinuous, and a genuine fixed point of the maximal- reward operator, and an optimal relaxed Markov policy exists. The milestones build up to it and extend past it: Theorem 8.2.1 establishes the foundational fact that the continuous-time expected reward of the original process equals the discrete-time embedded model's own value — the correspondence every other result in the chapter relies on; Lemma 8.2.5 is the technical semicontinuity-preservation step the goal's proof needs; Theorem 8.2.7 upgrades the goal's relaxed optimal policy to a genuine, nonrelaxed one under an uncontrolled-flow or convexity condition; Theorem 8.2.8 gives the classical Hamilton-Jacobi-Bellman verification technique as an alternative, differential route to the same value function. Section 8.3's continuous-time Markov Decision Chain — the same theory specialized to a countable state space, transition rates in place of a kernel, and an uncontrolled flow — is covered for both an infinite horizon (Theorem 8.3.1) and, the more finance-relevant case, a finite horizon with a terminal reward (Theorems 8.3.2-8.3.3).

Significance

Piecewise Deterministic Markov Processes have no substrate anywhere in Mathlib or on the platform, and this mission's content is a genuine method, not just a specialization of existing results: it shows how to reduce an entire continuous-time control problem to the discrete-time theory already available, at the cost of enlarging the state of the discrete embedded problem's own data (which becomes an integral against a whole flow, not a pointwise value) and enlarging the control space when compactness is needed for existence. This mission is careful to keep two distinctions the book itself insists on separate: relaxed versus nonrelaxed controls (Theorem 8.2.6 produces only the former; recovering the latter is Theorem 8.2.7's own, harder, conditional content), and the general Piecewise Deterministic model of §8.1-8.2 versus the simpler, discrete-state Markov Decision Chain of §8.3, which is a genuinely different structure (sums over a countable state space rather than integrals against a controlled flow), not an instance of the general model specialized after the fact.

Difficulty

The central formalization challenge is representing the continuous-time expected reward Vπ(x)V^\pi(x)Vπ(x) (Eq. (8.2)) faithfully, since the book itself only asserts the existence of a probability space carrying the jump-time/post-jump-state process with a specified conditional law, citing general marked-point-process theory rather than constructing it. This mission builds that probability-space data directly — via Mathlib's conditional expectation, conditioning on the current post-jump state — rather than treating VπV^\piVπ as a bare hypothesis-only quantity, so that Theorem 8.2.1's value-equality claim is a genuine, non-vacuous correspondence between two independently-defined objects (a continuous-time path functional and a discrete-time recursion) rather than true by definitional fiat. A second, compounding difficulty is that the same correspondence must be built twice — once for the general flow-driven process (§8.2) and again, independently, for the discrete-state jump process of the finite-horizon chain (§8.3) — since the two models share no state-space structure. A third difficulty specific to Theorem 8.2.8 is that its Hamilton-Jacobi-Bellman verification argument is genuinely differential (a process generator built from a gradient, a self-referential closed-loop control solving its own ODE), unlike every other result in this chapter, which works through the discrete-time embedding alone.

Formalization scope

The book's own topology on the control-function space AAA (the coarsest making certain integrals measurable) and the Young topology on the relaxed-control space RRR (which the book cites as making RRR separable, metric and compact, without reconstructing it) are not rebuilt from scratch; continuity/compactness hypotheses that need a topology on these spaces are stated directly against the pointwise/product topology on the underlying function types, a faithful but representationally simpler stand-in documented in MODERATION_NOTES.md. The embedded kernel Q′Q'Q′ (Eqs. (8.4), (8.7)) is bundled as data satisfying its own defining integral identity rather than literally constructed as a mixture of pushforward measures — a routine but heavy argument that would add no mathematical content beyond the formula itself. This mission's own goal (Theorem 8.2.6) explicitly produces a relaxed-control optimal policy, not a nonrelaxed one: stating it with a UUU-valued policy instead would silently substitute Theorem 8.2.7's strictly harder, conditionally-true conclusion for Theorem 8.2.6's own unconditional one, exactly the trivializing formalization this chapter's own structure warns against.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • M. H. A. Davis, Markov Models and Optimization, Chapman & Hall, 1993 (the standard reference for Piecewise Deterministic Markov Processes, cited by the book for extensions of this chapter's basic model).
  • A. A. Yushkevich, "On reducing a jump controllable Markov model to a model with discrete time", Theory of Probability and its Applications, 1980 (the topology on the control-function space AAA cited by Definition 8.1.1's own construction).
  • H. J. Kushner and P. G. Dupuis, Numerical Methods for Stochastic Control Problems in Continuous Time, 2nd ed., Springer, 2001 (the Young topology and the Chattering Theorem, cited by Remark 8.2.3).
  • N. Bäuerle and U. Rieder, "Optimal control of piecewise deterministic Markov processes with finite time horizon", in Modern Trends of Controlled Stochastic Processes: Theory and Applications, 2010 (cited for the finite-horizon extension of this chapter's model, applied in chunk 09b's Sections 9.3-9.4).
16 thms2 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchProbability·Captain: mikedeng1

Star-Shaped Risk Measures 2: law-invariant star-shaped risk measures as robustified Value-at-RiskResearch Paper

Motivation

Financial regulators and risk managers summarise the loss distribution of a position by a single number, the capital that must be held against it. The two standards in practice are Value-at-Risk (VaR), a quantile of the loss, and expected shortfall (ES), an average of the upper quantiles; ES is the standard of the Basel framework. Both depend on the position only through its probability law, a property called law invariance, which is what allows them to be estimated from data.

The axiomatic theory of risk measures, starting with Artzner, Delbaen, Eber and Heath (1999) and Föllmer and Schied (2002), centres on convex risk measures. VaR is not convex, however, and neither are its robust variants used in practice: the maximum or the median of VaR over a set of scenario models, or the benchmark-loss VaR of Bignozzi, Burzoni and Munari (2020). Castagnoli, Cattelan, Maccheroni, Tebaldi and Wang (Operations Research 70(5), 2022) propose star-shapedness as the common property of all of these measures: doubling the exposure to a risky position at least doubles the required capital. Their Section 7 identifies exactly which law-invariant risk measures are star-shaped.

Timeline:

  • 1999: Artzner et al. introduce coherent risk measures and show that ES-type measures dominate VaR (doi:10.1111/1467-9965.00068).
  • 2002: Föllmer and Schied introduce convex risk measures.
  • 2020: Mao and Wang characterise the risk measures consistent with second-order stochastic dominance as infima of ES-based functionals.
  • 2022: Castagnoli et al. prove Theorem 5, the corresponding characterisation of star-shaped law-invariant risk measures through VaR.

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space with PPP atomless: every event of positive probability contains an event of strictly smaller positive probability. A position is a bounded measurable function X:Ω→RX:\Omega\to\mathbb RX:Ω→R, read as a loss: X(ω)>0X(\omega)>0X(ω)>0 is money lost in state ω\omegaω. The positions form a linear space X\mathcal XX that contains the constants and carries the pointwise order X≧YX\geqq YX≧Y.

A risk measure is a function ρ:X→R\rho:\mathcal X\to\mathbb Rρ:X→R that is monotone (X≧Y⇒ρ(X)≥ρ(Y)X\geqq Y\Rightarrow\rho(X)\ge\rho(Y)X≧Y⇒ρ(X)≥ρ(Y)), translation invariant (ρ(X−m)=ρ(X)−m\rho(X-m)=\rho(X)-mρ(X−m)=ρ(X)−m for real mmm) and normalized (ρ(0)=0\rho(0)=0ρ(0)=0). It is star-shaped if ρ(λX)≥λρ(X)\rho(\lambda X)\ge\lambda\rho(X)ρ(λX)≥λρ(X) for all XXX and all λ>1\lambda>1λ>1, and law-invariant if XXX and YYY with the same law under PPP satisfy ρ(X)=ρ(Y)\rho(X)=\rho(Y)ρ(X)=ρ(Y). Its acceptance set is Aρ={X∣ρ(X)≤0}\mathcal A_\rho=\{X\mid\rho(X)\le 0\}Aρ​={X∣ρ(X)≤0}. A set SSS in a vector space is star-shaped if λs∈S\lambda s\in Sλs∈S whenever s∈Ss\in Ss∈S and λ∈[0,1]\lambda\in[0,1]λ∈[0,1].

For α∈(0,1)\alpha\in(0,1)α∈(0,1) the Value-at-Risk of XXX is

VaRα(X)=inf⁡{x∈R:P(X>x)≤1−α}.\mathrm{VaR}_\alpha(X)=\inf\{x\in\mathbb R : P(X>x)\le 1-\alpha\}.VaRα​(X)=inf{x∈R:P(X>x)≤1−α}.

Write FX(x)=P(X≤x)F_X(x)=P(X\le x)FX​(x)=P(X≤x). A loss XXX first-order stochastically dominates YYY, written X≿FSDYX\succsim_{\mathrm{FSD}}YX≿FSD​Y, if FX≥FYF_X\ge F_YFX​≥FY​ pointwise, so XXX is the smaller loss.

Formalization targets

Goal: Theorem 5, (i) ⇔ (ii)

For a function ρ:X→R\rho:\mathcal X\to\mathbb Rρ:X→R the following are equivalent:

  1. ρ\rhoρ is a star-shaped and law-invariant risk measure;
  2. there is a star-shaped set G\mathcal GG of increasing functions g:(0,1)→Rg:(0,1)\to\mathbb Rg:(0,1)→R with g(0+)≤0g(0+)\le 0g(0+)≤0 such that
ρ(X)=inf⁡g∈G sup⁡α∈(0,1) {VaRα(X)−g(α)}X∈X.(25)\rho(X)=\inf_{g\in\mathcal G}\ \sup_{\alpha\in(0,1)}\ \{\mathrm{VaR}_\alpha(X)-g(\alpha)\}\qquad X\in\mathcal X.\tag{25}ρ(X)=g∈Ginf​ α∈(0,1)sup​ {VaRα​(X)−g(α)}X∈X.(25)

The goal fixes neither G\mathcal GG nor any constant. The paper's "Moreover" clause, closure of the class under the operations of Theorem 1, is excluded: its proof is a citation of Liu et al. (2020, Theorem 2) plus "the rest is straightforward".

Milestones

  • Eq. (7): ρ(X)=min⁡{m∈R∣X−m∈Aρ}\rho(X)=\min\{m\in\mathbb R\mid X-m\in\mathcal A_\rho\}ρ(X)=min{m∈R∣X−m∈Aρ​} for every risk measure.
  • Proposition 2: for a risk measure ρ\rhoρ, the following are equivalent: ρ\rhoρ is star-shaped; Aρ\mathcal A_\rhoAρ​ is star-shaped; ρ=ρA\rho=\rho_{\mathcal A}ρ=ρA​ for a star-shaped acceptance set A\mathcal AA.
  • Eq. (A.1): FX≥FYF_X\ge F_YFX​≥FY​ if and only if VaRα(X)≤VaRα(Y)\mathrm{VaR}_\alpha(X)\le\mathrm{VaR}_\alpha(Y)VaRα​(X)≤VaRα​(Y) for all α∈(0,1)\alpha\in(0,1)α∈(0,1).
  • FSD consistency (proof of Theorem 5): if PPP is atomless and ρ\rhoρ is monotone and law-invariant, then X≿FSDY⇒ρ(X)≤ρ(Y)X\succsim_{\mathrm{FSD}}Y\Rightarrow\rho(X)\le\rho(Y)X≿FSD​Y⇒ρ(X)≤ρ(Y).

Significance

Theorem 5 says that the star-shaped law-invariant risk measures are exactly the robustifications of VaR: each benchmark ggg in G\mathcal GG gives a capital requirement sup⁡α{VaRα(X)−g(α)}\sup_\alpha\{\mathrm{VaR}_\alpha(X)-g(\alpha)\}supα​{VaRα​(X)−g(α)}, and ρ\rhoρ takes the most favourable benchmark. The class contains VaR, ES, their scenario-based maxima and the benchmark-loss VaR. The theorem parallels Theorem 4 of the same paper, derived from Mao and Wang (2020), in which ES replaces VaR and SSD-consistency replaces law invariance. Together the two results separate the two classes: VaR is star-shaped and law-invariant but not SSD-consistent. Section 7 also records that star-shaped law-invariant measures are in general not minima of law-invariant convex risk measures, which is why a representation specific to VaR is needed.

On the formal side, the result is proved in the paper; no machine-checked proof is known. The mission yields a Lean library of law-invariant risk measures on bounded measurable positions, a quantile-based Value-at-Risk with its basic order properties, and the FSD-consistency of monotone law-invariant functionals on atomless spaces. That last statement is the probabilistic core that other law-invariant representation theorems reuse.

Difficulty

The direction (ii) ⇒ (i) is a direct computation. The direction (i) ⇒ (ii) rests on FSD consistency. The obvious argument writes X≿FSDYX\succsim_{\mathrm{FSD}}YX≿FSD​Y as X≤YX\le YX≤Y and applies monotonicity, but first-order dominance compares only laws, and two positions ordered in law need not be ordered state by state. One must construct positions with the laws of XXX and YYY that are ordered pointwise, and this uses atomlessness in an essential way: on a space with atoms, the construction can fail. The remaining steps are bookkeeping of extended-real infima and suprema, including levels α\alphaα near 000 where ggg may diverge.

Formalization scope

Positions are the bounded measurable functions Ω→R\Omega\to\mathbb RΩ→R (a Submodule ℝ (Ω → ℝ), definition Positions) with the pointwise order, rather than equivalence classes in L∞(Ω,F,P)L^\infty(\Omega,\mathcal F,P)L∞(Ω,F,P). For a law-invariant ρ\rhoρ the two readings agree: almost surely equal positions have the same law, and a position that dominates another almost surely has a pointwise modification with the same law that dominates it everywhere. Atomlessness is defined locally (IsAtomless), because Mathlib's NoAtoms only states that singletons are null, which is weaker. Law invariance compares push-forward measures P.map X; measurability is part of Positions, so these are never degenerate.

VaR is an sInf of reals and is applied only to bounded positions at levels in (0,1)(0,1)(0,1), where the infimum is over a nonempty set that is bounded below. In (25) each function ggg has domain exactly (0,1)(0,1)(0,1), "increasing" means weakly increasing, and g(0+)≤0g(0+)\le 0g(0+)≤0 is stated as inf⁡α∈(0,1)g(α)≤0\inf_{\alpha\in(0,1)}g(\alpha)\le 0infα∈(0,1)​g(α)≤0 in the extended reals. Both sides of (25) are compared in the extended reals, since the inner supremum can be +∞+\infty+∞. The minimum in Eq. (7) is an attained minimum (IsLeast), and the supremum condition on acceptance sets is a least upper bound (IsLUB).

These choices rule out the trivialising formalizations of (25). A real-valued supremum would read an unbounded supremum as 000. Dropping monotonicity of ggg or the condition g(0+)≤0g(0+)\le 0g(0+)≤0 describes a larger class that includes non-normalized functionals. Allowing G=∅\mathcal G=\emptysetG=∅ is excluded because the left side of (25) is a real number and the right side would be +∞+\infty+∞.

The following are not part of the mission: the "Moreover" clause of Theorem 5, Theorem 4 (its main direction is Mao and Wang 2020, Theorem 3.1), and Proposition 7 (ES as the smallest SSD-consistent risk measure dominating VaRα\mathrm{VaR}_\alphaVaRα​), which would need second-order dominance and ES as additional definitions.

Reusable infrastructure: VaR on bounded measurable functions and its homogeneity and translation properties; the equivalence (A.1); existence of a uniform random variable on an atomless probability space and the quantile coupling it provides. Proofs of these as separate lemmas are welcome.

Selected references

  • E. Castagnoli, G. Cattelan, F. Maccheroni, C. Tebaldi, R. Wang, Star-Shaped Risk Measures, Operations Research 70(5):2637–2654, 2022. https://doi.org/10.1287/opre.2022.2303
  • P. Artzner, F. Delbaen, J.-M. Eber, D. Heath, Coherent Measures of Risk, Mathematical Finance 9(3):203–228, 1999. https://doi.org/10.1111/1467-9965.00068
  • H. Föllmer, A. Schied, Stochastic Finance: An Introduction in Discrete Time, 4th ed., De Gruyter, 2016. https://doi.org/10.1515/9783110463453
  • T. Mao, R. Wang, Risk Aversion in Regulatory Capital Principles, SIAM Journal on Financial Mathematics 11(1):169–200, 2020 (cited as Mao and Wang 2020 in the source paper).
  • V. Bignozzi, M. Burzoni, C. Munari, Risk Measures Based on Benchmark Loss Distributions, Journal of Risk and Insurance, 2020 (cited as Bignozzi et al. 2020 in the source paper).
7 thms3 active usersReviewed
CombinatoricsConvex OptimizationDiscrete Geometry+2·Captain: Shuze Chen

Discrete Convex Analysis XXI: The Exchange Axiom as Local OptimalityTextbook

Motivation

Convexity on the integer lattice cannot be defined by the classical secant-line inequality alone: a function can be midpoint-convex along every line and still admit no useful global optimality theory, because integer points off a chosen line are invisible to it. M-convex functions, introduced by Murota, resolve this by replacing the secant condition with an exchange axiom directly generalizing the basis-exchange property of matroids and the convex-hull structure of network flows: a function on the integer lattice is M-convex if, whenever two points can be improved by moving one coordinate up and a compensating coordinate down, at least one such move weakly improves the sum of the two function values. This single axiom turns out to be equivalent to several strikingly different-looking properties — invariance under a wide family of domain operations, supermodularity in the M♮ (translation-invariant) case, and, most importantly, a local-to-global optimality principle: a point is a global minimizer of an M-convex function if and only if no single coordinate exchange improves it. This mission develops the algebraic core of that theory — the exchange axiom's basic consequences, its equivalent local and dynamic reformulations, and the operations that preserve it — building toward the theorem that recasts M-convexity itself as an algorithmically meaningful local-search guarantee.

Companion mission 06-mconvex-functions-i (Discrete Convex Analysis V) covers this chapter's own primary line of development: the equivalence of M-convexity and M♮-convexity with their respective exchange axioms (Theorem 6.2), the M-optimality criterion (Theorem 6.26), a minimizer-cut lemma (Theorem 6.28), and the M-proximity theorem (Theorem 6.37, its goal). This mission builds the vocabulary those results also need (redeclared here, since sibling drafts cannot yet import one another) and proves the results that chapter leaves for a second pass: the domain structure of M- and M♮-convex functions, worked examples (quadratic forms, quasi-separable functions), the operations that preserve M-convexity, supermodularity of the M♮-convex case, the descent-direction property, and — this mission's goal — the equivalence of the exchange axiom with a dynamic sequential-improvement property.

Setting

Fix a finite ground set VVV. A function f:ZV→R∪{+∞}f : \mathbb Z^V \to \mathbb R \cup \{+\infty\}f:ZV→R∪{+∞} with nonempty effective domain dom⁡f\operatorname{dom} fdomf is M-convex if it satisfies the exchange axiom (M-EXC[Z]): for x,y∈dom⁡fx, y \in \operatorname{dom} fx,y∈domf and u∈supp⁡+(x−y)u \in \operatorname{supp}^+(x-y)u∈supp+(x−y) (coordinates where xxx exceeds yyy), there is v∈supp⁡−(x−y)v \in \operatorname{supp}^-(x-y)v∈supp−(x−y) with

f(x)+f(y)≥f(x−χu+χv)+f(y+χu−χv).f(x) + f(y) \ge f(x - \chi_u + \chi_v) + f(y + \chi_u - \chi_v).f(x)+f(y)≥f(x−χu​+χv​)+f(y+χu​−χv​).

Writing f~(x0,x)=f(x)\tilde f(x_0, x) = f(x)f~​(x0​,x)=f(x) when x0=−x(V)x_0 = -x(V)x0​=−x(V) and +∞+\infty+∞ otherwise (a lift to one extra coordinate), fff is M♮^\natural♮-convex if f~\tilde ff~​ is M-convex; M♮-convexity is a genuine generalization of M-convexity (every M-convex function is M♮-convex, but not conversely) and coincides with it exactly when dom⁡f\operatorname{dom} fdomf lies on a single hyperplane. The linear-weighted function f[p](x)=f(x)−⟨p,x⟩f[p](x) = f(x) - \langle p, x \ranglef[p](x)=f(x)−⟨p,x⟩ (for p∈RVp \in \mathbb R^Vp∈RV) is the standard device for testing local optimality under an arbitrary reweighting.

Formalization targets

Goal: the exchange axiom as sequential improvement

f is M-convex  ⟺  ∀p∈RV, ∀x,y∈dom⁡f, f[p](x)>f[p](y)  ⟹  f[p](x)>min⁡u∈supp⁡+(x−y) min⁡v∈supp⁡−(x−y)f[p](x−χu+χv),f \text{ is M-convex} \iff \forall p \in \mathbb R^V,\ \forall x, y \in \operatorname{dom} f,\ f[p](x) > f[p](y) \implies f[p](x) > \min_{u \in \operatorname{supp}^+(x-y)}\ \min_{v \in \operatorname{supp}^-(x-y)} f[p](x - \chi_u + \chi_v),f is M-convex⟺∀p∈RV, ∀x,y∈domf, f[p](x)>f[p](y)⟹f[p](x)>u∈supp+(x−y)min​ v∈supp−(x−y)min​f[p](x−χu​+χv​),

with the analogous statement for M♮-convexity (Theorem 6.24). This is the weakest stable form: it makes no reference to a specific algorithm, only to the existence of an improving single exchange whenever the current point is suboptimal under any linear reweighting — a property a faster algorithm could exploit without invalidating the characterization itself.

Supporting structural targets

Eleven further results build the vocabulary and toolkit this goal draws on: the domain structure of M-convex and M♮-convex functions (Propositions 6.1, 6.7), the equivalence of the exchange axiom with a local, bounded-distance version (Theorem 6.4), worked examples establishing M-convexity for quadratic forms, univariate, conservation-law, and quasi-separable functions (Propositions 6.8-6.9), the domain and range operations preserving M-convexity (Theorem 6.13, Proposition 6.14), supermodularity of the M♮-convex case (Theorem 6.19), the descent-direction property (Proposition 6.23) that Theorem 6.24 generalizes, and a discrete subgradient inequality (Proposition 6.25).

Significance

Theorem 6.24 is the bridge between the static exchange axiom (a property of function values at pairs of points) and the dynamic behavior of local-search algorithms: it says a greedy single-coordinate-exchange step, applied to any linearly reweighted version of an M-convex function, always finds a strict improvement when one exists. This is exactly the guarantee that makes steepest-descent-type algorithms for M-convex function minimization correct, and it is the theorem chapter 10's algorithmic analysis (Schrijver-type methods) relies on implicitly whenever it argues that local exchange steps make global progress. The descent-direction property (Proposition 6.23) is the special case p=0p=0p=0, isolating the core combinatorial fact before the reweighting machinery is added. The operations catalog (Theorem 6.13) is the practical toolkit that lets later chapters build complex M-convex functions (network flow costs, matroid rank functions composed with linear maps) from simple pieces without re-verifying the exchange axiom from scratch each time.

None of these results are open — they are Murota's own systematic development of the exchange- axiom theory, with worked examples drawn from classical quadratic and separable function theory. What this mission contributes is a faithful, machine-checked formal statement of each, sharing the Lean vocabulary (MExchangeAxiom, MNaturalConvex, LinearWeight) the rest of the Discrete Convex Analysis series builds on; no comparable formalization exists on the platform (see Formalization scope).

Difficulty

The forward direction of Theorem 6.24 (M-convex   ⟹  \implies⟹ sequential improvement) follows in one step from Proposition 6.23 applied to f[p]f[p]f[p], itself M-convex by Theorem 6.13(3) — routine once those two pieces are in hand. The converse is the substantial direction: it must derive the full static exchange axiom from a property that only ever exhibits some improving exchange at some linear weighting, for every pair of suboptimal points — the proof constructs an explicit adversarial weighting ppp designed so that failure of the local exchange step at that specific ppp forces the domain itself to be M-convex (via Theorem 4.3) and then forces the local exchange axiom (M-EXCloc[Z]) via a bipartite-matching argument on the coordinates that differ, finally invoking Theorem 6.4 to lift locality to the full exchange axiom. No shortcut bypasses this two-stage reduction (domain structure, then local exchange) — attempting to verify (M-EXC[Z]) directly from (M-SI[Z]) without first pinning down that dom⁡f\operatorname{dom} fdomf is M-convex fails because the exchange axiom's own statement presupposes a well-structured domain.

Formalization scope

Ground-set elements are a Fintype V with DecidableEq; functions are (V → ℤ) → WithTop ℝ. SuppPos/SuppNeg are Finset V (not Set V), matching how the (M-SI[Z])/(M♮-SI[Z]) axioms and the descent-direction property use Finset.inf, whose value on an empty index set is ⊤ — exactly the book's own stated convention for an empty minimum. No Module ℝ or ConvexOn machinery is used for WithTop ℝ-valued arithmetic; scalar actions by positive reals (PosScalarMul, Theorem 6.13(1)) and by naturals (FCheck's flow coefficients, Proposition 6.25) are built directly from the native order and AddMonoid structure. No numeric constants are hard-coded anywhere in this mission (rule 7 is vacuous); Proposition 6.8's quadratic-form conditions are stated with the book's own literal coefficients (000, and the min/≥ structure of Eq. (6.25)-(6.28)), not a special case. Theorem 6.13's parts (7) (aggregation) and (8) (integer infimal convolution) are not restated here since the book itself proves them only later via Chapter 9's network-transformation machinery — see the Difficulty note and MODERATION_NOTES.md; this is not a trivializing omission, since the six operations that are included already exercise every domain- and range-transformation technique this mission's goal needs. This mission's definitions (MExchangeAxiom, MNaturalConvex, CharVec, DomZ, SuppPos, SuppNeg, CharVecOpt) are redeclared from chunk 06-mconvex-functions-i rather than imported, since sibling drafts in this series cannot yet reference one another. Contributions completing any of the twelve sorrys are welcome; the goal's converse direction and Theorem 6.13's operations are the two with the most independent proof content.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • K. Murota, "Discrete convex analysis," Mathematical Programming, 83 (1998), pp. 313-371 (the exchange axiom and its equivalent local/dynamic reformulations).
38 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryMachine LearningOperations Research·Captain: mikedeng1

Calibrated Learning and Correlated Equilibrium II: For Almost Every Game, Limits of Calibrated Learning Are Exactly the Correlated EquilibriaResearch Paper

Motivation

A correlated equilibrium (Aumann, 1974) is a joint distribution over the players' strategy profiles from which no player gains by deviating from a recommended strategy. A central question of learning in games is which equilibria repeated play of simple, myopic rules can reach. Foster and Vohra (1997) answered it for calibrated forecasting: if each player forecasts the opponent with a calibrated rule and best-responds to the forecast, the empirical distribution of play approaches the set of correlated equilibria (their Theorem 1). That result has become a basic reference point for no-regret and calibration-based learning in games (Hart and Mas-Colell, 2000).

This mission formalizes the paper's converse. Theorem 1 says calibrated learning ends up in the correlated equilibria; the converse says it can end up at any of them, for almost every game. Together the two results characterize exactly which long-run outcomes calibrated learning with best responses can produce.

Setting

Two players choose strategies from finite sets S(1)S(1)S(1) with mmm elements and S(2)S(2)S(2) with nnn elements; player iii receives payoff ui(x,y)∈Ru_i(x,y)\in\mathbb{R}ui​(x,y)∈R and maximizes it. A game G=(u1,u2)G=(u_1,u_2)G=(u1​,u2​) is a pair of real m×nm\times nm×n matrices, that is, a point of R2mn\mathbb{R}^{2mn}R2mn; a set of games has measure zero if it is Lebesgue-null in R2mn\mathbb{R}^{2mn}R2mn.

A joint distribution DDD on S(1)×S(2)S(1)\times S(2)S(1)×S(2) is a correlated equilibrium if for every map Φ:S(1)→S(1)\Phi:S(1)\to S(1)Φ:S(1)→S(1), ∑x,yD(x,y)u1(Φ(x),y)≤∑x,yD(x,y)u1(x,y)\sum_{x,y}D(x,y)u_1(\Phi(x),y)\le\sum_{x,y}D(x,y)u_1(x,y)∑x,y​D(x,y)u1​(Φ(x),y)≤∑x,y​D(x,y)u1​(x,y), and symmetrically for player 2. π(G)\pi(G)π(G) is the set of correlated equilibria.

Play is repeated in rounds t=0,1,2,…t=0,1,2,\dotst=0,1,2,…. Before each round, player 1 issues a forecast f1(t)f_1(t)f1​(t), a probability vector over S(2)S(2)S(2), produced by a deterministic forecasting rule from the history of play so far; player 2 likewise forecasts player 1. For a forecast sequence fff and the opponent's plays zzz, let N(p,t)N(p,t)N(p,t) be the number of the first ttt rounds with forecast ppp, and ρ(p,j,t)\rho(p,j,t)ρ(p,j,t) the fraction of those rounds in which the opponent played jjj (zero if N(p,t)=0N(p,t)=0N(p,t)=0). The forecasts are calibrated if for every jjj

∑p∣ρ(p,j,t)−pj∣ N(p,t)t ⟶ 0(t→∞).\sum_p |\rho(p,j,t)-p_j|\,\frac{N(p,t)}{t}\ \longrightarrow\ 0 \qquad (t\to\infty).p∑​∣ρ(p,j,t)−pj​∣tN(p,t)​ ⟶ 0(t→∞).

Each player then plays RiR_iRi​ of its forecast, where the best-reply function RiR_iRi​ picks a best response to every forecast and does not depend on the round. Dt(x,y)D_t(x,y)Dt​(x,y) is the fraction of the first ttt rounds in which (x,y)(x,y)(x,y) was played.

λ(G)\lambda(G)λ(G), the set of limit points of calibrated forecasts, consists of the DDD for which some best-reply functions R1,R2R_1,R_2R1​,R2​ and some calibrated forecasting rules make Dt(x,y)→D(x,y)D_t(x,y)\to D(x,y)Dt​(x,y)→D(x,y) for all (x,y)(x,y)(x,y).

Formalization targets

Goal: Theorem 2 (p. 47)

for Lebesgue-almost every G∈R2mn:λ(G)=π(G).\text{for Lebesgue-almost every } G\in\mathbb{R}^{2mn}:\qquad \lambda(G)=\pi(G).for Lebesgue-almost every G∈R2mn:λ(G)=π(G).

Milestones

  1. λ(G)⊆π(G)\lambda(G)\subseteq\pi(G)λ(G)⊆π(G) for every game (Theorem 1 restated, p. 46).
  2. Every joint distribution DDD is the limiting empirical distribution of a deterministic play sequence supported on {D>0}\{D>0\}{D>0} (p. 47).
  3. Along such a sequence the conditional forecasts p1,t=D(xt,⋅)/∑yD(xt,y)p_{1,t}=D(x_t,\cdot)/\sum_yD(x_t,y)p1,t​=D(xt​,⋅)/∑y​D(xt​,y) and p2,t=D(⋅,yt)/∑xD(x,yt)p_{2,t}=D(\cdot,y_t)/\sum_xD(x,y_t)p2,t​=D(⋅,yt​)/∑x​D(x,yt​) are calibrated (p. 47).
  4. In a correlated equilibrium each recommended strategy is a best response to its conditional forecast (p. 47).
  5. For almost every payoff matrix, each set Mb(x)M_b(x)Mb​(x) of forecasts to which xxx is a best response is either empty or contains a forecast in the open simplex at which xxx is the unique best response (p. 47).
  6. The perturbed forecasts pi=(1−1/i)p∗+(1/i)qp_i=(1-1/i)p^*+(1/i)qpi​=(1−1/i)p∗+(1/i)q converge to p∗p^*p∗ and keep a unique best reply (p. 48).
  7. For the 3×33\times33×3 game of p. 48, a correlated equilibrium lies outside λ(G)\lambda(G)λ(G), and λ(G)\lambda(G)λ(G) is the single point mass on (C,2)(C,2)(C,2).

Significance

Theorem 1 by itself leaves open whether calibration selects among correlated equilibria, for instance toward Nash equilibria or toward particular payoffs. Theorem 2 closes that question negatively for generic games: every correlated equilibrium is the genuine limit, not merely an accumulation point, of calibrated play with stationary best replies. As the paper notes, adding the assumption that the limit exists therefore does not refine the equilibrium reached, in contrast with Fudenberg and Kreps's result for asymptotically myopic Bayesian play. The 3×33\times33×3 example shows that the genericity hypothesis cannot be dropped.

The results are proved in the 1997 paper; none is formalized. A complete development produces a reusable layer for repeated two-player games (calibration, empirical distributions, best-reply maps, correlated equilibria), a genericity lemma for best-response regions that is useful beyond this paper, and a machine-checked version of an argument that the paper gives only in outline.

Difficulty

The natural construction takes a correlated equilibrium DDD, a play sequence realizing DDD, and forecasts equal to the conditional distributions of DDD. The forecasts are then calibrated and each played strategy is a best response. What fails is the best-reply function: two strategies x′≠x′′x'\ne x''x′=x′′ can have the same conditional forecast p∗p^*p∗, while a stationary R1R_1R1​ maps p∗p^*p∗ to only one strategy. Separating them needs forecasts near p∗p^*p∗ at which each is the unique best response, and that exists only when the best-response regions have nonempty relative interior, a property that fails on a null set of games (the 3×33\times33×3 example) and whose genericity must be proved. The perturbed forecasts are no longer exactly equal to the conditional frequencies, so calibration has to be re-established with errors that vanish along the sequence.

Formalization scope

  • Strategies are Fin m and Fin n; payoffs are real matrices; players maximize. A game is a point of (Fin m → Fin n → ℝ) × (Fin m → Fin n → ℝ) with Mathlib's volume (Lebesgue measure on R2mn\mathbb{R}^{2mn}R2mn), and "almost every" is ∀ᵐ.
  • A correlated equilibrium is the joint-distribution form of p. 44 (a joint distribution with the two deviation inequalities).
  • Forecasting rules map finite histories to probability vectors; the play is generated recursively from the rules and the best-reply functions. Best-reply functions are arbitrary stationary selections of a best response at every probability vector; they may not depend on the round, since round-dependent tie-breaking enlarges λ(G)\lambda(G)λ(G) (the matching pennies example of p. 46).
  • Rounds are 0,…,t−10,\dots,t-10,…,t−1; D0=0D_0=0D0​=0. The calibration sum runs over the forecasts issued so far, which is the paper's sum over all ppp since the other terms vanish.
  • λ(G)\lambda(G)λ(G) requires convergence of DtD_tDt​, not a subsequence. Replacing the limit by a limit point, or stating only π(G)⊆λ(G)\pi(G)\subseteq\lambda(G)π(G)⊆λ(G), does not formalize the theorem.
  • The page's sentence "Almost every game has the property that all the sets Mb(x)M_b(x)Mb​(x) have non-empty interior" is false for dominated strategies (Mb(x)=∅M_b(x)=\emptysetMb​(x)=∅ on an open set of games). Milestone 5 states the dichotomy the page's argument proves: empty or with relative interior.
  • The page prints the denominator of p2,tp_{2,t}p2,t​ as ∑xD(xt,y)\sum_{x}D(x_t,y)∑x​D(xt​,y); the mission uses ∑xD(x,yt)\sum_xD(x,y_t)∑x​D(x,yt​).

The theorems are stated from the mission's own definitions of the game, calibration and λ(G)\lambda(G)λ(G); no statement is vacuous: at m=0m=0m=0 or n=0n=0n=0 both sides of the goal are empty, and the 3×33\times33×3 example exercises every definition. Contributions welcome: proofs of the milestones in any order, the genericity lemma (Lebesgue-null sets of linear degeneracies), and the calibration estimates for the perturbed forecasts.

Selected references

  • D. P. Foster and R. V. Vohra, Calibrated learning and correlated equilibrium, Games and Economic Behavior 21 (1997), 40–55. https://doi.org/10.1006/game.1997.0595
  • R. J. Aumann, Subjectivity and correlation in randomized strategies, Journal of Mathematical Economics 1 (1974), 67–96. https://doi.org/10.1016/0304-4068(74)90037-8
  • A. P. Dawid, The well-calibrated Bayesian, Journal of the American Statistical Association 77 (1982), 605–610. https://doi.org/10.1080/01621459.1982.10477856
  • D. Fudenberg and D. M. Kreps, Learning mixed equilibria, Games and Economic Behavior 5 (1993), 320–367. https://doi.org/10.1006/game.1993.1021
  • S. Hart and A. Mas-Colell, A simple adaptive procedure leading to correlated equilibrium, Econometrica 68 (2000), 1127–1150. https://doi.org/10.1111/1468-0262.00153
14 thms3 active usersReviewed
PreviousNext

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me