Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

The OR Formalization Drive

Help us formalize the operations research literature in Lean.

727 completed missions

Missions

621–640 of 727
OpenCompletedAll
🏆Completed
CombinatoricsLinear algebraOperations Research·Captain: mikedeng1

On the Abstract Properties of Linear Dependence 6: Every Matroid Satisfying (C*) Is Represented by a Matrix of Integers Mod 2Research Paper

Motivation

Whitney's 1935 paper introduced matroids as an abstraction of linear dependence among the columns of a matrix. Most of the paper works over the real numbers; its appendix asks which matroids arise from matrices of integers mod 2, that is, matrices with entries 0 and 1 in which rank and dependence are computed over the two-element field. These are today's binary matroids. They include the cycle matroids of graphs (Whitney closes the paper by noting that graphs correspond to mod-2 matrices with exactly two ones in each column) and they are the setting of several later structure theorems: Tutte's excluded-minor characterization of binary matroids (Tutte 1958), Seymour's decomposition of regular matroids (Seymour 1980) and Seymour's theory of binary clutters and max-flow min-cut (Seymour 1977), which underlies parts of combinatorial optimization.

Whitney's answer is an intrinsic postulate, (C*), on the circuits of the matroid, stated without reference to any matrix, and a constructive representation theorem (Theorem 37): a matroid satisfying (C*) is the matroid of a mod-2 matrix, and the matrix is unique once the columns of one base are fixed.

Setting

A matroid MMM on elements e1,…,ene_1, \dots, e_ne1​,…,en​ is given by its independent sets; its circuits are its minimal dependent sets, its rank r(M)r(M)r(M) is the size of a base, and its nullity is n(M)=n−r(M)n(M) = n - r(M)n(M)=n−r(M). Here MMM is a Mathlib Matroid (Fin n) whose ground set is all of Fin n.

Subsets of the elements are added mod 2: a sum of finitely many sets is the set of elements lying in an odd number of them (for two sets, the symmetric difference). A cycle is a sum mod 2 of circuits; the empty sum is the null cycle ∅\emptyset∅. A set is a true sum of sets that have no common elements and whose union it is. Postulate (C*) requires that each cycle be a true sum of circuits.

With n=r+qn = r + qn=r+q, a family P1,…,PqP_1, \dots, P_qP1​,…,Pq​ is a strict fundamental set of circuits with respect to en−q+1,…,ene_{n-q+1}, \dots, e_nen−q+1​,…,en​ if q=n(M)q = n(M)q=n(M), each PiP_iPi​ is a circuit, and PiP_iPi​ contains en−q+ie_{n-q+i}en−q+i​ but no other en−q+je_{n-q+j}en−q+j​.

For a matrix M\mathbf MM over the integers mod 2 with columns C1,…,CnC_1, \dots, C_nC1​,…,Cn​, columns are independent (mod 2) if no non-null subset of them sums to the zero column. The matroid corresponding to M\mathbf MM has the column indices as elements and these independent sets.

Formalization targets

Goal: Theorem 37 (p. 533)

Let MMM satisfy (C*), with elements e1,…,ene_1, \dots, e_ne1​,…,en​ and base {e1,…,en−q}\{e_1, \dots, e_{n-q}\}{e1​,…,en−q​}. For every matrix M1\mathbf M_1M1​ mod 2 (any number of rows) whose n−qn - qn−q columns are independent mod 2,

∃! M=(M1∣Cn−q+1⋯Cn)  whose corresponding matroid is M.\exists!\ \mathbf M = (\mathbf M_1 \mid C_{n-q+1} \cdots C_n) \ \text{ whose corresponding matroid is } M.∃! M=(M1​∣Cn−q+1​⋯Cn​)  whose corresponding matroid is M.

Milestones

  1. Theorem 9 (p. 517): if e1,…,en−qe_1, \dots, e_{n-q}e1​,…,en−q​ is a base, there is a unique strict fundamental set of circuits with respect to en−q+1,…,ene_{n-q+1}, \dots, e_nen−q+1​,…,en​.
  2. Appendix, p. 531: (C*) implies the circuit postulate (C₂), for any family of sets.
  3. Theorem 33: under (C*), the circuits are exactly the minimal non-null cycles.
  4. Theorem 34: under (C*), the cycles are exactly the 2q2^q2q sums mod 2 of a strict fundamental set.
  5. Theorem 35: two (C*)-matroids with a common strict fundamental set have the same circuits.
  6. Theorem 36: any P1,…,PqP_1, \dots, P_qP1​,…,Pq​ with en−q+i∈Pi⊆{e1,…,en−q,en−q+i}e_{n-q+i} \in P_i \subseteq \{e_1, \dots, e_{n-q}, e_{n-q+i}\}en−q+i​∈Pi​⊆{e1​,…,en−q​,en−q+i​} is the strict fundamental set of exactly one (C*)-matroid.
  7. Appendix, p. 532: the matroid of a matrix mod 2 exists, satisfies (C*), and its cycles are the supports of the mod-2 dependencies among the columns.

Milestone 7 and the goal together characterize binary matroids as the matroids satisfying (C*).

Significance

The result. Theorem 37 and the p. 532 claim give an intrinsic, matrix-free description of the matroids representable over the two-element field, and Theorem 36 parametrizes all of them by qqq arbitrary subsets of a base. Uniqueness in Theorem 37 says that a binary representation is determined by the columns of one base; in modern terms, binary matroids are uniquely representable over GF(2) up to row operations. Every later theory of binary matroids, including graphic and cographic matroids, Tutte's excluded-minor theorem and Seymour's decomposition, starts from this equivalence.

Formalizing it. The results are proved in the paper and in textbooks (e.g. Oxley, Matroid Theory, Ch. 9) but, at the Mathlib revision used here, there is no notion of a matroid represented by a matrix over a field, and no binary-matroid theory. On Prove2Me, the existing binary objects (SeymourMFMC.Binary.*) are binary clutters defined through blockers, not matroids represented by mod-2 matrices. This mission produces the representation predicate for mod-2 matrices, the cycle space of a matroid, and the equivalence between (C*) and binary representability.

Difficulty

Writing down candidate columns is not the hard part; showing that the matroid of the completed matrix is MMM itself, and not merely a matroid sharing some of its circuits, is. Whitney's example at the end of §9 exhibits two different matroids with a common strict fundamental set, so agreement on fundamental circuits does not by itself identify a matroid; any argument must use (C*) on both the given matroid and the matroid of the matrix. A naive comparison of independent sets column by column does not close this gap. Uniqueness likewise depends on the independence mod 2 of the prescribed columns: without it, different completions can give the same matroid.

Formalization scope

  • Matroids are Mathlib Matroid (Fin (r + q)) with ground set Set.univ; Whitney's eke_kek​ is k - 1, his e1,…,en−qe_1, \dots, e_{n-q}e1​,…,en−q​ is the range of Fin.castAdd q, and en−q+ie_{n-q+i}en−q+i​ is Fin.natAdd r (i - 1). Writing n=r+qn = r + qn=r+q removes natural-number subtraction; qqq is not a free parameter, since {e1,…,er}\{e_1, \dots, e_r\}{e1​,…,er​} is required to be a base.
  • Sums mod 2 count parity of membership (sumMod2); cycles are sums over finite sets of circuits; true sums are unions over finite pairwise-disjoint sets of circuits; (C*) is SatisfiesCStar on the circuit family {C | M.IsCircuit C}. These definitions take the circuit family as a parameter, so that the (C₂) milestone is posed for an arbitrary family of sets, as Whitney poses it.
  • A strict fundamental set includes the nullity condition r(M)+q=ρ(M)r(M) + q = \rho(M)r(M)+q=ρ(M), stated in N∞\mathbb N_\inftyN∞​.
  • Matrices are Matrix (Fin m) (Fin n) (ZMod 2) with any mmm; independence mod 2 of columns is LinearIndepOn (ZMod 2) of the columns (the rows of the transpose). IsMatroidOf M A compares all independent sets, not only bases.
  • Ruled out: the goal is not satisfied by any statement that compares only the bases of one size, by an existence-only statement without uniqueness, or by real (instead of mod-2) independence.
  • Tacit hypotheses made explicit: the matroid's ground set is exactly e1,…,ene_1, \dots, e_ne1​,…,en​ (ρ(M)=n\rho(M) = nρ(M)=n); the elements and matroids are finite.

Contributions welcome: the general fact that the matroid of a vector family over a field exists (a reusable Matroid.ofFun-style construction over any field), the cycle-space lemmas, and proofs of the milestones in any order.

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
  • W. T. Tutte, A homotopy theorem for matroids, I, II, Transactions of the AMS 88 (1958), 144–174. https://doi.org/10.2307/1993244
  • P. D. Seymour, The matroids with the max-flow min-cut property, Journal of Combinatorial Theory Ser. B 23 (1977), 189–222. https://doi.org/10.1016/0095-8956(77)90031-4
  • P. D. Seymour, Decomposition of regular matroids, Journal of Combinatorial Theory Ser. B 28 (1980), 305–359. https://doi.org/10.1016/0095-8956(80)90075-1
  • J. Oxley, Matroid Theory, 2nd ed., Oxford University Press, 2011. https://doi.org/10.1093/acprof:oso/9780198566946.001.0001
11 thms2 active usersReviewed
🏆Completed
CombinatoricsLinear algebraOperations Research·Captain: mikedeng1

On the Abstract Properties of Linear Dependence 5: The Seven-Element Fano Matroid Corresponds to No Real MatrixResearch Paper

Motivation

Whitney's 1935 paper On the Abstract Properties of Linear Dependence introduced matroids: finite sets equipped with a rank function, or equivalently a family of independent sets, obeying a few postulates abstracted from the linear dependence of the columns of a matrix. The obvious first question about such an abstraction is whether it is genuinely more general than its model, that is, whether there are matroids that do not arise from any matrix. Section 16 of the paper answers it with a seven-element example, now called the Fano matroid F7F_7F7​, and proves that no real matrix corresponds to it.

The question has had a long life. Representability of matroids over a given field is a central theme of matroid theory: Tutte (1958) characterized the matroids representable over the field with two elements by a single excluded minor, the four-point line U2,4U_{2,4}U2,4​, and the regular matroids by three excluded minors, U2,4U_{2,4}U2,4​, F7F_7F7​ and its dual; and Seymour's decomposition of regular matroids (1980) rests on the same objects. Whitney's §16 is the starting point of this line: the first proof that the abstract postulates admit matroids outside linear algebra over R\mathbb RR.

Timeline:

  • 1935. Whitney defines matroids, the circuit matrix of a matrix, and proves (§16) that the seven-element matroid M′M'M′ corresponds to no real matrix; in a footnote he credits Saunders MacLane with finding that M′M'M′ corresponds to no matrix and identifying it with a finite projective geometry. On p. 533 he exhibits a matrix of integers mod 2 for M′M'M′.
  • 1958. Tutte characterizes binary and regular matroids by excluded minors; F7F_7F7​ appears as an excluded minor for regularity (Tutte 1958).

Setting

Let M=(aij)\mathbf M=(a_{ij})M=(aij​) be an m×nm\times nm×n matrix with columns C1,…,CnC_1,\dots,C_nC1​,…,Cn​. For a set NNN of columns, let r(N)r(N)r(N) be the rank of the submatrix formed by those columns. Regarding the columns as abstract elements gives a matroid MMM on {C1,…,Cn}\{C_1,\dots,C_n\}{C1​,…,Cn​} with rank function rrr: the matroid of M\mathbf MM. A matroid corresponds to M\mathbf MM if it is the matroid of M\mathbf MM, with elements matched to columns.

A circuit of a matroid is a minimal dependent set. For a circuit P={i1,…,ip}P=\{i_1,\dots,i_p\}P={i1​,…,ip​} of the matroid of M\mathbf MM, there are numbers b1,…,bnb_1,\dots,b_nb1​,…,bn​ with ∑jaijbj=0\sum_j a_{ij}b_j=0∑j​aij​bj​=0 for every row iii, and bj≠0b_j\neq 0bj​=0 exactly for j∈Pj\in Pj∈P; the set of such vectors is written Zi1⋯ipZ_{i_1\cdots i_p}Zi1​⋯ip​​ when only the support condition is meant. Stacking one such row per circuit gives the circuit matrix M′\mathbf M'M′ of M\mathbf MM, determined up to nonzero factors on its rows.

A fundamental set of circuits of a matroid MMM with nullity n(M)=ρ(M)−r(M)n(M)=\rho(M)-r(M)n(M)=ρ(M)−r(M) (ρ\rhoρ the number of elements) is a family of circuits P1,…,PqP_1,\dots,P_qP1​,…,Pq​ with q=n(M)q=n(M)q=n(M) such that the elements can be ordered e1,…,ene_1,\dots,e_ne1​,…,en​ with en−q+i∈Pie_{n-q+i}\in P_ien−q+i​∈Pi​ and en−q+j∉Pie_{n-q+j}\notin P_ien−q+j​∈/Pi​ for j>ij>ij>i; it is strict if en−q+j∉Pie_{n-q+j}\notin P_ien−q+j​∈/Pi​ for every j≠ij\neq ij=i.

The matroid M′M'M′ of §16 has elements 1,…,71,\dots,71,…,7; its bases (maximal independent sets) are all three-element sets except

124,135,167,236,257,347,456.(16.1)124,\quad 135,\quad 167,\quad 236,\quad 257,\quad 347,\quad 456. \qquad (16.1)124,135,167,236,257,347,456.(16.1)

Formalization targets

Goal: §16, pp. 529–530

∃ M′and∀m ∀ M∈Rm×7: M′ is not the matroid of M.\exists\,M' \quad\text{and}\quad \forall m\ \forall\,\mathbf M\in\mathbb R^{m\times 7}:\ M' \text{ is not the matroid of } \mathbf M .∃M′and∀m ∀M∈Rm×7: M′ is not the matroid of M.

The number of rows is arbitrary; the existence clause makes the non-existence statement non-vacuous.

Milestones

  1. §12. Every real matrix has a matroid: the ranks of column submatrices satisfy the rank postulates.
  2. §14, (14.1). Every real matrix has a circuit matrix.
  3. Theorem 29. The rows of a fundamental set of circuits form a base for the rows of the circuit matrix, so r(M′)=q=n(M)r(\mathbf M')=q=n(\mathbf M)r(M′)=q=n(M).
  4. Lemma 10. The support of a vector in the row space HHH of a circuit matrix is a union of circuits.
  5. Lemma 11. Two vectors of HHH with the same circuit as support are proportional.
  6. Theorem 32. For a circuit matrix normalised along a strict fundamental set, a minor DDD vanishes iff an associated q×qq\times qq×q minor D′D'D′ vanishes, iff some circuit avoids a prescribed set of columns.
  7. §16, rank of M′M'M′. The rank of a kkk-set is kkk for k≤2k\le 2k≤2, 333 for k≥4k\ge 4k≥4, and for k=3k=3k=3 it is 222 on (16.1) and 333 otherwise.
  8. p. 533. M′M'M′ is the matroid of an explicit 3×73\times 73×7 matrix of integers mod 2.

Significance

The result. The theorem separates the abstract notion of matroid from linear dependence over R\mathbb RR: some matroids are not real-representable. It also exhibits that representability depends on the field, because the same matroid is the matroid of a matrix over the integers mod 2 (milestone 8). Everything later written about representability over particular fields, excluded-minor characterizations, and the gap between abstract and linear matroids starts from this distinction. Theorem 32 is of independent interest: it translates statements about circuits of a represented matroid into the vanishing of minors of a normalised circuit matrix.

Formalizing it. The result is classical and its proof is short on paper, but it is not formalized in Mathlib, which has matroids (Matroid, circuits, ranks) but no column matroid of a matrix with a rank-of-submatrix characterization, no circuit matrix, and no Fano matroid. The mission produces those objects and the bridge lemmas (Theorem 29, Lemmas 10–11, Theorem 32) that connect matroid circuits with linear algebra of the circuit matrix. No machine-checked proof of the non-representability of the Fano matroid over R\mathbb RR in Lean is known to the curators.

Difficulty

The obvious attempt is a direct search: suppose a real m×7m\times 7m×7 matrix has M′M'M′ as its matroid and derive a contradiction from the seven dependent triples. This does not work as stated. Each rank condition is a determinantal (nonlinear) condition on the entries, the number of rows mmm is unbounded, and a representation is determined only up to row operations and column scalings, so there is no finite case check and no single linear computation that settles the question. The contradiction has to come from an argument that is invariant under these symmetries, and the milestones (circuit vectors determined up to scaling, fundamental sets spanning, circuits detected by minors) are what such an argument needs to be stated in. The field also matters: the argument must use that 2≠02\neq 02=0 in R\mathbb RR, since over a field of characteristic 2 the statement is false (milestone 8).

Formalization scope

  • Elements and matrices. Matroids are Mathlib Matroids whose ground set is the whole (finite) type. The Fano matroid lives on Fin 7, Whitney's element kkk being k - 1; the seven triples are written out literally. Matrices are Matrix (Fin m) ι K; "the matroid of M\mathbf MM" means: ground set everything, and the rank M.eRk N of every finite set NNN of columns equals Matrix.rank of the column submatrix.
  • Field. The goal and Lemmas 10–11, Theorems 29 and 32 are stated over R\mathbb RR, as in the paper; the predicate "matroid of a matrix" is stated over any field so that the mod-2 milestone uses the same notion.
  • Circuit matrix. Rows are determined up to nonzero factors, so "circuit matrix" is a predicate on a matrix together with a bijection between its rows and the circuits; every theorem holds for every such choice.
  • Nullity and indices. q=n(M)q=n(M)q=n(M) is written q+r(M)=ρ(M)q+r(M)=\rho(M)q+r(M)=ρ(M) in extended naturals, with no truncated subtraction. In Theorem 32, n=p+qn=p+qn=p+q, the complement of i1,…,isi_1,\dots,i_si1​,…,is​ is given as an order embedding of Fin t with s+t=qs+t=qs+t=q, and determinants are of square submatrices in the paper's row and column order.
  • Ruling out trivial readings. The goal includes the existence of M′M'M′; without it "every matroid with these bases has no real matrix" could hold vacuously. The goal quantifies over every number of rows; fixing m=3m=3m=3 would be a weaker statement.

Reusable beyond this mission: the matroid of a matrix over a field, the circuit matrix, fundamental sets of circuits, and the Fano matroid. Contributions welcome: proofs of the milestones, and a proof of the goal by any route, including one that does not go through Theorem 32.

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
  • W. T. Tutte, A homotopy theorem for matroids, I, II, Transactions of the American Mathematical Society 88 (1958), 144–174. https://doi.org/10.2307/1993244
  • J. Oxley, Matroid Theory, 2nd ed., Oxford University Press, 2011. https://doi.org/10.1093/acprof:oso/9780198566946.001.0001
  • O. Veblen and J. W. Young, Projective Geometry, Vol. I, Ginn, 1910 (cited by Whitney for the finite projective geometry).
13 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization·Captain: mikedeng1

On the Power and Limitations of Affine Policies in Two-Stage Adaptive Optimization I: An Affine Policy Is Optimal When the Uncertainty Set Is a SimplexResearch Paper

Motivation

Two-stage adaptive optimization models decisions taken in two rounds: a first-stage decision xxx is fixed before an uncertain parameter is revealed, and a second-stage decision y(b)y(b)y(b) is chosen after the parameter bbb is observed, so that the second stage may depend on bbb arbitrarily. The objective is the worst case over an uncertainty set U\mathcal UU of possible parameters. Such models arise in robust network design, capacity planning and two-stage covering problems, and they generalize the two-stage robust combinatorial problems (set cover, facility location) studied by Dhamdhere, Goyal, Ravi and Singh.

Optimizing over all functions y(⋅)y(\cdot)y(⋅) is intractable in general: Bertsimas and Goyal note that the optimal second stage is piecewise linear in bbb with possibly exponentially many pieces (Bemporad, Borrelli and Morari, 2003). A standard remedy, introduced for robust linear programs by Ben-Tal, Goryashko, Guslitzer and Nemirovski (2004), restricts the second stage to affine policies (linear decision rules) y(b)=Pb+qy(b)=Pb+qy(b)=Pb+q; the best affine policy is computable by a single convex program and performs well empirically. The question is when this restriction loses nothing.

Timeline of the relevant results:

  • 2004. Ben-Tal, Goryashko, Guslitzer and Nemirovski introduce affinely adjustable robust counterparts and show that the best affine policy is tractable for many uncertainty sets (doi:10.1007/s10107-003-0454-y).
  • 2010. Bertsimas, Iancu and Parrilo prove that affine policies are optimal for a class of multistage robust problems with one-dimensional uncertainty per stage and box uncertainty sets (doi:10.1287/moor.1100.0444).
  • 2012. Bertsimas and Goyal, the source of this mission, prove that an affine policy is optimal for model (1) whenever U\mathcal UU is a simplex (Theorem 1), and show that this exactness breaks down for slightly larger sets (doi:10.1007/s10107-011-0444-4).

Setting

Let A∈Rm×n1A\in\mathbb R^{m\times n_1}A∈Rm×n1​, B∈Rm×n2B\in\mathbb R^{m\times n_2}B∈Rm×n2​, c∈R+n1c\in\mathbb R^{n_1}_+c∈R+n1​​ and d∈R+n2d\in\mathbb R^{n_2}_+d∈R+n2​​. The problem ΠAdapt(U)\Pi_{Adapt}(\mathcal U)ΠAdapt​(U) of model (1) is

zAdapt(U)=min⁡ cTx+max⁡b∈UdTy(b)s.t.Ax+By(b)≥b,  x≥0,  y(b)≥0∀b∈U,z_{Adapt}(\mathcal U)=\min\ c^Tx+\max_{b\in\mathcal U}d^Ty(b)\quad\text{s.t.}\quad Ax+By(b)\ge b,\ \ x\ge 0,\ \ y(b)\ge 0\quad\forall b\in\mathcal U,zAdapt​(U)=min cTx+b∈Umax​dTy(b)s.t.Ax+By(b)≥b,  x≥0,  y(b)≥0∀b∈U,

where inequalities between vectors are componentwise. A pair (x,y)(x,y)(x,y) satisfying the constraints is feasible; its worst-case cost is cTx+max⁡b∈UdTy(b)c^Tx+\max_{b\in\mathcal U}d^Ty(b)cTx+maxb∈U​dTy(b). A feasible pair is optimal when its worst-case cost equals zAdapt(U)z_{Adapt}(\mathcal U)zAdapt​(U), and an affine policy is a second stage of the form y(b)=Pb+qy(b)=Pb+qy(b)=Pb+q with P∈Rn2×mP\in\mathbb R^{n_2\times m}P∈Rn2​×m, q∈Rn2q\in\mathbb R^{n_2}q∈Rn2​, still required to be nonnegative on U\mathcal UU. The value zAff(U)z_{Aff}(\mathcal U)zAff​(U) is the same minimum restricted to affine policies.

A simplex in Rm\mathbb R^mRm is the convex hull

U=conv⁡(b1,…,bm+1)\mathcal U=\operatorname{conv}(b^1,\dots,b^{m+1})U=conv(b1,…,bm+1)

of m+1m+1m+1 affinely independent points, that is, points for which b1−bm+1,…,bm−bm+1b^1-b^{m+1},\dots,b^m-b^{m+1}b1−bm+1,…,bm−bm+1 are linearly independent. The proof works with the m×mm\times mm×m matrix Q=[(b1−bm+1)⋯(bm−bm+1)]Q=[(b^1-b^{m+1})\cdots(b^m-b^{m+1})]Q=[(b1−bm+1)⋯(bm−bm+1)], the matrix Y=[(y∗(b1)−y∗(bm+1))⋯(y∗(bm)−y∗(bm+1))]Y=[(y^*(b^1)-y^*(b^{m+1}))\cdots(y^*(b^m)-y^*(b^{m+1}))]Y=[(y∗(b1)−y∗(bm+1))⋯(y∗(bm)−y∗(bm+1))] of display (2), and the affine rule y~(b)=YQ−1(b−bm+1)+y∗(bm+1)\tilde y(b)=YQ^{-1}(b-b^{m+1})+y^*(b^{m+1})y~​(b)=YQ−1(b−bm+1)+y∗(bm+1). In Lean these are Qmat v, Ymat v g and interpolant v g, with vertices v : Fin (m+1) → Fin m → ℝ.

Formalization targets

Goal: Theorem 1

If U=conv⁡(b1,…,bm+1)\mathcal U=\operatorname{conv}(b^1,\dots,b^{m+1})U=conv(b1,…,bm+1) with affinely independent bj∈R+mb^j\in\mathbb R^m_+bj∈R+m​ and ΠAdapt(U)\Pi_{Adapt}(\mathcal U)ΠAdapt​(U) is feasible, then there exist x^\hat xx^, P∈Rn2×mP\in\mathbb R^{n_2\times m}P∈Rn2​×m and q∈Rn2q\in\mathbb R^{n_2}q∈Rn2​ such that

(x^, y^),y^(b)=Pb+q  (b∈U),(\hat x,\ \hat y),\qquad \hat y(b)=Pb+q\ \ (b\in\mathcal U),(x^, y^​),y^​(b)=Pb+q  (b∈U),

is an optimal solution of ΠAdapt(U)\Pi_{Adapt}(\mathcal U)ΠAdapt​(U), optimal among all (not only affine) two-stage solutions. In particular zAff(U)=zAdapt(U)z_{Aff}(\mathcal U)=z_{Adapt}(\mathcal U)zAff​(U)=zAdapt​(U).

Milestones

The proof of Theorem 1 has no numbered lemma; the milestones are its displayed steps, in attack order:

  1. QQQ is invertible (PDF p. 6).
  2. For b=∑jαjbjb=\sum_j\alpha_jb^jb=∑j​αj​bj with ∑jαj=1\sum_j\alpha_j=1∑j​αj​=1: Q−1(b−bm+1)=(α1,…,αm)TQ^{-1}(b-b^{m+1})=(\alpha_1,\dots,\alpha_m)^TQ−1(b−bm+1)=(α1​,…,αm​)T (PDF p. 6).
  3. y~(∑jαjbj)=∑jαj y∗(bj)\tilde y\big(\sum_j\alpha_jb^j\big)=\sum_j\alpha_j\,y^*(b^j)y~​(∑j​αj​bj)=∑j​αj​y∗(bj) (PDF pp. 6–7).
  4. Displays (3)–(5): for any feasible (x∗,y∗)(x^*,y^*)(x∗,y∗), the pair (x∗,y~)(x^*,\tilde y)(x∗,y~​) is feasible and every bound on the worst-case cost of (x∗,y∗)(x^*,y^*)(x∗,y∗) also bounds that of (x∗,y~)(x^*,\tilde y)(x∗,y~​) (PDF p. 7).

Significance

The result. Theorem 1 identifies a class of uncertainty sets on which the tractable affine restriction is exact, for every constraint matrix AAA and BBB and every nonnegative cost. It is the positive anchor of the paper: Sections 3 and 4 show that with m+3m+3m+3 extreme points the best affine policy can already be worse by a factor 2−δ2-\delta2−δ, and that on sets with exponentially many extreme points the gap can be Ω(m1/2−δ)\Omega(m^{1/2-\delta})Ω(m1/2−δ); Section 6 uses a dominating simplex, on which affine policies are exact, to build an O(m)O(\sqrt m)O(m​)-approximation for general U\mathcal UU. The theorem also says that on a simplex the whole adaptive problem reduces to m+1m+1m+1 scenario copies of a linear program.

Formalizing it. The result is proved on paper; no machine-checked version is known on Prove2Me. This mission produces the model (1) in Lean, the barycentric-coordinate identity for a simplex in matrix form, and a statement of optimality that asserts attainment of the minimum in (1), which the paper's proof takes for granted.

Difficulty

Two steps are not routine to formalize. First, the paper starts from "an optimal solution x∗,y∗(b)x^*,y^*(b)x∗,y∗(b)", that is, it assumes the minimum in (1) is attained. Over arbitrary functions y(⋅)y(\cdot)y(⋅) this is not automatic; on a simplex it follows because the problem reduces to a finite linear program on the vertices, whose optimum is attained, but Mathlib has no theory of linear-programming attainment, so this reduction has to be built. Second, the affine-independence step needs the passage from affine independence of m+1m+1m+1 points to invertibility of the m×mm\times mm×m matrix QQQ, and the identity Q−1(b−bm+1)=αQ^{-1}(b-b^{m+1})=\alphaQ−1(b−bm+1)=α requires the barycentric coordinates and the inverse matrix to be matched index by index. The naive idea of comparing zAffz_{Aff}zAff​ and zAdaptz_{Adapt}zAdapt​ as real infima does not prove the goal: equality of the two infima says nothing about the existence of an optimal solution.

Formalization scope

Vectors in Rm\mathbb R^mRm are Fin m → ℝ, with the componentwise order; matrices are Matrix (Fin m) (Fin n) ℝ. The paper's indices start at 111, Lean's at 000: bjb^jbj is v (j-1) and bm+1b^{m+1}bm+1 is v (Fin.last m). The simplex is convexHull ℝ (Set.range v); it is compact, convex and, by affine independence, full-dimensional, so these standing assumptions of (1) are not stated separately. Nonnegativity of U\mathcal UU is the hypothesis that all m+1m+1m+1 vertices are nonnegative (the page writes j=1,…,mj=1,\dots,mj=1,…,m, a slip for m+1m+1m+1). Feasibility of (1) is a hypothesis, as the paper assumes. Optimality (IsOptimalAdapt) means: feasible, and every worst-case cost bound achieved by any feasible two-stage solution is achieved by this one. The values zAdaptz_{Adapt}zAdapt​ and zAffz_{Aff}zAff​ are infima of the sets of achievable bounds; they are provided for reference and the goal does not depend on them.

The goal must not be replaced by zAff(U)≤zAdapt(U)z_{Aff}(\mathcal U)\le z_{Adapt}(\mathcal U)zAff​(U)≤zAdapt​(U), by optimality among affine policies only, or by a version that assumes an optimal solution exists: each of these drops the content "there is an optimal solution and it is affine". The goal does not mention QQQ, YYY or the interpolant.

A complete development needs: linear-programming attainment for a finite system of linear inequalities with a cost bounded below (reusable well beyond this mission), the linear-algebra lemmas relating affine independence to an invertible edge matrix (reusable for barycentric coordinates in general), and the convex-hull representation of points of a simplex. Contributions of any of these as separate lemmas are welcome.

Selected references

  • D. Bertsimas, V. Goyal, On the power and limitations of affine policies in two-stage adaptive optimization, Math. Program. Ser. A, 2012. doi:10.1007/s10107-011-0444-4
  • A. Ben-Tal, A. Goryashko, E. Guslitzer, A. Nemirovski, Adjustable robust solutions of uncertain linear programs, Math. Program. 99(2), 351–376, 2004. doi:10.1007/s10107-003-0454-y
  • D. Bertsimas, D. A. Iancu, P. A. Parrilo, Optimality of affine policies in multistage robust optimization, Math. Oper. Res. 35(2), 363–394, 2010. doi:10.1287/moor.1100.0444
  • A. Bemporad, F. Borrelli, M. Morari, Min–max control of constrained uncertain discrete-time linear systems, IEEE Trans. Autom. Control 48(9), 1600–1606, 2003. doi:10.1109/TAC.2003.816984
7 thms4 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Assortment Optimization under Variants of the Nested Logit Model 2: With Dissimilarity Parameters at Most One and Fully-Captured Nests, a Nested-by-Revenue Assortment in Every Nest Is OptimalResearch Paper

Motivation

A retailer choosing which products to display, or an airline choosing which fare classes to open, solves an assortment optimization problem: pick the set of offered products that maximizes expected revenue when customers choose among what is offered according to a discrete choice model. Under the multinomial logit model the answer has a simple form: an optimal assortment consists of the few highest-revenue products (Talluri and van Ryzin, 2004). The multinomial logit model, however, forces every pair of products to compete in the same way. The nested logit model relaxes this by grouping products into nests (brands, store sections, departure times) and letting a customer first choose a nest and then a product inside it.

Davis, Gallego and Topaloglu (Operations Research, 2014; DOI 10.1287/opre.2014.1256) study how much of the multinomial logit structure survives under the nested logit model. Their first answer is the theorem this mission targets: when the nest dissimilarity parameters are at most one and no customer who chose a nest leaves it without buying, offering the top products of each nest is still optimal. The other missions of this series treat the cases where this fails: dissimilarity parameters above one (the problem becomes NP-hard) and nests with their own no-purchase option.

Setting

There are mmm nests M={1,…,m}M = \{1, \dots, m\}M={1,…,m} and, in each nest, nnn products N={1,…,n}N = \{1, \dots, n\}N={1,…,n}. Product jjj of nest iii has a revenue rij≥0r_{ij} \ge 0rij​≥0 and a preference weight vij>0v_{ij} > 0vij​>0; products are ordered so that ri1≥ri2≥⋯≥rinr_{i1} \ge r_{i2} \ge \dots \ge r_{in}ri1​≥ri2​≥⋯≥rin​. Nest iii carries a dissimilarity parameter γi>0\gamma_i > 0γi​>0 and a within-nest no-purchase weight vi0≥0v_{i0} \ge 0vi0​≥0, and v0≥0v_0 \ge 0v0​≥0 is the weight of choosing no nest at all.

An assortment is a tuple (S1,…,Sm)(S_1, \dots, S_m)(S1​,…,Sm​) of subsets Si⊆NS_i \subseteq NSi​⊆N. Write

Vi(Si)=vi0+∑j∈Sivij,Ri(Si)=∑j∈SirijvijVi(Si),Ri(∅)=0.V_i(S_i) = v_{i0} + \sum_{j \in S_i} v_{ij}, \qquad R_i(S_i) = \frac{\sum_{j \in S_i} r_{ij} v_{ij}}{V_i(S_i)}, \quad R_i(\emptyset) = 0.Vi​(Si​)=vi0​+j∈Si​∑​vij​,Ri​(Si​)=Vi​(Si​)∑j∈Si​​rij​vij​​,Ri​(∅)=0.

A customer picks nest iii with probability Qi=Vi(Si)γi/(v0+∑l∈MVl(Sl)γl)Q_i = V_i(S_i)^{\gamma_i} / (v_0 + \sum_{l \in M} V_l(S_l)^{\gamma_l})Qi​=Vi​(Si​)γi​/(v0​+∑l∈M​Vl​(Sl​)γl​) and then, inside the nest, product jjj with probability vij/Vi(Si)v_{ij}/V_i(S_i)vij​/Vi​(Si​). The expected revenue is

Π(S1,…,Sm)=∑i∈MQi Ri(Si)=∑i∈MVi(Si)γiRi(Si)v0+∑i∈MVi(Si)γi,\Pi(S_1, \dots, S_m) = \sum_{i \in M} Q_i\, R_i(S_i) = \frac{\sum_{i \in M} V_i(S_i)^{\gamma_i} R_i(S_i)}{v_0 + \sum_{i \in M} V_i(S_i)^{\gamma_i}},Π(S1​,…,Sm​)=i∈M∑​Qi​Ri​(Si​)=v0​+∑i∈M​Vi​(Si​)γi​∑i∈M​Vi​(Si​)γi​Ri​(Si​)​,

and problem (2) asks for Z∗=max⁡Π(S1,…,Sm)Z^* = \max \Pi(S_1, \dots, S_m)Z∗=maxΠ(S1​,…,Sm​) over all assortments. The nested-by-revenue assortment Nij={1,…,j}N_{ij} = \{1, \dots, j\}Nij​={1,…,j} collects the jjj highest-revenue products of nest iii, with Ni0=∅N_{i0} = \emptysetNi0​=∅ and N+={0,1,…,n}N_+ = \{0, 1, \dots, n\}N+​={0,1,…,n}.

This mission works under the standing assumptions of §3 of the paper: competitive products, γi≤1\gamma_i \le 1γi​≤1, and fully-captured nests, vi0=0v_{i0} = 0vi0​=0, for every nest iii.

Formalization targets

Goal: Theorem 4 (p. 15)

If γi≤1\gamma_i \le 1γi​≤1 and vi0=0v_{i0} = 0vi0​=0 for all i∈Mi \in Mi∈M, there exists an optimal solution (S1∗,…,Sm∗)(S^*_1, \dots, S^*_m)(S1∗​,…,Sm∗​) of problem (2) such that

Si∗=Nij  for some j∈N+,for all i∈M.S^*_i = N_{ij} \ \text{ for some } j \in N_+, \qquad \text{for all } i \in M.Si∗​=Nij​  for some j∈N+​,for all i∈M.

Milestones

  1. The case v0=0v_0 = 0v0​=0 (p. 14). Offering only the single product with the largest revenue max⁡iri1\max_{i} r_{i1}maxi​ri1​ is optimal.
  2. Proposition 2 (p. 14). If S∗S^*S∗ is optimal and Si∗≠∅S^*_i \ne \emptysetSi∗​=∅, then Ri(Si∗)≥Z∗R_i(S^*_i) \ge Z^*Ri​(Si∗​)≥Z∗.
  3. Lemma 3 (p. 14). If Z=Π(S)Z = \Pi(S)Z=Π(S), Ri(Si)≥ZR_i(S_i) \ge ZRi​(Si​)≥Z and some j∈Sij \in S_ij∈Si​ has rij<γiZ+(1−γi)Ri(Si)r_{ij} < \gamma_i Z + (1-\gamma_i) R_i(S_i)rij​<γi​Z+(1−γi​)Ri​(Si​), removing jjj strictly increases the expected revenue.
  4. g(α)≤γg(\alpha) \le \gammag(α)≤γ (p. 15). For 0<γ≤10 < \gamma \le 10<γ≤1 and 0<α<10 < \alpha < 10<α<1: (1−αγ)/(αγ−1−αγ)≤γ(1 - \alpha^{\gamma})/(\alpha^{\gamma-1} - \alpha^{\gamma}) \le \gamma(1−αγ)/(αγ−1−αγ)≤γ.
  5. Revenue threshold (p. 15). Every j∈Si∗j \in S^*_ij∈Si∗​ of an optimal S∗S^*S∗ has rij≥γiZ∗+(1−γi)Ri(Si∗)r_{ij} \ge \gamma_i Z^* + (1-\gamma_i) R_i(S^*_i)rij​≥γi​Z∗+(1−γi​)Ri​(Si∗​).
  6. h(α)≥γh(\alpha) \ge \gammah(α)≥γ (p. 16). For 0<γ≤10 < \gamma \le 10<γ≤1 and 0<α<10 < \alpha < 10<α<1: (1−αγ)/(1−α)≥γ(1 - \alpha^{\gamma})/(1 - \alpha) \ge \gamma(1−αγ)/(1−α)≥γ.
  7. Exchange step (p. 15). If S∗S^*S∗ is optimal, j∈Si∗j \in S^*_ij∈Si∗​, k∉Si∗k \notin S^*_ik∈/Si∗​ and k<jk < jk<j, then adding kkk to Si∗S^*_iSi∗​ keeps the assortment optimal.

A companion item (not a milestone) states the algorithmic consequence at the end of §3: solving the linear program (4) over the candidates {Nij:j∈N+}\{N_{ij} : j \in N_+\}{Nij​:j∈N+​} and choosing in each nest a maximizer of problem (5) gives an optimal solution of (2).

Significance

Theorem 4 reduces problem (2), a search over 2mn2^{mn}2mn assortments, to (n+1)m(n+1)^m(n+1)m nested-by-revenue combinations, and the paper then finds the best one with a linear program with 1+m1 + m1+m variables and 1+m(1+n)1 + m(1+n)1+m(1+n) constraints. It marks the exact boundary of the classical multinomial logit structure inside the nested logit model: the paper's §4 shows that a single nest with γi>1\gamma_i > 1γi​>1 already breaks it, and that the general problem is NP-hard. The structural statement is also the base case for the approximation guarantees of §§5–6, which compare against nested-by-revenue assortments.

The theorem is proved in the paper; to our knowledge it has no machine-checked proof. A formal proof would supply a verified reduction from a combinatorial revenue maximization over the nested logit model to a polynomial-size search, with every boundary case (empty nests, v0=0v_0 = 0v0​=0, ties in revenues) handled explicitly.

Difficulty

The obvious argument copies the multinomial logit proof: take an optimal assortment and swap a low-revenue product for a missing higher-revenue one. Under the nested logit model this exchange changes the nest's attraction Vi(Si)γiV_i(S_i)^{\gamma_i}Vi​(Si​)γi​ non-linearly, so the revenue of the modified assortment is not an affine function of the change, and a simple swap can lower the expected revenue. The argument must instead control how adding or removing one product moves the nest weight relative to the nest revenue, and this is exactly where γi≤1\gamma_i \le 1γi​≤1 enters, through two scalar inequalities in the ratio α\alphaα of nest weights. With γi>1\gamma_i > 1γi​>1 these inequalities fail and so does the theorem.

A second subtlety is ties: several optimal assortments may exist, and only some of them are nested by revenue. The statement asserts existence, not that every optimum has this form.

Formalization scope

All statements live in the namespace NestedLogitVariants.Competitive and share one definition file. Nests form a finite type ι with decidable equality; products are Fin n, indexed 0,…,n−10, \dots, n-10,…,n−1, so NijN_{ij}Nij​ is nbr n j ={k:k<j}= \{k : k < j\}={k:k<j} with j≤nj \le nj≤n, and j=0j = 0j=0 gives ∅\emptyset∅. Powers are Real.rpow, and x/0=0x / 0 = 0x/0=0, which gives Ri(∅)=0R_i(\emptyset) = 0Ri​(∅)=0. Optimality of an assortment means its revenue is at least that of every assortment.

Standing assumptions carried as hypotheses: v0≥0v_0 \ge 0v0​≥0, vi0≥0v_{i0} \ge 0vi0​≥0, revenues ordered within each nest, and §3's γi≤1\gamma_i \le 1γi​≤1 and vi0=0v_{i0} = 0vi0​=0. Three pins are disclosed: vij>0v_{ij} > 0vij​>0 (the paper allows zero-weight padding products, under which Proposition 2 fails), rij≥0r_{ij} \ge 0rij​≥0, and γi>0\gamma_i > 0γi​>0 (the paper's γi≥0\gamma_i \ge 0γi​≥0; its convention Vi(∅)γi=0V_i(\emptyset)^{\gamma_i} = 0Vi​(∅)γi​=0 fails at γi=0\gamma_i = 0γi​=0). The section's "without loss of generality v0>0v_0 > 0v0​>0" is a hypothesis of Proposition 2, Lemma 3, the threshold, the exchange step and the LP item; the goal itself only assumes v0≥0v_0 \ge 0v0​≥0, and the case v0=0v_0 = 0v0​=0 is milestone 1. The two scalar inequalities are stated as inequalities, not as monotonicity claims.

The goal is not trivialized by any hypothesis: it assumes none of the milestones, and stating "some nested-by-revenue assortment exists" (always true) or "every optimal assortment is nested by revenue" (false under ties) would be a different theorem.

Needed infrastructure is light: finite sums, real powers, and concavity of x↦xγx \mapsto x^{\gamma}x↦xγ for γ≤1\gamma \le 1γ≤1. The scalar lemmas are reusable for other nested logit results. Proofs of any milestone are welcome independently.

Selected references

  • J. M. Davis, G. Gallego, H. Topaloglu, Assortment optimization under variants of the nested logit model, Operations Research 62(2), 250–273, 2014. https://doi.org/10.1287/opre.2014.1256 (cited from the authors' revised manuscript of June 18, 2013)
  • K. Talluri, G. van Ryzin, Revenue management under a general discrete choice model of consumer behavior, Management Science 50(1), 15–33, 2004. https://doi.org/10.1287/mnsc.1030.0147
  • D. McFadden, Modelling the choice of residential location, in A. Karlqvist et al. (eds.), Spatial Interaction Theory and Planning Models, North-Holland, 75–96, 1978.
9 thms3 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization·Captain: mikedeng1

Assortment Optimization under Variants of the Nested Logit Model 1: If the Restricted LP Optimum Scaled by α Is Feasible for the Full LP, Its Assortment Earns Within a Factor α of the Optimal RevenueResearch Paper

Motivation

A retailer that sells products in several categories, channels or stores has to decide which products to offer in each. Customers substitute: a product left out of the assortment sends some of its demand to other products, and some of it away. The nested logit model (McFadden 1974, 1981) is the standard choice model for this situation. It groups products into nests, so that substitution within a nest differs from substitution across nests. Assortment optimization under this model asks which products to offer in each nest so as to maximize expected revenue.

Davis, Gallego and Topaloglu (Oper. Res. 62(2), 2014) split the problem into four cases: dissimilarity parameters at most one or unrestricted, and nests that are fully or only partially captured. The problem is polynomially solvable in the first case and NP-hard in the other three. Every approximation guarantee in the paper for the hard cases (Theorems 7, 10, 11, 12) comes from one general framework, set up in §2: a linear program equivalent to the assortment problem, and Theorem 1, which turns a feasibility certificate for that linear program into a performance guarantee. This mission formalizes that framework.

Setting

There are mmm nests MMM and nnn products N={1,…,n}N = \{1, \dots, n\}N={1,…,n} in each nest. Product jjj of nest iii has revenue rij≥0r_{ij} \ge 0rij​≥0 and preference weight vij>0v_{ij} > 0vij​>0, and the products in each nest are ordered so that ri1≥⋯≥rinr_{i1} \ge \dots \ge r_{in}ri1​≥⋯≥rin​. Nest iii has a no-purchase weight vi0≥0v_{i0} \ge 0vi0​≥0 and a dissimilarity parameter γi>0\gamma_i > 0γi​>0. The weight of choosing no nest at all is v0≥0v_0 \ge 0v0​≥0. If the assortment Si⊆NS_i \subseteq NSi​⊆N is offered in nest iii, write

Vi(Si)=vi0+∑j∈Sivij,Ri(Si)=∑j∈SirijvijVi(Si),Ri(∅)=0.V_i(S_i) = v_{i0} + \sum_{j \in S_i} v_{ij}, \qquad R_i(S_i) = \frac{\sum_{j\in S_i} r_{ij} v_{ij}}{V_i(S_i)}, \quad R_i(\emptyset) = 0 .Vi​(Si​)=vi0​+j∈Si​∑​vij​,Ri​(Si​)=Vi​(Si​)∑j∈Si​​rij​vij​​,Ri​(∅)=0.

A customer picks nest iii with probability Qi=Vi(Si)γi/(v0+∑l∈MVl(Sl)γl)Q_i = V_i(S_i)^{\gamma_i} / (v_0 + \sum_{l\in M} V_l(S_l)^{\gamma_l})Qi​=Vi​(Si​)γi​/(v0​+∑l∈M​Vl​(Sl​)γl​), and then a product of that nest by the multinomial logit model. The expected revenue is

Π(S1,…,Sm)=∑i∈MQi(S1,…,Sm) Ri(Si),\Pi(S_1, \dots, S_m) = \sum_{i \in M} Q_i(S_1, \dots, S_m)\, R_i(S_i),Π(S1​,…,Sm​)=i∈M∑​Qi​(S1​,…,Sm​)Ri​(Si​),

and problem (2) is Z∗=max⁡Si⊆NΠ(S1,…,Sm)Z^* = \max_{S_i \subseteq N} \Pi(S_1, \dots, S_m)Z∗=maxSi​⊆N​Π(S1​,…,Sm​).

The linear program (3) in the variables (x,y1,…,ym)(x, y_1, \dots, y_m)(x,y1​,…,ym​) minimizes xxx subject to

v0x≥∑i∈Myi,yi≥Vi(Si)γi(Ri(Si)−x)∀Si⊆N, i∈M.v_0 x \ge \sum_{i\in M} y_i, \qquad y_i \ge V_i(S_i)^{\gamma_i}\big(R_i(S_i) - x\big) \quad \forall S_i \subseteq N,\ i \in M.v0​x≥i∈M∑​yi​,yi​≥Vi​(Si​)γi​(Ri​(Si​)−x)∀Si​⊆N, i∈M.

Given candidate collections {Ait:t∈Ti}\{A_{it} : t \in \mathcal T_i\}{Ait​:t∈Ti​} of assortments for each nest, the linear program (4) is (3) with the second family of constraints imposed only for SiS_iSi​ in the collection of nest iii.

Formalization targets

Goal: Theorem 1 (p. 13)

Let (x^,y^)(\hat x, \hat y)(x^,y^​) be an optimal solution of (4), and let S^i\hat S_iS^i​ solve max⁡Si∈{Ait}Vi(Si)γi(Ri(Si)−x^)\max_{S_i \in \{A_{it}\}} V_i(S_i)^{\gamma_i}(R_i(S_i) - \hat x)maxSi​∈{Ait​}​Vi​(Si​)γi​(Ri​(Si​)−x^), problem (5), in every nest. If (αx^,βy^)(\alpha \hat x, \beta \hat y)(αx^,βy^​) is feasible for (3) for some α,β\alpha, \betaα,β, then, with Z^=Π(S^1,…,S^m)\hat Z = \Pi(\hat S_1, \dots, \hat S_m)Z^=Π(S^1​,…,S^m​),

αZ^ ≥ Z∗ ≥ Z^.\alpha \hat Z \ \ge\ Z^* \ \ge\ \hat Z .αZ^ ≥ Z∗ ≥ Z^.

The theorem fixes no candidate collection and no value of α\alphaα. Each later section of the paper instantiates it with its own collection and its own factor, so a formal proof applies to all of them.

Milestones (§2, pp. 11–12)

  1. Problem (2) is equivalent to (3): Z∗Z^*Z∗ is the least xxx for which some yyy makes (x,y)(x, y)(x,y) feasible for (3).
  2. At an optimal solution of (4), the first constraint binds at the maximizers S^i\hat S_iS^i​ of (5), and x^=Π(S^1,…,S^m)\hat x = \Pi(\hat S_1, \dots, \hat S_m)x^=Π(S^1​,…,S^m​).
  3. Problem (4) relaxes (3), so x^≤Z∗\hat x \le Z^*x^≤Z∗.

Companions (§7, pp. 29–30)

  • The tighter program (16), which lets each nest's assortment be a fractional vector zi∈[0,1]nz_i \in [0,1]^nzi​∈[0,1]n, has every feasible xxx above Z∗Z^*Z∗.
  • Proposition 13: F^i(x)=max⁡zi∈[0,1]nFi(zi∣x)\hat F_i(x) = \max_{z_i \in [0,1]^n} F_i(z_i \mid x)F^i​(x)=maxzi​∈[0,1]n​Fi​(zi​∣x) is convex, with subgradient −(vi0+∑jvijz^ij(x))γi-(v_{i0} + \sum_j v_{ij}\hat z_{ij}(x))^{\gamma_i}−(vi0​+∑j​vij​z^ij​(x))γi​ at xxx.

Significance

Theorem 1 is the common step behind the paper's four approximation guarantees: the factor ρ\rhoρ or 2κ2\kappa2κ of Theorem 7, the factor 2 of Theorem 10, the factor of Theorem 11, and the δ2γˉ+1\delta^{2\bar\gamma+1}δ2γˉ​+1 of Theorem 12. Each of these reduces to checking that a scaled optimum of a small linear program is feasible for (3). With Theorem 1 formalized, those guarantees reduce to inequalities about candidate collections, which are the subject of the sister missions of this series. The upper bound (16) and Proposition 13 give the instance-specific bound that the paper uses to assess its assortments numerically.

The results are proved in the paper. To our knowledge none of them has a machine-checked proof. The formal work adds two things: the statements below are made exact at the degenerate inputs the prose passes over (an empty assortment, v0=0v_0 = 0v0​=0), and a formal proof certifies the framework once for every later instantiation.

Difficulty

The equivalence of (2) and (3) rests on decomposing a maximum over joint assortments into a sum of per-nest maxima, and on reading the fractional objective Π≤x\Pi \le xΠ≤x as a linear constraint. Both steps need care where a denominator v0+∑iVi(Si)γiv_0 + \sum_i V_i(S_i)^{\gamma_i}v0​+∑i​Vi​(Si​)γi​ can vanish. The binding argument for (4) is a perturbation argument: lowering x^\hat xx^ must keep every constraint satisfiable, which needs a continuity and monotonicity property of the right-hand side in xxx. The obvious one-line reading of Theorem 1, "x^=Z^\hat x = \hat Zx^=Z^ and αx^≥Z∗\alpha\hat x \ge Z^*αx^≥Z∗", is correct only once both of these facts are established with their hypotheses. In particular, it is false when v0=0v_0 = 0v0​=0 (see below). Proposition 13 requires that the supremum over the box be finite, which comes from the boundedness of FiF_iFi​ on [0,1]n[0,1]^n[0,1]n.

Formalization scope

Nests are a finite type ι and products are Fin n, indexed 0,…,n−10, \dots, n-10,…,n−1. An assortment is a finite set of products per nest, and a candidate collection is a set of such finite sets. Powers are real powers, and Lean's x/0=0x / 0 = 0x/0=0 gives Ri(∅)=0R_i(\emptyset) = 0Ri​(∅)=0. Z∗Z^*Z∗ is Π(S∗)\Pi(S^*)Π(S∗) for an arbitrary optimal assortment S∗S^*S∗; no supremum over assortments is taken. "Optimal solution of (4)" means feasible with minimal xxx, and "S^i\hat S_iS^i​ solves (5)" means S^i\hat S_iS^i​ belongs to the collection of nest iii and maximizes the objective of (5) over it at x^\hat xx^.

Standing assumptions and pins. These are v0,vi0≥0v_0, v_{i0} \ge 0v0​,vi0​≥0 and ordered revenues, together with vij>0v_{ij} > 0vij​>0, rij≥0r_{ij} \ge 0rij​≥0 and γi>0\gamma_i > 0γi​>0. The paper allows zero-weight padding products and γi=0\gamma_i = 0γi​=0, but its own conventions fail there. Theorem 1 and the binding milestone add v0>0v_0 > 0v0​>0. The page allows v0=0v_0 = 0v0​=0, but then Theorem 1 is false: take one nest with v10=0v_{10} = 0v10​=0, γ1=1\gamma_1 = 1γ1​=1, r11=v11=1r_{11} = v_{11} = 1r11​=v11​=1 and candidates {∅,{1}}\{\emptyset, \{1\}\}{∅,{1}}. Then x^=1\hat x = 1x^=1 and S^1=∅\hat S_1 = \emptysetS^1​=∅ meet every hypothesis with α=β=1\alpha = \beta = 1α=β=1, yet Z^=0<Z∗=1\hat Z = 0 < Z^* = 1Z^=0<Z∗=1. The equivalence of (2) and (3) and the bound from (16) keep v0≥0v_0 \ge 0v0​≥0, as the page does, and assume at least one nest and one product: with neither and v0=0v_0 = 0v0​=0, every xxx is feasible for (3).

A formalization that assumes the binding equality, the identity x^=Z^\hat x = \hat Zx^=Z^, or the inequality x^≤Z∗\hat x \le Z^*x^≤Z∗ in the goal would trivialize it. Those facts appear only as milestones. Likewise, reading "optimal solution of (4)" as mere feasibility would make the goal false rather than easier.

The development needs only finite sums, real powers and elementary order reasoning. Proposition 13 also needs the boundedness of a continuous function on a box and the convexity of a pointwise supremum of affine functions. Welcome contributions include proofs of the milestones, the goal from them, and reusable lemmas on the per-nest decomposition of maxima, which the sister missions of this series use as well.

Selected references

  • J. M. Davis, G. Gallego, H. Topaloglu, Assortment optimization under variants of the nested logit model, Operations Research 62(2), 2014 (revised manuscript of June 18, 2013, cited here). https://doi.org/10.1287/opre.2014.1256
  • D. McFadden, Econometric models of probabilistic choice, in C. Manski, D. McFadden (eds.), Structural Analysis of Discrete Data with Econometric Applications, MIT Press, 1981. https://eml.berkeley.edu/~mcfadden/discrete.html
  • P. Rusmevichientong, D. Shmoys, H. Topaloglu, Assortment optimization with mixtures of logits, Technical report, Cornell University, 2010. https://people.orie.cornell.edu/huseyin/publications/publications.html
  • M. S. Bazaraa, H. D. Sherali, C. M. Shetty, Nonlinear Programming: Theory and Algorithms, 2nd ed., Wiley, 1993. https://doi.org/10.1002/0471787779
6 thms2 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchOptimization·Captain: mikedeng1

Assortment Optimization under Variants of the Nested Logit Model 4: With Dissimilarity Parameters at Most One, the Knapsack-Relaxation and Singleton LP Optimum Scaled by 2 Is Feasible for the Full LPResearch Paper

Motivation

Assortment optimization asks which set of products a firm should offer when customers choose among the offered products according to a discrete choice model; it underlies shelf-space planning in retail and fare-class control in airline revenue management (Talluri and van Ryzin, 2004). Under the nested logit model products are grouped into nests, and a customer first picks a nest and then a product inside it. Davis, Gallego and Topaloglu (Operations Research, 2014; DOI 10.1287/opre.2014.1256) map out how hard this problem is across variants of the model.

When every nest dissimilarity parameter is at most one and a customer who chose a nest always buys there, offering the top-revenue products of each nest is optimal (Theorem 4 of the paper, the subject of an earlier mission of this series). Once a customer may leave a nest without buying — a partially-captured nest — that structure breaks and the problem becomes NP-hard (Theorem 8). This mission targets the paper's response: a small, explicitly constructed family of candidate assortments per nest from which a linear program recovers a solution within a factor of two of optimal.

Setting

There are mmm nests MMM and, in each nest, nnn products N={1,…,n}N = \{1, \dots, n\}N={1,…,n}. Product jjj of nest iii has a revenue rij≥0r_{ij} \ge 0rij​≥0 and a preference weight vij>0v_{ij} > 0vij​>0, with ri1≥⋯≥rinr_{i1} \ge \dots \ge r_{in}ri1​≥⋯≥rin​. Nest iii has a dissimilarity parameter γi>0\gamma_i > 0γi​>0 and a within-nest no-purchase weight vi0≥0v_{i0} \ge 0vi0​≥0; v0≥0v_0 \ge 0v0​≥0 is the weight of choosing no nest. For an assortment Si⊆NS_i \subseteq NSi​⊆N,

Vi(Si)=vi0+∑j∈Sivij,Ri(Si)=∑j∈SirijvijVi(Si),Ri(∅)=0,V_i(S_i) = v_{i0} + \sum_{j \in S_i} v_{ij}, \qquad R_i(S_i) = \frac{\sum_{j \in S_i} r_{ij} v_{ij}}{V_i(S_i)},\quad R_i(\emptyset)=0,Vi​(Si​)=vi0​+j∈Si​∑​vij​,Ri​(Si​)=Vi​(Si​)∑j∈Si​​rij​vij​​,Ri​(∅)=0,

and the expected revenue of (S1,…,Sm)(S_1, \dots, S_m)(S1​,…,Sm​) is Π=∑iVi(Si)γiRi(Si)/(v0+∑iVi(Si)γi)\Pi = \sum_i V_i(S_i)^{\gamma_i} R_i(S_i) / (v_0 + \sum_i V_i(S_i)^{\gamma_i})Π=∑i​Vi​(Si​)γi​Ri​(Si​)/(v0​+∑i​Vi​(Si​)γi​). The optimal expected revenue Z∗Z^*Z∗ is the optimal value of the linear program

(3)min⁡ xs.t.v0x≥∑i∈Myi,yi≥Vi(Si)γi(Ri(Si)−x)  ∀Si⊆N, i∈M,\text{(3)}\quad \min\ x \quad\text{s.t.}\quad v_0 x \ge \sum_{i \in M} y_i,\qquad y_i \ge V_i(S_i)^{\gamma_i}\big(R_i(S_i) - x\big)\ \ \forall S_i \subseteq N,\ i \in M,(3)min xs.t.v0​x≥i∈M∑​yi​,yi​≥Vi​(Si​)γi​(Ri​(Si​)−x)  ∀Si​⊆N, i∈M,

and problem (4) is the same program with the second family of constraints imposed only for a chosen collection of candidate assortments in each nest.

Throughout, γi≤1\gamma_i \le 1γi​≤1 for every nest and the vi0v_{i0}vi0​ are arbitrary. For a capacity ϵi≥0\epsilon_i \ge 0ϵi​≥0, the knapsack value Ki(ϵi)K_i(\epsilon_i)Ki​(ϵi​) is the largest ∑j∈Srijvij\sum_{j \in S} r_{ij} v_{ij}∑j∈S​rij​vij​ over assortments SSS with ∑j∈Svij≤ϵi\sum_{j \in S} v_{ij} \le \epsilon_i∑j∈S​vij​≤ϵi​ (display (9)). Its continuous relaxation (11) allows fractional zij∈[0,1(vij≤ϵi)]z_{ij} \in [0, \mathbf 1(v_{ij} \le \epsilon_i)]zij​∈[0,1(vij​≤ϵi​)] under the same capacity. The greedy solution z^i(ϵi)\hat z_i(\epsilon_i)z^i​(ϵi​) of (11) fills the capacity with the products of weight at most ϵi\epsilon_iϵi​ in revenue order, each fully while it fits and the next one fractionally, and

S^i(ϵi)={j∈N:z^ij(ϵi)=1}.\hat S_i(\epsilon_i) = \{ j \in N : \hat z_{ij}(\epsilon_i) = 1 \}.S^i​(ϵi​)={j∈N:z^ij​(ϵi​)=1}.

Problem (10) replaces the per-assortment constraints of (3) by yi≥max⁡ϵi≥0(vi0+ϵi)γi[Ki(ϵi)/(vi0+ϵi)−x]y_i \ge \max_{\epsilon_i \ge 0} (v_{i0}+\epsilon_i)^{\gamma_i}[K_i(\epsilon_i)/(v_{i0}+\epsilon_i) - x]yi​≥maxϵi​≥0​(vi0​+ϵi​)γi​[Ki​(ϵi​)/(vi0​+ϵi​)−x].

Formalization targets

Goal: Theorem 10 (p. 24)

Let (x^,y^)(\hat x, \hat y)(x^,y^​) be an optimal solution of (4) with candidate collections {S^i(ϵi):ϵi∈[0,∞]}∪{{j}:j∈N}\{\hat S_i(\epsilon_i) : \epsilon_i \in [0,\infty]\} \cup \{\{j\} : j \in N\}{S^i​(ϵi​):ϵi​∈[0,∞]}∪{{j}:j∈N}. Then

(2x^, 2y^)  is feasible for (3).(2\hat x,\ 2\hat y) \ \text{ is feasible for (3).}(2x^, 2y^​)  is feasible for (3).

Milestones

  1. Per-nest identity (proof of Lemma 9, p. 23). For x≥0x \ge 0x≥0, max⁡SiVi(Si)γi(Ri(Si)−x)=max⁡ϵi≥0(vi0+ϵi)γi[Ki(ϵi)/(vi0+ϵi)−x]\max_{S_i} V_i(S_i)^{\gamma_i}(R_i(S_i) - x) = \max_{\epsilon_i \ge 0}(v_{i0}+\epsilon_i)^{\gamma_i}[K_i(\epsilon_i)/(v_{i0}+\epsilon_i) - x]maxSi​​Vi​(Si​)γi​(Ri​(Si​)−x)=maxϵi​≥0​(vi0​+ϵi​)γi​[Ki​(ϵi​)/(vi0​+ϵi​)−x].
  2. Lemma 9 (p. 23). Problems (3) and (10) have the same optimal solutions.
  3. Relaxation (p. 23). Every feasible point of (9) is feasible for (11), so K^i(ϵi)≥Ki(ϵi)\hat K_i(\epsilon_i) \ge K_i(\epsilon_i)K^i​(ϵi​)≥Ki​(ϵi​).
  4. Greedy solution (pp. 23–24). z^i(ϵi)\hat z_i(\epsilon_i)z^i​(ϵi​) is optimal for (11) and has at most one fractional component.
  5. Sign (A.3, p. 45). x^≥0\hat x \ge 0x^≥0.
  6. Inequalities (28) and (29) (A.3, pp. 45–46). In both cases — z^i(ϵ)\hat z_i(\epsilon)z^i​(ϵ) with and without a fractional component — 2y^i≥(vi0+ϵ)γi[Ki(ϵ)/(vi0+ϵ)−2x^]2\hat y_i \ge (v_{i0}+\epsilon)^{\gamma_i}[K_i(\epsilon)/(v_{i0}+\epsilon) - 2\hat x]2y^​i​≥(vi0​+ϵ)γi​[Ki​(ϵ)/(vi0​+ϵ)−2x^].

Two further statements accompany the goal: the factor-two revenue guarantee obtained from Theorem 10 and Theorem 1 of the paper, and the fact that every S^i(ϵi)\hat S_i(\epsilon_i)S^i​(ϵi​) is one of the at most 1+n21 + n^21+n2 assortments NijkN^k_{ij}Nijk​, the first jjj products by revenue among the kkk lightest.

Significance

Theorem 10 turns an NP-hard assortment problem into a linear program with 1+m1 + m1+m variables and 1+m(1+n+n2)1 + m(1 + n + n^2)1+m(1+n+n2) constraints whose solution is within a factor of two of optimal. The construction is explicit: the candidates are defined by a greedy rule, not by an optimization oracle. The same template, a restricted linear program whose doubled optimum is feasible for the full one, is reused in §6 of the paper for the most general instances, and Lemma 9's knapsack reformulation is the link to the classical approximation theory of knapsack problems (Williamson and Shmoys, 2011).

The theorem is proved in the paper. No machine-checked proof of it, of Lemma 9, or of greedy optimality for the continuous knapsack with an eligibility bound exists on the platform. Formalizing it yields a checked factor-two guarantee and a reusable fractional-knapsack development.

Difficulty

The obvious argument would compare the restricted program (4) with (3) constraint by constraint. That fails: (3) has one constraint per subset of products, and most subsets are not candidates. The comparison has to pass through the knapsack reformulation (10), which requires showing that a maximum over all subsets equals a maximum over a one-dimensional capacity parameter, using γi≤1\gamma_i \le 1γi​≤1 and x≥0x \ge 0x≥0 in an essential way. The second obstacle is that the greedy assortment S^i(ϵi)\hat S_i(\epsilon_i)S^i​(ϵi​) keeps only the fully taken products, so its value can fall short of the continuous knapsack value, and no single candidate assortment need attain the knapsack bound. With dissimilarity parameters above one the monotonicity behind the reformulation is lost, and §6 of the paper needs a different factor.

Formalization scope

Products are Fin n (indices 0,…,n−10, \dots, n-10,…,n−1), nests a finite type, and every quantity is real. Powers are Real.rpow; x/0=0x/0 = 0x/0=0, which gives Ri(∅)=0R_i(\emptyset) = 0Ri​(∅)=0. An optimal solution of a linear program is a feasible pair whose xxx is minimal among feasible pairs. The constraint "yi≥max⁡ϵi≥0(… )y_i \ge \max_{\epsilon_i \ge 0}(\dots)yi​≥maxϵi​≥0​(…)" of (10) is stated in constraint form, for every ϵi≥0\epsilon_i \ge 0ϵi​≥0, so no real supremum is taken. Ki(ϵ)K_i(\epsilon)Ki​(ϵ) is defined for ϵ≥0\epsilon \ge 0ϵ≥0 only; its placeholder value for ϵ<0\epsilon < 0ϵ<0 is never used. Ties in revenue (and, for NijkN^k_{ij}Nijk​, in weight) are broken by index. The candidate collection is taken over real ϵi≥0\epsilon_i \ge 0ϵi​≥0; ϵi=∞\epsilon_i = \inftyϵi​=∞ adds nothing, since every capacity of at least ∑jvij\sum_j v_{ij}∑j​vij​ already gives S^i=N\hat S_i = NS^i​=N.

Standing assumptions and added hypotheses: γi≤1\gamma_i \le 1γi​≤1 for every nest (the section's assumption) on the goal and on every model milestone; the pins vij>0v_{ij} > 0vij​>0, rij≥0r_{ij} \ge 0rij​≥0, γi>0\gamma_i > 0γi​>0 and the revenue ordering, shared by the series; n≥1n \ge 1n≥1 on Lemma 9, on x^≥0\hat x \ge 0x^≥0 and on (28)/(29), the paper's nonempty NNN; and v0>0v_0 > 0v0​>0 on the factor-two revenue guarantee, where Theorem 1 of the paper fails without it.

The greedy assortments S^i(ϵi)\hat S_i(\epsilon_i)S^i​(ϵi​) are defined explicitly. Quantifying over arbitrary optimal solutions of (11) instead would change the candidate collection and is not the paper's theorem. The goal states feasibility for the full program (3) and does not mention knapsack values, the greedy solution or the case split. A formalization that weakens the conclusion to feasibility for (10), or that drops the singletons from the candidate collection, is not a solution.

Needed infrastructure: fractional knapsack optimality of the greedy rule with an eligibility bound, monotonicity of t↦tγt \mapsto t^{\gamma}t↦tγ and t↦tγ−1t \mapsto t^{\gamma - 1}t↦tγ−1 for γ≤1\gamma \le 1γ≤1, and finite maximization over subsets. The fractional-knapsack lemmas are reusable beyond this mission. Proofs of any milestone, and alternative decompositions of the goal, are welcome.

Selected references

  • J. M. Davis, G. Gallego, H. Topaloglu, Assortment Optimization under Variants of the Nested Logit Model, Operations Research 62(2), 2014 (revised manuscript of June 18, 2013, cited here). DOI 10.1287/opre.2014.1256
  • K. T. Talluri, G. J. van Ryzin, Revenue Management Under a General Discrete Choice Model of Consumer Behavior, Management Science 50(1), 15–33, 2004. DOI 10.1287/mnsc.1030.0147
  • D. P. Williamson, D. B. Shmoys, The Design of Approximation Algorithms, Cambridge University Press, 2011. DOI 10.1017/CBO9780511921735
11 thms3 active usersReviewed
🏆Completed
Convex OptimizationMachine LearningOperations Research+1·Captain: mikedeng1

Oracle-Based Robust Optimization via Online Learning 1: The Dual-Subgradient Meta-Algorithm Returns a 2ε-Approximate Robust Solution or Certifies Infeasibility within ⌈G²D²/ε²⌉ Oracle CallsResearch Paper

Motivation

Robust optimization protects a decision against every realization of uncertain data in a prescribed uncertainty set. The standard approach replaces the uncertain constraints by a deterministic robust counterpart and solves that counterpart directly (Ben-Tal, El Ghaoui, Nemirovski, Robust Optimization, 2009). The counterpart is often a harder problem than the original: a robust linear program with ellipsoidal uncertainty becomes a second-order cone program, and a robust quadratic program can become a semidefinite program. A practitioner who has an efficient, specialised solver for the nominal problem may therefore have no efficient solver for its robust version.

Ben-Tal, Hazan, Koren and Mannor (arXiv:1402.6361, Operations Research 2015) ask whether the robust problem can be solved by repeatedly calling a solver of the nominal problem, with the number of calls independent of the dimension. Their first answer, the dual-subgradient meta-algorithm of §3.1, does so whenever the constraints are concave in the noise and the uncertainty set is convex. It is a primal–dual scheme: an online-learning algorithm picks the noise, and the nominal solver answers. This mission formalizes that result, Theorem 3.

Setting

Let D⊆Rn\mathcal D\subseteq\mathbb R^nD⊆Rn be a convex domain, U⊆Rd\mathcal U\subseteq\mathbb R^dU⊆Rd a convex uncertainty set, and f1,…,fm:Rn×Rd→Rf_1,\dots,f_m:\mathbb R^n\times\mathbb R^d\to\mathbb Rf1​,…,fm​:Rn×Rd→R constraint functions. The robust feasibility problem (3) is

∃ x∈D:fi(x,ui)≤0∀ui∈U, i=1,…,m.\exists\,x\in\mathcal D:\qquad f_i(x,u_i)\le 0\quad\forall u_i\in\mathcal U,\ i=1,\dots,m .∃x∈D:fi​(x,ui​)≤0∀ui​∈U, i=1,…,m.

(An objective is handled by binary search on its value, so feasibility is the core question.) A point x∈Dx\in\mathcal Dx∈D is an ϵ\epsilonϵ-approximate solution if fi(x,u)≤ϵf_i(x,u)\le\epsilonfi​(x,u)≤ϵ for all u∈Uu\in\mathcal Uu∈U and all iii.

An ϵ\epsilonϵ-approximate oracle Oϵ\mathcal O_\epsilonOϵ​ (Figure 1) takes a noise vector u=(u1,…,um)∈Umu=(u_1,\dots,u_m)\in\mathcal U^mu=(u1​,…,um​)∈Um and either returns some x∈Dx\in\mathcal Dx∈D with fi(x,ui)≤ϵf_i(x,u_i)\le\epsilonfi​(x,ui​)≤ϵ for all iii, or answers "infeasible", which it may do only if no x∈Dx\in\mathcal Dx∈D has fi(x,ui)≤0f_i(x,u_i)\le 0fi​(x,ui​)≤0 for all iii.

The standing assumptions of §3.1 are: each fi(⋅,u)f_i(\cdot,u)fi​(⋅,u) is convex on D\mathcal DD; each fi(x,⋅)f_i(x,\cdot)fi​(x,⋅) is concave on U\mathcal UU for x∈Dx\in\mathcal Dx∈D; D≥∥u−v∥2D\ge\|u-v\|_2D≥∥u−v∥2​ for all u,v∈Uu,v\in\mathcal Uu,v∈U; and ∥∇ufi(x,u)∥2≤G\|\nabla_u f_i(x,u)\|_2\le G∥∇u​fi​(x,u)∥2​≤G for x∈Dx\in\mathcal Dx∈D, u∈Uu\in\mathcal Uu∈U. Write PPP for the Euclidean projection onto U\mathcal UU.

Algorithm 1 sets T=⌈G2D2/ϵ2⌉T=\lceil G^2D^2/\epsilon^2\rceilT=⌈G2D2/ϵ2⌉ and η=D/(GT)\eta=D/(G\sqrt T)η=D/(GT​), starts from u10,…,um0∈Uu^0_1,\dots,u^0_m\in\mathcal Uu10​,…,um0​∈U, and for t=1,…,Tt=1,\dots,Tt=1,…,T updates

uit=P(uit−1+η ∇ufi(xt−1,uit−1)),xt=Oϵ(u1t,…,umt),u^t_i=P\bigl(u^{t-1}_i+\eta\,\nabla_u f_i(x^{t-1},u^{t-1}_i)\bigr),\qquad x^t=\mathcal O_\epsilon(u^t_1,\dots,u^t_m),uit​=P(uit−1​+η∇u​fi​(xt−1,uit−1​)),xt=Oϵ​(u1t​,…,umt​),

stopping with "infeasible" as soon as the oracle says so, and otherwise returning xˉ=1T∑t=1Txt\bar x=\frac1T\sum_{t=1}^T x^txˉ=T1​∑t=1T​xt. In Lean these are alg1T, alg1Eta, alg1U, alg1X, alg1Output and alg1Calls in the namespace OracleRO.DualSubgrad.

Formalization targets

Goal: Theorem 3 (p. 7)

For every ϵ\epsilonϵ-approximate oracle,

output="infeasible" ⟹ ¬ ∃x∈D ∀i ∀u∈U: fi(x,u)≤0,\text{output}=\text{"infeasible"}\ \Longrightarrow\ \neg\,\exists x\in\mathcal D\ \forall i\ \forall u\in\mathcal U:\ f_i(x,u)\le 0,output="infeasible" ⟹ ¬∃x∈D ∀i ∀u∈U: fi​(x,u)≤0, output=xˉ ⟹ xˉ∈D  and  fi(xˉ,u)≤2ϵ  ∀i, ∀u∈U,\text{output}=\bar x\ \Longrightarrow\ \bar x\in\mathcal D\ \text{ and }\ f_i(\bar x,u)\le 2\epsilon\ \ \forall i,\ \forall u\in\mathcal U,output=xˉ ⟹ xˉ∈D  and  fi​(xˉ,u)≤2ϵ  ∀i, ∀u∈U,

and the number of oracle calls is at most ⌈G2D2/ϵ2⌉\lceil G^2D^2/\epsilon^2\rceil⌈G2D2/ϵ2⌉.

Milestones

  1. Lemma 1 (p. 5, Zinkevich 2003): projected online gradient ascent with step η=D/(GT)\eta=D/(G\sqrt T)η=D/(GT​) on concave rewards has regret ∑tft(x∗)−∑tft(xt)≤GDT\sum_t f_t(x^*)-\sum_t f_t(x_t)\le GD\sqrt T∑t​ft​(x∗)−∑t​ft​(xt​)≤GDT​ for every x∗x^*x∗ in the decision set.
  2. (6) (p. 7): if a point is returned, 1T∑t=1Tfi(xt,uit)≤ϵ\frac1T\sum_{t=1}^T f_i(x^t,u^t_i)\le\epsilonT1​∑t=1T​fi​(xt,uit​)≤ϵ for every iii.
  3. (7) (p. 8): for every iii and u∈Uu\in\mathcal Uu∈U, 1T∑tfi(xt,u)−1T∑tfi(xt,uit)≤GD/T≤ϵ\frac1T\sum_t f_i(x^t,u)-\frac1T\sum_t f_i(x^t,u^t_i)\le GD/\sqrt T\le\epsilonT1​∑t​fi​(xt,u)−T1​∑t​fi​(xt,uit​)≤GD/T​≤ϵ.
  4. Final inequality of the proof (p. 8): fi(xˉ,u)≤1T∑tfi(xt,u)f_i(\bar x,u)\le\frac1T\sum_t f_i(x^t,u)fi​(xˉ,u)≤T1​∑t​fi​(xt,u) for u∈Uu\in\mathcal Uu∈U.

Significance

The result. Theorem 3 turns any approximate solver of the nominal problem into an approximate solver of its robust counterpart, at a cost of ⌈G2D2/ϵ2⌉\lceil G^2D^2/\epsilon^2\rceil⌈G2D2/ϵ2⌉ solver calls, a number that depends on the geometry of U\mathcal UU and the sensitivity of the constraints to the noise but not on nnn, ddd or mmm. It is the prototype of the paper's oracle-based reductions: the same primal–dual template, with a different online learner, gives the dual-perturbation algorithm of §3.2–3.3 for non-convex uncertainty sets, and the applications of §4 (robust linear programs, quadratic programs, semidefinite programs) instantiate it.

Formalizing it. The theorem is proved in the paper; none of it is machine-checked. A formal development adds a checked statement of the reduction with an explicit call count in place of the paper's O(⋅)O(\cdot)O(⋅), and a reusable regret bound for projected online gradient ascent on concave rewards (Lemma 1), which the paper quotes from Zinkevich without proof and which many other online-learning results rest on.

Difficulty

The obvious argument for the dual side fails at one point: in round ttt the primal point xtx^txt is computed from utu^tut, so the reward fi(xt,⋅)f_i(x^t,\cdot)fi​(xt,⋅) that the dual player faces depends on its own current move. A regret bound that assumed rewards fixed in advance, or drawn independently of the learner's play, would not apply. Lemma 1 must be used in its adversarial form, valid for every sequence of reward functions, including adaptively chosen ones. A second point is that the projection step requires the variational characterization of a nearest point in a convex set, which a mere "map into U\mathcal UU" does not provide.

Formalization scope

Points are elements of EuclideanSpace ℝ (Fin k), so every norm is the ℓ2\ell_2ℓ2​ norm. The projection is a predicate IsProjOnto U P (each P(y)P(y)P(y) is a nearest point of U\mathcal UU to yyy), not a construction; the oracle is a function (Fin m → E d) → Option (E n) with none for "infeasible", constrained by the predicate IsApproxOracle on inputs in Um\mathcal U^mUm. The goal is quantified over every oracle meeting that specification. The gradient ∇ufi(x,u)\nabla_u f_i(x,u)∇u​fi​(x,u) is a given map gradU with HasGradientAt at points of U\mathcal UU; no differentiability in xxx is assumed. Rounds are indexed by natural numbers with index 000 for the initialization; the starting primal point x0∈Dx^0\in\mathcal Dx0∈D, used by the first update and left undefined by the algorithm, is an input. Hypotheses D>0D>0D>0 and G>0G>0G>0 are added so that η\etaη and T≥1T\ge1T≥1 are meaningful. Maxima over U\mathcal UU are stated as "for every u∈Uu\in\mathcal Uu∈U".

Explicit instantiations and corrections:

  • The paper's "O(G2D2/ϵ2)O(G^2D^2/\epsilon^2)O(G2D2/ϵ2) calls" is stated as at most ⌈G2D2/ϵ2⌉\lceil G^2D^2/\epsilon^2\rceil⌈G2D2/ϵ2⌉ calls (one call per round, TTT rounds).
  • Lemma 1's "G≥max⁡t∥ft(xt)∥G\ge\max_t\|f_t(x_t)\|G≥maxt​∥ft​(xt​)∥" is read as the gradient bound ∥∇ft(xt)∥≤G\|\nabla f_t(x_t)\|\le G∥∇ft​(xt​)∥≤G, as the same sentence describes it.
  • The proof's "Combining (10) and (12)" refers to (6) and (7).

Trivializing formalizations are ruled out: an oracle specification under which "infeasible" is never returned, or an output that is not the average of the oracle's answers, would not be Theorem 3. The "infeasible" conclusion is about the robust problem, not the nominal one.

A complete development needs the variational inequality for nearest points in a convex set, the gradient (supergradient) inequality for a concave function differentiable at a point of a convex set, Zinkevich's telescoping argument, and Jensen's inequality for finite averages. The first two and Lemma 1 are reusable beyond this mission. Proofs of the milestones, in any order, are welcome.

Selected references

  • A. Ben-Tal, E. Hazan, T. Koren, S. Mannor, Oracle-Based Robust Optimization via Online Learning, arXiv:1402.6361v1, 2014; Operations Research 63(3), 2015. https://arxiv.org/abs/1402.6361v1
  • M. Zinkevich, Online Convex Programming and Generalized Infinitesimal Gradient Ascent, ICML 2003. https://dl.acm.org/doi/10.5555/3041838.3041955
  • A. Ben-Tal, L. El Ghaoui, A. Nemirovski, Robust Optimization, Princeton University Press, 2009. https://doi.org/10.1515/9781400831050
  • E. Hazan, Introduction to Online Convex Optimization, Foundations and Trends in Optimization, 2016. https://arxiv.org/abs/1909.05207
8 thms2 active usersReviewed
🏆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
🏆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
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
🏆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
🏆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
🏆Completed
Operations ResearchOptimizationTheoretical Computer Science·Captain: mikedeng1

Assortment Optimisation Under a General Discrete Choice Model: A Tight Analysis of Revenue-Ordered Assortments I: Revenue-Ordered Assortments Earn OPT/(1 + ln(r_k/r_1)) Under Any Regular Choice ModelResearch Paper

Motivation

A retailer, an airline or an online platform decides which products to show a customer. Showing more is not always better: a customer who would have bought an expensive product may switch to a cheap one once it is offered. The assortment problem asks for the set of products that maximises expected revenue, given a model of how customers choose. It is a central problem of revenue management (Talluri and van Ryzin, 2004), and it is NP-hard even for mixtures of two multinomial logit models (Rusmevichientong, Shmoys, Tong and Topaloglu, 2014).

The standard heuristic in practice is revenue-ordered assortments: sort the products by price and only consider the sets consisting of the most expensive products down to some threshold. It is optimal under the multinomial logit model (Talluri and van Ryzin, 2004), but not in general. Berbeglia and Joret (arXiv:1606.01371) ask how much revenue the heuristic can lose under every reasonable choice model, and answer with guarantees that depend only on the prices.

Timeline:

  • 2004: Talluri and van Ryzin prove revenue-ordered assortments optimal under the multinomial logit model.
  • 2014: Rusmevichientong et al. show NP-hardness of the assortment problem for mixtures of logits, and prove that revenue-ordered assortments earn at least OPT/(e(1+ln⁡(rk/r1)))\mathrm{OPT}/(e(1+\ln(r_k/r_1)))OPT/(e(1+ln(rk​/r1​))) under mixed logit models.
  • 2016–2019: Berbeglia and Joret prove the guarantees 1/k1/k1/k and 1/(1+ln⁡(rk/r1))1/(1+\ln(r_k/r_1))1/(1+ln(rk​/r1​)) under any regular choice model and show them tight (arXiv v1 2016, v3 2019; Algorithmica 2020). Aouad, Farias, Levi and Segev (2018) show that under random utility models no efficient algorithm does essentially better than these ratios.

Setting

There is a finite nonempty set C\mathcal CC of products. For a choice set S⊆CS\subseteq\mathcal CS⊆C, P(x,S)\mathcal P(x,S)P(x,S) is the probability that a customer offered SSS buys product xxx, and P(0,S)=1−∑x∈SP(x,S)\mathcal P(0,S)=1-\sum_{x\in S}\mathcal P(x,S)P(0,S)=1−∑x∈S​P(x,S) is the probability that the customer buys nothing. The system P\mathcal PP is a regular discrete choice model if

  1. P(x,S)≥0\mathcal P(x,S)\ge0P(x,S)≥0 for every x∈C∪{0}x\in\mathcal C\cup\{0\}x∈C∪{0};
  2. P(x,S)=0\mathcal P(x,S)=0P(x,S)=0 whenever x∉Sx\notin Sx∈/S;
  3. ∑x∈SP(x,S)≤1\sum_{x\in S}\mathcal P(x,S)\le1∑x∈S​P(x,S)≤1;
  4. P(x,S)≥P(x,S′)\mathcal P(x,S)\ge\mathcal P(x,S')P(x,S)≥P(x,S′) whenever S⊆S′S\subseteq S'S⊆S′ and x∈S∪{0}x\in S\cup\{0\}x∈S∪{0}.

Axiom 4, regularity, says that adding products never makes a given product, or leaving without buying, more likely. Every random utility model is regular.

Each product has a positive price r(x)>0r(x)>0r(x)>0. The revenue of SSS is rev⁡(S)=∑x∈SP(x,S) r(x)\operatorname{rev}(S)=\sum_{x\in S}\mathcal P(x,S)\,r(x)rev(S)=∑x∈S​P(x,S)r(x), and OPT=max⁡S⊆Crev⁡(S)\mathrm{OPT}=\max_{S\subseteq\mathcal C}\operatorname{rev}(S)OPT=maxS⊆C​rev(S). Let 0<r1<⋯<rk0<r_1<\cdots<r_k0<r1​<⋯<rk​ be the distinct prices, so kkk counts price levels and not products, and set r0=0r_0=0r0​=0. The revenue-ordered assortments are Si={x∈C:r(x)≥ri}S_i=\{x\in\mathcal C : r(x)\ge r_i\}Si​={x∈C:r(x)≥ri​}, i=1,…,ki=1,\dots,ki=1,…,k, and the heuristic earns

RO=max⁡1≤i≤krev⁡(Si).\mathrm{RO}=\max_{1\le i\le k}\operatorname{rev}(S_i).RO=1≤i≤kmax​rev(Si​).

Formalization targets

Goal: Theorem 3.2

OPT  ≤  (∑i=1kri−ri−1ri) ROand∑i=1kri−ri−1ri  ≤  1+ln⁡rkr1.\mathrm{OPT}\;\le\;\Big(\sum_{i=1}^{k}\frac{r_i-r_{i-1}}{r_i}\Big)\,\mathrm{RO} \qquad\text{and}\qquad \sum_{i=1}^{k}\frac{r_i-r_{i-1}}{r_i}\;\le\;1+\ln\frac{r_k}{r_1}.OPT≤(i=1∑k​ri​ri​−ri−1​​)ROandi=1∑k​ri​ri​−ri−1​​≤1+lnr1​rk​​.

The goal fixes no constant beyond the paper's own quantities. Both parts are required: the sum form is the sharper bound, and the paper shows it is attained (Theorem 3.4, a later mission of this series).

Milestones

  • Lemma 2.1: ∑x∈SP(x,S)≤∑x∈S′P(x,S′)\sum_{x\in S}\mathcal P(x,S)\le\sum_{x\in S'}\mathcal P(x,S')∑x∈S​P(x,S)≤∑x∈S′​P(x,S′) for S⊆S′S\subseteq S'S⊆S′.
  • Inequality (5): rev⁡(Si)≥ri∑x∈S∗∩SiP(x,S∗)\operatorname{rev}(S_i)\ge r_i\sum_{x\in S^*\cap S_i}\mathcal P(x,S^*)rev(Si​)≥ri​∑x∈S∗∩Si​​P(x,S∗) for every S∗S^*S∗ and i∈[k]i\in[k]i∈[k].
  • Theorem 3.1: OPT≤k⋅RO\mathrm{OPT}\le k\cdot\mathrm{RO}OPT≤k⋅RO.
  • Rearrangement (proof of Theorem 3.2): rev⁡(S∗)=∑ℓ(rℓ−rℓ−1)∑x∈S∗∩SℓP(x,S∗)\operatorname{rev}(S^*)=\sum_{\ell}(r_\ell-r_{\ell-1})\sum_{x\in S^*\cap S_\ell}\mathcal P(x,S^*)rev(S∗)=∑ℓ​(rℓ​−rℓ−1​)∑x∈S∗∩Sℓ​​P(x,S∗), and rev⁡(S∗)≤∑ℓrℓ−rℓ−1rℓrev⁡(Sℓ)\operatorname{rev}(S^*)\le\sum_\ell\frac{r_\ell-r_{\ell-1}}{r_\ell}\operatorname{rev}(S_\ell)rev(S∗)≤∑ℓ​rℓ​rℓ​−rℓ−1​​rev(Sℓ​).
  • Logarithmic bound: ∑ℓ=1kaℓ−aℓ−1aℓ≤1+ln⁡(ak/a1)\sum_{\ell=1}^k\frac{a_\ell-a_{\ell-1}}{a_\ell}\le1+\ln(a_k/a_1)∑ℓ=1k​aℓ​aℓ​−aℓ−1​​≤1+ln(ak​/a1​) for 0=a0<a1<⋯<ak0=a_0<a_1<\cdots<a_k0=a0​<a1​<⋯<ak​.

Significance

The theorem shows that a pricing-only quantity controls the loss of the most common heuristic in revenue management, uniformly over all regular choice models, including every random utility model, mixtures of logits and Markov chain models. Combined with the hardness result of Aouad et al., it shows that revenue-ordered assortments achieve essentially the best ratio, as a function of kkk or of rk/r1r_k/r_1rk​/r1​, that an efficient algorithm can achieve. The same analysis transfers to the envy-free pricing and Stackelberg problems studied in the later sections of the paper.

The result is proved in the paper; to our knowledge it has no machine-checked proof. This mission produces a Lean formalization of regular choice models, the revenue-ordered heuristic and its two guarantees, on which the paper's tightness examples, the purchase-probability bound (Theorem 3.3) and the applications to pricing can build.

Difficulty

The argument is short, but two points are easy to get wrong. First, revenues of SiS_iSi​ and of an optimal S∗S^*S∗ involve choice probabilities evaluated at different sets, so the comparison must pass through S∗∩SiS^*\cap S_iS∗∩Si​, using regularity once for products and once for the no-purchase option. A model that only assumes regularity for products does not satisfy the theorem. Second, the bound runs over distinct price levels, not products, and the first summand uses the convention r0=0r_0=0r0​=0; indexing by products or dropping r0r_0r0​ gives a different quantity. The comparison of the sum with ln⁡(rk/r1)\ln(r_k/r_1)ln(rk​/r1​) is a Riemann-sum estimate for ∫dt/t\int dt/t∫dt/t and needs a real-analysis lemma not phrased this way in Mathlib.

Formalization scope

  • Products are a finite nonempty type C with decidable equality; choice sets are Finset C. The choice probabilities are P : C → Finset C → ℝ, defined on all pairs. The no-purchase option is not a product: P(0,S)\mathcal P(0,S)P(0,S) is the derived quantity noPurchase P S = 1 - ∑ x ∈ S, P x S.
  • IsRegular P carries axioms (i)–(iv), with (i) and (iv) each split into a product case and a no-purchase case. The no-purchase case of (i) is redundant with (iii) and is kept to match the page.
  • r : C → ℝ with the hypothesis ∀ x, 0 < r x. revenue P r S is rev⁡(S)\operatorname{rev}(S)rev(S) and opt P r is the maximum over all Finset C (Finset.sup'), including the empty set.
  • Price levels are 1-based: level r i is rir_iri​ for 1≤i≤k1\le i\le k1≤i≤k and level r 0 = 0; numVals r is kkk, the number of distinct values. roSet r i is SiS_iSi​; roValue P r is the maximum over i∈{1,…,k}i\in\{1,\dots,k\}i∈{1,…,k} only.
  • Approximation guarantees are stated in product form, OPT≤D⋅RO\mathrm{OPT}\le D\cdot\mathrm{RO}OPT≤D⋅RO, never as a ratio. ln⁡\lnln is Real.log, applied to rk/r1≥1r_k/r_1\ge1rk​/r1​≥1.
  • Ruled out: a maximum over all subsets in place of RO\mathrm{RO}RO (which makes the bound trivial), a regularity axiom without its no-purchase case, the logarithmic form alone in place of the sum form, and any specific choice model (logit, Markov chain, random utility) in place of an arbitrary regular P\mathcal PP.

Needed infrastructure: finite sums over price levels and summation by parts, the comparison of (b−a)/b(b-a)/b(b−a)/b with ln⁡(b/a)\ln(b/a)ln(b/a), and the sorted enumeration of a finite set of reals (Finset.orderEmbOfFin). The regular model and the revenue-ordered sets are shared with the other missions of this series. Contributions of any milestone, alternative proofs of the logarithmic bound, and proofs that specific choice models are regular are welcome.

Selected references

  • G. Berbeglia and G. Joret, Assortment Optimisation Under a General Discrete Choice Model: A Tight Analysis of Revenue-Ordered Assortments, arXiv:1606.01371v3, 2019; Algorithmica 82, 2020. https://arxiv.org/abs/1606.01371
  • K. Talluri and G. van Ryzin, Revenue Management Under a General Discrete Choice Model of Consumer Behavior, Management Science 50(1), 2004. https://doi.org/10.1287/mnsc.1030.0147
  • A. Aouad, V. Farias, R. Levi and D. Segev, The Approximability of Assortment Optimization Under Ranking Preferences, Operations Research 66(6), 2018. https://doi.org/10.1287/opre.2018.1724
  • P. Rusmevichientong, D. Shmoys, C. Tong and H. Topaloglu, Assortment Optimization under the Multinomial Logit Model with Random Choice Parameters, Production and Operations Management 23(11), 2014. https://doi.org/10.1111/poms.12191
9 thms2 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization·Captain: mikedeng1

On the Power and Limitations of Affine Policies in Two-Stage Adaptive Optimization III: The Best Affine Policy Can Cost More Than m^(1/2−δ)/4 Times the Fully Adaptable OptimumResearch Paper

Motivation

Two-stage adaptive optimization models decisions taken in two steps: a first-stage decision xxx is fixed before an uncertain right-hand side bbb is revealed, and a second-stage recourse y(b)y(b)y(b) is chosen afterwards, with the worst case over an uncertainty set U\mathcal UU to be minimized. The fully-adaptable problem, in which yyy may be an arbitrary function of bbb, is intractable in general. The standard tractable restriction, introduced by Ben-Tal, Goryashko, Guslitzer and Nemirovski (2004), requires yyy to be an affine policy y(b)=Pb+qy(b)=Pb+qy(b)=Pb+q; it turns the problem into a single convex program and is used throughout robust inventory, network design and energy planning.

How much is lost by this restriction? Bertsimas and Goyal (Math. Program. 2012) answer the question for problems with a nonnegative constraint matrix. On one side, affine policies are optimal when U\mathcal UU is a simplex, and are within a factor O(m)O(\sqrt m)O(m​) of the optimum on every instance of the class, where mmm is the number of constraints. On the other side, the bound is nearly tight: Section 4 of the paper constructs an instance on which the best affine policy costs Ω(m1/2−δ)\Omega(m^{1/2-\delta})Ω(m1/2−δ) times the fully-adaptable optimum, for any δ>0\delta>0δ>0. This mission formalizes that lower bound.

Timeline: Ben-Tal et al. (2004) propose affinely adjustable robust counterparts; Bertsimas, Iancu and Parrilo (2010) prove optimality of affine policies for one-dimensional multistage problems; Bertsimas and Goyal (2012) give the O(m)O(\sqrt m)O(m​) upper bound and the matching lower-bound example formalized here.

Setting

The two-stage problem ΠAdapt(U)\Pi_{\mathrm{Adapt}}(\mathcal U)ΠAdapt​(U) has data A∈Rm×n1A\in\mathbb R^{m\times n_1}A∈Rm×n1​, B∈Rm×n2B\in\mathbb R^{m\times n_2}B∈Rm×n2​, c∈R+n1c\in\mathbb R^{n_1}_+c∈R+n1​​, d∈R+n2d\in\mathbb R^{n_2}_+d∈R+n2​​ and U⊆R+m\mathcal U\subseteq\mathbb R^m_+U⊆R+m​:

zAdapt(U)=min⁡x, y(⋅) c⊤x+max⁡b∈Ud⊤y(b)s.t.Ax+By(b)≥b, x≥0, y(b)≥0  ∀b∈U.z_{\mathrm{Adapt}}(\mathcal U)=\min_{x,\,y(\cdot)}\ c^\top x+\max_{b\in\mathcal U}d^\top y(b)\quad\text{s.t.}\quad Ax+By(b)\ge b,\ x\ge0,\ y(b)\ge0\ \ \forall b\in\mathcal U .zAdapt​(U)=x,y(⋅)min​ c⊤x+b∈Umax​d⊤y(b)s.t.Ax+By(b)≥b, x≥0, y(b)≥0  ∀b∈U.

The value zAff(U)z_{\mathrm{Aff}}(\mathcal U)zAff​(U) is the same minimum over policies of the form y(b)=Pb+qy(b)=Pb+qy(b)=Pb+q; such a policy must be nonnegative on all of U\mathcal UU.

The large-gap instance I\mathcal II of display (19) has n1=n2=mn_1=n_2=mn1​=n2​=m, a parameter δ>0\delta>0δ>0 with mδ>200m^\delta>200mδ>200 (condition (18)), and

θ0=1m(1−δ)/2,r=⌈m1−δ⌉,\theta_0=\frac{1}{m^{(1-\delta)/2}},\qquad r=\lceil m^{1-\delta}\rceil,θ0​=m(1−δ)/21​,r=⌈m1−δ⌉, c=0,d=e=(1,…,1)⊤,A=0,Bij={1,i=j,θ0,i≠j,c=0,\quad d=e=(1,\dots,1)^\top,\quad A=0,\quad B_{ij}=\begin{cases}1,&i=j,\\ \theta_0,&i\ne j,\end{cases}c=0,d=e=(1,…,1)⊤,A=0,Bij​={1,θ0​,​i=j,i=j,​ U=conv⁡({0, e1,…,em, 1me}∪{θ01S: ∣S∣=r}),\mathcal U=\operatorname{conv}\Bigl(\{0,\ e_1,\dots,e_m,\ \tfrac{1}{\sqrt m}e\}\cup\{\theta_0\mathbf 1_S:\ |S|=r\}\Bigr),U=conv({0, e1​,…,em​, m​1​e}∪{θ0​1S​: ∣S∣=r}),

where eje_jej​ are the unit vectors and 1S\mathbf 1_S1S​ is the indicator vector of a set SSS of coordinates. A permutation σ\sigmaσ of the coordinates acts on vectors by bσ=(bσ(1),…,bσ(m))b^\sigma=(b_{\sigma(1)},\dots,b_{\sigma(m)})bσ=(bσ(1)​,…,bσ(m)​) and on matrices by Pijσ=Pσ(i),σ(j)P^\sigma_{ij}=P_{\sigma(i),\sigma(j)}Pijσ​=Pσ(i),σ(j)​.

Formalization targets

Goal: Theorem 3, explicit form

zAff(U)>m1/2−δ4⋅zAdapt(U)for all δ>0 and m with mδ>200.z_{\mathrm{Aff}}(\mathcal U)>\frac{m^{1/2-\delta}}{4}\cdot z_{\mathrm{Adapt}}(\mathcal U)\qquad\text{for all }\delta>0\text{ and }m\text{ with }m^\delta>200 .zAff​(U)>4m1/2−δ​⋅zAdapt​(U)for all δ>0 and m with mδ>200.

The paper writes zAff(U)=Ω(m1/2−δ)⋅zAdapt(U)z_{\mathrm{Aff}}(\mathcal U)=\Omega(m^{1/2-\delta})\cdot z_{\mathrm{Adapt}}(\mathcal U)zAff​(U)=Ω(m1/2−δ)⋅zAdapt​(U); the constant 1/41/41/4 is the one the proof establishes, so the explicit statement is the stronger one.

Milestones

  1. Lemma 4: zAdapt(U)≤1z_{\mathrm{Adapt}}(\mathcal U)\le1zAdapt​(U)≤1, with a feasible solution attaining cost at most 111.
  2. Lemma 5: U\mathcal UU is permutation-invariant under every σ∈Sm\sigma\in S^mσ∈Sm.
  3. Lemma 6: the permuted instance I(σ)\mathcal I(\sigma)I(σ) of (22) equals I\mathcal II.
  4. Lemma 7: if y(b)=Pb+qy(b)=Pb+qy(b)=Pb+q is an optimal affine solution, so is yσ(b)=Pσb+qσy^\sigma(b)=P^\sigma b+q^\sigmayσ(b)=Pσb+qσ.
  5. Lemma 8: some optimal affine solution has P^ij=μ\hat P_{ij}=\muP^ij​=μ (i≠ji\ne ji=j), P^jj=θ\hat P_{jj}=\thetaP^jj​=θ, q^j=λ\hat q_j=\lambdaq^​j​=λ.
  6. The three Claims of the proof of Theorem 3: for a symmetric feasible affine policy with worst-case cost at most m1/2−δ/4m^{1/2-\delta}/4m1/2−δ/4, one has 0≤λ≤m−1/2−δ0\le\lambda\le m^{-1/2-\delta}0≤λ≤m−1/2−δ, θ≥1/3\theta\ge1/3θ≥1/3, and −m−1−δ/2≤μ<0-m^{-1-\delta/2}\le\mu<0−m−1−δ/2≤μ<0.

Significance

The result shows that the O(m)O(\sqrt m)O(m​) approximation guarantee for affine policies on problems with A≥0A\ge0A≥0 (Theorem 4 of the same paper) cannot be improved beyond a factor mδm^{\delta}mδ, so the uncertainty set that looks like a portion of the unit sphere in the nonnegative orthant is essentially the worst case for affine recourse. It also explains why later work moved to piecewise-affine and finitely adaptable policies to close the gap. The example satisfies c,d≥0c,d\ge0c,d≥0, A,B≥0A,B\ge0A,B≥0 and U⊆R+m\mathcal U\subseteq\mathbb R^m_+U⊆R+m​, so the lower bound applies to every larger problem class.

The theorem is proved in the paper; to our knowledge no machine-checked version exists. A formalization adds checked statements of the symmetrization argument (an optimal affine policy may be taken invariant under the symmetry group of the instance), which applies to any symmetric robust linear program, and a checked derivation of the explicit constant.

Difficulty

The upper bound zAdapt≤1z_{\mathrm{Adapt}}\le1zAdapt​≤1 is a direct construction. The difficulty lies in the lower bound on zAffz_{\mathrm{Aff}}zAff​, which must hold for every affine policy, a family with m2+mm^2+mm2+m free parameters. Bounding the cost of a policy at a few chosen points of U\mathcal UU does not suffice without first reducing the parameters, and the reduction requires that an optimal affine solution exists (attainment of the minimum over an unbounded parameter set) and that averaging over the symmetric group preserves both feasibility and optimality. The remaining argument balances three different generators of U\mathcal UU against each other, and the exponents of mmm must be tracked exactly through ceilings and real powers.

Formalization scope

Vectors are Fin m → ℝ with the componentwise order and 0-based indices; matrices are Matrix (Fin m) (Fin m) ℝ. The values zAdaptz_{\mathrm{Adapt}}zAdapt​ and zAffz_{\mathrm{Aff}}zAff​ are infima of the sets of worst-case cost bounds achieved by feasible solutions (epigraph form), so they do not rely on a supremum of a possibly unbounded function. Affine policies must be nonnegative on U\mathcal UU. Optimal solutions are defined as feasible solutions whose worst-case cost is bounded by every achievable bound, so Lemma 8 asserts attainment. Powers mam^{a}ma are real powers; θ0=1/m(1−δ)/2\theta_0=1/m^{(1-\delta)/2}θ0​=1/m(1−δ)/2 and r=⌈m1−δ⌉r=\lceil m^{1-\delta}\rceilr=⌈m1−δ⌉ exactly as on the page. U\mathcal UU is the convex hull of its listed generators; the generator count NNN printed in (19) plays no role.

The parameter δ\deltaδ is not restricted beyond δ>0\delta>0δ>0 and mδ>200m^\delta>200mδ>200, as in the paper. Lemma 4's proof on the page uses δ≤1\delta\le1δ≤1; the statement is kept for all δ>0\delta>0δ>0, where it remains true with a different witness. The Claims are stated for any symmetric feasible affine policy with cost at most m1/2−δ/4m^{1/2-\delta}/4m1/2−δ/4; their hypotheses are jointly unsatisfiable by Theorem 3, which is inherent in steps of a proof by contradiction.

A trivializing formalization is excluded: the goal mentions only the instance data and the two optimal values, not the symmetric parameters μ,θ,λ\mu,\theta,\lambdaμ,θ,λ, and the nonemptiness of the feasible sets is established by Lemma 4 and by the existence of a feasible affine policy, so neither value is a junk infimum of an empty set.

A complete development needs: convex hulls of finite point sets in Rm\mathbb R^mRm and their extreme points; the action of SmS^mSm by coordinate permutation; averaging over the finite group SmS^mSm; and existence of minimizers for linear programs over a polytope. The symmetrization lemmas (5–8) are reusable for other symmetric robust problems. Proofs of any milestone, including partial infrastructure for linear-programming attainment, are welcome.

Selected references

  • D. Bertsimas, V. Goyal, On the power and limitations of affine policies in two-stage adaptive optimization, Mathematical Programming Ser. A 134 (2012) 491–531. https://doi.org/10.1007/s10107-011-0444-4
  • A. Ben-Tal, A. Goryashko, E. Guslitzer, A. Nemirovski, Adjustable robust solutions of uncertain linear programs, Mathematical Programming 99 (2004) 351–376. https://doi.org/10.1007/s10107-003-0454-y
  • D. Bertsimas, D. A. Iancu, P. A. Parrilo, Optimality of affine policies in multistage robust optimization, Mathematics of Operations Research 35 (2010) 363–394. https://doi.org/10.1287/moor.1100.0444
12 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