Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

1094 missions

Missions

841–860 of 1094
OpenCompletedAll
🏆Completed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

Deriving Robust Counterparts of Nonlinear Uncertain Inequalities: For a Regular Nominal Vector, a Concave Uncertain Constraint Holds Robustly iff Its Fenchel Counterpart (FRC) Is SolvableResearch Paper

Motivation

In robust optimization, a decision must satisfy a constraint for every parameter value in a prescribed uncertainty set. A nonlinear uncertain constraint can be difficult to use directly because it contains a universal condition over a continuum of parameters. Ben-Tal, den Hertog, and Vial study constraints whose value is concave in the uncertain parameter. Their Theorem 2 replaces the universal condition by one inequality involving a new vector and two conjugate functions. The replacement is the general framework used for the paper's later examples, including uncertainty regions assembled from simpler sets and nonlinear functions whose conjugates have explicit forms. The discussion paper, §§2–4 is the source for this mission; theorem and page numbers refer to that 2012 version.

The paper's result extends a more specialized counterpart for a linear uncertain constraint under a φ-divergence uncertainty region. That 2013 result has a proved formalization on Prove2Me, but its divergence-specific conjugate and uncertainty set are different objects. The same earlier formalization also supplies a proved version of the self-concordant-barrier statement that this paper quotes as Lemma 33, with a differently printed constant. Neither earlier theorem supplies the general concave-constraint result here.

Setting

Fix dimensions m,n,Lm,n,Lm,n,L. The nominal vector is a0∈Rma^0\in\mathbb R^ma0∈Rm, and A∈Rm×LA\in\mathbb R^{m\times L}A∈Rm×L maps a primitive uncertainty ζ∈Z⊆RL\zeta\in Z\subseteq\mathbb R^Lζ∈Z⊆RL to an uncertain parameter a=a0+Aζa=a^0+A\zetaa=a0+Aζ. Thus the uncertainty set is U={a0+Aζ:ζ∈Z}U=\{a^0+A\zeta:\zeta\in Z\}U={a0+Aζ:ζ∈Z}. The paper assumes that ZZZ is nonempty, convex, and compact, with 000 in its relative interior ri⁡Z\operatorname{ri}ZriZ. Relative interior is taken inside the affine hull of a set, so ZZZ may lie in a lower-dimensional plane.

A decision is x∈Rnx\in\mathbb R^nx∈Rn. For each decision, D(x)D(x)D(x) is the effective domain of the uncertain constraint f(⋅,x)f(\cdot,x)f(⋅,x): f(a,x)f(a,x)f(a,x) is real on D(x)D(x)D(x) and is interpreted as −∞-\infty−∞ outside it. The function is concave in aaa on D(x)D(x)D(x) for every xxx; the paper imposes no convexity assumption in the decision xxx. The robust constraint (RC) is f(a,x)≤0f(a,x)\le0f(a,x)≤0 for every a∈Ua\in Ua∈U. In the domain representation used here, this means every a∈U∩D(x)a\in U\cap D(x)a∈U∩D(x). The nominal vector is regular when a0∈ri⁡D(x)a^0\in\operatorname{ri}D(x)a0∈riD(x) for every decision xxx, as in Definition 1.

The support function of SSS is δ∗(y∣S)=sup⁡a∈SyTa\delta^*(y\mid S)=\sup_{a\in S}y^Taδ∗(y∣S)=supa∈S​yTa. The partial concave conjugate is f∗(v,x)=inf⁡a∈D(x)(aTv−f(a,x))f_*(v,x)=\inf_{a\in D(x)}(a^Tv-f(a,x))f∗​(v,x)=infa∈D(x)​(aTv−f(a,x)). Both have extended-real values: an empty support set has support value −∞-\infty−∞, and the conjugate can be −∞-\infty−∞ when its infimum is unbounded below. These values matter in the equivalence; replacing them by a default real number changes the constraint.

Formalization targets

The goal is the paper's Theorem 2. Under the standing assumptions and regularity, for every decision xxx,

[∀a∈U∩D(x), f(a,x)≤0]⟺[∃v∈Rm: (a0)Tv+δ∗(ATv∣Z)−f∗(v,x)≤0].\left[\forall a\in U\cap D(x),\ f(a,x)\le0\right] \quad\Longleftrightarrow\quad \left[\exists v\in\mathbb R^m:\ (a^0)^Tv+\delta^*(A^Tv\mid Z)-f_*(v,x)\le0\right].[∀a∈U∩D(x), f(a,x)≤0]⟺[∃v∈Rm: (a0)Tv+δ∗(ATv∣Z)−f∗​(v,x)≤0].

The right-hand inequality is the Fenchel robust counterpart (FRC). Its existence claim is essential: equality of primal and dual infima alone would not show that an auxiliary vector satisfying FRC exists.

Four source statements form the milestone path. Remark 5 gives the weak-duality inequality and the FRC-to-RC implication without concavity. Equations (16)–(18) calculate the support function of UUU. Equation (7) states the relative-interior qualification. Equations (13)–(15) state the worst-case/dual-value identity and, through the printed minimum, attainment of the dual infimum. The milestone list quotes those source passages and identifies their printed pages. Theorem 2 and its proof appear on pp. 4–5.

Significance

The equivalence gives an exact way to replace an infinite family of uncertain inequalities by an existential constraint. In examples where the support function and concave conjugate can be evaluated or represented with standard optimization constraints, it yields a finite robust counterpart. The conclusion remains a mathematical equivalence even when such an explicit representation has not been found. It is also independent of any convexity of fff in the decision variable, a point the paper makes after Corollary 3.

This mission supplies reusable, domain-aware support and conjugate definitions and formal statements for the duality path in the paper's central result. The new goal and milestones are open proof obligations: their Lean declarations compile, but they do not yet have machine-checked proofs. The proved 2013 φ-divergence case is narrower and does not close them. A completed development would make the general relative-interior and attained-duality steps reusable for other robust optimization models.

Difficulty

The delicate point is the direction from RC to the existence of an FRC vector. Weak duality gives only a one-sided bound. Identifying the two optimal values still leaves an existence question when an infimum is not attained. The paper invokes Fenchel duality under a relative-interior intersection condition; replacing relative interior by ordinary interior would exclude lower-dimensional uncertainty sets and effective domains that the source permits. A second difficulty is keeping finite and infinite conjugate values distinct while subtracting them in the counterpart inequality. An unbounded-below conjugate must make a finite-support FRC value +∞+\infty+∞, not a plausible finite number.

Formalization scope

Vectors are functions on Fin m, Fin n, and Fin L; AAA is a real matrix, and dot products use the finite-vector dot product. Mathlib's intrinsicInterior ℝ represents relative interior. The domain map D(x)D(x)D(x) is explicit, with the concavity hypothesis imposed on that domain. The real representative of fff outside D(x)D(x)D(x) is ignored everywhere. The paper's Notation paragraph calls its generic concave functions closed, but the statements here omit closedness: the finite-dimensional duality qualification used for Theorem 2 needs relative-interior overlap, not that extra regularity. This is a stated strengthening of the source theorem, not a change of its feasible points.

Support functions, conjugates, worst-case values, and dual values use EReal. The paper's “max” in (8), (13), and Remark 5 is read as an extended-real supremum; its “min” in (15) is an infimum accompanied by an attaining vector. The support identity includes Z=∅Z=\varnothingZ=∅, where both sides are −∞-\infty−∞, although Theorem 2 keeps the paper's nonempty, convex, compact ZZZ. On the theorem's hypotheses the support value is finite and D(x)D(x)D(x) is nonempty, so the undefined-looking combinations +∞−(+∞)+\infty-(+\infty)+∞−(+∞) and −∞+(+∞)-\infty+(+\infty)−∞+(+∞) cannot occur in FRC. No all-space real-valued substitute for f∗f_*f∗​ is used, and the theorem still quantifies over every decision and every allowed uncertainty vector.

The proof development needs finite-dimensional relative-interior behavior under affine maps and Fenchel duality with attainment. General convex conjugates and support functions can serve later missions. Corollary 3 and the paper's complexity discussion are outside this mission. Theorem A.1 is not separately made a milestone here: as printed, its domain-restricted dual maximum has a problematic −∞-\infty−∞ case; the directly used, attained identity (13)–(15) is the target under the main theorem's standing assumptions.

Selected references

  • A. Ben-Tal, D. den Hertog, J.-P. Vial, Deriving robust counterparts of nonlinear uncertain inequalities, CentER Discussion Paper 2012-053, Tilburg University, 2012. Discussion-paper PDF; journal version, Mathematical Programming, 2015, DOI 10.1007/s10107-014-0750-8.
  • A. Ben-Tal et al., Robust solutions of optimization problems affected by uncertain probabilities, Management Science, 2013. Prove2Me formalization of its φ-divergence case.
7 thms2 active usersReviewed
🏆Completed
Machine LearningOperations ResearchOptimization·Captain: mikedeng1

Oracle-Based Robust Optimization via Online Learning 2: Follow the Perturbed Leader with an ε-Approximate Linear Oracle Has Expected Regret at Most 2√(DRAT) + 2εTResearch Paper

Motivation

Many decision problems are solved repeatedly against data that arrive over time: routing traffic, allocating budgets, choosing portfolios or combinatorial structures. Online linear optimization models this. At each round t=1,…,Tt = 1, \ldots, Tt=1,…,T a learner picks a decision xtx_txt​ from a fixed domain K⊆Rn\mathcal K\subseteq\mathbb R^nK⊆Rn, then a reward vector ftf_tft​ is revealed and the learner earns ft⋅xtf_t\cdot x_tft​⋅xt​. Performance is measured by regret, the gap to the best fixed decision in hindsight. When K\mathcal KK is combinatorial (paths, spanning trees, assignments), the only computationally reasonable access to K\mathcal KK is a procedure that optimizes a linear function over it, and in practice such procedures are often only approximate.

Follow the Perturbed Leader (FPL), introduced by Hannan (1957) and analysed for linear optimization by Kalai and Vempala (JCSS 2005), uses exactly one call to an exact linear optimizer per round and achieves regret O(T)O(\sqrt T)O(T​) over arbitrary, not necessarily convex, domains. Ben-Tal, Hazan, Koren and Mannor (arXiv:1402.6361, Operations Research 2015) needed a version of FPL that works with an additively approximate linear optimizer, as a building block for oracle-based robust optimization with linearly parametrized uncertainty sets. Their §3.3 analyses this variant and proves Theorem 6, the goal of this mission.

Setting

Fix a dimension nnn, a domain K⊆Rn\mathcal K\subseteq\mathbb R^nK⊆Rn (arbitrary: not necessarily convex, closed or bounded) and ϵ>0\epsilon > 0ϵ>0. An ϵ\epsilonϵ-approximate linear optimization procedure over K\mathcal KK is a map Mϵ:Rn→RnM_\epsilon:\mathbb R^n\to\mathbb R^nMϵ​:Rn→Rn such that, for every g∈Rng\in\mathbb R^ng∈Rn,

Mϵ(g)∈Kandg⋅Mϵ(g)  ≥  g⋅x−ϵfor all x∈K.M_\epsilon(g)\in\mathcal K \qquad\text{and}\qquad g\cdot M_\epsilon(g)\;\ge\; g\cdot x-\epsilon\quad\text{for all }x\in\mathcal K .Mϵ​(g)∈Kandg⋅Mϵ​(g)≥g⋅x−ϵfor all x∈K.

Reward vectors f1,…,fT∈Rnf_1,\ldots,f_T\in\mathbb R^nf1​,…,fT​∈Rn are fixed in advance (an oblivious adversary). Write f1:t=∑τ=1tfτf_{1:t}=\sum_{\tau=1}^t f_\tauf1:t​=∑τ=1t​fτ​, with f1:0=0f_{1:0}=0f1:0​=0, and ∥v∥1=∑i∣vi∣\|v\|_1=\sum_i|v_i|∥v∥1​=∑i​∣vi​∣.

Follow the Approximate Perturbed Leader with parameter η>0\eta>0η>0 plays at round ttt

xt=Mϵ(f1:t−1+pt),pt uniform on the cube [0,1/η]n.x_t = M_\epsilon\big(f_{1:t-1}+p_t\big),\qquad p_t \text{ uniform on the cube } [0,1/\eta]^n .xt​=Mϵ​(f1:t−1​+pt​),pt​ uniform on the cube [0,1/η]n.

Three scale parameters enter the bound: DDD bounds the ℓ1\ell_1ℓ1​ diameter of K\mathcal KK, ∥x−y∥1≤D\|x-y\|_1\le D∥x−y∥1​≤D for x,y∈Kx,y\in\mathcal Kx,y∈K; AAA bounds ∥ft∥1\|f_t\|_1∥ft​∥1​; and RRR bounds how much each reward varies over the domain, ∣ft⋅x−ft⋅y∣≤R|f_t\cdot x-f_t\cdot y|\le R∣ft​⋅x−ft​⋅y∣≤R for x,y∈Kx,y\in\mathcal Kx,y∈K.

Formalization targets

Goal: Theorem 6 (p. 11)

With η=D/(RAT)\eta=\sqrt{D/(RAT)}η=D/(RAT)​, for every x∗∈Kx^*\in\mathcal Kx∗∈K,

∑t=1Tft⋅x∗−E[∑t=1Tft⋅xt]  ≤  2DRAT+2ϵT.\sum_{t=1}^T f_t\cdot x^* - \mathbf E\Big[\sum_{t=1}^T f_t\cdot x_t\Big]\;\le\;2\sqrt{DRAT}+2\epsilon T .t=1∑T​ft​⋅x∗−E[t=1∑T​ft​⋅xt​]≤2DRAT​+2ϵT.

The bound for every η\etaη (proof of Theorem 6, p. 13)

For every η>0\eta>0η>0 and x∈Kx\in\mathcal Kx∈K,

E[∑t=1Tft⋅xt]  ≥  f1:T⋅x−Dη−ηRAT−2ϵT.\mathbf E\Big[\sum_{t=1}^T f_t\cdot x_t\Big]\;\ge\; f_{1:T}\cdot x-\frac D\eta-\eta RAT-2\epsilon T .E[t=1∑T​ft​⋅xt​]≥f1:T​⋅x−ηD​−ηRAT−2ϵT.

Supporting lemmas (pp. 12–13)

  • Lemma 7 (approximate be-the-leader): ∑t=1TMϵ(f1:t)⋅ft≥Mϵ(f1:T)⋅f1:T−ϵT\sum_{t=1}^T M_\epsilon(f_{1:t})\cdot f_t\ge M_\epsilon(f_{1:T})\cdot f_{1:T}-\epsilon T∑t=1T​Mϵ​(f1:t​)⋅ft​≥Mϵ​(f1:T​)⋅f1:T​−ϵT.
  • Lemma 8 (be the approximate perturbed leader): for T≥2T\ge2T≥2, p∈[0,1/η]np\in[0,1/\eta]^np∈[0,1/η]n and x∈Kx\in\mathcal Kx∈K, ∑t=1TMϵ(f1:t+p)⋅ft≥f1:T⋅x−D/η−2ϵT\sum_{t=1}^T M_\epsilon(f_{1:t}+p)\cdot f_t\ge f_{1:T}\cdot x-D/\eta-2\epsilon T∑t=1T​Mϵ​(f1:t​+p)⋅ft​≥f1:T​⋅x−D/η−2ϵT.
  • Lemma 9 (stability): for ppp uniform on [0,1/η]n[0,1/\eta]^n[0,1/η]n, E[Mϵ(f1:t−1+p)⋅ft]−E[Mϵ(f1:t+p)⋅ft]≥−ηRA\mathbf E[M_\epsilon(f_{1:t-1}+p)\cdot f_t]-\mathbf E[M_\epsilon(f_{1:t}+p)\cdot f_t]\ge-\eta RAE[Mϵ​(f1:t−1​+p)⋅ft​]−E[Mϵ​(f1:t​+p)⋅ft​]≥−ηRA.

Significance

Theorem 6 shows that perturbed-leader online linear optimization is robust to additive error in its optimization subroutine: an ϵ\epsilonϵ-approximate oracle costs only 2ϵT2\epsilon T2ϵT extra regret, so the average regret is 2DRA/T+2ϵ2\sqrt{DRA/T}+2\epsilon2DRA/T​+2ϵ. This allows the algorithm to be run over domains where exact linear optimization is intractable but a good additive approximation is available, and the paper invokes it as the online-learning primitive of its oracle-based scheme for linearly parametrized uncertainty in §3.2 (that application is not part of this mission). Unlike online gradient methods, it requires no convexity of K\mathcal KK and no projection.

On the formal side, no regret bound for Follow the Perturbed Leader, exact or approximate, is currently formalized on the platform, and the Kalai–Vempala stability argument (comparing a uniform distribution on a cube with its translate) is a reusable piece of measure theory. The mission's statements are proved on paper; the work here is to formalize those proofs, with one correction to a hypothesis, explained under Formalization scope.

Difficulty

Lemmas 7 and 8 are deterministic and combinatorial. The substance is Lemma 9. It compares the expectations of one bounded function of Mϵ(⋅)M_\epsilon(\cdot)Mϵ​(⋅) under the uniform law on a cube and under its translate by ftf_tft​. The natural first attempt, a pointwise comparison of Mϵ(f1:t−1+p)M_\epsilon(f_{1:t-1}+p)Mϵ​(f1:t−1​+p) and Mϵ(f1:t+p)M_\epsilon(f_{1:t}+p)Mϵ​(f1:t​+p), fails: an approximate (even an exact) maximizer can jump arbitrarily under an arbitrarily small change of its input, and MϵM_\epsilonMϵ​ is not assumed continuous or even consistent between nearby inputs. Any valid argument must therefore control the two distributions as a whole rather than the decisions point by point, which in the formal development involves Lebesgue measure on Rn\mathbb R^nRn, conditioning on a box and translation invariance.

A second subtlety is that the stability bound depends on how RRR is read, which is the reason for the correction below.

Formalization scope

Vectors are Fin n → ℝ with dotProduct. All ℓ1\ell_1ℓ1​ quantities are written as ∑i∣vi∣\sum_i|v_i|∑i​∣vi​∣, never with the default norm (the sup norm). Rewards are a function f : ℕ → Fin n → ℝ read at t=1,…,Tt=1,\ldots,Tt=1,…,T, and f1:tf_{1:t}f1:t​ is prefixSum f t. The perturbation law is Lebesgue measure conditioned on the cube [0,1/η]n[0,1/\eta]^n[0,1/η]n (ProbabilityTheory.cond volume), a probability measure for η>0\eta>0η>0. Maxima over K\mathcal KK are expressed as "for every x∈Kx\in\mathcal Kx∈K", so neither attainment nor boundedness of K\mathcal KK is presupposed.

Conventions and deviations, each also stated in the affected item:

  1. RRR is an oscillation bound. The paper takes R≥max⁡t,x∣ft⋅x∣R\ge\max_{t,x}|f_t\cdot x|R≥maxt,x​∣ft​⋅x∣. With that reading Lemma 9 is false (for K={−1,1}\mathcal K=\{-1,1\}K={−1,1}, the exact maximizer, f1:t−1=−Af_{1:t-1}=-Af1:t−1​=−A, ft=A=Rf_t=A=Rft​=A=R, ηA≤1\eta A\le1ηA≤1, the left side is −2ηRA-2\eta RA−2ηRA), and the printed constant in Theorem 6 does not follow. The proof's step "they can differ by at most RRR" is correct when R≥∣ft⋅x−ft⋅y∣R\ge|f_t\cdot x-f_t\cdot y|R≥∣ft​⋅x−ft​⋅y∣ for x,y∈Kx,y\in\mathcal Kx,y∈K; Lemma 9, the display and Theorem 6 are stated with that hypothesis. The printed hypothesis implies it with 2R2R2R; for non-negative rewards the two coincide.
  2. Expected reward. E[∑tft⋅xt]\mathbf E[\sum_t f_t\cdot x_t]E[∑t​ft​⋅xt​] is written as ∑t∫ft⋅Mϵ(f1:t−1+p) dμη(p)\sum_t\int f_t\cdot M_\epsilon(f_{1:t-1}+p)\,d\mu_\eta(p)∑t​∫ft​⋅Mϵ​(f1:t−1​+p)dμη​(p), which by linearity of expectation is the same for independent or shared perturbations (the paper makes the same observation).
  3. Printed typos. In (13) the summand ftf_tft​ is fτf_\taufτ​ and round ttt uses f1:t−1f_{1:t-1}f1:t−1​; in Lemma 8 and the display, max⁡xf1:t⋅x\max_{x}f_{1:t}\cdot xmaxx​f1:t​⋅x means f1:Tf_{1:T}f1:T​.
  4. Added hypotheses. MϵM_\epsilonMϵ​ is measurable (otherwise every expectation would be a Bochner integral of a non-measurable function and equal 000); an approximate maximizer can always be chosen measurable. D,R,A>0D,R,A>0D,R,A>0 and T≥1T\ge1T≥1 make η=D/(RAT)\eta=\sqrt{D/(RAT)}η=D/(RAT)​ a positive real. The display is stated for T≥1T\ge1T≥1 (Lemma 8 needs T≥2T\ge2T≥2 as printed; the case T=1T=1T=1 also holds).
  5. No O(⋅)O(\cdot)O(⋅) appears: all constants are the paper's explicit ones.

A trivializing formalization is ruled out: MϵM_\epsilonMϵ​ must return points of K\mathcal KK (otherwise DDD would not bound ∥Mϵ(⋅)−Mϵ(⋅)∥1\|M_\epsilon(\cdot)-M_\epsilon(\cdot)\|_1∥Mϵ​(⋅)−Mϵ​(⋅)∥1​), it must be measurable, and the perturbation law is the normalized uniform distribution, not Lebesgue measure restricted to the cube (which is not a probability measure for η≠1\eta\neq1η=1).

Needed infrastructure: the overlap estimate for a cube and its translate, vol([0,1/η]n∩(v+[0,1/η]n))≥(1−η∥v∥1) η−n\mathrm{vol}([0,1/\eta]^n\cap(v+[0,1/\eta]^n))\ge(1-\eta\|v\|_1)\,\eta^{-n}vol([0,1/η]n∩(v+[0,1/η]n))≥(1−η∥v∥1​)η−n, and the integrability of bounded measurable functions of MϵM_\epsilonMϵ​. Both are reusable for any perturbation-based online-learning analysis; contributions of these as standalone lemmas are welcome.

Selected references

  • A. Ben-Tal, E. Hazan, T. Koren, S. Mannor, Oracle-Based Robust Optimization via Online Learning, Operations Research 63(3), 2015; preprint arXiv:1402.6361v1, 2014. https://arxiv.org/abs/1402.6361
  • A. Kalai, S. Vempala, Efficient algorithms for online decision problems, Journal of Computer and System Sciences 71(3), 291–307, 2005. https://doi.org/10.1016/j.jcss.2004.10.016
  • J. Hannan, Approximation to Bayes risk in repeated play, Contributions to the Theory of Games III, Annals of Mathematics Studies 39, 97–139, 1957.
7 thms2 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

The Relaxation Method of Finding the Common Point of Convex Sets and Its Application to the Solution of Problems in Convex Programming 4: The Primal-Dual Relaxation Solves the Inequality ProgramResearch Paper

Motivation

Many large convex programs have far more constraints than can be handled at once, but each constraint on its own is simple: a single linear equation or inequality. Row-action methods exploit this by touching one constraint per iteration. L. M. Bregman's 1967 paper (DOI 10.1016/0041-5553(67)90040-7) introduced the general framework behind most of them. A strictly convex function fff induces the "distance" D(x,y)=f(x)−f(y)−(g(y),x−y)D(x,y)=f(x)-f(y)-(g(y),x-y)D(x,y)=f(x)−f(y)−(g(y),x−y), now called the Bregman distance, and the method moves from point to point by DDD-projections onto one constraint at a time. For f(x)=∥x∥2/2f(x)=\|x\|^2/2f(x)=∥x∥2/2 this reduces to Hildreth's method for quadratic programming; for entropy-type fff it gives the balancing (matrix scaling) methods used for transportation and traffic problems. The later literature on Bregman projections, mirror descent and entropic regularisation starts from this paper.

This mission formalizes the last main result of the paper, Theorem 4 (p. 212), which treats linear inequality constraints. Here a plain projection cycle does not minimize fff. Bregman's fix carries a vector of nonnegative multipliers unu^nun along with the primal point xnx^nxn and lets each step either move towards a violated constraint or relax a multiplier. The result is a primal–dual method.

Timeline. Hildreth (1957) gave the quadratic case. Bregman (1967) proved the general theorem stated here. Censor and Lent (1981) revisited the method for interval constraints under explicit assumptions on Bregman functions (DOI 10.1007/BF00934676).

Setting

Let EpE^pEp be ppp-dimensional Euclidean space and S⊂EpS\subset E^pS⊂Ep a convex set. Let fff be strictly convex on SSS, continuously differentiable over SSS with gradient g(x)g(x)g(x), and continuous over the closure Sˉ\bar SSˉ. Let AAA be an m×pm\times pm×p matrix (m≥1m\ge1m≥1) with nonzero rows A1,…,AmA_1,\dots,A_mA1​,…,Am​, and b∈Emb\in E^mb∈Em. The inequality program (2.11)–(2.13) is

minimize f(x)subject toAx≥b,x∈Sˉ,\text{minimize } f(x)\quad\text{subject to}\quad Ax\ge b,\quad x\in\bar S,minimize f(x)subject toAx≥b,x∈Sˉ,

with feasible set R={x∣Ax≥b, x∈Sˉ}R=\{x \mid Ax\ge b,\ x\in\bar S\}R={x∣Ax≥b, x∈Sˉ}, assumed nonempty. The Bregman function is D(x,y)=f(x)−f(y)−(g(y),x−y)D(x,y)=f(x)-f(y)-(g(y),x-y)D(x,y)=f(x)−f(y)−(g(y),x−y) (1.4). The DDD-projection PiyP_iyPi​y of y∈Sy\in Sy∈S onto the hyperplane Ai={x∣(Ai,x)=bi}A_i=\{x \mid (A_i,x)=b_i\}Ai​={x∣(Ai​,x)=bi​} minimizes D(⋅,y)D(\cdot,y)D(⋅,y) over Ai∩SA_i\cap SAi​∩S. The standing hypotheses ("the conditions of Theorem 3") are that DDD satisfies the abstract conditions I–VI of §1 for these hyperplanes, together with condition (2) of Note 1: yn→y∗∈Sˉy^n\to y^*\in\bar Syn→y∗∈Sˉ implies D(y∗,yn)→0D(y^*,y^n)\to0D(y∗,yn)→0. In addition, DDD-projections of interior points of SSS stay in the interior. Condition V (compact sublevel sets of D(z,⋅)D(z,\cdot)D(z,⋅)) is used for z∈Rz\in Rz∈R.

Write Z0={x∈S∣g(x)=uA for some u≥0}Z_0=\{x\in S \mid g(x)=uA \text{ for some } u\ge0\}Z0​={x∈S∣g(x)=uA for some u≥0}, where uA=∑iuiAiuA=\sum_iu_iA_iuA=∑i​ui​Ai​, and φ(x,u)=f(x)−(u,Ax−b)\varphi(x,u)=f(x)-(u,Ax-b)φ(x,u)=f(x)−(u,Ax−b). A run of the method is a sequence of pairs (xn,un)(x^n,u^n)(xn,un) with x0∈int⁡Sx^0\in\operatorname{int}Sx0∈intS, u0≥0u^0\ge0u0≥0, g(x0)=u0Ag(x^0)=u^0Ag(x0)=u0A, and cyclic indices ini_nin​. Each step with i=ini=i_ni=in​ is one of the following:

  • (a) if (Ai,xn)<bi(A_i,x^n)<b_i(Ai​,xn)<bi​: g(xn+1)=g(xn)+λnAig(x^{n+1})=g(x^n)+\lambda_nA_ig(xn+1)=g(xn)+λn​Ai​, (Ai,xn+1)=bi(A_i,x^{n+1})=b_i(Ai​,xn+1)=bi​, and uiu_iui​ increases by λn\lambda_nλn​;
  • (b) if (Ai,xn)=bi(A_i,x^n)=b_i(Ai​,xn)=bi​, or (Ai,xn)>bi(A_i,x^n)>b_i(Ai​,xn)>bi​ with ui=0u_i=0ui​=0: nothing changes;
  • (c) if (Ai,xn)>bi(A_i,x^n)>b_i(Ai​,xn)>bi​ and ui>0u_i>0ui​>0: g(xn+1)=g(xn)−μnAig(x^{n+1})=g(x^n)-\mu_nA_ig(xn+1)=g(xn)−μn​Ai​ with μn=min⁡(μn′,ui)\mu_n=\min(\mu_n',u_i)μn​=min(μn′​,ui​), where μn′\mu_n'μn′​ is the step that would reach the hyperplane, and uiu_iui​ decreases by μn\mu_nμn​.

Formalization targets

Goal: Theorem 4

For every run of the method,

xn→x∗,x∗∈R,f(x∗)=min⁡y∈Rf(y).x^n\to x^*,\qquad x^*\in R,\qquad f(x^*)=\min_{y\in R}f(y).xn→x∗,x∗∈R,f(x∗)=y∈Rmin​f(y).

Milestones (steps 1–4 of the proof)

  1. un≥0u^n\ge0un≥0 and g(xn)=unAg(x^n)=u^nAg(xn)=unA for all nnn (step 1, (2.20)–(2.21)).
  2. φ(xn+1,un+1)−φ(xn,un)≥D(xn+1,xn)\varphi(x^{n+1},u^{n+1})-\varphi(x^n,u^n)\ge D(x^{n+1},x^n)φ(xn+1,un+1)−φ(xn,un)≥D(xn+1,xn) (step 2, (2.22)–(2.24)).
  3. For z∈Rz\in Rz∈R: D(z,xn)≤f(z)−φ(x0,u0)D(z,x^n)\le f(z)-\varphi(x^0,u^0)D(z,xn)≤f(z)−φ(x0,u0) and φ(xn,un)≤f(z)\varphi(x^n,u^n)\le f(z)φ(xn,un)≤f(z) (step 3, (2.25)–(2.26)).
  4. {xn}\{x^n\}{xn} lies in a compact set, and lim⁡φ(xn,un)\lim\varphi(x^n,u^n)limφ(xn,un) exists and is at most f(z)f(z)f(z) for every z∈Rz\in Rz∈R (step 3, (2.27)).
  5. D(xn+1,xn)→0D(x^{n+1},x^n)\to0D(xn+1,xn)→0, and every limiting point of {xn}\{x^n\}{xn} lies in RRR (step 4).

Significance

Theorem 4 says that a method using one constraint per step and only fff's gradient converges to the minimizer of a strictly convex function over a polyhedron intersected with Sˉ\bar SSˉ. Its multipliers unu^nun form a dual sequence. Note 4 of the paper deduces from the theorem that the optimal value equals sup⁡φ(x,u)\sup\varphi(x,u)supφ(x,u) over dual-feasible pairs (g(x)=uAg(x)=uAg(x)=uA, u≥0u\ge0u≥0). The theorem is the convergence statement behind Hildreth's algorithm, behind entropy-based balancing for linear inequality systems, and behind the later "interval convex programming" methods.

The theorem is proved on paper, but no machine-checked proof of it, or of any Bregman-projection row-action method, is known to exist. The formalization adds two things. It makes the paper's standing hypotheses explicit, since several are stated once or left implicit. It also forces a complete argument for the convergence of the whole sequence: the printed proof gets this from condition (2) by an argument that assumes a monotonicity property established in §1 for the pure projection method but not for the primal–dual one. A Lean proof of the goal therefore also supplies a complete proof of the paper's claim.

Difficulty

The standard argument for projection methods uses a Fejér-type property: D(z,xn)D(z,x^n)D(z,xn) decreases for every feasible zzz. That fails here. In case (c) the point moves away from the hyperplane of a satisfied constraint, and D(z,xn)D(z,x^n)D(z,xn) can increase. So any argument has to control primal and dual quantities together. To pass from "every limiting point is feasible" to "the whole sequence converges to an optimal point", complementary slackness has to hold in the limit, and this depends on the cyclic order and on the cap μn≤ui\mu_n\le u_iμn​≤ui​. The naive route, applying the §1 convergence theorems to the hyperplanes AiA_iAi​, does not apply, because the iterates are not DDD-projections onto fixed sets in case (c).

Formalization scope

  • EpE^pEp is EuclideanSpace ℝ (Fin p); the rows are vectors aia_iai​, and uAuAuA is ∑iuiai\sum_iu_ia_i∑i​ui​ai​. The gradient ggg is explicit data tied to fff by HasGradientWithinAt on SSS. SSS is not assumed open, and fff is continuous on Sˉ\bar SSˉ.
  • The DDD-projections form a fixed map PPP. Condition IV is assumed in the one-sided form the proofs use, which the paper's two-sided IV implies. "Compact" means sequentially compact, which agrees with compact in EpE^pEp. Condition (2) is read with y∗∈Sˉy^*\in\bar Sy∗∈Sˉ.
  • Condition V is assumed for z∈Rz\in Rz∈R, the inequality-feasible set, where the proof applies it. The §1 form (for zzz in the intersection of the hyperplanes) could hold vacuously for an inequality system.
  • Step (a) is encoded by its defining conditions (2.14)–(2.15). Every new point, and the auxiliary point of case (c), lies in SSS. The run starts with u0≥0u^0\ge0u0≥0, and the cyclic control is in=n mod mi_n=n\bmod min​=nmodm over indices 0,…,m−10,\dots,m-10,…,m−1.
  • Translation slips are corrected: the Z0Z_0Z0​ set-builder, which breaks off, is completed; "μn′=uinn\mu_n'=u_{i_n}^nμn′​=uin​n​" is read as μn′′=uinn\mu_n''=u_{i_n}^nμn′′​=uin​n​; "Theorems 1–3" in Theorem 3 means Theorems 1–2.
  • The goal quantifies over every run from every admissible start and asserts convergence of the whole sequence together with optimality of the limit. Neither "some limiting point is optimal" nor a single constructed run is an acceptable substitute. The hypotheses are jointly satisfiable, for example by Hildreth's case f=∥x∥2/2f=\|x\|^2/2f=∥x∥2/2, S=EpS=E^pS=Ep with a run that takes a case (a) step, so the goal is not vacuous.
  • Needed infrastructure: Bregman distances of differentiable strictly convex functions on non-open convex sets, the strict monotonicity of the gradient, and subsequence and compactness arguments in EpE^pEp. These are reusable for the companion missions on Theorems 1–3 of the same paper. Contributions are welcome: proofs of the milestones, the full-convergence argument, and the duality statement of Note 4.

Selected references

  • L. M. Bregman, The relaxation method of finding the common point of convex sets and its application to the solution of problems in convex programming, USSR Comput. Math. Math. Phys. 7(3) (1967) 200–217. https://doi.org/10.1016/0041-5553(67)90040-7
  • C. Hildreth, A quadratic programming procedure, Naval Res. Logist. Quart. 4 (1957) 79–85. https://doi.org/10.1002/nav.3800040113
  • Y. Censor, A. Lent, An iterative row-action method for interval convex programming, J. Optim. Theory Appl. 34 (1981) 321–353. https://doi.org/10.1007/BF00934676
9 thms2 active usersReviewed
🏆Completed
Operations ResearchProbabilityReinforcement Learning+1·Captain: mikedeng1

Learning in Structured MDPs with Convex Cost Functions: Improved Regret Bounds for Inventory Management: Base-Stock Values from Any Two Starting States Differ by at Most 36 max(h,p)LxResearch Paper

Motivation

The lost-sales inventory problem with lead times is a basic model of operations management. A retailer reviews one product's stock each period and places an order that arrives LLL periods later. Demand that cannot be met from stock on hand is lost, and the retailer pays a holding cost hhh per unit left on the shelf and a penalty ppp per unit of lost demand. The optimal policy depends on the whole pipeline of outstanding orders, so the state space grows with LLL, and the problem is computationally hard for long lead times. Simple base-stock (order-up-to) policies are therefore the standard heuristic, and Huh, Janakiraman, Muckstadt and Rusmevichientong (Management Science 2009) showed they are asymptotically optimal as the lost-sales penalty grows.

Agrawal and Jia (arXiv:1905.04337) study the learning version, in which the demand distribution is unknown and only sales, not demands, are observed. They give an algorithm whose regret against the best base-stock policy is O~(LT)\tilde O(L\sqrt T)O~(LT​), improving the earlier bound of Zhang, Chao and Shi, which grows exponentially in LLL. The improvement rests on one structural fact: started from two different states, the base-stock system accumulates expected costs that differ by an amount linear in LLL and independent of the horizon. That fact, Lemma 2.5 of the paper, is the goal of this mission.

Setting

Fix a lead time L≥0L\ge 0L≥0 and a base-stock level xxx. A state is a vector s=(s(0),s(1),…,s(L))\mathbf s=(s(0),s(1),\dots,s(L))s=(s(0),s(1),…,s(L)) of real numbers. Its entry s(0)s(0)s(0) is the on-hand inventory after the current period's arrival, and s(1),…,s(L)s(1),\dots,s(L)s(1),…,s(L) are the outstanding orders, s(L)s(L)s(L) the most recent. Under a base-stock policy with level xxx the states lie in

Sx={s:s(i)≥0 for all i, ∑i=0Ls(i)=x}.\mathcal S^x=\Big\{\mathbf s : s(i)\ge 0\ \text{for all } i,\ \sum_{i=0}^{L}s(i)=x\Big\}.Sx={s:s(i)≥0 for all i, i=0∑L​s(i)=x}.

In each period ttt a demand dt≥0d_t\ge 0dt​≥0 is drawn, independently across periods, from a distribution FFF on [0,∞)[0,\infty)[0,∞). The sales are yt=min⁡{st(0),dt}y_t=\min\{s_t(0),d_t\}yt​=min{st​(0),dt​} and the on-hand inventory is It=st(0)I_t=s_t(0)It​=st​(0). The policy reorders exactly what was sold, so for L≥1L\ge 1L≥1 the next state is

st+1=(st(0)−yt+st(1), st(2), …, st(L), yt),\mathbf s_{t+1}=\big(s_t(0)-y_t+s_t(1),\ s_t(2),\ \dots,\ s_t(L),\ y_t\big),st+1​=(st​(0)−yt​+st​(1), st​(2), …, st​(L), yt​),

and for L=0L=0L=0 the state (x)(x)(x) never changes. The pseudo-cost of period ttt is Ctx=h(st(0)−yt)−p ytC^x_t=h(s_t(0)-y_t)-p\,y_tCtx​=h(st​(0)−yt​)−pyt​, and the value over horizon TTT from the start state s\mathbf ss is

VTx(s)=E[∑t=1TCtx ∣ s1=s].V^x_T(\mathbf s)=\mathbb E\Big[\sum_{t=1}^{T}C^x_t\ \Big|\ \mathbf s_1=\mathbf s\Big].VTx​(s)=E[t=1∑T​Ctx​ ​ s1​=s].

Along a demand path, nTx(s)=∑t=1Tytn^x_T(\mathbf s)=\sum_{t=1}^T y_tnTx​(s)=∑t=1T​yt​ is the total sales and mTx(s)=∑t=1TItm^x_T(\mathbf s)=\sum_{t=1}^T I_tmTx​(s)=∑t=1T​It​ the total on-hand inventory.

States are compared by the order of Definition B.1: s′⪰s\mathbf s'\succeq\mathbf ss′⪰s if s′−s=δ\mathbf s'-\mathbf s=\deltas′−s=δ with ∑iδi=0\sum_i\delta_i=0∑i​δi​=0 and some 0≤k≤L−10\le k\le L-10≤k≤L−1 such that δi≥0\delta_i\ge 0δi​≥0 for i≤ki\le ki≤k and δi≤0\delta_i\le 0δi​≤0 for i>ki>ki>k. Thus s′\mathbf s's′ holds the same total, shifted toward the shelf. The state s^=(x,0,…,0)\hat{\mathbf s}=(x,0,\dots,0)s^=(x,0,…,0) dominates every state of Sx\mathcal S^xSx.

Formalization targets

Goal: Lemma 2.5 (p. 8)

For every xxx, every horizon TTT, all costs h,p≥0h,p\ge 0h,p≥0, every demand law FFF and all s,s′∈Sx\mathbf s,\mathbf s'\in\mathcal S^xs,s′∈Sx,

VTx(s)−VTx(s′)≤36max⁡(h,p) L x.V^x_T(\mathbf s)-V^x_T(\mathbf s')\le 36\max(h,p)\,L\,x .VTx​(s)−VTx​(s′)≤36max(h,p)Lx.

The constant is the paper's printed one. The proof's last display gives 18(h+p)Lx18(h+p)Lx18(h+p)Lx, a stronger bound, which is deliberately not the goal.

Milestones (Appendix B and the proof of Lemma 2.5)

All of the following hold for L≥1L\ge 1L≥1, along any single demand path that drives both chains:

  1. Lemma B.2 (p. 20). If s1′⪰s1\mathbf s'_1\succeq\mathbf s_1s1′​⪰s1​ then for t≤L+1t\le L+1t≤L+1 the cumulative sales satisfy Yt′−Yt≤max⁡0≤k≤t−1(δ0+⋯+δk)Y'_t-Y_t\le\max_{0\le k\le t-1}(\delta_0+\dots+\delta_k)Yt′​−Yt​≤max0≤k≤t−1​(δ0​+⋯+δk​).
  2. Lemma B.3 (p. 20). If moreover It′≥ItI'_t\ge I_tIt′​≥It​ for t=1,…,L+1t=1,\dots,L+1t=1,…,L+1, then nT(sL+1′)=nT(sL+1)n_T(\mathbf s'_{L+1})=n_T(\mathbf s_{L+1})nT​(sL+1′​)=nT​(sL+1​) for every TTT.
  3. Lemma B.5 (p. 21). At the successive first crossing times σi,τi\sigma_i,\tau_iσi​,τi​ of Definition B.4, the state order alternates: sσi′⪰sσi\mathbf s'_{\sigma_i}\succeq\mathbf s_{\sigma_i}sσi​′​⪰sσi​​ and sτi′⪯sτi\mathbf s'_{\tau_i}\preceq\mathbf s_{\tau_i}sτi​′​⪯sτi​​ whenever these times exist.
  4. Lemma B.6 (p. 21). If s′⪰s\mathbf s'\succeq\mathbf ss′⪰s in Sx\mathcal S^xSx then ∣nTx(s′)−nTx(s)∣≤3x|n^x_T(\mathbf s')-n^x_T(\mathbf s)|\le 3x∣nTx​(s′)−nTx​(s)∣≤3x.
  5. Lemma B.7 (p. 23). If s′⪰s\mathbf s'\succeq\mathbf ss′⪰s in Sx\mathcal S^xSx then ∣mTx(s)−mTx(s′)∣≤6Lx|m^x_T(\mathbf s)-m^x_T(\mathbf s')|\le 6Lx∣mTx​(s)−mTx​(s′)∣≤6Lx.
  6. Proof of Lemma 2.5 (p. 9). s^⪰s\hat{\mathbf s}\succeq\mathbf ss^⪰s for every s∈Sx\mathbf s\in\mathcal S^xs∈Sx.
  7. Proof of Lemma 2.5 (p. 9). ∣VTx(s)−VTx(s^)∣≤9(h+p)Lx|V^x_T(\mathbf s)-V^x_T(\hat{\mathbf s})|\le 9(h+p)Lx∣VTx​(s)−VTx​(s^)∣≤9(h+p)Lx.

Significance

Lemma 2.5 bounds the dependence of the base-stock chain's finite-horizon cost on its starting state, uniformly in the horizon. In the paper it yields three consequences: the long-run average cost (the loss) of a base-stock policy does not depend on the initial state (Lemma 2.6), the bias of the chain is bounded by 36max⁡(h,p)Lx36\max(h,p)Lx36max(h,p)Lx (Lemma 2.8), and finite-horizon average costs concentrate around the loss (Lemma 2.10). These feed the regret bound of Theorem 1.3. The lemma is also a statement about the base-stock lost-sales system alone, without any learning, so it is of independent interest for coupling arguments on lost-sales chains.

The paper's proof is complete on paper, but nothing in it has a machine-checked proof. Neither the lost-sales base-stock chain with lead times started from an arbitrary pipeline state nor any of the coupling lemmas of Appendix B is formalized elsewhere. This mission produces a checked proof of the goal and of the pathwise comparison lemmas. Theorem 1.3 is not posed: its supporting lemmas rely on limits whose existence the paper settles only by an informal discretization (Remark 4).

Difficulty

The obvious argument couples the two chains on a common demand path and waits until they coalesce. Coalescence is guaranteed only after LLL consecutive periods of zero demand, an event of probability exponentially small in LLL, so this argument gives a bound exponential in LLL. That is the bound of earlier work.

The linear bound needs a finer pathwise accounting. The two coupled chains do not stay ordered: the one that starts with more inventory on the shelf sells more at first, then runs short and sells less. The order ⪰\succeq⪰ between the two states alternates along a sequence of times, and the sales gained in one phase must be shown to be lost again in the next, so that the cumulative difference stays bounded by a constant multiple of xxx for every horizon. Turning this alternation into a bound requires tracking how the pipeline vectors evolve between alternation times, including the boundary cases in which the chains coalesce or the horizon ends inside a phase.

Formalization scope

All declarations live in the namespace LostSalesLearning.ValueGap. A state is a function Fin (L + 1) → ℝ, a demand path is a function ℕ → ℝ≥0, and time is 0-based: traj s d 0 is the paper's s1\mathbf s_1s1​, traj s d t is st+1\mathbf s_{t+1}st+1​, and ∑t=1T\sum_{t=1}^T∑t=1T​ is a sum over Finset.range T. The demand law FFF is a probability measure on ℝ≥0, and the demand path has the product law Measure.infinitePi (fun _ => F). The value is the expectation of the summed pseudo-costs, which equals Definition 2.4 by the tower property and is the form used in the paper's proof.

Committed conventions:

  • The costs satisfy h≥0h\ge 0h≥0 and p≥0p\ge 0p≥0, the reading of "per unit holding cost and per unit lost sales penalty".
  • No assumption is placed on FFF. The paper's assumptions F(0)>0F(0)>0F(0)>0 and bounded demand belong to other results.
  • The goal holds for every L≥0L\ge 0L≥0; the Appendix B milestones carry L≥1L\ge 1L≥1, as Appendix B does.
  • The order ⪰\succeq⪰ is Definition B.1 verbatim, with the equal-sum clause and the split index k≤L−1k\le L-1k≤L−1.
  • The pathwise milestones quantify over every demand path and drive both chains with the same path.
  • The first crossing times of Definition B.4 are represented by alternationTimes; an absent next crossing is none.

Two trivializing formalizations are ruled out. A comparison of the two values on different or fixed demand paths would be a different statement: the goal compares two expectations under the same law, and each pathwise milestone uses one common path. A Bochner integral of a non-integrable function would be 000. The integrand here is measurable and bounded by T(h+p)xT(h+p)xT(h+p)x on Sx\mathcal S^xSx, so the values are genuine expectations.

A complete development needs the elementary dynamics of the chain, including invariance of Sx\mathcal S^xSx and the shift of trajectories, which is reusable for other lost-sales models. It also needs the alternation times of Definition B.4, and measurability of the trajectory in the demand path. Proofs of individual milestones, alternative proofs of the goal, and sharper constants as separate statements are all welcome.

Selected references

  • S. Agrawal and R. Jia, Learning in Structured MDPs with Convex Cost Functions: Improved Regret Bounds for Inventory Management, arXiv:1905.04337v1, 2019. https://arxiv.org/abs/1905.04337
  • W. T. Huh, G. Janakiraman, J. A. Muckstadt and P. Rusmevichientong, Asymptotic Optimality of Order-Up-To Policies in Lost Sales Inventory Systems, Management Science 55(3), 2009. https://doi.org/10.1287/mnsc.1080.0945
  • H. Zhang, X. Chao and C. Shi, Closing the Gap: A Learning Algorithm for Lost-Sales Inventory Systems with Lead Times, Management Science 66(5), 2020. https://doi.org/10.1287/mnsc.2019.3288
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
9 thms2 active usersReviewed
🏆Completed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Simultaneously Learning and Optimizing Using Controlled Variance Pricing 2: Certainty Equivalent Pricing Fails to Converge to the Optimal Price with Positive ProbabilityResearch Paper

Why myopic pricing is a problem

A seller who does not know how demand responds to price has to learn the demand curve from its own sales while it is selling. The most natural policy is certainty equivalent pricing (also called myopic pricing or passive learning): after every period, estimate the unknown demand parameters from all data collected so far, and charge the price that would be optimal if the estimates were the truth. It is simple, uses all data, and is what a price manager would do without further thought.

den Boer and Zwart (Management Science 60(3):770–783, 2014) show that this policy can fail. In the linear-demand, Gaussian-noise model, the prices it produces fail to converge to the optimal price with positive probability: the policy is not strongly consistent. The result motivates the paper's main contribution, controlled variance pricing, which adds just enough price dispersion to keep learning (treated in the companion mission of this series).

The phenomenon has a history in adaptive control:

  • 1976. Anderson and Taylor study the linear system yt=a0+a1xt+ϵty_t = a_0 + a_1x_t + \epsilon_tyt​=a0​+a1​xt​+ϵt​ controlled by a certainty equivalent rule that steers yty_tyt​ to a target, and examine by simulation the statistical properties of the least squares estimates it produces (Econometrica 44(6), 1976).
  • 1982. Lai and Robbins (Adv. Appl. Math. 3(1), 1982) prove that there are parameter values for which the certainty equivalent controls converge with positive probability to a value different from the optimal control.
  • 2014. den Boer and Zwart adapt the argument to revenue maximization with linear demand, without the conditions Lai and Robbins place on the initial inputs and the input bounds: any two different initial prices in [pl,ph][p_l, p_h][pl​,ph​] give the failure with positive probability.

Setting

A monopolist sells one product in periods t=1,2,…t = 1, 2, \dotst=1,2,… at prices ptp_tpt​ from an interval [pl,ph][p_l, p_h][pl​,ph​] with 0<pl<ph0 < p_l < p_h0<pl​<ph​. The demand in period ttt is

dt=a0(0)+a1(0)pt+et,d_t = a_0^{(0)} + a_1^{(0)} p_t + e_t ,dt​=a0(0)​+a1(0)​pt​+et​,

where e1,e2,…e_1, e_2, \dotse1​,e2​,… are independent N(0,σ2)N(0, \sigma^2)N(0,σ2) random variables. The parameters are unknown to the seller and satisfy σ>0\sigma > 0σ>0, a0(0)>0a_0^{(0)} > 0a0(0)​>0, a1(0)<0a_1^{(0)} < 0a1(0)​<0, a0(0)+a1(0)ph≥0a_0^{(0)} + a_1^{(0)}p_h \ge 0a0(0)​+a1(0)​ph​≥0. The expected revenue at price ppp is r(p,a0,a1)=p(a0+a1p)r(p, a_0, a_1) = p(a_0 + a_1p)r(p,a0​,a1​)=p(a0​+a1​p), maximized at the optimal price

popt=−a0(0)2a1(0),pl<popt<ph.p_{\mathrm{opt}} = -\frac{a_0^{(0)}}{2a_1^{(0)}}, \qquad p_l < p_{\mathrm{opt}} < p_h .popt​=−2a1(0)​a0(0)​​,pl​<popt​<ph​.

Certainty equivalent pricing charges two different initial prices p1≠p2p_1 \ne p_2p1​=p2​ in [pl,ph][p_l, p_h][pl​,ph​]. After t≥2t \ge 2t≥2 periods it computes the least squares estimates a^t=(a^0t,a^1t)\hat a_t = (\hat a_{0t}, \hat a_{1t})a^t​=(a^0t​,a^1t​), the solution of the normal equations ∑i≤t(1,pi)T(di−a^0t−a^1tpi)=0\sum_{i \le t}(1, p_i)^{\mathsf T}(d_i - \hat a_{0t} - \hat a_{1t}p_i) = 0∑i≤t​(1,pi​)T(di​−a^0t​−a^1t​pi​)=0, and charges

pt+1=arg⁡max⁡p∈[pl,ph]p (a^0t+a^1tp),p_{t+1} = \arg\max_{p \in [p_l, p_h]} p\,(\hat a_{0t} + \hat a_{1t}p),pt+1​=argp∈[pl​,ph​]max​p(a^0t​+a^1t​p),

with pt+1=php_{t+1} = p_hpt+1​=ph​ when the estimated slope a^1t\hat a_{1t}a^1t​ is nonnegative.

Formalization targets

Goal: Proposition 1

P(pt↛popt)>0.P\big(p_t \not\to p_{\mathrm{opt}}\big) > 0 .P(pt​→popt​)>0.

The goal states only the failure of convergence, for every admissible parameter and every pair of different initial prices; it does not fix where the prices go.

Stronger: the prices stick at the boundary

P(pt=ph for all t≥3)>0.P\big(p_t = p_h \ \text{for all } t \ge 3\big) > 0 .P(pt​=ph​ for all t≥3)>0.

This is what the paper's argument establishes; since popt<php_{\mathrm{opt}} < p_hpopt​<ph​ it implies the goal.

Milestones

The milestones are the displayed steps of the appendix proof, in attack order: the determinant of the coefficient matrix of the linear system (12); the bound P(sup⁡t≥3∣(t−2)−1∑i=3tei∣>ϵ)≤8σ2ϵ−2<1P(\sup_{t \ge 3}|(t-2)^{-1}\sum_{i=3}^t e_i| > \epsilon) \le 8\sigma^2\epsilon^{-2} < 1P(supt≥3​∣(t−2)−1∑i=3t​ei​∣>ϵ)≤8σ2ϵ−2<1 for ϵ>8 σ\epsilon > \sqrt 8\,\sigmaϵ>8​σ; positivity of the probability of an explicit event AδA_\deltaAδ​ on the noise for large δ\deltaδ; the case t=2t = 2t=2 (the first fitted line pushes p3p_3p3​ to php_hph​); the representation a^t−a(0)=(eˉt−pˉtCt/Vt, Ct/Vt)\hat a_t - a^{(0)} = (\bar e_t - \bar p_tC_t/V_t,\ C_t/V_t)a^t​−a(0)=(eˉt​−pˉ​t​Ct​/Vt​, Ct​/Vt​) of the least squares error; recursive and closed forms of VtV_tVt​ and CtC_tCt​; and the deterministic induction that every noise path in AδA_\deltaAδ​ keeps the price at php_hph​ forever.

Significance

The result is the standard counterexample to certainty equivalence in dynamic pricing. It shows that estimation and optimization cannot be separated naively: a policy that always exploits its current estimate can lock itself into a price at which the data no longer move the estimate enough to correct it. Every later policy in this literature that forces exploration (controlled variance pricing, semi-myopic policies, constrained iterated least squares) is designed against this failure, and its necessity is argued by pointing to results of this kind.

The result is proved in the paper; nothing here is open. To our knowledge it has no machine-checked proof. Formalizing it adds:

  • a verified pathwise analysis of the least squares recursion along a price path, reusable for other proofs about adaptive estimation with two parameters;
  • a verified maximal bound for running means of i.i.d. Gaussian noise, of the kind used in many consistency proofs;
  • a clean probabilistic statement of the failure, against which consistency results for exploration policies can later be contrasted.

Difficulty

The obvious heuristic, "with positive probability the first two observations are so noisy that the fitted slope is wrong", is not enough: one bad estimate is corrected by later data unless the policy stops generating informative data. The proof has to control the whole infinite future. It does so by showing that on a single event, defined through the first two noise values and a uniform bound on all later running means, the price stays at php_hph​ forever, which requires the closed form of the least squares estimate along a price path that is constant from period 3 on. That event involves infinitely many noise variables, so its probability is positive only through a maximal inequality, and independence between (e1,e2)(e_1, e_2)(e1​,e2​) and the later noise. A second subtlety is the choice of constants: the size of the band δ\deltaδ enters the conditions on (e1,e2)(e_1, e_2)(e1​,e2​), so the order in which δ\deltaδ and the set of admissible (e1,e2)(e_1, e_2)(e1​,e2​) are chosen matters (the printed proof picks them in a circular order; a non-circular choice exists).

Formalization scope

  • Model. CVPricing.CertEquiv.Model bundles pl,ph,a0(0),a1(0),σp_l, p_h, a_0^{(0)}, a_1^{(0)}, \sigmapl​,ph​,a0(0)​,a1(0)​,σ with the standing assumptions of §2 as fields, including pl<popt<php_l < p_{\mathrm{opt}} < p_hpl​<popt​<ph​ (the paper's neighbourhood assumption specialized to linear demand). The noise is the referenced published definition RobustBooking.Shared.GaussianNoise (measurable, mutually independent, each N(0,σ2)N(0, \sigma^2)N(0,σ2)); its Lean index kkk is period k+1k+1k+1, so the paper's eie_iei​ is ε (i - 1).
  • Policy. cePrice is a deterministic recursion on a noise path, so the random price process is obtained by evaluating it at ω\omegaω. Periods are 1-based. The least squares estimate is the referenced KeskinZeevi.SufficientConditions.lsEstimateOf, the solution of the normal equations (4), unique whenever p1≠p2p_1 \ne p_2p1​=p2​. The certainty equivalent rule is the projection of −a^0t/(2a^1t)-\hat a_{0t}/(2\hat a_{1t})−a^0t​/(2a^1t​) onto [pl,ph][p_l, p_h][pl​,ph​] when a^1t<0\hat a_{1t} < 0a^1t​<0, and php_hph​ when a^1t≥0\hat a_{1t} \ge 0a^1t​≥0; the latter is the convention the paper's proof adopts for wrong-signed estimates.
  • Corrected slips. The definition of the event AAA is printed with "δ∣eˉt∣≤δ\delta|\bar e_t| \le \deltaδ∣eˉt​∣≤δ" (read ∣eˉt∣≤δ|\bar e_t| \le \delta∣eˉt​∣≤δ) and with its second line missing a factor δ\deltaδ on the term (2ph−p1−p2)(2p_h - p_1 - p_2)(2ph​−p1​−p2​); both are restored as in (12) and the last display of the proof. The intercept of the first fitted line is printed without a0(0)a_0^{(0)}a0(0)​; the correct intercept is stated, and the printed condition remains sufficient for p3=php_3 = p_hp3​=ph​.
  • WLOG. The steps of the proof assume p1<p2p_1 < p_2p1​<p2​ and are stated under that ordering; the goal and the stronger statement cover p1≠p2p_1 \ne p_2p1​=p2​.
  • No trivialization. The goal is a statement about the Gaussian law of the noise: a theorem that exhibits one bad noise path, or that assumes P(A)>0P(A) > 0P(A)>0, does not prove it. The event in the goal is a set of outcomes whose measurability is not asserted.
  • Welcome contributions. Kolmogorov's maximal inequality for sums of independent square-integrable variables; least squares identities for two-parameter regression; the independence argument separating (e1,e2)(e_1, e_2)(e1​,e2​) from the later noise.

Selected references

  • A. V. den Boer, B. Zwart, Simultaneously Learning and Optimizing Using Controlled Variance Pricing, Management Science 60(3):770–783, 2014. https://doi.org/10.1287/mnsc.2013.1788
  • T. L. Lai, H. Robbins, Iterated least squares in multiperiod control, Advances in Applied Mathematics 3(1):50–73, 1982. https://doi.org/10.1016/S0196-8858(82)80005-5
  • T. W. Anderson, J. B. Taylor, Some experimental results on the statistical properties of least squares estimates in control problems, Econometrica 44(6):1289–1302, 1976. https://doi.org/10.2307/1914261
  • Y. S. Chow, H. Teicher, Probability Theory: Independence, Interchangeability, Martingales, 3rd ed., Springer, 2003. https://doi.org/10.1007/978-1-4612-1950-7
15 thms2 active usersReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Simultaneously Learning and Optimizing Using Controlled Variance Pricing 1: Controlled Variance Pricing Has Regret O(T^α + T^(1−α) log T)Research Paper

Motivation

A firm that sets prices without knowing how demand responds to them has to learn the demand curve from its own sales. Each price it charges is both a revenue decision and an experiment. The natural policy, certainty equivalent pricing, re-estimates the demand parameters after every period and charges the price that would be optimal if the estimates were exact. den Boer and Zwart show that this policy can fail: with positive probability its prices settle at a suboptimal value, because they converge too fast for the estimates to keep improving (den Boer–Zwart 2014, Proposition 1, the subject of the companion mission). The same phenomenon was found by Lai and Robbins (1982) for a linear control problem.

Their remedy, Controlled Variance Pricing (CVP), keeps certainty equivalent pricing but forces the sample variance of the chosen prices to decay no faster than tα−1t^{\alpha-1}tα−1. The main result is that this small amount of enforced exploration gives regret O(Tα+T1−αlog⁡T)O(T^\alpha + T^{1-\alpha}\log T)O(Tα+T1−αlogT), hence O(T1/2+δ)O(T^{1/2+\delta})O(T1/2+δ) for every δ>0\delta > 0δ>0, for a broad class of demand models that are specified only through their first two moments. Keskin and Zeevi (2014) later placed CVP in a larger family of semi-myopic policies with Tlog⁡T\sqrt T\log TT​logT regret for linear demand.

Setting

A seller chooses in each period t=1,2,…t = 1, 2, \dotst=1,2,… a price pt∈[pl,ph]p_t \in [p_l, p_h]pt​∈[pl​,ph​], with 0<pl<ph0 < p_l < p_h0<pl​<ph​, and then observes demand dtd_tdt​. Demand at price ppp has mean h(a0(0)+a1(0)p)h(a_0^{(0)} + a_1^{(0)}p)h(a0(0)​+a1(0)​p) and variance σ2v(h(a0(0)+a1(0)p))\sigma^2 v(h(a_0^{(0)} + a_1^{(0)}p))σ2v(h(a0(0)​+a1(0)​p)), where the link hhh and variance function vvv are known and C2C^2C2 on [0,∞)[0,\infty)[0,∞), h˙>0\dot h > 0h˙>0, and the parameter a(0)=(a0(0),a1(0))a^{(0)} = (a_0^{(0)}, a_1^{(0)})a(0)=(a0(0)​,a1(0)​) with a0(0)>0>a1(0)a_0^{(0)} > 0 > a_1^{(0)}a0(0)​>0>a1(0)​ is unknown. The noise et=dt−h(a0(0)+a1(0)pt)e_t = d_t - h(a_0^{(0)} + a_1^{(0)}p_t)et​=dt​−h(a0(0)​+a1(0)​pt​) is a martingale difference with conditional variance σ2v(⋅)\sigma^2 v(\cdot)σ2v(⋅) and a uniformly bounded conditional moment of some order r>3r > 3r>3.

The expected revenue is r(p,a)=p h(a0+a1p)r(p, a) = p\,h(a_0 + a_1p)r(p,a)=ph(a0​+a1​p). Near a(0)a^{(0)}a(0) it has a unique maximizer p(a)p(a)p(a) in the open interval (pl,ph)(p_l, p_h)(pl​,ph​) with ∂p2r<0\partial_p^2 r < 0∂p2​r<0 there, and popt=p(a(0))p_{\mathrm{opt}} = p(a^{(0)})popt​=p(a(0)). The regret of a policy is

Regret⁡(T)=E[∑t=1Tr(popt,a(0))−r(pt,a(0))].\operatorname{Regret}(T) = \mathbb E\Big[\sum_{t=1}^T r(p_{\mathrm{opt}}, a^{(0)}) - r(p_t, a^{(0)})\Big].Regret(T)=E[t=1∑T​r(popt​,a(0))−r(pt​,a(0))].

The estimate a^t\hat a_ta^t​ is the maximum quasi-likelihood estimate (MQLE), the root of the quasi-score equation (3), ∑i≤th˙σ2v(h)(1,pi)⊤(di−h(a^0+a^1pi))=0\sum_{i\le t} \frac{\dot h}{\sigma^2 v(h)}(1, p_i)^\top(d_i - h(\hat a_0 + \hat a_1 p_i)) = 0∑i≤t​σ2v(h)h˙​(1,pi​)⊤(di​−h(a^0​+a^1​pi​))=0. With pˉt\bar p_tpˉ​t​ and Var⁡(p)t\operatorname{Var}(p)_tVar(p)t​ the sample mean and variance of p1,…,ptp_1,\dots,p_tp1​,…,pt​, the taboo interval is TI(t)=(pˉt−wt,pˉt+wt)\mathrm{TI}(t) = (\bar p_t - w_t, \bar p_t + w_t)TI(t)=(pˉ​t​−wt​,pˉ​t​+wt​) with wt=c[(t+1)α−tα](t+1)/tw_t = \sqrt{c[(t+1)^\alpha - t^\alpha](t+1)/t}wt​=c[(t+1)α−tα](t+1)/t​. CVP starts from two distinct prices p1,p2p_1, p_2p1​,p2​, fixes α∈(0,1)\alpha \in (0,1)α∈(0,1) and 0<c<2−α(p1−p2)2min⁡{1,(3α)−1}0 < c < 2^{-\alpha}(p_1-p_2)^2\min\{1,(3\alpha)^{-1}\}0<c<2−α(p1​−p2​)2min{1,(3α)−1}, and for t≥2t \ge 2t≥2: if a^t\hat a_ta^t​ does not exist or has the wrong signs, it charges whichever of p1,p2p_1, p_2p1​,p2​ is farther from pˉt\bar p_tpˉ​t​; otherwise it charges p(a^t)p(\hat a_t)p(a^t​) if that keeps Var⁡(p)t+1≥c(t+1)α−1\operatorname{Var}(p)_{t+1} \ge c(t+1)^{\alpha-1}Var(p)t+1​≥c(t+1)α−1, and the best price outside TI(t)\mathrm{TI}(t)TI(t) if not.

Formalization targets

Goal: Theorem 1

Regret⁡(T,CVP)=O(Tα+T1−αlog⁡T)(1/2<α<1),\operatorname{Regret}(T, \mathrm{CVP}) = O\big(T^\alpha + T^{1-\alpha}\log T\big) \qquad (1/2 < \alpha < 1),Regret(T,CVP)=O(Tα+T1−αlogT)(1/2<α<1),

stated as: there is K>0K > 0K>0, depending on the model, α\alphaα, ccc and the initial prices but not on TTT, with Regret⁡(T)≤K(Tα+T1−αlog⁡T)\operatorname{Regret}(T) \le K(T^\alpha + T^{1-\alpha}\log T)Regret(T)≤K(Tα+T1−αlogT) for all T≥1T \ge 1T≥1. The constant is left free, so the statement survives any sharpening of the constants.

Milestones

  1. Proposition 2: Var⁡(p)t≥c tα−1\operatorname{Var}(p)_t \ge c\,t^{\alpha-1}Var(p)t​≥ctα−1 for all t≥2t \ge 2t≥2 along every CVP path.
  2. Lemma 1: λmax⁡(Pt)≤(1+ph2)t\lambda_{\max}(P_t) \le (1+p_h^2)tλmax​(Pt​)≤(1+ph2​)t and tVar⁡(p)t≤(1+ph2)λmin⁡(Pt)t\operatorname{Var}(p)_t \le (1+p_h^2)\lambda_{\min}(P_t)tVar(p)t​≤(1+ph2​)λmin​(Pt​) for the design matrix Pt=∑i≤t(1,pi)⊤(1,pi)P_t = \sum_{i\le t}(1,p_i)^\top(1,p_i)Pt​=∑i≤t​(1,pi​)⊤(1,pi​).
  3. Proposition 3: a^t\hat a_ta^t​ eventually exists, a^t→a(0)\hat a_t \to a^{(0)}a^t​→a(0) a.s., and for some ρ0\rho_0ρ0​, E[Tρ01/2]<∞\mathbb E[T_{\rho_0}^{1/2}] < \inftyE[Tρ0​1/2​]<∞ and E[∥a^t−a(0)∥21t>Tρ0]=O(log⁡t/tα)\mathbb E[\|\hat a_t - a^{(0)}\|^2\mathbf 1_{t > T_{\rho_0}}] = O(\log t/t^\alpha)E[∥a^t​−a(0)∥21t>Tρ0​​​]=O(logt/tα).
  4. Eq. (11): in the normal–linear case, E∥a^t−a(0)∥2=O(log⁡t/tα)\mathbb E\|\hat a_t - a^{(0)}\|^2 = O(\log t / t^\alpha)E∥a^t​−a(0)∥2=O(logt/tα).
  5. Eqs. (17), (18), (20): the quadratic revenue gap, the local Lipschitz bound on p(a)p(a)p(a), and ∣pt+1−p(a^t)∣≤∣TI(t)∣|p_{t+1} - p(\hat a_t)| \le |\mathrm{TI}(t)|∣pt+1​−p(a^t​)∣≤∣TI(t)∣ for large ttt.
  6. The closing bound E[(pt−popt)2]=O(tα−1+log⁡t/tα)\mathbb E[(p_t - p_{\mathrm{opt}})^2] = O(t^{\alpha-1} + \log t/t^\alpha)E[(pt​−popt​)2]=O(tα−1+logt/tα).

Significance

The theorem shows that a policy that is certainty equivalent almost all of the time, with a single interpretable tuning parameter α\alphaα, attains regret O(T1/2+δ)O(T^{1/2+\delta})O(T1/2+δ) in generalized linear demand models, without distributional assumptions beyond two moments. It explains the role of α\alphaα precisely: TαT^\alphaTα is the cost of exploration and T1−αlog⁡TT^{1-\alpha}\log TT1−αlogT the cost of estimation error. Proposition 2 and Lemma 1 are reusable for any policy that enforces a variance floor on its actions, and (11) is a self-contained rate for least squares under adaptively chosen designs.

The result is proved in the paper, with Proposition 3 delegated to den Boer and Zwart (2012) for general links. To our knowledge none of it has been machine-checked. A formalization would verify the delegated consistency argument, fix the conditions under which it applies (see Formalization scope), and provide a Lean development of adaptive least squares and quasi-likelihood rates that the related Keskin–Zeevi missions also need.

Difficulty

The deterministic parts are short. The difficulty is Proposition 3. The prices are chosen adaptively from past data, so the regressors are not independent of the noise, and standard rates for (quasi-)likelihood estimates do not apply. The natural argument, bounding ∥a^t−a(0)∥2\|\hat a_t - a^{(0)}\|^2∥a^t​−a(0)∥2 by Qt/λmin⁡(Pt)Q_t/\lambda_{\min}(P_t)Qt​/λmin​(Pt​) with QtQ_tQt​ a self-normalized martingale quadratic form, needs a bound E[Qt]=O(log⁡t)\mathbb E[Q_t] = O(\log t)E[Qt​]=O(logt) that holds in expectation and not only almost surely, as in Lai and Wei (1982). For a non-linear link the MQLE is defined only implicitly, and its existence near a(0)a^{(0)}a(0) has to be shown first, with a moment bound on the last time it fails. That is the random time TρT_\rhoTρ​. Turning almost-sure consistency into a rate in expectation is where most of the work lies.

Formalization scope

All declarations live in the namespace CVPricing.Regret. Periods are 1-based. Prices, demands and parameters are real; a=(a0,a1)∈R×Ra = (a_0, a_1) \in \mathbb R \times \mathbb Ra=(a0​,a1​)∈R×R with the Euclidean norm (euclidNorm), not Mathlib's sup norm. The design matrix, sample mean and tVar⁡(p)tt\operatorname{Var}(p)_ttVar(p)t​ are the published Keskin–Zeevi definitions fisherOf, avgPriceOf, infoMetricOf. Every O(⋅)O(\cdot)O(⋅) is "there is K>0K > 0K>0 such that for all ttt", with KKK quantified after the model data. Rates are stated for t≥2t \ge 2t≥2 and the regret for T≥1T \ge 1T≥1. hhh and vvv are total functions constrained on [0,∞)[0,\infty)[0,∞). A root of (3) counts only where a^0+a^1pi≥0\hat a_0 + \hat a_1 p_i \ge 0a^0​+a^1​pi​≥0 for every observed pip_ipi​. CVP is a predicate on a realized path that allows every maximizer in (7) and (8).

Disclosed deviations from the page:

  • the model requires a0(0)+a1(0)ph>0a_0^{(0)} + a_1^{(0)}p_h > 0a0(0)​+a1(0)​ph​>0 (printed: ≥0\ge 0≥0), because in the boundary case the policy's case (c) fires infinitely often and the proof of Theorem 1 does not cover it;
  • (3) is assumed to have at most one root (the page notes roots need not be unique, and the policy cannot select the root nearest a(0)a^{(0)}a(0));
  • the neighbourhood assumption is read as a unique maximizer over [pl,ph][p_l, p_h][pl​,ph​] lying in (pl,ph)(p_l, p_h)(pl​,ph​);
  • the demand process is given by its conditional mean, its conditional variance and (2), with integrable noise moments, not by a fixed law D(p)D(p)D(p);
  • the initial prices are deterministic.

Corrected slips: Proposition 2 is stated for c≤2−α(p1−p2)2min⁡{1/2,(3α)−1}c \le 2^{-\alpha}(p_1-p_2)^2\min\{1/2,(3\alpha)^{-1}\}c≤2−α(p1​−p2​)2min{1/2,(3α)−1}, because the printed range fails at t=2t=2t=2 (Var⁡(p)2=(p1−p2)2/4\operatorname{Var}(p)_2 = (p_1-p_2)^2/4Var(p)2​=(p1​−p2​)2/4, not /2/2/2). Theorem 1 keeps the printed range. Eq. (20) is stated for pt+1p_{t+1}pt+1​ and for ttt beyond an explicit threshold.

The goal does not assume the variance bound, consistency or (20). The policy contains the variance check and the taboo interval, and the regret is the expectation over the actual price process. A statement that assumed any of these, or that dropped the taboo step, would be trivial or false. Contributions are welcome on adaptive least squares (Sherman–Morrison and determinant-ratio bounds), martingale last-time moment bounds, and the implicit-function step (18).

Selected references

  • A. V. den Boer, B. Zwart, Simultaneously Learning and Optimizing Using Controlled Variance Pricing, Management Science 60(3):770–783, 2014. https://doi.org/10.1287/mnsc.2013.1788
  • A. V. den Boer, B. Zwart, Mean square convergence rates for maximum quasi-likelihood estimators, Stochastic Systems 4(2):375–403, 2014 (cited as 2012 working paper). https://doi.org/10.1214/12-SSY086
  • T. L. Lai, C. Z. Wei, Least squares estimates in stochastic regression models with applications to identification and control of dynamic systems, Annals of Statistics 10(1):154–166, 1982. https://doi.org/10.1214/aos/1176345697
  • T. L. Lai, H. Robbins, Iterated least squares in multiperiod control, Advances in Applied Mathematics 3(1):50–73, 1982. https://doi.org/10.1016/S0196-8858(82)80005-5
  • N. B. Keskin, A. Zeevi, Dynamic Pricing with an Unknown Demand Model: Asymptotically Optimal Semi-Myopic Policies, Operations Research 62(5):1142–1167, 2014. https://doi.org/10.1287/opre.2014.1294
13 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization·Captain: mikedeng1

Contraction Mappings in the Theory Underlying Dynamic Programming 1: Under the Contraction and Monotonicity Assumptions the Solution of the Functional Equation Is the Optimal ReturnResearch Paper

Why this problem arose

Dynamic programming often replaces a search over whole plans with an equation for a value function. That replacement is useful only when solving the equation recovers the value actually available through policies. In his 1967 paper, Eric Denardo isolated conditions on an abstract return function that make this identification possible, without committing to a particular transition law or a finite state space. The framework covers discounted decision models and other examples discussed in the paper, while allowing different decisions at different states. Denardo, 1967.

The mission concerns the paper's first regime: a one-step contraction together with monotonicity. It focuses on the question raised just after equation (4): does the solution of the functional equation equal the supremum of the return functions generated by policies? The paper proves that it does under these assumptions. Its later NNN-stage regime is a separate mission. Denardo, 1967, pp. 167–169.

States, decisions, and returns

Let Ω\OmegaΩ be a set of states. At each x∈Ωx\in\Omegax∈Ω there is a decision set DxD_xDx​. A policy δ\deltaδ selects a decision δx∈Dx\delta_x\in D_xδx​∈Dx​ at every state, so the policy space Δ\DeltaΔ is the full Cartesian product ∏x∈ΩDx\prod_{x\in\Omega}D_x∏x∈Ω​Dx​. Let VVV be the bounded real functions on Ω\OmegaΩ, with the uniform metric ρ(u,v)=sup⁡x∈Ω∣u(x)−v(x)∣\rho(u,v)=\sup_{x\in\Omega}|u(x)-v(x)|ρ(u,v)=supx∈Ω​∣u(x)−v(x)∣. A return function h(x,d,v)h(x,d,v)h(x,d,v) assigns a real return to a state, an available decision, and a continuation value v∈Vv\in Vv∈V. Denardo, 1967, p. 166.

For a policy δ\deltaδ, its policy operator HδH_\deltaHδ​ acts by (Hδv)(x)=h(x,δx,v)(H_\delta v)(x)=h(x,\delta_x,v)(Hδ​v)(x)=h(x,δx​,v). Under the contraction assumption, some ccc satisfies 0≤c<10\le c<10≤c<1 and ∣h(x,d,u)−h(x,d,v)∣≤cρ(u,v)|h(x,d,u)-h(x,d,v)|\le c\rho(u,v)∣h(x,d,u)−h(x,d,v)∣≤cρ(u,v) for all eligible x,d,u,vx,d,u,vx,d,u,v. Each HδH_\deltaHδ​ then has a unique fixed point vδ∈Vv_\delta\in Vvδ​∈V, called that policy's return function. The optimal return function is defined pointwise by f(x)=sup⁡δ∈Δvδ(x)f(x)=\sup_{\delta\in\Delta}v_\delta(x)f(x)=supδ∈Δ​vδ​(x). These are the paper's definitions, rather than a presumed equality between fff and a Bellman fixed point. Denardo, 1967, pp. 166–167.

The maximization operator AAA instead chooses the best decision at each state for a supplied continuation value: (Av)(x)=sup⁡d∈Dxh(x,d,v)(Av)(x)=\sup_{d\in D_x}h(x,d,v)(Av)(x)=supd∈Dx​​h(x,d,v). Denardo assumes that HδvH_\delta vHδ​v and AvAvAv remain bounded, so both operators act on VVV. The monotonicity assumption says that u≥vu\ge vu≥v pointwise implies Hδu≥HδvH_\delta u\ge H_\delta vHδ​u≥Hδ​v for every policy. These are separate conditions: contraction controls distance between value functions, while monotonicity controls their order. Denardo, 1967, pp. 166–168.

Formalization targets

The central target is Theorem 3. Under contraction and monotonicity, the unique bounded solution v∗v^*v∗ of equation (4) is the optimal return:

Av∗=v∗,v∗(x)=f(x)=sup⁡δ∈Δvδ(x)(x∈Ω).Av^*=v^*,\qquad v^*(x)=f(x)=\sup_{\delta\in\Delta}v_\delta(x)\quad(x\in\Omega).Av∗=v∗,v∗(x)=f(x)=δ∈Δsup​vδ​(x)(x∈Ω).

The milestones follow the paper's route to that assertion. Theorem 1 bounds a policy's return by its fixed-point residual, ρ(vδ,w)≤ρ(Hδw,w)/(1−c)\rho(v_\delta,w)\le\rho(H_\delta w,w)/(1-c)ρ(vδ​,w)≤ρ(Hδ​w,w)/(1−c). Theorem 2 says that AAA itself has modulus at most ccc. The text accompanying equation (4) establishes that AAA has exactly one fixed point. Corollary 1 then gives, for each ε>0\varepsilon>0ε>0, a policy with residual at most ε(1−c)\varepsilon(1-c)ε(1−c) at that fixed point and return within ε\varepsilonε of it, together with an exact equality criterion for zero residual. Denardo, 1967, pp. 167–168.

What the result gives

Theorem 3 justifies reading the functional equation as an optimization equation: its solution is the pointwise supremum of returns realized by the paper's policy model. Corollary 1 supplies policy returns arbitrarily close to that solution in the uniform metric. With the compactness and continuity assumptions of Corollary 2, the paper also obtains a policy that attains it, though that optional result is outside this mission's milestone list. Denardo, 1967, pp. 167–168.

The mathematical result was proved in the cited paper. This mission asks for machine-checked proofs of its abstract statements in Lean, including the residual estimate, the maximization operator's contraction, fixed-point existence, and the identification with optimal policy return. The definitions are reusable for decision models whose returns fit Denardo's assumptions; they do not prescribe a probability kernel or a finite action set.

Where the difficulty lies

The fixed-point theorem alone identifies a unique solution of Av=vAv=vAv=v; it does not identify that solution with fff, because fff is defined through the separate fixed points of all HδH_\deltaHδ​. The distinction matters: the paper observes that contraction without monotonicity can leave v∗v^*v∗ different from fff, and gives h(x,d,v)=−v(x)/2h(x,d,v)=-v(x)/2h(x,d,v)=−v(x)/2 as a nonmonotone example. The formal goal therefore retains both definitions and requires monotonicity. Denardo, 1967, pp. 167–168.

There is also a choice issue in Corollary 1. A near-maximizing decision is available separately at every state, while its conclusion asks for one policy choosing all those decisions at once. The full Cartesian policy space is essential to the statement. On an infinite state set, the value functions must remain bounded even after applying AAA or a policy operator; contraction of differences by itself does not provide that range condition. Denardo, 1967, pp. 166–168.

Formalization scope

Lean represents VVV by bounded real functions lp (fun _ : Ω => ℝ) ⊤; its metric is ρ\rhoρ. The state type may be infinite or empty, and decision sets depend on the state. Policies are precisely dependent functions δ:(x:Ω)→Dx\delta:(x:\Omega)\to D_xδ:(x:Ω)→Dx​. The operators HδH_\deltaHδ​ and AAA are maps into VVV supplied with equations fixing their values from hhh. This expresses the bounded-range assumptions on pages 166–167. Pointwise order is explicit because the bounded-function type has no order instance. Denardo, 1967, pp. 166–168.

Every supremum in the mission is a genuine real least upper bound. IsMaxOperator requires it for the decision returns at each state; IsOptimalReturn requires it for the policy returns. These predicates avoid assigning a default value to an empty or unbounded supremum. Where states exist, IsMaxOperator also entails a nonempty decision set. The family vδv_\deltavδ​ is supplied with Hδvδ=vδH_\delta v_\delta=v_\deltaHδ​vδ​=vδ​; contraction ensures each such return exists uniquely. Equation (4) and the main goal explicitly assert existence of the fixed point of AAA, so the goal cannot hold merely because there is no solution to identify. Defining fff from the fixed point of AAA, or defining v∗v^*v∗ from the policy supremum, would erase the paper's substantive claim and is excluded.

The definition layer needs bounded functions, uniform distance, real least upper bounds, and dependent policies. The theorem layer needs fixed-point and order reasoning on these objects. Contributions toward those general operator facts and the paper's four milestone statements are within scope.

Selected references

  • Eric V. Denardo, Contraction Mappings in the Theory Underlying Dynamic Programming, SIAM Review 9(2), 165–177, 1967. DOI: 10.1137/1009030.
6 thms3 active usersReviewed
🏆Completed
Control TheoryDynamic ProgrammingMarkov Chain+1·Captain: mikedeng1

Optimal Control of Markov Processes with Incomplete State Information 1: Reduction to Complete State Information on the Conditional State Distributions, with the Same Optimal LawResearch Paper

Motivation

A controller often cannot see the state of the system it steers. It sees only measurements that are noisy functions of that state. In operations research this happens in machine maintenance and inspection, in queues observed only partially, and in inventory systems with inexact stock records. In control engineering it is the usual case. The question is what the controller should base its decisions on. The full record of past measurements is the obvious choice, but that record grows with time, so a law that uses it is a function on a space whose dimension grows with the horizon.

K. J. Åström's 1965 paper Optimal Control of Markov Processes with Incomplete State Information answered this question for finite Markov chains. The answer is that the conditional distribution of the hidden state given the measurements is a sufficient statistic. The problem with incomplete information is equivalent to a problem with complete information whose state is that distribution. This is the model now called a partially observable Markov decision process (POMDP), and the conditional distribution is now called the belief state.

Timeline. For linear systems with quadratic cost and Gaussian noise, the separation theorem of Joseph and Tou (1961) and Gunckel and Franklin (1963) says that the optimal control is a fixed function of the conditional mean of the state. Åström (1965) proved the reduction for finite-state Markov chains with arbitrary costs, with the conditional distribution as the new state. Smallwood and Sondik (1973) showed that for finite horizons the value function is piecewise linear and concave in the belief, which made exact computation possible. Bertsekas and Shreve (1978) and Bäuerle and Rieder (2011) gave the reduction for general Borel models.

Setting

The hidden state xtx_txt​, t=1,…,Nt = 1, \dots, Nt=1,…,N, takes values in a finite set SSS. The controls u=(u1,…,ur)u = (u_1, \dots, u_r)u=(u1​,…,ur​) range over a compact nonempty set U⊂RrU \subset \mathbb R^rU⊂Rr. The state moves by the transition probabilities pij(u,t)=P{xt=j∣xt−1=i}p_{ij}(u, t) = P\{x_t = j \mid x_{t-1} = i\}pij​(u,t)=P{xt​=j∣xt−1​=i}, which are continuous in uuu. The state is observed through outputs yty_tyt​ in a finite set YYY, with qij=P{yt=j∣xt=i}q_{ij} = P\{y_t = j \mid x_t = i\}qij​=P{yt​=j∣xt​=i}, conditionally independent given the states. The law of x1x_1x1​ is p1p^1p1. An instantaneous cost g(u,i,t)g(u, i, t)g(u,i,t), continuous in uuu, is paid at each time.

A control law chooses u(t)=c(η1,…,ηt,t)∈Uu(t) = c(\eta_1, \dots, \eta_t, t) \in Uu(t)=c(η1​,…,ηt​,t)∈U from the outputs observed so far, η(t)=(η1,…,ηt)\eta(t) = (\eta_1, \dots, \eta_t)η(t)=(η1​,…,ηt​). With u(t)u(t)u(t) moving xtx_txt​ to xt+1x_{t+1}xt+1​, a law determines the joint law of (x1,…,xN,y1,…,yN)(x_1, \dots, x_N, y_1, \dots, y_N)(x1​,…,xN​,y1​,…,yN​) and the expected cost

EL=E∑t=1Ng(u(t),xt,t).(2.6)EL = E \sum_{t=1}^N g(u(t), x_t, t). \tag{2.6}EL=Et=1∑N​g(u(t),xt​,t).(2.6)

Problem P.1 is to find an admissible law minimizing (2.6).

The conditional state distribution is wi(t)=P{xt=i∣η(t)}w_i(t) = P\{x_t = i \mid \eta(t)\}wi​(t)=P{xt​=i∣η(t)}. It is updated by Bayes' rule: with zj(u,w)i=∑sqij psi(u,t+1) wsz^j(u, w)_i = \sum_s q_{ij}\, p_{si}(u, t+1)\, w_szj(u,w)i​=∑s​qij​psi​(u,t+1)ws​ and ∥z∥=∑i∣zi∣\|z\| = \sum_i |z_i|∥z∥=∑i​∣zi​∣, the output ηt+1=j\eta_{t+1} = jηt+1​=j gives w(t+1)=zj(u(t),w(t))/∥zj(u(t),w(t))∥w(t+1) = z^j(u(t), w(t)) / \|z^j(u(t), w(t))\|w(t+1)=zj(u(t),w(t))/∥zj(u(t),w(t))∥, and ∥zj∥\|z^j\|∥zj∥ is the probability of that output. The cost-to-go Vk(w)V_k(w)Vk​(w) is the minimal expected cost of the steps k,…,Nk, \dots, Nk,…,N when xkx_kxk​ has distribution www, with VN+1=0V_{N+1} = 0VN+1​=0. Problem P.2 controls the process w(t)w(t)w(t) directly: a law chooses u(t)u(t)u(t) from w(1),…,w(t)w(1), \dots, w(t)w(1),…,w(t) to minimize E∑t=1N∑ig(u(t),i,t) wi(t)E\sum_{t=1}^N \sum_i g(u(t), i, t)\, w_i(t)E∑t=1N​∑i​g(u(t),i,t)wi​(t).

Formalization targets

Goal: Theorem 3

P.1 has a solution if and only if P.2 has one. For every solution (V,c0)(V, c^0)(V,c0) of the functional equation

Vk(w)=min⁡u∈U{∑ig(u,i,k) wi+∑jVk+1(zj(u,w)∥zj(u,w)∥)∥zj(u,w)∥},VN+1=0,(3.28)V_k(w) = \min_{u \in U} \Big\{ \sum_i g(u, i, k)\, w_i + \sum_j V_{k+1}\Big(\frac{z^j(u, w)}{\|z^j(u, w)\|}\Big) \|z^j(u, w)\| \Big\}, \qquad V_{N+1} = 0, \tag{3.28}Vk​(w)=u∈Umin​{i∑​g(u,i,k)wi​+j∑​Vk+1​(∥zj(u,w)∥zj(u,w)​)∥zj(u,w)∥},VN+1​=0,(3.28)

with c0(w,k)c^0(w, k)c0(w,k) attaining the minimum, the law

u(t)=c0(w(t),t)u(t) = c^0(w(t), t)u(t)=c0(w(t),t)

is optimal for P.1 and for P.2, among all admissible laws of each, and both minimal values equal Eη1V1(w(1))E_{\eta_1} V_1(w(1))Eη1​​V1​(w(1)).

Milestones

  1. (3.20)–(3.25): the conditional distributions obey the Bayes recursion, and ∥zj∥=P[yt+1=j∣η(t)]\|z^j\| = P[y_{t+1} = j \mid \eta(t)]∥zj∥=P[yt+1​=j∣η(t)].
  2. Theorem 1: the cost-to-go satisfies (3.28) with the minimum attained, and an optimal Markov law attains it.
  3. Theorem 2: a solution of (3.28) gives an optimal law for P.1 with value (3.29).
  4. Lemma 1: under u(t)=c(w(t),t)u(t) = c(w(t), t)u(t)=c(w(t),t), {w(t)}\{w(t)\}{w(t)} is a Markov process with transition probabilities P(y,Γ,u)=∑k∈K∥zk(u,y)∥P(y, \Gamma, u) = \sum_{k \in K} \|z^k(u, y)\|P(y,Γ,u)=∑k∈K​∥zk(u,y)∥.
  5. Proof of Theorem 3: the integral against this kernel is the sum in (3.28).

Significance

The result. Theorem 3 replaces a minimization over functions of ever longer measurement records with a recursion over a fixed space, the probability simplex over the states. Every exact and approximate POMDP algorithm starts from it: value iteration on beliefs, the piecewise-linear representation of Smallwood and Sondik, point-based methods. It also splits the controller in two. A filter computes w(t)w(t)w(t) in real time, and the function c0c^0c0 can be computed off-line. This is the decomposition the paper draws on p. 189, and it extends the linear-quadratic separation theorem to arbitrary finite chains.

Formalizing it. The theorem is proved. The platform has the reduction in Bäuerle and Rieder's discounted Borel model with an observable state component and rewards in extended reals. It does not have Åström's model: finite chains, time-dependent transition matrices, an unobservable state, costs, and laws of the raw output history. This mission formalizes Åström's statements as he gives them. The cost (2.6) is defined from the joint law of states and outputs, and the comparison classes are all laws of the outputs (P.1) and all laws of the distribution history (P.2). The finite setting makes every expectation a finite sum, so a complete development needs no measure theory.

Difficulty

The obvious argument is backward induction on the conditional distributions. The difficulty is that w(t)w(t)w(t) depends on the controls already used, so it is not given in advance: the state of the reduced problem is produced by the law being optimized. It has to be shown that the expected cost of an arbitrary law of the outputs, computed from the joint law, splits as the reduced recursion says. In particular, laws that use more of the record than w(t)w(t)w(t) must gain nothing. Restricting the comparison class to laws of the form c(w(t),t)c(w(t), t)c(w(t),t) assumes this conclusion.

A second difficulty is attainment. "Min" in (3.28) and "has a solution" presuppose that minima over UUU are attained, which needs continuity of Vk+1V_{k+1}Vk+1​ on the simplex. The weights ∥zj(u,w)∥\|z^j(u, w)\|∥zj(u,w)∥ can vanish, and then the update zj/∥zj∥z^j/\|z^j\|zj/∥zj∥ is undefined.

Formalization scope

States and outputs are finite types, St and Obs, with the chain given by the structure Model. Controls are Fin r → ℝ, and UUU is compact and nonempty. The law p1p^1p1 of x1x_1x1​ is the datum in place of the paper's law of x0x_0x0​, since no control u(0)u(0)u(0) exists. The transition from xtx_txt​ to xt+1x_{t+1}xt+1​ uses u(t)u(t)u(t) and the matrix p(u(t),t+1)p(u(t), t+1)p(u(t),t+1). Times 1,…,N1, \dots, N1,…,N are indexed by Fin N as 0,…,N−10, \dots, N-10,…,N−1.

The norm ∥⋅∥\|\cdot\|∥⋅∥ is the ℓ1\ell^1ℓ1 norm l1, not Mathlib's sup norm. Conditional distributions are ratios of path sums, condState, and are claimed only on output histories of positive probability. When ∥zj∥=0\|z^j\| = 0∥zj∥=0 the update is the zero vector and is always multiplied by 000.

The cost-to-go costToGo is an infimum over admissible tail laws. Its index set is nonempty and the costs are bounded below, so the real infimum is a true infimum. It is never defined through (3.28), since that would make Theorem 1 circular. The P.2 functional sums branch by branch over the outputs, with weights ∥zj∥\|z^j\|∥zj∥. "Given by Theorem 1" is read as "c0(w,k)∈Uc^0(w, k) \in Uc0(w,k)∈U attains the minimum in (3.28)" (IsSolution328).

The goal is not the bare equivalence of solvability. In this compact, continuous, finite setting both problems always have solutions, so that sentence alone is trivially true. The goal also requires the law c0(w(t),t)c^0(w(t), t)c0(w(t),t) to be optimal in both problems, against every admissible law, with equal minimal values.

Reusable beyond this mission are the finite POMDP model, the joint path law, the Bayes filter and the belief-MDP kernel. Welcome contributions include proofs of the milestones, the continuity of VkV_kVk​ on the simplex, and existence of solutions of (3.28).

Selected references

  • K. J. Åström, Optimal control of Markov processes with incomplete state information, Journal of Mathematical Analysis and Applications 10(1):174–205, 1965. https://doi.org/10.1016/0022-247X(65)90154-X
  • R. D. Smallwood and E. J. Sondik, The optimal control of partially observable Markov processes over a finite horizon, Operations Research 21(5):1071–1088, 1973. https://doi.org/10.1287/opre.21.5.1071
  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978, Chapter 10. https://web.mit.edu/dimitrib/www/soc.html
  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Springer, 2011, Chapter 5. https://doi.org/10.1007/978-3-642-18324-9
  • P. D. Joseph and J. T. Tou, On linear control theory, Transactions of the AIEE, Part II 80(4):193–196, 1961. https://doi.org/10.1109/TAI.1961.6371743
10 thms2 active usersReviewed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Computational Issues in an Infinite-Horizon, Multiechelon Inventory Model 2: The Decomposition Policy Is Average-Cost OptimalResearch Paper

Motivation

Many supply chains move stock through a central warehouse to the retail locations that face customer demand. Deciding how much the warehouse should order from outside, and how much it should ship to each retailer and when, is a stochastic dynamic program whose state contains every stock level and every outstanding order. Exact solution is out of reach except for the smallest systems, so structural results that reduce such a problem to single-location problems matter in practice.

Timeline.

  • Clark and Scarf (Management Science 1960) showed that the finite-horizon, discounted problem of a serial system decomposes: an optimal policy is obtained by solving the most downstream location alone, charging its shortfalls to the upstream location through an induced penalty cost, and then solving the upstream location as a single-location problem with that penalty.
  • Iglehart (Management Science 1963, and a 1963 chapter in Multistage Inventory Models and Techniques) established the infinite-horizon theory of the single-location problem with a fixed order cost: optimality of stationary (s,S)(s,S)(s,S) policies under discounted and average costs, and the convergence of value iteration.
  • Federgruen and Zipkin (Operations Research 1984) carried the decomposition to the infinite horizon for a depot and one retail outlet, under discounted costs (Theorem 1) and under the average-cost criterion (Theorem 2). This mission is about the average-cost case, §3 of that paper.

Setting

Time is divided into periods. A depot orders from an outside supplier with lead time L≥0L \ge 0L≥0 and supplies a retail outlet with shipment lead time l≥0l \ge 0l≥0. The demand uuu in each period is a nonnegative random variable with law ν\nuν and finite mean μ\muμ; demands in different periods are independent and identically distributed. Unmet demand at the outlet is backordered.

The state is (y~,vd,xr)(\tilde y, v^d, x^r)(y~​,vd,xr):

  • y~=(y1,…,yL)\tilde y = (y^1,\dots,y^L)y~​=(y1,…,yL) lists the orders placed 1,…,L1,\dots,L1,…,L periods ago;
  • vdv^dvd is the depot's echelon inventory, its own stock plus the outlet's inventory position;
  • xrx^rxr is the outlet's inventory position, its stock plus shipments in transit.

In each period the decision is an order y≥0y \ge 0y≥0 and a shipment z≥0z \ge 0z≥0 with xr+z≤vd+yLx^r + z \le v^d + y^Lxr+z≤vd+yL, where yLy^LyL is the order arriving now. The state then moves to ((y,y1,…,yL−1), vd+yL−u, xr+z−u)((y, y^1,\dots,y^{L-1}),\, v^d + y^L - u,\, x^r + z - u)((y,y1,…,yL−1),vd+yL−u,xr+z−u).

Costs are a fixed order cost KKK, proportional order and shipment rates cdc^dcd and crc^rcr, a holding rate hdh^dhd on system inventory, an extra holding rate hrh^rhr at the outlet and a backorder penalty rate prp^rpr. After the paper's accounting transformation, the one-period cost is

cd(y)+D(vd+yL)+crz+R(xr+z),c^d(y) + D(v^d + y^L) + c^r z + R(x^r + z),cd(y)+D(vd+yL)+crz+R(xr+z),

with cd(y)=K+cdyc^d(y) = K + c^d ycd(y)=K+cdy for y>0y > 0y>0 and cd(0)=0c^d(0) = 0cd(0)=0, D(v)=hdvD(v) = h^d vD(v)=hdv, and, at α=1\alpha = 1α=1,

R(x)=−hd(x−lμ)+prE[u(l+1)−x]++(hd+hr)E[x−u(l+1)]+,R(x) = -h^d(x - l\mu) + p^r E[u^{(l+1)} - x]^+ + (h^d + h^r) E[x - u^{(l+1)}]^+ ,R(x)=−hd(x−lμ)+prE[u(l+1)−x]++(hd+hr)E[x−u(l+1)]+,

where u(l+1)u^{(l+1)}u(l+1) is the demand over l+1l + 1l+1 periods. The critical number xr∗x^{r*}xr∗ is a minimizer of RRR. The stationary induced penalty is P(x)=R(x)−R(xr∗)P(x) = R(x) - R(x^{r*})P(x)=R(x)−R(xr∗) for x<xr∗x < x^{r*}x<xr∗ and 000 otherwise.

For a policy π\piπ and initial state sss, Bn(s∣π)B_n(s \mid \pi)Bn​(s∣π) is the expected cost of the first nnn periods and B(s∣π)=lim sup⁡nBn(s∣π)/nB(s \mid \pi) = \limsup_n B_n(s \mid \pi)/nB(s∣π)=limsupn​Bn​(s∣π)/n is the average cost. Problem IH asks for a policy minimizing B(s∣⋅)B(s\mid\cdot)B(s∣⋅) from every state. The depot problem IHd^dd has states (y~,vd)(\tilde y, v^d)(y~​,vd), orders y≥0y \ge 0y≥0 and one-period cost cd(y)+D(vd+yL)+P(vd+yL)c^d(y) + D(v^d + y^L) + P(v^d + y^L)cd(y)+D(vd+yL)+P(vd+yL). Its minimal average cost is ada^dad. The outlet problem has states xrx^rxr, shipments z≥0z \ge 0z≥0 and one-period cost crz+R(xr+z)c^r z + R(x^r + z)crz+R(xr+z). The policy π∗\pi^*π∗ orders by an optimal stationary policy of IHd^dd and ships z=max⁡(0,min⁡(xr∗,vd+yL)−xr)z = \max(0, \min(x^{r*}, v^d + y^L) - x^r)z=max(0,min(xr∗,vd+yL)−xr): up to the critical number if the depot has the stock, otherwise as much as it has.

Formalization targets

Goal: Theorem 2 (p. 828)

With α=1\alpha = 1α=1 and cd=cr=0c^d = c^r = 0cd=cr=0, the policy π∗\pi^*π∗ is measurable and feasible from every physical state, and for every such state sss and every measurable feasible policy π\piπ,

B(s∣π∗)≤B(s∣π).B(s \mid \pi^*) \le B(s \mid \pi).B(s∣π∗)≤B(s∣π).

Milestones

  • Property (f) (p. 824): gnr(x)/n→Br(x)=crμ+R(xr∗)g^r_n(x)/n \to B^r(x) = c^r\mu + R(x^{r*})gnr​(x)/n→Br(x)=crμ+R(xr∗) for the outlet program gnrg^r_ngnr​.
  • Eq. (4) (p. 823), for 0≤α≤10 \le \alpha \le 10≤α≤1: g^n(y~,vd,xr)=g^nd(y~,vd)+gnr(xr)\hat g_n(\tilde y, v^d, x^r) = \hat g^d_n(\tilde y, v^d) + g^r_n(x^r)g^​n​(y~​,vd,xr)=g^​nd​(y~​,vd)+gnr​(xr).
  • §3 claims (p. 828): with cr=0c^r = 0cr=0, xr∗x^{r*}xr∗ is the critical number of every period, gnr(x)=nR(xr∗)g^r_n(x) = nR(x^{r*})gnr​(x)=nR(xr∗) for x≤xr∗x \le x^{r*}x≤xr∗, P^n=P\hat P_n = PP^n​=P, g^nd=gnd\hat g^d_n = g^d_ng^​nd​=gnd​ and g^n=gn\hat g_n = g_ng^​n​=gn​.
  • §3 display (p. 828): g^n(y~,vd,xr)/n→a=ad+R(xr∗)\hat g_n(\tilde y, v^d, x^r)/n \to a = a^d + R(x^{r*})g^​n​(y~​,vd,xr)/n→a=ad+R(xr∗).
  • Lemma 5 (p. 828): B(s∣π∗)=aB(s \mid \pi^*) = aB(s∣π∗)=a.
  • Proof of Theorem 2 (p. 828): g^n(s)≤Bn(s∣π)\hat g_n(s) \le B_n(s \mid \pi)g^​n​(s)≤Bn​(s∣π) for every measurable feasible π\piπ.

Significance

The result. Theorem 2 reduces an average-cost problem with a multidimensional state to two problems with smaller states: a single-location (s,S)(s,S)(s,S)-type problem for the depot with a known convex penalty PPP, and a myopic critical-number rule for the outlet. The optimal system cost is the sum ad+ara^d + a^rad+ar of their optimal costs. The paper uses this to compute optimal policies with standard single-location software, and its §5 builds heuristics for several outlets on the same decomposition.

Formalizing it. The result is proved in the paper; nothing here is open. To our knowledge none of it has been machine-checked. A formal proof has to make precise what the paper leaves to "standard arguments":

  • the class of measurable history-dependent policies;
  • the expected costs of policies with unbounded one-period costs;
  • the passage from history-dependent to Markov policies;
  • the transient of π∗\pi^*π∗ when the outlet starts above its critical number.

Difficulty

The obvious argument would identify the average-cost optimal value through an average-cost optimality equation on the full state space and verify that π∗\pi^*π∗ attains it. No such equation is available here. The state space is unbounded, the one-period costs are unbounded both above and below in the state, and the depot's fixed cost makes its value functions KKK-convex rather than convex.

The paper's route avoids that equation but needs three separate facts:

  • value iteration for the whole system, divided by nnn, converges to ad+ara^d + a^rad+ar, which rests on Iglehart's convergence for the depot and on the stationarity of the penalties when cr=0c^r = 0cr=0;
  • the finite-horizon value bounds the cost of every history-dependent policy, not only of Markov ones;
  • π∗\pi^*π∗ achieves aaa from every state, including states with xr>xr∗x^r > x^{r*}xr>xr∗, where it does not ship at all until demand has brought the outlet below its critical number.

Formalization scope

  • Representation. A state is a triple in (Fin L→R)×R×R(\mathrm{Fin}\,L \to \mathbb R) \times \mathbb R \times \mathbb R(FinL→R)×R×R. For L=0L = 0L=0 the order placed now arrives at once. Time runs forward in Lean; the paper numbers periods backward. Finite-horizon value functions keep the paper's index nnn (periods remaining). Each "min" of programs (1), (2), (3), (5) is a real infimum over the constraint set.
  • Policies and costs. Policies are deterministic, history-dependent and measurable, and they must be feasible along every demand realization. BnB_nBn​ is an extended real (expected positive part minus expected negative part of each period's cost). BBB is a lim sup⁡\limsuplimsup in the extended reals, and the optimal average costs are infima in the extended reals.
  • Standing assumptions (p. 821):
    • K,hd,hr,pr>0K, h^d, h^r, p^r > 0K,hd,hr,pr>0;
    • demands i.i.d., nonnegative, without atoms ("for convenience we shall assume uuu is continuous") and with finite mean.
  • Added hypotheses.
    • States are restricted to the physical ones, y~≥0\tilde y \ge 0y~​≥0 and xr≤vdx^r \le v^dxr≤vd.
    • cd=cr=0c^d = c^r = 0cd=cr=0. The paper reduces to this case "without loss of generality", on the grounds that average proportional costs equal cdμc^d\mucdμ and crμc^r\mucrμ "under all interesting policies" (p. 827). That class is never specified, and the proofs are written for cd=cr=0c^d = c^r = 0cd=cr=0. The general-cost version is the paper's informal reduction and is not part of the goal.
    • Eq. (4) is stated for 0≤α≤10 \le \alpha \le 10≤α≤1 with K,hd,hr,pr>0K, h^d, h^r, p^r > 0K,hd,hr,pr>0 and cd,cr≥0c^d, c^r \ge 0cd,cr≥0 (so that it covers §3's case cd=cr=0c^d = c^r = 0cd=cr=0), and with the relation αlpr≥(1−αl)hd\alpha^l p^r \ge (1 - \alpha^l)h^dαlpr≥(1−αl)hd, which the paper names on p. 827; it holds automatically at α=1\alpha = 1α=1.
  • Ruling out trivial readings.
    • π∗\pi^*π∗ is built from a depot rule σd\sigma^dσd assumed optimal for IHd^dd from every depot state. Its existence is Iglehart's theorem, cited and not formalized; no (s,S)(s,S)(s,S) form is required.
    • The goal quantifies over all measurable feasible policies, and π∗\pi^*π∗'s own feasibility is a conclusion, so a vacuous policy class cannot satisfy it.
    • A sorry-free check in the workspace exhibits an instance (exponential demand) meeting every standing hypothesis other than the optimality of σd\sigma^dσd, including the existence of xr∗x^{r*}xr∗.
  • Reusable infrastructure. The definitions of history-dependent policies and of extended-real expected and average costs for controlled processes driven by i.i.d. real noise are generic, and could be reused for other inventory and queueing models. Contributions are welcome on any milestone, and especially on a formal version of the Markov reduction (Dynkin–Yushkevich III.1) for this setting and on Iglehart's convergence of gnd/ng^d_n/ngnd​/n.

Selected references

  • A. Federgruen and P. Zipkin, Computational Issues in an Infinite-Horizon, Multiechelon Inventory Model, Operations Research 32(4):818–836, 1984. https://doi.org/10.1287/opre.32.4.818
  • A. J. Clark and H. Scarf, Optimal Policies for a Multi-Echelon Inventory Problem, Management Science 6(4):475–490, 1960. https://doi.org/10.1287/mnsc.6.4.475
  • D. L. Iglehart, Optimality of (s, S) Policies in the Infinite Horizon Dynamic Inventory Problem, Management Science 9(2):259–267, 1963. https://doi.org/10.1287/mnsc.9.2.259
  • D. L. Iglehart, Dynamic Programming and Stationary Analyses of Inventory Problems, Chapter 1 in H. Scarf, D. Gilford and M. Shelly (eds.), Multistage Inventory Models and Techniques, Stanford University Press, 1963.
  • E. B. Dynkin and A. A. Yushkevich, Controlled Markov Processes, Springer, 1979.
  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978.
11 thms1 active userReviewed
🏆Completed
Operations ResearchProbability·Captain: mikedeng1

Computational Issues in an Infinite-Horizon, Multiechelon Inventory Model 3: A Closed Form for the Induced Penalty Cost under Normal DemandResearch Paper

Motivation

Multiechelon inventory theory studies supply systems in which stock is held at several levels: here, a depot that orders from an outside supplier and a retail outlet that is replenished from the depot and faces random customer demand. The question is how much to order and ship in each period so as to minimize expected holding, shortage and ordering costs over an infinite horizon. Clark and Scarf (Management Science, 1960) showed that the finite-horizon problem of a serial system decomposes into single-location problems linked by an induced penalty cost. Federgruen and Zipkin (Operations Research 32(4), 1984) extended the decomposition to the infinite horizon under discounted and average costs, and then asked what it costs to compute an optimal policy.

In the reduced single-location problem the only nonlinear part of the one-period cost is the expected induced penalty PLP^LPL. Any algorithm for the reduced problem (Veinott–Wagner type policy computations, for instance) evaluates PLP^LPL many times. In general each evaluation is a numerical integral. Section 4 of the paper shows that when demand is normal, PLP^LPL has a closed form in the univariate and bivariate standard normal distribution functions. This mission formalizes that closed form, eq. (13) on p. 830.

Setting

Time is discrete. One-period demand is u∼N(μ,σ2)u\sim N(\mu,\sigma^2)u∼N(μ,σ2) with σ>0\sigma>0σ>0, independent across periods. For i≥1i\ge1i≥1, u(i)u^{(i)}u(i) is the total demand over iii periods. It is normal with mean μ(i)=iμ\mu^{(i)}=i\muμ(i)=iμ and standard deviation σ(i)=i1/2σ\sigma^{(i)}=i^{1/2}\sigmaσ(i)=i1/2σ, density f(i)f^{(i)}f(i) and cdf F(i)F^{(i)}F(i). The shipment lead time from depot to outlet is l≥0l\ge0l≥0 and the order lead time from the supplier is L≥1L\ge1L≥1. The cost factors are a system-wide holding cost hd>0h^d>0hd>0, a retailer holding cost hr>0h^r>0hr>0 and a retailer shortage penalty pr>0p^r>0pr>0. Write ps=hd+prp^s=h^d+p^rps=hd+pr. Costs are average costs, so the discount factor is α=1\alpha=1α=1 throughout.

The retailer's one-period cost (p. 822) is

R(x)=−hd(x−μ(l))+prE[u(l+1)−x]++(hd+hr)E[x−u(l+1)]+.R(x)=-h^d(x-\mu^{(l)})+p^rE[u^{(l+1)}-x]^++(h^d+h^r)E[x-u^{(l+1)}]^+ .R(x)=−hd(x−μ(l))+prE[u(l+1)−x]++(hd+hr)E[x−u(l+1)]+.

The critical number xr∗x^{r*}xr∗ is a global minimizer of RRR (property (b), p. 824). The induced penalty cost is P(x)=0P(x)=0P(x)=0 for x≥xr∗x\ge x^{r*}x≥xr∗ and P(x)=R(x)−R(xr∗)P(x)=R(x)-R(x^{r*})P(x)=R(x)−R(xr∗) for x<xr∗x<x^{r*}x<xr∗. Its expectation over the order lead time is

PL(x)=E P[x−u(L)](eq. (10)).P^L(x)=E\,P[x-u^{(L)}]\qquad\text{(eq. (10))}.PL(x)=EP[x−u(L)](eq. (10)).

Let Φ\PhiΦ and ϕ\phiϕ be the standard normal cdf and density, Θ(z)=zΦ(z)+ϕ(z)\Theta(z)=z\Phi(z)+\phi(z)Θ(z)=zΦ(z)+ϕ(z), and Φ(ξ1,ξ2;ρ)\Phi(\xi_1,\xi_2;\rho)Φ(ξ1​,ξ2​;ρ) the cdf of a bivariate normal pair with standard normal marginals and correlation ρ\rhoρ. The paper defines (p. 830)

τ1(x)=−x−(xr∗+μ(L))σ(L),τ2(x)=x−μ(L+l+1)σ(L+l+1),νr∗=xr∗−μ(l+1)σ(l+1),\tau_1(x)=-\frac{x-(x^{r*}+\mu^{(L)})}{\sigma^{(L)}},\quad \tau_2(x)=\frac{x-\mu^{(L+l+1)}}{\sigma^{(L+l+1)}},\quad \nu^{r*}=\frac{x^{r*}-\mu^{(l+1)}}{\sigma^{(l+1)}},τ1​(x)=−σ(L)x−(xr∗+μ(L))​,τ2​(x)=σ(L+l+1)x−μ(L+l+1)​,νr∗=σ(l+1)xr∗−μ(l+1)​, τ3(x)=−x−(xr∗+μ(L))−[σ(L)/σ(l+1)]2[xr∗−μ(l+1)]σ(L)σ(L+l+1)/σ(l+1),\tau_3(x)=-\frac{x-(x^{r*}+\mu^{(L)})-[\sigma^{(L)}/\sigma^{(l+1)}]^2[x^{r*}-\mu^{(l+1)}]}{\sigma^{(L)}\sigma^{(L+l+1)}/\sigma^{(l+1)}},τ3​(x)=−σ(L)σ(L+l+1)/σ(l+1)x−(xr∗+μ(L))−[σ(L)/σ(l+1)]2[xr∗−μ(l+1)]​, ϵ1(x)=Φ[τ3(x)]ϕ[τ2(x)]σ(L+l+1),ϵ2(x)=Φ(νr∗)ϕ[τ1(x)]σ(L),ι(x)=σ(L)Θ[τ1(x)],\epsilon_1(x)=\frac{\Phi[\tau_3(x)]\phi[\tau_2(x)]}{\sigma^{(L+l+1)}},\qquad \epsilon_2(x)=\frac{\Phi(\nu^{r*})\phi[\tau_1(x)]}{\sigma^{(L)}},\qquad \iota(x)=\sigma^{(L)}\Theta[\tau_1(x)],ϵ1​(x)=σ(L+l+1)Φ[τ3​(x)]ϕ[τ2​(x)]​,ϵ2​(x)=σ(L)Φ(νr∗)ϕ[τ1​(x)]​,ι(x)=σ(L)Θ[τ1​(x)], κ(x)=σ(l+1)Θ(νr∗)Φ[τ1(x)]−{[σ(L+l+1)]2ϵ1(x)−[σ(L)]2ϵ2(x)}−[x−μ(L+l+1)] Φ[τ1(x),τ2(x);ρ],\kappa(x)=\sigma^{(l+1)}\Theta(\nu^{r*})\Phi[\tau_1(x)]-\{[\sigma^{(L+l+1)}]^2\epsilon_1(x)-[\sigma^{(L)}]^2\epsilon_2(x)\}-[x-\mu^{(L+l+1)}]\,\Phi[\tau_1(x),\tau_2(x);\rho],κ(x)=σ(l+1)Θ(νr∗)Φ[τ1​(x)]−{[σ(L+l+1)]2ϵ1​(x)−[σ(L)]2ϵ2​(x)}−[x−μ(L+l+1)]Φ[τ1​(x),τ2​(x);ρ],

with ρ=−σ(L)/σ(L+l+1)\rho=-\sigma^{(L)}/\sigma^{(L+l+1)}ρ=−σ(L)/σ(L+l+1).

Formalization targets

Goal: eq. (13)

For every real xxx,

PL(x)=ps ι(x)−(ps+hr) κ(x).P^L(x)=p^s\,\iota(x)-(p^s+h^r)\,\kappa(x).PL(x)=psι(x)−(ps+hr)κ(x).

This is an exact identity for every admissible parameter value. It holds with no constants left free.

Milestones

The milestones follow the paper's outline of the derivation on pp. 829–831:

  1. eq. (11), R(x)=ps[μ(l+1)−x]+(ps+hr)∫−∞xF(l+1)(t) dt−hdμR(x)=p^s[\mu^{(l+1)}-x]+(p^s+h^r)\int_{-\infty}^xF^{(l+1)}(t)\,dt-h^d\muR(x)=ps[μ(l+1)−x]+(ps+hr)∫−∞x​F(l+1)(t)dt−hdμ;
  2. eq. (12), PL(x)=∫x−xr∗∞[R(x−t)−R(xr∗)]f(L)(t) dtP^L(x)=\int_{x-x^{r*}}^\infty[R(x-t)-R(x^{r*})]f^{(L)}(t)\,dtPL(x)=∫x−xr∗∞​[R(x−t)−R(xr∗)]f(L)(t)dt;
  3. eq. (14), PL′(x)=−psΦ[τ1(x)]+(ps+hr)∫x−xr∗∞F(l+1)(x−t)f(L)(t) dtP^{L\prime}(x)=-p^s\Phi[\tau_1(x)]+(p^s+h^r)\int_{x-x^{r*}}^\infty F^{(l+1)}(x-t)f^{(L)}(t)\,dtPL′(x)=−psΦ[τ1​(x)]+(ps+hr)∫x−xr∗∞​F(l+1)(x−t)f(L)(t)dt;
  4. eq. (15), the same derivative with the integral replaced by Φ[τ1(x),τ2(x);ρ]\Phi[\tau_1(x),\tau_2(x);\rho]Φ[τ1​(x),τ2​(x);ρ];
  5. PL(x)→0P^L(x)\to0PL(x)→0 as x→∞x\to\inftyx→∞, hence PL(x)=−∫x∞PL′(t) dtP^L(x)=-\int_x^\infty P^{L\prime}(t)\,dtPL(x)=−∫x∞​PL′(t)dt;
  6. ι′(x)=−Φ[τ1(x)]\iota'(x)=-\Phi[\tau_1(x)]ι′(x)=−Φ[τ1​(x)] and ι(x)→0\iota(x)\to0ι(x)→0;
  7. the two conditional-normal identities, which give Φ[τ3(x)]\Phi[\tau_3(x)]Φ[τ3​(x)] and Φ(νr∗)\Phi(\nu^{r*})Φ(νr∗);
  8. ddxΦ[τ1(x),τ2(x);ρ]=ϵ1(x)−ϵ2(x)\frac{d}{dx}\Phi[\tau_1(x),\tau_2(x);\rho]=\epsilon_1(x)-\epsilon_2(x)dxd​Φ[τ1​(x),τ2​(x);ρ]=ϵ1​(x)−ϵ2​(x);
  9. and 10. the formulas for ϵ1′\epsilon_1'ϵ1′​ and ϵ2′\epsilon_2'ϵ2′​;
  10. κ′(x)=−Φ[τ1(x),τ2(x);ρ]\kappa'(x)=-\Phi[\tau_1(x),\tau_2(x);\rho]κ′(x)=−Φ[τ1​(x),τ2​(x);ρ] and κ(x)→0\kappa(x)\to0κ(x)→0.

Two side remarks of p. 830 are also included: Θ′=Φ\Theta'=\PhiΘ′=Φ, and the simplified form of τ3\tau_3τ3​.

Significance

The result. Under normal demand, (13) replaces the numerical integral (12) with a few evaluations of Φ\PhiΦ, ϕ\phiϕ and the bivariate normal cdf, all available in standard numerical libraries. Together with the decomposition results of Sections 1–3 of the paper, it makes the policy computation for the two-echelon system with normal demand no harder than a single-location computation with an explicit cost function. The same functions reappear in the paper's Section 5 for several retail outlets, after a reinterpretation of σ(l+1)\sigma^{(l+1)}σ(l+1).

Formalizing it. The paper proves (13) only in outline: it calls the derivation "an elementary integration problem, but … sufficiently involved to warrant an outline" and leaves "tedious algebra" and "more algebra" to the reader. A machine-checked proof turns that outline into a complete argument, including the analytic steps the outline passes over: differentiation under the integral sign, the limits at +∞+\infty+∞, and the identification of an integral of normal densities with a bivariate normal probability. To our knowledge no formal proof of (13) exists, and no bivariate normal distribution function is on the platform yet.

Difficulty

The obvious approach is to substitute (11) into (12) and integrate. The result is a double integral of normal densities over a region bounded by a line, and it does not reduce to univariate functions. The paper's route is to differentiate first, identify the derivative (14) as a probability for the correlated pair (u(L),u(L)+u(l+1))(u^{(L)},u^{(L)}+u^{(l+1)})(u(L),u(L)+u(l+1)), and then recover PLP^LPL by integrating from +∞+\infty+∞. That route needs three things: justification for differentiating under the integral in (12), whose integrand has a kink at t=x−xr∗t=x-x^{r*}t=x−xr∗; control of the limits at +∞+\infty+∞; and the conditional-normal identities, which involve conditioning on a null event and so must be handled through densities. The verification of κ′\kappa'κ′ is a long computation with Θ\ThetaΘ, ϵ1\epsilon_1ϵ1​ and ϵ2\epsilon_2ϵ2​, in which every constant matters.

Formalization scope

Everything lives in the namespace FZEchelon.NormalDemand. The model data form the structure Data (fields μ,σ,hd,hr,pr,l,L,xr∗\mu,\sigma,h^d,h^r,p^r,l,L,x^{r*}μ,σ,hd,hr,pr,l,L,xr∗). The law of u(i)u^{(i)}u(i) is the platform's normal demand law InventoryControl.newsboyDemand with mean iμi\muiμ and standard deviation i σ\sqrt i\,\sigmai​σ. Expectations are Bochner integrals, and improper integrals are set integrals over Set.Ioi/Set.Iic. Φ\PhiΦ is cdf (gaussianReal 0 1). The bivariate cdf is the iterated integral of the explicit bivariate density over a lower-left quadrant (meaningful for ∣ρ∣<1|\rho|<1∣ρ∣<1; here ρ∈(−1,0)\rho\in(-1,0)ρ∈(−1,0)). Derivatives are HasDerivAt and limits are Tendsto … atTop (𝓝 0).

Standing hypotheses of every theorem: σ>0\sigma>0σ>0; hd,hr,pr>0h^d,h^r,p^r>0hd,hr,pr>0 (p. 821); L≥1L\ge1L≥1; and xr∗x^{r*}xr∗ minimizes RRR. Two of these are added to the page and disclosed. σ>0\sigma>0σ>0 is needed because every τ\tauτ divides by some σ(i)\sigma^{(i)}σ(i). L≥1L\ge1L≥1 is needed because σ(0)=0\sigma^{(0)}=0σ(0)=0, and the paper treats zero order lead time separately (p. 819). Demand is exactly normal, as in §4, which acknowledges that this violates u≥0u\ge0u≥0 and ignores the objection. No nonnegativity, truncation or approximation enters. The goal fixes α=1\alpha=1α=1, the average-cost case the section restricts to. The discounted analogue is not part of this mission.

A trivializing formalization is ruled out: every Bochner integral in the statements has an integrable integrand, since integrands grow at most linearly and the normal law has all moments. No division by a zero standard deviation can occur under the hypotheses. A sorry-free check in the workspace shows that all hypotheses hold together, with a minimizer xr∗x^{r*}xr∗ of RRR proved to exist.

Needed infrastructure: properties of gaussianReal (moments, convolution of independent normals), differentiation of parametric integrals, and a bivariate normal distribution function with its partial derivatives. A reusable treatment of the bivariate normal cdf, linking the density form used here to Mathlib's multivariateGaussian, would be a contribution of independent value. Proofs of individual milestones are welcome in any order.

Selected references

  • A. Federgruen and P. Zipkin, Computational Issues in an Infinite-Horizon, Multiechelon Inventory Model, Operations Research 32(4):818–836, 1984. https://doi.org/10.1287/opre.32.4.818
  • A. J. Clark and H. Scarf, Optimal Policies for a Multi-Echelon Inventory Problem, Management Science 6(4):475–490, 1960. https://doi.org/10.1287/mnsc.6.4.475
  • A. F. Veinott Jr. and H. M. Wagner, Computing Optimal (s, S) Inventory Policies, Management Science 11(5):525–552, 1965. https://doi.org/10.1287/mnsc.11.5.525
17 thms3 active usersReviewed
Dynamic ProgrammingOperations ResearchProbability·Captain: mikedeng1

Computational Issues in an Infinite-Horizon, Multiechelon Inventory Model 1: The Decomposition Policy Is Optimal for Discounted CostsResearch Paper

Motivation

Distribution systems often move stock in two stages. A depot orders from an outside supplier and ships to a retail outlet, where customer demand arrives and unmet demand is backordered. Stock held anywhere costs money, a shortage at the outlet costs more, and each order carries a fixed charge. The basic question is what ordering and shipping rule minimizes total cost.

Clark and Scarf (Management Science 6, 1960) showed that over a finite planning horizon this two-echelon problem decomposes. The outlet solves its own single-location problem, and the depot solves a second single-location problem in which the outlet's shortfall is charged through an induced penalty cost. Federgruen and Zipkin (Operations Research 32(4), 1984) carried the decomposition to the infinite horizon. In the infinite-horizon problems the induced penalty becomes stationary and explicit, which makes the system computable with single-location tools. This mission covers the discounted-cost half of that paper (§§1–2).

Timeline:

  • 1960: Clark and Scarf, finite-horizon decomposition, with a nonstationary penalty P^n\hat P_nP^n​ built from the outlet's optimal cost functions.
  • 1963: Iglehart (Management Science 9) proved, for the single-location discounted problem, that the finite-horizon value functions converge uniformly and that an (s,S)(s,S)(s,S) policy is optimal.
  • 1984: Federgruen and Zipkin combine the two results and prove that a stationary policy built from the decomposition is optimal for the infinite-horizon discounted and average-cost problems.

Setting

Time is discrete. The cost data are a fixed order cost KKK, an order cost rate cdc^dcd, a shipment cost rate crc^rcr, a holding cost rate hdh^dhd on all system stock, an extra holding cost rate hrh^rhr at the outlet, and a backorder penalty rate prp^rpr; all are positive. The discount factor α\alphaα satisfies 0≤α<10 \le \alpha < 10≤α<1, shipments take lll periods and orders take LLL periods. One-period demands are independent copies of a nonnegative continuous random variable uuu with mean μ<∞\mu < \inftyμ<∞, and u(i)u^{(i)}u(i) denotes the sum of iii copies.

The state is (y^,vd,xr)(\hat y, v^d, x^r)(y^​,vd,xr):

  • y^=(y1,…,yL)\hat y = (y^1, \dots, y^L)y^​=(y1,…,yL) lists the outstanding orders, yiy^iyi placed iii periods ago;
  • vdv^dvd is the depot's echelon inventory (its own stock plus xrx^rxr);
  • xrx^rxr is the outlet's stock plus shipments in transit.

An action is an order y≥0y \ge 0y≥0 and a shipment z≥0z \ge 0z≥0 with xr+z≤vd+yLx^r + z \le v^d + y^Lxr+z≤vd+yL. With demand uuu, the next state is ((y,y1,…,yL−1),vd+yL−u,xr+z−u)((y, y^1, \dots, y^{L-1}), v^d + y^L - u, x^r + z - u)((y,y1,…,yL−1),vd+yL−u,xr+z−u). The one-period cost is

cd(y)+hd(vd+yL)+crz+R(xr+z),c^d(y) + h^d(v^d + y^L) + c^r z + R(x^r + z),cd(y)+hd(vd+yL)+crz+R(xr+z),

where cd(y)=K+cdyc^d(y) = K + c^d ycd(y)=K+cdy for y>0y > 0y>0, cd(0)=0c^d(0) = 0cd(0)=0, and

R(x)=αl{−hd(x−lμ)+prE[u(l+1)−x]++(hd+hr)E[x−u(l+1)]+}.R(x) = \alpha^l\{-h^d(x - l\mu) + p^r E[u^{(l+1)} - x]^+ + (h^d + h^r)E[x - u^{(l+1)}]^+\}.R(x)=αl{−hd(x−lμ)+prE[u(l+1)−x]++(hd+hr)E[x−u(l+1)]+}.

Bα(s∣π)B^\alpha(s \mid \pi)Bα(s∣π) is the expected total discounted cost of a policy π\piπ from state sss.

The critical number xr∗x^{r*}xr∗ minimizes (1−α)crx+R(x)(1-\alpha)c^r x + R(x)(1−α)crx+R(x). The stationary induced penalty is P(x)=0P(x) = 0P(x)=0 for x≥xr∗x \ge x^{r*}x≥xr∗ and P(x)=(1−α)cr(x−xr∗)+R(x)−R(xr∗)P(x) = (1-\alpha)c^r(x - x^{r*}) + R(x) - R(x^{r*})P(x)=(1−α)cr(x−xr∗)+R(x)−R(xr∗) otherwise. The depot problem IHαdIH^d_\alphaIHαd​ has state (y^,vd)(\hat y, v^d)(y^​,vd), action y≥0y \ge 0y≥0 and one-period cost cd(y)+hd(vd+yL)+P(vd+yL)c^d(y) + h^d(v^d + y^L) + P(v^d + y^L)cd(y)+hd(vd+yL)+P(vd+yL). The policy πα∗\pi_\alpha^*πα∗​ orders by an optimal stationary policy σd\sigma^dσd of IHαdIH^d_\alphaIHαd​ and ships z=max⁡{0,min⁡{xr∗,vd+yL}−xr}z = \max\{0, \min\{x^{r*}, v^d + y^L\} - x^r\}z=max{0,min{xr∗,vd+yL}−xr}: up to the critical number when the depot has the stock, otherwise as much as it has.

Formalization targets

Goal: Theorem 1 (p. 827)

Assume αlpr≥(1−αl)hd\alpha^l p^r \ge (1-\alpha^l)h^dαlpr≥(1−αl)hd. For every state with y^≥0\hat y \ge 0y^​≥0 and xr≤vdx^r \le v^dxr≤vd, and every admissible policy π\piπ,

Bα(y^,vd,xr∣πα∗)≤Bα(y^,vd,xr∣π).B^\alpha(\hat y, v^d, x^r \mid \pi_\alpha^*) \le B^\alpha(\hat y, v^d, x^r \mid \pi).Bα(y^​,vd,xr∣πα∗​)≤Bα(y^​,vd,xr∣π).

The goal leaves the form of σd\sigma^dσd open: any optimal stationary depot policy will do, and no (s,S)(s,S)(s,S) structure is assumed.

Milestones

The milestones follow the paper's own route. Write g^n\hat g_ng^​n​, gnrg_n^rgnr​, g^nd\hat g_n^dg^​nd​, gndg_n^dgnd​ for the nnn-period optimal costs of the system, of the outlet, of the depot with penalties P^n\hat P_nP^n​, and of the depot with penalty PPP.

  • Eq. (4): g^n=g^nd+gnr\hat g_n = \hat g_n^d + g_n^rg^​n​=g^​nd​+gnr​.
  • Property (e): gnr→gr=Brαg_n^r \to g^r = B^{r\alpha}gnr​→gr=Brα.
  • §2 claim (Iglehart): gnr→grg_n^r \to g^rgnr​→gr uniformly on (−∞,xr∗](-\infty, x^{r*}](−∞,xr∗].
  • Lemma 1: P^n→P\hat P_n \to PP^n​→P uniformly on R\mathbb RR.
  • Lemma 2: g^nd−gnd→0\hat g_n^d - g_n^d \to 0g^​nd​−gnd​→0 uniformly.
  • Lemma 3: g^n→gd+gr\hat g_n \to g^d + g^rg^​n​→gd+gr.
  • Lemma 4: ggg satisfies the optimality equation (8), and πα∗\pi_\alpha^*πα∗​ attains it.

Significance

The theorem shows that, under discounting, the infinite-horizon two-echelon problem is solved by two single-location problems, with a penalty PPP that is written in terms of RRR alone. Computing PPP does not require the outlet's optimal cost functions. The rest of the paper relies on this: its computational sections evaluate PPP in closed form for normal demand, and they treat several outlets by relaxation. A machine-checked version also gives an infinite-horizon decomposition theorem against which future multi-echelon formalizations can be checked.

The result was proved in 1984 and is not open. It has not been formalized. The paper's proof is short only because it cites Iglehart's convergence results and Propositions 9.12 and 9.16 of Bertsekas and Shreve (1978) for its last step, so a formal proof must also supply these.

Difficulty

The obvious argument passes to the limit in the finite-horizon decomposition (4). That fails as stated, because the depot program (3) has nonstationary penalties P^n\hat P_nP^n​, built from the outlet's optimal costs gn−1rg_{n-1}^rgn−1r​, and its value functions are not those of any stationary problem. The comparison of P^n\hat P_nP^n​ with PPP needs uniform control over the whole real line. The first few P^n−P\hat P_n - PP^n​−P are in fact unbounded, since g0r=0g_0^r = 0g0r​=0 has the wrong slope. The uniform control therefore holds only for large nnn, and the error has to be propagated through the depot recursion.

The second obstacle is that the one-period costs are unbounded in both directions: hdvh^d vhdv is negative for negative vvv. Contraction arguments for bounded costs therefore do not apply. Lower boundedness on the feasible set needs the cost relation αlpr≥(1−αl)hd\alpha^l p^r \ge (1-\alpha^l)h^dαlpr≥(1−αl)hd, and passing from the optimality equation to optimality of a policy needs the theory of models with costs bounded below.

Formalization scope

Everything lives in the namespace FZEchelon.Discounted.

  • Model. The data form a structure Model. The pipeline y^\hat yy^​ is a vector indexed by {0,…,L−1}\{0, \dots, L-1\}{0,…,L−1}, whose index kkk is the paper's yk+1y^{k+1}yk+1. For L=0L = 0L=0 the current order arrives at once.
  • Policies and cost. Time runs forward with weight αk\alpha^kαk; the paper counts periods remaining. Policies are measurable, non-anticipative, deterministic and history dependent, and they must be feasible along every demand path. BαB^\alphaBα is an extended real: the expectation of the positive part of the discounted cost sum minus that of the negative part, under the product law of the demands.
  • Finite-horizon programs. These are real infima over the feasible actions.
  • Hypotheses. Statements quantify over the physical states y^≥0\hat y \ge 0y^​≥0, xr≤vdx^r \le v^dxr≤vd. The standing assumptions of §1 are bundled in StandingAssumptions: positive costs, 0≤α≤10 \le \alpha \le 10≤α≤1, demand nonnegative, atomless and of finite mean. The §2 statements add α<1\alpha < 1α<1 and the cost relation, which the paper names in the proof of Theorem 1. The critical numbers xr∗x^{r*}xr∗ and xnr∗x_n^{r*}xnr∗​ enter as minimizers. The depot policy σd\sigma^dσd enters as a measurable, nonnegative stationary policy that is optimal for IHαdIH_\alpha^dIHαd​; that is the paper's definition of πα∗\pi_\alpha^*πα∗​, and its existence is Iglehart's.
  • Ruled out. Comparing πα∗\pi_\alpha^*πα∗​ only against stationary policies, or reading BαB^\alphaBα as a bare series or a truncated sum, would trivialize or change the theorem. The comparison class is all admissible history-dependent policies.
  • Corrections. Where the paper says "bounded" for every nnn (§2 claim, Lemmas 1 and 2), the statements claim boundedness only where it holds: n≥1n \ge 1n≥1, n≥2n \ge 2n≥2, and eventually, respectively. The moderation notes give the counterexample at n=1n = 1n=1. Lemma 2 also carries the standing assumption of p. 821 that never ordering is not optimal. The statement is false without it.
  • Infrastructure. A complete development needs the convexity theory of the single-location newsvendor function RRR, value iteration for discounted models with costs bounded below, and the Markov property for the product measure on demand sequences. The control-system file is reusable for other inventory and queueing missions. Formalizations of Iglehart's theorem and of Bertsekas–Shreve Propositions 9.12 and 9.16 are welcome.

Selected references

  • A. Federgruen, P. Zipkin, Computational Issues in an Infinite-Horizon, Multiechelon Inventory Model, Operations Research 32(4):818–836, 1984. https://doi.org/10.1287/opre.32.4.818
  • A. J. Clark, H. Scarf, Optimal Policies for a Multi-Echelon Inventory Problem, Management Science 6(4):475–490, 1960. https://doi.org/10.1287/mnsc.6.4.475
  • D. L. Iglehart, Optimality of (s, S) Policies in the Infinite Horizon Dynamic Inventory Problem, Management Science 9(2):259–267, 1963. https://doi.org/10.1287/mnsc.9.2.259
  • D. P. Bertsekas, S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978. https://web.mit.edu/dimitrib/www/soc.html
11 thms1 active userReviewed
Control TheoryOperations ResearchProbability+1·Captain: mikedeng1

Scheduling a Multi Class Queue with Many Exponential Servers: Asymptotic Optimality in Heavy Traffic: The HJB-Based Preemptive Policy Is Asymptotically Optimal Among Work-Conserving PoliciesResearch Paper

Motivation

Large call centers route several types of customers to a common pool of agents. When the pool is large and highly utilized, the relevant asymptotic regime is the quality-and-efficiency-driven (QED) or Halfin–Whitt regime (Halfin & Whitt 1981). The number of servers nnn grows while the offered load stays within O(n)O(\sqrt n)O(n​) of nnn. Waiting is then neither negligible nor overwhelming (Gans, Koole & Mandelbaum 2003).

Which class should a freed agent serve next? Exact optimization of a multi-class many-server queue with abandonment is intractable. The standard route is to solve a limiting diffusion control problem and translate its optimal control back into a policy for the queue. Atar, Mandelbaum and Reiman (Ann. Appl. Probab. 2004) carried this out for kkk customer classes, exponential service and abandonment, general renewal arrivals and general convex-type holding costs. They proved that the translated policy is asymptotically optimal. This mission formalizes that result for the preemptive policy.

Context:

  • Harrison & Zeevi (2004) studied the same multi-class many-server problem.
  • Bell & Williams (2001) proved asymptotic optimality of a threshold policy for a two-server system in conventional heavy traffic.
  • The present paper is the first to cover the QED regime with general costs and abandonment.

Setting

There are k≥1k\ge1k≥1 customer classes and nnn identical servers.

Primitives.

  • Arrivals. Class-iii customers arrive according to a renewal process AinA^n_iAin​ with interarrival times Uˇi(j)/λin\check U_i(j)/\lambda^n_iUˇi​(j)/λin​. Here the Uˇi(j)\check U_i(j)Uˇi​(j) are i.i.d., positive, of mean one and squared coefficient of variation CU,i2C^2_{U,i}CU,i2​.
  • Service. Service times are exponential with rate μin\mu^n_iμin​, represented by Poisson processes SinS^n_iSin​.
  • Abandonment. Waiting customers abandon at rate θin≥0\theta^n_i\ge0θin​≥0, represented by Poisson processes RinR^n_iRin​.

State. Xin(t)X^n_i(t)Xin​(t) is the number of class-iii customers in the system, Ψin(t)\Psi^n_i(t)Ψin​(t) the number in service and Φin=Xin−Ψin\Phi^n_i=X^n_i-\Psi^n_iΦin​=Xin​−Ψin​ the number waiting. The dynamics are

Xin(t)=Xi0,n+Ain(t)−Rin(∫0tΦin)−Sin(∫0tΨin),Ψn,Φn∈Z+k,∑iΨin≤n.X^n_i(t)=X^{0,n}_i+A^n_i(t)-R^n_i\Big(\int_0^t\Phi^n_i\Big)-S^n_i\Big(\int_0^t\Psi^n_i\Big),\qquad \Psi^n,\Phi^n\in\mathbb Z^k_+,\quad \textstyle\sum_i\Psi^n_i\le n .Xin​(t)=Xi0,n​+Ain​(t)−Rin​(∫0t​Φin​)−Sin​(∫0t​Ψin​),Ψn,Φn∈Z+k​,∑i​Ψin​≤n.

Policies.

  • A scheduling control policy (SCP) is the process Ψn\Psi^nΨn.
  • It is admissible if it does not anticipate the future beyond the time of the next arrival: past information is independent of future primitive increments.
  • It is work-conserving if no server idles while customers wait: (1⋅Xn−n)+=1⋅Φn(\mathbb 1\cdot X^n-n)^+=\mathbb 1\cdot\Phi^n(1⋅Xn−n)+=1⋅Φn.

Scaling and cost. In the QED scaling n−1λin→λin^{-1}\lambda^n_i\to\lambda_in−1λin​→λi​ with ∑iλi/μi=1\sum_i\lambda_i/\mu_i=1∑i​λi​/μi​=1. With ρi=λi/μi\rho_i=\lambda_i/\mu_iρi​=λi​/μi​ the centred processes are X^n=n−1/2(Xn−ρn)\hat X^n=n^{-1/2}(X^n-\rho n)X^n=n−1/2(Xn−ρn), Φ^n=n−1/2Φn\hat\Phi^n=n^{-1/2}\Phi^nΦ^n=n−1/2Φn and Ψ^n=n−1/2(Ψn−ρn)\hat\Psi^n=n^{-1/2}(\Psi^n-\rho n)Ψ^n=n−1/2(Ψn−ρn). The cost is

Cn=E∫0∞e−γtL~(Φ^n(t),Ψ^n(t)) dt.C^n=E\int_0^\infty e^{-\gamma t}\tilde L(\hat\Phi^n(t),\hat\Psi^n(t))\,dt .Cn=E∫0∞​e−γtL~(Φ^n(t),Ψ^n(t))dt.

The limiting control problem. It controls

X(t)=x+rW(t)+∫0tb(X(s),u(s)) ds,b(x,u)=ℓ+(μ−θ)(1⋅x)+u−μx,X(t)=x+rW(t)+\int_0^t b(X(s),u(s))\,ds,\qquad b(x,u)=\ell+(\mu-\theta)(\mathbb 1\cdot x)^+u-\mu x,X(t)=x+rW(t)+∫0t​b(X(s),u(s))ds,b(x,u)=ℓ+(μ−θ)(1⋅x)+u−μx,

where the control uuu takes values in the simplex Sk\mathbb S^kSk and WWW is a kkk-dimensional Brownian motion. The data are ri=(λiCU,i2+λi)1/2r_i=(\lambda_iC^2_{U,i}+\lambda_i)^{1/2}ri​=(λi​CU,i2​+λi​)1/2 and ℓi=λ^i−ρiμ^i\ell_i=\hat\lambda_i-\rho_i\hat\mu_iℓi​=λ^i​−ρi​μ^​i​. Its value V(x)V(x)V(x) is the infimum of E∫0∞e−γtL(X,u) dtE\int_0^\infty e^{-\gamma t}L(X,u)\,dtE∫0∞​e−γtL(X,u)dt, with L(x,u)=L~((1⋅x)+u,x−(1⋅x)+u)L(x,u)=\tilde L((\mathbb 1\cdot x)^+u,x-(\mathbb 1\cdot x)^+u)L(x,u)=L~((1⋅x)+u,x−(1⋅x)+u).

HJB equation and the proposed policy. The HJB equation is 12∑iri2∂iif+H(x,Df)−γf=0\tfrac12\sum_ir_i^2\partial_{ii}f+H(x,Df)-\gamma f=021​∑i​ri2​∂ii​f+H(x,Df)−γf=0 with H(x,p)=inf⁡u∈Sk[b(x,u)⋅p+L(x,u)]H(x,p)=\inf_{u\in\mathbb S^k}[b(x,u)\cdot p+L(x,u)]H(x,p)=infu∈Sk​[b(x,u)⋅p+L(x,u)]. Let hhh be a measurable selection of its minimizers. The proposed preemptive policy (P-SCP) sets the queue vector to Θ[(1⋅Xn−n)+h(X^n)]\Theta[(\mathbb 1\cdot X^n-n)^+h(\hat X^n)]Θ[(1⋅Xn−n)+h(X^n)], an integer rounding, and falls back to a static priority rule when that is infeasible.

Formalization targets

Goal: Theorem 2(i)

For a Cpol2C^2_{\mathrm{pol}}Cpol2​ solution fff of the HJB equation, a measurable minimizer selection hhh, and initial states with X^0,n→x\hat X^{0,n}\to xX^0,n→x:

lim⁡n→∞E∫0∞e−γtL~(Φ^tn,∗,Ψ^tn,∗) dt  ≤  lim inf⁡n→∞E∫0∞e−γtL~(Φ^tn,Ψ^tn) dt\lim_{n\to\infty}E\int_0^\infty e^{-\gamma t}\tilde L(\hat\Phi^{n,*}_t,\hat\Psi^{n,*}_t)\,dt\;\le\;\liminf_{n\to\infty}E\int_0^\infty e^{-\gamma t}\tilde L(\hat\Phi^n_t,\hat\Psi^n_t)\,dtn→∞lim​E∫0∞​e−γtL~(Φ^tn,∗​,Ψ^tn,∗​)dt≤n→∞liminf​E∫0∞​e−γtL~(Φ^tn​,Ψ^tn​)dt

This holds for every sequence of work-conserving admissible SCPs, and the left-hand limit exists and is finite. No constants are hard-coded.

Milestones

The milestones follow the proof:

  • on the diffusion side, Proposition 2 (well-posedness), Proposition 4 (stability and moment bounds), Proposition 5(i)–(ii) (growth and continuity of VVV) and Theorem 3 (VVV is the unique Cpol2C^2_{\mathrm{pol}}Cpol2​ HJB solution, and an optimal Markov policy exists);
  • on the queueing side, Proposition 1 (feedback rules give admissible SCPs), Lemmas 2–3 (moment bounds), Lemma 4(i)–(ii) (FCLT for the primitives and the fluid limit (Ψˉn,Φˉn)⇒(ρ,0)(\bar\Psi^n,\bar\Phi^n)\Rightarrow(\rho,0)(Ψˉn,Φˉn)⇒(ρ,0)), and Theorem 4(i)–(ii): lim inf⁡≥V(x)\liminf\ge V(x)liminf≥V(x) always, and lim sup⁡≤V(x)\limsup\le V(x)limsup≤V(x) under condition (49).

Significance

The result. Theorem 2(i) justifies using the diffusion control problem as a design tool for multi-class many-server systems. The policy is explicit given hhh, and it is optimal in the limit against all non-anticipating work-conserving policies, including those that use the full history and the time of the next arrival. The proof also identifies the limit cost with V(x)V(x)V(x).

Formalizing it. The result is proved on paper, with some steps (Proposition 1, the principle of optimality, the time-change and martingale limit theorems) given as sketches or citations. No part of it is machine-checked. A formalization requires:

  • a counting-process model of the queue;
  • a careful definition of non-anticipation;
  • a pathwise controlled SDE;
  • classical solvability of a semilinear elliptic HJB equation on Rk\mathbb R^kRk;
  • a weak-convergence argument in Skorokhod space.

Each of these is reusable well beyond this paper.

Difficulty

The obvious argument would show that X^n\hat X^nX^n converges to the controlled diffusion and pass the costs to the limit. This fails for two reasons:

  • the comparison class contains arbitrary non-Markov, history-dependent policies, so the queue does not converge to a single controlled diffusion;
  • the optimal selector hhh is in general discontinuous (for linear costs it is), so the proposed policy is not a continuous function of the state.

The proof instead compares every policy with the HJB solution through Itô's formula on the prelimit processes. This needs:

  • uniform moment bounds;
  • tightness of the integral processes;
  • the convergence of stochastic integrals of Kurtz and Protter;
  • and, for the proposed policy, the fact that the rounding Θ\ThetaΘ and the priority fallback perturb the minimizer by O(n−1/2)O(n^{-1/2})O(n−1/2).

Existence of a classical HJB solution on all of Rk\mathbb R^kRk, with only Hölder-continuous costs and polynomial growth, rests on a bounded-domain existence theorem for fully nonlinear elliptic equations.

Formalization scope

The Lean development commits to the following conventions.

  • Indexing and norms. Classes are Fin k with k≥1k\ge1k≥1; paper class iii is index i−1i-1i−1, so "class kkk" (highest priority, rounding remainder of Θ\ThetaΘ) is the last index. Vectors are Fin k → ℝ and ∥⋅∥\|\cdot\|∥⋅∥ is the paper's ℓ1\ell^1ℓ1 norm; the paper's ∣⋅∣|\cdot|∣⋅∣ on vectors is read the same way.
  • Probability space and paths. All systems share one complete probability space. Time is real and every condition is for t≥0t\ge0t≥0. The paper's "without loss" path regularity (finite arrival counts, Poisson paths Z+\mathbb Z_+Z+​-valued, nondecreasing and càdlàg) holds for every ω\omegaω.
  • Poisson processes are defined by independent Poisson increments; rate 000 gives the zero process.
  • Policies. A policy is a pair of real processes (Ψn,Xn)(\Psi^n,X^n)(Ψn,Xn) with integer values. Admissibility is Definition 2 verbatim, with the future σ\sigmaσ-field built from the next arrival time τin(t)\tau^n_i(t)τin​(t). Work conservation is (18).
  • Costs and value are lower Lebesgue integrals in [0,∞][0,\infty][0,∞], and lim⁡\limlim/lim inf⁡\liminfliminf are taken there. The integrands are nonnegative under work conservation.
  • Admissible systems range over sample spaces Ω : Type (universe 0). "Complete filtered probability space" means PPP complete with all null sets in F0\mathcal F_0F0​. Brownian motion is Mathlib's IsBrownianReal per coordinate, with independence and the (Ft)(\mathcal F_t)(Ft​)-Brownian property stated explicitly. VVV is the infimum over systems and their controlled processes.
  • Discount rate. γ>0\gamma>0γ>0 is a hypothesis; the paper leaves it implicit.
  • Initial states are integer vectors X0,n∈Z+kX^{0,n}\in\mathbb Z^k_+X0,n∈Z+k​ with n−1/2(X0,n−ρn)→xn^{-1/2}(X^{0,n}-\rho n)\to xn−1/2(X0,n−ρn)→x. The literal "X^0,n∈n−1/2Zk\hat X^{0,n}\in n^{-1/2}\mathbb Z^kX^0,n∈n−1/2Zk" would require ρin∈Z\rho_in\in\mathbb Zρi​n∈Z. Assumption 1(ii) is not imposed: each policy chooses its own initial split.
  • Lemma 3 is stated for all nnn beyond a threshold that depends on the sequence, with constants c,mˉc,\bar mc,mˉ chosen before xxx and the sequence. The printed all-nnn bound with ccc independent of xxx fails when the early terms X^0,n\hat X^{0,n}X^0,n are large.
  • Weak convergence to a continuous limit uses the coupling form CouplingConverges of the published BellWilliams2001.ThresholdPolicy.Paths; convergence to a deterministic limit is UocInProb.

The goal hypothesizes fff and hhh with the pointwise identity b(x,h(x))⋅Df(x)+L(x,h(x))=H(x,Df(x))b(x,h(x))\cdot Df(x)+L(x,h(x))=H(x,Df(x))b(x,h(x))⋅Df(x)+L(x,h(x))=H(x,Df(x)) for all xxx. An arbitrary "optimal Markov control policy" may differ from a minimizer selection on the Lebesgue-null lattice where X^n\hat X^nX^n lives, and that formalization would make the goal false. Restricting the comparators to feedback, Markov or nonpreemptive policies, fixing kkk, dropping abandonment, specializing to Poisson arrivals or linear costs, or imposing a common initial split would each trivialize or weaken the statement and is ruled out.

Not formalized:

  • Lemma 4(iii) (tightness);
  • Lemma 5 (Kurtz–Protter, which needs semimartingale theory absent from Mathlib);
  • Lemma 6 (convergence of Stieltjes integrals at limit points);
  • Proposition 5(iii);
  • the nonpreemptive results, Theorem 2(ii)–(iii).

Contributions are welcome on any milestone, and especially on infrastructure: Poisson and renewal processes, functional central limit theorems in Skorokhod space, classical solvability of elliptic HJB equations, and measurable selection of minimizers.

Selected references

  • R. Atar, A. Mandelbaum, M. I. Reiman, Scheduling a multi class queue with many exponential servers: asymptotic optimality in heavy traffic, Ann. Appl. Probab. 14(3), 2004. https://arxiv.org/abs/math/0407058
  • S. Halfin, W. Whitt, Heavy-traffic limits for queues with many exponential servers, Oper. Res. 29(3), 1981. https://doi.org/10.1287/opre.29.3.567
  • N. Gans, G. Koole, A. Mandelbaum, Telephone call centers: tutorial, review, and research prospects, Manuf. Serv. Oper. Manag. 5(2), 2003. https://doi.org/10.1287/msom.5.2.79.16071
  • J. M. Harrison, A. Zeevi, Dynamic scheduling of a multiclass queue in the Halfin–Whitt heavy traffic regime, Oper. Res. 52(2), 2004. https://doi.org/10.1287/opre.1040.0109
  • S. L. Bell, R. J. Williams, Dynamic scheduling of a system with two parallel servers in heavy traffic with resource pooling: asymptotic optimality of a threshold policy, Ann. Appl. Probab. 11(3), 2001. https://doi.org/10.1214/aoap/1015345343
  • T. G. Kurtz, P. Protter, Weak limit theorems for stochastic integrals and stochastic differential equations, Ann. Probab. 19(3), 1991. https://doi.org/10.1214/aop/1176990334
16 thms1 active userReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Assessing Solution Quality in Stochastic Programs: The Single-Replication Confidence Interval on the Optimality Gap Is Asymptotically ValidResearch Paper

Motivation

Most stochastic programs of practical size, such as two-stage recourse models in energy, finance or supply-chain planning, cannot be solved exactly: the expectation in the objective is a high-dimensional integral. The standard remedy is sample average approximation (SAA): replace the expectation by an average over a Monte Carlo sample and solve the resulting deterministic problem. This produces a candidate solution x^\hat xx^ but says nothing about how good it is. A decision maker needs a statistical certificate: an interval that contains the candidate's optimality gap with a prescribed probability.

Mak, Morton and Wood (Oper. Res. Lett. 24, 1999) built such a certificate from ng≥30n_g\ge 30ng​≥30 independent SAA replications, which requires solving at least 30 optimization problems. Bayraksan and Morton (preprint January 2005, published in Math. Program. 108, 2006) showed that a single replication suffices asymptotically, and gave two variants that use two replications. This mission formalizes their validity theorems.

Setting

Let ξ~\tilde\xiξ~​ be a random vector with distribution μ\muμ on a measurable space Ξ\XiΞ, let X⊆RdX\subseteq\mathbb R^dX⊆Rd be a set of decisions, and let f:Rd×Ξ→Rf:\mathbb R^d\times\Xi\to\mathbb Rf:Rd×Ξ→R be a cost. The stochastic program is

z∗=min⁡x∈XEf(x,ξ~).(SP)z^*=\min_{x\in X} Ef(x,\tilde\xi). \qquad\text{(SP)}z∗=x∈Xmin​Ef(x,ξ~​).(SP)

Its optimal set is X∗X^*X∗, and the optimality gap of a candidate x^∈X\hat x\in Xx^∈X is μx^=Ef(x^,ξ~)−z∗≥0\mu_{\hat x}=Ef(\hat x,\tilde\xi)-z^*\ge 0μx^​=Ef(x^,ξ~​)−z∗≥0. The paper assumes throughout:

  • (A1) f(⋅,ξ~)f(\cdot,\tilde\xi)f(⋅,ξ~​) is continuous on XXX, with probability one;
  • (A2) Esup⁡x∈Xf2(x,ξ~)<∞E\sup_{x\in X} f^2(x,\tilde\xi)<\inftyEsupx∈X​f2(x,ξ~​)<∞;
  • (A3) XXX is nonempty and compact.

Let ξ~1,ξ~2,…\tilde\xi^1,\tilde\xi^2,\dotsξ~​1,ξ~​2,… be i.i.d. copies of ξ~\tilde\xiξ~​, and write fˉn(x)=1n∑i=1nf(x,ξ~i)\bar f_n(x)=\frac1n\sum_{i=1}^n f(x,\tilde\xi^i)fˉ​n​(x)=n1​∑i=1n​f(x,ξ~​i). The SAA problem is zn∗=min⁡x∈Xfˉn(x)z_n^*=\min_{x\in X}\bar f_n(x)zn∗​=minx∈X​fˉ​n​(x) (SPn_nn​), with an optimal solution xn∗x_n^*xn∗​. The gap estimator is Gn(x^)=fˉn(x^)−zn∗G_n(\hat x)=\bar f_n(\hat x)-z_n^*Gn​(x^)=fˉ​n​(x^)−zn∗​ (display (2)), and the sample variance of the differences f(x^,ξ~i)−f(x,ξ~i)f(\hat x,\tilde\xi^i)-f(x,\tilde\xi^i)f(x^,ξ~​i)−f(x,ξ~​i) is

sn2(x)=1n−1∑i=1n[(f(x^,ξ~i)−f(x,ξ~i))−(fˉn(x^)−fˉn(x))]2,s_n^2(x)=\frac1{n-1}\sum_{i=1}^n\Big[\big(f(\hat x,\tilde\xi^i)-f(x,\tilde\xi^i)\big)-\big(\bar f_n(\hat x)-\bar f_n(x)\big)\Big]^2,sn2​(x)=n−11​i=1∑n​[(f(x^,ξ~​i)−f(x,ξ~​i))−(fˉ​n​(x^)−fˉ​n​(x))]2,

with population counterpart σx^2(x)=var⁡[f(x^,ξ~)−f(x,ξ~)]\sigma^2_{\hat x}(x)=\operatorname{var}[f(\hat x,\tilde\xi)-f(x,\tilde\xi)]σx^2​(x)=var[f(x^,ξ~​)−f(x,ξ~​)]. Finally zαz_\alphazα​ is defined by P(N(0,1)≤zα)=1−αP(N(0,1)\le z_\alpha)=1-\alphaP(N(0,1)≤zα​)=1−α.

The single replication procedure (SRP) solves (SPn_nn​) once and reports the one-sided interval [0, Gn(x^)+zαsn(xn∗)/n]\big[0,\ G_n(\hat x)+z_\alpha s_n(x_n^*)/\sqrt n\big][0, Gn​(x^)+zα​sn​(xn∗​)/n​] (display (5)). The I2RP takes the variance from a second, independent sample ξ~n+1,…,ξ~2n\tilde\xi^{n+1},\dots,\tilde\xi^{2n}ξ~​n+1,…,ξ~​2n and its own minimizer xn2∗x_n^{2*}xn2∗​. The A2RP runs the SRP on both halves of a sample of size 2n2n2n, averages the gaps and the variances as in (10), and scales by 2n\sqrt{2n}2n​.

Formalization targets

Goal: Theorem 2 (p. 7)

Under (A1)–(A3), for x^∈X\hat x\in Xx^∈X and 0<α<10<\alpha<10<α<1, provided α≤1/2\alpha\le1/2α≤1/2 or σx^2(xmax⁡∗)>0\sigma^2_{\hat x}(x^*_{\max})>0σx^2​(xmax∗​)>0 (see Formalization scope),

lim inf⁡n→∞P(μx^≤Gn(x^)+zαsn(xn∗)n)≥1−α.(6)\liminf_{n\to\infty}P\left(\mu_{\hat x}\le G_n(\hat x)+\frac{z_\alpha s_n(x_n^*)}{\sqrt n}\right)\ge 1-\alpha. \qquad(6)n→∞liminf​P(μx^​≤Gn​(x^)+n​zα​sn​(xn∗​)​)≥1−α.(6)

Consistency (Proposition 1, p. 6)

The milestones follow the paper's own proof:

  1. the uniform strong law sup⁡x∈X∣fˉn(x)−Ef(x,ξ~)∣→0\sup_{x\in X}|\bar f_n(x)-Ef(x,\tilde\xi)|\to 0supx∈X​∣fˉ​n​(x)−Ef(x,ξ~​)∣→0 w.p.1;
  2. (i) zn∗→z∗z_n^*\to z^*zn∗​→z∗ w.p.1;
  3. (ii) every limit point of {xn∗}\{x_n^*\}{xn∗​} lies in X∗X^*X∗ w.p.1;
  4. the uniform convergence sn2→σx^2s_n^2\to\sigma^2_{\hat x}sn2​→σx^2​ on XXX w.p.1;
  5. (iii) σx^2(xmin⁡∗)≤lim inf⁡nsn2(xn∗)≤lim sup⁡nsn2(xn∗)≤σx^2(xmax⁡∗)\sigma^2_{\hat x}(x^*_{\min})\le\liminf_n s_n^2(x_n^*)\le\limsup_n s_n^2(x_n^*)\le\sigma^2_{\hat x}(x^*_{\max})σx^2​(xmin∗​)≤liminfn​sn2​(xn∗​)≤limsupn​sn2​(xn∗​)≤σx^2​(xmax∗​) w.p.1, where xmin⁡∗x^*_{\min}xmin∗​ and xmax⁡∗x^*_{\max}xmax∗​ minimize and maximize σx^2\sigma^2_{\hat x}σx^2​ over X∗X^*X∗;
  6. the ε\varepsilonε-bound of the proof of Theorem 2: if α≤1/2\alpha\le 1/2α≤1/2 and σx^2(xmin⁡∗)>0\sigma^2_{\hat x}(x^*_{\min})>0σx^2​(xmin∗​)>0, then for 0<ε<10<\varepsilon<10<ε<1 the liminf in (6) is at least Φ((1−ε)zα)\Phi((1-\varepsilon)z_\alpha)Φ((1−ε)zα​).

Companions

Theorem 3 (p. 9) and Theorem 4 (p. 10) are the same coverage statement for the I2RP and the A2RP. Three further statements are included: the negative bias Ezn∗≤z∗Ez_n^*\le z^*Ezn∗​≤z∗ of display (1), the pathwise bound Gn(x^)≥fˉn(x^)−fˉn(x)G_n(\hat x)\ge\bar f_n(\hat x)-\bar f_n(x)Gn​(x^)≥fˉ​n​(x^)−fˉ​n​(x) for x∈Xx\in Xx∈X, and the consistency lim inf⁡nsn′2≥σx^2(xmin⁡∗)\liminf_n s_n'^2\ge\sigma^2_{\hat x}(x^*_{\min})liminfn​sn′2​≥σx^2​(xmin∗​) of the pooled variance.

Significance

Theorem 2 makes a single SAA solve enough for an asymptotically valid upper confidence bound on the optimality gap. It cuts the computational cost of the multiple-replication procedure by a factor of about thirty, and it needs no asymptotic normality of Gn(x^)G_n(\hat x)Gn​(x^), which typically fails when (SP) has several optimal solutions. The two-replication variants lessen the small-sample under-coverage of the SRP. The single- and two-replication estimators were later reused in sequential sampling procedures for SAA.

As far as is known, none of these results has been machine-checked. A complete formalization needs a uniform strong law of large numbers over a compact parameter set, which is a reusable result in its own right, together with the SAA consistency theory and a central-limit argument for a statistic that is not itself asymptotically normal.

Difficulty

The obvious route would be to show that Gn(x^)G_n(\hat x)Gn​(x^) is asymptotically normal and apply a standard confidence-interval argument. That fails: zn∗z_n^*zn∗​ is a minimum of sample averages, and when X∗X^*X∗ is not a singleton its limit law is the law of a minimum of correlated Gaussians, not a Gaussian. The paper's argument has to bound the coverage from below without that limit law. It also needs to control the sample variance at a random, non-convergent minimizer xn∗x_n^*xn∗​, which only accumulates on X∗X^*X∗. The uniform strong law (Rubinstein–Shapiro, Lemma A1) on which both consistency statements rest is not in Mathlib.

Formalization scope

The Lean development uses these conventions:

  • Decisions live in EuclideanSpace ℝ (Fin d). The paper's Rn\mathbb R^nRn is renamed Rd\mathbb R^dRd because nnn is the sample size.
  • μ\muμ is a probability measure on Ξ\XiΞ (the law of ξ~\tilde\xiξ~​), and Ef(x,ξ~)Ef(x,\tilde\xi)Ef(x,ξ~​) is the Bochner integral ∫f(x,⋅) dμ\int f(x,\cdot)\,d\mu∫f(x,⋅)dμ.
  • The sample is one infinite i.i.d. sequence ξ : ℕ → Ω → Ξ on a probability space (Ω,P)(\Omega,P)(Ω,P), 0-based: ξ~i\tilde\xi^iξ~​i is ξ (i-1). The second sample of Theorems 3–4 is ξ n, …, ξ (2n-1), exactly as printed, and the A2RP's "random" partition is this fixed one, which has the same joint law.
  • Estimators are functions of a sample path. z∗z^*z∗ and zn∗z_n^*zn∗​ are infima of images of XXX, and X∗X^*X∗ is an argmin set.
  • Probabilities are ℝ≥0∞-valued, so the liminf in (6) is genuine. Proposition 1 (iii) is stated in its equivalent ε\varepsilonε-form, which avoids real liminf/limsup junk values.
  • zαz_\alphazα​ is any real with cdf (gaussianReal 0 1) zα = 1 - α.

Standing assumptions and pins. Every goal-level statement carries (A1)–(A3) and the i.i.d. hypothesis. Three hypotheses are made explicit that the paper leaves implicit:

  1. f(x,⋅)f(x,\cdot)f(x,⋅) is measurable for each xxx ("f(x,ξ~)f(x,\tilde\xi)f(x,ξ~​) is a random variable");
  2. xn∗x_n^*xn∗​ is a measurable map that, almost surely, lies in XXX and minimizes fˉn\bar f_nfˉ​n​ over XXX on the same sample;
  3. (A2) is read as "sup⁡x∈Xf2(x,⋅)\sup_{x\in X}f^2(x,\cdot)supx∈X​f2(x,⋅) has an integrable majorant", which avoids proving that the supremum is measurable.

At n≤1n\le 1n≤1 the factors 1/n1/n1/n, 1/(n−1)1/(n-1)1/(n−1) and 1/n1/\sqrt n1/n​ evaluate to Lean's 000; every coverage statement is a liminf and ignores them.

Several encodings would trivialize the statement, and all are ruled out. The minimizer xn∗x_n^*xn∗​ must minimize the SAA problem of its own sample: a free xn∗x_n^*xn∗​, or one fitted to the other sample, would change the theorem. The second sample must not be replaced by an independent sequence. The quantile must not be pinned through an sInf. Positivity of σx^2(xmin⁡∗)\sigma^2_{\hat x}(x^*_{\min})σx^2​(xmin∗​) is a hypothesis only of the ε\varepsilonε-bound, as on p. 8.

One correction of the paper. Theorems 2 and 4 are stated for every 0<α<10<\alpha<10<α<1, but for α>1/2\alpha>1/2α>1/2 the paper's argument (replace xmin⁡∗x^*_{\min}xmin∗​ by xmax⁡∗x^*_{\max}xmax∗​) needs σx^2(xmax⁡∗)>0\sigma^2_{\hat x}(x^*_{\max})>0σx^2​(xmax∗​)>0, and without it both statements are false: for X=[−1,1]X=[-1,1]X=[−1,1], f(x,ξ)=x2−2xξf(x,\xi)=x^2-2x\xif(x,ξ)=x2−2xξ, ξ~∼N(0,1)\tilde\xi\sim N(0,1)ξ~​∼N(0,1), x^=0\hat x=0x^=0 and α=0.9\alpha=0.9α=0.9, the SRP coverage tends to about 0.0100.0100.010 and the A2RP coverage to e−2zα2≈0.037e^{-2z_\alpha^2}\approx0.037e−2zα2​≈0.037, both below 0.10.10.1. The Lean goal and Theorem 4 therefore carry the hypothesis "α≤1/2\alpha\le1/2α≤1/2, or σx^2(x)>0\sigma^2_{\hat x}(x)>0σx^2​(x)>0 for some x∈X∗x\in X^*x∈X∗". Theorem 3 is stated as printed.

Contributions are welcome at every level. The most reusable one is the uniform strong law of large numbers for Carathéodory integrands on a compact set with an integrable envelope, which also serves other SAA consistency results.

Selected references

  • G. Bayraksan, D. P. Morton, Assessing Solution Quality in Stochastic Programs, preprint (January 26, 2005); published in Math. Program. 108 (2006). https://doi.org/10.1007/s10107-006-0720-x
  • W. K. Mak, D. P. Morton, R. K. Wood, Monte Carlo bounding techniques for determining solution quality in stochastic programs, Oper. Res. Lett. 24 (1999) 47–56. https://doi.org/10.1016/S0167-6377(98)00054-6
  • R. Y. Rubinstein, A. Shapiro, Discrete Event Systems: Sensitivity Analysis and Stochastic Optimization by the Score Function Method, Wiley, 1993 (Lemma A1, p. 67; Theorem A1, p. 69).
  • A. Shapiro, Monte Carlo sampling methods, in: Handbooks in OR & MS 10, Stochastic Programming, Elsevier, 2003, 353–425. https://doi.org/10.1016/S0927-0507(03)10006-0
8 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Optimal Dynamic Pricing of Inventories with Stochastic Demand over Finite Horizons 1: A Fixed Price Earns at Least 1 − 1/(2√min{n, λ*t}) of the Optimal Expected RevenueResearch Paper

Motivation

A firm holds a fixed stock of a perishable or seasonal product: airline seats, hotel rooms, fashion goods, tickets. It must sell the stock over a finite season, and whatever is left at the end is worth nothing. The firm can change its price at any time, and demand responds to the price at random. Should it adjust its price continually as sales occur and time runs out, or is one well-chosen price nearly as good?

Gallego and van Ryzin, Optimal Dynamic Pricing of Inventories with Stochastic Demand over Finite Horizons (Management Science 40(8), 1994, doi:10.1287/mnsc.40.8.999), set up this question as a continuous-time stochastic control problem and answered it. The source for this mission is the published 1994 article. Its answer is quantitative: the expected revenue of a single fixed price is within a factor 1−1/(2min⁡{n,λ∗t})1-1/(2\sqrt{\min\{n,\lambda^*t\}})1−1/(2min{n,λ∗t}​) of the best possible dynamic policy. The paper is one of the founding results of dynamic pricing in revenue management. The deterministic (fluid) upper bound it introduced became the standard benchmark of the field, and later work on re-solving heuristics, network revenue management and learning-while-pricing builds on it.

Setting

Demand. The firm chooses a demand intensity λ\lambdaλ from an interval Λ∋0\Lambda\ni 0Λ∋0 of allowable rates, and the market charges the inverse-demand price p(λ)p(\lambda)p(λ). On nonzero rates, ppp is strictly decreasing and nonnegative; rate 000 corresponds to the null price p∞p_\inftyp∞​, at which nothing sells. The revenue rate is r(λ)=λp(λ)r(\lambda)=\lambda p(\lambda)r(λ)=λp(λ). It has r(0)=0r(0)=0r(0)=0, and it is continuous, concave and bounded on Λ\LambdaΛ. λ∗\lambda^*λ∗ denotes its least maximizer, and p∗=p(λ∗)p^*=p(\lambda^*)p∗=p(λ∗), r∗=r(λ∗)r^*=r(\lambda^*)r∗=r(λ∗). Such data form a regular demand function (§2.1).

The stochastic problem. At time 000 the firm holds nnn items and has a horizon [0,t][0,t][0,t]. A non-anticipating pricing policy uuu chooses the intensity λs∈Λ\lambda_s\in\Lambdaλs​∈Λ at each elapsed time sss as a function of the sales history so far. Sales follow a Poisson process with this controlled intensity, and at most nnn items can be sold. A sale at time sss earns the current price psp_sps​. The expected revenue is Ju(n,t)=Eu[∫0tps dNs]J_u(n,t)=E_u[\int_0^t p_s\,dN_s]Ju​(n,t)=Eu​[∫0t​ps​dNs​], where NsN_sNs​ counts the sales, and the optimal expected revenue is J∗(n,t)=sup⁡uJu(n,t)J^*(n,t)=\sup_u J_u(n,t)J∗(n,t)=supu​Ju​(n,t).

The deterministic problem. Replacing random sales by their rates gives

JD(x,t)=sup⁡{∫0tr(λ(s)) ds: λ(s)∈Λ, ∫0tλ(s) ds≤x}.J^D(x,t)=\sup\Big\{\int_0^t r(\lambda(s))\,ds:\ \lambda(s)\in\Lambda,\ \int_0^t\lambda(s)\,ds\le x\Big\}.JD(x,t)=sup{∫0t​r(λ(s))ds: λ(s)∈Λ, ∫0t​λ(s)ds≤x}.

It is solved by the constant rate λD=min⁡{λ∗,x/t}\lambda^D=\min\{\lambda^*,x/t\}λD=min{λ∗,x/t} (Proposition 2).

Fixed-price heuristics. JFP(n,t)J^{FP}(n,t)JFP(n,t) is the expected revenue of charging pD=p(λD)p^D=p(\lambda^D)pD=p(λD) for the whole horizon. JOFP(n,t)J^{OFP}(n,t)JOFP(n,t) is the expected revenue of the best constant price.

Formalization targets

Goal: Theorem 3

For λ∗>0\lambda^*>0λ∗>0, n≥1n\ge1n≥1 and t>0t>0t>0, J∗(n,t)J^*(n,t)J∗(n,t) is finite and positive, and

JOFP(n,t)J∗(n,t) ≥ JFP(n,t)J∗(n,t) ≥ 1−12min⁡{n,λ∗t}.\frac{J^{OFP}(n,t)}{J^*(n,t)}\ \ge\ \frac{J^{FP}(n,t)}{J^*(n,t)}\ \ge\ 1-\frac{1}{2\sqrt{\min\{n,\lambda^*t\}}}.J∗(n,t)JOFP(n,t)​ ≥ J∗(n,t)JFP(n,t)​ ≥ 1−2min{n,λ∗t}​1​.

Milestones

  1. Proposition 2: λD\lambda^DλD solves (11), and JD(x,t)=t r(λD)J^D(x,t)=t\,r(\lambda^D)JD(x,t)=tr(λD).
  2. Eqs. (13)–(14): Eu[Nt]=Eu[∫0tλsds]≤nE_u[N_t]=E_u[\int_0^t\lambda_s ds]\le nEu​[Nt​]=Eu​[∫0t​λs​ds]≤n and Ju(n,t)=Eu[∫0tr(λs)ds]J_u(n,t)=E_u[\int_0^t r(\lambda_s)ds]Ju​(n,t)=Eu​[∫0t​r(λs​)ds] for every policy.
  3. Eq. (15) and Lemma 1: Ju(n,t)≤Ju(n,t,μ)≤JD(n,t,μ)J_u(n,t)\le J_u(n,t,\mu)\le J^D(n,t,\mu)Ju​(n,t)≤Ju​(n,t,μ)≤JD(n,t,μ) for all μ≥0\mu\ge0μ≥0.
  4. The zero duality gap: JD(n,t)=min⁡μ≥0JD(n,t,μ)J^D(n,t)=\min_{\mu\ge0}J^D(n,t,\mu)JD(n,t)=minμ≥0​JD(n,t,μ).
  5. Theorem 2: J∗(n,t)≤JD(n,t)J^*(n,t)\le J^D(n,t)J∗(n,t)≤JD(n,t) for all n≥0n\ge 0n≥0, t≥0t\ge0t≥0.
  6. Eq. (17): a fixed price ppp earns p E[min⁡{n,Nλ(p)t}]p\,E[\min\{n,N_{\lambda(p)t}\}]pE[min{n,Nλ(p)t​}], with NNN Poisson.
  7. Inequality (18), Gallego's bound E[(N−n)+]≤(σ2+(n−μ)2−(n−μ))/2E[(N-n)^+]\le(\sqrt{\sigma^2+(n-\mu)^2}-(n-\mu))/2E[(N−n)+]≤(σ2+(n−μ)2​−(n−μ))/2, already on the platform.
  8. The two case bounds of the proof of Theorem 3, including (19), and the exact fixed-price revenue of the Remark.

Significance

The result. Theorem 2 says that uncertainty can only cost revenue. The deterministic value is a computable upper bound for every policy, so any heuristic can be judged against it. Theorem 3 turns this into a guarantee: with 400 items and scarce stock, a single price earns at least 97.5% of the optimum. The loss vanishes as the expected sales volume grows. This is the justification for the stable, rarely changed prices seen in practice, and the template for the asymptotic-optimality analyses that followed: fluid bounds, re-solving, bid prices.

Formalizing it. The results are proved on paper, and none is formalized. The platform has a discrete-time Bernoulli analogue of Theorem 2 (Talluri–van Ryzin, RevenueManagement.deterministic_upper_bound) and Bitran–Caldentey's periodic-review version as open items. Neither is this continuous-time model. A formalization would add a controlled Poisson sales process with a policy-dependent intensity, the compensator identities (13)–(14) for it, and a Lagrangian-duality argument over measurable rate paths. These are reusable for every continuous-time revenue-management model on the platform. Gallego's moment bound (18) is already proved there.

Difficulty

The deterministic side (Proposition 2, the duality gap) is convex analysis on one concave function. The fixed-price bounds reduce to a Poisson computation and (18). The obstacle is Theorem 2's stochastic step. The revenue is collected at random jump times chosen by an adaptive policy, and comparing it with a deterministic integral requires the compensator identity Eu[∫ps dNs]=Eu[∫r(λs) ds]E_u[\int p_s\,dN_s]=E_u[\int r(\lambda_s)\,ds]Eu​[∫ps​dNs​]=Eu​[∫r(λs​)ds] for an arbitrary non-anticipating intensity. The paper cites Brémaud's martingale theory for this, which Mathlib does not have. A first idea is to apply Jensen's inequality to JuJ_uJu​ directly. It fails because the stock constraint holds only pathwise, through Nt≤nN_t\le nNt​≤n, and not in expectation for a rate path. Restricting to Markovian policies does not remove the need for the identity.

Formalization scope

  • Model. Rates are real numbers, and Λ⊆[0,∞)\Lambda\subseteq[0,\infty)Λ⊆[0,∞) is an interval containing 000. ppp is a real function, strictly decreasing and nonnegative on Λ∖{0}\Lambda\setminus\{0\}Λ∖{0}. r(λ)=λp(λ)r(\lambda)=\lambda p(\lambda)r(λ)=λp(λ) is continuous, concave and bounded above on Λ\LambdaΛ, and λ∗\lambda^*λ∗ is its least maximizer. p(0)p(0)p(0) is never used, since the null price may be +∞+\infty+∞.
  • Policies depend on elapsed time and the past sale times (the internal history); randomized policies are not included. Intensities are jointly measurable and locally integrable.
  • The sales process is built from i.i.d. Exp(1)\mathrm{Exp}(1)Exp(1) clocks, one per item. A sale occurs when the intensity integrated since the last sale reaches the next clock, so at most nnn items are sold. Constraint (2) is part of the construction, not a hypothesis.
  • Values. Expected revenues and J∗J^*J∗ are in [0,∞][0,\infty][0,∞], as lower Lebesgue integrals and suprema. JDJ^DJD is a real supremum over measurable, integrable rate paths, nonempty and bounded for x,t≥0x,t\ge0x,t≥0. JFPJ^{FP}JFP and JOFPJ^{OFP}JOFP are expected revenues of constant-price policies of this process, and the goal also asserts 0<J∗<∞0<J^*<\infty0<J∗<∞. Defining JuJ_uJu​ by the right side of (14), J∗J^*J∗ by the HJB equation, or JFPJ^{FP}JFP by formula (17) would trivialize the mission, and is ruled out.
  • Added hypotheses. Theorem 3 assumes n≥1n\ge1n≥1, t>0t>0t>0 and λ∗>0\lambda^*>0λ∗>0, which the page leaves implicit: the ratios divide by J∗J^*J∗, which vanishes otherwise. Eqs. (13)–(14) are stated for every policy, without Proposition 1's bound λs≤λ∗\lambda_s\le\lambda^*λs​≤λ∗, and without the reduction to Markovian policies.
  • Corrected slips. (12) prints JD(x,t)=tmin⁡{r∗,r0}J^D(x,t)=t\min\{r^*,r^0\}JD(x,t)=tmin{r∗,r0}, which is false for x>λ∗tx>\lambda^*tx>λ∗t (exponential demand with x=atx=atx=at gives r0=0r^0=0r0=0). The statement uses t r(λD)t\,r(\lambda^D)tr(λD), and the printed form where x≤λ∗tx\le\lambda^*tx≤λ∗t. The Remark's "E(Nn−n)+=n(1−P{Nn=n})E(N_n-n)^+=n(1-P\{N_n=n\})E(Nn​−n)+=n(1−P{Nn​=n})" should read E[min⁡{Nn,n}]E[\min\{N_n,n\}]E[min{Nn​,n}]; its displayed JFPJ^{FP}JFP formula is right. Proposition 2's "the optimal solution" is stated as optimality, since uniqueness fails without strict concavity.
  • Welcome contributions. Infrastructure for counting processes with stochastic intensity (the clock construction, the compensator identity), Jensen and Lagrangian duality for concave integral functionals on rate paths, and Poisson truncated-mean computations.

Selected references

  • G. Gallego, G. van Ryzin, Optimal Dynamic Pricing of Inventories with Stochastic Demand over Finite Horizons, Management Science 40(8):999–1020, 1994. https://doi.org/10.1287/mnsc.40.8.999
  • G. Gallego, A Minmax Distribution Free Procedure for the (Q, R) Inventory Model, Operations Research Letters 11:55–60, 1992 (cited in the paper's references, p. 1019).
  • P. Brémaud, Point Processes and Queues: Martingale Dynamics, Springer-Verlag, New York, 1980 (as cited in the paper).
  • K. T. Talluri, G. J. van Ryzin, The Theory and Practice of Revenue Management, Springer, 2004 (Chapter 5; on the platform as RevenueManagement.*).
  • G. Bitran, R. Caldentey, An Overview of Pricing Models for Revenue Management, Manufacturing & Service Operations Management 5(3):203–229, 2003 (on the platform as PricingRM.DetHeuristic.*).
15 thms2 active usersReviewed
🏆Completed
CombinatoricsOperations Research·Captain: mikedeng1

On the Abstract Properties of Linear Dependence 2: The Rank Postulates and the Circuit Postulates Are EquivalentResearch Paper

Motivation

Hassler Whitney's 1935 paper On the Abstract Properties of Linear Dependence introduced matroids: finite sets of elements carrying an abstract notion of dependence that captures what linearly dependent columns of a matrix and cycles of a graph have in common. A distinctive feature of the paper is that it gives several independent axiom systems for the same structure: one in terms of rank, one in terms of independent sets, one in terms of bases, and one in terms of circuits (minimal dependent sets). It then proves they are interchangeable. These equivalences, now called cryptomorphisms, are what allow matroid theory to move freely between the algebraic picture (rank of a set of vectors) and the combinatorial one (cycles of a graph, minimal dependent column sets). Every textbook on the subject relies on them, for example J. Oxley, Matroid Theory, Chapter 1.

This mission treats one of them: the equivalence of Whitney's rank postulates (§2) and circuit postulates (§8). The circuit side is the one used in combinatorial optimization, where circuits appear as cycles in network flows, as minimal infeasible subsystems, and in the exchange arguments behind the greedy algorithm.

Setting

Let MMM be a finite set of elements. For subsets we write N+eN + eN+e for N∪{e}N \cup \{e\}N∪{e} and P1+P2P_1 + P_2P1​+P2​ for P1∪P2P_1 \cup P_2P1​∪P2​.

Rank system. A function rrr assigning an integer r(N)r(N)r(N) to each N⊆MN \subseteq MN⊆M satisfies the rank postulates if

  • (R1)(\mathrm R_1)(R1​) the rank of the null subset is zero;
  • (R2)(\mathrm R_2)(R2​) for any subset NNN and any element eee not in NNN, r(N+e)=r(N)+kr(N+e) = r(N) + kr(N+e)=r(N)+k with k=0k = 0k=0 or 111;
  • (R3)(\mathrm R_3)(R3​) for any subset NNN and elements e1,e2e_1, e_2e1​,e2​ not in NNN, if r(N+e1)=r(N+e2)=r(N)r(N+e_1) = r(N+e_2) = r(N)r(N+e1​)=r(N+e2​)=r(N), then r(N+e1+e2)=r(N)r(N+e_1+e_2) = r(N)r(N+e1​+e2​)=r(N).

With ρ(N)\rho(N)ρ(N) the number of elements of NNN, the nullity is n(N)=ρ(N)−r(N)n(N) = \rho(N) - r(N)n(N)=ρ(N)−r(N). An element eee is dependent on NNN if r(N+e)=r(N)r(N+e) = r(N)r(N+e)=r(N). A circuit of rrr is a minimal dependent set: a subset PPP with n(P)>0n(P) > 0n(P)>0 such that n(N)=0n(N) = 0n(N)=0 for every proper subset NNN of PPP. In Lean these are IsRankSystem r, nullity r N, IsDependentOn r e N and circuitsOfRank r P.

Circuit system. A family of subsets, called circuits, satisfies the circuit postulates (§8, p. 516) if

(C₁) No proper subset of a circuit is a circuit.

(C₂) If P₁ and P₂ are circuits, e₁ is in both P₁ and P₂, and e₂ is in P₁ but not in P₂, then there is a circuit P₃ in P₁ + P₂ containing e₂ but not e₁.

In Lean this is IsCircuitSystem C for a predicate C : Finset α → Prop.

Rank from circuits. Whitney defines (p. 516):

Let e₁, ⋯, e_p be any ordered set of elements of M. Set Γᵢ = 0 if there is a circuit in e₁ + ⋯ + eᵢ containing eᵢ, and set Γᵢ = 1 otherwise (compare Theorem 5). Let the "rank" of (e₁, ⋯, e_p) be r(e₁, ⋯, e_p) = Σ_{i=1}^{p} Γᵢ.

In Lean, rankSeq C l is this sum for a list l, and rankOfCircuits C N is its value on the enumeration N.toList of a subset NNN.

Formalization targets

Goal: the two systems are equivalent

For every finite set MMM:

(1)r satisfies (R)  ⟹  C(r) satisfies (C), ∅∉C(r), rC(r)=r;\text{(1)}\quad r \text{ satisfies } (\mathrm R) \;\Longrightarrow\; \mathcal C(r) \text{ satisfies } (\mathrm C),\ \emptyset \notin \mathcal C(r),\ r_{\mathcal C(r)} = r;(1)r satisfies (R)⟹C(r) satisfies (C), ∅∈/C(r), rC(r)​=r; (2)C satisfies (C), ∅∉C  ⟹  rC satisfies (R), C(rC)=C,\text{(2)}\quad \mathcal C \text{ satisfies } (\mathrm C),\ \emptyset \notin \mathcal C \;\Longrightarrow\; r_{\mathcal C} \text{ satisfies } (\mathrm R),\ \mathcal C(r_{\mathcal C}) = \mathcal C,(2)C satisfies (C), ∅∈/C⟹rC​ satisfies (R), C(rC​)=C,

where C(r)\mathcal C(r)C(r) is the family of circuits of rrr and rCr_{\mathcal C}rC​ is the rank defined from C\mathcal CC. This is Whitney's closing sentence of §8 (p. 517): "The definitions of rank and of circuits under the two systems (R), (C) agree, and hence the systems are equivalent."

Milestones, in the order the argument uses them

  • Lemma 5 (p. 512): each element of a circuit is dependent on the rest of the circuit.
  • Lemma 6 (p. 512): if e∉P1e \notin P_1e∈/P1​ is dependent on P1P_1P1​ but on no proper subset of P1P_1P1​, then P1+eP_1 + eP1​+e is a circuit.
  • Theorem 4 (p. 512): for e∉Ne \notin Ne∈/N, some circuit in N+eN + eN+e contains eee if and only if eee is dependent on NNN.
  • Theorem 5 (p. 513): if N=e1+⋯+epN = e_1 + \cdots + e_pN=e1​+⋯+ep​ is formed element by element, n(N)n(N)n(N) is the number of indices iii for which some circuit in e1+⋯+eie_1 + \cdots + e_ie1​+⋯+ei​ contains eie_iei​.
  • §5 (pp. 512–513): the circuits of a rank system satisfy (C1)(\mathrm C_1)(C1​) and (C2)(\mathrm C_2)(C2​).
  • Lemma 7 (p. 516): r(e1,…,eq−2,eq−1,eq)=r(e1,…,eq−2,eq,eq−1)r(e_1, \dots, e_{q-2}, e_{q-1}, e_q) = r(e_1, \dots, e_{q-2}, e_q, e_{q-1})r(e1​,…,eq−2​,eq−1​,eq​)=r(e1​,…,eq−2​,eq​,eq−1​) under (C1)(\mathrm C_1)(C1​), (C2)(\mathrm C_2)(C2​).
  • Lemma 8 (p. 517): the rank of a subset defined from circuits does not depend on the ordering of its elements.
  • §8 (p. 517): the rank defined from circuits satisfies (R1)(\mathrm R_1)(R1​)–(R3)(\mathrm R_3)(R3​).

Significance

The equivalence makes the circuit postulates a complete description of a matroid: everything stated about rank, nullity, independence and bases can be phrased through circuits and back. Downstream in the same paper, the fundamental sets of circuits of §9 (Theorem 9) and the binary-matroid characterization of the Appendix are stated in terms of circuits, and they depend on circuits and rank being interchangeable. Theorem 5, read on its own, expresses the nullity of a set as a count of circuit-closing steps. This is the abstract form of the fact that the cycle space of a graph has dimension equal to the number of non-tree edges.

On the formal side, Mathlib's Matroid is built on the base axioms and proves circuit elimination (Matroid.IsCircuit.strong_elimination) as a theorem about that structure. Whitney's own route is different: rank defined from circuits by an ordered sum of Γi\Gamma_iΓi​, with order-independence (Lemmas 7 and 8) as the central step. That route has no machine-checked version that we know of, on Prove2Me or elsewhere. This mission formalizes the 1935 argument as stated: the rank and circuit systems as Whitney wrote them, and the two translations between them.

Difficulty

The obvious definition of the rank of a set from its circuits enumerates the set and counts the elements that do not close a circuit with their predecessors. This definition depends on the enumeration, and nothing in (C1)(\mathrm C_1)(C1​), (C2)(\mathrm C_2)(C2​) obviously prevents two orderings from giving different counts. Lemma 7, the swap of two adjacent elements, is where (C2)(\mathrm C_2)(C2​) does real work, through a case analysis on which of the two swapped elements closes a circuit. In the other direction, (C2)(\mathrm C_2)(C2​) for circuits of a rank function requires turning the local postulate (R3)(\mathrm R_3)(R3​) into a statement about unions of two circuits. Defining the circuit rank as a maximum over orderings, or as the size of a largest circuit-free subset, sidesteps exactly the step the paper proves and is not this mission.

Formalization scope

  • The elements form a finite type α with [Fintype α] [DecidableEq α]. The ground set is all of α, and subsets are Finset α. Whitney's matroid is a finite set e1,…,ene_1, \dots, e_ne1​,…,en​.
  • Ranks and nullities are integers (ℤ), so that n(N)=ρ(N)−r(N)n(N) = \rho(N) - r(N)n(N)=ρ(N)−r(N) is a true difference.
  • Ordered sets of elements are lists. Lemmas 7, 8 and Theorem 5 assume the list has no repetitions, as Whitney's "ordered set of elements" means. "A circuit in e1+⋯+eie_1 + \cdots + e_ie1​+⋯+ei​" means a circuit contained in {e1,…,ei}\{e_1, \dots, e_i\}{e1​,…,ei​}.
  • The rank of a subset from circuits is computed along one fixed enumeration N.toList. Its independence from the enumeration is Lemma 8, and the definition does not build it in.
  • Tacit hypothesis made explicit. Whitney's circuits are nonempty, since a circuit of a rank system has positive nullity. The family {∅}\{\emptyset\}{∅} satisfies (C1)(\mathrm C_1)(C1​), (C2)(\mathrm C_2)(C2​) vacuously, but its circuit rank is ρ\rhoρ, which has no circuits, so the round trip fails. Part (2) of the goal therefore assumes ∅∉C\emptyset \notin \mathcal C∅∈/C, and part (1) asserts ∅∉C(r)\emptyset \notin \mathcal C(r)∅∈/C(r).
  • Lemma 6 assumes e∉P1e \notin P_1e∈/P1​, which the paper leaves tacit.
  • Ruled out. Neither system may be encoded as Mathlib's Matroid in the statements. Doing so would turn the equivalence into a library lemma. The statements are about Whitney's postulates on bare functions and predicates.

The development needs only finite sets, lists and permutations from Mathlib. The definitions IsRankSystem and IsCircuitSystem can be reused for the other cryptomorphisms of the paper. Contributions are welcome on any milestone, and so are local helper lemmas, such as monotonicity of rank under (R1)(\mathrm R_1)(R1​)–(R3)(\mathrm R_3)(R3​) or invariance of rankSeq under prefix-preserving changes.

Selected references

  • H. Whitney, On the Abstract Properties of Linear Dependence, American Journal of Mathematics 57 (1935), no. 3, 509–533. https://doi.org/10.2307/2371182
  • J. Oxley, Matroid Theory, 2nd ed., Oxford Graduate Texts in Mathematics 21, Oxford University Press, 2011. https://doi.org/10.1093/acprof:oso/9780198566946.001.0001
  • Mathlib, Mathlib/Combinatorics/Matroid/Circuit.lean (circuits of Mathlib's Matroid). https://github.com/leanprover-community/mathlib4
12 thms2 active usersReviewed
🏆Completed
Convex OptimizationLinear OptimizationOperations Research·Captain: mikedeng1

Constructing Uncertainty Sets for Robust Linear Optimization 2: The Distortion Risk Measures with Centrally Symmetric Permutohulls Are the Mixtures of ⌊N/2⌋+1 GeneratorsResearch Paper

Motivation

A linear decision made with uncertain coefficients can be protected by requiring the constraint to hold for every coefficient vector in an uncertainty set. Choosing that set determines how conservative the decision is. Bertsimas and Brown connect this choice to a risk measure: a functional that assigns a cost to the random reward left by a decision. Their construction turns certain risk constraints into robust linear constraints over a convex hull of weighted samples. This mission isolates the structural question asked in §4.4 of their paper: which such risk measures always produce uncertainty sets that are centrally symmetric about the sample mean? The answer matters because this symmetric family is the class used in the paper's subsequent approximation of general polyhedral uncertainty sets. Bertsimas and Brown (2009), §§4.3–4.5.

Setting

There are N≥1N\ge1N≥1 observations, indexed by i=1,…,Ni=1,\ldots,Ni=1,…,N, with equal reference probabilities. A probability weight vector q=(q1,…,qN)q=(q_1,\ldots,q_N)q=(q1​,…,qN​) has nonnegative entries summing to one. The restricted simplex Δ^N\widehat\Delta^NΔN contains those vectors whose entries are nonincreasing: q1≥⋯≥qNq_1\ge\cdots\ge q_Nq1​≥⋯≥qN​. For a reward vector X=(x1,…,xN)X=(x_1,\ldots,x_N)X=(x1​,…,xN​), write x(1)≤⋯≤x(N)x_{(1)}\le\cdots\le x_{(N)}x(1)​≤⋯≤x(N)​ for its increasing order statistics. The associated distortion risk measure is μq(X)=−∑iqix(i)\mu_q(X)=-\sum_iq_i x_{(i)}μq​(X)=−∑i​qi​x(i)​. A larger reward therefore reduces risk. Under the uniform distribution, the paper's Theorem 4.2 identifies these functionals, for q∈Δ^Nq\in\widehat\Delta^Nq∈ΔN, with its distortion risk measures. Bertsimas and Brown (2009), Theorem 4.2.

Take arbitrary sample vectors a1,…,aN∈Rna_1,\ldots,a_N\in\mathbb R^na1​,…,aN​∈Rn. For a permutation σ\sigmaσ of their indices, form the weighted vector ∑iqσ(i)ai\sum_iq_{\sigma(i)}a_i∑i​qσ(i)​ai​. The qqq-permutohull Πq(A)\Pi_q(\mathcal A)Πq​(A) is the convex hull of all these vectors. Its center of interest is the sample mean a^=N−1∑iai\widehat a=N^{-1}\sum_i a_ia=N−1∑i​ai​. A set PPP is centrally symmetric through x0∈Px_0\in Px0​∈P when x0+x∈Px_0+x\in Px0​+x∈P implies x0−x∈Px_0-x\in Px0​−x∈P for every xxx. The quantifier “for any data” ranges over every dimension nnn and every choice of NNN sample vectors. It is stronger than symmetry for one selected data set. Bertsimas and Brown (2009), Definitions 4.7–4.8.

Formalization targets

The first target is Proposition 4.1's characterization of weights giving universal symmetry. If eNe_NeN​ is the vector with every entry 1/N1/N1/N, then

[Πq(A) is centrally symmetric through a^ for every n,A]⟺∃σ∈SN: q=2eN−qσ.\bigl[\Pi_q(\mathcal A)\text{ is centrally symmetric through }\widehat a \text{ for every }n,\mathcal A\bigr] \quad\Longleftrightarrow\quad \exists\sigma\in S_N:\ q=2e_N-q_\sigma.[Πq​(A) is centrally symmetric through a for every n,A]⟺∃σ∈SN​: q=2eN​−qσ​.

This condition defines the symmetric restricted simplex Δ^symN\widehat\Delta^N_{\mathrm{sym}}ΔsymN​ inside Δ^N\widehat\Delta^NΔN. Bertsimas and Brown (2009), Proposition 4.1 and Definition 4.9.

The main target is Theorem 4.4. Put N^=⌊N/2⌋+1\widehat N=\lfloor N/2\rfloor+1N=⌊N/2⌋+1. For 1≤j≤N^1\le j\le\widehat N1≤j≤N, define a generator qˉ j\bar q^{\,j}qˉ​j by

qˉi j={2/N,i<j,1/N,j≤i≤N−j+1,0,otherwise.\bar q_i^{\,j}= \begin{cases} 2/N,&i<j,\\ 1/N,&j\le i\le N-j+1,\\ 0,&\text{otherwise}. \end{cases}qˉ​ij​=⎩⎨⎧​2/N,1/N,0,​i<j,j≤i≤N−j+1,otherwise.​

A functional represented by a q∈Δ^Nq\in\widehat\Delta^Nq∈ΔN whose permutohull is symmetric for every data set is exactly a convex mixture of the N^\widehat NN generator functionals:

μ(X)=∑j=1N^λjμqˉ j(X),λj≥0,∑j=1N^λj=1.\mu(X)=\sum_{j=1}^{\widehat N}\lambda_j\mu_{\bar q^{\,j}}(X), \qquad \lambda_j\ge0,\qquad\sum_{j=1}^{\widehat N}\lambda_j=1.μ(X)=j=1∑N​λj​μqˉ​j​(X),λj​≥0,j=1∑N​λj​=1.

The milestones also state the two set inclusions behind the equality of Δ^symN\widehat\Delta^N_{\mathrm{sym}}ΔsymN​ with the convex hull of these generators, including the coordinate reversal identity. Bertsimas and Brown (2009), Theorem 4.4 and its proof.

Significance

The result gives a finite list of risk functionals from which every member of the universally symmetric distortion subclass can be formed. The number of generators is ⌊N/2⌋+1\lfloor N/2\rfloor+1⌊N/2⌋+1, rather than an unspecified family. It also connects a geometric property of a robust uncertainty set to a checkable condition on its weights. The paper uses this symmetric subclass to formulate the inner approximation problem in §4.5, where a symmetric permutohull is fitted inside another polytope. Bertsimas and Brown (2009), §§4.4–4.5.

The mathematical result is proved in the 2009 paper. This formalization task is to obtain Lean proofs of the classification and its source-stated intermediate claims. The definition layer is a reusable interface for finite distortion risk measures, permutohulls, and symmetry under coordinate permutations. Formal proofs here would provide a checked foundation for later robust optimization statements using the same finite sample model. The proposed goal and milestones are open Lean statements; compiling them verifies their syntax and types, not their proofs.

Difficulty

Symmetry of one pictured polygon does not determine its weight vector. The hypothesis demands symmetry for every possible collection of sample vectors, so the converse in Proposition 4.1 must recover a relation among weights from a universal geometric property. Another difficulty is that the explicit generators change shape at the midpoint, and the odd and even cases have different middle ranges. The paper writes the calculation for odd NNN and says the even case is analogous; the theorem itself makes no parity restriction. A proof therefore has to cover the even boundary, including the generator whose 1/N1/N1/N band is empty. Bertsimas and Brown (2009), Proposition 4.1 and proof of Theorem 4.4.

Formalization scope

The Lean sample space is Fin N, with N>0N>0N>0. Its indices start at zero; the prose and source formulas above start at one. The source's N^\widehat NN is N / 2 + 1 in natural numbers. Probability vectors use Mathlib's standard simplex together with antitone coordinate order. Permutohulls use convexHull of the finite permutation family, and order statistics use Tuple.sort. The reference distribution is uniform, as in the paper's Assumption 4.1. Real vector spaces of dimension zero are allowed because the claim quantifies over every dimension; the nonempty sample condition excludes division by zero.

The goal takes an arbitrary functional μ\muμ and requires an actual representation μ=μq\mu=\mu_qμ=μq​ by a restricted-simplex weight. This is the paper's Theorem 4.2 parametrization of distortion risk measures, stated directly because that theorem is being drafted in a separate mission of the same series. Universal symmetry is derived from the data quantifier; it is not assumed as a condition on qqq. The generator mixture is likewise the conclusion, with its coefficients nonnegative and summing to one. Central symmetry includes membership of the center in the set.

Useful contributions include proofs of the source's permutation characterization, validity and symmetry of generator mixtures, and their converse spanning property. The definitions of finite probability weights and weighted permutation hulls can support further finite sample robust optimization results. The paper's inconsistent accent on the generator risk measure in Theorem 4.4 is read as the functional of the displayed generator vector; its intermediate sum on p. 1492 does not alter the stated normalized mixture.

Selected references

  • Dimitris Bertsimas and David B. Brown, Constructing Uncertainty Sets for Robust Linear Optimization, Operations Research 57(6), 1483–1495, 2009. DOI: 10.1287/opre.1080.0646.
6 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchProbability·Captain: mikedeng1

Constructing Uncertainty Sets for Robust Linear Optimization 1: A Distortion Risk Constraint Equals a Robust Constraint over a Permutohull and an Explicit Linear SystemResearch Paper

Motivation

Robust linear optimization replaces an uncertain constraint a~′x≥b\tilde a'x \ge ba~′x≥b by the requirement that a′x≥ba'x \ge ba′x≥b hold for every aaa in an uncertainty set U\mathcal UU (Ben-Tal and Nemirovski 1999). The method leaves open where U\mathcal UU should come from. Risk theory answers a related question from the other side: a decision maker's attitude to an uncertain reward is described by a risk measure μ\muμ, and the constraint is imposed as μ(a~′x−b)≤0\mu(\tilde a'x - b) \le 0μ(a~′x−b)≤0.

Bertsimas and Brown (2009) connect the two. When μ\muμ is coherent and a~\tilde aa~ is supported on finitely many observed data points a1,…,aNa_1, \dots, a_Na1​,…,aN​, the risk constraint is exactly a robust constraint whose uncertainty set is built from the data and the family of probability vectors generating μ\muμ. For the class of distortion risk measures, the uncertainty set has an explicit polyhedral form, the qqq-permutohull of the data, and the robust constraint has a reformulation of polynomial size. This mission formalizes that chain of results, Sections 2–4.3 of the paper.

Setting

The sample space is finite, Ω={ω1,…,ωN}\Omega = \{\omega_1, \dots, \omega_N\}Ω={ω1​,…,ωN​}, and a random variable is a vector X∈RNX \in \mathbb R^NX∈RN, read as a reward; X≥YX \ge YX≥Y means Xi≥YiX_i \ge Y_iXi​≥Yi​ for every iii. The probability simplex is ΔN={p∈R+N:e′p=1}\Delta^N = \{p \in \mathbb R^N_+ : e'p = 1\}ΔN={p∈R+N​:e′p=1}, and Eq[X]=∑iqiXi\mathbb E_q[X] = \sum_i q_i X_iEq​[X]=∑i​qi​Xi​.

A risk measure is a function μ:RN→R\mu : \mathbb R^N \to \mathbb Rμ:RN→R with X≥Y⇒μ(X)≤μ(Y)X \ge Y \Rightarrow \mu(X) \le \mu(Y)X≥Y⇒μ(X)≤μ(Y) and μ(X+c)=μ(X)−c\mu(X + c) = \mu(X) - cμ(X+c)=μ(X)−c. It is coherent if it is moreover convex and positively homogeneous. A set Q⊆ΔN\mathcal Q \subseteq \Delta^NQ⊆ΔN generates μ\muμ if μ(X)=sup⁡q∈QEq[−X]\mu(X) = \sup_{q \in \mathcal Q} \mathbb E_q[-X]μ(X)=supq∈Q​Eq​[−X] for all XXX. The conditional value-at-risk under a probability vector ppp is CVaRα(X)=inf⁡ν∈R{ν+1αEp[(−ν−X)+]}\mathrm{CVaR}_\alpha(X) = \inf_{\nu \in \mathbb R}\{\nu + \frac1\alpha \mathbb E_p[(-\nu - X)^+]\}CVaRα​(X)=infν∈R​{ν+α1​Ep​[(−ν−X)+]} for α∈(0,1]\alpha \in (0,1]α∈(0,1].

Two random variables are comonotone if (X(ω)−X(ω′))(Y(ω)−Y(ω′))≥0(X(\omega) - X(\omega'))(Y(\omega) - Y(\omega')) \ge 0(X(ω)−X(ω′))(Y(ω)−Y(ω′))≥0 for all ω,ω′\omega, \omega'ω,ω′; μ\muμ is comonotonic if it is additive on comonotone pairs, and law invariant if it takes equal values on random variables with the same distribution. A distortion risk measure is a coherent, comonotonic, law-invariant risk measure. From Section 4.2 on, Ω\OmegaΩ carries the uniform distribution P{ωi}=1/N\mathbb P\{\omega_i\} = 1/NP{ωi​}=1/N.

The restricted simplex is Δ^N={q∈ΔN:q1≥⋯≥qN}\hat\Delta^N = \{q \in \Delta^N : q_1 \ge \cdots \ge q_N\}Δ^N={q∈ΔN:q1​≥⋯≥qN​}. For q∈Δ^Nq \in \hat\Delta^Nq∈Δ^N put

μq(X)=−∑i=1Nqix(i),\mu_q(X) = -\sum_{i=1}^N q_i x_{(i)},μq​(X)=−i=1∑N​qi​x(i)​,

where x(1)≤⋯≤x(N)x_{(1)} \le \cdots \le x_{(N)}x(1)​≤⋯≤x(N)​ are the increasing order statistics of XXX. The data are A={a1,…,aN}⊆Rn\mathcal A = \{a_1, \dots, a_N\} \subseteq \mathbb R^nA={a1​,…,aN​}⊆Rn, the uncertain vector a~\tilde aa~ takes the value aia_iai​ at ωi\omega_iωi​, and the qqq-permutohull of A\mathcal AA is

Πq(A)=conv⁡{∑i=1Nqσ(i)ai:σ∈SN}.\Pi_q(\mathcal A) = \operatorname{conv}\Big\{\sum_{i=1}^N q_{\sigma(i)} a_i : \sigma \in S_N\Big\}.Πq​(A)=conv{i=1∑N​qσ(i)​ai​:σ∈SN​}.

Formalization targets

Goal: Theorem 4.3

Under the uniform distribution, for every distortion risk measure μ\muμ there is q∈Δ^Nq \in \hat\Delta^Nq∈Δ^N with μ=μq\mu = \mu_qμ=μq​, and for this qqq, all data and every bbb,

{x:μ(a~′x−b)≤0}={x:a′x≥b ∀a∈Πq(A)}={x:∃y1,y2∈RN, e′y1+e′y2≥b, y1,i+y2,j≤qi aj′x ∀i,j}.\{x : \mu(\tilde a'x - b) \le 0\} = \{x : a'x \ge b\ \forall a \in \Pi_q(\mathcal A)\} = \{x : \exists y_1, y_2 \in \mathbb R^N,\ e'y_1 + e'y_2 \ge b,\ y_{1,i} + y_{2,j} \le q_i\, a_j'x\ \forall i, j\}.{x:μ(a~′x−b)≤0}={x:a′x≥b ∀a∈Πq​(A)}={x:∃y1​,y2​∈RN, e′y1​+e′y2​≥b, y1,i​+y2,j​≤qi​aj′​x ∀i,j}.

The vector qqq depends on μ\muμ only; the data are quantified after it.

Milestones

  1. Theorem 2.1. μ\muμ is coherent if and only if some family Q⊆ΔN\mathcal Q \subseteq \Delta^NQ⊆ΔN generates it.
  2. Theorem 3.1. For coherent μ\muμ generated by Q\mathcal QQ, {x:μ(a~′x−b)≤0}={x:a′x≥b ∀a∈conv⁡{Aq:q∈Q}}\{x : \mu(\tilde a'x - b) \le 0\} = \{x : a'x \ge b\ \forall a \in \operatorname{conv}\{Aq : q \in \mathcal Q\}\}{x:μ(a~′x−b)≤0}={x:a′x≥b ∀a∈conv{Aq:q∈Q}}; conversely every nonempty U⊆conv⁡(A)\mathcal U \subseteq \operatorname{conv}(\mathcal A)U⊆conv(A) arises from the coherent measure generated by {q∈ΔN:Aq∈U}\{q \in \Delta^N : Aq \in \mathcal U\}{q∈ΔN:Aq∈U}.
  3. Generation of (4). μq\mu_qμq​ is generated by the permuted vectors q∘σq \circ \sigmaq∘σ, σ∈SN\sigma \in S_Nσ∈SN​.
  4. Theorem 4.1 (Schmeidler). A coherent μ\muμ is comonotonic if and only if μ(X)=∫(−X) dg\mu(X) = \int (-X)\,dgμ(X)=∫(−X)dg (Choquet integral) for a monotone, normalized, submodular g:2Ω→[0,1]g : 2^\Omega \to [0,1]g:2Ω→[0,1].
  5. Second differences (proof of Lemma 4.1). A submodular ggg depending only on ∣A∣|A|∣A∣ has nonincreasing increments along ∅⊂{ω1}⊂{ω1,ω2}⊂⋯\emptyset \subset \{\omega_1\} \subset \{\omega_1, \omega_2\} \subset \cdots∅⊂{ω1​}⊂{ω1​,ω2​}⊂⋯.
  6. Lemma 4.1. A risk measure is a distortion risk measure if and only if μ(X)=∫(0,1]CVaRα(X) ν(dα)\mu(X) = \int_{(0,1]} \mathrm{CVaR}_\alpha(X)\,\nu(d\alpha)μ(X)=∫(0,1]​CVaRα​(X)ν(dα) for a probability measure ν\nuν.
  7. The CVaR display (proof of Theorem 4.2). CVaRα(X)=sup⁡{Eq[−X]:q∈ΔN, qi≤1/(Nα)}=μqα(X)\mathrm{CVaR}_\alpha(X) = \sup\{\mathbb E_q[-X] : q \in \Delta^N,\ q_i \le 1/(N\alpha)\} = \mu_{q^\alpha}(X)CVaRα​(X)=sup{Eq​[−X]:q∈ΔN, qi​≤1/(Nα)}=μqα​(X) with qα∈Δ^Nq^\alpha \in \hat\Delta^Nqα∈Δ^N.
  8. Theorem 4.2. A risk measure is a distortion risk measure if and only if μ=μq\mu = \mu_qμ=μq​ for some q∈Δ^Nq \in \hat\Delta^Nq∈Δ^N; every such qqq is a convex combination of the generators q^j\hat q^jq^​j of CVaRj/N\mathrm{CVaR}_{j/N}CVaRj/N​.
  9. Assignment duality (proof of Theorem 4.3). a′x≥ba'x \ge ba′x≥b on Πq(A)\Pi_q(\mathcal A)Πq​(A) if and only if the linear system in (y1,y2)(y_1, y_2)(y1​,y2​) above is feasible.

A companion item states Corollary 4.3: Π∑jλjq^j(A)=conv⁡{∑jλj1j∑i≤jaσj(i):σj∈SN}\Pi_{\sum_j \lambda_j \hat q^j}(\mathcal A) = \operatorname{conv}\{\sum_j \lambda_j \frac1j \sum_{i \le j} a_{\sigma_j(i)} : \sigma_j \in S_N\}Π∑j​λj​q^​j​(A)=conv{∑j​λj​j1​∑i≤j​aσj​(i)​:σj​∈SN​}, and the class equality it yields: the uncertainty sets Πq(A)\Pi_q(\mathcal A)Πq​(A) of all distortion risk measures μ=μq\mu = \mu_qμ=μq​ are exactly the polytopes Uλ(A)\mathcal U_\lambda(\mathcal A)Uλ​(A), λ≥0\lambda \ge 0λ≥0, ∑jλj=1\sum_j \lambda_j = 1∑j​λj​=1.

Significance

The goal theorem identifies the uncertainty set implied by any distortion risk measure: it is a permutohull of the data, a polytope with up to N!N!N! vertices that is nevertheless representable with 2N2N2N extra variables and N2N^2N2 linear constraints. Combined with Theorem 4.2, the uncertainty sets of distortion measures are exactly the mixtures of the sets of jjj-point averages of the data (Corollary 4.3), with CVaRj/N\mathrm{CVaR}_{j/N}CVaRj/N​ as the generators. The later sections of the paper build on this: centrally symmetric permutohulls (Section 4.4) and the construction of a distortion risk measure from a given polyhedral uncertainty set (Section 4.5) are the subjects of the two companion missions.

The results are proved in the paper; no machine-checked version is known. The formalization adds checked statements of the finite-space representation theory of coherent and distortion risk measures, which the paper obtains partly by citing general results, and records the corrections the printed statements need.

Difficulty

The two equalities of the goal have unequal weight. The second is a statement about one polytope with up to N!N!N! vertices and a linear system of size O(N2)O(N^2)O(N2); it is finite-dimensional linear programming. The first requires the complete characterization of distortion risk measures on a finite uniform space, and that is where the obvious approach fails. The known representation of law-invariant comonotonic coherent measures as mixtures of CVaR (Kusuoka 2001) is proved for atomless spaces and does not transfer to a discrete Ω\OmegaΩ. The uniform distribution is essential, not a convenience: Remark 4.2 of the paper gives a two-point space with probabilities 1/3,2/31/3, 2/31/3,2/3 and a monotone, normalized, submodular set function depending only on probability whose induced distortion is not concave, so the conclusion of Theorem 4.2 fails there.

Formalization scope

  • Ω\OmegaΩ is Fin N with N≥1N \ge 1N≥1; random variables are Fin N → ℝ; indices are 0-based throughout, so qhat j is the paper's q^j+1\hat q^{j+1}q^​j+1 and q1≥⋯≥qNq_1 \ge \cdots \ge q_Nq1​≥⋯≥qN​ is Antitone q. Order statistics are X ∘ Tuple.sort X.
  • Probability measures on Ω\OmegaΩ are probability vectors in stdSimplex ℝ (Fin N). Generation (1) is an IsLUB over an arbitrary set of probability vectors, not a maximum over a finite family (that version is false).
  • Sign of the risk constraint. Display (2) and Theorem 4.3 print μ(a~′x−b)≥0\mu(\tilde a'x - b) \ge 0μ(a~′x−b)≥0. The paper introduces the constraint as μ(a~′x−b)≤0\mu(\tilde a'x - b) \le 0μ(a~′x−b)≤0 (p. 1486) and the proof of Theorem 3.1 computes μ(a~′x−b)=−inf⁡a∈Ua′x+b\mu(\tilde a'x - b) = -\inf_{a \in \mathcal U} a'x + bμ(a~′x−b)=−infa∈U​a′x+b; all statements use ≤0\le 0≤0.
  • Standing assumptions. Theorems 2.1 and 3.1 assume a probability vector ppp with pi>0p_i > 0pi​>0 (full support makes Q≪P\mathbb Q \ll \mathbb PQ≪P vacuous; with a null atom Theorem 2.1 fails for functions on Ω\OmegaΩ). From Lemma 4.1 on the distribution is uniform (Assumption 4.1). Theorem 3.1's converse adds U≠∅\mathcal U \neq \emptysetU=∅.
  • CVaR is a real infimum, used only for α∈(0,1]\alpha \in (0,1]α∈(0,1], where the objective is bounded below by E[−X]\mathbb E[-X]E[−X]. In Lemma 4.1 the mixing measure ν\nuν is a probability measure on (0,1](0,1](0,1]; the page's ∫01\int_0^1∫01​ is read over (0,1](0,1](0,1]. The CVaR display uses the corrected coefficient (Nα−⌊Nα⌋)/(Nα)(N\alpha - \lfloor N\alpha \rfloor)/(N\alpha)(Nα−⌊Nα⌋)/(Nα) in place of the printed /⌊Nα⌋/\lfloor N\alpha \rfloor/⌊Nα⌋. The assignment-duality milestone is stated for every q∈RNq \in \mathbb R^Nq∈RN.
  • The goal must assert the representation μ=μq\mu = \mu_qμ=μq​ together with the set equalities: a statement "there is some qqq for which the sets coincide" would let qqq depend on the data and is not Theorem 4.3. The goal does not assume μ=μq\mu = \mu_qμ=μq​, which is Theorem 4.2's conclusion.
  • Needed infrastructure: Birkhoff's theorem (in Mathlib), LP duality, the rearrangement inequality, Choquet integrals of step functions. Lemmas about μq\mu_qμq​ and order statistics are reusable beyond this mission; proofs of any milestone are welcome.

Selected references

  • D. Bertsimas, D. B. Brown, Constructing uncertainty sets for robust linear optimization, Operations Research 57(6):1483–1495, 2009. https://doi.org/10.1287/opre.1080.0646
  • A. Ben-Tal, A. Nemirovski, Robust solutions of uncertain linear programs, Operations Research Letters 25(1):1–13, 1999. https://doi.org/10.1016/S0167-6377(99)00016-4
  • P. Artzner, F. Delbaen, J.-M. Eber, D. Heath, Coherent measures of risk, Mathematical Finance 9(3):203–228, 1999. https://doi.org/10.1111/1467-9965.00068
  • D. Schmeidler, Integral representation without additivity, Proceedings of the AMS 97(2):255–261, 1986. https://doi.org/10.1090/S0002-9939-1986-0835875-8
  • R. T. Rockafellar, S. Uryasev, Optimization of conditional value-at-risk, Journal of Risk 2(3):21–41, 2000. https://doi.org/10.21314/JOR.2000.038
  • S. Kusuoka, On law invariant coherent risk measures, Advances in Mathematical Economics 3:83–95, 2001. https://doi.org/10.1007/978-4-431-67891-5_4
  • H. Föllmer, A. Schied, Stochastic Finance: An Introduction in Discrete Time, 2nd ed., de Gruyter, 2004. https://doi.org/10.1515/9783110212075
11 thms2 active usersReviewed
Convex OptimizationLinear OptimizationOperations Research·Captain: mikedeng1

Robust Solutions of Uncertain Linear Programs II: With Ellipsoidal Uncertainty the Robust Counterpart Is Equivalent to a Conic Quadratic ProgramResearch Paper

Motivation

The data of a linear program are often not known exactly: they are measured or estimated, or they are forecasts. The robust counterpart approach, going back to Soyster (1973), asks for a solution that is feasible for every data matrix in a prescribed uncertainty set and is best among such solutions. Ben-Tal and Nemirovski's 1999 paper [1] showed that the method stays computationally tractable for a broad class of uncertainty sets, the ellipsoidal uncertainties: the robust counterpart of an uncertain LP is then a conic quadratic program (CQP), solvable by interior point methods at roughly the cost of an LP of similar size. This result is the basis of robust linear optimization as it is used today [2], [3]. It is also the reason ellipsoidal sets are the default choice in robust portfolio selection (§4 of the paper) and in many later robust models.

Timeline. Soyster (1973) treated column-wise box uncertainty, for which the counterpart is again an LP [4]. Ben-Tal and Nemirovski (1998) developed the general theory of robust convex optimization [5]. The present paper (1999) proved the ellipsoidal-to-CQP reduction for LPs (Theorem 3.1). Its proof relies on the conic duality theory of Nesterov and Nemirovski (1994) [6].

Setting

An uncertain linear program in the homogeneous form (6) is

min⁡{cTx∣Ax≥0, fTx=1},\min\{c^Tx \mid Ax \ge 0,\ f^Tx = 1\},min{cTx∣Ax≥0, fTx=1},

where c,f∈Rnc, f \in \mathbb R^nc,f∈Rn are fixed and the matrix A∈Rm×nA \in \mathbb R^{m\times n}A∈Rm×n lies in an uncertainty set U\mathcal UU. A point xxx is robust feasible if fTx=1f^Tx = 1fTx=1 and Ax≥0Ax \ge 0Ax≥0 for every A∈UA \in \mathcal UA∈U. The robust counterpart (PU)(P_{\mathcal U})(PU​) minimizes cTxc^TxcTx over the robust feasible set

GU={x∣Ax≥0 ∀A∈U, fTx=1}.G_{\mathcal U} = \{x \mid Ax \ge 0\ \forall A \in \mathcal U,\ f^Tx = 1\}.GU​={x∣Ax≥0 ∀A∈U, fTx=1}.

An ellipsoid in Rm×n\mathbb R^{m\times n}Rm×n (display (14)) is a set

U(Π,Q)={Π(u)∣∥Qu∥≤1},U(\Pi, Q) = \{\Pi(u) \mid \|Qu\| \le 1\},U(Π,Q)={Π(u)∣∥Qu∥≤1},

where Π(u)=P0+∑j=1LujPj\Pi(u) = P^0 + \sum_{j=1}^L u_jP^jΠ(u)=P0+∑j=1L​uj​Pj is affine in u∈RLu \in \mathbb R^Lu∈RL, QQQ is an M×LM\times LM×L matrix, and ∥⋅∥\|\cdot\|∥⋅∥ is the Euclidean norm. A singular QQQ gives an ellipsoidal cylinder, which may be unbounded. An ellipsoidal uncertainty is a set

U=⋂ℓ=0kU(Πℓ,Qℓ)\mathcal U = \bigcap_{\ell=0}^k U(\Pi_\ell, Q_\ell)U=ℓ=0⋂k​U(Πℓ​,Qℓ​)

(condition A) that is bounded (condition B) and contains a matrix AAA with A=Πℓ(uℓ)A = \Pi_\ell(u^\ell)A=Πℓ​(uℓ) and ∥Qℓuℓ∥<1\|Q_\ell u^\ell\| < 1∥Qℓ​uℓ∥<1 for every ℓ\ellℓ (condition C, a Slater condition).

Formalization targets

Goal: Theorem 3.1

For every x∈Rnx \in \mathbb R^nx∈Rn,

x∈GU  ⟺  fTx=1  and  ∀i≤m  ∃ λ(i),μ(i),ν(i): (x,λ(i),μ(i),ν(i)) satisfies (Ci).x \in G_{\mathcal U} \iff f^Tx = 1 \ \text{ and }\ \forall i \le m\ \ \exists\, \lambda^{(i)}, \mu^{(i)}, \nu^{(i)} :\ (x, \lambda^{(i)}, \mu^{(i)}, \nu^{(i)}) \text{ satisfies } (\mathcal C_i).x∈GU​⟺fTx=1  and  ∀i≤m  ∃λ(i),μ(i),ν(i): (x,λ(i),μ(i),ν(i)) satisfies (Ci​).

Here (Ci)(\mathcal C_i)(Ci​) is an explicit system: linear equations and one linear inequality in (x,λ,μ,ν)(x, \lambda, \mu, \nu)(x,λ,μ,ν), together with the second-order cone constraints ∥μℓ(i)∥≤νℓ(i)\|\mu^{(i)}_\ell\| \le \nu^{(i)}_\ell∥μℓ(i)​∥≤νℓ(i)​. Its coefficients are the matrices PℓjP^j_\ellPℓj​ and QℓQ_\ellQℓ​. The robust feasible set is therefore the projection of the feasible set of the conic quadratic program (CQP), which minimizes cTxc^TxcTx subject to (C1),…,(Cm)(\mathcal C_1), \dots, (\mathcal C_m)(C1​),…,(Cm​) and fTx=1f^Tx = 1fTx=1.

Milestones, in the order of the Appendix's proof

  1. U\mathcal UU equals the image of the feasible set of the problem (Pi[x])(P_i[x])(Pi​[x]) under u↦Π0(u0)u \mapsto \Pi_0(u^0)u↦Π0​(u0) (p. 15).
  2. Claim (I): with fTx=1f^Tx = 1fTx=1, xxx is robust feasible iff every (Pi[x])(P_i[x])(Pi​[x]) has nonnegative optimal value (p. 15).
  3. Claim (II): conic quadratic duality. A strictly feasible primal that is bounded below has a solvable dual with equal optimal value (p. 15).
  4. Conditions B and C make every (Pi[x])(P_i[x])(Pi​[x]) strictly feasible and bounded below (p. 16).

Companion results

The CQP forms (16) and (17) of the simplest cases (a single ellipsoid; constraint-wise ellipsoids), Remark 3.1 (bounded polytopes are ellipsoidal uncertainties), and the robust portfolio counterpart (22).

Significance

The result. Theorem 3.1 turns a semi-infinite constraint system (one constraint for every A∈UA \in \mathcal UA∈U) into finitely many conic quadratic constraints whose size is polynomial in the data. Robust LPs with ellipsoidal uncertainty, which by Remark 3.1 include polytopic uncertainty, can therefore be solved by standard conic solvers. Later robust optimization results, such as budgeted uncertainty, affinely adjustable policies and distributionally robust LPs, refine this pattern.

Formalizing it. The theorem is classical and its proof is complete, but no machine-checked proof exists. A formal proof needs a conic quadratic strong duality theorem with dual attainment (claim (II)), which Mathlib does not have in this form. That duality theorem can be reused well beyond this mission. The companion results (16), (17) and (22) are self-contained computations of a minimum of a linear function over a Euclidean ball.

Difficulty

The "if" direction is weak duality: a solution of (Ci)(\mathcal C_i)(Ci​) certifies that the iii-th constraint holds for all of U\mathcal UU. The content is the "only if" direction. It requires dual attainment, not merely equality of optimal values, because a solution of (Ci)(\mathcal C_i)(Ci​) must exist. Dual attainment fails without a constraint qualification. Condition C must hold strictly for every ellipsoid, including ℓ=0\ell = 0ℓ=0, and the ellipsoids may be cylinders, so the variables uℓu^\elluℓ can range over unbounded sets even though U\mathcal UU is bounded. Projecting the problem onto a single parameter space is not available in general, because the maps Πℓ\Pi_\ellΠℓ​ need not be injective.

Formalization scope

Vectors are Fin n → ℝ and matrices Matrix (Fin m) (Fin n) ℝ. The indices ℓ=0,…,k\ell = 0, \dots, kℓ=0,…,k are Fin (k + 1), and the kkk equality multipliers λℓ\lambda_\ellλℓ​, ℓ≥1\ell \ge 1ℓ≥1, are indexed by Fin k. Every norm is Euclidean, written out as euclidNorm v = √(∑ v_j²), because Mathlib's norm on Fin M → ℝ is the sup norm, under which ellipsoids would become boxes. Condition B is a uniform bound on all matrix entries, and condition C is required for every ℓ=0,…,k\ell = 0, \dots, kℓ=0,…,k. The page's words say "ℓ=1,…,k\ell = 1, \dots, kℓ=1,…,k", but its display and the proof use every ℓ\ellℓ. Injectivity of Πℓ\Pi_\ellΠℓ​ is not assumed, and neither is §2.1's standing assumption that U\mathcal UU is convex and closed. An ellipsoidal uncertainty is convex automatically, and closedness is not used, so both omissions generalize the statement. Three printed slips are corrected and disclosed: the sum in the equality constraint of (CQPd_dd​) runs over ℓ=0,…,k\ell = 0, \dots, kℓ=0,…,k; (Ci)(\mathcal C_i)(Ci​) has φ(i)[x]\varphi^{(i)}[x]φ(i)[x] where the page prints f(i)[x]f^{(i)}[x]f(i)[x]; and Remark 3.1 has the factor 2/(ri−si)2/(r_i - s_i)2/(ri​−si​) where the page prints (ri−si)/2(r_i - s_i)/2(ri​−si​)/2.

The goal is not the contentless statement "some conic quadratic program has GUG_{\mathcal U}GU​ as a projection", which holds for every closed convex set. It names the system (Ci)(\mathcal C_i)(Ci​) built from the data PℓjP^j_\ellPℓj​, QℓQ_\ellQℓ​. The goal also does not mention optimal values, (CQPp_pp​) or strict feasibility; those are milestones.

Contributions are welcome on the conic duality theorem (II) as a standalone result, on the finite-dimensional facts that minimize a linear function over a Euclidean ball (used in (16), (17) and (22)), and on the goal itself.

Selected references

  1. A. Ben-Tal, A. Nemirovski, Robust solutions of uncertain linear programs, Operations Research Letters 25(1):1–13, 1999. https://doi.org/10.1016/S0167-6377(99)00016-4
  2. A. Ben-Tal, L. El Ghaoui, A. Nemirovski, Robust Optimization, Princeton University Press, 2009. https://doi.org/10.1515/9781400831050
  3. D. Bertsimas, D. B. Brown, C. Caramanis, Theory and applications of robust optimization, SIAM Review 53(3):464–501, 2011. https://doi.org/10.1137/080734510
  4. A. L. Soyster, Convex programming with set-inclusive constraints and applications to inexact linear programming, Operations Research 21(5):1154–1157, 1973. https://doi.org/10.1287/opre.21.5.1154
  5. A. Ben-Tal, A. Nemirovski, Robust convex optimization, Mathematics of Operations Research 23(4):769–805, 1998. https://doi.org/10.1287/moor.23.4.769
  6. Yu. Nesterov, A. Nemirovski, Interior-Point Polynomial Algorithms in Convex Programming, SIAM Studies in Applied Mathematics 13, 1994. https://doi.org/10.1137/1.9781611970791
9 thms2 active usersReviewed
🏆Completed
CombinatoricsLinear algebraOperations Research·Captain: mikedeng1

On the Abstract Properties of Linear Dependence 4: Orthogonal Subspaces Have Dual MatroidsResearch Paper

Motivation

Hassler Whitney introduced matroids in On the Abstract Properties of Linear Dependence (Amer. J. Math. 57, 1935, doi:10.2307/2371182) to capture what linear dependence among the columns of a matrix and the circuit structure of a graph have in common. One of the central constructions of the paper is duality. For graphs, duality exists only for planar graphs (Whitney, Non-separable and planar graphs, Trans. AMS 34, 1932); for matroids Whitney showed that every matroid has a dual, and that duality has a direct linear-algebra model: the matroid of a subspace of Rn\mathbb R^nRn and the matroid of its orthogonal complement are duals.

Matroid duality underlies much of combinatorial optimization: the duality between cycles and cuts in graphs, the relation between a linear code and its dual code, the exchange of rank and corank in matroid intersection and partition, and the treatment of network flows as duals of potential problems. Whitney's §§11–13 are where this structure is first defined and where its linear-algebra meaning (Theorem 28) is established.

Setting

A matroid MMM is a finite set of elements e1,…,ene_1,\dots,e_ne1​,…,en​ with a rank function rrr on its subsets; equivalently, a family of independent sets, or of bases (maximal independent sets). For a subset NNN write ρ(N)\rho(N)ρ(N) for its number of elements and

n(N)=ρ(N)−r(N)n(N) = \rho(N) - r(N)n(N)=ρ(N)−r(N)

for its nullity; r(M)r(M)r(M) and n(M)n(M)n(M) are the rank and nullity of the whole set of elements.

Duality (§11). Let MMM and M′M'M′ be matroids and σ\sigmaσ a one-to-one correspondence between their elements. M′M'M′ is a dual of MMM (via σ\sigmaσ) if, for every subset NNN of MMM, with N′N'N′ the complement in M′M'M′ of σ(N)\sigma(N)σ(N),

r(N′)=r(M′)−n(N).(11.1)r(N') = r(M') - n(N). \tag{11.1}r(N′)=r(M′)−n(N).(11.1)

The matroid of a subspace (§12). Let EnE_nEn​ be nnn-dimensional Euclidean space with coordinates x1,…,xnx_1,\dots,x_nx1​,…,xn​, and let HHH be a hyperplane through the origin, which in Whitney's usage is a linear subspace of any dimension. For a set SSS of coordinates, project HHH onto the coordinate subspace ES′E'_SES′​ spanned by the axes xix_ixi​, i∈Si\in Si∈S. The matroid associated with HHH has elements e1,…,ene_1,\dots,e_ne1​,…,en​, one per coordinate, and gives the set {ei:i∈S}\{e_i: i\in S\}{ei​:i∈S} the rank

rH(S)=dim⁡πS(H).r_H(S) = \dim \pi_S(H).rH​(S)=dimπS​(H).

If HHH is the row space of a matrix M\mathbf MM, then rH(S)r_H(S)rH​(S) is the rank of the columns of M\mathbf MM indexed by SSS, so the associated matroid is the column matroid of M\mathbf MM.

In the Lean development these objects are WhitneyMatroid.Components.nullity (shared), IsDualVia M M' σ, IsDual M M', subspaceRank H S and IsAssociated M H.

Formalization targets

Goal: Theorem 28

Let HHH be a subspace of EnE_nEn​ and H′=H⊥H' = H^\perpH′=H⊥ its orthogonal complement. If MMM and M′M'M′ are the matroids associated with HHH and H′H'H′, then MMM and M′M'M′ are duals under the correspondence of equal coordinates:

∀N⊆{e1,…,en}:rM′(N‾)=r(M′)−nM(N).\forall N\subseteq\{e_1,\dots,e_n\}:\qquad r_{M'}(\overline N) = r(M') - n_M(N).∀N⊆{e1​,…,en​}:rM′​(N)=r(M′)−nM​(N).

Milestones

  1. Theorem 27. For every subspace HHH there is exactly one matroid associated with HHH.
  2. Theorem 6 (already proved on the platform). All bases have the same number of elements.
  3. Theorem 7. BBB is a base iff r(B)=r(M)r(B)=r(M)r(B)=r(M) and n(B)=0n(B)=0n(B)=0.
  4. Theorem 8. If BBB is a base and NNN is independent, then N∪N′N\cup N'N∪N′ is a base for some N′⊆BN'\subseteq BN′⊆B.
  5. Theorem 20. If M′M'M′ is a dual of MMM, then r(M′)=n(M)r(M') = n(M)r(M′)=n(M) and n(M′)=r(M)n(M') = r(M)n(M′)=r(M).
  6. Theorem 23. M′M'M′ is a dual of MMM via σ\sigmaσ iff, for every BBB, BBB is a base of MMM exactly when the complement of σ(B)\sigma(B)σ(B) is a base of M′M'M′.
  7. Theorem 21. Duality is symmetric.
  8. Theorem 22. Every matroid has a dual.

Significance

The result. Theorem 28 identifies abstract duality with orthogonal complementation. With Theorem 23 it says that the column matroid of a real matrix whose rows span HHH and the column matroid of a matrix whose rows span H⊥H^\perpH⊥ have complementary bases. This is the basis of the standard representation of the dual of a represented matroid ([Ir∣A][I_r\mid A][Ir​∣A] and [−AT∣In−r][-A^{\mathsf T}\mid I_{n-r}][−AT∣In−r​]), of the cycle/cocycle duality of graphs viewed through incidence matrices, and of the fact that a matroid representable over a field has a dual representable over the same field. Theorems 20–23 are the basic facts every later treatment of matroid duality starts from: duality exchanges rank and nullity, is symmetric, always exists, and is characterized by base complements.

Formalizing it. All of these results are classical and proved in Whitney's paper; what this mission adds is a machine-checked development of Whitney's own definition of duality, the rank identity (11.1), rather than the base-complement definition used in modern libraries. Mathlib defines the dual matroid M∗M^*M∗ by base complements and proves that it is a matroid; it does not, at the pinned revision, contain the rank formula (11.1) for M∗M^*M∗, the matroid of a real subspace, or Theorem 28. Theorem 6 is already proved on the platform and enters as a reference. Theorems 7 and 8 are close to Mathlib lemmas and are footholds rather than new content.

Difficulty

The difficulty of the goal is not in the combinatorics but in the passage between the two descriptions of a subspace. The natural first idea is to compare the ranks rH(S)r_H(S)rH​(S) and rH⊥(S‾)r_{H^\perp}(\overline S)rH⊥​(S) directly by counting dimensions of HHH and H⊥H^\perpH⊥. This does not close: rH(S)r_H(S)rH​(S) is the dimension of a projection of HHH onto coordinates, while dim⁡H⊥=n−dim⁡H\dim H^\perp = n - \dim HdimH⊥=n−dimH only controls H⊥H^\perpH⊥ as a whole, and the rank of a complementary coordinate set in M′M'M′ is not determined by the dimensions of HHH and H⊥H^\perpH⊥ alone. Some relation between coordinate projections of HHH and the structure of H⊥H^\perpH⊥ on the complementary coordinates has to be established. Theorem 27 is itself nontrivial in Lean: the rank function rHr_HrH​ has to be shown to satisfy the matroid axioms, which needs a careful treatment of coordinate projections and of submodularity of dimension. On the abstract side, Theorem 23 needs both directions of the passage between the rank identity and base complements, including the counting step r(M)+r(M′)=ρ(M)r(M) + r(M') = \rho(M)r(M)+r(M′)=ρ(M).

Formalization scope

  • Matroids are Mathlib Matroid α on a finite type α whose ground set is all of α (Whitney's matroid is its finite set of elements). This finiteness and the ground set convention are part of the definitions; all theorems are stated under them.
  • Ranks and nullities. Ranks are Mathlib's eRk, finite on a finite type and converted to integers; the nullity n(N)=ρ(N)−r(N)n(N)=\rho(N)-r(N)n(N)=ρ(N)−r(N) and the identity (11.1) are computed in Z\mathbb ZZ. No truncated subtraction appears.
  • Duality is Whitney's rank identity (11.1) for every subset, for a fixed bijection σ : α ≃ β (IsDualVia) or some bijection (IsDual). It is deliberately not defined as Mathlib's M✶: with that definition Theorem 23 would be nearly definitional and Theorem 28 would lose the rank identity. A formalization that replaces (11.1) by the base-complement condition, or states Theorem 28 only for bases, is not this mission's goal.
  • Euclidean space is EuclideanSpace ℝ (Fin n) with its standard inner product; the orthogonal hyperplane is Hᗮ. The field is R\mathbb RR, as in the paper; the analogous statement over other fields with the dot-product annihilator is a generalization and not part of this mission.
  • The associated matroid is a predicate (IsAssociated M H): ground set Fin n, and the rank of every set SSS of coordinates equals the finrank of the image of HHH under the coordinate projection onto SSS (not of H∩ES′H\cap E'_SH∩ES′​, a different set function). Existence and uniqueness is Theorem 27.
  • Implicit hypotheses made explicit: the ground sets are finite and equal to the whole element type; Whitney's "dimension rrr" and "dimension n−rn-rn−r" in Theorem 28 are consequences of H′=H⊥H'=H^\perpH′=H⊥ and are not hypotheses. The goal covers n=0n=0n=0, H={0}H=\{0\}H={0} and H=EnH=E_nH=En​.
  • Infrastructure needed and reusable: the matroid of a real subspace (equivalently the column matroid of a real matrix), with its rank function in terms of coordinate projections; the rank formula of the dual matroid; the dimension identity relating projections of HHH and sections of H⊥H^\perpH⊥. All are reusable for the other missions of this series (the Fano matroid and binary matroids) and for any later work on represented matroids. Proofs of the milestones, alternative proofs of Theorem 28 through Mathlib's M✶, and supporting lemmas on coordinate projections are welcome.

Selected references

  • H. Whitney, On the Abstract Properties of Linear Dependence, American Journal of Mathematics 57 (1935), 509–533. https://doi.org/10.2307/2371182
  • H. Whitney, Non-separable and planar graphs, Transactions of the American Mathematical Society 34 (1932), 339–362. https://doi.org/10.1090/S0002-9947-1932-1501641-2
  • J. Oxley, Matroid Theory, 2nd ed., Oxford Graduate Texts in Mathematics 21, Oxford University Press, 2011, Chapter 2 (duality). https://doi.org/10.1093/acprof:oso/9780198566946.001.0001
  • Mathlib, Mathlib.Combinatorics.Matroid (Dual, Rank). https://github.com/leanprover-community/mathlib4
12 thms3 active usersReviewed
Control TheoryOperations ResearchOptimization·Captain: mikedeng1

Optimal Dynamic Pricing of Inventories with Stochastic Demand over Finite Horizons 2: The Optimal Revenue Is Strictly Concave in Stock and Time; the Optimal Price Falls with Stock, Rises with TimeResearch Paper

Why the shape of the optimal pricing policy matters

A retailer holding a fixed stock of a perishable or seasonal good (fashion items, airline seats, hotel rooms, concert tickets) must sell it before a deadline, after which unsold units are worthless. Demand is random and depends on the posted price, and the firm may change its price at any time. Dynamic pricing asks how the price should depend on the remaining stock and the remaining time.

Gallego and van Ryzin (Management Science 40(8), 1994) posed this problem as a continuous-time intensity control problem and established its basic structure. Their Theorem 1 says that the optimal expected revenue is strictly increasing and strictly concave in both the stock and the time remaining, and that the optimal price falls as stock grows and rises with the time left to sell. The paper is a standard reference of revenue management; the structural result is the continuous-time counterpart of the monotonicity of marginal values in discrete-time models (Talluri and van Ryzin, The Theory and Practice of Revenue Management, 2004, Proposition 5.2), and it is what makes the optimal policy computable by restricting attention to monotone policies. The paper credits a slightly weaker version to Kincaid and Darling (1963). The source formalized here is the published 1994 article.

The model and the Hamilton–Jacobi system

The firm chooses a demand rate λ\lambdaλ from a set Λ⊆[0,∞)\Lambda \subseteq [0,\infty)Λ⊆[0,∞) of allowable rates, an interval containing 000; the market then sets the price p(λ)p(\lambda)p(λ), where ppp is the inverse demand function, strictly decreasing and nonnegative on the positive rates. The rate 000 corresponds to the null price at which nothing sells. The revenue rate is

r(λ)=λ p(λ),r(0)=0.r(\lambda) = \lambda\,p(\lambda), \qquad r(0) = 0.r(λ)=λp(λ),r(0)=0.

The demand function is regular when rrr is continuous, bounded and concave on Λ\LambdaΛ and has a least maximizer λ∗=min⁡{λ:r(λ)=max⁡μ∈Λr(μ)}\lambda^* = \min\{\lambda : r(\lambda) = \max_{\mu\in\Lambda} r(\mu)\}λ∗=min{λ:r(λ)=maxμ∈Λ​r(μ)}. The exponential demand λ(p)=ae−p\lambda(p) = ae^{-p}λ(p)=ae−p, with Λ=[0,a]\Lambda=[0,a]Λ=[0,a], p(λ)=log⁡(a/λ)p(\lambda)=\log(a/\lambda)p(λ)=log(a/λ) and λ∗=a/e\lambda^*=a/eλ∗=a/e, is the running example.

With nnn units in stock and time remaining ttt, write J(n,t)J(n,t)J(n,t) for the optimal expected revenue. The paper derives the Hamilton–Jacobi system

∂J(n,t)∂t=sup⁡λ∈Λ[r(λ)−λ(J(n,t)−J(n−1,t))],n≥1, t>0,(8)\frac{\partial J(n,t)}{\partial t} = \sup_{\lambda\in\Lambda}\big[r(\lambda) - \lambda\big(J(n,t)-J(n-1,t)\big)\big], \qquad n\ge1,\ t>0, \tag{8}∂t∂J(n,t)​=λ∈Λsup​[r(λ)−λ(J(n,t)−J(n−1,t))],n≥1, t>0,(8)

with J(n,0)=0J(n,0)=0J(n,0)=0 and J(0,t)=0J(0,t)=0J(0,t)=0. The difference J(n,t)−J(n−1,t)J(n,t)-J(n-1,t)J(n,t)−J(n−1,t) is the marginal value of an item; a rate attaining the supremum is an optimal intensity λ∗(n,t)\lambda^*(n,t)λ∗(n,t), and p(λ∗(n,t))p(\lambda^*(n,t))p(λ∗(n,t)) is the optimal price p∗(n,t)p^*(n,t)p∗(n,t).

Formalization targets

Goal: Theorem 1 (p. 1005)

For the solution JJJ of (8), with rrr strictly concave, differentiable on the interior of Λ\LambdaΛ, and λ∗\lambda^*λ∗ interior:

J(n,t) strictly increasing in n (t>0) and in t (n≥1);J(n+1,t)−J(n,t)<J(n,t)−J(n−1,t);J(n,t)\ \text{strictly increasing in } n\ (t>0)\ \text{and in } t\ (n\ge1);\qquad J(n+1,t)-J(n,t) < J(n,t)-J(n-1,t);J(n,t) strictly increasing in n (t>0) and in t (n≥1);J(n+1,t)−J(n,t)<J(n,t)−J(n−1,t); t↦J(n,t) strictly concave;∃ λ∗(n,t): λ∗ ⁣↑n, λ∗ ⁣↓t,p∗ ⁣↓n, p∗ ⁣↑t (strictly).t\mapsto J(n,t)\ \text{strictly concave};\qquad \exists\,\lambda^*(n,t):\ \lambda^*\!\uparrow_n,\ \lambda^*\!\downarrow_t,\quad p^*\!\downarrow_n,\ p^*\!\uparrow_t\ \text{(strictly)}.t↦J(n,t) strictly concave;∃λ∗(n,t): λ∗↑n​, λ∗↓t​,p∗↓n​, p∗↑t​ (strictly).

Milestones

  1. The supremum in (8) is a maximum over [0,λ∗][0,\lambda^*][0,λ∗] whenever the marginal value is nonnegative (proof of Proposition 1).
  2. Proposition 1: (8) has a unique solution, and λ∗(n,s)≤λ∗\lambda^*(n,s)\le\lambda^*λ∗(n,s)≤λ∗.
  3. Eq. (26): J(n,t)−J(n−1,t)=r′(λ∗(n,t))>0J(n,t)-J(n-1,t) = r'(\lambda^*(n,t)) > 0J(n,t)−J(n−1,t)=r′(λ∗(n,t))>0 for t>0t>0t>0.
  4. The case n=1n=1n=1 of Theorem 1: λ∗(1,t)\lambda^*(1,t)λ∗(1,t) strictly decreasing and J(1,t)J(1,t)J(1,t) strictly concave in ttt.
  5. λ∗(n,0+)=λ∗\lambda^*(n,0^+) = \lambda^*λ∗(n,0+)=λ∗.
  6. Eqs. (9)–(10), exponential demand: J(n,t)=log⁡∑i=0n(λ∗t)i/i!J(n,t) = \log\sum_{i=0}^n(\lambda^*t)^i/i!J(n,t)=log∑i=0n​(λ∗t)i/i! and p∗(n,t)=J(n,t)−J(n−1,t)+1p^*(n,t) = J(n,t)-J(n-1,t)+1p∗(n,t)=J(n,t)−J(n−1,t)+1.
  7. Proposition 3, exponential demand: λ∗(n,t)≤λD(n,t)=min⁡{λ∗,n/t}\lambda^*(n,t)\le\lambda^D(n,t)=\min\{\lambda^*,n/t\}λ∗(n,t)≤λD(n,t)=min{λ∗,n/t} and p∗(n,t)≥p(λD(n,t))p^*(n,t)\ge p(\lambda^D(n,t))p∗(n,t)≥p(λD(n,t)).

Significance

Theorem 1 is the qualitative backbone of single-product dynamic pricing. Concavity of JJJ in nnn means that each additional unit is worth less than the previous one, which is the basis of bid-price and marginal-value reasoning in revenue management; the monotone price path justifies markdown practice as the deadline approaches and reduces the policy search to monotone policies. Proposition 3 answers, for exponential demand, a question raised by Mills (1959): the stochastic optimal price is never below the deterministic one. The closed form (9)–(10) is one of the few exactly solvable intensity control problems in pricing.

The results are proved in the paper; none of them has a machine-checked proof. Formalizing them requires the comparison and monotonicity theory of a countable system of coupled ordinary differential equations whose right-hand side is a convex conjugate, a theory that Mathlib does not package. A complete development would also certify the corrected hypotheses of Theorem 1 described below.

Difficulty

The value functions are defined only implicitly by (8), a triangular infinite system of ODEs in which each J(n,⋅)J(n,\cdot)J(n,⋅) is driven by J(n−1,⋅)J(n-1,\cdot)J(n−1,⋅) through the nonsmooth map Δ↦sup⁡λ[r(λ)−λΔ]\Delta\mapsto\sup_\lambda[r(\lambda)-\lambda\Delta]Δ↦supλ​[r(λ)−λΔ]. Monotonicity of the optimal intensity in ttt is a statement about the time derivative of a marginal value, and the paper establishes it by an induction on nnn combined with an argument by contradiction on the first interval where monotonicity could fail. The obvious approach of differentiating (8) twice in ttt needs second derivatives of rrr and of JJJ that the hypotheses do not provide, and the paper's own proof of Proposition 1 assumes that JJJ is nondecreasing in nnn, which is only established in Theorem 1; a rigorous development must break this circularity.

Formalization scope

A regular demand function is a Lean structure (GVRPricing.Structure.Model) holding Λ\LambdaΛ, ppp and λ∗\lambda^*λ∗ with the paper's standing assumptions of §2.1: 0∈Λ⊆[0,∞)0\in\Lambda\subseteq[0,\infty)0∈Λ⊆[0,∞) an interval, ppp strictly decreasing and nonnegative on Λ∖{0}\Lambda\setminus\{0\}Λ∖{0}, r(λ)=λp(λ)r(\lambda)=\lambda p(\lambda)r(λ)=λp(λ) continuous, concave and bounded on Λ\LambdaΛ, and λ∗\lambda^*λ∗ the least maximizer. The definition IsHJBSolution encodes (8) for J:N→R→RJ:\mathbb N\to\mathbb R\to\mathbb RJ:N→R→R, with the second argument the time remaining, the two-sided derivative at each t>0t>0t>0, continuity on [0,∞)[0,\infty)[0,∞), the boundary conditions, and the requirement that the set inside the supremum be bounded above, so that the real supremum is never a default value. An optimal intensity at (n,t)(n,t)(n,t) is any ℓ∈Λ\ell\in\Lambdaℓ∈Λ maximizing λ↦r(λ)−λ(J(n,t)−J(n−1,t))\lambda\mapsto r(\lambda)-\lambda(J(n,t)-J(n-1,t))λ↦r(λ)−λ(J(n,t)−J(n−1,t)) over Λ\LambdaΛ.

All theorems are about solutions of (8), on which the paper's proofs operate. The identification of the solution of (8) with the supremum of expected revenue over non-anticipating pricing policies is Brémaud's verification theorem, which the paper cites and does not prove; it is not part of this mission.

Added hypotheses and corrected statements.

  • As printed, Theorem 1 assumes only a regular demand function and is false: for r(λ)=λr(\lambda)=\sqrt\lambdar(λ)=λ​ on [0,1][0,1][0,1] and r=1r=1r=1 beyond, λ∗(1,t)=1\lambda^*(1,t)=1λ∗(1,t)=1 for all t∈(0,ln⁡2]t\in(0,\ln2]t∈(0,ln2]; for r(λ)=λ−λ2/4r(\lambda)=\lambda-\lambda^2/4r(λ)=λ−λ2/4 on Λ=[0,1]\Lambda=[0,1]Λ=[0,1], λ∗=1\lambda^*=1λ∗=1 is on the boundary and λ∗(1,t)=1\lambda^*(1,t)=1λ∗(1,t)=1 for small ttt. The goal, eq. (26) and the case n=1n=1n=1 therefore assume that rrr is strictly concave, differentiable on the interior of Λ\LambdaΛ, and that λ∗\lambda^*λ∗ is interior; the appendix proof uses all three. Proposition 1, the restriction lemma and λ∗(n,0+)=λ∗\lambda^*(n,0^+)=\lambda^*λ∗(n,0+)=λ∗ use only the printed assumptions.
  • Strict claims in nnn are made for t>0t>0t>0, since J(n,0)=0J(n,0)=0J(n,0)=0 for all nnn; optimal intensities are considered for n≥1n\ge1n≥1, t>0t>0t>0.
  • Proposition 1's bound "λ∗(n,s)≤λ∗\lambda^*(n,s)\le\lambda^*λ∗(n,s)≤λ∗ for 0≤s0\le s0≤s" is read at s=0s=0s=0 as "λ∗\lambda^*λ∗ is optimal", since every maximizer of rrr is optimal there.
  • Proposition 3 is stated for n≥1n\ge1n≥1, t>0t>0t>0 (the page says n≥0n\ge0n≥0, t≥0t\ge0t≥0, where n/tn/tn/t or the optimal intensity is undefined).
  • The exponential results use the paper's normalization α=1\alpha=1α=1 of λ(p)=ae−αp\lambda(p)=ae^{-\alpha p}λ(p)=ae−αp.
  • The case n=1n=1n=1 omits the displayed identities involving r′′r''r′′ and λ∗′\lambda^{*\prime}λ∗′, which presuppose second derivatives; its conclusions are stated.

A formalization that defines JJJ by a formula, or postulates a monotone function as the optimal intensity, would trivialize the goal: the goal quantifies over every solution of (8), and the optimal intensity it asserts must maximize the right-hand side of (8) at every (n,t)(n,t)(n,t).

A complete development needs comparison principles for scalar ODEs with Lipschitz right-hand sides, properties of the concave conjugate Δ↦sup⁡λ[r(λ)−λΔ]\Delta\mapsto\sup_\lambda[r(\lambda)-\lambda\Delta]Δ↦supλ​[r(λ)−λΔ] (monotonicity, Lipschitz continuity, envelope theorem), and monotone comparative statics of maximizers. These are reusable well beyond this mission; contributions of any of them, or of the milestones in any order, are welcome.

Selected references

  • G. Gallego, G. van Ryzin, Optimal Dynamic Pricing of Inventories with Stochastic Demand over Finite Horizons, Management Science 40(8), 999–1020, 1994. https://doi.org/10.1287/mnsc.40.8.999
  • P. Brémaud, Point Processes and Queues: Martingale Dynamics, Springer, 1981. https://doi.org/10.1007/978-1-4684-9477-8
  • W. M. Kincaid, D. A. Darling, An Inventory Pricing Problem, Journal of Mathematical Analysis and Applications 7, 183–208, 1963. https://doi.org/10.1016/0022-247X(63)90047-7
  • K. T. Talluri, G. J. van Ryzin, The Theory and Practice of Revenue Management, Springer, 2004. https://doi.org/10.1007/b139000
10 thms2 active usersReviewed
PreviousNext

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me