Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

692 completed missions

Missions

361–380 of 692
OpenCompletedAll
🏆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
🏆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
🏆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
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XVII: Random-Horizon Consumption-Investment and the De Finetti Dividend ProblemTextbook

Motivation

An insurance company collects premia and pays claims each period; the difference is a random, signed quantity that can push the company's risk reserve up or down. At the start of every period, before that period's premia and claims are realized, the company's owners may pay themselves a dividend out of the current reserve — but once the reserve goes negative the company is ruined and stops operating for good. How should the owners time and size these payments to maximize the total expected discounted dividend paid out before ruin? This is the classical De Finetti dividend problem, one of risk theory's oldest optimization questions, and Chapter 9 §9.2 of Bäuerle and Rieder's Markov Decision Processes with Applications to Finance (Springer, 2011) solves its fully discrete-time version by identifying the exact combinatorial shape of the optimal policy — not just proving one exists. This mission also covers §9.1, a different application of Chapter 7's contracting theory to a consumption-investment problem whose planning horizon is itself random rather than fixed or infinite.

Setting

The dividend model is a stationary Markov Decision Model on the integers: the state x∈Zx \in \mathbb Zx∈Z is the current risk reserve, the action a∈{0,1,…,x}a \in \{0,1,\dots,x\}a∈{0,1,…,x} (for x≥0x \ge 0x≥0; only a=0a=0a=0 is available once ruined) is the dividend paid, the reward is r(x,a):=ar(x,a):=ar(x,a):=a, and the reserve evolves by i.i.d. increments ZnZ_nZn​ (premia minus claims) after the dividend is deducted. Because the reward is bounded by an explicit function of the state (Lemma 9.2.2), Chapter 7's general existence theory applies directly, and the value function J∞J_\inftyJ∞​ satisfies a genuine Bellman equation. The chapter's real content begins once existence is established: Theorem 9.2.3 pins down enough analytic structure of J∞J_\inftyJ∞​ and its largest-maximizing policy f∗f^*f∗ (monotonicity, a Lipschitz-type inequality, and a self-consistency identity) to drive a purely combinatorial argument that f∗f^*f∗'s shape is a finite alternation of "pay nothing" and "pay down to a fixed level" intervals — a band-policy (Definition 9.2.5). Section 9.1's random-horizon consumption-investment model reuses the same Chapter 7 machinery in a different setting: the usual (c,a)(c,a)(c,a) (consumption, portfolio) decision each period, but where the horizon itself ends after each period with probability 1−p1-p1−p, making the effective one-period discount βp\beta pβp rather than β\betaβ.

Formalization targets

The goal, Theorem 9.2.9, states the section's main claim in one sentence: the stationary policy (f∗,f∗,… )(f^*,f^*,\dots)(f∗,f∗,…) is optimal and is a band-policy. Short as it is stated, its proof assembles every earlier result of the section. The milestones supply that assembly, in order: Lemma 9.2.2 gives the model's bounding function and the resulting integrability/convergence facts; Theorem 9.2.3 gives the value-function bounds and the self-consistency identity f∗(x−f∗(x))=0f^*(x-f^*(x))=0f∗(x−f∗(x))=0; Corollary 9.2.4 checks the two sign-definite degenerate cases directly from Theorem 9.2.3; Proposition 9.2.6 proves the top threshold ξ:=sup⁡{x∣f∗(x)=0}\xi := \sup\{x \mid f^*(x)=0\}ξ:=sup{x∣f∗(x)=0} is finite (not merely well-defined) and that f∗f^*f∗ is a simple barrier above it; Proposition 9.2.8 proves the increment property below ξ\xiξ that forces each band's shape; and Theorem 9.2.10 (a postscript refinement, stated after the goal) shows the wave lengths are bounded once the reserve's downward jumps are themselves bounded, collapsing to a single barrier-policy in the extreme case. Theorem 9.1.1, the random-horizon consumption-investment verification theorem, is included as a full item but is not a milestone of this goal, since its content and proof belong to a different, disjoint model — see Difficulty.

Significance

Band-policies and the discrete-time De Finetti dividend problem have no substrate anywhere in Mathlib or on the platform, and the result is a genuinely deep, classical one: a discrete-time analogue of the continuous-time De Finetti barrier-strategy theory, obtained here by pure dynamic-programming argument rather than the stochastic-calculus techniques the continuous-time theory usually relies on. The mission is explicit that the goal's conclusion is the general band-policy structure, not the strictly weaker barrier-policy special case that Theorem 9.2.10 b) proves only under an extra hypothesis (bounded downward jumps) — stating the goal with a barrier-policy conclusion instead would understate what Theorem 9.2.9 actually proves.

Difficulty

The central formalization challenge is Definition 9.2.5's own combinatorial intricacy: a band-policy is specified by an alternating chain of thresholds 0≤c0<d1≤c1<d2≤⋯≤dn≤cn0 \le c_0 < d_1 \le c_1 < d_2 \le \dots \le d_n \le c_n0≤c0​<d1​≤c1​<d2​≤⋯≤dn​≤cn​ with a positive-width gap condition on every wave, and the policy's four piecewise branches case-split on which wave (if any) the current state falls into. This mission renders it existentially over the witnessing (n,c,d)(n,c,d)(n,c,d) rather than as one closed-form function, a faithful but more verbose transcription that avoids conflating the different branch conditions. A second difficulty is Proposition 9.2.6's own finiteness claim: ξ\xiξ is a supremum over a subset of N0\mathbb N_0N0​ that could, in principle, be unbounded, and Mathlib's convention for sSup over the naturals returns a finite junk value (000) even for an unbounded set — using it directly would silently trivialize "ξ<∞\xi<\inftyξ<∞" into a claim that is true regardless of the proposition's actual mathematical content. This mission instead states the proposition by exhibiting the finite value of ξ\xiξ directly, so that "ξ\xiξ is finite" survives as genuine content that the theorem's proof must establish. A third difficulty is scope: Theorem 9.1.1's random-horizon consumption-investment model shares no state space, action space, or definitions with the dividend model of the goal, despite both appearing in this chunk's assigned page range; it is formalized as a genuine application of a locally-restated copy of Chapter 7's contracting theory, but is excluded from the milestone list proper since it plays no role in the goal's own proof.

Formalization scope

The dividend model's transition law is built from Mathlib's PMF (probability mass function) type on Z\mathbb ZZ, which supplies the "probabilities sum to one" fact automatically rather than as a separate hypothesis. J_\infty, \delta, and every finite-horizon value function throughout this mission use this whole book series' Filter.limsup-of-truncations convention for infinite-horizon reward, restated locally (own namespace copy, per this series' file-ownership boundary) from chunk 07a's identical apparatus rather than imported. The consumption-investment model of §9.1 is formalized with the number of risky assets ddd as an explicit type parameter and its admissible-portfolio and domain restrictions as separate, citable fields rather than folded silently into the reward or transition definitions.

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.
  • B. De Finetti, "Su un'impostazione alternativa della teoria collettiva del rischio", Transactions of the XVth International Congress of Actuaries, 1957 (the original continuous-time dividend problem this chapter's discrete-time analogue is modeled on).
  • H. Schmidli, Stochastic Control in Insurance, Springer, 2008 (cited by Remark 9.2.1 for the reduction from a continuous dividend-payout action space to the integer setting used throughout this section).
  • H. U. Gerber, "Games of economic survival with discrete- and continuous-income processes", Operations Research, 1972 (an early discrete-time treatment of the same class of problems, in the spirit this chapter's own model follows).
11 thms2 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchOptimization+1·Captain: mikedeng1

Approximation Algorithms for Combinatorial Problems III: The Worst-Case Ratio of the Weighted Algorithm B2Research Paper

Motivation

MAXIMUM SATISFIABILITY asks for a truth assignment satisfying as many clauses of a given set as possible. It was among the first NP-hard optimization problems for which an approximation algorithm came with a proven worst-case guarantee. In Approximation Algorithms for Combinatorial Problems (J. Comput. System Sci. 9, 1974, doi:10.1016/S0022-0000(74)80044-9), David S. Johnson set up a framework for measuring such guarantees and analyzed two heuristics for the problem. The second of these, algorithm B2, weights each clause by 2−∣C∣2^{-|C|}2−∣C∣ and repeatedly sets a literal so that the heavier side is satisfied. On inputs whose clauses all have at least kkk literals, it satisfies at least a 1−2−k1 - 2^{-k}1−2−k fraction of the optimum.

B2 is the ancestor of a line of work on MAX-SAT approximation:

  • 1974. Johnson proves the 2k/(2k−1)2^k/(2^k-1)2k/(2k−1) bound for B2 on MS(k) and the (k+1)/k(k+1)/k(k+1)/k bound for the unweighted greedy algorithm B1.
  • 1994. Goemans and Williamson (SIAM J. Discrete Math. 7) present Johnson's algorithm as the derandomization, by conditional expectations, of the uniformly random assignment, and combine it with LP rounding to obtain a 3/43/43/4-approximation.
  • 1999. Chen, Friesen and Zheng (JCSS 58) show that B2 is a 2/32/32/3-approximation on general inputs, sharper than the 1/21/21/2 that Johnson's bound gives at k=1k = 1k=1.

Setting

A literal is a variable xix_ixi​ or its negation xˉi\bar x_ixˉi​. A clause is a finite set of literals. A truth assignment is a set TTT of literals containing no pair {xi,xˉi}\{x_i, \bar x_i\}{xi​,xˉi​}; it satisfies a clause CCC when C∩T≠∅C \cap T \ne \emptysetC∩T=∅. An input is a finite set SSS of clauses, and S∗S^*S∗ is the largest ∣S′∣|S'|∣S′∣ over subsets S′⊆SS' \subseteq SS′⊆S satisfied by one truth assignment. MS(k) is the restriction to inputs in which every clause contains at least kkk distinct literals.

Algorithm B2 keeps a set SUB of satisfied clauses, a set LEFT of unsettled clauses, the literals LIT still available, and a weight w(C)w(C)w(C) per clause, starting from w(C)=2−∣C∣w(C) = 2^{-|C|}w(C)=2−∣C∣, SUB=∅\mathrm{SUB} = \emptysetSUB=∅, LEFT=S\mathrm{LEFT} = SLEFT=S. While some literal of LIT occurs in a clause of LEFT, it picks any such literal yyy. Let YT be the clauses of LEFT containing yyy and YF those containing yˉ\bar yyˉ​. If ∑YTw≥∑YFw\sum_{\mathrm{YT}} w \ge \sum_{\mathrm{YF}} w∑YT​w≥∑YF​w, it makes yyy true, moves YT to SUB and doubles the weight of each clause of YF; otherwise it does the symmetric move with yˉ\bar yyˉ​. Finally it removes y,yˉy, \bar yy,yˉ​ from LIT. When no literal of LIT remains in LEFT it returns SUB.

The choice of yyy is free, so several outputs may be choosable on one input. Johnson measures the algorithm by its worst choosable output, through the ratio r(B2,S)=S∗/∣SUB∣r(B2, S) = S^*/|\mathrm{SUB}|r(B2,S)=S∗/∣SUB∣ and its maximum R[B2,MS(k)](n)R[B2, \mathrm{MS}(k)](n)R[B2,MS(k)](n) over inputs of size at most nnn.

Formalization targets

Goal: Theorem 3, with the equality range corrected

For every k≥1k \ge 1k≥1, every SSS in MS(k) and every SUB choosable by B2 on SSS,

(2k−1) S∗≤2k ∣SUB∣,(2^k - 1)\,S^* \le 2^k\,|\mathrm{SUB}|,(2k−1)S∗≤2k∣SUB∣,

and for every k≥2k \ge 2k≥2 there are SSS in MS(k) and a choosable SUB with ∣SUB∣>0|\mathrm{SUB}| > 0∣SUB∣>0 and

(2k−1) S∗=2k ∣SUB∣.(2^k - 1)\,S^* = 2^k\,|\mathrm{SUB}|.(2k−1)S∗=2k∣SUB∣.

The paper states equality "for all sufficiently large nnn" for every k≥1k \ge 1k≥1. At k=1k = 1k=1 this is false: the ratio 2 would require every clause to be a unit clause and all clauses to be jointly satisfiable, and on such inputs B2 satisfies everything. The goal therefore asserts tightness for k≥2k \ge 2k≥2. A separate item states that at k=1k = 1k=1 the ratio is never attained.

Milestones

  1. Initially, the total weight of LEFT is at most ∣S∣/2k|S|/2^k∣S∣/2k.
  2. No iteration increases the total weight of LEFT, so at halting it is still at most ∣S∣/2k|S|/2^k∣S∣/2k.
  3. At halting, every clause left in LEFT has weight exactly 111.
  4. At halting, ∣LEFT∣≤∣S∣/2k|\mathrm{LEFT}| \le |S|/2^k∣LEFT∣≤∣S∣/2k and ∣SUB∣≥∣S∣(1−2−k)|\mathrm{SUB}| \ge |S|(1 - 2^{-k})∣SUB∣≥∣S∣(1−2−k).
  5. The eight-clause instance for k=3k = 3k=3 has S∗=8S^* = 8S∗=8 and admits a choosable output of size 777.

Significance

The bound 1−2−k1 - 2^{-k}1−2−k is exactly the expected fraction of clauses a uniformly random assignment satisfies on MS(k). B2 attains it deterministically, and the proof bounds ∣SUB∣|\mathrm{SUB}|∣SUB∣ against ∣S∣|S|∣S∣ rather than against S∗S^*S∗, a feature the paper points out. For k=3k = 3k=3 the constant 8/78/78/7 was later shown by Håstad (2001) to be optimal among polynomial-time algorithms unless P = NP, so the guarantee of this 1974 algorithm is best possible for MAX-E3-SAT.

Formalizing the result produces a machine-checked potential-function argument for a nondeterministic algorithm: the invariant links each clause's weight to how many of its literals have been removed. The mission also records a correction to the printed statement at k=1k = 1k=1. The paper's proof is complete; to our knowledge no machine-checked version exists.

Difficulty

The obvious argument follows the counting proof for algorithm B1 and compares clauses saved with clauses wounded in each step. It fails here: B2 can wound more clauses than it saves in a step, and the bound holds only in the weighted sense. The weight of a clause is not a static quantity. It is 2−∣C∣2^{-|C|}2−∣C∣ times 222 to the number of its literals already discarded, and this invariant must be carried through every step, including clauses that contain both yyy and yˉ\bar yyˉ​. Tightness needs an explicit input and an explicit adversarial run that exploits the tie in Step 4, and then a proof that every assignment of the remaining variables kills exactly one clause.

Formalization scope

  • Literals and clauses. A literal is a pair (variable index in N\mathbb NN, sign). Clauses are Finsets of literals, and an input is a Finset of clauses, so there are no duplicate clauses. Truth assignments are partial and consistent. S∗S^*S∗ is a maximum over the finite, nonempty family of satisfiable subsets.
  • B2 as a relation. B2 is a nondeterministic run relation, and "choosable" means reachable by finitely many steps from the initial state and halting. Step 3 allows a literal of either sign. The tie in Step 4 goes to yyy, and the comparison and doublings use the weights before the update. Weights are rationals.
  • Size-free ratios. The size-dependent R[B2,MS(k)](n)R[B2, \mathrm{MS}(k)](n)R[B2,MS(k)](n) is replaced by statements about every input (upper bound) and one attaining input (tightness). The two forms are equivalent because RRR is a maximum over finitely many inputs and nondecreasing in nnn.
  • No division. All ratios are multiplied out, so no division by zero can make a bound vacuous.
  • Trivializations ruled out. A deterministic tie-break in Step 3 or 4, or tightness at a single fixed kkk, would be a weaker theorem and is not acceptable. So is stating only the upper bound.

The definitions (the MS layer, the run relation) can be reused by other MAX-SAT approximation results, and an identical MS layer appears in the companion mission on algorithm B1. Contributions welcome: proofs of the milestones, of the k≥2k \ge 2k≥2 tightness family, and of the k=1k = 1k=1 correction.

Selected references

  • D. S. Johnson, Approximation algorithms for combinatorial problems, J. Comput. System Sci. 9 (1974) 256–278. https://doi.org/10.1016/S0022-0000(74)80044-9
  • J. Chen, D. K. Friesen, H. Zheng, Tight bound on Johnson's algorithm for maximum satisfiability, J. Comput. System Sci. 58 (1999) 622–640. https://doi.org/10.1006/jcss.1998.1610
  • M. X. Goemans, D. P. Williamson, New 3/4-approximation algorithms for the maximum satisfiability problem, SIAM J. Discrete Math. 7 (1994) 656–666. https://doi.org/10.1137/S0895480192243516
  • J. Håstad, Some optimal inapproximability results, J. ACM 48 (2001) 798–859. https://doi.org/10.1145/502090.502098
9 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XX: Perpetual American Options and Credit GrantingTextbook

Motivation

An American option may be exercised at any moment up to maturity, so pricing one is not an integration problem but a stopping problem: the holder must decide, at each date and in each state of the market, whether the payoff available now beats the option value of waiting. A perpetual American put pushes this to its limit — there is no maturity at all, so the horizon is unbounded and the problem has no terminal condition to induct backwards from. What replaces the terminal condition is a fixed point characterization, and the classical answer, going back to McKean (1965) and Merton (1973) in continuous time and to Cox, Ross and Rubinstein (1979) in the binomial model, is that the price is the smallest superharmonic majorant of the payoff.

Bäuerle and Rieder's Chapter 11 (Markov Decision Processes with Applications to Finance, Springer, 2011) derives this from their own general unbounded-horizon stopping theory rather than from stochastic analysis, and in the same chapter applies the bounded-horizon version to a problem from banking rather than trading: when should a bank cancel a credit line? The two halves share one mathematical shape — a stopping problem whose optimal policy turns out to be of threshold type — and this mission formalizes both, with the perpetual put as the goal.

Setting

The binomial model (§11.1). A stock moves from price xxx to xuxuxu with risk-neutral probability qqq and to xdxdxd with 1−q1-q1−q, where 0<d<u0 < d < u0<d<u, and the discount factor is β∈(0,1]\beta \in (0,1]β∈(0,1]. The defining relation of the risk-neutral measure,

βqu+β(1−q)d=1,\beta q u + \beta(1-q)d = 1,βqu+β(1−q)d=1,

is carried as a hypothesis of the model: it is what makes the discounted stock price a martingale, and the proofs use it directly.

The American put with strike KKK pays (K−x)+(K-x)^+(K−x)+ when exercised. With nnn periods to maturity its price satisfies the recursion J0(x)=(K−x)+J_0(x) = (K-x)^+J0​(x)=(K−x)+ and

Jn(x)=max⁡{(K−x)+, β(qJn−1(xu)+(1−q)Jn−1(xd))}=:TJn−1(x),J_n(x) = \max\Big\{(K-x)^+,\ \beta\big(q J_{n-1}(xu) + (1-q)J_{n-1}(xd)\big)\Big\} =: \mathcal{T}J_{n-1}(x),Jn​(x)=max{(K−x)+, β(qJn−1​(xu)+(1−q)Jn−1​(xd))}=:TJn−1​(x),

the maximum being "exercise now" against "hold". Proposition 11.1.2 describes the price πn(x):=JN−n(x)\pi_n(x) := J_{N-n}(x)πn​(x):=JN−n​(x) at time nnn of an option maturing at NNN: it is continuous in xxx, decreasing in nnn, and — the part that carries the argument — x↦πn(x)+xx \mapsto \pi_n(x) + xx↦πn​(x)+x is increasing, even though πn\pi_nπn​ itself decreases in xxx. That single reformulation, obtained by adding xxx to both sides of the recursion and using the risk-neutral relation, is what yields the threshold structure: there are exercise boundaries K=:xN∗≥xN−1∗≥⋯≥x0∗≥0K =: x_N^* \ge x_{N-1}^* \ge \dots \ge x_0^* \ge 0K=:xN∗​≥xN−1∗​≥⋯≥x0∗​≥0 with τ∗=inf⁡{n≤N∣Xn≤xn∗}\tau^* = \inf\{n \le N \mid X_n \le x_n^*\}τ∗=inf{n≤N∣Xn​≤xn∗​} optimal. Exercise when the stock falls far enough, and the boundary rises as maturity approaches.

The perpetual put (Theorem 11.1.3, the goal). With no expiration date the price at time zero is a supremum over all stopping times, τ≤∞\tau \le \inftyτ≤∞ included:

P(x):=sup⁡τ≤∞ExQ[βτ(K−Sτ)],P(x) := \sup_{\tau \le \infty} \mathbb{E}^{\mathbb{Q}}_x\big[\beta^\tau (K - S_\tau)\big],P(x):=τ≤∞sup​ExQ​[βτ(K−Sτ​)],

with the stopping reward set to zero on {τ=∞}\{\tau = \infty\}{τ=∞}. The theorem says four things: PPP is the limit of the finite-maturity prices JnJ_nJn​; PPP solves TP=P\mathcal{T}P = PTP=P and satisfies 0≤P≤K0 \le P \le K0≤P≤K; PPP is the smallest superharmonic function majorizing (K−x)+(K-x)^+(K−x)+; and, if the value Jf∗J_{f^*}Jf∗​ of the exercise-region policy dominates TJf∗\mathcal{T}J_{f^*}TJf∗​, then PPP equals that value and τ∗=inf⁡{n∣Xn∈E∗}\tau^* = \inf\{n \mid X_n \in E^*\}τ∗=inf{n∣Xn​∈E∗}, the hitting time of E∗={x∣P(x)=(K−x)+}E^* = \{x \mid P(x) = (K-x)^+\}E∗={x∣P(x)=(K−x)+}, is optimal.

The conditional in part d) is the book's own and is not decoration: without it the exercise region need not deliver an optimal stopping time, and the unconditional version is a different, false statement. The boundedness 0≤P≤K0 \le P \le K0≤P≤K in b) is likewise a genuine claim rather than a side remark — the fixed point equation alone admits other solutions, and it is boundedness together with minimality that pins PPP down among them.

Credit granting (§11.2). A bank holds a credit contract of maximal duration NNN. Each period it observes a rating class xnx_nxn​ evolving as a Markov process QXQ^XQX, and chooses to extend — earning c(x)c(x)c(x) — or to cancel, ending the contract. The value iteration is Jn(x)=max⁡{0, c(x)+β∫Jn−1 dQX(⋅∣x)}J_n(x) = \max\{0,\ c(x) + \beta\int J_{n-1}\,dQ^X(\cdot|x)\}Jn​(x)=max{0, c(x)+β∫Jn−1​dQX(⋅∣x)}. Under two structural assumptions — ccc increasing, and QXQ^XQX stochastically monotone, so that a better-rated borrower stays better-rated — Theorem 11.2.1 gives the same shape of answer as the option: cancel exactly when the rating falls below a threshold xn∗x_n^*xn∗​, and those thresholds rise as the remaining duration shortens, since a marginal borrower is no longer worth keeping when there is little time left to recover.

Theorem 11.2.2 repeats this when the borrower is not rated at all. The bank has only a prior μ0\mu_0μ0​ on the repayment probability and one signal per period; the state (s,n)(s,n)(s,n) records sss positive signals out of nnn, and the expected repayment probability is the posterior mean q(s,n)q(s,n)q(s,n). Monotonicity here is for the order of p. 342 — more positive signals and fewer negative ones — and not the coordinatewise order, under which the claim would be false: an extra signal that is negative makes the state worse.

What is being asked

Formalize Theorem 11.1.3 in full, all four parts: the limit identification, the fixed point equation with its bounds, the minimality among superharmonic majorants, and the conditional optimality of the exercise-region stopping time. The three milestones are Proposition 11.1.2, the finite-horizon put whose threshold structure the perpetual case specializes, and the two credit granting theorems, which run the same bounded-horizon argument on a different model.

The stopping-time apparatus is built rather than assumed: the stock path, the law Q\mathbb{Q}Q pinned by its finite-dimensional distributions, stopping times valued in N∪{∞}\mathbb{N}\cup\{\infty\}N∪{∞}, and the reward vanishing at ∞\infty∞. Part a) of the goal is the identification of the supremum with lim⁡nJn\lim_n J_nlimn​Jn​, so carrying PPP as an abstract function would make the theorem vacuous.

6 thms2 active usersReviewed
🏆Completed
CombinatoricsConvex OptimizationDiscrete Geometry+2·Captain: Shuze Chen

Discrete Convex Analysis XXIII: Directional Derivatives and Subdifferentials of M-Convex FunctionsTextbook

Motivation

An M-convex function is defined on the integer lattice, but chapter 6's earlier results (companion missions 06-mconvex-functions-i, 22-ch06b-mconvexfunctions, 23-ch06c-mconvexfunctions) show it always extends to a genuine convex function on real space. Once that extension exists, every tool of classical convex analysis — directional derivatives, subdifferentials, positive homogeneity — becomes available, and the natural question is whether these classical objects remain combinatorially special when applied to an M-convex function's extension. This mission answers that question at its sharpest: the directional derivative of an M-convex function at any point is again a positively homogeneous M-convex function, its subdifferential is exactly the admissible-potential set of a distance function satisfying the triangle inequality, and this correspondence between positively homogeneous M-convex functions and triangle-inequality distance functions is itself a clean one-to-one correspondence. This closes the loop between chapters 4-5 (M-convex and L-convex sets, distance functions) and the continuous convex-analytic machinery chapter 8 needs for its duality theory.

Companion missions 06-mconvex-functions-i, 22-ch06b-mconvexfunctions, and 23-ch06c-mconvexfunctions cover this chapter's optimality theory, algebraic toolkit, and convex-extensibility characterization. This mission builds the vocabulary those results also need (redeclared here, since sibling drafts cannot yet import one another) and proves the chapter's real-variable capstones: the transfer of M-convexity's basic operations, optimality criterion, and supermodularity to the polyhedral (real-variable) setting, the identification of positively homogeneous M-convex functions with distance functions satisfying the triangle inequality, and — this mission's goal — the full directional-derivative/subdifferential correspondence.

Setting

Fix a finite ground set VVV. A polyhedral convex function g:RV→R∪{+∞}g : \mathbb R^V \to \mathbb R \cup \{+\infty\}g:RV→R∪{+∞} is (polyhedral) M-convex if it satisfies the real-variable exchange axiom (M-EXC[R]): for x,y∈dom⁡Rgx,y \in \operatorname{dom}_{\mathbb R} gx,y∈domR​g 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) and α0>0\alpha_0 > 0α0​>0 make the exchange inequality hold on α∈[0,α0]\alpha \in [0,\alpha_0]α∈[0,α0​]; M♮-convex if its lift to one extra coordinate is M-convex. The directional derivative of ggg at x∈dom⁡Rgx \in \operatorname{dom}_{\mathbb R} gx∈domR​g in direction ddd is g′(x;d)=inf⁡t>0(g(x+td)−g(x))/tg'(x;d) = \inf_{t>0} (g(x+td) - g(x))/tg′(x;d)=inft>0​(g(x+td)−g(x))/t. A function is positively homogeneous if g(tx)=t⋅g(x)g(tx) = t \cdot g(x)g(tx)=t⋅g(x) for all t>0t > 0t>0; write 0M[R→R]0M[\mathbb R \to \mathbb R]0M[R→R] for the positively homogeneous polyhedral M-convex functions. A distance function γ\gammaγ satisfying the triangle inequality and its set of admissible potentials D(γ)D(\gamma)D(γ) were introduced in chapter 5; the subdifferential ∂Rf(x)={p:f(y)−f(x)≥⟨p,y−x⟩ ∀y}\partial_{\mathbb R} f(x) = \{p : f(y) - f(x) \ge \langle p, y-x \rangle\ \forall y\}∂R​f(x)={p:f(y)−f(x)≥⟨p,y−x⟩ ∀y} generalizes this to any function fff at a point xxx in its domain.

Formalization targets

Goal: the directional-derivative/subdifferential correspondence

For f∈M[R→R]f \in M[\mathbb R \to \mathbb R]f∈M[R→R] and x∈dom⁡Rfx \in \operatorname{dom}_{\mathbb R} fx∈domR​f, setting γf,x(u,v)=f′(x;−χu+χv)\gamma_{f,x}(u,v) = f'(x;-\chi_u+\chi_v)γf,x​(u,v)=f′(x;−χu​+χv​):

γf,x satisfies the triangle inequality,∂Rf(x)=D(γf,x)≠∅,f′(x;⋅)=γf,x^(⋅),\gamma_{f,x} \text{ satisfies the triangle inequality}, \quad \partial_{\mathbb R} f(x) = D(\gamma_{f,x}) \ne \emptyset, \quad f'(x;\cdot) = \widehat{\gamma_{f,x}}(\cdot),γf,x​ satisfies the triangle inequality,∂R​f(x)=D(γf,x​)=∅,f′(x;⋅)=γf,x​​(⋅),

with the analogous statement for f∈M[Z→R]f \in M[\mathbb Z \to \mathbb R]f∈M[Z→R] at an integer point xxx, using γf,x(u,v)=f(x−χu+χv)−f(x)\gamma_{f,x}(u,v) = f(x-\chi_u+\chi_v)-f(x)γf,x​(u,v)=f(x−χu​+χv​)−f(x) (Theorem 6.61). This is the weakest stable form: it identifies the subdifferential exactly, as a set, rather than bounding its size or complexity, and holds at every point of the domain uniformly.

Supporting structural targets

Ten further results build the real-variable toolkit and the positive-homogeneity correspondence this goal completes: the transfer of M♮-convexity, the basic operations, the optimality criterion, supermodularity, and weighted-minimizer polyhedrality to the real-variable setting (Theorems 6.48-6.52, Proposition 6.53), the identification of the classes 0M[Z∣R→R]0M[\mathbb Z|\mathbb R \to \mathbb R]0M[Z∣R→R] and 0M[R→R]0M[\mathbb R \to \mathbb R]0M[R→R] and the compatibility of convex extension with positive homogeneity (Proposition 6.56), the two directions of the correspondence between positively homogeneous M-convex functions and triangle-inequality distance functions (Propositions 6.57-6.58, Theorem 6.59), and the fact that a directional derivative of an M-convex function is itself positively homogeneous and M-convex (Proposition 6.60).

Significance

Theorem 6.61 is the technical bridge that lets discrete convex analysis borrow the entire apparatus of classical convex duality: because the subdifferential of an M-convex function is always the admissible-potential set of a chapter-5 distance function, every fact already proved about D(γ)D(\gamma)D(γ) (its polyhedral structure, its own L-convexity, its relationship to shortest paths) transfers immediately to subdifferentials of M-convex functions. This is exactly the mechanism the book calls out as essential for Chapter 8's separation theorem for M♮-convex functions. The 0M↔T0M \leftrightarrow T0M↔T correspondence (Theorem 6.59) is independently significant: it says the positively homogeneous special case of M-convex function theory — which is what directional derivatives of any M-convex function reduce to, by Proposition 6.60 — is exactly as rich as ordinary shortest-path distance function theory, no more and no less, so nothing new needs to be built to understand local behavior at a point.

None of these results are open — they are Murota's account of how the discrete exchange axiom interacts with directional differentiation and subgradients, a bridge chapter between the purely combinatorial theory of chapters 4-6 and the duality theory of chapter 8. What this mission contributes is a faithful, machine-checked formal statement of each, extending the shared Lean vocabulary (MExchangeAxiomR, DirDeriv, GammaHat) the Discrete Convex Analysis series builds on; no comparable formalization exists on the platform (see Formalization scope).

Difficulty

The naive approach to Theorem 6.61 would try to compute ∂Rf(x)\partial_{\mathbb R} f(x)∂R​f(x) directly from the definition of subgradient and separately verify it happens to equal some D(γ)D(\gamma)D(γ); the book's actual proof instead derives the equality of sets from the M-optimality criterion (Theorem 6.52) applied pointwise: p∈∂Rf(x)p \in \partial_{\mathbb R} f(x)p∈∂R​f(x) is shown, via a chain of logical equivalences, to be exactly the condition defining D(γf,x)D(\gamma_{f,x})D(γf,x​), so no separate verification of polyhedrality or nonemptiness is needed beyond what Theorem 6.52 and Proposition 6.60 already supply. The genuine difficulty is upstream, in Proposition 6.60 itself: showing a directional derivative is M-convex requires exploiting the local validity of the identity f(x+d)−f(x)=f′(x;d)f(x+d)-f(x) = f'(x;d)f(x+d)−f(x)=f′(x;d) for small ∥d∥1\|d\|_1∥d∥1​ (Eq. (6.85)) and then extending the exchange property from that neighborhood to all of RV\mathbb R^VRV using positive homogeneity — a two-step argument with no single-step shortcut, since the exchange axiom's defining inequality is not obviously homogeneous-invariant on its own.

Formalization scope

Ground-set elements are a Fintype V with DecidableEq; real-domain functions are (V→ℝ)→WithTop ℝ. The directional derivative is built directly as an infimum of difference quotients over t>0t>0t>0, matching the book's own local characterization (Eq. (6.85)) without a separate limit construction. Positive homogeneity and the classes 0M[R→R]/0M[Z→R] are stated exactly as the book defines them (the latter via positive homogeneity of the convex extension, not of f itself, since f is undefined off Zⱽ). Theorems 6.49-6.50 restate 4 of their 8 operations (matching the identical scope decision for chunk 22-ch06b-mconvexfunctions's Theorem 6.13); Theorem 6.61 omits the dual-integral refinement clauses for the M[R→R|Z]/ M[Z→Z] sub-classes. Both reductions are documented, not trivializing omissions — see Difficulty above and HARD.md/MODERATION_NOTES.md. No numeric constants are hard-coded anywhere in this mission. This mission's definitions are redeclared from chunks 06-mconvex-functions-i, 21-ch05b-lconvexsets (for the distance-function/admissible-potential vocabulary), 22-ch06b-mconvexfunctions, and 23-ch06c-mconvexfunctions 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 and Proposition 6.60 carry the most independent proof content.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • K. Murota and A. Shioura, "M-convex function on generalized polymatroid," Mathematics of Operations Research, 24 (1999), pp. 95-105 (the polyhedral M-convex function theory this mission's real-variable results are drawn from).
56 thms2 active usersReviewed
🏆Completed
Control TheoryDynamic ProgrammingOperations Research+1·Captain: mikedeng1

Robust Control of Markov Decision Processes with Uncertain Transition Matrices 2: The Robust Bellman Recursion for Discounted Infinite-Horizon MDPsResearch Paper

Motivation

A Markov decision process (MDP) is solved by dynamic programming only when its transition probabilities are known. In practice they are estimated from data, and the optimal policy of the estimated model can perform badly on the true one. Nilim and El Ghaoui (Oper. Res. 53(5), 2005) showed that, when the uncertainty on the transition matrices has a product ("rectangular") structure, the robust problem, in which the controller minimises the worst expected cost over all admissible transition matrices, keeps the structure of dynamic programming. The robust Bellman operator replaces the expectation of the next-stage value by a support function of the uncertainty set. That operator is the basis of later work on robust MDPs and robust reinforcement learning.

Timeline:

  • Bagnell, Ng and Schneider (2001) considered the max–min value ψ∞(Π,T)\psi_\infty(\Pi, \mathcal T)ψ∞​(Π,T) and stated without proof that it is computed by the recursion below.
  • Iyengar (Math. Oper. Res. 30(2), 2005; technical report 2003) independently proved the robust Bellman recursion for the discounted infinite-horizon case.
  • Nilim and El Ghaoui (2005), Theorem 3, prove the recursion and perfect duality of the stationary discounted game. This mission formalizes that theorem.

Setting

The state space is X={1,…,n}\mathcal X = \{1,\dots,n\}X={1,…,n} and the action set A\mathcal AA is finite and nonempty. Each state–action pair has a cost c(i,a)≥0c(i,a) \ge 0c(i,a)≥0, and costs are discounted by a factor ν∈[0,1)\nu \in [0,1)ν∈[0,1): the cost at stage ttt is νtc(i,a)\nu^t c(i,a)νtc(i,a).

Write Δn={p∈R+n:pT1=1}\Delta_n = \{p \in \mathbb R^n_+ : p^T\mathbf 1 = 1\}Δn​={p∈R+n​:pT1=1} for the probability simplex. For each action aaa and state iii a nonempty set Pia⊆Δn\mathcal P_i^a \subseteq \Delta_nPia​⊆Δn​ is given. It is the set of distributions of the next state that nature may use from state iii under action aaa. No convexity or closedness is assumed. Uncertainty is rectangular: the admissible transition matrices for action aaa form the product Pa=P1a×⋯×Pna\mathcal P^a = \mathcal P_1^a \times \cdots \times \mathcal P_n^aPa=P1a​×⋯×Pna​, so every row is chosen independently.

A stationary control policy π=(a,a,… )\pi = (\mathbf a, \mathbf a, \dots)π=(a,a,…) applies one decision rule a:X→A\mathbf a : \mathcal X \to \mathcal Aa:X→A at every stage; Πs\Pi_sΠs​ is the set of them. A stationary policy of nature τ∈Ts\tau \in \mathcal T_sτ∈Ts​ fixes one matrix Pa∈PaP^a \in \mathcal P^aPa∈Pa for each action and uses it forever. Nature chooses after the controller.

From an initial state i0i_0i0​, the state distribution evolves as μ0=ei0\mu_0 = e_{i_0}μ0​=ei0​​, μt+1(j)=∑iμt(i)Pa(i)(i,j)\mu_{t+1}(j) = \sum_i \mu_t(i) P^{\mathbf a(i)}(i,j)μt+1​(j)=∑i​μt​(i)Pa(i)(i,j). The discounted cost is

C∞(π,τ)=∑t≥0νt∑iμt(i) c(i,a(i)).C_\infty(\pi,\tau) = \sum_{t\ge 0} \nu^t \sum_i \mu_t(i)\, c(i,\mathbf a(i)).C∞​(π,τ)=t≥0∑​νti∑​μt​(i)c(i,a(i)).

The support function of a set P\mathcal PP is σP(v)=sup⁡{pTv:p∈P}\sigma_{\mathcal P}(v) = \sup\{p^T v : p \in \mathcal P\}σP​(v)=sup{pTv:p∈P}. The robust Bellman operator ggg and, for a stationary policy π\piπ, the robust evaluation operator gπg_\pigπ​ act on v∈Rnv \in \mathbb R^nv∈Rn by

g(v)i=min⁡a∈A(c(i,a)+ν σPia(v)),gπ(v)i=c(i,a(i))+ν σPia(i)(v).g(v)_i = \min_{a\in\mathcal A}\big(c(i,a) + \nu\,\sigma_{\mathcal P_i^a}(v)\big), \qquad g_\pi(v)_i = c(i,\mathbf a(i)) + \nu\,\sigma_{\mathcal P_i^{\mathbf a(i)}}(v).g(v)i​=a∈Amin​(c(i,a)+νσPia​​(v)),gπ​(v)i​=c(i,a(i))+νσPia(i)​​(v).

The two values of the game are

ϕ∞(Πs,Ts)=min⁡π∈Πssup⁡τ∈TsC∞(π,τ),ψ∞(Πs,Ts)=sup⁡τ∈Tsmin⁡π∈ΠsC∞(π,τ).\phi_\infty(\Pi_s,\mathcal T_s) = \min_{\pi\in\Pi_s}\sup_{\tau\in\mathcal T_s} C_\infty(\pi,\tau), \qquad \psi_\infty(\Pi_s,\mathcal T_s) = \sup_{\tau\in\mathcal T_s}\min_{\pi\in\Pi_s} C_\infty(\pi,\tau).ϕ∞​(Πs​,Ts​)=π∈Πs​min​τ∈Ts​sup​C∞​(π,τ),ψ∞​(Πs​,Ts​)=τ∈Ts​sup​π∈Πs​min​C∞​(π,τ).

Formalization targets

Goal: Theorem 3 (Robust Bellman Recursion)

There is a unique v∈Rnv \in \mathbb R^nv∈Rn with v=g(v)v = g(v)v=g(v), i.e.

v(i)=min⁡a∈A(c(i,a)+ν σPia(v)),i∈X,(19)v(i) = \min_{a\in\mathcal A}\big(c(i,a) + \nu\,\sigma_{\mathcal P_i^a}(v)\big), \quad i \in \mathcal X, \tag{19}v(i)=a∈Amin​(c(i,a)+νσPia​​(v)),i∈X,(19)

value iteration vk+1=g(vk)v_{k+1} = g(v_k)vk+1​=g(vk​) converges to vvv from every starting vector (20), and

ϕ∞(Πs,Ts)=v(i0)=ψ∞(Πs,Ts).\phi_\infty(\Pi_s,\mathcal T_s) = v(i_0) = \psi_\infty(\Pi_s,\mathcal T_s).ϕ∞​(Πs​,Ts​)=v(i0​)=ψ∞​(Πs​,Ts​).

In addition, every policy that picks a minimising action in (19) is optimal (21), every nature policy whose rows attain σPia(v)\sigma_{\mathcal P_i^a}(v)σPia​​(v) is optimal for nature (22), and for each stationary π\piπ the worst-case cost sup⁡τC∞(π,τ)\sup_\tau C_\infty(\pi,\tau)supτ​C∞​(π,τ) is vπ(i0)v^\pi(i_0)vπ(i0​), where vπv^\pivπ is the unique fixed point of gπg_\pigπ​ (23).

Milestones

  1. Lemma 2 (corrected): for a nondecreasing sup-norm contraction ggg and q≥0q \ge 0q≥0, the program max⁡qTv\max q^T vmaxqTv s.t. v≤g(v)v \le g(v)v≤g(v) has value qTv∞q^T v_\inftyqTv∞​ at the fixed point v∞v_\inftyv∞​, every feasible vvv satisfies v≤v∞v \le v_\inftyv≤v∞​, and v∞v_\inftyv∞​ is the unique optimizer when q>0q > 0q>0.
  2. The operators ggg of (29) and gπg_\pigπ​ of (30) are nondecreasing and ν\nuν-Lipschitz in ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​.
  3. (26): C∞(π,τ)=max⁡{v(i0):v(i)≤c(i,a(i))+ν∑jPa(i)(i,j)v(j)}C_\infty(\pi,\tau) = \max\{v(i_0) : v(i) \le c(i,\mathbf a(i)) + \nu \sum_j P^{\mathbf a(i)}(i,j) v(j)\}C∞​(π,τ)=max{v(i0​):v(i)≤c(i,a(i))+ν∑j​Pa(i)(i,j)v(j)}.
  4. (28) ⇒ (23): sup⁡τ∈TsC∞(π,τ)=vπ(i0)\sup_{\tau\in\mathcal T_s} C_\infty(\pi,\tau) = v^\pi(i_0)supτ∈Ts​​C∞​(π,τ)=vπ(i0​).
  5. (27) ⇒ (19): ψ∞(Πs,Ts)=v(i0)\psi_\infty(\Pi_s,\mathcal T_s) = v(i_0)ψ∞​(Πs​,Ts​)=v(i0​).

Significance

The theorem makes the robust discounted problem as tractable as the nominal one. The optimal robust policy is stationary, deterministic and computed by value iteration. Each iteration evaluates one support function per state–action pair, and the paper computes these efficiently for likelihood and entropy uncertainty sets (§§5–6). Perfect duality means that the order of play does not change the value: announcing the policy to an adversarial nature costs nothing. The sequel in this series (Theorem 4) uses Theorem 3 to show that restricting to stationary policies loses nothing.

The result is proved in the paper and, independently, by Iyengar (2005). No machine-checked proof of it is known to exist. Mathlib provides the Banach fixed-point theorem, but it has no MDP library, no discounted cost along a Markov chain and no robust Bellman operator. The mission produces that layer.

Difficulty

The fixed-point half is a direct application of the Banach fixed-point theorem once the ν\nuν-contraction is established. The substance is the link between the fixed point and the probabilistic cost, and the duality.

  • C∞(π,τ)C_\infty(\pi,\tau)C∞​(π,τ) is an infinite series along a Markov chain. Identifying it with the solution of a linear system requires summing a matrix geometric series.
  • Nature's sets are neither closed nor convex, so its maxima are suprema that need not be attained. The worst case over Ts\mathcal T_sTs​ must be approached by rows that nearly attain the support function, with an error controlled through the contraction.
  • The min–max and max–min values are taken over different information structures. Equality has to come from the fixed point, not from a minimax theorem: the policy set is finite and discrete and nature's set is not convex, so no convexity argument applies.

Formalization scope

  • Rn\mathbb R^nRn is Fin n → ℝ, with the componentwise order and Mathlib's sup metric, which is ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​.
  • The model (RobustMDP.Discounted.Model) carries the costs, the discount ν∈[0,1)\nu \in [0,1)ν∈[0,1) (the range printed in Theorem 3; §4 prints (0,1)(0,1)(0,1)) and the row sets. The row sets are assumed nonempty and contained in Δn\Delta_nΔn​ and nothing else. Nonemptiness is implicit in the paper.
  • Πs\Pi_sΠs​ is Fin n → A. Ts\mathcal T_sTs​ is the subtype of A → Fin n → Fin n → ℝ whose rows lie in the row sets, which encodes rectangularity.
  • C∞C_\inftyC∞​ is a tsum of the discounted stage costs along the forward state distribution. The terms are nonnegative and at most νtmax⁡c\nu^t\max cνtmaxc, so the series is summable and the tsum is the limit of the NNN-stage costs, the paper's definition.
  • σP\sigma_{\mathcal P}σP​ is a real sSup. It is the genuine supremum because every set it is applied to is nonempty and inside Δn\Delta_nΔn​.
  • Every "max" over nature is a supremum: IsLUB, or ⨆ inside min⁡πsup⁡τ\min_\pi\sup_\tauminπ​supτ​, whose inner sets are shown bounded by conclusion (23). Minima over the finite Πs\Pi_sΠs​ and over A\mathcal AA are ⨅ and Finset.inf'. The argmax rows of (22) appear only as a hypothesis on a given nature policy that attains them.
  • Corrected statements:
    • Lemma 2 is false as printed for qqq with zero entries, so uniqueness of the optimizer is stated only for q>0q > 0q>0.
    • In (30), σ(vπ)\sigma(v^\pi)σ(vπ) is read as σ(v)\sigma(v)σ(v).
    • The proof's references to "Lemma 1", "(15) and (16)" and "(14)" are read as Lemma 2, (27)–(28) and (26).
  • Defining C∞(π,τ)C_\infty(\pi,\tau)C∞​(π,τ) as the fixed point of w=cπ+νPπww = c_\pi + \nu P_\pi ww=cπ​+νPπ​w would make milestone (26) a tautology and conclusion (23) nearly so. The cost here is the probabilistic series, and the fixed-point characterizations must be proved.
  • Welcome contributions include a reusable library of discounted Markov chain costs on finite state spaces (the geometric-series identity behind (26)) and support-function lemmas on the simplex (monotonicity, the bound σP(u)−σP(v)≤∥u−v∥∞\sigma_{\mathcal P}(u) - \sigma_{\mathcal P}(v) \le \|u-v\|_\inftyσP​(u)−σP​(v)≤∥u−v∥∞​). Both are needed by the other missions of this series.

Selected references

  • A. Nilim, L. El Ghaoui, Robust Control of Markov Decision Processes with Uncertain Transition Matrices, Operations Research 53(5):780–798, 2005. https://doi.org/10.1287/opre.1050.0216
  • G. N. Iyengar, Robust Dynamic Programming, Mathematics of Operations Research 30(2):257–280, 2005. https://doi.org/10.1287/moor.1040.0129
  • J. A. Bagnell, A. Y. Ng, J. Schneider, Solving Uncertain Markov Decision Processes, Technical Report CMU-RI-TR-01-25, Carnegie Mellon University, 2001. https://www.ri.cmu.edu/publications/solving-uncertain-markov-decision-processes/
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
10 thms4 active usersReviewed
🏆Completed
Convex OptimizationFunctional AnalysisOperations Research+2·Captain: mikedeng1

Dual Stochastic Dominance and Related Mean-Risk Models 2: Mean–Gini Optimal Portfolios Exist and Are SSD-EfficientResearch Paper

Motivation

Portfolio selection and other decisions under risk are routinely solved as mean–risk models: maximize the expected outcome minus a multiple of a risk measure over the feasible set. Such a model is computationally convenient, but it is only defensible if its answers agree with the preferences of risk-averse decision makers. The standard formal expression of those preferences is second-degree stochastic dominance (SSD): a random outcome XXX dominates YYY when every nondecreasing concave utility prefers XXX. A mean–risk model whose optimal solution may be SSD-dominated by another feasible decision recommends something every risk-averse investor would reject; the classical mean–variance model has exactly this defect.

Ogryczak and Ruszczyński (SIAM J. Optim. 13 (2002) 60–78) characterize SSD through the absolute Lorenz curve (the second quantile function) and use this dual view to study risk measures defined from quantiles: the vertical diameter of the dual dispersion space, the tail Gini measure and the Gini mean difference. Their §5 shows that the mean–Gini model, with trade-off coefficient at most one, has optimal solutions and that all of them are SSD-efficient. This mission formalizes that result together with the lemmas it rests on. A companion mission of this series formalizes the dual characterization of SSD itself (the paper's Theorems 3.1–3.2).

Timeline. Yitzhaki (1982) showed the mean–Gini necessary condition for SSD for bounded distributions; Ogryczak and Ruszczyński proved SSD consistency of mean-semideviation models (Eur. J. Oper. Res. 116 (1999)) and, in the present paper, extended the analysis to quantile-based and Gini-type risk measures for general integrable outcomes, with existence and efficiency of optimal solutions over sets in LqL_qLq​.

Setting

Let (Ω,B,P)(\Omega,\mathcal B,P)(Ω,B,P) be a probability space and X:Ω→RX:\Omega\to\mathbb RX:Ω→R an integrable random variable with mean μX=EX\mu_X=E XμX​=EX and distribution function FX(η)=P{X≤η}F_X(\eta)=P\{X\le\eta\}FX​(η)=P{X≤η}. The second performance function is

FX(2)(η)=∫−∞ηFX(ξ) dξ,F_X^{(2)}(\eta)=\int_{-\infty}^{\eta}F_X(\xi)\,d\xi ,FX(2)​(η)=∫−∞η​FX​(ξ)dξ,

and X⪰SSDYX\succeq_{SSD}YX⪰SSD​Y means FX(2)(η)≤FY(2)(η)F_X^{(2)}(\eta)\le F_Y^{(2)}(\eta)FX(2)​(η)≤FY(2)​(η) for all η∈R\eta\in\mathbb Rη∈R. Strict dominance is X≻SSDYX\succ_{SSD}YX≻SSD​Y iff X⪰SSDYX\succeq_{SSD}YX⪰SSD​Y and not Y⪰SSDXY\succeq_{SSD}XY⪰SSD​X. For a set QQQ of random variables, X∈QX\in QX∈Q is SSD-efficient in QQQ if no Y∈QY\in QY∈Q satisfies Y≻SSDXY\succ_{SSD}XY≻SSD​X.

The left quantile function is FX(−1)(p)=inf⁡{η:FX(η)≥p}F_X^{(-1)}(p)=\inf\{\eta:F_X(\eta)\ge p\}FX(−1)​(p)=inf{η:FX​(η)≥p} for 0<p≤10<p\le10<p≤1; a number qqq is a ppp-quantile if P{X<q}≤p≤P{X≤q}P\{X<q\}\le p\le P\{X\le q\}P{X<q}≤p≤P{X≤q}. The absolute Lorenz curve is FX(−2)(p)=∫0pFX(−1)(α) dαF_X^{(-2)}(p)=\int_0^pF_X^{(-1)}(\alpha)\,d\alphaFX(−2)​(p)=∫0p​FX(−1)​(α)dα on [0,1][0,1][0,1]. From it the paper defines

  • the vertical diameter hX(p)=μXp−FX(−2)(p)h_X(p)=\mu_Xp-F_X^{(-2)}(p)hX​(p)=μX​p−FX(−2)​(p), p∈[0,1]p\in[0,1]p∈[0,1] (eq. (3.6));
  • the Gini mean difference ΓX=2∫01(μXp−FX(−2)(p)) dp\Gamma_X=2\int_0^1(\mu_Xp-F_X^{(-2)}(p))\,dpΓX​=2∫01​(μX​p−FX(−2)​(p))dp (eq. (3.8));
  • the tail Gini measure GX(p)=2p2∫0p(μXα−FX(−2)(α)) dαG_X(p)=\frac{2}{p^2}\int_0^p(\mu_X\alpha-F_X^{(-2)}(\alpha))\,d\alphaGX​(p)=p22​∫0p​(μX​α−FX(−2)​(α))dα, p∈(0,1]p\in(0,1]p∈(0,1] (eq. (4.8)), so that ΓX=GX(1)\Gamma_X=G_X(1)ΓX​=GX​(1).

The optimization problem is

max⁡X∈Q (μX−λrX),(5.1)\max_{X\in Q}\ (\mu_X-\lambda r_X),\tag{5.1}X∈Qmax​ (μX​−λrX​),(5.1)

with λ>0\lambda>0λ>0, rXr_XrX​ one of these dual risk measures, and QQQ a convex, closed, bounded subset of Lq(Ω,P)L_q(\Omega,P)Lq​(Ω,P) for some q>1q>1q>1.

Formalization targets

Goal: Theorem 5.3

For 1<q<∞1<q<\infty1<q<∞, a nonempty convex bounded closed Q⊆LqQ\subseteq L_qQ⊆Lq​, rX=ΓXr_X=\Gamma_XrX​=ΓX​ and every λ∈(0,1]\lambda\in(0,1]λ∈(0,1]:

arg max⁡X∈Q(μX−λΓX)≠∅and every X∈arg max⁡X∈Q(μX−λΓX) is SSD-efficient in Q.\operatorname*{arg\,max}_{X\in Q}(\mu_X-\lambda\Gamma_X)\neq\emptyset\quad\text{and every } X\in\operatorname*{arg\,max}_{X\in Q}(\mu_X-\lambda\Gamma_X)\text{ is SSD-efficient in }Q.X∈Qargmax​(μX​−λΓX​)=∅and every X∈X∈Qargmax​(μX​−λΓX​) is SSD-efficient in Q.

Milestones

  1. Lemma 3.4: for p∈(0,1)p\in(0,1)p∈(0,1), hX(p)=min⁡ξ∈RE{max⁡(p(X−ξ),(1−p)(ξ−X))}h_X(p)=\min_{\xi\in\mathbb R}E\{\max(p(X-\xi),(1-p)(\xi-X))\}hX​(p)=minξ∈R​E{max(p(X−ξ),(1−p)(ξ−X))}, attained at any ppp-quantile.
  2. Lemma 5.1: X↦hX(p)X\mapsto h_X(p)X↦hX​(p) is convex and positively homogeneous on L1L_1L1​ for p∈[0,1]p\in[0,1]p∈[0,1].
  3. Lemma 5.2: X↦GX(p)X\mapsto G_X(p)X↦GX​(p) is convex and positively homogeneous on L1L_1L1​ for p∈(0,1]p\in(0,1]p∈(0,1].
  4. (4.1): X⪰SSDY⇒μX≥μYX\succeq_{SSD}Y\Rightarrow\mu_X\ge\mu_YX⪰SSD​Y⇒μX​≥μY​.
  5. Proposition 4.5: X⪰SSDY⇒μX−ΓX≥μY−ΓYX\succeq_{SSD}Y\Rightarrow\mu_X-\Gamma_X\ge\mu_Y-\Gamma_YX⪰SSD​Y⇒μX​−ΓX​≥μY​−ΓY​ and X≻SSDY⇒μX−ΓX>μY−ΓYX\succ_{SSD}Y\Rightarrow\mu_X-\Gamma_X>\mu_Y-\Gamma_YX≻SSD​Y⇒μX​−ΓX​>μY​−ΓY​.

Companion: Theorem 5.4

For rX=hX(p)/pr_X=h_X(p)/prX​=hX​(p)/p with p∈(0,1)p\in(0,1)p∈(0,1) and λ∈(0,1]\lambda\in(0,1]λ∈(0,1], the optimal set Q∗Q^*Q∗ is nonempty and each X∈Q∗X\in Q^*X∈Q∗ has an SSD-efficient X∗∈Q∗X^*\in Q^*X∗∈Q∗ with μX∗=μX\mu_{X^*}=\mu_XμX∗​=μX​ and hX∗(p)=hX(p)h_{X^*}(p)=h_X(p)hX∗​(p)=hX​(p).

Significance

Theorem 5.3 certifies the mean–Gini model as a safe decision rule: whatever trade-off λ∈(0,1]\lambda\in(0,1]λ∈(0,1] is chosen, the model returns a decision that no feasible alternative dominates for all risk-averse utilities, and such a decision exists under assumptions natural for portfolio sets in LqL_qLq​. Theorem 5.4 gives the weaker but still usable guarantee for the tail-value-at-risk type measure hX(p)/ph_X(p)/phX​(p)/p, for which non-efficient optima can occur. Lemma 3.4 is the bridge to computation: it turns hX(p)h_X(p)hX​(p) into an expected piecewise-linear loss minimized over a scalar, which is how these models become linear programs over scenarios (§6 of the paper).

On the formalization side, the results are proved in the paper but, as far as a search of the platform shows, not machine-checked anywhere. A complete development produces reusable infrastructure: quantile functions and their integrals for integrable random variables, convexity of law-invariant functionals on L1L_1L1​, the Gini mean difference, and an existence argument for concave maximization over weakly compact subsets of LqL_qLq​.

Difficulty

The existence half needs weak compactness of QQQ in the reflexive space LqL_qLq​ and weak upper semicontinuity of μX−λΓX\mu_X-\lambda\Gamma_XμX​−λΓX​. The functional is defined through quantiles, which are not linear in XXX, so neither its concavity nor its continuity is visible from the definition. Closedness of QQQ in the norm topology must be upgraded to weak closedness, which uses convexity. The efficiency half needs the strict inequality (4.7): a strict SSD relation must produce a strict gap in the integrated absolute Lorenz curves, and the pointwise inequality of F(2)F^{(2)}F(2) alone does not give strictness in Γ\GammaΓ. The obvious attempt to argue efficiency from (4.6) alone fails: it yields only a weak inequality, which is compatible with an optimum being strictly dominated.

Formalization scope

  • One probability space (Ω,P)(\Omega,P)(Ω,P) with IsProbabilityMeasure P; random variables are functions Ω → ℝ, and all random variables compared by ⪰SSD\succeq_{SSD}⪰SSD​ live on it.
  • FX(2)F_X^{(2)}FX(2)​ is the Bochner integral of P.real {X ≤ ξ} over (−∞,η](-\infty,\eta](−∞,η]; μX\mu_XμX​ is ∫ X ∂P. Every statement about general random variables assumes Integrable X P (the paper's standing E∣X∣<∞E|X|<\inftyE∣X∣<∞).
  • FX(−1)F_X^{(-1)}FX(−1)​ uses the real sInf; its junk value at p=1p=1p=1 does not enter any integral and is never used pointwise. FX(−2)F_X^{(-2)}FX(−2)​ is used only on [0,1][0,1][0,1], so it is real-valued here; the extended-real version with +∞+\infty+∞ off [0,1][0,1][0,1] belongs to the companion mission.
  • ΓX\Gamma_XΓX​ is defined by the area formula (3.8), not by the double-integral formula that the paper cites; hXh_XhX​ is defined by (3.6), not by the minimum (3.7), so Lemma 3.4 is a genuine statement.
  • LqL_qLq​ is Mathlib's Lp ℝ q P with 1 < q and q ≠ ∞ (the paper's qqq is a real number >1>1>1); the functionals are applied to the function of an LqL_qLq​ element, and SSD-efficiency in QQQ refers to the image of QQQ in functions. Positive homogeneity is stated for the L1L_1L1​ element c⋅Xc\cdot Xc⋅X.
  • Added hypothesis: QQQ is nonempty. The paper does not write it, and without it the optimal set is empty.
  • Optimal solutions are maximizers in QQQ, not a supremum value. The trade-off coefficient is lam because λ is a Lean keyword; the range λ∈(0,1]\lambda\in(0,1]λ∈(0,1] is kept exactly.
  • A trivializing formalization is ruled out: the weak relation ⪰SSD\succeq_{SSD}⪰SSD​ must not replace the strict relation in SSD-efficiency (every XXX weakly dominates itself), and Γ\GammaΓ must not be a hand-chosen closed form.

Needed infrastructure: quantile functions and the identity ∫01FX(−1)=μX\int_0^1F_X^{(-1)}=\mu_X∫01​FX(−1)​=μX​; the minimum representation of Lemma 3.4; convexity of law-invariant functionals on Lp; weak compactness of bounded closed convex sets in reflexive Lp. Contributions of general lemmas about quantiles and Lorenz curves are welcome and reusable beyond this mission.

Selected references

  • W. Ogryczak, A. Ruszczyński, Dual stochastic dominance and related mean-risk models, SIAM J. Optim. 13(1) (2002) 60–78. https://doi.org/10.1137/S1052623400375075
  • W. Ogryczak, A. Ruszczyński, From stochastic dominance to mean-risk models: semideviations as risk measures, Eur. J. Oper. Res. 116 (1999) 33–50. https://doi.org/10.1016/S0377-2217(98)00167-2
  • S. Yitzhaki, Stochastic dominance, mean variance, and Gini's mean difference, Amer. Econ. Rev. 72 (1982) 178–185. https://www.jstor.org/stable/1808584
10 thms4 active usersReviewed
🏆Completed
Convex OptimizationDiscrete GeometryOperations Research+1·Captain: Shuze Chen

Discrete Convex Analysis XXIV: Quasi M-Convex FunctionsTextbook

Motivation

Every characterization of M-convexity so far in this series — the exchange axiom, the optimality criterion, convex extensibility, the directional-derivative/subdifferential correspondence — has been an equivalence with M-convexity itself: a function either is M-convex or it is not. Section 6.14 asks a different question: what happens when the exchange axiom's defining inequality is relaxed to only the sign patterns it actually forces? The answer is a hierarchy of "quasi M-convex" conditions — weaker than M-convexity, strong enough to keep the optimality criterion and the proximity/minimizer-cut theorems intact — and, at the top of that hierarchy, a genuinely new characterization of M-convexity itself: a function is M-convex if and only if every one of its linear perturbations is quasi M-convex in the weakest sense. This mission formalizes that entire hierarchy and its capstone, plus two further characterizations of polyhedral M-convexity (via directional derivatives, subdifferentials, and weighted-minimizer polyhedra) that complete the real-variable theory chunk 24-ch06d-mconvexfunctions began.

Setting

Fix a finite ground set VVV and f:ZV→R∪{+∞}f : \mathbb Z^V \to \mathbb R \cup \{+\infty\}f:ZV→R∪{+∞}. Write Δf(z;v,u)=f(z+χv−χu)−f(z)\Delta f(z;v,u) = f(z + \chi_v - \chi_u) - f(z)Δf(z;v,u)=f(z+χv​−χu​)−f(z). Relaxing the exchange axiom's inequality Δf(x;v,u)+Δf(y;u,v)≤0\Delta f(x;v,u) + \Delta f(y;u,v) \le 0Δf(x;v,u)+Δf(y;u,v)≤0 to the sign patterns it forces gives quasi M-convexity (QM) and semistrict quasi M-convexity (SSQM), and requiring only some pair (u,v)(u,v)(u,v) rather than every uuu gives their weaker variants (QMw), (SSQMw); the minimization-only variants (SSQM≠\ne=), (SSQM≠w\ne_w=w​) replace "x,y∈dom⁡fx,y \in \operatorname{dom} fx,y∈domf" with "f(x)≠f(y)f(x) \ne f(y)f(x)=f(y)". The set-level analogue (Q-EXC)/(Q-EXCw) relaxes the M-convex-set exchange axiom the same way. For α∈R\alpha \in \mathbb Rα∈R, the level set L(f,α)={x∈ZV:f(x)≤α}L(f,\alpha) = \{x \in \mathbb Z^V : f(x) \le \alpha\}L(f,α)={x∈ZV:f(x)≤α}. A polyhedral convex function f:RV→R∪{+∞}f : \mathbb R^V \to \mathbb R \cup \{+\infty\}f:RV→R∪{+∞} is (real-variable) M-convex, f∈M[R→R]f \in M[\mathbb R \to \mathbb R]f∈M[R→R], if it satisfies the real exchange axiom (M-EXC[R]) from chunk 24-ch06d-mconvexfunctions; L0[R]L_0[\mathbb R]L0​[R] denotes polyhedra realized as D(γ)D(\gamma)D(γ) for a triangle-inequality distance function γ\gammaγ, and M0[R]M_0[\mathbb R]M0​[R] denotes real M-convex polyhedral cones.

Formalization targets

Goal: the quasi M-convexity hierarchy (Theorem 6.68)

For f:ZV→R∪{+∞}f : \mathbb Z^V \to \mathbb R \cup \{+\infty\}f:ZV→R∪{+∞}: (1) the implication diagram (M-EXC[Z]) ⇒\Rightarrow⇒ (SSQM) ⇒\Rightarrow⇒ (QM), (M-EXCw[Z]) ⇒\Rightarrow⇒ (SSQMw) ⇒\Rightarrow⇒ (QMw), (M-EXC[Z]) ⇔\Leftrightarrow⇔ (M-EXCw[Z]), (SSQM) ⇒\Rightarrow⇒ (SSQMw), (QM) ⇒\Rightarrow⇒ (QMw); (2) fff satisfies (M-EXC[Z]) if and only if f[p]f[p]f[p] satisfies (QMw) for every p∈RVp \in \mathbb R^Vp∈RV. This theorem is not named in the chunk's own extraction table — the automated extractor, which requires a result's label to start a text line, misses it because it opens mid-paragraph directly after an ASCII-rendered implication diagram — but it is the capstone of the section: its own proof is "combining Theorems 6.72 and 6.74," both formalized here as milestones, and part (2) answers exactly the question a reader of this stretch would ask: what does the entire apparatus of quasi M-convexity ultimately say about M-convexity itself?

Supporting structural targets

Fourteen further results build the hierarchy and complete the real-variable theory. Proposition 6.62 checks the two halves of chunk 24-ch06d-mconvexfunctions's Theorem 6.61 agree at integer points. Theorems 6.63–6.64 add two more characterizations of polyhedral M-convexity — via positively homogeneous directional derivatives and L0[R]L_0[\mathbb R]L0​[R]-valued subdifferentials, and via M0[R]M_0[\mathbb R]M0​[R]/M0[Z∣R]M_0[\mathbb Z|\mathbb R]M0​[Z∣R]-valued weighted-minimizer polyhedra — to the convex-extensibility characterization chunk 23-ch06c-mconvexfunctions proved. Theorem 6.67 gives two equivalent reformulations of (QMw) as pointwise inequalities; Propositions 6.69–6.70 and Theorems 6.72–6.74 build the level-set/perturbation machinery the goal needs. Theorem 6.75 is the (SSQM≠w\ne_w=w​) analogue of Theorem 6.67. Theorem 6.76 is the quasi M-optimality criterion (optimality still characterized by local non-improvement, under only the weak quasi-convexity hypotheses). Theorems 6.77–6.79 show the M-minimizer-cut and M-proximity theorems (from missions 06-mconvex-functions-i and 23-ch06c-mconvexfunctions) hold verbatim under the strictly weaker (SSQM≠\ne=) hypothesis.

Significance

The hierarchy's practical payoff is immediate: Theorems 6.77–6.79 mean the algorithms of chapter 10 that rely on minimizer cuts and proximity bounds do not actually need the full exchange axiom to run correctly on nonlinearly rescaled M-convex functions (Example 6.66 shows any nondecreasing scaling ϕ∘f\phi \circ fϕ∘f of an M-convex fff is quasi M-convex, yet nonlinear scalings are common in practice and destroy M-convexity itself). The goal, Theorem 6.68, is significant independently: it says the exchange axiom — a condition that looks irreducibly combinatorial, quantifying over pairs of points and directions — is equivalent to a purely ordinal, perturbation-based condition (every linear tilt of fff has no strict local improvement that a level set can't witness), giving a genuinely different lens on why M-convexity is the right discrete analogue of convexity. Theorems 6.63–6.64 close out chunk 24-ch06d-mconvexfunctions's program of characterizing polyhedral M-convexity in every classical convex-analytic vocabulary at once (directional derivatives, subdifferentials, weighted minimizers), completing the bridge to Chapter 8's duality theory that chunk builds toward.

None of these results are open — they are Murota's account of how far the exchange axiom's defining inequality can be relaxed while keeping optimization theory intact. What this mission contributes is a faithful, machine-checked formal statement of each, including four theorems (6.68, 6.76, 6.77, 6.78) the platform's own automated extractor missed entirely, extending the shared Lean vocabulary (DeltaF, QMw, LevelSet) the Discrete Convex Analysis series builds on; no comparable formalization exists on the platform (see Formalization scope).

Difficulty

The naive approach to the goal would try to prove the implication diagram's six arrows and the perturbation equivalence as six independent facts; the book's own proof of part (2) instead derives it in one step from Theorems 6.72 and 6.74 — themselves nontrivial (Theorem 6.74's proof strengthens the local exchange axiom equivalence (Theorem 6.4) to hold whenever the domain merely satisfies (Q-EXCw), then runs a bipartite-matching argument on a 4-point neighborhood to verify the resulting local condition). The difficulty is genuinely upstream of the goal's own statement: everything the goal needs is already proved by the time Theorem 6.68 is reached, so the formalization work is in stating the sixteen distinct axioms and their level-set reformulations precisely enough that "combining 6.72 and 6.74" is literally how a Lean proof would proceed.

Formalization scope

Ground-set elements are a Fintype V with DecidableEq; integer-domain functions are (V→ℤ)→WithTop ℝ, real-domain ones (V→ℝ)→WithTop ℝ. All fifteen numbered results — including the four (6.68, 6.76, 6.77, 6.78) the automated extractor missed because their labels open mid-paragraph — are placed as milestone or goal, and every clause of every one is stated in full; no partial-coverage scope reduction was needed in this chunk (contrast chunks 22-ch06b-mconvexfunctions/24-ch06d-mconvexfunctions, which restated 4-of-8-part operations theorems). Two formalization choices are recorded in HARD.md/MODERATION_NOTES.md: "inf⁡f[−p]>−∞\inf f[-p] > -\inftyinff[−p]>−∞" is replaced by the equivalent (ArgMinOn ...).Nonempty hypothesis (WithTop ℝ has no −∞-\infty−∞ element), matching mission 23-ch06c-mconvexfunctions's identical substitution; and M0[R]M_0[\mathbb R]M0​[R]/M0[Z∣R]M_0[\mathbb Z|\mathbb R]M0​[Z∣R] are realized via the book's own indicator-function device rather than a freestanding cone axiom. This mission's definitions are redeclared from chunks 06-mconvex-functions-i, 22–24-ch06*-mconvexfunctions rather than imported, since sibling drafts in this series cannot yet reference one another. Contributions completing any of the fifteen sorrys are welcome; the goal and Theorem 6.74 carry the most independent proof content.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • M. Avriel, W. E. Diewert, S. Schaible, and I. Zang, Generalized Concavity, Plenum Press, 1988 (the continuous quasi-convexity theory this chapter's discrete analogue generalizes).
56 thms3 active usersReviewed
🏆Completed
Convex OptimizationDiscrete GeometryOperations Research+1·Captain: Shuze Chen

Discrete Convex Analysis VII: The L-Optimality Criterion and the Proximity TheoremTextbook

Motivation

Submodularity — the diminishing-returns property g(p)+g(q)≥g(p∨q)+g(p∧q)g(p) + g(q) \ge g(p \vee q) + g(p \wedge q)g(p)+g(q)≥g(p∨q)+g(p∧q) on a lattice — is one of the most useful structural hypotheses in combinatorial optimization, underlying efficient algorithms for network flows, matroid theory, and set-function minimization. Chapter 7 studies L-convex functions: functions on the integer lattice ZV\mathbb Z^VZV that are submodular and linear along the all-ones direction. This is the "dual" notion, under the conjugacy developed later in the book, to chunk 06's M-convex functions, and it inherits the same strong minimization theory — a purely local optimality criterion and a proximity theorem with an explicit distance bound — while additionally supporting a genuinely new characterization with no M-convex counterpart: discrete midpoint convexity, the direct lattice analogue of the classical real-valued midpoint convexity condition. This mission formalizes the chapter's definitional theorem, its midpoint-convexity characterization, the L-optimality criterion, and the L-proximity theorem itself.

Setting

Let VVV be a finite ground set. A function g:ZV→R∪{+∞}g : \mathbb Z^V \to \mathbb R \cup \{+\infty\}g:ZV→R∪{+∞} with nonempty effective domain is an L-convex function if it satisfies (SBF[Z]): g(p)+g(q)≥g(p∨q)+g(p∧q)g(p) + g(q) \ge g(p \vee q) + g(p \wedge q)g(p)+g(q)≥g(p∨q)+g(p∧q) for all p,qp, qp,q (∨,∧\vee, \wedge∨,∧ componentwise max/min), and (TRF[Z]): there is r∈Rr \in \mathbb Rr∈R with g(p+1)=g(p)+rg(p + \mathbf 1) = g(p) + rg(p+1)=g(p)+r for all ppp, where 1\mathbf 11 is the all-ones vector. An L♮^\natural♮-convex function is one whose lift to the extended ground set {0}∪V\{0\} \cup V{0}∪V is L-convex; equivalently (Theorem 7.1), ggg satisfies the translation-submodularity axiom (SBF♮^\natural♮[Z]): g(p)+g(q)≥g((p−α1)∨q)+g(p∧(q+α1))g(p) + g(q) \ge g((p - \alpha\mathbf 1) \vee q) + g(p \wedge (q + \alpha\mathbf 1))g(p)+g(q)≥g((p−α1)∨q)+g(p∧(q+α1)) for all p,qp, qp,q and all nonnegative integers α\alphaα. Discrete midpoint convexity asks g(p)+g(q)≥g(⌈(p+q)/2⌉)+g(⌊(p+q)/2⌋)g(p) + g(q) \ge g(\lceil (p+q)/2 \rceil) + g(\lfloor (p+q)/2 \rfloor)g(p)+g(q)≥g(⌈(p+q)/2⌉)+g(⌊(p+q)/2⌋) componentwise. For α\alphaα a positive integer, a point satisfies scaled local optimality if g(pα)≤g(pα±αχY)g(p_\alpha) \le g(p_\alpha \pm \alpha \chi_Y)g(pα​)≤g(pα​±αχY​) for every Y⊆VY \subseteq VY⊆V.

Formalization targets

Goal: Theorem 7.18 (the L-proximity theorem)

Assume α\alphaα is a positive integer and n=∣V∣n = |V|n=∣V∣. (1) If ggg is L-convex with g(p)=g(p+1)g(p) = g(p+\mathbf 1)g(p)=g(p+1) for all ppp, and pα∈dom⁡gp_\alpha \in \operatorname{dom} gpα​∈domg satisfies g(pα)≤g(pα+αχY)g(p_\alpha) \le g(p_\alpha + \alpha\chi_Y)g(pα​)≤g(pα​+αχY​) for all Y⊆VY \subseteq VY⊆V, then arg⁡min⁡g≠∅\arg\min g \ne \emptysetargming=∅ and there is p∗∈arg⁡min⁡gp^* \in \arg\min gp∗∈argming with the componentwise bound

pα≤p∗≤pα+(n−1)(α−1)1.p_\alpha \le p^* \le p_\alpha + (n-1)(\alpha-1)\mathbf 1.pα​≤p∗≤pα​+(n−1)(α−1)1.

(2) If ggg is L♮^\natural♮-convex and pαp_\alphapα​ satisfies the two-sided version, then there is p∗p^*p∗ with pα−n(α−1)1≤p∗≤pα+n(α−1)1p_\alpha - n(\alpha-1)\mathbf 1 \le p^* \le p_\alpha + n(\alpha-1)\mathbf 1pα​−n(α−1)1≤p∗≤pα​+n(α−1)1. The bound is a genuine vector (lattice-order) inequality, not an ℓ∞\ell^\inftyℓ∞-norm bound — the form later chapters' applications need.

Milestones: Theorems 7.1, 7.7, 7.14

Theorem 7.1: L♮^\natural♮-convexity (defined via the lift) is equivalent to the direct translation-submodularity axiom. Theorem 7.7: this same class is also characterized by discrete midpoint convexity — a three-way equivalence with the approach property (L♮^\natural♮-APR[Z]) as a bridge — giving L-convexity a genuinely different, more geometric face than anything available on the M-convex side. Theorem 7.14 (the L-optimality criterion): global optimality reduces to a purely local check against the sign-pattern neighbors p±χYp \pm \chi_Yp±χY​, mirroring chunk 06's Theorem 6.26 but with the plain L-convex case additionally requiring the periodicity condition g(p)=g(p+1)g(p) = g(p+\mathbf 1)g(p)=g(p+1).

Significance

The result itself. Discrete midpoint convexity (Theorem 7.7) is philosophically important: it shows the lattice-submodularity definition of L-convexity is not an arbitrary discretization choice but coincides exactly with the most direct discrete analogue of ordinary midpoint convexity, the classical characterization of convex functions via f((p+q)/2)≤(f(p)+f(q))/2f((p+q)/2) \le (f(p)+f(q))/2f((p+q)/2)≤(f(p)+f(q))/2. The L-optimality criterion and L-proximity theorem give L-convex minimization the same algorithmic footing as M-convex minimization (chunk 06): scaling algorithms for L-convex objectives — which arise naturally from network flow and submodular-function duality — inherit a provable, dimension-and-scale-explicit distance guarantee between a coarse-scale local optimum and the true minimizer.

Formalizing it. No matching item exists on the platform for L-convex functions, discrete midpoint convexity, or the L-optimality/proximity theorems. This mission gives the first formal statement of these results, completing (alongside chunk 06's M-convex-function results) both halves of the exchange-axiom-based theory that chapter 8's conjugacy duality later unifies.

Difficulty

A natural shortcut, given the structural parallel to chunk 06, is to assume the L-proximity theorem's proof is a mechanical relabeling of the M-proximity theorem's proof. It is not: the M-convex proof (chunk 06) crucially uses the exchange axiom's additive four-term inequality to build a chain of strictly improving points, whereas the L-convex proof instead exploits (TRF[Z])'s periodicity directly — it reduces to the case pα=0p_\alpha = 0pα​=0 using translation invariance, then constructs a minimal (with respect to the lattice order) point among all sufficiently good solutions and shows this minimality, combined with submodularity (SBF[Z]), forces the componentwise bound. The vector (rather than norm) form of the conclusion is not cosmetic: it is exactly what this lattice-order argument naturally produces, and is the form needed by later chapters' applications.

Formalization scope

The ground set VVV is a Fintype with DecidableEq; g:ZV→R∪{+∞}g : \mathbb Z^V \to \mathbb R \cup \{+\infty\}g:ZV→R∪{+∞} is (V → ℤ) → WithTop ℝ. Unlike chunk 06's M-convex axiom, (SBF[Z]), (TRF[Z]), and (SBF♮^\natural♮[Z]) are stated for all of ZV\mathbb Z^VZV, not restricted to dom⁡g\operatorname{dom} gdomg, so no explicit import of chunk 05's L-convex-set vocabulary was needed for dom g's structure (unlike the corresponding note in chunk 06's BRIEF.md, which flagged the same concern for dom f). L♮^\natural♮-convexity is represented via an explicit lift to Option V, matching the book's own primary definition, with the direct axiom (SBF♮^\natural♮[Z]) kept as a separate object related to it by Theorem 7.1.

A trivializing formalization of the goal would convert its componentwise vector bound into an ℓ∞\ell^\inftyℓ∞-norm bound (losing the direction-of-approach information the vector form carries) or drop Part (1)'s periodicity hypothesis g(p)=g(p+1)g(p) = g(p+\mathbf 1)g(p)=g(p+1); neither is done here. Propositions establishing dom g as an L-convex set, the L/L♮^\natural♮ relationship (Theorem 7.3), the submodular-set-function embedding (Proposition 7.4), and several structural closure properties are cut from this mission's scope (see MODERATION_NOTES.md) but are natural targets for a follow-on mission or for chunk 09, which builds directly on this chunk's exchange-axiom vocabulary, mirroring chunks 06→07.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
18 thms2 active usersReviewed
🏆Completed
Convex OptimizationDiscrete GeometryOperations Research+1·Captain: Shuze Chen

Discrete Convex Analysis VIII: Quasi L-Convex Functions and the Quasi-Proximity TheoremTextbook

Motivation

Milgrom and Shannon's theory of quasi-supermodularity, developed for monotone comparative statics in economics, showed that many of the consequences of lattice submodularity survive under a much weaker, purely ordinal relaxation of the defining inequality. Chapter 7's final section imports this idea into discrete convex analysis: does L-convexity's optimality and proximity theory survive when the additive submodularity inequality is relaxed to an ordinal condition on the sign pattern of the two relevant differences, rather than their sum? This mission formalizes the chapter's answer for the strongest of the relevant relaxations, (SSQSB) (semistrict quasi submodularity): yes, and the class is large enough to include every strictly increasing rescaling of an L-convex function — exactly mirroring chunk 07's result for the M-convex side, and completing the "quasi" theory on both halves of the exchange-axiom framework before chapter 8 unifies them under conjugacy.

Setting

Let VVV be a finite ground set and g:ZV→R∪{+∞}g : \mathbb Z^V \to \mathbb R \cup \{+\infty\}g:ZV→R∪{+∞}. Building on chunk 08's submodularity axiom (SBF[Z]), this section introduces four ordinal relaxations. ggg is quasi submodular, satisfying (QSB), if for every p,q∈ZVp, q \in \mathbb Z^Vp,q∈ZV, g(p∧q)≤g(p)g(p \wedge q) \le g(p)g(p∧q)≤g(p) or g(p∨q)≤g(q)g(p \vee q) \le g(q)g(p∨q)≤g(q). ggg is semistrictly quasi submodular, satisfying (SSQSB), if additionally g(p∨q)≥g(q)  ⟹  g(p∧q)≤g(p)g(p \vee q) \ge g(q) \implies g(p \wedge q) \le g(p)g(p∨q)≥g(q)⟹g(p∧q)≤g(p) and symmetrically. The weak variants (QSBw) and (SSQSBw) restrict attention to points of the effective domain and compare max⁡(g(p),g(q))\max(g(p), g(q))max(g(p),g(q)) against min⁡(g(p∧q),g(p∨q))\min(g(p \wedge q), g(p \vee q))min(g(p∧q),g(p∨q)) directly, with (SSQSBw) additionally allowing the four-way tie g(p)=g(q)=g(p∧q)=g(p∨q)g(p) = g(q) = g(p\wedge q) = g(p \vee q)g(p)=g(q)=g(p∧q)=g(p∨q). The linear perturbation of ggg by x:V→Rx : V \to \mathbb Rx:V→R is g[x](p)=g(p)+⟨p,x⟩g[x](p) = g(p) + \langle p, x \rangleg[x](p)=g(p)+⟨p,x⟩.

Formalization targets

Goal: Theorem 7.54 (the quasi L-proximity theorem)

Let ggg satisfy (SSQSB) and g(p)=g(p+1)g(p) = g(p + \mathbf 1)g(p)=g(p+1) for all ppp, n=∣V∣n = |V|n=∣V∣, α\alphaα a positive integer. If pα∈dom⁡gp_\alpha \in \operatorname{dom} gpα​∈domg satisfies g(pα)≤g(pα+αχY)g(p_\alpha) \le g(p_\alpha + \alpha \chi_Y)g(pα​)≤g(pα​+αχY​) for all Y⊆VY \subseteq VY⊆V, then arg⁡min⁡g≠∅\arg\min g \ne \emptysetargming=∅ and there is p∗∈arg⁡min⁡gp^* \in \arg\min gp∗∈argming with the componentwise bound pα≤p∗≤pα+(n−1)(α−1)1p_\alpha \le p^* \le p_\alpha + (n-1)(\alpha-1) \mathbf 1pα​≤p∗≤pα​+(n−1)(α−1)1 — verbatim the same conclusion, and the same exact bound, as chunk 08's Theorem 7.18(1), now established for the strictly larger class satisfying (SSQSB) rather than (SBF[Z]).

Milestones: Theorems 7.49, 7.53

Theorem 7.49: the full nesting chain (SBF[Z]) ⇒\Rightarrow⇒ (SSQSB) ⇒\Rightarrow⇒ (QSB), (SSQSB) ⇒\Rightarrow⇒ (SSQSBw) ⇒\Rightarrow⇒ (QSBw), together with the collapse theorem that (SBF[Z]) holds if and only if every linear perturbation of ggg satisfies (QSBw) — precisely quantifying how weak (QSBw) is pointwise and how the classes reunite under universal perturbation. Theorem 7.53 (the quasi L-optimality criterion): the direct analogue of chunk 08's Theorem 7.14, showing that global (or, for the weaker (QSBw) case, unique-up-to-translation) optimality still reduces to a purely local check against the 2n−22^n - 22n−2 nontrivial sign-pattern neighbors p+χXp + \chi_Xp+χX​.

Significance

The result itself. As with the M-convex case (chunk 07), the proximity theorem is what algorithms actually need: an L-convex-flavored objective transformed by any strictly increasing scalar rescaling (a common device — expressing a network-flow cost in a different currency, or applying a monotone risk adjustment) retains a scaling algorithm's correctness guarantee with exactly the same distance bound, even though the rescaled function is generally no longer L-convex itself.

Formalizing it. No matching item exists on the platform for quasi submodularity or quasi L-convexity in any form. Together with chunk 07 (the M-side quasi-convexity theory), this mission completes the "quasi" relaxation on both halves of the exchange-axiom framework the book develops, immediately before chapter 8 unifies M-convexity and L-convexity under a single conjugacy relationship.

Difficulty

As with chunk 07's quasi M-proximity theorem, the temptation is to imitate chunk 08's L-proximity proof line by line. The overall architecture does survive — translate so pα=0p_\alpha = 0pα​=0, find a lattice-minimal sufficiently-good point, and bound the gap using submodularity — but chunk 08's proof uses (SBF[Z])'s additive inequality directly to compare four function values at once, while this proof must instead route every such comparison through (SSQSB)'s two one-directional implications (Proposition 7.50's quasi-version of the same two-sided inequality), which only ever license moving in one direction at a time depending on which side of a comparison is tight. The book's proof handles this by working with the specific implications (7.43)–(7.44) in place of the L♮-approach property used in chunk 08's proof — an ordinal substitute for the same additive step, at the cost of a case analysis chunk 08's proof did not need.

Formalization scope

This mission builds directly on chunk 08's published items (SBF, DomZ, ArgMin, IndicatorVec), per the platform's textbook convention that a later chapter section of the same book imports an earlier one's definitions; its own namespace DiscreteConvex.LConvexFunctions.Quasi nests under chunk 08's DiscreteConvex.LConvexFunctions accordingly. Note the sign convention of the linear perturbation here, g[x](p)=g(p)+⟨p,x⟩g[x](p) = g(p) + \langle p,x\rangleg[x](p)=g(p)+⟨p,x⟩, is the opposite of the M-side's f[p](x)=f(x)−⟨p,x⟩f[p](x) = f(x) - \langle p,x\ranglef[p](x)=f(x)−⟨p,x⟩ (chunks 06–07) — verified against the book's own formula rather than assumed by analogy.

A trivializing formalization of the goal would silently strengthen (SSQSB) back to plain (SBF[Z]) (making this mission redundant with chunk 08's Theorem 7.18) or loosen the exact bound (n−1)(α−1)(n-1)(\alpha-1)(n−1)(α−1); neither is done. Only (QSB), (SSQSB), (QSBw), (SSQSBw) are drafted, matching exactly what the chosen three items need; the polyhedral L-convex-function bridge (§7.8–7.9, Theorems 7.40–7.46) and the level-set characterizations (Theorems 7.51–7.52) are left for a follow-on mission. Contributions building the 0L ↔ S correspondence (Theorem 7.40, a bridge back to chunk 04's submodular-set-function vocabulary) or the scaled quasi L-minimizer-cut analogue are welcome.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • P. Milgrom, C. Shannon, "Monotone comparative statics," Econometrica, 62(1), 1994, pp. 157–180.
8 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