Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Operations Research

2,338 missions · 1,112 completed

The discipline of applying mathematical analysis to complex decision problems in operations: allocating scarce resources, scheduling, routing, inventory, and the design of service and production systems. Drawing on mathematical programming, stochastic modeling, queueing, simulation, and game-theoretic reasoning, it seeks policies that perform provably well in systems shaped by constraints, congestion, and uncertainty.

Missions

Open1226Completed1112All2338
🏆Completed
CombinatoricsOptimizationTheoretical Computer Science·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 ProgrammingOptimizationProbability·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
Dynamic ProgrammingOptimizationProbability·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 OptimizationDiscrete GeometryOptimization·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
Dynamic ProgrammingOptimizationProbability·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
Convex OptimizationMachine LearningOptimization·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 ProgrammingOptimizationProbability·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
CombinatoricsDiscrete GeometryOptimization·Captain: Shuze Chen

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

Motivation

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

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

Setting

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

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

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

Formalization targets

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

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

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

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

Milestones: Theorems 5.2, 5.5, 5.7

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

Selected references

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

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

Motivation

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

Setting

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

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

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

Formalization targets

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

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

Significance

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

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

Difficulty

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

Formalization scope

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

Selected references

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

Discrete Convex Analysis III: Edmonds's Intersection TheoremTextbook

Motivation

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

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

Setting

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

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

Its base polyhedron and submodular polyhedron are

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

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

Formalization targets

Goal: Theorem 4.18 (Edmonds's intersection theorem)

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

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

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

Milestones: Theorems 4.3, 4.15, 4.17

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

Selected references

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

Markov Decision Processes X: Partially Observable Markov Decision Processes and FilteringTextbook

Motivation

Every model in Chapters 2-4 assumed the controller sees the whole state before acting. Real control problems rarely offer that: a machine's true wear level, a customer's private valuation, a hidden regime driving asset returns — these are exactly the situations a decision-maker must act on despite never observing them directly, learning about them only through their effect on what is observed. This is the subject of Partially Observable Markov Decision Processes (POMDPs), introduced independently in operations research (K. J. Åström, Optimal Control of Markov Processes with Incomplete State Information, 1965) and studied extensively since as the right model for sequential decisions under hidden state. The central difficulty such a process raises is structural, not just computational: the state includes a component the controller never sees, so the very theory built in Chapter 2 — which assumes the controller's policies can depend on the full current state — does not apply. Bäuerle and Rieder's Chapter 5 resolves this by an idea with a long pedigree in stochastic control (Bayesian filtering, going back to R. E. Kalman and R. S. Bucy's filtering theory, and D. Blackwell's 1965 discounted-dynamic-programming treatment of the "state of information"): replace the unobservable state by the controller's own belief about it — a probability distribution, updated at every step by Bayes' rule — and show the resulting belief-state process is once again an ordinary, fully observed Markov Decision Model.

Setting

A Partially Observable Markov Decision Model (Definition 5.1.1) has data (EX×EY,A,D,Q,Q0,r,g,β)(E_X\times E_Y, A, D, Q, Q_0, r, g, \beta)(EX​×EY​,A,D,Q,Q0​,r,g,β): state (x,y)∈EX×EY(x,y)\in E_X\times E_Y(x,y)∈EX​×EY​ with xxx observable and yyy unobservable; feasible actions D(x)D(x)D(x) depending only on xxx; a stochastic kernel QQQ giving the joint law of the next state; initial law Q0Q_0Q0​ of Y0Y_0Y0​; rewards r,gr,gr,g; discount β\betaβ. A policy π=(f0,…,fN−1)∈ΠN\pi=(f_0,\dots,f_{N-1})\in\Pi_Nπ=(f0​,…,fN−1​)∈ΠN​ (Definition 5.1.3) is a sequence of decision rules fn:Hn→Af_n:H_n\to Afn​:Hn​→A, each depending only on the observable history Hn=(x0,a0,…,xn)H_n=(x_0,a_0,\dots,x_n)Hn​=(x0​,a0​,…,xn​) — never on any yky_kyk​. The objective

JNπ(x):=∫Exyπ[∑n=0N−1βnr(Xn,Yn,An)+βNg(XN,YN)]Q0(dy),JN(x):=sup⁡π∈ΠNJNπ(x)J_N^\pi(x) := \int \mathbb{E}_{xy}^\pi\Big[\sum_{n=0}^{N-1}\beta^n r(X_n,Y_n,A_n) + \beta^N g(X_N,Y_N)\Big] Q_0(dy), \qquad J_N(x):=\sup_{\pi\in\Pi_N} J_N^\pi(x)JNπ​(x):=∫Exyπ​[n=0∑N−1​βnr(Xn​,Yn​,An​)+βNg(XN​,YN​)]Q0​(dy),JN​(x):=π∈ΠN​sup​JNπ​(x)

(Equation (5.2)) carries an extra expectation over the unknown Y0Y_0Y0​ that Chapter 2's objective never had.

Assuming QQQ has a density qqq against reference measures, the Bayes operator Φ\PhiΦ and the filter recursion μ0:=Q0\mu_0:=Q_0μ0​:=Q0​, μn+1(⋅∣hn,an,xn+1):=Φ(xn,μn(⋅∣hn),an,xn+1)\mu_{n+1}(\cdot\mid h_n,a_n,x_{n+1}):=\Phi(x_n,\mu_n(\cdot\mid h_n),a_n,x_{n+1})μn+1​(⋅∣hn​,an​,xn+1​):=Φ(xn​,μn​(⋅∣hn​),an​,xn+1​) (Equations (5.3)-(5.4)) compute the posterior law of YnY_nYn​ given everything observed, purely from the observable history. Theorem 5.2.1 confirms μn\mu_nμn​ is genuinely this conditional law. The filtered Markov Decision Model (Definition 5.3.1) then treats (x,μn)∈E:=EX×P(EY)(x,\mu_n)\in E:=E_X\times\mathbb{P}(E_Y)(x,μn​)∈E:=EX​×P(EY​) as an ordinary, fully-observed state, with its own kernel Q′Q'Q′ (built from Φ\PhiΦ and the marginal QXQ^XQX), reward r′(x,ρ,a):=∫r(x,y,a)ρ(dy)r'(x,\rho,a):=\int r(x,y,a)\rho (dy)r′(x,ρ,a):=∫r(x,y,a)ρ(dy), and terminal reward g′(x,ρ):=∫g(x,y)ρ(dy)g'(x,\rho):=\int g(x,y)\rho(dy)g′(x,ρ):=∫g(x,y)ρ(dy).

Formalization targets

Goal — Theorem 5.3.3

J0′(x,ρ)=g′(x,ρ),Jn′(x,ρ)=sup⁡a∈D(x)[r′(x,ρ,a)+β∫Jn−1′(x′,ρ′) Q′(d(x′,ρ′)∣x,ρ,a)](1≤n≤N),J_0'(x,\rho) = g'(x,\rho), \qquad J_n'(x,\rho) = \sup_{a\in D(x)}\Big[r'(x,\rho,a) + \beta\int J_{n-1}'(x',\rho')\,Q'(d(x',\rho')\mid x,\rho,a)\Big] \quad (1\le n\le N),J0′​(x,ρ)=g′(x,ρ),Jn′​(x,ρ)=a∈D(x)sup​[r′(x,ρ,a)+β∫Jn−1′​(x′,ρ′)Q′(d(x′,ρ′)∣x,ρ,a)](1≤n≤N),

under the Structure Assumption of Theorem 2.3.8; and if fn′f_n'fn′​ maximizes Jn−1′J_{n-1}'Jn−1′​ for each nnn, then fn∗(hn):=fN−n′(xn,μn(⋅∣hn))f_n^*(h_n):=f_{N-n}'(x_n,\mu_n(\cdot\mid h_n))fn∗​(hn​):=fN−n′​(xn​,μn​(⋅∣hn​)) defines a policy optimal for the original NNN-stage POMDP. This is where the reduction pays off: an ordinary Bellman equation, of exactly the form Chapter 2 already solves, for a problem that had no Bellman equation at all in its original, partially-observed form.

Milestones

Lemma 5.2.2 (the filter-recursion identity, the technical engine behind everything that follows), Theorem 5.2.1 (the filter is truly the conditional law — without this, μn\mu_nμn​ would be merely a formula, not a meaningful belief), and Theorem 5.3.2 (the value of the filtered model exactly equals the value of the original POMDP, policy for policy — without this, solving the filtered model would solve a different problem).

Significance

Theorem 5.3.3 is the standard justification, made precise, for the single most common technique in applied sequential decision-making under uncertainty: replace an unknown parameter or hidden state by a running Bayesian estimate, and optimize as if that estimate were the true state. This technique underlies applications from inventory control with unknown demand to adaptive clinical trial design, and Chapter 5's own closing application (two-armed Bernoulli bandits, taken up in chunk 05b) is a direct instance. The reduction also has real content beyond convenience: it shows the value is unchanged (Theorem 5.3.2), not merely that a good heuristic policy exists — the filtered model's optimum is the true POMDP optimum, not an approximation to it.

No result of this chapter has a machine-checked proof on Prove2Me at the time of writing, and no substrate exists for POMDPs, filtering, or Bayes-operator constructions on the platform. Formalizing this mission means building, from Mathlib's general kernel and probability-measure infrastructure, the first POMDP/filtering vocabulary on the platform: a policy class restricted to observable histories, a recursively-computable posterior, and the value-equality between a partially and a fully observed reformulation.

Difficulty

The obstacle is not any single hard inequality but a representational one: an admissible policy for the original problem is a function of a growing observable history, not of a fixed-size state, so the value function JNπJ_N^\piJNπ​ cannot be written as a simple recursion over a Markov chain the way every earlier chapter's could. The chapter's insight is that the belief μn\mu_nμn​ — even though it is a probability-measure-valued object, not a point in a fixed Euclidean space — is itself Markov: μn+1\mu_{n+1}μn+1​ depends on the observable history only through (xn,μn)(x_n,\mu_n)(xn​,μn​), never on more of the past. Recognizing this, and giving P(EY)\mathbb{P}(E_Y)P(EY​) the right measurable structure to serve as a genuine Borel state space, is what makes Definition 5.3.1's reformulation a legitimate Markov Decision Model rather than an informal analogy. A formalization that let μn\mu_nμn​'s type be an unstructured "distribution object" with no Borel structure, or that quietly assumed the value functions of the filtered model already satisfy the Bellman equation, would miss this content entirely.

Formalization scope

EX,EY,AE_X,E_Y,AEX​,EY​,A are abstract measurable spaces; the transition kernel QQQ is a genuine MeasureTheory.Kernel, not assumed to arise from an i.i.d.-noise-driven transition function (the form every earlier finance chapter's market used) — the chapter's own examples (Hidden Markov Models, Bayesian models) do not have that special form in general. Observable histories are represented as (junk-padded) sequences N→EX\mathbb{N}\to E_XN→EX​, N→A\mathbb{N}\to AN→A rather than dependent finite tuples, with a decision rule's dependence on only the first n+1n{+}1n+1/nnn coordinates stated as an explicit locality condition; this avoids Fin-indexed-tuple bookkeeping while remaining exactly equivalent to the book's own Hn→AH_n\to AHn​→A typing. The belief state ρ\rhoρ is MeasureTheory.ProbabilityMeasure E_Y, giving EX×P(EY)E_X\times\mathbb{P}(E_Y)EX​×P(EY​) a genuine measurable structure via its standard weak-topology Borel σ-algebra — the formalization scope this chunk's own pitfall demands, ruling out an ad hoc encoding of "the space of distributions." The Bayes operator Φ\PhiΦ and the filtered kernel Q′Q'Q′ are carried as data (functions landing genuinely in ProbabilityMeasure/Kernel types) characterized by their defining ratio-of-integrals or pushforward formulas, rather than constructed by normalizing a raw measure inline — proving that normalization is a routine Fubini calculation the book itself does not spell out, and would be proof content misplaced in a definition. Theorem 5.2.1's conditional-probability statement is formalized via the book's own Equation (5.5) test-function identity rather than Mathlib's conditional-expectation-with-respect-to-a-sub-σ-algebra machinery, since the two are equivalent by the standard characterization of conditional expectation and the test-function form is what the book's own proofs actually use. The Structure Assumption of Theorem 2.3.8 is restated locally (existential value-function and decision-rule classes with its three defining clauses), per this project's rule against importing another chunk's copy of shared machinery. Reusable beyond this mission: the kernel-based expectation recursion (Ex/Vpi) is natural substrate for any later mission needing a Markov Decision Process driven by a genuinely abstract stochastic kernel rather than an i.i.d.-noise transition function. Contributions completing any milestone's sorry, or the goal's, are welcome.

Selected references

  • K. J. Åström, Optimal Control of Markov Processes with Incomplete State Information, Journal of Mathematical Analysis and Applications 10(1), 1965, https://doi.org/10.1016/0022-247X(65)90154-X
  • D. Blackwell, Discounted Dynamic Programming, Annals of Mathematical Statistics 36(1), 1965, https://doi.org/10.1214/aoms/1177700285
  • R. E. Kalman, R. S. Bucy, New Results in Linear Filtering and Prediction Theory, Journal of Basic Engineering 83(1), 1961, https://doi.org/10.1115/1.3658902
  • N. Bäuerle, U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011, https://doi.org/10.1007/978-3-642-18324-9, Chapter 5, §§5.1-5.3
9 thms2 active usersReviewed
🏆Completed
Convex OptimizationNumerical AnalysisOptimization·Captain: mikedeng1

Globally Convergent Type-I Anderson Acceleration for Nonsmooth Fixed-Point Iterations: The Stabilized Type-I Anderson Acceleration Converges to a Fixed Point of Every Nonexpansive MapResearch Paper

Motivation

Many first-order methods in optimization are fixed-point iterations xk+1=f(xk)x^{k+1}=f(x^k)xk+1=f(xk) of a nonexpansive map f:Rn→Rnf:\mathbb R^n\to\mathbb R^nf:Rn→Rn: proximal gradient descent, projected gradient descent, alternating projections, ISTA and Douglas–Rachford splitting (with the conic solver SCS as an instance) all have this form (Zhang, O'Donoghue, Boyd 2020, §4.2). The averaged (Krasnosel'skiĭ–Mann) iteration xk+1=(1−α)xk+αf(xk)x^{k+1}=(1-\alpha)x^k+\alpha f(x^k)xk+1=(1−α)xk+αf(xk) converges to a fixed point whenever one exists, but it is often slow in its terminal phase. Anderson acceleration (AA) combines the last few iterates through a quasi-Newton update of an approximate Jacobian; it is used for electronic-structure computations and, in the stabilized form studied here, in the solver SCS 2.1. Its type-I variant (AA-I) is often faster in practice than the more studied type-II variant, but it can be numerically unstable, and no global convergence guarantee existed for it on nonsmooth problems.

Timeline (as recounted in the paper's related-work section):

  • 1965. Anderson introduces the method for nonlinear integral equations (J. ACM 12).
  • 1978. Gay and Schnabel prove local Q-superlinear convergence of a full-memory AA-I-type method (Broyden with projected updates), assuming fff continuously differentiable near the solution.
  • 2009. Fang and Saad connect AA with multisecant Broyden methods and distinguish the two types (Numer. Linear Algebra Appl. 16).
  • 2011. Walker and Ni show the essential equivalence of full-memory AA with GMRES for affine fff (SIAM J. Numer. Anal. 49); Rohwedder and Schneider prove local Q-linear convergence of limited-memory AA-II for differentiable fff.
  • 2015. Toth and Kelley give local linear convergence of AA-II for contractive fff (SIAM J. Numer. Anal. 53).
  • 2020. Zhang, O'Donoghue and Boyd introduce a stabilized AA-I method (Powell-type regularization, restart checking, safeguarding) and prove global convergence for every nonexpansive map with a fixed point, without differentiability (SIAM J. Optim. 30(4), 3170–3197; longer version arXiv:1808.03971).

Setting

Let f:Rn→Rnf:\mathbb R^n\to\mathbb R^nf:Rn→Rn satisfy ∥f(x)−f(y)∥2≤∥x−y∥2\|f(x)-f(y)\|_2\le\|x-y\|_2∥f(x)−f(y)∥2​≤∥x−y∥2​ for all x,yx,yx,y (the Euclidean norm), and assume the solution set X={x⋆∣x⋆=f(x⋆)}X=\{x^\star\mid x^\star=f(x^\star)\}X={x⋆∣x⋆=f(x⋆)} is nonempty. The residual is g(x)=x−f(x)g(x)=x-f(x)g(x)=x−f(x), gk=g(xk)g_k=g(x^k)gk​=g(xk), and the averaged operator is fα(x)=(1−α)x+αf(x)f_\alpha(x)=(1-\alpha)x+\alpha f(x)fα​(x)=(1−α)x+αf(x).

Powell's weight. For θˉ∈(0,1)\bar\theta\in(0,1)θˉ∈(0,1), ϕθˉ(η)=1\phi_{\bar\theta}(\eta)=1ϕθˉ​(η)=1 if ∣η∣≥θˉ|\eta|\ge\bar\theta∣η∣≥θˉ and ϕθˉ(η)=(1−sign⁡(η)θˉ)/(1−η)\phi_{\bar\theta}(\eta)=(1-\operatorname{sign}(\eta)\bar\theta)/(1-\eta)ϕθˉ​(η)=(1−sign(η)θˉ)/(1−η) otherwise, with sign⁡(0)=1\operatorname{sign}(0)=1sign(0)=1.

Window matrices. For vectors s0,…,smk−1s_0,\dots,s_{m_k-1}s0​,…,smk​−1​ and y0,…,ymk−1y_0,\dots,y_{m_k-1}y0​,…,ymk​−1​, let s^i\hat s_is^i​ be their unnormalized Gram–Schmidt orthogonalization (3.2), B0=IB^0=IB0=I, and

Bi+1=Bi+(y~i−Bisi)s^iTs^iTsi,y~i=θiyi+(1−θi)Bisi,θi=ϕθˉ(s^iT(Bi)−1yi∥s^i∥22).B^{i+1}=B^i+\frac{(\tilde y_i-B^is_i)\hat s_i^T}{\hat s_i^Ts_i},\qquad \tilde y_i=\theta^iy_i+(1-\theta^i)B^is_i,\qquad \theta^i=\phi_{\bar\theta}\Bigl(\frac{\hat s_i^T(B^i)^{-1}y_i}{\|\hat s_i\|_2^2}\Bigr).Bi+1=Bi+s^iT​si​(y~​i​−Bisi​)s^iT​​,y~​i​=θiyi​+(1−θi)Bisi​,θi=ϕθˉ​(∥s^i​∥22​s^iT​(Bi)−1yi​​).

The matrix norm ∥⋅∥2\|\cdot\|_2∥⋅∥2​ is the induced ℓ2\ell_2ℓ2​ operator norm.

Algorithm 3.1 (AA-I-S-m). With parameters θˉ,τ,α∈(0,1)\bar\theta,\tau,\alpha\in(0,1)θˉ,τ,α∈(0,1), D,ϵ>0D,\epsilon>0D,ϵ>0 and max-memory m≥1m\ge1m≥1: start from H0=IH_0=IH0​=I, m0=0m_0=0m0​=0, nAA=0n_{AA}=0nAA​=0, Uˉ=∥g0∥2\bar U=\|g_0\|_2Uˉ=∥g0​∥2​ and x1=x~1=fα(x0)x^1=\tilde x^1=f_\alpha(x^0)x1=x~1=fα​(x0). At iteration k≥1k\ge1k≥1, set sk−1=x~k−xk−1s_{k-1}=\tilde x^k-x^{k-1}sk−1​=x~k−xk−1 and yk−1=g(x~k)−g(xk−1)y_{k-1}=g(\tilde x^k)-g(x^{k-1})yk−1​=g(x~k)−g(xk−1), orthogonalize sk−1s_{k-1}sk−1​ against the current window, and restart the window (memory back to 111, Hk−1H_{k-1}Hk−1​ replaced by III) if the memory would exceed mmm or ∥s^k−1∥2<τ∥sk−1∥2\|\hat s_{k-1}\|_2<\tau\|s_{k-1}\|_2∥s^k−1​∥2​<τ∥sk−1​∥2​. Then apply one Powell-regularized rank-one update to obtain HkH_kHk​ and the trial point x~k+1=xk−Hkgk\tilde x^{k+1}=x^k-H_kg_kx~k+1=xk−Hk​gk​. The trial point is accepted if ∥gk∥2≤DUˉ(nAA+1)−(1+ϵ)\|g_k\|_2\le D\bar U(n_{AA}+1)^{-(1+\epsilon)}∥gk​∥2​≤DUˉ(nAA​+1)−(1+ϵ) (and nAAn_{AA}nAA​ increases); otherwise xk+1=fα(xk)x^{k+1}=f_\alpha(x^k)xk+1=fα​(xk).

Formalization targets

Goal: Theorem 4.1

for every run of Algorithm 3.1:lim⁡k→∞xk=x⋆for some x⋆=f(x⋆).\text{for every run of Algorithm 3.1:}\qquad \lim_{k\to\infty}x^k=x^\star\quad\text{for some } x^\star=f(x^\star).for every run of Algorithm 3.1:k→∞lim​xk=x⋆for some x⋆=f(x⋆).

The only hypotheses are nonexpansiveness of fff, X≠∅X\ne\emptysetX=∅ and the parameter ranges. The limit is not specified: it depends on x0x^0x0 and the parameters.

Milestones

  1. Lemma 3.2. Well-defined updates give ∣det⁡Bmk∣≥θˉmk>0|\det B^{m_k}|\ge\bar\theta^{m_k}>0∣detBmk​∣≥θˉmk​>0.
  2. Lemma 3.3. If ∥yi∥2≤2∥si∥2\|y_i\|_2\le2\|s_i\|_2∥yi​∥2​≤2∥si​∥2​, ∥s^i∥2≥τ∥si∥2\|\hat s_i\|_2\ge\tau\|s_i\|_2∥s^i​∥2​≥τ∥si​∥2​ and mk≤mm_k\le mmk​≤m, then ∥Bmk∥2≤3((1+θˉ+τ)/τ)m−2\|B^{m_k}\|_2\le3((1+\bar\theta+\tau)/\tau)^m-2∥Bmk​∥2​≤3((1+θˉ+τ)/τ)m−2.
  3. Corollary 3.4. ∥Hk∥2≤(3((1+θˉ+τ)/τ)m−2)n−1/θˉm\|H_k\|_2\le(3((1+\bar\theta+\tau)/\tau)^m-2)^{n-1}/\bar\theta^m∥Hk​∥2​≤(3((1+θˉ+τ)/τ)m−2)n−1/θˉm (3.8).
  4. Corollary 3.5. Along the algorithm, unless a solution is hit, (3.8) holds and cond(Hk)≤(3((1+θˉ+τ)/τ)m−2)n/θˉm\mathrm{cond}(H_k)\le(3((1+\bar\theta+\tau)/\tau)^m-2)^n/\bar\theta^mcond(Hk​)≤(3((1+θˉ+τ)/τ)m−2)n/θˉm.
  5. Eq. (4.3). ∥xk−y∥2≤∥x0−y∥2+CDUˉ∑i≥0(i+1)−(1+ϵ)\|x^k-y\|_2\le\|x^0-y\|_2+CD\bar U\sum_{i\ge0}(i+1)^{-(1+\epsilon)}∥xk−y∥2​≤∥x0−y∥2​+CDUˉ∑i≥0​(i+1)−(1+ϵ) for every y∈Xy\in Xy∈X.
  6. Eq. (4.6). lim⁡k∥gk∥2=0\lim_k\|g_k\|_2=0limk​∥gk​∥2​=0.
  7. Eq. (4.7). ∥xk+1−y∥22≤∥xk−y∥22+ϵk\|x^{k+1}-y\|_2^2\le\|x^k-y\|_2^2+\epsilon_k∥xk+1−y∥22​≤∥xk−y∥22​+ϵk​ with ϵk≥0\epsilon_k\ge0ϵk​≥0 summable.
  8. §4.1, Step 2. ∥xk−y∥2\|x^k-y\|_2∥xk−y∥2​ converges for every y∈Xy\in Xy∈X.

Significance

The theorem places a quasi-Newton acceleration scheme under the same hypotheses as the plain averaged iteration: nonexpansiveness and existence of a fixed point. It therefore applies at once to the nonexpansive examples of §4.2 of the paper (proximal gradient, projected gradient, alternating projections, ISTA, Douglas–Rachford splitting and SCS), with no smoothness, strong convexity or local assumption. The matrix bounds of Lemma 3.3 and Corollaries 3.4–3.5 are also of independent use: they give explicit, iteration-independent control of the approximate inverse Jacobians of a limited-memory type-I method, an assumption that other globalization frameworks (for example SuperMann) have to impose.

The result is proved in the paper; to our knowledge none of it is machine-checked. Mathlib has neither the Krasnosel'skiĭ–Mann iteration, nor Fejér monotonicity, nor any Anderson-type method. A formalization provides these pieces, checks the index bookkeeping of the restart and safeguard steps, and makes explicit the one place where the printed algorithm and the analysis disagree (line 9 at a window start; see below).

Difficulty

The accelerated step x~k+1=xk−Hkgk\tilde x^{k+1}=x^k-H_kg_kx~k+1=xk−Hk​gk​ need not decrease the distance to the solution set, so the Fejér argument for averaged iterations does not apply to it directly. The naive fix, bounding ∥Hkgk∥2\|H_kg_k\|_2∥Hk​gk​∥2​, requires a bound on ∥Hk∥2\|H_k\|_2∥Hk​∥2​ that holds uniformly along the run; without the Powell regularization BkB_kBk​ can be singular, and without the restart rule ∥Bk∥2\|B_k\|_2∥Bk​∥2​ can grow without bound as the window becomes nearly linearly dependent. The determinant and norm bounds of Lemmas 3.2–3.3 have to be established for arbitrary windows and then connected to the run of the algorithm, where the window, its orthogonalization and the matrices are defined by an intertwined recursion with resets. The safeguard then turns the uniform bound into a summable perturbation of a Fejér-monotone sequence, and the final step needs an Opial-type argument to pass from convergence of distances to convergence of the iterates.

Formalization scope

Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n), so all vector norms are Euclidean; matrices are continuous linear maps with the operator norm; us^Tu\hat s^Tus^T is rankOne ℝ u ŝ; det⁡\detdet is LinearMap.det; inverses are Ring.inverse (zero on singular maps, excluded by Lemma 3.2). The orthogonalization (3.2) is InnerProductSpace.gramSchmidt. Nonexpansive is LipschitzWith 1 f. The algorithm is the predicate IsAAISRun, a deterministic recursion: every run is determined by fff, the parameters and x0x^0x0, and a sorry-free check that runs exist (for f=idf=\mathrm{id}f=id) was built locally. The reset of Hk−1H_{k-1}Hk−1​ in line 8 is local to its iteration. sign(0)=1\mathrm{sign}(0)=1sign(0)=1 is encoded explicitly. Constants are the paper's explicit expressions; no milestone replaces them with an existential constant.

Line 9. The paper prints y~k−1=θk−1yk−1−(1−θk−1)gk−1\tilde y_{k-1}=\theta_{k-1}y_{k-1}-(1-\theta_{k-1})g_{k-1}y~​k−1​=θk−1​yk−1​−(1−θk−1​)gk−1​, derived from (3.3) through Bk−1sk−1=−gk−1B_{k-1}s_{k-1}=-g_{k-1}Bk−1​sk−1​=−gk−1​, which fails when the window starts afresh (mk=1m_k=1mk​=1). The mission uses (3.3) there: y~k−1=θk−1yk−1+(1−θk−1)sk−1\tilde y_{k-1}=\theta_{k-1}y_{k-1}+(1-\theta_{k-1})s_{k-1}y~​k−1​=θk−1​yk−1​+(1−θk−1​)sk−1​ when mk=1m_k=1mk​=1, and the printed formula when mk≥2m_k\ge2mk​≥2.

Milestones of §4.1 and Corollary 3.5 carry the hypothesis f(xk)≠xkf(x^k)\ne x^kf(xk)=xk for all kkk, as the paper does ("we temporarily assume for simplicity that a solution to (1.1) is not found in finite steps"); the goal does not. A goal proved from an unsatisfiable run predicate, or one that assumes a bound on ∥Hk∥2\|H_k\|_2∥Hk​∥2​, contractivity of fff, or that the accelerated step is never taken, is not this theorem. Division by zero in Lean can only occur once a fixed point has been reached, after which all later iterates coincide.

Useful reusable infrastructure includes the Krasnosel'skiĭ–Mann inequality ∥fα(x)−y∥22≤∥x−y∥22−α(1−α)∥g(x)∥22\|f_\alpha(x)-y\|_2^2\le\|x-y\|_2^2-\alpha(1-\alpha)\|g(x)\|_2^2∥fα​(x)−y∥22​≤∥x−y∥22​−α(1−α)∥g(x)∥22​, quasi-Fejér monotone sequences and their convergence, and determinant and norm identities for rank-one updates (the matrix determinant lemma and Sherman–Morrison). Proofs of the window lemmas, of the run invariants (the window matrices coincide with the algorithm's Hk−1H_k^{-1}Hk−1​) and of the convergence steps are all welcome.

Selected references

  • J. Zhang, B. O'Donoghue, S. Boyd, Globally Convergent Type-I Anderson Acceleration for Nonsmooth Fixed-Point Iterations, SIAM J. Optim. 30(4), 3170–3197, 2020. https://doi.org/10.1137/18M1232772
  • J. Zhang, B. O'Donoghue, S. Boyd, longer version, 2018. https://arxiv.org/abs/1808.03971
  • D. M. Gay, R. B. Schnabel, Solving systems of nonlinear equations by Broyden's method with projected updates, in Nonlinear Programming 3, Academic Press, 245–281, 1978 (reference [20] of the paper). https://doi.org/10.1137/18M1232772
  • D. G. Anderson, Iterative procedures for nonlinear integral equations, J. ACM 12(4), 547–560, 1965. https://doi.org/10.1145/321296.321305
  • H. Fang, Y. Saad, Two classes of multisecant methods for nonlinear acceleration, Numer. Linear Algebra Appl. 16(3), 197–221, 2009. https://doi.org/10.1002/nla.617
  • H. F. Walker, P. Ni, Anderson acceleration for fixed-point iterations, SIAM J. Numer. Anal. 49(4), 1715–1735, 2011. https://doi.org/10.1137/10078356X
  • A. Toth, C. T. Kelley, Convergence analysis for Anderson acceleration, SIAM J. Numer. Anal. 53(2), 805–819, 2015. https://doi.org/10.1137/130919398
  • H. H. Bauschke, P. L. Combettes, Convex Analysis and Monotone Operator Theory in Hilbert Spaces, Springer, 2011. https://doi.org/10.1007/978-1-4419-9467-7
12 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOptimizationProbability·Captain: Shuze Chen

Markov Decision Processes IX: Index Tracking and Utility Indifference PricingTextbook

Motivation

Two more portfolio problems round out Bäuerle and Rieder's finance chapter, each raising a question the earlier sections do not. First: a fund manager is mandated to track an index — replicate its value as closely as possible — but the index itself is often built from assets the fund cannot trade directly (a broad benchmark, a proprietary basket). This is the multiperiod, statistical analogue of index-fund management, and it turns out to be a classical linear-quadratic control problem (R. E. Kalman, A New Approach to Linear Filtering and Prediction Problems, 1960, for the deterministic-coefficient case that Bäuerle and Rieder's §2.6.3 first generalizes to random coefficients) rather than requiring a new dynamic-programming argument at all. Second: how should a contingent claim be priced when it depends on an asset that cannot be traded, so that perfect replication is simply impossible? This is the market-incompleteness question at the heart of mathematical finance since the 1970s options-pricing literature, and §4.9 develops the utility indifference pricing approach (M. H. A. Davis, Option Pricing in Incomplete Markets, in Mathematics of Derivative Securities, 1997; also traceable to the zero-utility premium principle of classical insurance mathematics): price a claim at the amount that leaves an expected-utility-maximizing investor indifferent between holding it and not.

Setting

Index tracking (§4.8): state (x,s^)∈E:=R×R(x,\hat s)\in E:=\mathbb{R}\times\mathbb{R}(x,s^)∈E:=R×R (wealth, value of the non-traded index S^\hat SS^), action a∈A:=Rda\in A:=\mathbb{R}^da∈A:=Rd (amounts in ddd traded assets), transition Tn((x,s^),a,(z1,z2)):=((1+in+1)(x+a⋅z1), s^ z2)T_n((x,\hat s),a,(z_1,z_2)) := ((1+i_{n+1})(x+a\cdot z_1),\ \hat s\,z_2)Tn​((x,s^),a,(z1​,z2​)):=((1+in+1​)(x+a⋅z1​), s^z2​). The objective is Vn(x,s^):=inf⁡πE[∑k=nN(Xk−S^k)2]V_n(x,\hat s) := \inf_\pi \mathbb{E}[\sum_{k=n}^N (X_k-\hat S_k)^2]Vn​(x,s^):=infπ​E[∑k=nN​(Xk​−S^k​)2] (Eq. (4.36)): minimize the expected sum of squared tracking errors. Chapter 2's stochastic linear-quadratic theory (§2.6.3, Theorem 2.6.3) already solves any problem of this shape — linear dynamics with random coefficient matrices An+1,Bn+1A_{n+1},B_{n+1}An+1​,Bn+1​, quadratic cost with fixed matrix QQQ — via a backward Riccati-type recursion Q~N:=QN\tilde Q_N:=Q_NQ~​N​:=QN​, Q~n:=Qn+E[An+1⊤Q~n+1An+1]−E[An+1⊤Q~n+1Bn+1](E[Bn+1⊤Q~n+1Bn+1])−1E[Bn+1⊤Q~n+1An+1]\tilde Q_n := Q_n + \mathbb{E}[A_{n+1}^\top \tilde Q_{n+1}A_{n+1}] - \mathbb{E}[A_{n+1}^\top\tilde Q_{n+1}B_{n+1}](\mathbb{E}[B_{n+1}^\top \tilde Q_{n+1}B_{n+1}])^{-1}\mathbb{E}[B_{n+1}^\top\tilde Q_{n+1}A_{n+1}]Q~​n​:=Qn​+E[An+1⊤​Q~​n+1​An+1​]−E[An+1⊤​Q~​n+1​Bn+1​](E[Bn+1⊤​Q~​n+1​Bn+1​])−1E[Bn+1⊤​Q~​n+1​An+1​], so §4.8's content is identifying this problem's own An+1,Bn+1,QA_{n+1},B_{n+1},QAn+1​,Bn+1​,Q.

Indifference pricing (§4.9): a one-period market with a traded asset SSS and an untradeable asset S^\hat SS^, four states of the world with probabilities p1,…,p4p_1,\dots,p_4p1​,…,p4​, relative returns (R~,R^)∈{(u,u^),(u,d^),(d,u^),(d,d^)}(\tilde R,\hat R)\in\{(u,\hat u),(u,\hat d),(d,\hat u),(d,\hat d)\}(R~,R^)∈{(u,u^),(u,d^),(d,u^),(d,d^)}, an exponential-utility investor U(x)=−e−γxU(x)=-e^{-\gamma x}U(x)=−e−γx, and a claim H=h(S1,S^1)H=h(S_1,\hat S_1)H=h(S1​,S^1​). The investor's value with the claim sold short is V0H(x,s,s^):=sup⁡aE[−e−γx−γa(R~−1)+γH]V_0^H(x,s,\hat s) := \sup_a \mathbb{E}[-e^{-\gamma x-\gamma a(\tilde R-1)+\gamma H}]V0H​(x,s,s^):=supa​E[−e−γx−γa(R~−1)+γH] (Eq. (4.37)); Definition 4.9.1 sets the indifference price v0(H,s,s^)v_0(H,s,\hat s)v0​(H,s,s^) as the amount solving V00(x,s,s^)=V0H(x+v0,s,s^)V_0^0(x,s,\hat s) = V_0^H(x+v_0,s,\hat s)V00​(x,s,s^)=V0H​(x+v0​,s,s^) for every wealth xxx. The multiperiod extension (unnumbered display, p. 138) replaces the one period by NNN i.i.d. periods and defines vn(H,s,s^)v_n(H,s,\hat s)vn​(H,s,s^) at every time nnn the same way, now for VnHV_n^HVnH​ a genuine dynamic value function.

Formalization targets

Goal — Theorem 4.9.4

VnH(x,s,s^)=−e−γxdn(s,s^),dN(s,s^):=eγh(s,s^),dn(s,s^):=inf⁡aE[e−γa(R~n+1−1) dn+1(sR~n+1,s^R^n+1)],V_n^H(x,s,\hat s) = -e^{-\gamma x}d_n(s,\hat s), \qquad d_N(s,\hat s):=e^{\gamma h(s,\hat s)}, \qquad d_n(s,\hat s) := \inf_{a} \mathbb{E}\big[e^{-\gamma a(\tilde R_{n+1}-1)}\,d_{n+1}(s\tilde R_{n+1},\hat s\hat R_{n+1})\big],VnH​(x,s,s^)=−e−γxdn​(s,s^),dN​(s,s^):=eγh(s,s^),dn​(s,s^):=ainf​E[e−γa(R~n+1​−1)dn+1​(sR~n+1​,s^R^n+1​)], vn(H,s,s^)=1γlog⁡(dn(s,s^)vN−n),vn(vn+1(H,sR~n+1,s^R^n+1),s,s^)=vn(H,s,s^),v_n(H,s,\hat s) = \frac{1}{\gamma}\log\Big(\frac{d_n(s,\hat s)}{v^{N-n}}\Big), \qquad v_n\big(v_{n+1}(H,s\tilde R_{n+1},\hat s\hat R_{n+1}),s,\hat s\big) = v_n(H,s,\hat s),vn​(H,s,s^)=γ1​log(vN−ndn​(s,s^)​),vn​(vn+1​(H,sR~n+1​,s^R^n+1​),s,s^)=vn​(H,s,s^),

where v:=inf⁡aE[e−γa(R~1−1)]v:=\inf_a\mathbb{E}[e^{-\gamma a(\tilde R_1-1)}]v:=infa​E[e−γa(R~1​−1)] (Eq. (4.39)). This is the genuine multiperiod solution: no closed form is available in general (unlike the one-period case), only this explicit backward recursion for dnd_ndn​, obtained by folding the claim's payoff into the terminal reward of the exponential-utility Bellman recursion (Theorem 4.2.15). The consistency condition (part c) says the indifference-pricing operator is itself "time-consistent": pricing at time nnn a claim whose payoff at n+1n+1n+1 is the already-computed time-(n+1)(n+1)(n+1) price of HHH recovers HHH's own time-nnn price directly.

Milestones

Theorem 4.8.1 (index-tracking's explicit LQ solution: quadratic value functions via the Riccati recursion, linear optimal policy) and Theorem 4.9.2 (the one-period special case of the goal, with a genuinely closed-form price, obtained by directly minimizing a convex one-variable objective). Definition 4.9.1 (the indifference price's defining equation) is needed by both and is a formalization target in its own right, but — being a definition, not a numbered theorem — is never a milestone.

Significance

Theorem 4.8.1 shows that a statistically-motivated portfolio criterion (tracking error, the industry-standard measure of an index fund's fidelity) reduces exactly to a textbook control problem, so every qualitative feature of LQ control — the value function's quadratic form, the policy's linearity in the state, off-line computability of the feedback gain — transfers immediately; the content is the reduction, not a new proof technique. The indifference-pricing results answer a question ordinary arbitrage-free pricing cannot: when a claim's payoff depends on an asset that literally cannot be traded, no replicating portfolio exists, so the no-arbitrage pricing theory of Chapter 3 gives no unique price at all. Theorem 4.9.4 shows the utility-based alternative is nonetheless computable to the same degree of explicitness as ordinary dynamic programming allows: a backward recursion, not a closed form, but a genuine algorithm.

None of these results have machine-checked proofs on Prove2Me at the time of writing. The platform's BertsekasDP.riccati_completion_of_square and related Riccati-family theorems were checked and are not reusable for Theorem 4.8.1: their system matrices are deterministic, with no expectation anywhere in the statement, while this chapter's An+1,Bn+1A_{n+1},B_{n+1}An+1​,Bn+1​ are random and every term of the recursion is an expectation — a genuinely more general result that happens to specialize to the deterministic case, not an instance of it. No substrate at all exists for utility indifference pricing.

Difficulty

For index tracking, the obstacle is not mathematical but representational: recognizing that (x−s^)2(x-\hat s)^2(x−s^)2 is a quadratic form (x,s^)Q(x,s^)⊤(x,\hat s)Q(x,\hat s)^\top(x,s^)Q(x,s^)⊤ in the augmented state that includes the untradeable index's own value, and that the transition is linear in this augmented state with coefficient matrices that are random only through next period's returns — once this identification is made, Theorem 2.6.3 is already proved and there is nothing further to argue. For indifference pricing, the obstacle is conceptual: Definition 4.9.1 characterizes v0v_0v0​ implicitly, by an equation relating two suprema, not by a formula, so nothing prevents a formalization from simply asserting the closed-form answer as the definition and making the theorem vacuous. A faithful formalization must keep the two apart, proving that the printed formula is a solution of the defining equation rather than building the formula into what "indifference price" means.

Formalization scope

The index-tracking Riccati recursion is restated locally in this chunk's namespace (per the project's rule against importing another chunk's machinery), instantiated to this problem's own 2×22\times22×2 cost matrix and random 2×22\times22×2/2×d2\times d2×d system matrices, using Mathlib's general Matrix inverse (Bᵀ Q B is inverted directly; positive-definiteness making the inverse genuine is not separately hypothesized in the Riccati recursion's own statement, matching how the book treats it as automatic under Assumption (FM)). The one-period and multiperiod indifference-pricing markets are formalized as separate structures (the one-period model's four-atom probability space is pinned down by explicit measure equations on the pair (R~,R^)(\tilde R,\hat R)(R~,R^), not by an assumed Fin 4 state space, matching the pattern used for the binomial model in chunk 04c). The multiperiod value function VHAt carries an explicit maturity argument distinct from the model's own horizon NNN, needed only to state the goal's consistency condition (part c), which prices a claim maturing one period early. A formalization that defines the indifference price directly as a closed-form expression, rather than as the solution of Definition 4.9.1's equation, would be a trivializing formalization of Theorem 4.9.2 and 4.9.4(b) and is explicitly ruled out. Reusable beyond this mission: the local Riccati-recursion definitions are natural substrate for any later mission needing a stochastic LQ argument with random coefficients (the book's own §2.6.3 general theorem is a natural target for a future chunk). Contributions completing either milestone's sorry, or the goal's, are welcome.

Selected references

  • R. E. Kalman, A New Approach to Linear Filtering and Prediction Problems, Journal of Basic Engineering 82(1), 1960, https://doi.org/10.1115/1.3662552
  • M. H. A. Davis, Option Pricing in Incomplete Markets, in M. A. H. Dempster, S. R. Pliska (eds.), Mathematics of Derivative Securities, Cambridge University Press, 1997
  • N. Bäuerle, U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011, https://doi.org/10.1007/978-3-642-18324-9, Chapter 4, §§4.8-4.9
7 thms2 active usersReviewed
🏆Completed
OptimizationProbability·Captain: mikedeng1

On the Value of Mix Flexibility and Dual Sourcing in Unreliable Newsvendor Networks 2: Under Perfect Reliability the Flexibility Premium Is Nonnegative for Every Nondecreasing UtilityResearch Paper

Motivation

A manufacturer that makes several products must decide, before demand is known, how much capacity to buy. It can buy dedicated capacity, one resource per product, or a single flexible resource that can make every product. Flexible capacity pools demand: a surplus of one product's demand can be served by capacity that would otherwise sit idle. A common intuition in the operations literature holds that a flexible strategy is preferable to a dedicated one when the unit costs are equal, and much of that literature therefore assumes the flexible resource costs more (for example Van Mieghem 1998).

Tomlin and Wang (2005) examine when this intuition is valid for firms that are not risk neutral and whose resources may fail. Their answer has two halves. A risk-neutral firm always values flexibility, whatever the reliability of its resources (their Proposition 1). A firm with perfectly reliable resources also always values flexibility, whatever its attitude to risk, as long as it prefers more wealth to less (their Proposition 4). When neither condition holds, dedicated capacity can be strictly preferred (their Remark 1 and numerical study). This mission formalizes the second half.

Setting

There are NNN products with a common contribution margin p>0p>0p>0. The random demand vector is X~=(X~1,…,X~N)\tilde X=(\tilde X_1,\dots,\tilde X_N)X~=(X~1​,…,X~N​), nonnegative, with an arbitrary joint distribution on a probability space. The firm has initial wealth w0w_0w0​.

  • In the dedicated network SD, the firm invests Kn≥0K_n\ge 0Kn​≥0 in a resource that can make only product nnn, at marginal total cost c>0c>0c>0 per unit. With perfectly reliable resources the whole investment is delivered, and the terminal wealth is
wSD(K)=w0+p∑n=1Nmin⁡{X~n,Kn}−c∑n=1NKn.w^{SD}(K)=w_0+p\sum_{n=1}^N\min\{\tilde X_n,K_n\}-c\sum_{n=1}^N K_n .wSD(K)=w0​+pn=1∑N​min{X~n​,Kn​}−cn=1∑N​Kn​.
  • In the flexible network SF, the firm invests KN+1≥0K_{N+1}\ge0KN+1​≥0 in one resource that can make every product, at marginal total cost cN+1c_{N+1}cN+1​, and the terminal wealth is
wSF(KN+1)=w0+pmin⁡{∑n=1NX~n,KN+1}−cN+1KN+1.w^{SF}(K_{N+1})=w_0+p\min\Big\{\sum_{n=1}^N\tilde X_n,K_{N+1}\Big\}-c_{N+1}K_{N+1}.wSF(KN+1​)=w0​+pmin{n=1∑N​X~n​,KN+1​}−cN+1​KN+1​.

The firm chooses its investment to maximize one of three objectives of terminal wealth WWW, with profit W~=W−w0\tilde W=W-w_0W~=W−w0​:

  1. an expected utility E[u(W)]E[u(W)]E[u(W)], where uuu ranges over U1U_1U1​, the set of utility functions that are nondecreasing in wealth;
  2. the loss-averse objective VLA=w0+E[W~+−βW~−]V_{LA}=w_0+E[\tilde W^+-\beta\tilde W^-]VLA​=w0​+E[W~+−βW~−] with β≥1\beta\ge 1β≥1;
  3. the CVaR objective VCVaRη=w0+max⁡v{v+1ηE[min⁡{W~−v,0}]}V_{CVaR_\eta}=w_0+\max_v\{v+\tfrac1\eta E[\min\{\tilde W-v,0\}]\}VCVaRη​​=w0​+maxv​{v+η1​E[min{W~−v,0}]} with η∈(0,1]\eta\in(0,1]η∈(0,1], the mean of the left η\etaη-tail of wealth.

SF is (weakly) preferred when its optimal objective value is at least that of SD. The flexibility premium is Δ=(cN+1I−c)/c\Delta=(c^I_{N+1}-c)/cΔ=(cN+1I​−c)/c, where the indifference cost cN+1Ic^I_{N+1}cN+1I​ is a flexible cost at which the firm is indifferent between the networks; the firm prefers SF as long as cN+1≤(1+Δ)cc_{N+1}\le(1+\Delta)ccN+1​≤(1+Δ)c.

Formalization targets

Goal: Proposition 4

With perfectly reliable resources and any demand distribution, Δ≥0\Delta\ge 0Δ≥0 for every u∈U1u\in U_1u∈U1​, for the loss-averse objective and for the CVaR objective. In the formalization: for every cN+1≤cc_{N+1}\le ccN+1​≤c,

∀K≥0 ∃KN+1≥0:VSD(K)≤VSF(KN+1)\forall K\ge 0\ \exists K_{N+1}\ge 0:\quad \mathcal V^{SD}(K)\le\mathcal V^{SF}(K_{N+1})∀K≥0 ∃KN+1​≥0:VSD(K)≤VSF(KN+1​)

for V\mathcal VV each expected utility with uuu nondecreasing, and the loss-averse objective; for CVaR the same with the threshold vvv quantified jointly with the investment.

Milestones

  1. (A-4)–(A-6): at equal cost, investing ∑nKn\sum_nK_n∑n​Kn​ in the flexible resource gives a terminal wealth at least that of SD, for every demand realization.
  2. The SF wealth first-order stochastically dominates the SD wealth: FWSF≤FWSDF_{W^{SF}}\le F_{W^{SD}}FWSF​≤FWSD​.
  3. E[u(wSD(K))]≤E[u(wSF(∑nKn))]E[u(w^{SD}(K))]\le E[u(w^{SF}(\sum_nK_n))]E[u(wSD(K))]≤E[u(wSF(∑n​Kn​))] for every nondecreasing uuu.
  4. The loss-averse objective is the expected utility of a nondecreasing piecewise-linear utility with breakpoint w0w_0w0​.
  5. The CVaR comparison VCVaRSD(K)≤VCVaRSF(∑nKn)V^{SD}_{CVaR}(K)\le V^{SF}_{CVaR}(\sum_nK_n)VCVaRSD​(K)≤VCVaRSF​(∑n​Kn​).

Significance

Proposition 4 shows that the intuition "flexibility is worth at least as much as dedicated capacity at the same price" survives any monotone risk attitude and any demand distribution, provided supply is reliable. Combined with Proposition 1 it isolates the interaction of risk aversion and unreliable supply as the only source of a negative flexibility premium, which is the paper's Remark 1 and the organizing message of its numerical study. The result requires no concavity, differentiability or distributional assumption, so it applies to the loss-averse and CVaR objectives used throughout the paper.

The result is proved in the paper (Appendix A); no machine-checked version is known. A formalization produces a reusable statement of the model, a pathwise pooling inequality, and the passage from a pathwise comparison of two random variables on one probability space to comparisons of expected utilities and of CVaR, which recurs in capacity-pooling and inventory-pooling arguments.

Difficulty

The pathwise inequality is elementary. The work lies in the passage from it to the objectives. The paper cites Levy (1992) for both the expected-utility and the CVaR comparison; the first holds for every nondecreasing uuu, including discontinuous ones, and the second concerns a maximum over a real threshold that is not a priori attained. A formal proof must also make sure every expectation involved is a genuine integral: the utility is arbitrary, so the expected utility is finite only because, for a fixed nonnegative investment and nonnegative demand, both wealths are confined to a bounded interval. Finally, "Δ≥0\Delta\ge 0Δ≥0" is a statement about optimal values, and the optimal SD investment need not exist; the argument has to be run for every SD investment, not for an optimal one.

Formalization scope

All declarations live in the namespace MixFlex.Reliable. The probability space is (Ω, μ) with IsProbabilityMeasure μ; demand is a measurable X : Ω → Fin N → ℝ with each coordinate almost surely nonnegative, and no density, independence or integrability is assumed. Expectations are Bochner integrals. Perfect reliability (θ=1\theta=1θ=1) is built into the wealths (A-4)–(A-5), so the committed-cost fraction λ\lambdaλ does not appear. Standing parameters: p>0p>0p>0, c>0c>0c>0, β≥1\beta\ge 1β≥1, 0<η≤10<\eta\le10<η≤1, w0w_0w0​ arbitrary. The requirements p,c>0p,c>0p,c>0 and nonnegative, measurable demand are made explicit; the page treats them as part of the model.

The premium Δ\DeltaΔ and the indifference cost are not defined as real numbers, since the indifference cost need not be unique. "Δ≥0\Delta\ge0Δ≥0" is encoded as "SF is weakly preferred for every cN+1≤cc_{N+1}\le ccN+1​≤c", and "weakly preferred" as "every nonnegative SD investment is matched or beaten by a nonnegative SF investment", with no real suprema. For CVaR the maximum in (8) over the investment and the threshold is encoded in the same matching form. The milestones compare the objectives at the flexible cost ccc, as (A-5) is printed.

A formalization in which the expected utility of a non-integrable wealth defaults to zero, or in which η=0\eta=0η=0 makes the CVaR bracket w0+vw_0+vw0​+v, would make the comparisons meaningless; the statements exclude both (K≥0K\ge0K≥0 with nonnegative demand bounds the wealths; η>0\eta>0η>0). "Δ≥0\Delta\ge0Δ≥0" is also not trivially true: for a flexible cost above ccc SF can be strictly worse.

Out of scope: Propositions 1–3 and 5–8 (Proposition 1 is the companion mission on the risk-neutral premium), Remark 1's negative-premium claim and the numerical study. Welcome contributions: a general lemma that an almost-sure inequality between bounded random variables transfers to expected utilities of monotone functions, and a proof of the CVaR bracket comparison.

Selected references

  • B. Tomlin, Y. Wang, On the value of mix flexibility and dual sourcing in unreliable newsvendor networks, Manufacturing & Service Operations Management 7(1):37–57, 2005. https://doi.org/10.1287/msom.1040.0063
  • H. Levy, Stochastic dominance and expected utility: survey and analysis, Management Science 38(4):555–593, 1992. https://doi.org/10.1287/mnsc.38.4.555
  • R. T. Rockafellar, S. Uryasev, Conditional value-at-risk for general loss distributions, Journal of Banking & Finance 26(7):1443–1471, 2002. https://doi.org/10.1016/S0378-4266(02)00271-6
  • J. A. Van Mieghem, Investment strategies for flexible resources, Management Science 44(8):1071–1078, 1998. https://doi.org/10.1287/mnsc.44.8.1071
7 thms2 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryOptimization+1·Captain: mikedeng1

An Analysis of Several Heuristics for the Traveling Salesman Problem III: Nearest and Cheapest Insertion Are Within a Factor of TwoResearch Paper

Motivation

The traveling salesman problem (TSP) asks for a shortest closed route through a finite set of points. It is NP-hard, and in practice tours are built by fast constructive heuristics whose output is then improved or used as is. A central question in the analysis of algorithms, raised in this form by Rosenkrantz, Stearns and Lewis in 1977, is how far such a heuristic can be from optimal in the worst case, as a function of the number of points nnn, when the distances satisfy the triangle inequality.

The paper (SIAM J. Comput. 6(3), 1977) answers this for several heuristics. For the general class of insertion methods it proves a logarithmic bound (Theorem 3); for two specific rules, nearest insertion and cheapest insertion, it proves a bound that does not grow with nnn: the tour is less than twice the optimal (Theorem 4), and more precisely at most 2(1−1/n)2(1-1/n)2(1−1/n) times the optimal (Corollary, eq. (4.12)). Theorem 5 of the same paper shows the constant 2(1−1/n)2(1-1/n)2(1−1/n) is attained, so this is the exact worst case of both rules. These results, with Christofides' 3/2 bound of 1976, are the classical reference points for approximation ratios of TSP construction heuristics and appear in standard OR and approximation-algorithm texts.

Setting

A traveling salesman graph (N,d)(N,d)(N,d) has a finite node set NNN with ∣N∣=n|N| = n∣N∣=n and a distance d:N×N→Rd : N\times N\to\mathbb Rd:N×N→R that is symmetric, nonnegative and satisfies the triangle inequality d(i,k)≤d(i,j)+d(j,k)d(i,k)\le d(i,j)+d(j,k)d(i,k)≤d(i,j)+d(j,k). A tour is a circuit visiting every node exactly once; its length is the sum of its edge lengths, and OPTIMAL is the least tour length.

A subtour TTT is a tour on a subset of NNN (a one-node subtour has no edges). For k∉Tk\notin Tk∈/T, TOUR(T,k)\mathrm{TOUR}(T,k)TOUR(T,k) inserts kkk into TTT where it is cheapest: if TTT has at least two nodes, choose an edge (x,y)(x,y)(x,y) of TTT minimizing d(x,k)+d(k,y)−d(x,y)d(x,k)+d(k,y)-d(x,y)d(x,k)+d(k,y)−d(x,y) and replace it by (x,k),(k,y)(x,k),(k,y)(x,k),(k,y); if T={i}T=\{i\}T={i}, form the two-node tour on i,ki,ki,k. COST(T,k)\mathrm{COST}(T,k)COST(T,k) is the length of TOUR(T,k)\mathrm{TOUR}(T,k)TOUR(T,k) minus the length of TTT.

An insertion method builds subtours T1,…,TnT_1,\dots,T_nT1​,…,Tn​ with T1={a0}T_1=\{a_0\}T1​={a0​} and Ti+1=TOUR(Ti,ai)T_{i+1}=\mathrm{TOUR}(T_i,a_i)Ti+1​=TOUR(Ti​,ai​) for some ai∉Tia_i\notin T_iai​∈/Ti​, 1≤i<n1\le i<n1≤i<n; INSERT is the length of TnT_nTn​. With d(T,p)=min⁡x∈Td(x,p)d(T,p)=\min_{x\in T}d(x,p)d(T,p)=minx∈T​d(x,p):

  • nearest insertion chooses each aia_iai​ with d(Ti,ai)=min⁡{d(Ti,x):x∈N−Ti}d(T_i,a_i)=\min\{d(T_i,x): x\in N-T_i\}d(Ti​,ai​)=min{d(Ti​,x):x∈N−Ti​};
  • cheapest insertion chooses each aia_iai​ with COST(Ti,ai)=min⁡{COST(Ti,x):x∈N−Ti}\mathrm{COST}(T_i,a_i)=\min\{\mathrm{COST}(T_i,x): x\in N-T_i\}COST(Ti​,ai​)=min{COST(Ti​,x):x∈N−Ti​}.

The start node a0a_0a0​ and every tie (between candidate nodes, and between candidate edges) are arbitrary. TREE denotes the length of a minimal spanning tree of (N,d)(N,d)(N,d).

Formalization targets

Goal: Corollary to Theorem 4, eq. (4.12)

For every traveling salesman graph on n≥1n\ge1n≥1 nodes and every run of nearest insertion or of cheapest insertion,

INSERT  ≤  2(1−1n)⋅OPTIMAL.\mathrm{INSERT}\;\le\;2\Bigl(1-\frac1n\Bigr)\cdot\mathrm{OPTIMAL}.INSERT≤2(1−n1​)⋅OPTIMAL.

Milestones

  1. Lemma 2, (3.3): COST(T,k)≤2 d(k,j)\mathrm{COST}(T,k)\le 2\,d(k,j)COST(T,k)≤2d(k,j) for k∉Tk\notin Tk∈/T, j∈Tj\in Tj∈T.
  2. Eq. (3.7): for every insertion method, INSERT=∑i=1n−1COST(Ti,ai)\mathrm{INSERT}=\sum_{i=1}^{n-1}\mathrm{COST}(T_i,a_i)INSERT=∑i=1n−1​COST(Ti​,ai​).
  3. Eqs. (4.9)–(4.10): nearest insertion satisfies COST(Ti,ai)≤2 d(p,q)\mathrm{COST}(T_i,a_i)\le 2\,d(p,q)COST(Ti​,ai​)≤2d(p,q) for all p∈Tip\in T_ip∈Ti​, q∉Tiq\notin T_iq∈/Ti​ (4.5).
  4. Proof of Theorem 4: cheapest insertion satisfies (4.5) as well.
  5. Lemma 3: every insertion run satisfying (4.5) has INSERT≤2⋅TREE\mathrm{INSERT}\le 2\cdot\mathrm{TREE}INSERT≤2⋅TREE (4.6).
  6. Eq. (4.11): TREE≤(1−1/n)⋅OPTIMAL\mathrm{TREE}\le(1-1/n)\cdot\mathrm{OPTIMAL}TREE≤(1−1/n)⋅OPTIMAL.

Theorem 4 itself, INSERT<2⋅OPTIMAL\mathrm{INSERT}<2\cdot\mathrm{OPTIMAL}INSERT<2⋅OPTIMAL when ddd is not identically zero, is included as a companion statement.

Significance

The bound says that two simple O(n2)O(n^2)O(n2) and O(n2log⁡n)O(n^2\log n)O(n2logn) construction rules are never worse than a factor 2(1−1/n)2(1-1/n)2(1−1/n) from optimal on any metric instance, a guarantee independent of nnn, in contrast with nearest neighbor and with arbitrary insertion orders, whose ratios the same paper shows can grow logarithmically. Lemma 3 is reusable on its own: any insertion rule satisfying the local inequality (4.5) inherits the bound 2⋅TREE2\cdot\mathrm{TREE}2⋅TREE, and the paper notes that similar arguments apply to nearest addition and nearest merger.

The result has been proved since 1977. The Prove2Me library has a machine-checked proof of the weaker statement for nearest insertion only with constant 222 (SupplyChainTheory.nearest_insertion_bound, from Snyder–Shen, Theorem 10.7) and of TREE≤OPTIMAL\mathrm{TREE}\le\mathrm{OPTIMAL}TREE≤OPTIMAL (SupplyChainTheory.mst_lower_bound). This mission asks for the paper's full statement: both rules, the exact constant 2(1−1/n)2(1-1/n)2(1−1/n), and the general Lemma 3 via its correspondence between insertion steps and spanning-tree edges. Paired with the tightness result of the companion mission (Theorem 5), it would give a formally verified exact worst-case ratio for both heuristics.

Difficulty

Lemma 2 and inequality (4.5) are local consequences of the triangle inequality; the difficulty is global. The obvious attempt at Lemma 3 charges step iii to the tree edge joining aia_iai​ to its nearest node of TiT_iTi​, but distinct steps can then be charged to the same tree edge, and the sum of the charges no longer bounds 2⋅TREE2\cdot\mathrm{TREE}2⋅TREE. Any correct argument must control how the insertion order interacts with the structure of an arbitrary spanning tree, which in Lean means reasoning about paths in SimpleGraph together with the evolving subtours. For cheapest insertion the chosen node need not be a nearest node, so (4.5) is not immediate from the rule. Finally, the goal's constant 2(1−1/n)2(1-1/n)2(1−1/n) is sharper than the bound 2⋅OPTIMAL2\cdot\mathrm{OPTIMAL}2⋅OPTIMAL obtained from TREE≤OPTIMAL\mathrm{TREE}\le\mathrm{OPTIMAL}TREE≤OPTIMAL, so the weaker spanning-tree bound already in the library does not suffice.

Formalization scope

Nodes are Fin n with n≥1n\ge1n≥1 (the paper's nodes 1,…,n1,\dots,n1,…,n shifted to 0,…,n−10,\dots,n-10,…,n−1). The distance satisfies the paper's three axioms plus the normalization d(i,i)=0d(i,i)=0d(i,i)=0, which never affects a tour, subtour or tree length. Tours are permutations; OPTIMAL is a minimum over all of them (Finset.inf'). Subtours are lists of distinct nodes with closed length. TOUR(T,k)\mathrm{TOUR}(T,k)TOUR(T,k) is encoded as insertion of kkk at a list position whose resulting length is minimal over all ∣T∣+1|T|+1∣T∣+1 positions, which is the minimization of (3.1) over the edges of TTT; COST is the corresponding minimum increase. The subtour index is 1-based as printed (T1={a0}T_1=\{a_0\}T1​={a0​}, TnT_nTn​ final). The distance d(T,p)d(T,p)d(T,p) is taken in R∪{+∞}\mathbb R\cup\{+\infty\}R∪{+∞}, so no default value enters the nearest rule. Spanning trees are SimpleGraph (Fin n) with IsTree; statements about TREE are phrased over every spanning tree (upper bounds) or some spanning tree (bounds on TREE), which is equivalent. Ratios are multiplied out, so the goal needs no nontriviality hypothesis; Theorem 4's strict form carries the paper's exclusion of the identically zero distance (p. 564).

A formalization in which TOUR inserts at an arbitrary rather than a cheapest position, or in which the run fixes the start node or the tie-breaking, would state a different (and, for arbitrary positions, false) theorem; the statements here quantify over every run.

A complete development needs subtour-length lemmas for List.insertIdx, the telescoping identity (3.7), and a spanning-tree edge-assignment argument on Mathlib's SimpleGraph paths; the last two are reusable for other insertion rules and for the companion missions of this series. Proofs of any milestone are welcome independently.

Selected references

  • D. J. Rosenkrantz, R. E. Stearns, P. M. Lewis II, An Analysis of Several Heuristics for the Traveling Salesman Problem, SIAM Journal on Computing 6(3):563–581, 1977. https://doi.org/10.1137/0206041
  • N. Christofides, Worst-Case Analysis of a New Heuristic for the Travelling Salesman Problem, Report 388, GSIA, Carnegie Mellon University, 1976. https://doi.org/10.1007/s43069-021-00101-z (reprint in Operations Research Forum 3, 2022)
  • L. V. Snyder, Z.-J. M. Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley, 2019, Chapter 10 (Theorem 10.7). https://doi.org/10.1002/9781119584445
10 thms2 active usersReviewed
🏆Completed
OptimizationProbability·Captain: mikedeng1

On the Value of Mix Flexibility and Dual Sourcing in Unreliable Newsvendor Networks 1: The Risk-Neutral Flexibility Premium Is Nonnegative for Every ReliabilityResearch Paper

Motivation

A firm that sells several products must decide, before demand is known, how much production capacity to build and of what kind. Dedicated capacity makes one product; flexible capacity makes any of them. The classic argument for flexibility is demand pooling: capacity that can follow demand to whichever product needs it wastes less than capacity locked to one product (Fine and Freund 1990; Van Mieghem 1998).

When capacity itself is unreliable, as with a supplier that may fail to deliver, a plant that may be disrupted, or a batch that may be rejected, flexibility has a second face. A single flexible resource concentrates the firm's supply in one place, so one failure removes all of it, whereas several dedicated resources rarely fail together. This resource-aggregation effect works against flexibility. Tomlin and Wang (2005) set up a newsvendor network in which both effects are present and ask when a firm should pay more for flexible capacity than for dedicated capacity. Their first answer (Proposition 1) is that a risk-neutral firm facing equal reliabilities and costs never loses by choosing flexibility, whatever the joint distribution of demand. This mission formalizes that answer.

Setting

There are NNN products with a common unit contribution margin p>0p>0p>0. The demand vector X~=(X~1,…,X~N)\tilde X=(\tilde X_1,\dots,\tilde X_N)X~=(X~1​,…,X~N​) is random, nonnegative and integrable; its total is X~N+1=X~1+⋯+X~N\tilde X_{N+1}=\tilde X_1+\dots+\tilde X_NX~N+1​=X~1​+⋯+X~N​.

Two networks are compared. In the dedicated network SD, resource n∈{1,…,N}n\in\{1,\dots,N\}n∈{1,…,N} makes only product nnn and has marginal total cost c>0c>0c>0. In the flexible network SF, a single resource, labelled N+1N+1N+1, makes every product and has marginal total cost cN+1c_{N+1}cN+1​.

Every resource jjj is unreliable with a Bernoulli yield Y~j∈{0,1}\tilde Y_j\in\{0,1\}Y~j​∈{0,1}, P(Y~j=1)=θ\mathbb P(\tilde Y_j=1)=\thetaP(Y~j​=1)=θ. The common reliability is θ∈[0,1]\theta\in[0,1]θ∈[0,1], the yields are mutually independent, and they are independent of demand. Investing Kj≥0K_j\ge 0Kj​≥0 in resource jjj delivers capacity Y~jKj\tilde Y_jK_jY~j​Kj​ and costs (λ+(1−λ)Y~j)cjKj(\lambda+(1-\lambda)\tilde Y_j)c_jK_j(λ+(1−λ)Y~j​)cj​Kj​: the firm pays the committed cost λcj\lambda c_jλcj​ per unit ordered and a further (1−λ)cj(1-\lambda)c_j(1−λ)cj​ per unit delivered, with λ∈[0,1]\lambda\in[0,1]λ∈[0,1].

The realized profits are

WSD(K)=∑n=1N(−(λ+(1−λ)Y~n)cKn+pmin⁡{X~n,Y~nKn}),W^{SD}(K)=\sum_{n=1}^N\Big(-(\lambda+(1-\lambda)\tilde Y_n)cK_n+p\min\{\tilde X_n,\tilde Y_nK_n\}\Big),WSD(K)=n=1∑N​(−(λ+(1−λ)Y~n​)cKn​+pmin{X~n​,Y~n​Kn​}), WSF(KN+1)=−(λ+(1−λ)Y~N+1)cN+1KN+1+pmin⁡{X~N+1,Y~N+1KN+1},W^{SF}(K_{N+1})=-(\lambda+(1-\lambda)\tilde Y_{N+1})c_{N+1}K_{N+1}+p\min\{\tilde X_{N+1},\tilde Y_{N+1}K_{N+1}\},WSF(KN+1​)=−(λ+(1−λ)Y~N+1​)cN+1​KN+1​+pmin{X~N+1​,Y~N+1​KN+1​},

and a risk-neutral firm maximizes the expected profit VRNSD(K)=E[WSD(K)]V^{SD}_{RN}(K)=\mathbb E[W^{SD}(K)]VRNSD​(K)=E[WSD(K)] or VRNSF(KN+1)=E[WSF(KN+1)]V^{SF}_{RN}(K_{N+1})=\mathbb E[W^{SF}(K_{N+1})]VRNSF​(KN+1​)=E[WSF(KN+1​)] over nonnegative investments. Let VSD,∗V^{SD,*}VSD,∗ and VSF,∗V^{SF,*}VSF,∗ be the optimal values. SF is (weakly) preferred if VSF,∗≥VSD,∗V^{SF,*}\ge V^{SD,*}VSF,∗≥VSD,∗.

The indifference cost cN+1Ic^I_{N+1}cN+1I​ is a value of cN+1c_{N+1}cN+1​ at which VSF,∗=VSD,∗V^{SF,*}=V^{SD,*}VSF,∗=VSD,∗, and the flexibility premium is Δ=(cN+1I−c)/c\Delta=(c^I_{N+1}-c)/cΔ=(cN+1I​−c)/c. The firm prefers SF as long as cN+1≤(1+Δ)cc_{N+1}\le(1+\Delta)ccN+1​≤(1+Δ)c.

The α\alphaα-expected shortfall of a random variable ZZZ is, for α∈(0,1)\alpha\in(0,1)α∈(0,1) and the lower quantile x(α)=inf⁡{x:P(Z≤x)≥α}x_{(\alpha)}=\inf\{x:\mathbb P(Z\le x)\ge\alpha\}x(α)​=inf{x:P(Z≤x)≥α},

ESα(Z)=−1α(E[Z1{Z≤x(α)}]+x(α)(α−P(Z≤x(α)))).ES_\alpha(Z)=-\frac1\alpha\Big(\mathbb E\big[Z\mathbf 1\{Z\le x_{(\alpha)}\}\big]+x_{(\alpha)}\big(\alpha-\mathbb P(Z\le x_{(\alpha)})\big)\Big).ESα​(Z)=−α1​(E[Z1{Z≤x(α)​}]+x(α)​(α−P(Z≤x(α)​))).

Formalization targets

Goal: Proposition 1

For any demand random vector X~\tilde XX~:

  1. ΔRN≥0\Delta_{RN}\ge 0ΔRN​≥0 for all 0≤θ≤10\le\theta\le 10≤θ≤1, that is, SF is preferred whenever cN+1≤cc_{N+1}\le ccN+1​≤c;
0≤θ≤λcp−(1−λ)c ⟹ ΔRN=0;0\le\theta\le\frac{\lambda c}{p-(1-\lambda)c}\ \Longrightarrow\ \Delta_{RN}=0;0≤θ≤p−(1−λ)cλc​ ⟹ ΔRN​=0;
  1. ΔRN=0\Delta_{RN}=0ΔRN​=0 if ρX=1\rho_X=\mathbf 1ρX​=1, i.e. all pairwise demand correlations equal 111.

No distributional form of demand is fixed and no constant is hard-coded beyond the paper's threshold.

Milestones

  • (9): the closed form of VRNSFV^{SF}_{RN}VRNSF​.
  • (10)–(11), (12)–(13): the optimal investments are critical fractiles
FXN+1(KN+1∗)=1−(λ+(1−λ)θ)cN+1θp,FXn(Kn∗)=1−(λ+(1−λ)θ)cθp,F_{X_{N+1}}(K^*_{N+1})=1-\frac{(\lambda+(1-\lambda)\theta)c_{N+1}}{\theta p},\qquad F_{X_n}(K^*_n)=1-\frac{(\lambda+(1-\lambda)\theta)c}{\theta p},FXN+1​​(KN+1∗​)=1−θp(λ+(1−λ)θ)cN+1​​,FXn​​(Kn∗​)=1−θp(λ+(1−λ)θ)c​,

and the optimal values are θp\theta pθp times partial expectations of demand.

  • (A-1) in expected-shortfall form: with α=1−(λ+(1−λ)θ)c/(θp)∈(0,1)\alpha=1-(\lambda+(1-\lambda)\theta)c/(\theta p)\in(0,1)α=1−(λ+(1−λ)θ)c/(θp)∈(0,1),
VSF,∗≥VSD,∗ at cN+1=c  ⟺  α(∑nESα(X~n)−ESα(∑nX~n))≥0.V^{SF,*}\ge V^{SD,*}\ \text{at}\ c_{N+1}=c\iff \alpha\Big(\sum_n ES_\alpha(\tilde X_n)-ES_\alpha\Big(\sum_n\tilde X_n\Big)\Big)\ge 0 .VSF,∗≥VSD,∗ at cN+1​=c⟺α(n∑​ESα​(X~n​)−ESα​(n∑​X~n​))≥0.
  • Subadditivity of ESαES_\alphaESα​ (Acerbi and Tasche 2002).
  • The positivity threshold of part 2: investing is worthwhile iff θ>λc/(p−(1−λ)c)\theta>\lambda c/(p-(1-\lambda)c)θ>λc/(p−(1−λ)c).
  • Correlation 111 implies X~n=aX~1+b\tilde X_n=a\tilde X_1+bX~n​=aX~1​+b with a>0a>0a>0, and ESα(aX+b)=aESα(X)−bES_\alpha(aX+b)=aES_\alpha(X)-bESα​(aX+b)=aESα​(X)−b.

Significance

Proposition 1 separates the two effects of flexibility under unreliable supply. It shows that for a risk-neutral firm the demand-pooling benefit together with an upside effect of aggregation (one flexible resource succeeds more often than all dedicated ones together) always outweighs the downside aggregation risk. Even with no pooling benefit at all (perfectly correlated demand) the firm is indifferent, not averse. The later results of the paper (loss aversion, CVaR, dual sourcing) are measured against this baseline: a negative premium can appear only once the firm is risk-averse. The expected-shortfall form links newsvendor optimal values to a coherent risk measure, a connection that recurs in inventory risk analysis.

The result is proved in the paper, with a proof that cites Acerbi and Tasche (2002) for two properties of expected shortfall. No machine-checked version exists. A formalization adds three things: a proof for general demand distributions (the paper assumes a joint density and uses the continuous form of expected shortfall); a Lean development of Acerbi–Tasche expected shortfall for general integrable random variables, including subadditivity and affine equivariance; and a reusable model of newsvendor networks with Bernoulli yields and committed costs.

Difficulty

The newsvendor steps (9)–(13) are single-variable concave optimization, but they must be done without a density: the distribution function of total demand may have atoms and flat pieces, so the critical fractile need not be attained or may be attained on an interval, and optimal values must be expressed through lower quantiles. Subadditivity of expected shortfall is the heart of part 1 and is not elementary in the general (atomic) case, which is exactly why the correction term x(α)(α−P(Z≤x(α)))x_{(\alpha)}(\alpha-\mathbb P(Z\le x_{(\alpha)}))x(α)​(α−P(Z≤x(α)​)) appears. Part 3 requires identifying correlation 111 with almost-sure positive affine dependence, which rests on the equality case of the Cauchy–Schwarz inequality in L2L^2L2, and then handling nonnegativity constraints on the investments that the affine change of variables may violate. The obvious shortcut of computing everything from densities is not available, because the goal is stated for every demand vector and part 3 is incompatible with a joint density when N≥2N\ge 2N≥2.

Formalization scope

Randomness lives on one probability space (Ω,μ)(\Omega,\mu)(Ω,μ); demand is X : Ω → Fin N → ℝ and yields are Y : Ω → Fin (N + 1) → ℝ, where dedicated resource nnn is Fin.castSucc n and the flexible resource N+1N+1N+1 is Fin.last N. Expectations are Bochner integrals and probabilities are μ.real. The standing assumptions are: p>0p>0p>0, c>0c>0c>0, λ,θ∈[0,1]\lambda,\theta\in[0,1]λ,θ∈[0,1]; demands measurable, almost surely nonnegative and integrable (integrability is needed for expected shortfall and makes every profit integrable); yields measurable, {0,1}\{0,1\}{0,1}-valued almost surely with P(Y~j=1)=θ\mathbb P(\tilde Y_j=1)=\thetaP(Y~j​=1)=θ, mutually independent, and independent of demand (the paper states the last in Appendix E). The paper's joint density of demand is deliberately not assumed.

The premium Δ\DeltaΔ and the indifference cost are not defined as real numbers, because Definition 1's indifference cost need not exist or be unique (for θ\thetaθ below the threshold both optimal values are 000 for every cN+1c_{N+1}cN+1​ near ccc). "Δ≥0\Delta\ge 0Δ≥0" is encoded as "SF is weakly preferred for every cN+1≤cc_{N+1}\le ccN+1​≤c", and "Δ=0\Delta=0Δ=0" as "SF and SD are each weakly preferred to the other at cN+1=cc_{N+1}=ccN+1​=c". Weak preference VSF,∗≥VSD,∗V^{SF,*}\ge V^{SD,*}VSF,∗≥VSD,∗ is stated as: every nonnegative SD investment is matched by some nonnegative SF investment; no real supremum is taken. Quantiles F−1F^{-1}F−1 in (10) and (12) appear only as parameters with the hypothesis F(K∗)=F(K^*)=F(K∗)= fractile. Part 3 adds square integrability and positive variances, the conditions under which correlation coefficients exist; the threshold milestone adds almost surely positive demand and N≥1N\ge 1N≥1 for its "if" direction. When p≤(1−λ)cp\le(1-\lambda)cp≤(1−λ)c the Lean value of the threshold is ≤0\le 0≤0, so part 2 then covers only θ=0\theta=0θ=0, where it is true.

A formalization that assumed a joint density, took Δ\DeltaΔ as a free real satisfying Definition 1, or defined optimal values as real suprema over all of RN\mathbb R^NRN would make parts of the goal vacuous or trivial; each is ruled out above.

Needed infrastructure: single-variable newsvendor optimality for general distributions; the Acerbi–Tasche expected shortfall with subadditivity and affine equivariance; the equality case of Cauchy–Schwarz for correlation. The expected-shortfall and correlation lemmas are reusable well beyond this mission, and contributions of them are especially welcome. Out of scope: the loss-averse and CVaR analyses (Propositions 2–3, §3.2–3.3), the perfect-reliability result (Proposition 4, a separate mission), the dual-sourcing networks (§4) and all numerical results.

Selected references

  • B. Tomlin and Y. Wang, On the value of mix flexibility and dual sourcing in unreliable newsvendor networks, Manufacturing & Service Operations Management 7(1):37–57, 2005. https://doi.org/10.1287/msom.1040.0063
  • C. Acerbi and D. Tasche, On the coherence of expected shortfall, Journal of Banking & Finance 26(7):1487–1503, 2002. https://doi.org/10.1016/S0378-4266(02)00283-2
  • C. H. Fine and R. M. Freund, Optimal investment in product-flexible manufacturing capacity, Management Science 36(4):449–466, 1990. https://doi.org/10.1287/mnsc.36.4.449
  • J. A. Van Mieghem, Investment strategies for flexible resources, Management Science 44(8):1071–1078, 1998. https://doi.org/10.1287/mnsc.44.8.1071
10 thms2 active usersReviewed
🏆Completed
Convex OptimizationLinear OptimizationOptimization·Captain: Shuze Chen

Discrete Convex Analysis II: Local Optimality for Integrally Convex FunctionsTextbook

Motivation

For a convex function on Rn\mathbb R^nRn, a point is a global minimizer as soon as it is a local minimizer — this is one of the earliest and most consequential facts of convex analysis, and it underlies why local-search and gradient methods can certify global optimality in convex programs. The discrete analogue is not automatic: a function on the integer lattice Zn\mathbb Z^nZn can be "locally optimal" with respect to any fixed finite neighborhood system and still fail to be a global minimizer, unless the function's discrete structure is compatible with that neighborhood in the right way. Identifying exactly which classes of lattice functions admit a local-to-global optimality principle, and with respect to which neighborhood, is one of the organizing questions of discrete convex analysis.

Integrally convex functions, introduced by Favati and Tardella (1990) and developed systematically by Murota, are the most general class of Zn\mathbb Z^nZn-valued functions for which such a principle holds. They are defined purely in terms of the classical convex closure of a real relaxation, which lets one import theorems from ordinary convex analysis, but the resulting notion of local optimality — checking only the 3n−13^n - 13n−1 neighbors obtained by independently nudging each coordinate by −1-1−1, 000, or +1+1+1 (excluding the trivial no-change case) — is a genuinely discrete, dimension-independent statement about functions whose domain can be arbitrarily large. Almost every discrete convex function class studied later in the book, including M-convex and L-convex functions, is a special case of integral convexity, and this mission's goal theorem is the direct ancestor of the optimality criteria (Theorems 6.26 and 7.14) that drive the algorithms in the rest of the book.

Setting

Let f:Zn→R∪{+∞}f : \mathbb Z^n \to \mathbb R \cup \{+\infty\}f:Zn→R∪{+∞} be a function with nonempty effective domain dom⁡Zf={x∈Zn:f(x)≠+∞}\operatorname{dom}_{\mathbb Z} f = \{x \in \mathbb Z^n : f(x) \ne +\infty\}domZ​f={x∈Zn:f(x)=+∞}. The convex closure of fff is

fˉ(x)=sup⁡p∈Rn, α∈R{⟨p,x⟩+α:⟨p,y⟩+α≤f(y) ∀y∈Zn}(x∈Rn),\bar f(x) = \sup_{p \in \mathbb R^n,\, \alpha \in \mathbb R} \{\langle p,x\rangle + \alpha : \langle p,y\rangle + \alpha \le f(y)\ \forall y \in \mathbb Z^n\} \qquad (x \in \mathbb R^n),fˉ​(x)=p∈Rn,α∈Rsup​{⟨p,x⟩+α:⟨p,y⟩+α≤f(y) ∀y∈Zn}(x∈Rn),

the pointwise supremum of every affine function minorizing fff on all of Zn\mathbb Z^nZn. If fˉ\bar ffˉ​ agrees with fff on integer points, fff is convex extensible. The integral neighborhood of x∈Rnx \in \mathbb R^nx∈Rn is

N(x)={y∈Zn:⌊xi⌋≤yi≤⌈xi⌉, 1≤i≤n},N(x) = \{y \in \mathbb Z^n : \lfloor x_i \rfloor \le y_i \le \lceil x_i \rceil,\ 1 \le i \le n\},N(x)={y∈Zn:⌊xi​⌋≤yi​≤⌈xi​⌉, 1≤i≤n},

and the local convex extension f~\tilde ff~​ relaxes fˉ\bar ffˉ​'s definition by requiring the affine minorant condition only on N(x)N(x)N(x) rather than on all of Zn\mathbb Z^nZn. Always f~≥fˉ\tilde f \ge \bar ff~​≥fˉ​ pointwise, and the two agree on Zn\mathbb Z^nZn. A function fff is integrally convex if f~=fˉ\tilde f = \bar ff~​=fˉ​ everywhere on Rn\mathbb R^nRn — equivalently, if f~\tilde ff~​ is a convex function on all of Rn\mathbb R^nRn (it is automatically convex on every unit cube [z,z+1]n[z, z+1]^n[z,z+1]n with z∈Znz \in \mathbb Z^nz∈Zn, but need not be convex globally without this extra condition).

A discrete set S⊆ZnS \subseteq \mathbb Z^nS⊆Zn is hole free if SSS equals the set of integer points in its own real convex hull, and arg⁡min⁡f[−p]\arg\min f[-p]argminf[−p] denotes the minimizer set, over Zn\mathbb Z^nZn, of the linearly perturbed function f[−p](x)=f(x)−⟨p,x⟩f[-p](x) = f(x) - \langle p,x\ranglef[−p](x)=f(x)−⟨p,x⟩.

Formalization targets

Goal: Theorem 3.21 (local optimality characterizes global optimality)

For integrally convex fff and x∈dom⁡Zfx \in \operatorname{dom}_{\mathbb Z} fx∈domZ​f:

f(x)≤f(y) (∀y∈Zn)  ⟺  f(x)≤f(x+χY−χZ) (∀ Y,Z⊆{1,…,n}),f(x) \le f(y)\ (\forall y \in \mathbb Z^n) \iff f(x) \le f(x + \chi_Y - \chi_Z)\ (\forall\, Y, Z \subseteq \{1,\dots,n\}),f(x)≤f(y) (∀y∈Zn)⟺f(x)≤f(x+χY​−χZ​) (∀Y,Z⊆{1,…,n}),

where χY∈{0,1}n\chi_Y \in \{0,1\}^nχY​∈{0,1}n is the indicator vector of YYY. The right-hand side is a check over at most 3n−13^n - 13n−1 points (each coordinate independently unchanged, incremented, or decremented), regardless of how large dom⁡Zf\operatorname{dom}_{\mathbb Z} fdomZ​f is; this uniform, dimension-only bound is the entire content of the theorem, and is the weakest correct formulation — restricting to a single (Y,Z)(Y,Z)(Y,Z) or letting the right-hand side range over all of Zn\mathbb Z^nZn would trivialize or falsify the equivalence.

Milestones: Propositions 3.18 and 3.19

Proposition 3.18: fff convex extensible   ⟹  \implies⟹ arg⁡min⁡f[−p]\arg\min f[-p]argminf[−p] hole free for every ppp (and conversely, when dom⁡Zf\operatorname{dom}_{\mathbb Z} fdomZ​f is bounded). Proposition 3.19: fff is integrally convex if and only if every restriction f[a,b]f_{[a,b]}f[a,b]​ to a finite integer interval is integrally convex — integral convexity is detectable by looking at bounded pieces of fff one at a time.

Significance

The result itself. Theorem 3.21 is what makes integrally convex functions tractable: without it, verifying global optimality on an infinite or exponentially large integer domain would require checking every point. The theorem reduces this to a check whose size depends only on the dimension nnn, not on the size of the domain, and it does so for the widest class of lattice functions for which such a reduction is possible — the class is defined precisely so that this property holds and no wider natural class enjoys it. Every specialized local-optimality theorem later in the book (for M-convex, M♮^\natural♮-convex, L-convex, and L♮^\natural♮-convex functions) restricts this same neighborhood-checking principle to a class where the local check can be made even smaller (a single-element exchange rather than a full sign pattern) precisely because those classes are integrally convex plus more.

Formalizing it. No matching item exists on the platform: a direct search for "integrally convex" returns no results, and the theorem's own proof leans on results (Theorem 1.1's local-to-global principle for ordinary convex functions on Rn\mathbb R^nRn, and an LP-duality-based alternate formula for f~\tilde ff~​) that are either classical convex analysis or belong to a different chapter of this same book. The remaining work is therefore to give a complete, correct account of the definitional chain — convex closure, local convex extension, integral convexity — in a form a solver can build a proof from directly, and to state the finite local-check equivalence itself exactly at the strength the book proves it, not a plausible-looking weakening of it.

Difficulty

The natural first attempt is to try to prove the "⇐\Leftarrow⇐" direction of Theorem 3.21 by a direct induction on the ℓ1\ell^1ℓ1-distance to a global minimizer, moving one coordinate at a time. This fails in general lattice functions (a function that is only "coordinatewise convex" can have strict local minima that are not global), and the theorem's actual proof instead routes through the real relaxation: it shows the neighborhood-check hypothesis forces xxx to be a local minimizer of the local convex extension f~\tilde ff~​ restricted to the unit ball around xxx, then invokes ordinary convex analysis (local minimality implies global minimality for a convex function on Rn\mathbb R^nRn) to conclude xxx globally minimizes fˉ\bar ffˉ​, and finally uses integral convexity (f~=fˉ\tilde f = \bar ff~​=fˉ​) to transfer this back to fff on Zn\mathbb Z^nZn. The identification of fff's local behavior with f~\tilde ff~​'s convexity on a single unit cube — rather than any coordinatewise or separable argument — is the step that makes the class of integrally convex functions exactly the right one for this theorem, and is where a naive combinatorial argument breaks down.

Formalization scope

The ground set is Zn\mathbb Z^nZn, represented as Fin n → ℤ; fff's codomain is WithTop ℝ (exactly R∪{+∞}\mathbb R \cup \{+\infty\}R∪{+∞}), while the convex closure fˉ\bar ffˉ​ and local convex extension f~\tilde ff~​ take values in EReal (exactly R∪{±∞}\mathbb R \cup \{\pm\infty\}R∪{±∞}, a complete lattice, so their defining suprema are total functions with no side conditions). A trivializing formalization of the goal would quantify the right-hand side over a single fixed (Y,Z)(Y,Z)(Y,Z) pair, or over all of Zn\mathbb Z^nZn instead of the sign-pattern neighbors; both are excluded by keeping Y,ZY, ZY,Z universally quantified Finset (Fin n) ranging over the full 3n3^n3n sign-pattern space (minus the trivial case, which the equivalence still holds through vacuously).

Checked against the platform (GET /theorems?q=integrally convex, 0 hits) and against Mathlib's Analysis/Convex/ for the classical facts this chapter's proof would eventually need (ordinary convex-function local-to-global optimality, LP duality): these are broadly available in Mathlib's convex-analysis library in some form, but none of them is imported here, since none appears in the statement of any item this mission drafts — they belong to a proof this pass does not attempt. Contributions to a shared DiscreteConvex.IntegralConvexity definitions layer are welcome from chunks 06–09, which specialize integral convexity to M-convex and L-convex functions and will need the same convex-closure/local-extension vocabulary.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003. DOI: 10.1137/1.9780898718508.
  • P. Favati, F. Tardella, "Convexity in nonlinear integer programming," Ricerca Operativa, 53, 1990, pp. 3–44.
14 thms2 active usersReviewed
🏆Completed
Optimization·Captain: mikedeng1

An Interactive Weighted Tchebycheff Procedure for Multiple Objective Programming II: The Lexicographic Weighted Tchebycheff Program Characterizes the Nondominated SetResearch Paper

Motivation

A multiple objective program asks to maximize kkk objectives f1(x),…,fk(x)f_1(x),\dots,f_k(x)f1​(x),…,fk​(x) simultaneously over a feasible set SSS. There is usually no point that is best in every objective, so the object of interest is the set of nondominated criterion vectors: those that cannot be improved in one objective without being worsened in another. Interactive procedures for multiple criteria decision making work by computing nondominated vectors one at a time, by solving a single-objective scalarization, and presenting them to a decision maker.

A scalarization is useful for this purpose only if it is complete (every nondominated vector is the solution of some instance of it) and sound (every solution is nondominated). The weighted-sum scalarization is sound for positive weights but not complete when the feasible region is nonconvex. R. E. Steuer and E.-U. Choo (Math. Programming 26 (1983) 326–344) built their interactive procedure on weighted Tchebycheff distances to an ideal point, following Bowman (1976) and Choo and Atkins (1983). In §3 they treat finite feasible regions with an augmented metric, which requires choosing a small parameter ρ>0\rho>0ρ>0. In §4 (pp. 334–336) they show that a lexicographic version of the weighted Tchebycheff program is complete and sound for any feasible region, including nonconvex continuous ones, with no parameter to estimate. This mission formalizes that result, Theorems 4.5 and 4.6.

Setting

Let Z⊆RkZ\subseteq\mathbb R^kZ⊆Rk, k≥1k\ge1k≥1, be the set of feasible criterion vectors (the image of SSS under f=(f1,…,fk)f=(f_1,\dots,f_k)f=(f1​,…,fk​)). A vector zzz dominates zˉ\bar zzˉ if zi≥zˉiz_i\ge\bar z_izi​≥zˉi​ for all iii and zi>zˉiz_i>\bar z_izi​>zˉi​ for at least one iii. The nondominated set N⊆ZN\subseteq ZN⊆Z consists of the zˉ∈Z\bar z\in Zzˉ∈Z dominated by no z∈Zz\in Zz∈Z.

An ideal criterion vector is a z∗∈Rkz^*\in\mathbb R^kz∗∈Rk with

zi∗=max⁡{zi∣z∈Z}+εi,z^*_i=\max\{z_i\mid z\in Z\}+\varepsilon_i,zi∗​=max{zi​∣z∈Z}+εi​,

where εi≥0\varepsilon_i\ge0εi​≥0, and εi>0\varepsilon_i>0εi​>0 is required whenever (i) more than one nondominated vector maximizes objective iii, or (ii) the only nondominated vector maximizing objective iii also maximizes another objective. So z∗z^*z∗ may touch ZZZ in coordinate iii only in a controlled way.

The weight set is the simplex Λˉ={λ∈Rk∣λi≥0, ∑iλi=1}\bar\Lambda=\{\lambda\in\mathbb R^k\mid\lambda_i\ge0,\ \sum_i\lambda_i=1\}Λˉ={λ∈Rk∣λi​≥0, ∑i​λi​=1}. For λ∈Λˉ\lambda\in\bar\Lambdaλ∈Λˉ the weighted Tchebycheff program minimizes α\alphaα subject to α≥λi(zi∗−zi)\alpha\ge\lambda_i(z^*_i-z_i)α≥λi​(zi∗​−zi​) for all iii and z∈Zz\in Zz∈Z; its value at a fixed zzz is

tλ(z)=max⁡1≤i≤kλi(zi∗−zi).t_\lambda(z)=\max_{1\le i\le k}\lambda_i(z^*_i-z_i).tλ​(z)=1≤i≤kmax​λi​(zi∗​−zi​).

The lexicographic weighted Tchebycheff program first minimizes tλt_\lambdatλ​ over ZZZ and then, among the first-stage minimizers, minimizes eT(z∗−z)=∑i(zi∗−zi)e^{\mathsf T}(z^*-z)=\sum_i(z^*_i-z_i)eT(z∗−z)=∑i​(zi∗​−zi​). The paper writes it as min⁡{P1α+P2eT(z∗−z)}\min\{P_1\alpha+P_2e^{\mathsf T}(z^*-z)\}min{P1​α+P2​eT(z∗−z)} with pre-emptive priority factors. Finally, for zˉ∈Rk\bar z\in\mathbb R^kzˉ∈Rk the weights λˉ\bar\lambdaλˉ of eq. (4.3) are λˉi∝1/(zi∗−zˉi)\bar\lambda_i\propto1/(z^*_i-\bar z_i)λˉi​∝1/(zi∗​−zˉi​), normalized to sum to one, when zˉj≠zj∗\bar z_j\ne z^*_jzˉj​=zj∗​ for all jjj. When some zˉj=zj∗\bar z_j=z^*_jzˉj​=zj∗​, λˉi\bar\lambda_iλˉi​ is 111 on the coordinates with zˉi=zi∗\bar z_i=z^*_izˉi​=zi∗​ and 000 elsewhere.

Formalization targets

Goal: Theorem 4.6 (p. 336)

For compact ZZZ, an ideal vector z∗z^*z∗ and zˉ∈Z\bar z\in Zzˉ∈Z,

zˉ∈N  ⟺  ∃ λ∈Λˉ such that zˉ minimizes the lexicographic weighted Tchebycheff program with weights λ.\bar z\in N\iff\exists\,\lambda\in\bar\Lambda\ \text{such that}\ \bar z\ \text{minimizes the lexicographic weighted Tchebycheff program with weights }\lambda .zˉ∈N⟺∃λ∈Λˉ such that zˉ minimizes the lexicographic weighted Tchebycheff program with weights λ.

Milestones

  1. Proof of Theorem 4.5 (pp. 335–336). For zˉ∈N\bar z\in Nzˉ∈N, λˉ\bar\lambdaλˉ as in (4.3) and α^\hat\alphaα^ the minimal first-stage value,
zˉ∈Φ(α^),N∩Φ(α^)={zˉ},Φ(α^)={z∣zi≥zi∗−α^/λˉi when λˉi>0}.\bar z\in\Phi(\hat\alpha),\qquad N\cap\Phi(\hat\alpha)=\{\bar z\},\qquad \Phi(\hat\alpha)=\{z\mid z_i\ge z^*_i-\hat\alpha/\bar\lambda_i\ \text{when}\ \bar\lambda_i>0\}.zˉ∈Φ(α^),N∩Φ(α^)={zˉ},Φ(α^)={z∣zi​≥zi∗​−α^/λˉi​ when λˉi​>0}.
  1. Theorem 4.5 (p. 335). For zˉ∈N\bar z\in Nzˉ∈N: λˉ∈Λˉ\bar\lambda\in\bar\Lambdaλˉ∈Λˉ, and zˉ\bar zzˉ is the unique minimizer of the lexicographic program with weights λˉ\bar\lambdaλˉ.
  2. Remark after Theorem 4.6 (p. 336). For every λ∈Λˉ\lambda\in\bar\Lambdaλ∈Λˉ the lexicographic program has a minimizer when ZZZ is compact and nonempty, and every minimizer is nondominated.

The goal is the characterization; Theorem 4.5 is the stronger half with uniqueness and an explicit weight.

Significance

Theorem 4.6 says that, as λ\lambdaλ ranges over the simplex, the lexicographic weighted Tchebycheff program returns exactly the nondominated set, for any feasible region: no convexity, no finiteness, no polyhedral structure. Theorem 4.5 adds that each nondominated vector is the unique output for a weight vector computable from the vector itself, which is what an interactive procedure needs to sample NNN reliably. The price, as the paper notes, is two optimization stages instead of one; the gain is that no augmentation parameter ρ\rhoρ must be estimated. The result is a standard entry in the textbook treatment of Tchebycheff scalarizations (Steuer, Multiple Criteria Optimization, 1986; Ehrgott, Multicriteria Optimization, 2005).

The result is proved on paper. To our knowledge no machine-checked version exists in Lean or Mathlib, which has no material on Tchebycheff scalarization of multiple objective programs. The formal statements below also pin down two points the printed text leaves loose: the direction of the priority factors, and a closedness assumption that the proof uses without stating it.

Difficulty

The ⇐ direction and the soundness remark are short: a dominating vector is at least as good in the first stage and strictly better in the second. The work is in Theorem 4.5. The obvious argument is that zˉ\bar zzˉ is the unique minimizer of the first stage with weights λˉ\bar\lambdaλˉ; the paper says so. That is true when zˉ<z∗\bar z<z^*zˉ<z∗ in every coordinate, but false when zˉj=zj∗\bar z_j=z^*_jzˉj​=zj∗​ for some jjj: then λˉ=ej\bar\lambda=e_jλˉ=ej​, and every z∈Zz\in Zz∈Z with zj=zj∗z_j=z^*_jzj​=zj∗​ ties with zˉ\bar zzˉ, dominated vectors included. For example, with Z={(5,3),(5,1),(1,10)}Z=\{(5,3),(5,1),(1,10)\}Z={(5,3),(5,1),(1,10)} and z∗=(5,10)z^*=(5,10)z∗=(5,10), the vectors (5,3)(5,3)(5,3) and (5,1)(5,1)(5,1) tie. Only the second stage separates them. Showing that it always selects zˉ\bar zzˉ requires every tied vector to lie below a nondominated vector attaining zj∗z^*_jzj∗​, which by the ideal-vector rule must be zˉ\bar zzˉ. That existence step fails for sets that are not closed.

Formalization scope

Criterion vectors are Fin k → ℝ with [NeZero k] (k≥1k\ge1k≥1); objectives are indexed from 000. SSS, the objectives fif_ifi​ and the program's variable α\alphaα are eliminated: ZZZ is a Set (Fin k → ℝ) and the first-stage value is tλ(z)t_\lambda(z)tλ​(z) above (the paper's metric uses ∣zi∗−zi∣|z^*_i-z_i|∣zi∗​−zi​∣, which agrees with zi∗−ziz^*_i-z_izi∗​−zi​ on ZZZ). Λˉ\bar\LambdaΛˉ is Mathlib's stdSimplex ℝ (Fin k). "Minimizes" is global minimization over ZZZ; "uniquely minimizes" means every lexicographic minimizer equals zˉ\bar zzˉ as a criterion vector.

Conventions and added hypotheses:

  • The lexicographic program is encoded as the two-stage minimization IsLexMin. The printed "P1<<<P2P_1<<<P_2P1​<<<P2​" read literally gives the second stage priority; the paper's text on p. 336 and the goal-programming convention it cites give α\alphaα priority. The two-stage reading is encoded, and the program is not replaced by a weighted sum P1α+P2eT(z∗−z)P_1\alpha+P_2e^{\mathsf T}(z^*-z)P1​α+P2​eT(z∗−z) with fixed numbers, which would be the augmented program of §3.
  • ZZZ compact is an added hypothesis in Theorem 4.5, in the goal, and in the existence half of milestone 3. The paper assumes only that SSS is bounded, and its "max" in the ideal vector presupposes attainment. Without closedness the weight (4.3) can fail: for Z={(5,3,0),(0,10,0),(0,0,6)}∪{(5,0,4+t):0≤t<1}Z=\{(5,3,0),(0,10,0),(0,0,6)\}\cup\{(5,0,4+t):0\le t<1\}Z={(5,3,0),(0,10,0),(0,0,6)}∪{(5,0,4+t):0≤t<1}, z∗=(5,10,6)z^*=(5,10,6)z∗=(5,10,6) and zˉ=(5,3,0)∈N\bar z=(5,3,0)\in Nzˉ=(5,3,0)∈N, the program with λˉ=(1,0,0)\bar\lambda=(1,0,0)λˉ=(1,0,0) has no lexicographic minimizer. Closedness is needed by the theorem itself, not only by this proof: adding the points (5−s2, 3+s, 0)(5-s^2,\,3+s,\,0)(5−s2,3+s,0), 0<s≤10<s\le10<s≤1, to that ZZZ (still bounded, ε=0\varepsilon=0ε=0 still admissible) leaves zˉ=(5,3,0)∈N\bar z=(5,3,0)\in Nzˉ=(5,3,0)∈N a lexicographic minimizer for no λ∈Λˉ\lambda\in\bar\Lambdaλ∈Λˉ, so Theorems 4.5 and 4.6 are false for a bounded, non-closed ZZZ. The ⇐ direction, soundness and milestone 1 hold without compactness and are stated without it.
  • The ideal vector keeps the paper's ε\varepsilonε-rule exactly. Replacing it with a strictly dominating z∗z^*z∗ (ε>0\varepsilon>0ε>0 in every coordinate) would remove the case zˉj=zj∗\bar z_j=z^*_jzˉj​=zj∗​ and weaken both theorems; such a formalization does not count.
  • In (4.3) and in Φ\PhiΦ, division occurs only where the denominator is nonzero. That λˉ∈Λˉ\bar\lambda\in\bar\Lambdaλˉ∈Λˉ for zˉ∈N\bar z\in Nzˉ∈N is part of Theorem 4.5's conclusion, not an assumption.
  • The paper's sentence "the associated weighted Tchebycheff program has a unique solution" (p. 336) is not formalized, since it fails in the tie described above.

Infrastructure needed: dominance and nondominated sets, the ideal vector, the weighted Tchebycheff value, the weights (4.3), and the lexicographic minimizer, all provided as definitions. Proofs will need existence of minimizers of continuous functions on compact sets and a maximal-element argument in the product order on a compact set. Both are reusable for other multiobjective results. Proofs of any item, and faithful statements of Corollaries 4.1 and 4.4 (polyhedral SSS), are welcome.

Selected references

  • R. E. Steuer and E.-U. Choo, An interactive weighted Tchebycheff procedure for multiple objective programming, Mathematical Programming 26 (1983) 326–344. https://doi.org/10.1007/BF02591870
  • V. J. Bowman, On the relationship of the Tchebycheff norm and the efficient frontier of multiple-criteria objectives, in: Multiple Criteria Decision Making (Jouy-en-Josas 1975), Lecture Notes in Economics and Mathematical Systems 130, Springer, 1976, 76–86. https://doi.org/10.1007/978-3-642-87563-2_5
  • E.-U. Choo and D. R. Atkins, Proper efficiency in nonconvex multicriteria programming, Mathematics of Operations Research 8 (1983) 467–470. https://doi.org/10.1287/moor.8.3.467
  • A. M. Geoffrion, Proper efficiency and the theory of vector maximization, Journal of Mathematical Analysis and Applications 22 (1968) 618–630. https://doi.org/10.1016/0022-247X(68)90201-1
  • M. Ehrgott, Multicriteria Optimization, 2nd ed., Springer, 2005. https://doi.org/10.1007/3-540-27659-9
10 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOptimizationProbability·Captain: Shuze Chen

Markov Decision Processes V: No-Arbitrage in Discrete-Time Financial MarketsTextbook

Motivation

Every financial application in the rest of this book — terminal wealth maximization, portfolio choice with consumption, index tracking, hedging — takes as given that the underlying market admits no risk-free profit: an arbitrage opportunity. Ruling this out is not a modeling nicety but a structural necessity, since a market with arbitrage has no sensible notion of a fair price at all. Bäuerle and Rieder's Chapter 3 fixes the discrete- and continuous-time market vocabulary the rest of the book builds on, and proves the one structural fact about no-arbitrage that the later chapters actually invoke: that the whole-horizon, global absence of arbitrage is equivalent to a much simpler one-period condition, checked separately at each stage. This reduction — not the deeper fundamental theorem of asset pricing (existence of an equivalent martingale measure), which the book does not prove in this section — is what turns a statement about strategies over the whole time horizon into something checkable stage by stage, exactly the form needed to embed a no-arbitrage assumption into a dynamic-programming argument.

Setting

An NNN-period financial market with ddd risky assets consists of a probability space (Ω,F,P)(\Omega,\mathcal{F},\mathbb{P})(Ω,F,P) with filtration (Fn)n=0N(\mathcal{F}_n)_{n=0}^N(Fn​)n=0N​, F0\mathcal{F}_0F0​ trivial; a riskless bond with deterministic interest rate ini_nin​ on [n−1,n)[n-1,n)[n−1,n) (so Sn0=Sn−10(1+in)S^0_n = S^0_{n-1}(1+i_n)Sn0​=Sn−10​(1+in​)); and ddd risky assets with relative price changes R~n=(R~n1,…,R~nd)\tilde R_n = (\tilde R^1_n,\dots,\tilde R^d_n)R~n​=(R~n1​,…,R~nd​), Fn\mathcal{F}_nFn​-measurable and a.s. strictly positive (Snk=Sn−1kR~nkS^k_n = S^k_{n-1}\tilde R^k_nSnk​=Sn−1k​R~nk​). A portfolio (trading strategy) is an (Fn)(\mathcal{F}_n)(Fn​)-adapted process φ=(φn0,φn)\varphi = (\varphi^0_n,\varphi_n)φ=(φn0​,φn​), φn0∈R\varphi^0_n \in \mathbb{R}φn0​∈R, φn∈Rd\varphi_n \in \mathbb{R}^dφn​∈Rd; φnk\varphi^k_nφnk​ is the money invested in asset kkk on [n,n+1)[n,n+1)[n,n+1). Its value before/after trading at time nnn is Xn−:=φn−10(1+in)+φn−1⋅R~nX_n^- := \varphi^0_{n-1}(1+i_n) + \varphi_{n-1}\cdot\tilde R_nXn−​:=φn−10​(1+in​)+φn−1​⋅R~n​, Xn+:=φn0+φn⋅eX_n^+ := \varphi^0_n + \varphi_n\cdot eXn+​:=φn0​+φn​⋅e; φ\varphiφ is self-financing if Xn−=Xn+X_n^- = X_n^+Xn−​=Xn+​ a.s. for every interior nnn. An arbitrage opportunity is a self-financing φ\varphiφ with X0φ=0X_0^\varphi = 0X0φ​=0, XNφ≥0X_N^\varphi \geq 0XNφ​≥0 a.s., XNφ>0X_N^\varphi > 0XNφ​>0 with positive probability. The relative risk process Rnk:=R~nk/(1+in)−1R_n^k := \tilde R_n^k/(1+i_n) - 1Rnk​:=R~nk​/(1+in​)−1 is the excess return of asset kkk over the riskless rate.

Formalization targets

Goal — Theorem 3.1.5

No arbitrage  ⟺  ∀ n<N, ∀ Fn-measurable φn∈Rd:φn⋅Rn+1≥0 a.s.  ⟹  φn⋅Rn+1=0 a.s.\text{No arbitrage} \iff \forall\, n < N,\ \forall\, \mathcal{F}_n\text{-measurable } \varphi_n \in \mathbb{R}^d: \quad \varphi_n \cdot R_{n+1} \geq 0 \text{ a.s.} \implies \varphi_n \cdot R_{n+1} = 0 \text{ a.s.}No arbitrage⟺∀n<N, ∀Fn​-measurable φn​∈Rd:φn​⋅Rn+1​≥0 a.s.⟹φn​⋅Rn+1​=0 a.s.

This is the weakest stable statement that captures the reduction: it asserts the equivalence of the global, whole-horizon absence of arbitrage strategies with a one-period static condition on the relative risk vector, without asserting the stronger (and here unproved) existence of a martingale measure.

No further milestone is formalized in this mission: this chapter's only other theorem, Theorem 3.3.1 (binomial-tree weak convergence to Black-Scholes), needs the Skorokhod topology on the space of càdlàg paths, absent from Mathlib and out of scope to construct here — see the Formalization scope section and HARD.md.

Significance

Theorem 3.1.5 is the tool that lets every later chapter's "assume the market has no arbitrage" hypothesis be checked and used one period at a time rather than as a global existential statement over an intractably large space of strategies. It is also the precise, minimal claim this section proves: contrasted with the full fundamental theorem of asset pricing (no arbitrage   ⟺  \iff⟺ existence of an equivalent martingale measure, due to Harrison–Kreps 1979 and Dalang–Morton–Willinger 1990 in this discrete-time generality), Theorem 3.1.5 is a strictly weaker, purely measure-theoretic reduction that requires no separating-hyperplane or martingale-measure construction to state (only to prove). The definitions this chunk formalizes alongside it — portfolios, self-financing, arbitrage, and utility functions with the Arrow-Pratt risk-aversion coefficient — are the vocabulary every financial mission of this book (Chapters 4, 6, 9, 11) is built from.

Formalizing it contributes the exact discrete-time, filtration-indexed statement of the reduction — a result absent from the platform (searched "arbitrage", "self-financing", "martingale measure", "utility function"; the one related hit, LinearOptimization.no_arbitrage_iff_state_prices, is a static single-period linear-programming duality statement — no-arbitrage iff nonnegative state prices exist for a fixed return matrix — a different equivalence for a different, non-stochastic model, not reused here).

Difficulty

The direction "local no-free-lunch at every stage ⇒\Rightarrow⇒ no arbitrage" is the easy one: an arbitrage strategy, unwound via the recursive wealth formula, forces a violation of the local condition at some stage by a stopping-time argument on the first period where the wealth increment is a.s. nonnegative and not a.s. zero. The converse, "an arbitrage opportunity forces the local condition to fail somewhere," is the direction that needs the reduction of the whole-horizon problem to a single period: the natural first attempt (induct forward from n=0n=0n=0) does not directly work, because whether a strategy is an arbitrage is a statement about the terminal wealth XNX_NXN​, and a violation at an early stage does not obviously propagate; the book's proof instead identifies, from an arbitrage strategy, the last stage at which the one-period condition fails and constructs a genuinely one-period arbitrage there — an argument that needs care with the a.s.-qualifiers at every step (the difference between "X≥0X \geq 0X≥0 a.s." failing to imply "X<0X < 0X<0 with positive probability" only up to null sets is exactly where the measure-theoretic bookkeeping matters).

Formalization scope

The market is represented via DiscreteFinancialMarket, bundling the probability space, filtration, and the two primitives (iii, R~\tilde RR~) actually used; price processes S0,SkS^0, S^kS0,Sk are not separately represented, since they would only be running products of these two primitives with no further role once the relative risk process RRR is derived. Filtration is represented directly as a monotone family of sub-σ\sigmaσ-algebras with a trivial Fam 0, not via Mathlib's Filtration structure, to avoid instance-juggling that would add no content here. Adaptedness/predictability and the a.s. conditions of every definition are exactly the book's own. Definitions 3.2.1-3.2.2 (the continuous-time portfolio and its self-financing condition, needed by chunk 09b's jump-market model) use an abstract StochasticIntegral operator taken as given data, since Mathlib has no general theory of integration against an arbitrary càdlàg semimartingale (only specific constructions such as Itô integration against Brownian motion); this is a deliberate infrastructure gap flagged for whoever eventually needs to instantiate it, not a hidden simplification of the definition's own content, which states the self-financing equation exactly as the book writes it.

Theorem 3.3.1 is not formalized in this mission and is recorded in HARD.md. The theorem asserts weak convergence of the whole path of the binomial-tree price process to the Black-Scholes-Merton stock price on the Skorokhod space D[0,T]D[0,T]D[0,T] of càdlàg functions with the Skorokhod topology — a materially stronger and more setup-heavy claim than finite-dimensional convergence in distribution, and the book explicitly names this topology (it is not left implicit). Mathlib has no formalization of D[0,T]D[0,T]D[0,T] or the Skorokhod topology, and building either from scratch (the space of càdlàg functions, the Skorokhod metric via time-warpings, the tightness criteria needed for Donsker-type invariance principles) is a substantial undertaking outside the scope of a single milestone; weakening the claim to convergence of finite-dimensional distributions, or silently substituting an unnamed alternative topology (e.g. uniform convergence, under which the claim would in fact be false, since the discretized paths have jumps the limit does not), would misstate the theorem rather than state a smaller piece of it faithfully. A general-purpose Skorokhod-space/Skorokhod-topology formalization in Mathlib — reusable well beyond this book — is the prerequisite contribution that would unlock this result.

No trivializing formalization: NoArbitrage quantifies over all self-financing portfolios (Portfolio M, an unrestricted adapted process, not a finite or parametrized family), and the one-period condition of part b) quantifies over all Fn\mathcal{F}_nFn​-measurable φn∈Rd\varphi_n \in \mathbb{R}^dφn​∈Rd — narrowing either quantifier (e.g. to strategies with bounded positions) would state a weaker, easier claim than the book's own theorem.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. https://doi.org/10.1007/978-3-642-18324-9
  • J. M. Harrison and D. M. Kreps, "Martingales and arbitrage in multiperiod securities markets", Journal of Economic Theory, 1979 (the discrete-time fundamental theorem of asset pricing this chapter's Theorem 3.1.5 is a structural lemma toward, not itself proved in this section).
6 thms2 active usersReviewed
🏆Completed
Control TheoryTheoretical Computer Science·Captain: mikedeng1

Supervisory Control of a Class of Discrete Event Processes II: Every Reduced, Trim Supervisor Is the Quotient of a Supervisor Built on a Recognizer for Its Closed-Loop LanguageResearch Paper

Motivation

Supervisory control theory, introduced by Ramadge and Wonham (SIAM J. Control Optim. 25(1), 1987), models a manufacturing cell, a communication protocol or a resource-sharing system as an automaton whose transitions are events, some of which an external controller may disable. A controller, the supervisor, is itself an automaton that watches the event sequence and, in each of its states, decides which controllable events are currently allowed. The framework is the standard model for logical (untimed) control of discrete event systems and is the subject of textbooks such as Cassandras and Lafortune (Springer, 2008) and Wonham and Cai (Springer, 2019).

A practical concern is supervisor size. The synthesis procedure of the paper (§9) produces a supervisor whose automaton records exactly as much of the past as the desired closed-loop language requires, but there are many other supervisors realising the same behaviour. The paper's second main result, the quotient structure theorem (Theorem 10.1, p. 223), explains how they are related: any supervisor with two natural economy properties is obtained from a canonical one, built on a recognizer of the closed-loop language, by lumping states. This is the structural starting point of the later literature on supervisor reduction.

Setting

A generator is G=(Q,Σ,δ,q0,Qm)\mathcal G = (Q, \Sigma, \delta, q_0, Q_m)G=(Q,Σ,δ,q0​,Qm​): a state set QQQ, a finite alphabet Σ\SigmaΣ of events, a partial transition function δ:Σ×Q→Q\delta : \Sigma \times Q \to Qδ:Σ×Q→Q, an initial state q0q_0q0​ and marker states Qm⊆QQ_m \subseteq QQm​⊆Q. Extending δ\deltaδ to strings gives the generated language L(G)L(\mathcal G)L(G) (strings along which δ\deltaδ is defined from q0q_0q0​) and the marked language Lm(G)L_m(\mathcal G)Lm​(G) (those that end in QmQ_mQm​). The closure Kˉ\bar KKˉ of a language KKK is its set of prefixes. Throughout, G\mathcal GG is trim: L(G)=Lˉm(G)L(\mathcal G) = \bar L_m(\mathcal G)L(G)=Lˉm​(G). A recognizer for a language KKK is an accessible generator whose marked language is KKK.

A subset Σc⊆Σ\Sigma_c \subseteq \SigmaΣc​⊆Σ of events is controllable. A supervisor is S=(S,ϕ)\mathcal S = (S, \phi)S=(S,ϕ) where S=(X,Σ,ξ,x0,Xm)S = (X, \Sigma, \xi, x_0, X_m)S=(X,Σ,ξ,x0​,Xm​) is an accessible deterministic automaton with possibly infinite state set and ϕ:X→{0,1}Σc\phi : X \to \{0,1\}^{\Sigma_c}ϕ:X→{0,1}Σc​ is a state feedback map; events outside Σc\Sigma_cΣc​ are always enabled. The closed loop S/G\mathcal S/\mathcal GS/G runs SSS and G\mathcal GG in lockstep and allows σ\sigmaσ from (x,q)(x, q)(x,q) iff ξ(σ,x)\xi(\sigma, x)ξ(σ,x) and δ(σ,q)\delta(\sigma, q)δ(σ,q) are defined and ϕ(x)(σ)=1\phi(x)(\sigma) = 1ϕ(x)(σ)=1. Its languages are L(S/G)L(\mathcal S/\mathcal G)L(S/G), Lm(S/G)L_m(\mathcal S/\mathcal G)Lm​(S/G) (marker set Xm×QmX_m \times Q_mXm​×Qm​) and Lc(S/G)=L(S/G)∩Lm(G)L_c(\mathcal S/\mathcal G) = L(\mathcal S/\mathcal G) \cap L_m(\mathcal G)Lc​(S/G)=L(S/G)∩Lm​(G).

S\mathcal SS is complete if SSS never refuses an event that the plant can execute and ϕ\phiϕ enables: s∈L(S/G)s \in L(\mathcal S/\mathcal G)s∈L(S/G), sσ∈L(G)s\sigma \in L(\mathcal G)sσ∈L(G) and ϕ(ξ(s,x0))(σ)=1\phi(\xi(s, x_0))(\sigma) = 1ϕ(ξ(s,x0​))(σ)=1 imply sσ∈L(S/G)s\sigma \in L(\mathcal S/\mathcal G)sσ∈L(S/G). It is proper if it is complete and Lˉm(S/G)=Lˉc(S/G)=L(S/G)\bar L_m(\mathcal S/\mathcal G) = \bar L_c(\mathcal S/\mathcal G) = L(\mathcal S/\mathcal G)Lˉm​(S/G)=Lˉc​(S/G)=L(S/G).

A projection π:S→S^\pi : \mathcal S \to \hat{\mathcal S}π:S→S^ is a surjection X→X^X \to \hat XX→X^ with π(x0)=x^0\pi(x_0) = \hat x_0π(x0​)=x^0​, Xm=π−1(X^m)X_m = \pi^{-1}(\hat X_m)Xm​=π−1(X^m​), ξ^(σ,π(x))=π(ξ(σ,x))\hat\xi(\sigma, \pi(x)) = \pi(\xi(\sigma, x))ξ^​(σ,π(x))=π(ξ(σ,x)) wherever ξ(σ,x)\xi(\sigma, x)ξ(σ,x) is defined, and ϕ^∘π=ϕ\hat\phi \circ \pi = \phiϕ^​∘π=ϕ.

For a language KKK, strings s,s′s, s's,s′ are Kˉ\bar KKˉ-equivalent if st∈Kˉ  ⟺  s′t∈Kˉst \in \bar K \iff s't \in \bar Kst∈Kˉ⟺s′t∈Kˉ for all ttt. The automaton SSS is Kˉ\bar KKˉ-reduced if Kˉ\bar KKˉ-equivalent strings of Kˉ\bar KKˉ lead to the same state, and Kˉ\bar KKˉ-trim if every state is reached by a string of Kˉ\bar KKˉ.

Formalization targets

Goal: Theorem 10.1 (quotient structure theorem)

Let S=(S,ϕ)\mathcal S = (S, \phi)S=(S,ϕ) be complete, K1:=Lm(S/G)K_1 := L_m(\mathcal S/\mathcal G)K1​:=Lm​(S/G), K3:=L(S/G)K_3 := L(\mathcal S/\mathcal G)K3​:=L(S/G), with SSS K3K_3K3​-reduced and K3K_3K3​-trim, and let S^0=(X0,Σ,ξ0,x00,X0)\hat S^0 = (X^0, \Sigma, \xi^0, x^0_0, X^0)S^0=(X0,Σ,ξ0,x00​,X0) be a trim recognizer for K3K_3K3​. Then there are Xm0⊆X0X^0_m \subseteq X^0Xm0​⊆X0 and ϕ0\phi^0ϕ0 such that S0=((X0,Σ,ξ0,x00,Xm0),ϕ0)\mathcal S^0 = ((X^0, \Sigma, \xi^0, x^0_0, X^0_m), \phi^0)S0=((X0,Σ,ξ0,x00​,Xm0​),ϕ0) satisfies

S0 complete,Lm(S0/G)=K1,L(S0/G)=K3,∃ π:S0→S,S proper⇒S0 proper.\mathcal S^0 \text{ complete},\quad L_m(\mathcal S^0/\mathcal G) = K_1,\quad L(\mathcal S^0/\mathcal G) = K_3,\quad \exists\, \pi : \mathcal S^0 \to \mathcal S,\quad \mathcal S \text{ proper} \Rightarrow \mathcal S^0 \text{ proper}.S0 complete,Lm​(S0/G)=K1​,L(S0/G)=K3​,∃π:S0→S,S proper⇒S0 proper.

Milestones

Proposition 8.1 (p. 219): for complete S\mathcal SS and a projection π:S→S^\pi : \mathcal S \to \hat{\mathcal S}π:S→S^, (i) π\piπ is unique; (ii) (Lm,Lc,L)(S/G)=(Lm,Lc,L)(S^/G)(L_m, L_c, L)(\mathcal S/\mathcal G) = (L_m, L_c, L)(\hat{\mathcal S}/\mathcal G)(Lm​,Lc​,L)(S/G)=(Lm​,Lc​,L)(S^/G); (iii) S^\hat{\mathcal S}S^ is complete; (iv) nonblocking, nonrejecting and proper transfer in both directions.

The displayed steps of the proof of Theorem 10.1 (pp. 223–224): π(ξ0(s,x00)):=ξ(s,x0)\pi(\xi^0(s, x^0_0)) := \xi(s, x_0)π(ξ0(s,x00​)):=ξ(s,x0​) is well defined on X0X^0X0; it is a projection once Xm0:=π−1(Xm)X^0_m := \pi^{-1}(X_m)Xm0​:=π−1(Xm​) and ϕ0:=ϕ∘π\phi^0 := \phi \circ \piϕ0:=ϕ∘π; L(S0/G)=K3L(\mathcal S^0/\mathcal G) = K_3L(S0/G)=K3​ follows from two enablement conditions; S0\mathcal S^0S0 is complete; and Lm(S0/G)=K1L_m(\mathcal S^0/\mathcal G) = K_1Lm​(S0/G)=K1​.

Significance

Theorem 10.1 says that the reduction properties the synthesis procedure of §9 guarantees are exactly what makes a supervisor a quotient of the canonical supervisor on a recognizer of K3K_3K3​. Combined with Proposition 8.1, which shows that a projection preserves every closed-loop language, completeness and properness, it identifies supervisors with the same behaviour up to state lumping. This is the basis on which supervisor reduction and the comparison of supervisor realisations rest.

The result is proved in the paper. What this mission produces is a machine-checked version of the model (generators with partial transitions, supervisors with infinite state sets, the closed loop, completeness and properness) and of the two results above. No formalization of Ramadge–Wonham supervisory control was found on Prove2Me at the time of drafting; the definitions of this mission are reusable by any later mission on the theory, including the synthesis results of the first mission of the series.

Difficulty

The mathematics is elementary; the difficulty is bookkeeping with partial functions. Every step compares runs of three automata (the plant, SSS and the recognizer) that may be undefined at different strings, and a proof must track at each string which of them is defined. The tempting shortcut of treating the projection condition as full commutation, ξ^(σ,π(x))=π(ξ(σ,x))\hat\xi(\sigma, \pi(x)) = \pi(\xi(\sigma, x))ξ^​(σ,π(x))=π(ξ(σ,x)) for all σ,x\sigma, xσ,x, is not available: the page asks for it only where ξ(σ,x)\xi(\sigma, x)ξ(σ,x) is defined, and Proposition 8.1 (ii) holds only because completeness of S\mathcal SS compensates for transitions that ξ^\hat\xiξ^​ has and ξ\xiξ lacks. Likewise, the map π\piπ of Theorem 10.1 is defined through arbitrary representatives, and its well-definedness uses both that S^0\hat S^0S^0 recognizes K3K_3K3​ with all states marked and that SSS is K3K_3K3​-reduced.

Formalization scope

The alphabet is a Lean type α with [Fintype α] (the page's Σ\SigmaΣ, which is Lean syntax); strings are List α, sσs\sigmasσ is s ++ [σ]. A generator is a structure with its own state type in Type and a partial transition δ : α → Q → Option Q; its extended transition is the left fold. The feedback map has type X → Ec → Bool, and "σ\sigmaσ enabled at xxx" means σ∉Σc\sigma \notin \Sigma_cσ∈/Σc​ or ϕ(x)(σ)=1\phi(x)(\sigma) = 1ϕ(x)(σ)=1; the page's ϕ:X→{0,1}Σ\phi : X \to \{0,1\}^\Sigmaϕ:X→{0,1}Σ is the same object under this extension. The closed loop is run from (x0,q0)(x_0, q_0)(x0​,q0​) without forming its accessible part, which changes none of its languages. Existential statements over supervisors quantify over state types in Type.

Standing assumptions that are hypotheses of every theorem: Σ\SigmaΣ finite; G\mathcal GG trim, stated as 𝒢.L = pre 𝒢.Lm; every supervisor automaton accessible. Theorem 10.1 and its proof steps also assume S\mathcal SS complete, SSS K3K_3K3​-reduced and K3K_3K3​-trim, and a trim recognizer RRR for K3K_3K3​ with all states marked, and S0\mathcal S^0S0 is built on that given RRR rather than on a recognizer chosen by the prover. The conclusion names K1K_1K1​ and K3K_3K3​ as the languages of S\mathcal SS, not as free variables. A projection predicate that drops π(x0)=x^0\pi(x_0) = \hat x_0π(x0​)=x^0​, surjectivity or the marker equation would make the goal's clause (ii) trivially satisfiable by a constant map; the sanity check shipped with the mission rules this out on the primitive plant of §2.3.

Contributions welcome: proofs of the milestones, lemmas relating the fold-based extended transition to concatenation, and a reusable library for closed-loop runs.

Selected references

  • P. J. Ramadge and W. M. Wonham, Supervisory Control of a Class of Discrete Event Processes, SIAM J. Control Optim. 25(1):206–230, 1987. https://doi.org/10.1137/0325013
  • C. G. Cassandras and S. Lafortune, Introduction to Discrete Event Systems, 2nd ed., Springer, 2008. https://doi.org/10.1007/978-0-387-68612-7
  • W. M. Wonham and K. Cai, Supervisory Control of Discrete-Event Systems, Springer, 2019. https://doi.org/10.1007/978-3-319-77452-7
15 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOptimizationProbability·Captain: Shuze Chen

Markov Decision Processes IV: Stationary Markov Decision Models and Three Worked ExamplesTextbook

Motivation

Most concrete applications of Markov Decision Theory — inventory control, cash management, linear-quadratic regulation, sequential games — have data that does not change from one period to the next: the same state space, action space, transition mechanism and reward apply at every stage, only discounted by a fixed factor β\betaβ per period. Bäuerle and Rieder's Chapter 2, §2.5 specializes the general finite-horizon theory of the previous sections to this stationary case, and §2.6 shows the specialization at work on three classical models: a card game with a famously boring answer, a firm's cash-management problem, and stochastic linear-quadratic control. Together they demonstrate the payoff of the abstract theory: once the Structure Assumption is checked for a stationary model, the general machinery (the Forward Induction Algorithm) produces the concrete optimal policy — a critical-level (s,S)(s,S)(s,S)-type control for cash management, a linear feedback law for LQ control — with no further case-specific argument.

Setting

A stationary Markov Decision Model is a Markov Decision Model (E,A,D,Q,r,g)(E,A,D,Q,r,g)(E,A,D,Q,r,g) (Definition 2.1.1) whose data does not depend on the stage: the reward at absolute time nnn is βnr\beta^n rβnr and the terminal reward at time NNN is βNg\beta^N gβNg, for a fixed discount β∈(0,1]\beta \in (0,1]β∈(0,1]. For a policy sequence π=(f0,…,fn−1)∈Fn\pi = (f_0,\dots,f_{n-1}) \in F^nπ=(f0​,…,fn−1​)∈Fn (each fkf_kfk​ a decision rule E→AE \to AE→A with fk(x)∈D(x)f_k(x) \in D(x)fk​(x)∈D(x)), the reward-to-go is Jnπ(x):=Exπ[∑k=0n−1βkr(Xk,fk(Xk))+βng(Xn)]J_n^\pi(x) := \mathbb{E}^\pi_x\bigl[\sum_{k=0}^{n-1} \beta^k r(X_k,f_k(X_k)) + \beta^n g(X_n)\bigr]Jnπ​(x):=Exπ​[∑k=0n−1​βkr(Xk​,fk​(Xk​))+βng(Xn​)] and the value function is Jn(x):=sup⁡π∈FnJnπ(x)J_n(x) := \sup_{\pi \in F^n} J_n^\pi(x)Jn​(x):=supπ∈Fn​Jnπ​(x). The operators (Lv)(x,a):=r(x,a)+β∫v(x′) Q(dx′∣x,a)(Lv)(x,a) := r(x,a) + \beta\int v(x')\,Q(dx'\mid x,a)(Lv)(x,a):=r(x,a)+β∫v(x′)Q(dx′∣x,a), (Tv)(x):=sup⁡a∈D(x)(Lv)(x,a)(Tv)(x) := \sup_{a \in D(x)} (Lv)(x,a)(Tv)(x):=supa∈D(x)​(Lv)(x,a), (Tfv)(x):=(Lv)(x,f(x))(T^f v)(x) := (Lv)(x,f(x))(Tfv)(x):=(Lv)(x,f(x)) are the stationary counterparts of §2.3's non-stationary operators. The (stationary) Structure Assumption (SAN) asks for sets I ⁣M⊆I ⁣M(E)\mathrm{I\!M} \subseteq \mathrm{I\!M}(E)IM⊆IM(E), Δ⊆F\Delta \subseteq FΔ⊆F with g∈I ⁣Mg \in \mathrm{I\!M}g∈IM, v∈I ⁣M⇒Tv∈I ⁣Mv \in \mathrm{I\!M} \Rightarrow Tv \in \mathrm{I\!M}v∈IM⇒Tv∈IM, and every v∈I ⁣Mv \in \mathrm{I\!M}v∈IM having a maximizer in Δ\DeltaΔ.

Formalization targets

Goal — Theorem 2.6.2 (the cash balance problem)

A firm's cash level x∈Rx \in \mathbb{R}x∈R moves under i.i.d. shocks; each period the firm transfers to a new level aaa at linear cost c(a−x)=cu(a−x)++cd(a−x)−c(a-x) = c_u(a-x)^+ + c_d(a-x)^-c(a−x)=cu​(a−x)++cd​(a−x)−, pays a convex, coercive holding cost L(a)L(a)L(a) (L(0)=0L(0)=0L(0)=0), and the level becomes a−Zn+1a - Z_{n+1}a−Zn+1​. Modeled as a stationary MDM with E=A=RE=A=\mathbb{R}E=A=R, r(x,a)=−c(a−x)−L(a)r(x,a) = -c(a-x) - L(a)r(x,a)=−c(a−x)−L(a), g≡0g \equiv 0g≡0:

∃ Sn−≤Sn+ (depending on n):Jn(x)={(Sn−−x)cu+L(Sn−)+β E[Jn−1(Sn−−Z)]x<Sn−L(x)+β E[Jn−1(x−Z)]Sn−≤x≤Sn+(x−Sn+)cd+L(Sn+)+β E[Jn−1(Sn+−Z)]x>Sn+,\exists\, S_n^- \le S_n^+ \ \text{(depending on $n$)}: \quad J_n(x) = \begin{cases} (S_n^- - x)c_u + L(S_n^-) + \beta\,\mathbb{E}[J_{n-1}(S_n^- - Z)] & x < S_n^- \\ L(x) + \beta\,\mathbb{E}[J_{n-1}(x-Z)] & S_n^- \le x \le S_n^+ \\ (x-S_n^+)c_d + L(S_n^+) + \beta\,\mathbb{E}[J_{n-1}(S_n^+ - Z)] & x > S_n^+, \end{cases}∃Sn−​≤Sn+​ (depending on n):Jn​(x)=⎩⎨⎧​(Sn−​−x)cu​+L(Sn−​)+βE[Jn−1​(Sn−​−Z)]L(x)+βE[Jn−1​(x−Z)](x−Sn+​)cd​+L(Sn+​)+βE[Jn−1​(Sn+​−Z)]​x<Sn−​Sn−​≤x≤Sn+​x>Sn+​,​

with J0≡0J_0 \equiv 0J0​≡0, and the optimal policy transfers up to Sn−S_n^-Sn−​ below it, down to Sn+S_n^+Sn+​ above it, and does nothing in between. This is the weakest stable statement: it asserts the existence of critical levels with the stated recursive characterization, not any closed form for Sn±S_n^\pmSn±​ itself (which depends on LLL's exact shape and is not computable in general).

Three milestones build toward and alongside it: the Reward Iteration theorem and stationary Structure Theorem (Theorems 2.5.3-2.5.4, the general machinery instantiated), the trivial-but- sharp red-and-black card game (Theorem 2.6.1), and the stochastic linear-quadratic problem (Theorem 2.6.3, a Riccati-type recursion with random coefficients).

Significance

Theorem 2.6.2 is the textbook derivation of (s,S)(s,S)(s,S)-type control, the dominant policy structure in inventory theory and cash management: a firm should act only when its state leaves a band, and should act to bring it exactly to the band's edge, never further. Its proof pattern — verify (SAN) with I ⁣M\mathrm{I\!M}IM the convex functions of at most linear growth, extract the critical levels from the derivative conditions of a one-stage minimization — is the template used across the inventory-control literature for essentially every variant of this problem. Theorem 2.6.1's answer ("no strategy beats stopping immediately") is a genuine, if minimal, comparative-statics fact: a positive-content instance of I ⁣M\mathrm{I\!M}IM collapsing to functions constant on the game's absorbing set, forcing every action to be a maximizer. Theorem 2.6.3's Riccati-type recursion, with random transition coefficients, generalizes the classical deterministic-coefficient LQR (linear-quadratic regulator) of control theory; the recursion governs mean-variance and quadratic-hedging problems return to in later chapters of this book (Chapters 4 and 6).

None of the three examples' specific results were found on the platform (searched for "comparative statics", "convex Markov decision", the exact model names, and "bang-bang"/"LQR" adjacent terms). BertsekasDP.riccati_completion_of_square is the platform's one close relative to Theorem 2.6.3: it solves the deterministic-coefficient LQR by a completion-of-squares argument, not the random-coefficient recursion here, so it is cited as related work rather than reused. The proofs themselves are complete and self-contained in the book (a few pages each, using only single-variable convex analysis and elementary linear algebra); this mission contributes the formal statement of each, in its full generality (general convex LLL, general random (A,B)(A,B)(A,B) coefficient pairs), as the task for a sorry-free proof.

Difficulty

The cash-balance proof's central step is showing the minimizer of the one-stage problem is of critical-level form for every vvv in the candidate class I ⁣M\mathrm{I\!M}IM — not just for the particular sequence J0,J1,…J_0, J_1, \dotsJ0​,J1​,… that eventually arises. The obvious shortcut, guessing the form of JnJ_nJn​ directly and verifying it solves the Bellman equation by substitution, fails because Sn−,Sn+S_n^-, S_n^+Sn−​,Sn+​ are themselves defined only implicitly, via one-sided derivative conditions on L(x)+βE[v(x−Z)]L(x) + \beta\mathbb{E}[v(x-Z)]L(x)+βE[v(x−Z)]; there is no closed form to substitute except in degenerate special cases (e.g. LLL quadratic). The genuine content is the general argument (convexity of the one-stage objective forces a unique critical-level minimizer structure, and this structure is preserved under TTT) that lets the induction go through for an arbitrary convex, coercive LLL. For Theorem 2.6.3, the natural first attempt — solve the deterministic LQR recursion and substitute expected coefficient matrices for the random ones — is not obviously valid, since E[B⊤QB]≠(E[B])⊤Q E[B]\mathbb{E}[B^\top Q B] \ne (\mathbb{E}[B])^\top Q\,\mathbb{E}[B]E[B⊤QB]=(E[B])⊤QE[B] in general; the correct recursion genuinely involves the joint second moments of (A,B)(A,B)(A,B), which is exactly what the standing positive-definiteness assumption on E[B⊤QB]\mathbb{E}[B^\top Q B]E[B⊤QB] (not on E[B]\mathbb{E}[B]E[B] itself) is there to make precise.

Formalization scope

The stationary vocabulary (StationaryMarkovDecisionModel, its operators, J, (SAN)) is restated independently of chunk 02a's non-stationary vocabulary — drafts in this series cannot import one another, and the book itself keeps the two notationally separate (JnJ_nJn​ vs. VnV_nVn​, related by Vn(x)=βnJN−n(x)V_n(x) = \beta^n J_{N-n}(x)Vn​(x)=βnJN−n​(x), a relation this mission does not separately formalize since no listed result needs it). Theorem 2.6.3's stochastic LQ problem is explicitly non-stationary in the book's own text, so a second, NS-prefixed restatement of the non- stationary model and value function (via the Bellman recursion established as Theorem 2.3.8, not the sup-over-policies primitive — the same simplification chunk 02c makes for its own V) is introduced solely for that one theorem. The card game (Theorem 2.6.1) is formalized on the concrete state space N×N\mathbb{N} \times \mathbb{N}N×N and action space Bool, with the model's exact transition density, reward and terminal reward given as hypotheses on an abstract StationaryMarkovDecisionModel, matching the book's own discrete-density notation q(x′∣x,a):=Q({x′}∣x,a)q(x'\mid x,a) := Q(\{x'\}\mid x,a)q(x′∣x,a):=Q({x′}∣x,a) (introduced in the text following Theorem 2.5.4) rather than built from an explicit PMF/Kernel construction — a lighter-weight but equally precise formalization, since the density equations pin the kernel exactly. The stochastic LQ problem uses Matrix (Fin m) (Fin m) ℝ and needs a MeasurableSpace (Matrix m n α) instance Mathlib does not provide (Matrix is a non-reducible def for m → n → α); this mission supplies it by transport across the definitional equality. Random matrix moments E[F(A,B)]\mathbb{E}[F(A,B)]E[F(A,B)] are computed entrywise as ordinary Bochner integrals against the joint law of (A,B)(A,B)(A,B).

A trivializing formalization is ruled out on two fronts: the cash-balance critical levels Sn−,Sn+S_n^-, S_n^+Sn−​,Sn+​ are existentially quantified as functions of nnn, not fixed constants (dropping the index would silently claim a single band works for every horizon length, which is false in general); and the card game's "every strategy is optimal" is stated as a universally-quantified claim over all policy sequences, not weakened to mere existence of an optimal one. Reusable infrastructure: the jointMatMean/xQx helpers and the MeasurableSpace (Matrix m n α) instance are generic and available to any later chunk needing random-matrix moments (none of the remaining chunks' briefs currently list one, but Chapter 4's mean-variance and LQ-flavored missions may). sorry-free proofs of all five items are welcome contributions; Theorem 2.5.3's short inductive proof (unwinding the accumulator definition against the operator-composition recursion) is likely the easiest entry point.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. https://doi.org/10.1007/978-3-642-18324-9
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 3rd ed., Athena Scientific, 2005 (the classical deterministic-coefficient LQR, BertsekasDP.riccati_completion_of_square on the platform).
13 thms2 active usersReviewed
🏆Completed
Optimization·Captain: mikedeng1

An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs II: The Due-Date Schedule at the Least Feasible Cost Level Minimizes the Maximum Deferral CostResearch Paper

Motivation

Single-machine sequencing with deferral costs asks how to order jobs when the price of finishing a job depends on when it finishes. A job completed at time sss incurs the cost Pi(s)P_i(s)Pi​(s); lateness penalties, holding costs and service-level penalties are special cases. Two objectives are standard: the sum of the costs, studied by McNaughton (Management Science 6(1), 1959) and Lawler (Management Science 11(2), 1964), and the maximum cost, the bottleneck objective, which asks that no single job be charged too much.

At the end of his 1968 paper on minimizing the number of late jobs (Moore, Management Science 15(1)), J. M. Moore added a short section, suggested by E. L. Lawler, showing that the maximum-cost problem reduces to a family of feasibility problems with due-dates. Each such problem is settled by one sort, by Jackson's earliest-due-date rule (J. R. Jackson, Scheduling a Production Line to Minimize Maximum Tardiness, UCLA Research Report 43, 1955). This reduction is the unconstrained case of what later became Lawler's algorithm for 1∣prec∣fmax⁡1|\mathrm{prec}|f_{\max}1∣prec∣fmax​ (Lawler, Management Science 19(5), 1973).

Timeline:

  • 1955: Jackson shows that ordering jobs by due-date minimizes the maximum tardiness, so a schedule with no late jobs exists iff the due-date order has none.
  • 1959, 1964: McNaughton and Lawler study the sum of deferral costs.
  • 1968: Moore (this paper) reduces the maximum deferral cost to Jackson's lemma through the generalized inverses Pi∗P_i^*Pi∗​.
  • 1973: Lawler's backward rule handles general non-decreasing costs with precedence constraints.

Setting

A finite nonempty set JJJ of jobs is processed on one machine that starts at time 000 and runs without idle time or preemption. Job jjj has processing time tj≥0t_j \ge 0tj​≥0. A schedule SSS is an ordering of JJJ with each job appearing exactly once, and CjSC_j^SCjS​ is the completion time of jjj in SSS: the sum of the processing times of jjj and of every job before it.

Each job has a deferral cost Pj:R→RP_j : \mathbb R \to \mathbb RPj​:R→R, which is continuous, bounded and non-decreasing. The maximum deferral cost of SSS is

maxCost(S)=max⁡j∈JPj(CjS).\mathrm{maxCost}(S) = \max_{j \in J} P_j(C_j^S).maxCost(S)=j∈Jmax​Pj​(CjS​).

For a cost level yyy, the generalized inverse Pj∗(y)∈R∪{+∞}P_j^*(y) \in \mathbb R \cup \{+\infty\}Pj∗​(y)∈R∪{+∞} is the latest time at which job jjj can be completed at cost at most yyy. Following the paper's definition (p. 108), with times s≥0s \ge 0s≥0:

  • Pj∗(y)=max⁡{s≥0:Pj(s)=y}P_j^*(y) = \max\{s \ge 0 : P_j(s) = y\}Pj∗​(y)=max{s≥0:Pj​(s)=y} if that level set is nonempty (this includes the paper's case of an existing inverse);
  • Pj∗(y)=0P_j^*(y) = 0Pj∗​(y)=0 if Pj(s)>yP_j(s) > yPj​(s)>y for all s≥0s \ge 0s≥0;
  • Pj∗(y)=+∞P_j^*(y) = +\inftyPj∗​(y)=+∞ if Pj(s)<yP_j(s) < yPj​(s)<y for all s≥0s \ge 0s≥0.

For each y>0y > 0y>0, SD(y)S_D(y)SD​(y) is a schedule ordered by the "due-dates" Dj=Pj∗(y)D_j = P_j^*(y)Dj​=Pj∗​(y), with ties broken arbitrarily. SD(y)S_D(y)SD​(y) has no late jobs if CjSD(y)≤Pj∗(y)C_j^{S_D(y)} \le P_j^*(y)CjSD​(y)​≤Pj∗​(y) for every jjj.

In Lean these are IsSchedule, completionTime, Pstar, NoLateAt and maxCost in the namespace MooreLateJobs.MaxDeferral.

Formalization targets

Goal: SD(y∗)S_D(y^*)SD​(y∗) is optimal

Let y∗>0y^* > 0y∗>0 satisfy: (1) SD(y∗)S_D(y^*)SD​(y∗) has no late jobs; (2) for every 0<y<y∗0 < y < y^*0<y<y∗, SD(y)S_D(y)SD​(y) has at least one late job. Then for every schedule SSS of JJJ,

maxCost(SD(y∗))≤maxCost(S).\mathrm{maxCost}\bigl(S_D(y^*)\bigr) \le \mathrm{maxCost}(S).maxCost(SD​(y∗))≤maxCost(S).

This is the last sentence of the section (p. 109). The goal takes y∗y^*y∗ with its two properties as given, so it needs no hypothesis beyond the model.

Milestones

  1. Lemma (Jackson), p. 105: a schedule with no late jobs exists iff every due-date ordering has none. It is stated for extended-real due-dates, which is how the section uses it.
  2. Monotonicity of Pj∗P_j^*Pj∗​, p. 109: y1≤y2⇒Pj∗(y1)≤Pj∗(y2)y_1 \le y_2 \Rightarrow P_j^*(y_1) \le P_j^*(y_2)y1​≤y2​⇒Pj∗​(y1​)≤Pj∗​(y2​).
  3. A feasible level exists, pp. 108–109: for bounded costs there is y>0y > 0y>0 with SD(y)S_D(y)SD​(y) on time.
  4. Existence of y∗y^*y∗, p. 109 with footnote 3. If some SD(y1)S_D(y_1)SD​(y1​) is on time and some SD(y0)S_D(y_0)SD​(y0​) is not, a level y∗y^*y∗ with properties (1) and (2) exists.

Significance

The result. The theorem turns a min–max problem over all n!n!n! schedules into a monotone one-parameter feasibility question. Each value of yyy is checked by a single sort, and the optimal level is the threshold where feasibility switches on. The same threshold structure underlies bottleneck scheduling and the backward rule for 1∣prec∣fmax⁡1|\mathrm{prec}|f_{\max}1∣prec∣fmax​. Special cases include minimizing the maximum lateness, Pj(s)=s−djP_j(s) = s - d_jPj​(s)=s−dj​, clipped to be bounded, and minimizing the maximum weighted tardiness.

Formalizing it. The result is classical and proved on paper, but no machine-checked proof of it, or of Jackson's lemma, is known to exist. The mission would produce a checked Jackson lemma for extended-real due-dates, a verified generalized inverse of a monotone continuous function with the paper's case analysis, and the threshold argument connecting them. Jackson's lemma is shared with part I of this series (minimizing the number of late jobs).

Difficulty

The reduction is short on paper. The work is in the edge cases that the paper passes over:

  • The generalized inverse. The comparison Cj≤Pj∗(y)C_j \le P_j^*(y)Cj​≤Pj∗​(y) agrees with Pj(Cj)≤yP_j(C_j) \le yPj​(Cj​)≤y only away from the corner case Cj=0C_j = 0Cj​=0 with Pj(0)>yP_j(0) > yPj​(0)>y. That job is never "late", yet its cost exceeds yyy. The goal must still hold when such jobs exist.
  • Monotonicity. The monotonicity of Pj∗P_j^*Pj∗​ needs continuity. It fails if times range over all of R\mathbb RR instead of s≥0s \ge 0s≥0.
  • Attainment. The feasible levels form an up-set of (0,∞)(0,\infty)(0,∞). That its infimum is attained, so that y∗y^*y∗ exists, needs right-continuity in yyy of the feasibility of each of the finitely many schedules.
  • Jackson's lemma. The exchange argument must handle due-dates equal to 000 or +∞+\infty+∞ and zero processing times.

Formalization scope

Conventions committed to in Lean:

  • Jobs form a type ι with decidable equality, and the job set is J : Finset ι, assumed nonempty in the goal. Processing times are t : ι → ℝ with 0 ≤ t i: this is added, because the page never states it but processing times are durations.
  • Costs are P : ι → ℝ → ℝ, each continuous, bounded (∃ M, ∀ s, |P i s| ≤ M) and monotone, as on p. 108. The Introduction's assumption ti≤Dit_i \le D_iti​≤Di​ has no counterpart, since the problem has no given due-dates, and it is not assumed.
  • A schedule is a duplicate-free list whose elements are exactly JJJ. Completion times are prefix sums of processing times, starting at 000.
  • Pstar f y : EReal, with every time in the definition ranging over s≥0s \ge 0s≥0. If the level set {s≥0:f(s)=y}\{s \ge 0 : f(s) = y\}{s≥0:f(s)=y} is unbounded, its "max" does not exist, and the value is fixed to +∞+\infty+∞. The final case is "otherwise", which for continuous monotone fff is the paper's case (c).
  • The family SDS_DSD​ is any SD : ℝ → List ι such that SD y is a due-date-ordered schedule for every y>0y > 0y>0. Theorems hold for every such family, so every tie-break is covered.
  • "For all y<y∗y < y^*y<y∗" is read as 0<y<y∗0 < y < y^*0<y<y∗, because SD(y)S_D(y)SD​(y) is defined only for y>0y > 0y>0.
  • The existence milestone takes footnote 3's hypothesis (some feasible level) in place of boundedness. It also takes the added hypothesis that some level y0>0y_0 > 0y0​>0 is infeasible: with all costs identically 000, every SD(y)S_D(y)SD​(y) is on time and no y∗>0y^* > 0y∗>0 has property (2).

The goal is not the trivializing statement "every on-time SD(y)S_D(y)SD​(y) is optimal", which is false for large yyy. It concerns exactly the threshold level y∗y^*y∗. The minimum is over all schedules of JJJ, not over the SD(y)S_D(y)SD​(y) only.

The needed infrastructure is list permutations, prefix sums and Finset.sup', plus basic facts about sSup of closed sets bounded above in ℝ, and the intermediate value theorem. The Jackson lemma and the generalized inverse are reusable beyond this mission. Contributions are welcome on any milestone, in any order. The goal depends only on the Jackson lemma and on properties of Pstar.

Not in scope: the remark that y∗y^*y∗ "can be found to whatever accuracy is desired by a binary search technique" (computational), and the sum-of-costs problem the section contrasts itself with.

Selected references

  • J. M. Moore, An n Job, One Machine Sequencing Algorithm for Minimizing the Number of Late Jobs, Management Science 15(1):102–109, 1968. https://doi.org/10.1287/mnsc.15.1.102
  • J. R. Jackson, Scheduling a Production Line to Minimize Maximum Tardiness, Research Report 43, Management Sciences Research Project, UCLA, 1955.
  • E. L. Lawler, On Scheduling Problems with Deferral Costs, Management Science 11(2):280–288, 1964. https://doi.org/10.1287/mnsc.11.2.280
  • R. McNaughton, Scheduling with Deadlines and Loss Functions, Management Science 6(1):1–12, 1959. https://doi.org/10.1287/mnsc.6.1.1
  • E. L. Lawler, Optimal Sequencing of a Single Machine Subject to Precedence Constraints, Management Science 19(5):544–546, 1973. https://doi.org/10.1287/mnsc.19.5.544
9 thms2 active usersReviewed
🏆Completed
Convex OptimizationDiscrete GeometryOptimization·Captain: Shuze Chen

Discrete Convex Analysis XV: Conjugacy of Quadratic Forms and Symmetric M-MatricesTextbook

Motivation

Quadratic minimization problems with a combinatorial sign pattern in their Hessian arise throughout applied mathematics: discretizations of elliptic boundary-value problems such as the Poisson equation, resistor-network energy functionals, and the Dirichlet forms of Markov-process potential theory all produce a symmetric matrix whose off-diagonal entries are nonpositive and whose rows are diagonally dominant (Fukushima, Oshima, and Takeda, Dirichlet Forms and Symmetric Markov Processes, De Gruyter, 1994). Such matrices are exactly the diagonally dominant symmetric M-matrices of classical numerical linear algebra (Berman and Plemmons, Nonnegative Matrices in the Mathematical Sciences, SIAM, 1994). Murota's Discrete Convex Analysis (SIAM, 2003) identifies the combinatorial content of this sign pattern with a discrete convexity property — submodularity, and its strengthening translation submodularity — of the associated quadratic form, and shows that passing to the Legendre-Fenchel conjugate of such a quadratic form (i.e., inverting the matrix) transports this property to a dual combinatorial property, an exchange axiom, on the conjugate side. This mission formalizes that correspondence for the special, matrix-algebraic case of quadratic forms — the case in which Murota's book gives a self-contained proof using only the classical Farkas lemma, before generalizing the same conjugacy to a much broader class of functions in Chapter 8.

Setting

Let VVV be a finite ground set (identified with {1,…,n}\{1,\dots,n\}{1,…,n} in the book) and let L=(ℓij)i,j∈VL = (\ell_{ij})_{i,j\in V}L=(ℓij​)i,j∈V​ be a symmetric real matrix. LLL has off-diagonal nonpositivity if ℓij≤0\ell_{ij}\le 0ℓij​≤0 for all i≠ji\ne ji=j, and diagonal dominance if ∑jℓij≥0\sum_{j} \ell_{ij}\ge 0∑j​ℓij​≥0 for every row iii. The associated quadratic form is g(p)=12p⊤Lpg(p) = \tfrac12 p^\top L pg(p)=21​p⊤Lp for p∈RVp \in \mathbb R^Vp∈RV. For p,q∈RVp,q\in\mathbb R^Vp,q∈RV write p∨qp\vee qp∨q, p∧qp\wedge qp∧q for the componentwise maximum and minimum. A function g:RV→Rg:\mathbb R^V\to\mathbb Rg:RV→R is submodular if 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, and has translation submodularity if the stronger inequality 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)) holds for every α≥0\alpha \ge 0α≥0, where 1\mathbf 11 is the all-ones vector (ordinary submodularity is the case α=0\alpha=0α=0).

On the conjugate side, for x∈RVx\in\mathbb R^Vx∈RV write supp⁡+(x)={i:xi>0}\operatorname{supp}^+(x)=\{i : x_i>0\}supp+(x)={i:xi​>0}, supp⁡−(x)={i:xi<0}\operatorname{supp}^-(x)=\{i:x_i<0\}supp−(x)={i:xi​<0}, and let χi\chi_iχi​ denote the iii-th unit vector (χ0\chi_0χ0​ denotes the zero vector). A function f:RV→Rf:\mathbb R^V\to\mathbb Rf:RV→R has the exchange property if for all x,y∈RVx,y\in\mathbb R^Vx,y∈RV and i∈supp⁡+(x−y)i\in\operatorname{supp}^+(x-y)i∈supp+(x−y) there exist j∈supp⁡−(x−y)∪{0}j \in \operatorname{supp}^-(x-y)\cup\{0\}j∈supp−(x−y)∪{0} and α0>0\alpha_0>0α0​>0 such that f(x)+f(y)≥f(x−α(χi−χj))+f(y+α(χi−χj))f(x)+f(y)\ge f(x-\alpha(\chi_i-\chi_j))+f(y+\alpha(\chi_i-\chi_j))f(x)+f(y)≥f(x−α(χi​−χj​))+f(y+α(χi​−χj​)) for every α∈[0,α0]\alpha\in[0,\alpha_0]α∈[0,α0​]. The Legendre-Fenchel conjugate of fff is f∙(p)=sup⁡x{⟨p,x⟩−f(x)}f^\bullet(p) = \sup_x\{\langle p,x\rangle - f(x)\}f∙(p)=supx​{⟨p,x⟩−f(x)}; two functions g,fg,fg,f are conjugate to each other when g=f∙g=f^\bulletg=f∙ and f=g∙f=g^\bulletf=g∙. For positive-definite symmetric M,LM,LM,L, the quadratic forms f(x)=12x⊤Mxf(x)=\tfrac12x^\top Mxf(x)=21​x⊤Mx and g(p)=12p⊤Lpg(p)=\tfrac12p^\top Lpg(p)=21​p⊤Lp are conjugate to each other exactly when MMM and LLL are matrix inverses of one another.

Formalization targets

Goal (Theorem 2.11). For conjugate strictly convex quadratic forms ggg and fff as above,

g has translation submodularity  ⟺  f has the exchange property.g \text{ has translation submodularity} \iff f \text{ has the exchange property.}g has translation submodularity⟺f has the exchange property.

This is the mission's capstone: the statement leaves the correspondence at the level of the two named combinatorial properties, without hard-coding which of the two properties is verified in a given application, so it survives exactly as strongly as the underlying conjugacy fact does.

Supporting milestones, in the order the book develops them: Proposition 2.4 (off-diagonal nonpositivity plus diagonal dominance implies positive semidefiniteness); Proposition 2.6 (off-diagonal nonpositivity is equivalent to plain submodularity of ggg); Theorem 2.7 (the full sign pattern is equivalent to translation submodularity of ggg); Proposition 2.9 (conjugate quadratic forms correspond exactly to inverse matrix pairs); Theorem 2.12 (a nine-way equivalence, for a nonsingular symmetric MMM, among membership in the matrix class L−1\mathcal L^{-1}L−1, two sign-consistency inequalities on the columns of MMM together with their strict forms, two directional-derivative reformulations of the exchange property together with their strict forms, and the exchange property itself together with its strict form); Proposition 2.13 (the Farkas lemma in equality form, together with the strict variant valid for a nonsingular coefficient matrix); and Proposition 2.14 (the class L−1\mathcal L^{-1}L−1 is closed under taking principal submatrices).

Significance

The M-natural exchange property is the function-level analogue of the base-exchange axiom for matroids, and translation submodularity is the analogue, on the "primal" side, of ordinary submodularity for set functions; Chapter 2's quadratic-form case is the historical and pedagogical entry point for the general conjugacy Chapter 8 proves for the full M-convex/ L-convex function classes. Establishing it here, in the self-contained matrix-algebraic setting, isolates exactly which properties of a quadratic form are combinatorial (tied to the coordinate axes) rather than purely convex-analytic (rotation-invariant): submodularity and the exchange property are not preserved by an orthogonal change of variables, in contrast to ordinary convexity, which Proposition 2.4 shows the same sign pattern also implies.

Formalizing this mission produces the first Lean statement, in this project's namespace, of a genuine conjugacy theorem between a primal-side and a dual-side combinatorial convexity property for a concrete function class; nothing of this kind is yet proved (or, so far as the platform's own search shows, formalized at all) elsewhere on the platform. The nine-way equivalence of Theorem 2.12 is a substantial independent contribution beyond the goal itself, since it is what makes the goal's proof possible via elementary linear algebra rather than the general convex-analytic machinery Chapter 8 needs.

Difficulty

The naive approach to Theorem 2.11 tries to derive the exchange property for fff directly from the defining supremum in the conjugate relation f=g∙f = g^\bulletf=g∙, differentiating under the sup; this fails because the exchange property compares fff along a specific combinatorial direction χi−χj\chi_i - \chi_jχi​−χj​ tied to two coordinates, not along an arbitrary direction, and no naive first-order argument isolates the right pair (i,j)(i,j)(i,j) without already knowing the sign pattern of M=L−1M = L^{-1}M=L−1. The book's actual route is Theorem 2.12: it reduces the exchange property to a column-wise sign-consistency statement on MMM itself (conditions (b)/(c)) via the identity f′(x;d)=x⊤Mdf'(x;d) = x^\top Mdf′(x;d)=x⊤Md, and closes the loop back to membership in L−1\mathcal L^{-1}L−1 using the Farkas lemma applied to the linear system ML=IML = IML=I — a genuinely matrix-algebraic argument that does not generalize verbatim to non-quadratic M-/L-convex functions, which is exactly why Chapter 8 needs a different (convex-analytic) proof for the general case.

Formalization scope

Vectors and matrices are indexed by a general finite type V ([Fintype V] [DecidableEq V]) rather than a fixed Fin n, matching this project's convention elsewhere and letting Proposition 2.14's principal-submatrix statement reuse the class predicate at the restricted index type directly. Quadratic forms are real-valued ((V → ℝ) → ℝ, using Matrix.mulVec and dotProduct) since this chapter's functions are always finite everywhere; the Legendre-Fenchel conjugate is EReal-valued via sSup, since a supremum over an infinite domain need not be finite in general even though it is finite here. Every min(0, \dots)-based condition in Theorem 2.12 and the exchange axioms is unfolded as the logically equivalent disjunction over the finitely many terms achieving the minimum, rather than reified via Finset.inf/WithTop machinery — a faithful, checked-equivalent simplification, not a narrowing (see MODERATION_NOTES.md). "Nonsingular" is Matrix.det ≠ 0. No numeric constant needs instantiation anywhere in this mission. The formalization does not trivialize: the goal's exchange property is stated for the specific combinatorial direction χi−χj\chi_i - \chi_jχi​−χj​ with i∈supp⁡+(x−y)i\in \operatorname{supp}^+(x-y)i∈supp+(x−y), j∈supp⁡−(x−y)∪{0}j \in \operatorname{supp}^-(x-y)\cup\{0\}j∈supp−(x−y)∪{0} — not an arbitrary direction, which would reduce the exchange property to a restatement of ordinary convexity and discard the entire combinatorial content the mission is about.

Infrastructure needed: Matrix.PosDef/Matrix.PosSemidef/Matrix.IsSymm (present in Mathlib); everything else (submodularity, translation submodularity, the exchange axioms, the sign-consistency conditions) is defined fresh in DiscreteConvex.CombinatorialB. A solution to the goal will likely want Proposition 2.9, Theorem 2.12, and the Farkas lemma (Proposition 2.13) as lemmas; contributions completing any of the seven milestones independently, or supplying the Schur-complement induction behind Proposition 2.4, are welcome.

Selected references

  • K. Murota, Discrete Convex Analysis, SIAM, 2003, DOI 10.1137/1.9780898718508, Chapter 2.
  • A. Berman, R. J. Plemmons, Nonnegative Matrices in the Mathematical Sciences, SIAM, 1994.
  • M. Fukushima, Y. Oshima, M. Takeda, Dirichlet Forms and Symmetric Markov Processes, De Gruyter, 1994.
  • J. Farkas, Theorie der einfachen Ungleichungen, J. Reine Angew. Math. 124 (1902), 1–27.
28 thms2 active usersReviewed
🏆Completed
Convex OptimizationNumerical AnalysisOptimization·Captain: mikedeng1

Golden Ratio Algorithms for Variational Inequalities II: The Explicit Golden Ratio Algorithm Converges for Locally Lipschitz Monotone OperatorsResearch Paper

Motivation

Monotone variational inequalities cover convex minimisation, convex–concave saddle-point problems, Nash equilibria of monotone games and complementarity problems, and they are the standard model for these in optimization and operations research. First-order methods for them (extragradient, forward–backward–forward, reflected and projected gradient methods) need a stepsize below 1/L1/L1/L, where LLL is a global Lipschitz constant of the operator. That constant is often unknown, too pessimistic, or nonexistent: in composite minimisation with a locally smooth term, or in saddle-point problems with bilinear-plus-nonlinear couplings, the operator is only locally Lipschitz. The usual remedy is a linesearch, which costs extra operator or prox evaluations per iteration and complicates the complexity accounting.

Y. Malitsky, Golden Ratio Algorithms for Variational Inequalities (preprint 2018, Optimization Online 6598; published in Mathematical Programming, 2020, doi:10.1007/s10107-019-01416-w) proposes the Explicit Golden Ratio Algorithm (EGRAAL): its stepsizes are computed in closed form from the last two iterates, it uses one evaluation of FFF and one proximal step per iteration, and it needs neither a Lipschitz constant nor a linesearch. This mission formalizes its main convergence theorem, Theorem 2 of the preprint.

Setting

Let E\mathcal EE be a finite-dimensional real inner product space with norm ∥⋅∥=⟨⋅,⋅⟩\|\cdot\|=\sqrt{\langle\cdot,\cdot\rangle}∥⋅∥=⟨⋅,⋅⟩​. Let g:E→(−∞,+∞]g:\mathcal E\to(-\infty,+\infty]g:E→(−∞,+∞] with domain dom⁡g={x:g(x)<+∞}\operatorname{dom} g=\{x: g(x)<+\infty\}domg={x:g(x)<+∞}, and F:dom⁡g→EF:\operatorname{dom} g\to\mathcal EF:domg→E. The variational inequality (1) asks for

z∗∈Ewith⟨F(z∗),z−z∗⟩+g(z)−g(z∗)≥0∀z∈E.(1)z^*\in\mathcal E\quad\text{with}\quad \langle F(z^*),z-z^*\rangle+g(z)-g(z^*)\ge0\quad\forall z\in\mathcal E. \tag{1}z∗∈Ewith⟨F(z∗),z−z∗⟩+g(z)−g(z∗)≥0∀z∈E.(1)

Its solution set is SSS. The standing assumptions are: (C1) S≠∅S\ne\emptysetS=∅; (C2) ggg is proper, convex and lower semicontinuous; (C3) FFF is monotone on dom⁡g\operatorname{dom} gdomg, ⟨F(u)−F(v),u−v⟩≥0\langle F(u)-F(v),u-v\rangle\ge0⟨F(u)−F(v),u−v⟩≥0 for u,v∈dom⁡gu,v\in\operatorname{dom}gu,v∈domg.

The proximal operator is prox⁡g(w)=argmin⁡x{g(x)+12∥x−w∥2}\operatorname{prox}_g(w)=\operatorname{argmin}_x\{g(x)+\tfrac12\|x-w\|^2\}proxg​(w)=argminx​{g(x)+21​∥x−w∥2}. Write φ=5+12\varphi=\frac{\sqrt5+1}{2}φ=25​+1​ for the golden ratio. Algorithm 1 (EGRAAL) takes z0,z1∈Ez^0,z^1\in\mathcal Ez0,z1∈E, λ0>0\lambda_0>0λ0​>0, a parameter ϕ∈(1,φ]\phi\in(1,\varphi]ϕ∈(1,φ] and a cap λˉ>0\bar\lambda>0λˉ>0, sets zˉ0=z1\bar z^0=z^1zˉ0=z1, θ0=1\theta_0=1θ0​=1, ρ=1ϕ+1ϕ2\rho=\frac1\phi+\frac1{\phi^2}ρ=ϕ1​+ϕ21​, and for k≥1k\ge1k≥1 computes

λk=min⁡{ρλk−1, ϕθk−14λk−1∥zk−zk−1∥2∥F(zk)−F(zk−1)∥2, λˉ},zˉk=(ϕ−1)zk+zˉk−1ϕ,\lambda_k=\min\Big\{\rho\lambda_{k-1},\ \frac{\phi\theta_{k-1}}{4\lambda_{k-1}}\frac{\|z^k-z^{k-1}\|^2}{\|F(z^k)-F(z^{k-1})\|^2},\ \bar\lambda\Big\},\qquad \bar z^k=\frac{(\phi-1)z^k+\bar z^{k-1}}{\phi},λk​=min{ρλk−1​, 4λk−1​ϕθk−1​​∥F(zk)−F(zk−1)∥2∥zk−zk−1∥2​, λˉ},zˉk=ϕ(ϕ−1)zk+zˉk−1​, zk+1=prox⁡λkg(zˉk−λkF(zk)),θk=λkλk−1ϕ,z^{k+1}=\operatorname{prox}_{\lambda_k g}\big(\bar z^k-\lambda_kF(z^k)\big),\qquad \theta_k=\frac{\lambda_k}{\lambda_{k-1}}\phi,zk+1=proxλk​g​(zˉk−λk​F(zk)),θk​=λk−1​λk​​ϕ,

with the convention 0/0=+∞0/0=+\infty0/0=+∞ in the middle term. The paper uses the bifunction Ψ(u,v)=⟨F(u),v−u⟩+g(v)−g(u)\Psi(u,v)=\langle F(u),v-u\rangle+g(v)-g(u)Ψ(u,v)=⟨F(u),v−u⟩+g(v)−g(u).

Formalization targets

Goal: Theorem 2

If FFF is locally Lipschitz continuous and (C1)–(C3) hold, then for every run of Algorithm 1 there is z∗∈Sz^*\in Sz∗∈S with

zk→z∗andzˉk→z∗.z^k\to z^*\qquad\text{and}\qquad \bar z^k\to z^*.zk→z∗andzˉk→z∗.

Nothing is fixed beyond the paper's parameter ranges: ϕ∈(1,φ]\phi\in(1,\varphi]ϕ∈(1,φ], λˉ>0\bar\lambda>0λˉ>0, λ0>0\lambda_0>0λ0​>0 and the starting points are arbitrary. The two sequences share one limit.

Milestones

  1. Eq. (4), the prox-inequality: xˉ=prox⁡gw  ⟺  ⟨xˉ−w,x−xˉ⟩≥g(xˉ)−g(x)\bar x=\operatorname{prox}_g w\iff\langle\bar x-w,x-\bar x\rangle\ge g(\bar x)-g(x)xˉ=proxg​w⟺⟨xˉ−w,x−xˉ⟩≥g(xˉ)−g(x) for all xxx.
  2. Eq. (18), the estimates the step rule gives: λk≤ρλk−1\lambda_k\le\rho\lambda_{k-1}λk​≤ρλk−1​, θk≤1+1ϕ\theta_k\le1+\frac1\phiθk​≤1+ϕ1​, and λk2∥F(zk)−F(zk−1)∥2≤θkθk−14∥zk−zk−1∥2\lambda_k^2\|F(z^k)-F(z^{k-1})\|^2\le\frac{\theta_k\theta_{k-1}}4\|z^k-z^{k-1}\|^2λk2​∥F(zk)−F(zk−1)∥2≤4θk​θk−1​​∥zk−zk−1∥2.
  3. Eq. (24), an identity that follows from the averaging step: ∥zk+1−z∥2=ϕϕ−1∥zˉk+1−z∥2−1ϕ−1∥zˉk−z∥2+1ϕ∥zk+1−zˉk∥2\|z^{k+1}-z\|^2=\frac\phi{\phi-1}\|\bar z^{k+1}-z\|^2-\frac1{\phi-1}\|\bar z^k-z\|^2+\frac1\phi\|z^{k+1}-\bar z^k\|^2∥zk+1−z∥2=ϕ−1ϕ​∥zˉk+1−z∥2−ϕ−11​∥zˉk−z∥2+ϕ1​∥zk+1−zˉk∥2.
  4. Eq. (27), the energy inequality, for z∈dom⁡gz\in\operatorname{dom}gz∈domg and k≥2k\ge2k≥2.
  5. Lemma 2: along bounded runs, (λk)(\lambda_k)(λk​) and (θk)(\theta_k)(θk​) are bounded and bounded away from 000.
  6. Lemma 1 (Bauschke–Combettes, Theorem 5.5): a Fejér monotone sequence whose cluster points lie in a nonempty set CCC converges to a point of CCC.

Significance

The result. Theorem 2 shows that a monotone variational inequality with a locally Lipschitz operator can be solved by a method whose stepsizes adapt to the local curvature of FFF at no extra cost: one FFF evaluation and one prox step per iteration, and no global constant and no backtracking. Because FFF is only ever evaluated at the prox outputs zk∈dom⁡gz^k\in\operatorname{dom}gzk∈domg, the method also applies when FFF is undefined or badly behaved outside the feasible set, where reflected-gradient methods can fail. The same analysis gives an ergodic O(1/k)O(1/k)O(1/k) rate and, under an error bound, an RRR-linear rate (§2.2 of the preprint; not part of this mission). The paper also derives fixed-point algorithms for demi-contractive operators from it.

Formalizing it. The theorem has a published proof; to our knowledge no machine-checked version exists, and Mathlib has no proximal operator, no theory of monotone variational inequalities and no Fejér-monotonicity lemma. This mission produces a formal convergence proof for an adaptive first-order method with a nonsmooth convex term, together with reusable pieces: the prox-inequality for extended-real-valued convex functions, a finite-dimensional Fejér convergence lemma, and a formal model of an adaptive-step algorithm with the 0/0=+∞0/0=+\infty0/0=+∞ rule.

Difficulty

The usual convergence argument for projected or extragradient methods bounds the cross term ⟨F(zk)−F(zk−1),zk−zk+1⟩\langle F(z^k)-F(z^{k-1}),z^k-z^{k+1}\rangle⟨F(zk)−F(zk−1),zk−zk+1⟩ using a global Lipschitz constant and a fixed stepsize. Here neither exists. The stepsize at iteration kkk depends on the iterates, and the energy that decreases changes from step to step, since it involves θk−1\theta_{k-1}θk−1​. Local Lipschitz continuity gives a usable constant only once the iterates are known to be bounded, and boundedness has to come from the energy inequality. Stepsizes that tend to 000 would also break the argument (Lemma 2 excludes this for bounded runs). The last step, identifying cluster points as solutions, needs lower semicontinuity of ggg and a limit in the prox-inequality along a subsequence with convergent stepsizes.

Formalization scope

E\mathcal EE is a real InnerProductSpace with FiniteDimensional ℝ E. ggg is a map E → EReal; (C2) is a structure: ggg never takes the value ⊥\bot⊥, is finite somewhere, has a convex epigraph in E×RE\times\mathbb RE×R, and is LowerSemicontinuous on EEE. FFF is a total map E → E, and every hypothesis on it (monotonicity, Lipschitz bounds) is restricted to dom⁡g\operatorname{dom}gdomg. The variational inequality is stored as g(z∗)≤⟨F(z∗),z−z∗⟩+g(z)g(z^*)\le\langle F(z^*),z-z^*\rangle+g(z)g(z∗)≤⟨F(z∗),z−z∗⟩+g(z), with z∗∈dom⁡gz^*\in\operatorname{dom}gz∗∈domg, which avoids extended-real subtraction. prox⁡λg\operatorname{prox}_{\lambda g}proxλg​ is an argmin predicate, so it never produces a junk value. The algorithm is a predicate on the four sequences, written for index k+1k+1k+1. The rule 0/0=+∞0/0=+\infty0/0=+∞ is a case split: if F(zk)=F(zk−1)F(z^k)=F(z^{k-1})F(zk)=F(zk−1) the step is min⁡{ρλk−1,λˉ}\min\{\rho\lambda_{k-1},\bar\lambda\}min{ρλk−1​,λˉ}. No condition such as F(z1)≠F(z0)F(z^1)\ne F(z^0)F(z1)=F(z0) or λ0≤λˉ\lambda_0\le\bar\lambdaλ0​≤λˉ is imposed.

"Locally Lipschitz" is formalized as Lipschitz on every bounded subset of dom⁡g\operatorname{dom}gdomg. This is the property the proof of Lemma 2 uses. It agrees with local Lipschitz continuity when dom⁡g\operatorname{dom}gdomg is closed (for example g=δCg=\delta_Cg=δC​ for a closed convex CCC, or ggg finite everywhere) and is stronger otherwise. Eq. (27) is stated for z∈dom⁡gz\in\operatorname{dom}gz∈domg, where F(z)F(z)F(z) and Ψ(z,zk)\Psi(z,z^k)Ψ(z,zk) are defined. Lemma 1 carries the hypothesis C≠∅C\ne\emptysetC=∅ of its cited source, without which it is false.

The statements are not vacuous: g≡0g\equiv0g≡0, F≡0F\equiv0F≡0 satisfy (C1)–(C3) and the Lipschitz hypothesis, and admit a run of Algorithm 1 with λk=min⁡{ρλk−1,λˉ}\lambda_k=\min\{\rho\lambda_{k-1},\bar\lambda\}λk​=min{ρλk−1​,λˉ}. A proof of Theorem 2 must hold for every run with the paper's parameters, not only for such degenerate data.

Contributions welcome: the prox-inequality and the existence of the prox for proper convex lsc ggg (both reusable beyond this mission), the Fejér lemma, the algebraic estimates (18) and (24), and the energy inequality (27). Once these are in place, Lemma 2 and the cluster-point argument complete Theorem 2.

Selected references

  • Y. Malitsky, Golden Ratio Algorithms for Variational Inequalities, preprint, Optimization Online 6598, 2018. https://optimization-online.org/wp-content/uploads/2018/05/6598.pdf ; published in Mathematical Programming 184 (2020), 383–410. https://doi.org/10.1007/s10107-019-01416-w
  • H. H. Bauschke, P. L. Combettes, Convex Analysis and Monotone Operator Theory in Hilbert Spaces, Springer, 2011 (Theorem 5.5). https://doi.org/10.1007/978-1-4419-9467-7
  • G. M. Korpelevich, The extragradient method for finding saddle points and other problems, Ekonomika i Matematicheskie Metody 12 (1976), 747–756.
  • Y. Malitsky, Projected reflected gradient methods for monotone variational inequalities, SIAM Journal on Optimization 25 (2015), 502–520. https://doi.org/10.1137/14097238X
10 thms2 active usersReviewed
🏆Completed
Optimization·Captain: mikedeng1

Cubic Regularization of Newton Method and Its Global Performance III: Linear-Then-Superlinear Rate on Gradient-Dominated Functions of Degree TwoResearch Paper

Motivation

Newton's method converges quadratically near a non-degenerate minimum, but on its own it has no global guarantee: far from a minimizer the Newton step may increase the objective, and at points where the Hessian is indefinite it may not even be a descent direction. For most of the method's history, the global behaviour of second-order methods was controlled by line searches or trust regions whose worst-case complexity was not quantified.

Nesterov and Polyak (Math. Program. Ser. A 108 (2006) 177–205) proposed regularizing the Newton model by a cubic term and proved global worst-case rates for the resulting method on several problem classes. This mission is the third in a series formalizing that paper. It concerns the class of gradient dominated functions of degree two, for which the gap to the optimal value is bounded by a multiple of the squared gradient norm. For this class the paper shows that the method first converges linearly and then superlinearly, with explicit constants and without convexity.

The class itself predates the paper by four decades. Polyak (USSR Comput. Math. Math. Phys. 3 (1963)) introduced the inequality f(x)−f∗≤τ∥f′(x)∥2f(x) - f^* \le \tau\|f'(x)\|^2f(x)−f∗≤τ∥f′(x)∥2 to prove linear convergence of gradient descent without convexity; related inequalities are due to Łojasiewicz. Under the name Polyak–Łojasiewicz condition it has become a standard assumption in the analysis of first-order methods, for example in Karimi, Nutini and Schmidt (2016). Theorem 7 of Nesterov and Polyak is the corresponding result for a second-order method.

Setting

Let F⊆RnF \subseteq \mathbb{R}^nF⊆Rn be a closed convex set, and let fff be twice differentiable on FFF with gradient f′(x)f'(x)f′(x) and Hessian f′′(x)f''(x)f′′(x). The Euclidean norm is ∥⋅∥\|\cdot\|∥⋅∥, and on matrices it is the spectral norm. The standing assumptions of the paper are:

  1. Lipschitz Hessian. For some L>0L > 0L>0, ∥f′′(x)−f′′(y)∥≤L∥x−y∥\|f''(x) - f''(y)\| \le L\|x - y\|∥f′′(x)−f′′(y)∥≤L∥x−y∥ for all x,y∈Fx, y \in Fx,y∈F.
  2. Starting point. x0x_0x0​ lies in the interior of FFF, and so does the whole level set {x:f(x)≤f(x0)}\{x : f(x) \le f(x_0)\}{x:f(x)≤f(x0​)}.

For M>0M > 0M>0 the cubic model of fff at xxx is

mM,x(y)=⟨f′(x),y−x⟩+12⟨f′′(x)(y−x),y−x⟩+M6∥y−x∥3.m_{M,x}(y) = \langle f'(x), y - x\rangle + \tfrac12\langle f''(x)(y-x), y-x\rangle + \tfrac M6\|y - x\|^3 .mM,x​(y)=⟨f′(x),y−x⟩+21​⟨f′′(x)(y−x),y−x⟩+6M​∥y−x∥3.

A cubic-regularized Newton step TM(x)T_M(x)TM​(x) is any global minimizer of mM,xm_{M,x}mM,x​ over Rn\mathbb{R}^nRn. Write rM(x)=∥x−TM(x)∥r_M(x) = \|x - T_M(x)\|rM​(x)=∥x−TM​(x)∥ and fˉM(x)=f(x)+min⁡ymM,x(y)\bar f_M(x) = f(x) + \min_y m_{M,x}(y)fˉ​M​(x)=f(x)+miny​mM,x​(y).

Method (3.3). Fix L0∈(0,L]L_0 \in (0, L]L0​∈(0,L]. At iteration k≥0k \ge 0k≥0, choose Mk∈[L0,2L]M_k \in [L_0, 2L]Mk​∈[L0​,2L] such that f(TMk(xk))≤fˉMk(xk)f(T_{M_k}(x_k)) \le \bar f_{M_k}(x_k)f(TMk​​(xk​))≤fˉ​Mk​​(xk​), and set xk+1=TMk(xk)x_{k+1} = T_{M_k}(x_k)xk+1​=TMk​​(xk​). The choice Mk=LM_k = LMk​=L always passes this test.

Gradient domination of degree two (Definition 3 with p=2p = 2p=2). The function fff attains its minimum over FFF at some x∗∈Fx^* \in Fx∗∈F, and for a constant τf>0\tau_f > 0τf​>0

f(x)−f(x∗)≤τf ∥f′(x)∥2for all x∈F.f(x) - f(x^*) \le \tau_f\,\|f'(x)\|^2 \qquad \text{for all } x \in F .f(x)−f(x∗)≤τf​∥f′(x)∥2for all x∈F.

The minimizer need not be unique. Two examples:

  • Every γ\gammaγ-strongly convex function is in the class, with τf=1/(2γ)\tau_f = 1/(2\gamma)τf​=1/(2γ).
  • So is 12∑igi(x)2\frac12\sum_i g_i(x)^221​∑i​gi​(x)2 when the system g(x)=0g(x) = 0g(x)=0 with m≤nm \le nm≤n equations has a solution and a uniformly non-degenerate Jacobian on FFF. Its minima form a manifold, and the Hessian is singular there.

Two quantities appear in the targets. With Δk=f(xk)−f(x∗)\Delta_k = f(x_k) - f(x^*)Δk​=f(xk​)−f(x∗), they are

ω~=L04324 (L+L0)6 τf3,σ=ω~1/4ω~1/4+Δ01/4.\tilde\omega = \frac{L_0^4}{324\,(L + L_0)^6\,\tau_f^3}, \qquad \sigma = \frac{\tilde\omega^{1/4}}{\tilde\omega^{1/4} + \Delta_0^{1/4}} .ω~=324(L+L0​)6τf3​L04​​,σ=ω~1/4+Δ01/4​ω~1/4​.

Formalization targets

Goal: Theorem 7

For every run of method (3.3) on a gradient dominated function of degree two, both of the following hold.

  1. If Δ0≥ω~\Delta_0 \ge \tilde\omegaΔ0​≥ω~ (4.14), then during the first phase, meaning every kkk with Δj≥ω~\Delta_j \ge \tilde\omegaΔj​≥ω~ for all j<kj < kj<k,
Δk≤Δ0 e−kσ.(4.15)\Delta_k \le \Delta_0\, e^{-k\sigma} . \tag{4.15}Δk​≤Δ0​e−kσ.(4.15)
  1. From any iteration k0k_0k0​ with Δk0<ω~\Delta_{k_0} < \tilde\omegaΔk0​​<ω~ on,
Δk+1≤ω~ (Δkω~)4/3.(4.16)\Delta_{k+1} \le \tilde\omega\,\Big(\frac{\Delta_k}{\tilde\omega}\Big)^{4/3} . \tag{4.16}Δk+1​≤ω~(ω~Δk​​)4/3.(4.16)

The constants 324324324, L04L_0^4L04​, (L+L0)6(L+L_0)^6(L+L0​)6 and τf3\tau_f^3τf3​ are the paper's, and neither weakened nor improved.

Milestones

In the order a proof would use them:

  1. The Taylor bound for the gradient, Lemma 1 (2.2).
  2. The stationarity equation (2.5) of TM(x)T_M(x)TM​(x).
  3. The second-order condition of Proposition 1.
  4. Lemma 2 (2.8).
  5. The model decrease, Lemma 4 (2.11).
  6. The gradient bound at the new point, Lemma 3 (2.9).
  7. The per-step decrease along a run, Lemma 7 (4.10):
f(xk)−f(xk+1)≥L0 ∥f′(xk+1)∥3/232 (L+L0)3/2.f(x_k) - f(x_{k+1}) \ge \frac{L_0\,\|f'(x_{k+1})\|^{3/2}}{3\sqrt2\,(L + L_0)^{3/2}} .f(xk​)−f(xk+1​)≥32​(L+L0​)3/2L0​∥f′(xk+1​)∥3/2​.
  1. The scalar recursion (4.17). With δk=Δk/ω~\delta_k = \Delta_k/\tilde\omegaδk​=Δk​/ω~, it reads δk≥δk+1+δk+13/4\delta_k \ge \delta_{k+1} + \delta_{k+1}^{3/4}δk​≥δk+1​+δk+13/4​.

Significance

The result shows that on the Polyak–Łojasiewicz class, cubic regularization has two properties at once.

  • Globally, it converges linearly with no convexity assumption.
  • Once the gap falls below ω~\tilde\omegaω~, it converges superlinearly, of order 4/34/34/3. This holds even when the minimizers are not isolated and the Hessian is singular at them, which is exactly the situation of Example 3, where the classical local quadratic convergence of Newton's method does not apply.

As the authors note, this is the only class in the paper where the initial gap Δ0\Delta_0Δ0​ enters the complexity of the first phase polynomially, through σ\sigmaσ.

The result has been proved on paper since 2006. As far as the platform's catalog shows, none of the paper's statements has a machine-checked proof. This mission produces:

  • a checked version of the Section 2 toolkit for the cubic step (Lemmas 1–4 and Proposition 1), which is shared by every theorem of the paper;
  • the per-step decrease of Lemma 7;
  • the two-phase rate itself.

Difficulty

Once Lemma 7 and the recursion (4.17) are in hand, deriving the two rates is elementary scalar analysis. The difficulty sits upstream.

The second-order condition. Proposition 1 is a statement about the global minimizer of a nonconvex function of nnn variables. The first-order condition (2.5) alone does not give it: a stationary point of the cubic model that is not a global minimizer can violate it. The inequality (2.11) on which every rate rests needs Proposition 1.

Lemma 7 needs two facts. First, the new iterate stays in FFF, where the Lipschitz bound applies. Second, the monotonicity of M↦M/(L+M)3/2M \mapsto M/(L+M)^{3/2}M↦M/(L+M)3/2 on (0,2L](0, 2L](0,2L], which lets the unknown MkM_kMk​ be replaced by L0L_0L0​.

The phases. Both need bookkeeping with nonnegative quantities under fractional powers. Along a run, the gap Δk\Delta_kΔk​ must be shown to be nonnegative and non-increasing before any power of it is taken.

Formalization scope

The following conventions are fixed:

  • Space and derivatives. The space is EuclideanSpace ℝ (Fin n) with arbitrary nnn. The gradient and Hessian are maps g and H, with HasGradientAt f (g x) x and HasFDerivAt g (H x) x at every x∈Fx \in Fx∈F. At boundary points these are two-sided derivatives. The Lipschitz condition uses the operator norm on E →L[ℝ] E, which is the spectral norm.
  • The step and the model value. TM(x)T_M(x)TM​(x) is represented by the predicate "T is a global minimizer of the cubic model", and every lemma about TM(x)T_M(x)TM​(x) is stated for every such T. The value fˉM(x)\bar f_M(x)fˉ​M​(x) is written as f(x)f(x)f(x) plus the model at that minimizer, with no infimum over an expression.
  • Runs. A run is a structure recording, for each kkk: x0x_0x0​, Mk∈[L0,2L]M_k \in [L_0, 2L]Mk​∈[L0​,2L], the global-minimizer property of xk+1x_{k+1}xk+1​, and the acceptance test. Indices start at 000.
  • Gradient domination. It is required on FFF, with τf>0\tau_f > 0τf​>0, and with x∗∈Fx^* \in Fx∗∈F minimizing fff over FFF. Under the level-set assumption this is the same as minimizing over Rn\mathbb{R}^nRn.
  • Phases. They are encoded literally. Item 2 is asserted from every k0k_0k0​ with Δk0<ω~\Delta_{k_0} < \tilde\omegaΔk0​​<ω~, which is equivalent to asserting it from the first such k0k_0k0​ because Δk\Delta_kΔk​ is non-increasing.
  • Fractional powers. They are Real.rpow of nonnegative numbers.

Trivializing formalizations are ruled out. Using a stationary point in place of a global minimizer of the model, allowing τf≤0\tau_f \le 0τf​≤0, or requiring the domination inequality on all of Rn\mathbb{R}^nRn rather than on FFF would each change the theorem. None of these is done. A worked instance (f(x)=∥x∥2f(x) = \|x\|^2f(x)=∥x∥2, τf=1/4\tau_f = 1/4τf​=1/4) checks that the hypotheses are satisfiable.

A complete development needs Taylor estimates for a map with Lipschitz derivative on a convex set, the optimality conditions of the cubic subproblem (Section 5 of the paper characterizes its global minimizers through a one-dimensional dual problem), and some real-power arithmetic. The Section 2 lemmas are reusable for every other mission in the series and for any analysis of cubic-regularized or trust-region methods. Contributions are welcome at every level:

  • proofs of individual milestones;
  • alternative proofs of Proposition 1;
  • general Mathlib-style lemmas on second-order Taylor bounds.

Selected references

  • Yu. Nesterov and B. T. Polyak, Cubic regularization of Newton method and its global performance, Mathematical Programming Ser. A 108 (2006) 177–205. https://doi.org/10.1007/s10107-006-0706-8
  • B. T. Polyak, Gradient methods for minimizing functionals, USSR Computational Mathematics and Mathematical Physics 3 (1963) 864–878. https://doi.org/10.1016/0041-5553(63)90382-3
  • H. Karimi, J. Nutini and M. Schmidt, Linear convergence of gradient and proximal-gradient methods under the Polyak–Łojasiewicz condition, ECML PKDD 2016. https://arxiv.org/abs/1608.04636
  • C. Cartis, N. I. M. Gould and Ph. L. Toint, Adaptive cubic regularisation methods for unconstrained optimization. Part I: motivation, convergence and numerical results, Mathematical Programming 127 (2011) 245–295. https://doi.org/10.1007/s10107-009-0286-5
14 thms2 active usersReviewed
PreviousPage 40 of 45Next

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