Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Probability

550 missions · 278 completed

Missions

Open272Completed278All550
🏆Completed
Information TheoryOperations Research·Captain: mikedeng1

Conditional and Dynamic Convex Risk Measures II: The Conditional Entropic Risk Measure and Conditional Relative EntropyResearch Paper

Motivation

A risk measure assigns to a random financial position XXX a capital requirement ρ(X)\rho(X)ρ(X): the amount of cash that must be added to XXX to make it acceptable. The axiomatic theory of convex risk measures (Föllmer–Schied 2002; Frittelli–Rosazza Gianin 2002) treats this number as computed with no information beyond the model. In practice a regulator or a risk manager revises the requirement as information arrives, so the requirement becomes a random variable measurable with respect to the information available at the time of measurement. Detlefsen and Scandolo (SFB 649 Discussion Paper 2005-006; published in Finance and Stochastics 9(4), 2005, doi:10.1007/s00780-005-0159-6) develop this conditional theory: axioms, a robust representation, and a treatment of dynamic risk measurement.

The entropic risk measure is the standard example of a convex risk measure that is not coherent. It is the capital requirement of an agent with exponential utility uγ(x)=1−e−γxu_\gamma(x)=1-e^{-\gamma x}uγ​(x)=1−e−γx, and its penalty function in the robust representation is the relative entropy 1γH(Q∣P)\frac1\gamma H(Q\mid P)γ1​H(Q∣P) (Föllmer–Schied, Stochastic Finance, Example 4.60, as cited by the paper). Section 5 of the paper carries this example to the conditional setting and shows that its penalty is a conditional relative entropy. The same identity appears in dynamic entropic risk measures, exponential-utility indifference pricing and recursive utility, where one-period conditional entropic measures are composed over time.

Setting

Fix a probability space (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) and a sub-σ\sigmaσ-algebra G⊆F\mathcal G\subseteq\mathcal FG⊆F, the information available at the time of measurement. L∞L^\inftyL∞ is the space of essentially bounded random variables and LG∞L^\infty_{\mathcal G}LG∞​ its G\mathcal GG-measurable part. All equalities and inequalities between random variables hold PPP-almost surely.

A conditional convex risk measure is a map ρ:L∞→LG∞\rho:L^\infty\to L^\infty_{\mathcal G}ρ:L∞→LG∞​ that is translation invariant (ρ(X+Z)=ρ(X)−Z\rho(X+Z)=\rho(X)-Zρ(X+Z)=ρ(X)−Z for Z∈LG∞Z\in L^\infty_{\mathcal G}Z∈LG∞​), monotone (X≤Y⇒ρ(X)≥ρ(Y)X\le Y\Rightarrow\rho(X)\ge\rho(Y)X≤Y⇒ρ(X)≥ρ(Y)), conditionally convex (ρ(ΛX+(1−Λ)Y)≤Λρ(X)+(1−Λ)ρ(Y)\rho(\Lambda X+(1-\Lambda)Y)\le\Lambda\rho(X)+(1-\Lambda)\rho(Y)ρ(ΛX+(1−Λ)Y)≤Λρ(X)+(1−Λ)ρ(Y) for Λ∈LG∞\Lambda\in L^\infty_{\mathcal G}Λ∈LG∞​, 0≤Λ≤10\le\Lambda\le10≤Λ≤1), and satisfies ρ(0)=0\rho(0)=0ρ(0)=0.

The relevant probability models are

PG={Q probability on (Ω,F):Q≪P, Q(A)=P(A) for all A∈G}.\mathcal P_{\mathcal G}=\{Q \text{ probability on } (\Omega,\mathcal F) : Q\ll P,\ Q(A)=P(A)\ \text{for all } A\in\mathcal G\}.PG​={Q probability on (Ω,F):Q≪P, Q(A)=P(A) for all A∈G}.

The essential supremum of a family X\mathcal XX of [−∞,+∞][-\infty,+\infty][−∞,+∞]-valued random variables is the a.s. smallest random variable that dominates every member a.s.; the essential infimum is defined symmetrically. The minimal penalty of ρ\rhoρ is

α∗(Q)=ess.sup⁡X∈L∞{−EQ(X∣G)−ρ(X)},Q∈PG.\alpha^*(Q)=\operatorname{ess.sup}_{X\in L^\infty}\{-E_Q(X\mid\mathcal G)-\rho(X)\},\qquad Q\in\mathcal P_{\mathcal G}.α∗(Q)=ess.supX∈L∞​{−EQ​(X∣G)−ρ(X)},Q∈PG​.

For a risk aversion γ>0\gamma>0γ>0, the conditional entropic risk measure is

ργ(X)=1γlog⁡EP(e−γX∣G),\rho_\gamma(X)=\frac1\gamma\log E_P\big(e^{-\gamma X}\mid\mathcal G\big),ργ​(X)=γ1​logEP​(e−γX∣G),

the capital requirement for the acceptance set Aγ={X∈L∞:EP(e−γX∣G)≤1}A_\gamma=\{X\in L^\infty : E_P(e^{-\gamma X}\mid\mathcal G)\le1\}Aγ​={X∈L∞:EP​(e−γX∣G)≤1}. For Q∈PGQ\in\mathcal P_{\mathcal G}Q∈PG​ with density φ=dQ/dP\varphi=dQ/dPφ=dQ/dP, the conditional relative entropy is

HG(Q∣P)=EP(φlog⁡φ∣G)∈[0,+∞],0log⁡0=0.H_{\mathcal G}(Q\mid P)=E_P(\varphi\log\varphi\mid\mathcal G)\in[0,+\infty],\qquad 0\log0=0.HG​(Q∣P)=EP​(φlogφ∣G)∈[0,+∞],0log0=0.

Formalization targets

Goal: Proposition 5.4

For every γ>0\gamma>0γ>0:

ργ(X)=ess.sup⁡Q∈PG{−EQ(X∣G)−1γHG(Q∣P)}(X∈L∞),α∗(Q)=1γHG(Q∣P)(Q∈PG).\rho_\gamma(X)=\operatorname{ess.sup}_{Q\in\mathcal P_{\mathcal G}}\Big\{-E_Q(X\mid\mathcal G)-\tfrac1\gamma H_{\mathcal G}(Q\mid P)\Big\}\quad(X\in L^\infty),\qquad \alpha^*(Q)=\tfrac1\gamma H_{\mathcal G}(Q\mid P)\quad(Q\in\mathcal P_{\mathcal G}).ργ​(X)=ess.supQ∈PG​​{−EQ​(X∣G)−γ1​HG​(Q∣P)}(X∈L∞),α∗(Q)=γ1​HG​(Q∣P)(Q∈PG​).

The first identity is representability with the minimal penalty as the penalty; the second identifies that penalty.

Milestones

  1. (Section 5, p. 12) ργ\rho_\gammaργ​ is a conditional convex risk measure.
  2. (Section 5, p. 12) ργ(X)=ess.inf⁡{Y∈LG∞:X+Y∈Aγ}=ess.inf⁡{Y∈LG∞:EP(e−γX∣G)≤eγY}\rho_\gamma(X)=\operatorname{ess.inf}\{Y\in L^\infty_{\mathcal G}: X+Y\in A_\gamma\}=\operatorname{ess.inf}\{Y\in L^\infty_{\mathcal G}: E_P(e^{-\gamma X}\mid\mathcal G)\le e^{\gamma Y}\}ργ​(X)=ess.inf{Y∈LG∞​:X+Y∈Aγ​}=ess.inf{Y∈LG∞​:EP​(e−γX∣G)≤eγY}.
  3. (Proof of Proposition 5.4) ργ\rho_\gammaργ​ is continuous from above: Xn↘XX_n\searrow XXn​↘X implies ργ(Xn)↗ργ(X)\rho_\gamma(X_n)\nearrow\rho_\gamma(X)ργ​(Xn​)↗ργ​(X).
  4. (Section 5, p. 13) For Q∈PGQ\in\mathcal P_{\mathcal G}Q∈PG​: EP(φ∣G)=1E_P(\varphi\mid\mathcal G)=1EP​(φ∣G)=1 and HG(Q∣P)=EQ(log⁡φ∣G)H_{\mathcal G}(Q\mid P)=E_Q(\log\varphi\mid\mathcal G)HG​(Q∣P)=EQ​(logφ∣G).
  5. (Proof of Proposition 5.4) α∗(Q)=1γess.sup⁡Z∈L∞{EQ(Z∣G)−log⁡EP(eZ∣G)}\alpha^*(Q)=\frac1\gamma\operatorname{ess.sup}_{Z\in L^\infty}\{E_Q(Z\mid\mathcal G)-\log E_P(e^Z\mid\mathcal G)\}α∗(Q)=γ1​ess.supZ∈L∞​{EQ​(Z∣G)−logEP​(eZ∣G)}.
  6. (Lemma 5.5) The conditional Donsker–Varadhan formula
ess.sup⁡Z∈L∞{EQ(Z∣G)−log⁡EP(eZ∣G)}=HG(Q∣P),Q∈PG.\operatorname{ess.sup}_{Z\in L^\infty}\{E_Q(Z\mid\mathcal G)-\log E_P(e^Z\mid\mathcal G)\}=H_{\mathcal G}(Q\mid P),\qquad Q\in\mathcal P_{\mathcal G}.ess.supZ∈L∞​{EQ​(Z∣G)−logEP​(eZ∣G)}=HG​(Q∣P),Q∈PG​.

Significance

The result gives the conditional entropic risk measure an explicit dual description: the capital requirement is a worst case over conditional models, each penalized by its conditional relative entropy. This duality is what makes entropic risk measures computable in dynamic settings. Recursive compositions of ργ\rho_\gammaργ​ over a filtration are time consistent, and their penalties add up by the chain rule for conditional relative entropy. Lemma 5.5 is also the conditional form of the Donsker–Varadhan (Gibbs) variational principle, which is used on its own in large deviations and in PAC-Bayesian bounds.

On status: the results are proved in the paper, and the unconditional versions are textbook material. Mathlib has unconditional Kullback–Leibler divergence, tilted measures, conditional Jensen's inequality and a [0,+∞][0,+\infty][0,+∞]-valued conditional expectation. As far as the platform search could establish, neither the conditional relative entropy nor the conditional Donsker–Varadhan formula nor any conditional risk measure has been formalized. This mission produces the first machine-checked conditional version, with HGH_{\mathcal G}HG​ allowed to be infinite.

Difficulty

In the unconditional case both sides of Lemma 5.5 are numbers, and the supremum is a supremum over reals. Conditionally, both sides are random variables. The supremum over the uncountable family indexed by L∞L^\inftyL∞ must be taken in the essential sense, and a pointwise supremum is neither measurable nor meaningful. The conditional relative entropy can be +∞+\infty+∞ on a set of positive probability. The integrand φlog⁡φ\varphi\log\varphiφlogφ need not be integrable, so the usual conditional expectation of L1L^1L1 is not available for it, and the "≥\ge≥" direction must reach an unbounded target through bounded test variables while controlling log⁡EP(eZ∣G)\log E_P(e^{Z}\mid\mathcal G)logEP​(eZ∣G) at the same time. The ess.sup in the goal ranges over measures, not random variables, and each EQ(⋅∣G)E_Q(\cdot\mid\mathcal G)EQ​(⋅∣G) is a conditional expectation under a different measure. These are identified with PPP-a.s. objects through the condition Q=PQ=PQ=P on G\mathcal GG.

Formalization scope

  • (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) is a probability space (IsProbabilityMeasure P), and G\mathcal GG is m : MeasurableSpace Ω with hm : m ≤ mΩ. Payoffs are real functions with MemLp X ⊤ P. LG∞L^\infty_{\mathcal G}LG∞​ membership is StronglyMeasurable[m] plus MemLp ⊤. Every (in)equality between random variables is PPP-a.e.
  • PG\mathcal P_{\mathcal G}PG​ is the subtype of probability measures Q≪PQ\ll PQ≪P with Q(A)=P(A)Q(A)=P(A)Q(A)=P(A) for all A∈GA\in\mathcal GA∈G. This is equality on G\mathcal GG, not equivalence of measures.
  • EP(⋅∣G)E_P(\cdot\mid\mathcal G)EP​(⋅∣G) and EQ(⋅∣G)E_Q(\cdot\mid\mathcal G)EQ​(⋅∣G) on bounded variables are Mathlib's conditional expectations P[·|m] and Q[·|m]. Bounded variables are integrable under every Q≪PQ\ll PQ≪P, so no junk value arises.
  • ργ\rho_\gammaργ​ is the paper's closed form 1γlog⁡EP(e−γX∣G)\frac1\gamma\log E_P(e^{-\gamma X}\mid\mathcal G)γ1​logEP​(e−γX∣G). The ess.inf descriptions are a milestone, and no positivity hypothesis on XXX is imposed.
  • φ\varphiφ is the real part of the Radon–Nikodym derivative Q.rnDeriv P. HG(Q∣P)H_{\mathcal G}(Q\mid P)HG​(Q∣P) and EQ(log⁡φ∣G)E_Q(\log\varphi\mid\mathcal G)EQ​(logφ∣G) are generalized conditional expectations, E(f+∣G)−E(f−∣G)E(f^+\mid\mathcal G)-E(f^-\mid\mathcal G)E(f+∣G)−E(f−∣G), built from Mathlib's [0,+∞][0,+\infty][0,+∞]-valued condLExp and valued in EReal. The negative parts are integrable, so +∞−(+∞)+\infty-(+\infty)+∞−(+∞) never arises. In EReal, a real number minus +∞+\infty+∞ is −∞-\infty−∞, which is how a model with infinite entropy drops out of the supremum.
  • Essential suprema and infima are predicates (IsEssSup, IsEssInf) on a candidate PPP-a.e. measurable EReal-valued function. The candidate must dominate every member a.s. and lie a.s. below every a.s. upper bound.
  • Continuity from above means: a.s. monotone convergence Xn↘XX_n\searrow XXn​↘X in L∞L^\inftyL∞ implies a.s. monotone convergence ρ(Xn)↗ρ(X)\rho(X_n)\nearrow\rho(X)ρ(Xn​)↗ρ(X).
  • γ\gammaγ is a real constant with γ>0\gamma>0γ>0. The random risk aversion of Remark 5.6 is not formalized.
  • Ruled out: defining HGH_{\mathcal G}HG​ through the Bochner conditional expectation P[φ * log φ | m] (which returns 000 when φlog⁡φ\varphi\log\varphiφlogφ is not integrable) or α∗\alpha^*α∗ through a pointwise supremum would make the goal false or vacuous, and so would stating it for an abstract convex risk measure in place of ργ\rho_\gammaργ​. The formalization uses the extended-valued HGH_{\mathcal G}HG​, the essential supremum, and the explicit ργ\rho_\gammaργ​.
  • The mission is self-contained. It redefines conditional convex risk measures, PG\mathcal P_{\mathcal G}PG​ and the essential supremum in its own namespace CondConvexRisk.Entropic and does not assume the general representation theorem (Theorem 3.2). The generalized conditional expectation and the conditional Donsker–Varadhan formula are reusable beyond risk measures. Contributions are welcome on the ess.sup API (existence, upward-directed families), on conditional monotone convergence for condExp, and on the conditional Jensen step for xlog⁡xx\log xxlogx.

Selected references

  • S. Detlefsen, G. Scandolo, Conditional and Dynamic Convex Risk Measures, SFB 649 Discussion Paper 2005-006, Humboldt-Universität zu Berlin, 2005 (the version formalized; published in Finance and Stochastics 9(4), 2005, https://doi.org/10.1007/s00780-005-0159-6).
  • H. Föllmer, A. Schied, Stochastic Finance: An Introduction in Discrete Time, de Gruyter, Berlin, 2002 (reference [8] of the paper).
  • H. Föllmer, A. Schied, Convex measures of risk and trading constraints, Finance and Stochastics 6:429–447, 2002. https://doi.org/10.1007/s007800200072
  • M. D. Donsker, S. R. S. Varadhan, Asymptotic evaluation of certain Markov process expectations for large time, III, Comm. Pure Appl. Math. 29:389–461, 1976. https://doi.org/10.1002/cpa.3160290405
9 thms3 active usersReviewed
Algorithmic Game TheoryMechanism DesignOperations Research·Captain: mikedeng1

Bargaining under Incomplete Information I: Class A Equilibrium Offer Strategies Satisfy the Linked Differential EquationsResearch Paper

Motivation

A buyer and a seller negotiate over a single indivisible good. Each knows how much the good is worth to them, but not how much it is worth to the other side. Whether the two will trade, and at what price, then depends on how each party shades its offer to exploit the other's uncertainty. Chatterjee and Samuelson (Bargaining under Incomplete Information, Operations Research 31(5), 1983) modelled this situation as a one-shot game in which both parties submit sealed offers simultaneously, and characterised its Bayesian equilibria.

The model became the standard reference point for bilateral trade with two-sided private information. Myerson and Satterthwaite (J. Econ. Theory 29, 1983) showed that no mechanism can guarantee efficient trade in this setting, and that the equilibrium of the Chatterjee–Samuelson game with k=1/2k = 1/2k=1/2 and uniform values attains the second-best efficiency bound. Later work on the kkk-double auction (Satterthwaite and Williams, J. Econ. Theory 48, 1989; Leininger, Linhart and Radner, J. Econ. Theory 48, 1989) studies the continuum of equilibria of exactly this game. The object of the present mission, a pair of linked differential equations, is the tool these papers use to construct and classify equilibria.

Setting

A seller has reservation price vs∈[v‾s,vˉs]v_s \in [\underline v_s, \bar v_s]vs​∈[v​s​,vˉs​] and a buyer has reservation price vb∈[v‾b,vˉb]v_b \in [\underline v_b, \bar v_b]vb​∈[v​b​,vˉb​]. Each knows their own value. The buyer's belief about vsv_svs​ is a probability measure μb\mu_bμb​ with distribution function FbF_bFb​; the seller's belief about vbv_bvb​ is μs\mu_sμs​ with distribution function FsF_sFs​. The subscript names the player who holds the belief, not the variable. Each belief is regular: F(v‾)=0F(\underline v) = 0F(v​)=0, F(vˉ)=1F(\bar v) = 1F(vˉ)=1, and FFF is strictly increasing and differentiable on the value interval, with density fbf_bfb​ (respectively fsf_sfs​).

Under the Bargaining Rule, the seller asks sss and the buyer offers bbb simultaneously. If b≥sb \ge sb≥s the good is sold at P=kb+(1−k)sP = kb + (1-k)sP=kb+(1−k)s for a fixed k∈[0,1]k \in [0, 1]k∈[0,1]; otherwise nothing happens. Profits are P−vsP - v_sP−vs​ for the seller and vb−Pv_b - Pvb​−P for the buyer on trade, and zero otherwise.

An offer strategy is a function SSS (for the seller) or BBB (for the buyer) from values to offers. Against SSS, a buyer with value vvv offering bbb earns in expectation

πb(b,v)=∫1{S(vs)≤b} (v−kb−(1−k)S(vs)) dμb(vs),\pi_b(b, v) = \int \mathbf 1\{S(v_s) \le b\}\,\bigl(v - kb - (1-k)S(v_s)\bigr)\,d\mu_b(v_s),πb​(b,v)=∫1{S(vs​)≤b}(v−kb−(1−k)S(vs​))dμb​(vs​),

and symmetrically πs(s,v)=∫1{s≤B(vb)} (kB(vb)+(1−k)s−v) dμs(vb)\pi_s(s, v) = \int \mathbf 1\{s \le B(v_b)\}\,(kB(v_b) + (1-k)s - v)\,d\mu_s(v_b)πs​(s,v)=∫1{s≤B(vb​)}(kB(vb​)+(1−k)s−v)dμs​(vb​). The pair (S,B)(S, B)(S,B) is an equilibrium if B(v)B(v)B(v) maximises πb(⋅,v)\pi_b(\cdot, v)πb​(⋅,v) over all real offers for every buyer value vvv, and S(v)S(v)S(v) maximises πs(⋅,v)\pi_s(\cdot, v)πs​(⋅,v) for every seller value vvv.

A strategy is of class AAA if its offers are bounded, it is nondecreasing, it is strictly increasing except where it sits at its lowest offer mmm or its highest offer MMM, and it is differentiable wherever its offer lies strictly between mmm and MMM. A class AAA equilibrium is an equilibrium in which both strategies are of class AAA.

Formalization targets

Goal: Theorem 2, the linked differential equations

In a class AAA equilibrium, wherever the seller's strategy is strictly increasing around yyy and the buyer value xxx offers B(x)=S(y)B(x) = S(y)B(x)=S(y),

kFb(y)S′(y)+fb(y)S(y)=x fb(y),(3a)k F_b(y) S'(y) + f_b(y) S(y) = x\, f_b(y), \tag{3a}kFb​(y)S′(y)+fb​(y)S(y)=xfb​(y),(3a)

and wherever the buyer's strategy is strictly increasing around xxx and the seller value yyy asks S(y)=B(x)S(y) = B(x)S(y)=B(x),

(1−k)(1−Fs(x))B′(x)−fs(x)B(x)=− y fs(x).(3b)(1-k)\bigl(1 - F_s(x)\bigr) B'(x) - f_s(x) B(x) = -\,y\, f_s(x). \tag{3b}(1−k)(1−Fs​(x))B′(x)−fs​(x)B(x)=−yfs​(x).(3b)

The paper writes x=B−1(S(y))x = B^{-1}(S(y))x=B−1(S(y)) in (3a) and y=S−1(B(x))y = S^{-1}(B(x))y=S−1(B(x)) in (3b).

Milestones: the displays of the proof

  1. Gb(S(y))=Fb(y)G_b(S(y)) = F_b(y)Gb​(S(y))=Fb​(y): the buyer's probability that the seller asks at most S(y)S(y)S(y) equals Fb(y)F_b(y)Fb​(y).
  2. The buyer's first-order condition: ∂πb/∂b=(v−b)gb(b)−kGb(b)\partial \pi_b / \partial b = (v - b) g_b(b) - k G_b(b)∂πb​/∂b=(v−b)gb​(b)−kGb​(b) at b=S(y)b = S(y)b=S(y), with offer density gb(S(y))=fb(y)/S′(y)g_b(S(y)) = f_b(y)/S'(y)gb​(S(y))=fb​(y)/S′(y), and it vanishes at an equilibrium offer.
  3. The seller's first-order condition: ∂πs/∂s=(v−s)gs(s)+(1−k)(1−Gs(s))\partial \pi_s / \partial s = (v - s) g_s(s) + (1-k)(1 - G_s(s))∂πs​/∂s=(v−s)gs​(s)+(1−k)(1−Gs​(s)) at s=B(x)s = B(x)s=B(x), and it vanishes at an equilibrium ask.

The milestones assume S′(y)>0S'(y) > 0S′(y)>0 (respectively B′(x)>0B'(x) > 0B′(x)>0), which the paper's formula for the offer density needs. The goal does not assume it.

Significance

Theorem 2 reduces the search for equilibria to the analysis of a pair of ordinary differential equations. Every explicit equilibrium in the paper and in the later kkk-double-auction literature is found as a solution of (3a)–(3b) with suitable boundary conditions: the linear equilibrium for uniform beliefs (the paper's Example 1), the one-parameter families of Satterthwaite–Williams, and the non-linear equilibria of Leininger–Linhart–Radner. The equations also expose how the split parameter kkk distributes bargaining power: at k=1k = 1k=1 equation (3b) forces the seller to ask their own value, and at k=0k = 0k=0 equation (3a) forces the buyer to bid theirs.

The result is proved in the paper. To the best of a search of the platform, no formalization of it or of the bargaining model exists. This mission produces a machine-checked version of the necessary conditions. Its definitions of beliefs, expected profits, equilibrium and class AAA are also the basis for companion missions on the uniform linear equilibrium and its trade probability.

Difficulty

The paper's proof is four lines: differentiate the expected profit, set the derivative to zero, substitute. Three steps of that argument do not survive a careful reading.

First, the paper differentiates under an offer density gbg_bgb​ that exists only if SSS is strictly increasing and has a positive derivative. Class AAA allows SSS to be flat at its bounds, to jump between them, and to have zero derivative. The formal goal assumes none of this. It must handle the case S′(y)=0S'(y) = 0S′(y)=0, where the offer distribution has an infinite density at S(y)S(y)S(y) and the first-order condition becomes a one-sided argument.

Second, identifying Gb(S(y))G_b(S(y))Gb​(S(y)) with Fb(y)F_b(y)Fb​(y) requires that no seller value outside a neighbourhood of yyy makes the same offer. That is a global statement about SSS, and it is where monotonicity on the whole interval and the "flat only at the bounds" clause of class AAA enter.

Third, the first-order condition needs the equilibrium offer S(y)S(y)S(y) to be an interior maximiser of a function of bbb that is differentiable there. The profit πb\pi_bπb​ is an integral over the belief, and its differentiability at S(y)S(y)S(y) must be derived from the differentiability of SSS at the single point yyy and of FbF_bFb​. Neither SSS nor πb\pi_bπb​ is assumed continuous elsewhere.

Formalization scope

Values, offers and kkk are real numbers. Beliefs are probability measures on R\mathbb RR, with distribution function Mathlib's ProbabilityTheory.cdf. Expected profits are Bochner integrals over the opponent's value, not over an offer density. The two agree whenever the density exists, and the integral form needs none. Integrability is not assumed: for a class AAA strategy and a regular belief supported on the value interval, the integrand is bounded and almost everywhere measurable. Ties (b=sb = sb=s) trade. Deviations range over all real offers. Strategies are arbitrary functions R→R\mathbb R \to \mathbb RR→R whose values outside the value interval play no role.

The derivative S′(y)S'(y)S′(y) is deriv S y. The paper's inverses B−1B^{-1}B−1 and S−1S^{-1}S−1 are not introduced as functions. The matching value is a universally quantified variable xxx with B(x)=S(y)B(x) = S(y)B(x)=S(y), so no junk value of an inverse can make an equation true or false. The equations are asserted only at values yyy interior to an open subinterval on which SSS is strictly increasing. A formalization that assumed the first-order condition, or restricted to strategies with S′>0S' > 0S′>0 everywhere, would be a different and weaker theorem.

A complete development needs: differentiation of parametric integrals of indicator type (the derivative of b↦∫1{S≤b} h dμb \mapsto \int \mathbf 1\{S \le b\}\,h\,d\mub↦∫1{S≤b}hdμ), the change of variables from values to offers under a strictly increasing strategy, and Fermat's rule (IsLocalMax.hasDerivAt_eq_zero). The first two are reusable for auctions and other Bayesian games with monotone strategies. Proofs of the milestones, alternative proofs of the goal, and general lemmas about monotone strategies are welcome.

Selected references

  • K. Chatterjee and W. Samuelson, Bargaining under Incomplete Information, Operations Research 31(5):835–851, 1983. https://doi.org/10.1287/opre.31.5.835
  • R. B. Myerson and M. A. Satterthwaite, Efficient Mechanisms for Bilateral Trading, Journal of Economic Theory 29(2):265–281, 1983. https://doi.org/10.1016/0022-0531(83)90048-0
  • M. A. Satterthwaite and S. R. Williams, Bilateral Trade with the Sealed Bid k-Double Auction: Existence and Efficiency, Journal of Economic Theory 48(1):107–133, 1989. https://doi.org/10.1016/0022-0531(89)90120-8
  • W. Leininger, P. B. Linhart and R. Radner, Equilibria of the Sealed-Bid Mechanism for Bargaining with Incomplete Information, Journal of Economic Theory 48(1):63–106, 1989. https://doi.org/10.1016/0022-0531(89)90121-X
9 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

An Analog of the Minimax Theorem for Vector Payoffs: A Closed Convex Set Is Approachable If and Only If It Meets Every T(q), and Is Otherwise ExcludableResearch Paper

Motivation

Von Neumann's minimax theorem says that in a zero-sum game with real payoffs, Player I can guarantee an expected gain of at least the value vvv and Player II can hold it to at most vvv. In a long series of plays, the law of large numbers turns this into a statement about the average payoff: I can make it exceed v−εv-\varepsilonv−ε, II can keep it below v+εv+\varepsilonv+ε, with probability approaching one.

Blackwell's 1956 paper asks the same question when the payoff of each play is a vector in RN\mathbb R^NRN rather than a number. A single player then cannot optimize "the" payoff, and the natural question becomes geometric: can a player force the running average of the payoff vectors to converge to a prescribed set SSS, whatever the opponent does? The resulting notion, approachability, became a basic tool in repeated games with incomplete information (Aumann–Maschler), in the theory of calibration and regret minimization (Foster–Vohra; Hart–Mas-Colell), and in online learning, where no-regret algorithms and Blackwell approachability are known to be equivalent (Abernethy–Bartlett–Hazan 2011).

Timeline.

  • 1928: von Neumann's minimax theorem for matrix games.
  • 1954: Blackwell's maximal inequality for sums with negative conditional drift (On optimal systems, Ann. Math. Statist.), quoted in this paper as THEOREM 2.
  • 1956: this paper. A sufficient condition for approachability (THEOREM 1), a complete characterization for closed convex sets (THEOREM 3) and for N=1N=1N=1, an example of a set that is neither approachable nor excludable, and a conjecture on weak approachability.
  • 1992: Vieille proved Blackwell's conjecture that every set is weakly approachable or weakly excludable.

Setting

Fix integers N≥0N\ge0N≥0 and r,s≥1r,s\ge1r,s≥1, and a closed, bounded, convex set X⊆RNX\subseteq\mathbb R^NX⊆RN. The game is an r×sr\times sr×s matrix M=∥m(i,j)∥M=\|m(i,j)\|M=∥m(i,j)∥ whose entries are probability distributions concentrated on XXX. Write mˉ(i,j)\bar m(i,j)mˉ(i,j) for the mean of m(i,j)m(i,j)m(i,j), PPP for the simplex of mixed actions p=(p1,…,pr)p=(p_1,\dots,p_r)p=(p1​,…,pr​) of Player I, and QQQ for that of Player II.

A strategy f={fn}n≥0f=\{f_n\}_{n\ge0}f={fn​}n≥0​ of I is a sequence of measurable maps from the nnn-tuples (x1,…,xn)(x_1,\dots,x_n)(x1​,…,xn​) of past outcomes to PPP; f0f_0f0​ is a point of PPP. Strategies g={gn}g=\{g_n\}g={gn​} of II take values in QQQ. A play of (f,g)(f,g)(f,g) is a sequence of random vectors x1,x2,…x_1,x_2,\dotsx1​,x2​,… such that, given x1,…,xnx_1,\dots,x_nx1​,…,xn​, the players draw iii and jjj independently from fn(x1,…,xn)f_n(x_1,\dots,x_n)fn​(x1​,…,xn​) and gn(x1,…,xn)g_n(x_1,\dots,x_n)gn​(x1​,…,xn​), and xn+1x_{n+1}xn+1​ is drawn from m(i,j)m(i,j)m(i,j). The average payoff is xˉn=1n∑i=1nxi\bar x_n=\frac1n\sum_{i=1}^n x_ixˉn​=n1​∑i=1n​xi​, and δn\delta_nδn​ is its distance from SSS.

A set S⊆RNS\subseteq\mathbb R^NS⊆RN is approachable with f∗f^*f∗ if for every ε>0\varepsilon>0ε>0 there is N0N_0N0​ such that for every strategy ggg of II,

Prob{δn≥ε for some n≥N0}<ε.\mathrm{Prob}\{\delta_n\ge\varepsilon\text{ for some }n\ge N_0\}<\varepsilon .Prob{δn​≥ε for some n≥N0​}<ε.

It is excludable with g∗g^*g∗ if there is d>0d>0d>0 such that for every ε>0\varepsilon>0ε>0 there is N0N_0N0​ such that for every strategy fff of I,

Prob{δn≥d for all n≥N0}>1−ε.\mathrm{Prob}\{\delta_n\ge d\text{ for all }n\ge N_0\}>1-\varepsilon .Prob{δn​≥d for all n≥N0​}>1−ε.

SSS is approachable (excludable) if some strategy approaches (excludes) it. Finally, for p∈Pp\in Pp∈P and q∈Qq\in Qq∈Q,

R(p)=conv⁡{∑ipimˉ(i,j)}j=1s,T(q)=conv⁡{∑jqjmˉ(i,j)}i=1r:R(p)=\operatorname{conv}\Big\{\textstyle\sum_i p_i\bar m(i,j)\Big\}_{j=1}^{s},\qquad T(q)=\operatorname{conv}\Big\{\textstyle\sum_j q_j\bar m(i,j)\Big\}_{i=1}^{r}:R(p)=conv{∑i​pi​mˉ(i,j)}j=1s​,T(q)=conv{∑j​qj​mˉ(i,j)}i=1r​:

R(p)R(p)R(p) is the set of expected payoffs I can guarantee to stay in by playing ppp, and T(q)T(q)T(q) the set II can confine them to by playing qqq.

Formalization targets

Goal: THEOREM 3

For a closed convex set S⊆RNS\subseteq\mathbb R^NS⊆RN,

S is approachable  ⟺  S∩T(q)≠∅  for every q∈Q,S\text{ is approachable}\iff S\cap T(q)\neq\emptyset\ \text{ for every }q\in Q,S is approachable⟺S∩T(q)=∅  for every q∈Q,

and if S∩T(q0)=∅S\cap T(q_0)=\emptysetS∩T(q0​)=∅ then SSS is excludable with the stationary strategy gn≡q0g_n\equiv q_0gn​≡q0​. In particular every closed convex set is either approachable or excludable. Both sentences are part of the goal.

Milestones, in the paper's order

  1. THEOREM 2: for ∣zk∣≤1|z_k|\le1∣zk​∣≤1 with E(zk∣z1,…,zk−1)≤−u E(∣zk∣∣z1,…,zk−1)E(z_k\mid z_1,\dots,z_{k-1})\le-u\,E(|z_k|\mid z_1,\dots,z_{k-1})E(zk​∣z1​,…,zk−1​)≤−uE(∣zk​∣∣z1​,…,zk−1​) and 0<u<10<u<10<u<1,
Prob{z1+⋯+zk≥t for some k}≤(1−u1+u)t.\mathrm{Prob}\{z_1+\dots+z_k\ge t\text{ for some }k\}\le\Big(\tfrac{1-u}{1+u}\Big)^t .Prob{z1​+⋯+zk​≥t for some k}≤(1+u1−u​)t.
  1. The LEMMA: a sequence satisfying the almost-supermartingale conditions (5), (6), (7) converges to 000 at a rate depending only on the constants a,b,ca,b,ca,b,c.
  2. In the proof of THEOREM 1, the squared distances δn2\delta_n^2δn2​ satisfy (5)–(7) uniformly in II's strategy.
  3. THEOREM 1: if every x∉Sx\notin Sx∈/S admits p(x)∈Pp(x)\in Pp(x)∈P such that the hyperplane through a closest point y∈Sy\in Sy∈S, perpendicular to xyxyxy, separates xxx from R(p(x))R(p(x))R(p(x)), then SSS is approachable with any strategy playing p(xˉn)p(\bar x_n)p(xˉn​) when xˉn∉S\bar x_n\notin Sxˉn​∈/S.
  4. No set is both approachable and excludable.
  5. If a closed SSS is approachable in the transpose M′M'M′ with fff, then every closed TTT disjoint from SSS is excludable in MMM with fff.
  6. A closed convex SSS meeting every T(q)T(q)T(q) satisfies THEOREM 1's hypothesis.
  7. Every T(q0)T(q_0)T(q0​) is approachable in M′M'M′ with fn≡q0f_n\equiv q_0fn​≡q0​.

Significance

The result. THEOREM 3 is the vector analogue of the minimax theorem. For a closed convex target it reduces an infinite-horizon stochastic question, about every strategy of the opponent over all histories, to a finite family of one-shot conditions on the mean matrix Mˉ\bar MMˉ, and it shows that the game is determined for convex targets: one of the two players always wins. Its sufficient condition, THEOREM 1, is the origin of the "Blackwell strategy", which steers the average toward the target by playing, at each step, a mixed action that pushes the expected next payoff across the supporting hyperplane. Regret-matching, calibration algorithms and the reductions between online linear optimization and approachability are instances of this construction.

Formalizing it. The result is proved in the paper; to the best of available knowledge no machine-checked proof of it exists. This mission produces one: the stochastic model of a repeated game with vector payoffs, the probabilistic estimates (THEOREM 2 and the LEMMA) with the uniform rate the paper claims, and the minimax reduction for convex sets. A related platform mission, Introduction to Online Convex Optimization XIII, states a deterministic, sufficiency-only textbook variant for bounded sets; the present mission covers the stochastic model, unbounded convex targets, and the excludability half.

Difficulty

The obvious argument shows that the expected squared distance Eδn2E\delta_n^2Eδn2​ decreases like 1/n1/n1/n. That is not approachability: the definition asks for the probability that the average is ever again ε\varepsilonε-far after time N0N_0N0​, uniformly over the opponent's strategies. Controlling the whole tail of the path, with a threshold N0N_0N0​ that does not depend on the opponent, is the step that fails for a naive expectation bound and is why the paper needs a maximal inequality for sums with negative conditional drift. On the geometric side, the "only if" direction is not automatic: it requires that approachability and excludability be incompatible, which in turn requires that a play of every pair of strategies exists.

Formalization scope

Points live in EuclideanSpace ℝ (Fin N); pure actions are Fin r and Fin s; mixed actions are elements of stdSimplex. The game is a structure carrying XXX (closed, bounded, convex) and the distributions m(i,j)m(i,j)m(i,j) (probability measures with m(i,j)(Xc)=0m(i,j)(X^{c})=0m(i,j)(Xc)=0). A play is described by the conditional law of the next outcome given the past, and approachability and excludability quantify over every probability space in Type carrying such a play. Distances are extended (Metric.infEDist), equal to +∞+\infty+∞ to the empty set.

Conventions and disclosed additions:

  • r,s≥1r,s\ge1r,s≥1 where a statement needs both players to have strategies;
  • strategies are measurable in the history;
  • outcomes are indexed from 111; (5) and (7) start at n=2n=2n=2, (6) at n=1n=1n=1;
  • "the closest point" in THEOREM 1 is some closest point, and "separates" is weak separation;
  • THEOREM 2 is stated with E(∣zk∣∣⋅)E(|z_k|\mid\cdot)E(∣zk​∣∣⋅) in place of the printed "max" (the weaker hypothesis, as in the cited source), and with u<1u<1u<1 so that ((1−u)/(1+u))t((1-u)/(1+u))^t((1−u)/(1+u))t is a real power.

SSS is not assumed bounded or nonempty. With the real-valued distance, the empty set would be approachable with every strategy and THEOREM 3 would be false; the extended distance rules this out. Stating only the sufficiency direction, fixing the approaching strategy in the hypotheses, or assuming a play exists would each trivialize the goal, and none is done.

A complete development needs: conditional laws of the next outcome from a strategy pair (Ionescu–Tulcea, Kernel.traj in Mathlib), a nonnegative-supermartingale maximal inequality, the metric projection onto closed convex sets, and the minimax theorem (Mathlib's Sion theorem). The maximal inequality of THEOREM 2 and the LEMMA are reusable beyond this mission. Contributions to any milestone, and to a construction of plays, are welcome.

Selected references

  • D. Blackwell, An analog of the minimax theorem for vector payoffs, Pacific J. Math. 6(1):1–8, 1956. https://doi.org/10.2140/pjm.1956.6.1
  • D. Blackwell, On optimal systems, Ann. Math. Statist. 25(2):394–397, 1954. https://doi.org/10.1214/aoms/1177728796
  • N. Vieille, Weak approachability, Math. Oper. Res. 17(4):781–791, 1992. https://doi.org/10.1287/moor.17.4.781
  • J. Abernethy, P. Bartlett, E. Hazan, Blackwell approachability and no-regret learning are equivalent, COLT 2011. https://arxiv.org/abs/1011.1936
  • S. Hart, A. Mas-Colell, A simple adaptive procedure leading to correlated equilibrium, Econometrica 68(5):1127–1150, 2000. https://doi.org/10.1111/1468-0262.00153
12 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

On Minimizing a Convex Function Subject to Linear Inequalities III: The Expected Cost of a Linear Program with Random Coefficients Is ConvexResearch Paper

Motivation

A linear program is solved with known data, but in planning problems the data are often only known in distribution when the main decision is taken: demands, yields and requirements are revealed later, and a corrective action is taken after they are. E. M. L. Beale's 1955 paper On Minimizing a Convex Function Subject to Linear Inequalities formulates this situation in its §5, "Linear Programming with Random Coefficients", as what is now called a two-stage stochastic linear program with recourse. Beale's motivating example is the transportation problem of Hitchcock (1941) with random requirements at the destinations, where every unit of shortage or excess incurs a loss. The same model was put forward in the same year by Dantzig, Linear Programming under Uncertainty (Management Science, 1955), as the paper's note added in proof acknowledges.

Timeline:

  • 1955. Beale (§5, Theorems 2 and 3) and Dantzig independently introduce two-stage linear programs with random data; Beale proves that the expected cost is convex in the first-stage decision, and that the cost is convex in the random data for fixed decision.
  • 1967. Walkup and Wets, Stochastic Programs with Recourse, study the domain of the expected recourse function and its properties under fixed recourse.
  • 1974. Wets, Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program, gives the systematic treatment of convexity, finiteness and polyhedrality of the expected recourse function, now textbook material (Birge and Louveaux, Introduction to Stochastic Programming, Ch. 3).

Setting

Constants c∈Rnc\in\mathbb R^nc∈Rn, f∈Rpf\in\mathbb R^pf∈Rp and an m×pm\times pm×p matrix D=(dik)D=(d_{ik})D=(dik​) are given. The data A=(αij)A=(\alpha_{ij})A=(αij​), an m×nm\times nm×n matrix, and β∈Rm\beta\in\mathbb R^mβ∈Rm are random variables on a probability space (Ω,P)(\Omega,P)(Ω,P): their distribution is known when the first-stage decision x∈Rnx\in\mathbb R^nx∈Rn, x≥0x\ge0x≥0, is chosen, and their values are known when the second-stage decision y∈Rpy\in\mathbb R^py∈Rp, y≥0y\ge0y≥0, is chosen. The cost is

C=c′x+f′y,Ax+Dy=β.(5.3),(5.4)C=c'x+f'y,\qquad Ax+Dy=\beta. \qquad(5.3),(5.4)C=c′x+f′y,Ax+Dy=β.(5.3),(5.4)

For a right-hand side b∈Rmb\in\mathbb R^mb∈Rm the second-stage value is

Q(b)=min⁡{f′y:y≥0, Dy=b},Q(b)=\min\{f'y : y\ge0,\ Dy=b\},Q(b)=min{f′y:y≥0, Dy=b},

and for fixed data the cost of a first-stage decision is C(x)=c′x+Q(β−Ax)C(x)=c'x+Q(\beta-Ax)C(x)=c′x+Q(β−Ax). The expected cost is

E(C)(x)=∫Ω(c′x+Q(β(ω)−A(ω)x)) dP(ω).E(C)(x)=\int_\Omega \bigl(c'x+Q(\beta(\omega)-A(\omega)x)\bigr)\,dP(\omega).E(C)(x)=∫Ω​(c′x+Q(β(ω)−A(ω)x))dP(ω).

The problem is to choose x≥0x\ge0x≥0 minimising E(C)E(C)E(C). In Lean the value is secondStageValue D f b, the cost is cost c f D A β x, and the expected cost is expectedCost P c f D A β x, all in the namespace BealeConvexMin.RandomLP.

Formalization targets

Goal: Theorem 2 (p. 182)

Assume that for every x≥0x\ge0x≥0 the second-stage minimum is attained for almost every outcome and that ω↦C(x,ω)\omega\mapsto C(x,\omega)ω↦C(x,ω) is integrable. Then

E(C)(λ1x1+λ2x2)≤λ1E(C)(x1)+λ2E(C)(x2)(x1,x2≥0, λ1,λ2≥0, λ1+λ2=1),E(C)(\lambda_1x_1+\lambda_2x_2)\le\lambda_1E(C)(x_1)+\lambda_2E(C)(x_2)\qquad(x_1,x_2\ge0,\ \lambda_1,\lambda_2\ge0,\ \lambda_1+\lambda_2=1),E(C)(λ1​x1​+λ2​x2​)≤λ1​E(C)(x1​)+λ2​E(C)(x2​)(x1​,x2​≥0, λ1​,λ2​≥0, λ1​+λ2​=1),

that is, E(C)E(C)E(C) is convex on the non-negative orthant. The statement fixes no distribution class: it is claimed for any known distribution of (A,β)(A,\beta)(A,β).

Milestones

  1. Pointwise convexity (last display of the proof of Theorem 2, p. 182): for fixed data (A,β)(A,\beta)(A,β), with the minimum attained at every x≥0x\ge0x≥0,
C(λ1x1+λ2x2)≤λ1C(x1)+λ2C(x2).C(\lambda_1x_1+\lambda_2x_2)\le\lambda_1C(x_1)+\lambda_2C(x_2).C(λ1​x1​+λ2​x2​)≤λ1​C(x1​)+λ2​C(x2​).
  1. Theorem 3 (p. 182): for fixed xxx, the cost (A,β)↦c′x+Q(β−Ax)(A,\beta)\mapsto c'x+Q(\beta-Ax)(A,β)↦c′x+Q(β−Ax) is jointly convex on every convex set of data on which the second-stage minimum is attained.
  2. Eqs. (5.5)–(5.6) (p. 182): for a finitely supported distribution, A=ArA=A_rA=Ar​ and β=βr\beta=\beta_rβ=βr​ with probability prp_rpr​, the value E(C)(x)E(C)(x)E(C)(x) is the minimum of c′x+∑rprf′yrc'x+\sum_r p_r f'y_rc′x+∑r​pr​f′yr​ over non-negative yry_ryr​ with Arx+Dyr=βrA_rx+Dy_r=\beta_rAr​x+Dyr​=βr​ for all rrr; minimising E(C)E(C)E(C) is then a linear program.

Significance

The result. Theorem 2 is the basic structural fact of two-stage stochastic linear programming: the first-stage problem is a convex program in xxx, whatever the distribution of the data. It is what makes local optimality global for the first-stage problem, what justifies cutting-plane and decomposition methods that approximate E(C)E(C)E(C) from below by supporting hyperplanes, and what makes sample-average approximations convex programs. Theorem 3, joint convexity in the data, gives through Jensen's inequality the comparison between the stochastic problem and its mean-value problem that Beale draws on p. 182. The discrete reformulation (5.5)–(5.6) is the deterministic-equivalent linear program used for finitely many scenarios.

Formalizing it. The theorems are proved in the paper, and their content is classical. The mission produces machine-checked statements of the model with its implicit hypotheses made explicit (attainment of the second stage, integrability of the cost), and proofs of the three results in Lean. The platform already has related statements in other models (finite scenario sets with extended-real recourse, and a complete-recourse, finite-second-moment version); none has Beale's hypotheses, and none states convexity of c′x+E Qc'x+E\,Qc′x+EQ for an arbitrary distribution.

Difficulty

The mathematics is short; the difficulty is in the encoding. The second-stage value is a minimum that may fail to exist: the second stage may be infeasible for some xxx and some outcomes, or unbounded below. A real-valued infimum then takes an arbitrary default value, and convexity would become a statement about that default. Similarly, the mean value only exists when the cost is integrable. A faithful statement has to carry attainment and integrability exactly where the paper tacitly assumes them, on the domain x≥0x\ge0x≥0 the paper uses, and no stronger condition (such as complete recourse or moment bounds) that the paper does not make. In the discrete reformulation, the minimum over the whole family (yr)r(y_r)_r(yr​)r​ has to be matched with the probability-weighted sum of per-scenario minima.

Formalization scope

  • Vectors are Fin n → ℝ, matrices Matrix (Fin m) (Fin n) ℝ, inner products dotProduct, and y≥0y\ge0y≥0 is the componentwise order. The random data are functions A : Ω → Matrix (Fin m) (Fin n) ℝ and β : Ω → Fin m → ℝ on a measurable space with a probability measure P; no measurability of the data is assumed beyond integrability of the cost.
  • The second-stage value is the real infimum of f′yf'yf′y over the feasible set. It equals 000 on an infeasible or unbounded-below second stage, so each theorem assumes attainment of the minimum where it is evaluated (the paper's "value of yyy that minimizes CCC"). The goal assumes attainment for almost every outcome at every x≥0x\ge0x≥0.
  • E(C)E(C)E(C) is the Bochner integral, which is 000 for a non-integrable integrand, so the goal assumes integrability of C(x,⋅)C(x,\cdot)C(x,⋅) at every x≥0x\ge0x≥0 (the paper's "mean value E(C)E(C)E(C)").
  • Convexity is claimed on {x:x≥0}\{x : x\ge0\}{x:x≥0}, the paper's domain, not on all of Rn\mathbb R^nRn. Theorem 3 is stated for fixed non-negative xxx (the model's first-stage domain) and on every convex set of data on which the minimum is attained, since the paper names no domain.
  • A formalization in which the value is an unconstrained infimum without attainment, or the expectation is taken without integrability, is trivially convex on the region where the default values apply and does not state Beale's theorem; such variants are ruled out.
  • Reusable beyond this mission: basic facts on the optimal value of a parametric linear program in its right-hand side and cost data, and convexity of integrals of pointwise-convex integrands. Proofs of the milestones and of the goal, and alternative formulations in extended reals, are welcome.

Selected references

  • E. M. L. Beale, On Minimizing a Convex Function Subject to Linear Inequalities, Journal of the Royal Statistical Society, Series B 17(2):173–184, 1955. https://doi.org/10.1111/j.2517-6161.1955.tb00191.x
  • G. B. Dantzig, Linear Programming under Uncertainty, Management Science 1(3–4):197–206, 1955. https://doi.org/10.1287/mnsc.1.3-4.197
  • F. L. Hitchcock, The Distribution of a Product from Several Sources to Numerous Localities, Journal of Mathematics and Physics 20:224–230, 1941. https://doi.org/10.1002/sapm1941201224
  • D. W. Walkup and R. J.-B. Wets, Stochastic Programs with Recourse, SIAM Journal on Applied Mathematics 15(5):1299–1314, 1967. https://doi.org/10.1137/0115113
  • R. J.-B. Wets, Stochastic Programs with Fixed Recourse: The Equivalent Deterministic Program, SIAM Review 16(3):309–339, 1974. https://doi.org/10.1137/1016053
  • J. R. Birge and F. Louveaux, Introduction to Stochastic Programming, 2nd ed., Springer, 2011. https://doi.org/10.1007/978-1-4614-0237-4
6 thms3 active usersReviewed
🏆Completed
Linear algebraNumerical AnalysisRandom Matrix Theory·Captain: mikedeng1

Randomized Algorithms for Estimating the Trace of an Implicit Symmetric Positive Semi-Definite Matrix I: Sample Bound for the Gaussian Trace EstimatorResearch Paper

Motivation

Many computations in scientific computing, statistics and machine learning need the trace of a matrix AAA that is never formed explicitly: AAA may be f(B)f(B)f(B) for a large sparse BBB, an inverse B−1B^{-1}B−1, or a product of operators, and the only access to it is the ability to compute products AzAzAz for chosen vectors zzz. Examples are log-determinant estimation in Gaussian process regression, counting triangles in graphs through trace(B3)\mathrm{trace}(B^3)trace(B3), computing charge densities in electronic structure calculations, and generalized cross-validation in regularized regression. For such matrices the nnn diagonal entries are not available, and computing them one at a time costs nnn matrix–vector products.

Randomized trace estimators replace this by a small number MMM of products: draw random vectors z1,…,zMz_1,\ldots,z_Mz1​,…,zM​ from a fixed distribution with E(ziTAzi)=trace(A)\mathrm{E}(z_i^T A z_i) = \mathrm{trace}(A)E(ziT​Azi​)=trace(A) and average the quadratic forms. Hutchinson (1989) introduced the estimator with Rademacher vectors and computed its variance; Silver and Röder (1997) used Gaussian vectors. Before Avron and Toledo (2011), the analyses of these estimators were variance computations, which do not say how many samples guarantee a given relative accuracy with a given probability. Avron and Toledo gave the first such sample bounds for several estimators, stated in terms of an (ϵ,δ)(\epsilon,\delta)(ϵ,δ) guarantee; this mission formalizes their bound for the Gaussian estimator. Later work (Roosta-Khorasani and Ascher 2015; Cortinovis and Kressner 2022) sharpened these bounds and extended them to indefinite matrices.

Setting

Let A∈Rn×nA \in \mathbb{R}^{n\times n}A∈Rn×n be symmetric positive semi-definite, and write τ=trace(A)\tau = \mathrm{trace}(A)τ=trace(A). Fix a number of samples M≥1M \ge 1M≥1. Let z1,…,zM∈Rnz_1, \ldots, z_M \in \mathbb{R}^nz1​,…,zM​∈Rn be random vectors whose MnMnMn entries are independent standard normal random variables. The Gaussian trace estimator (Definition 3.1) is

GM=1M∑i=1MziTAzi.G_M = \frac{1}{M}\sum_{i=1}^{M} z_i^T A z_i .GM​=M1​i=1∑M​ziT​Azi​.

Each term ziTAziz_i^TAz_iziT​Azi​ has expectation trace(A)\mathrm{trace}(A)trace(A), so GMG_MGM​ is unbiased. A randomized trace estimator TTT is an (ϵ,δ)(\epsilon,\delta)(ϵ,δ)-approximator of trace(A)\mathrm{trace}(A)trace(A) (Definition 4.1) if

Pr⁡(∣T−trace(A)∣≤ϵ trace(A))≥1−δ,\Pr\bigl(|T - \mathrm{trace}(A)| \le \epsilon\,\mathrm{trace}(A)\bigr) \ge 1-\delta ,Pr(∣T−trace(A)∣≤ϵtrace(A))≥1−δ,

that is, if its relative error is at most ϵ\epsilonϵ except on an event of probability at most δ\deltaδ.

The analysis uses the eigenvalues λ1,…,λn≥0\lambda_1,\ldots,\lambda_n \ge 0λ1​,…,λn​≥0 of AAA, listed with multiplicity, and the polynomial h(t)=∑s=2n(−2)sts∑∣S∣=s∏i∈Sλih(t) = \sum_{s=2}^{n}(-2)^s t^s \sum_{|S| = s}\prod_{i\in S}\lambda_ih(t)=∑s=2n​(−2)sts∑∣S∣=s​∏i∈S​λi​, where SSS ranges over subsets of {1,…,n}\{1,\ldots,n\}{1,…,n}; it satisfies ∏i(1−2λit)=1−2τt+h(t)\prod_i(1-2\lambda_i t) = 1 - 2\tau t + h(t)∏i​(1−2λi​t)=1−2τt+h(t).

Formalization targets

Goal: Theorem 5.2 (corrected)

For every symmetric positive semi-definite AAA, every 0<ϵ≤1/100 < \epsilon \le 1/100<ϵ≤1/10, every 0<δ<10<\delta<10<δ<1 and every natural number MMM with

M≥20 ϵ−2ln⁡(2/δ),M \ge 20\,\epsilon^{-2}\ln(2/\delta),M≥20ϵ−2ln(2/δ),

the estimator GMG_MGM​ is an (ϵ,δ)(\epsilon,\delta)(ϵ,δ)-approximator of trace(A)\mathrm{trace}(A)trace(A). The sample count depends on neither nnn nor AAA.

Milestones

  1. Lemma 5.1. For symmetric AAA, E(G1)=trace(A)\mathrm{E}(G_1) = \mathrm{trace}(A)E(G1​)=trace(A) and Var(G1)=2∥A∥F2\mathrm{Var}(G_1) = 2\|A\|_F^2Var(G1​)=2∥A∥F2​.
  2. Eq. (1). For symmetric AAA and every ttt with 2λit<12\lambda_i t < 12λi​t<1 for all iii, the moment generating function of Z=MGMZ = MG_MZ=MGM​ is
mZ(t)=∏i=1n(1−2λit)−M/2=(1−2τt+h(t))−M/2.m_Z(t) = \prod_{i=1}^{n}(1-2\lambda_i t)^{-M/2} = (1 - 2\tau t + h(t))^{-M/2}.mZ​(t)=i=1∏n​(1−2λi​t)−M/2=(1−2τt+h(t))−M/2.
  1. Elementary symmetric sums (p. 8:8). For non-negative x1,…,xnx_1,\ldots,x_nx1​,…,xn​ and 1≤i≤n1\le i\le n1≤i≤n, ∑∣S∣=i∏j∈Sxj≤(∑jxj)i\sum_{|S|=i}\prod_{j\in S}x_j \le (\sum_j x_j)^i∑∣S∣=i​∏j∈S​xj​≤(∑j​xj​)i; hence ∣h(t)∣≤∑j=2n(2τt)j|h(t)| \le \sum_{j=2}^{n}(2\tau t)^j∣h(t)∣≤∑j=2n​(2τt)j for t≥0t\ge0t≥0 when all λi≥0\lambda_i\ge0λi​≥0.
  2. Upper tail (pp. 8:8–8:9). If τ>0\tau > 0τ>0, M≥1M\ge1M≥1 and 0<ϵ≤0.10<\epsilon\le 0.10<ϵ≤0.1, then
Pr⁡(GM≥τ(1+ϵ))≤exp⁡(−Mϵ2/20).\Pr\bigl(G_M \ge \tau(1+\epsilon)\bigr) \le \exp(-M\epsilon^2/20).Pr(GM​≥τ(1+ϵ))≤exp(−Mϵ2/20).
  1. Both tails (p. 8:9). If τ>0\tau>0τ>0, 0<ϵ≤0.10<\epsilon\le0.10<ϵ≤0.1 and M≥20ϵ−2ln⁡(2/δ)M \ge 20\epsilon^{-2}\ln(2/\delta)M≥20ϵ−2ln(2/δ), then Pr⁡(GM≥τ(1+ϵ))≤δ/2\Pr(G_M \ge \tau(1+\epsilon)) \le \delta/2Pr(GM​≥τ(1+ϵ))≤δ/2 and Pr⁡(GM≤τ(1−ϵ))≤δ/2\Pr(G_M \le \tau(1-\epsilon)) \le \delta/2Pr(GM​≤τ(1−ϵ))≤δ/2.

Significance

The theorem gives a number of matrix–vector products, O(ϵ−2ln⁡(1/δ))O(\epsilon^{-2}\ln(1/\delta))O(ϵ−2ln(1/δ)), that suffices for a relative-error guarantee on the trace of any positive semi-definite matrix, independent of its dimension and spectrum. It is the reference row of the paper's Table I, against which the Hutchinson, normalized Rayleigh-quotient and unit-vector estimators are compared, and it is the form in which trace estimation enters the analysis of randomized algorithms for log-determinants, spectral densities and matrix functions.

The result is proved in the paper; to our knowledge it has not been formalized in any proof assistant. The mission produces a machine-checked version with the constant 202020 and the range of ϵ\epsilonϵ made explicit, and with the misprints of the printed argument resolved (see Formalization scope). It also produces reusable pieces: the moment generating function of a Gaussian quadratic form, and the bound on elementary symmetric sums by powers of the power sum. Sharper constants, the removal of the restriction ϵ≤0.1\epsilon\le 0.1ϵ≤0.1, or a direct formalization of the lower tail through a χ2\chi^2χ2 tail bound are welcome as further theorems.

Difficulty

Unbiasedness and the variance formula do not give the result: Chebyshev's inequality with Var(GM)=2∥A∥F2/M≤2τ2/M\mathrm{Var}(G_M) = 2\|A\|_F^2/M \le 2\tau^2/MVar(GM​)=2∥A∥F2​/M≤2τ2/M yields M≥2ϵ−2δ−1M \ge 2\epsilon^{-2}\delta^{-1}M≥2ϵ−2δ−1, with a polynomial rather than logarithmic dependence on 1/δ1/\delta1/δ. A logarithmic bound needs exponential moments of GMG_MGM​, and the exponential moment of zTAzz^TAzzTAz is finite only for ttt below 1/(2λmax⁡)1/(2\lambda_{\max})1/(2λmax​); the argument has to choose ttt inside that range uniformly in the spectrum, using only λmax⁡≤τ\lambda_{\max}\le\tauλmax​≤τ. The second obstacle is distributional: zTAzz^TAzzTAz is not a sum of independent terms in the coordinates of zzz, and reducing it to a weighted sum of independent χ2\chi^2χ2 variables requires the rotation invariance of the standard Gaussian vector. The paper proves only the upper tail with an explicit constant and states that the lower tail follows "using the same technique"; that step has to be supplied.

Formalization scope

Matrices are Matrix (Fin n) (Fin n) ℝ; "symmetric positive semi-definite" is A.PosSemidef, "symmetric" is A.IsHermitian, and eigenvalues are Matrix.IsHermitian.eigenvalues. The sample space is Fin M → Fin n → ℝ with the product measure of MnMnMn copies of gaussianReal 0 1, so the law of the samples is constructed, not assumed; GM(ω)=(M:R)−1∑iωi⋅(Aωi)G_M(\omega) = (M:\mathbb{R})^{-1}\sum_i \omega_i\cdot(A\omega_i)GM​(ω)=(M:R)−1∑i​ωi​⋅(Aωi​). Probabilities are Measure.real; the moment generating function is Mathlib's mgf; the variance is Mathlib's variance, and Lemma 5.1 asserts square integrability so that neither the integral nor the variance takes its default value. The sample count is a natural number M≥1M\ge1M≥1; ϵ\epsilonϵ and δ\deltaδ are real.

Corrections of the printed text, each recorded in the item's Formalization Note:

  • Theorem 5.2 is printed without a range for ϵ\epsilonϵ and is false without one (for rank-one AAA, ϵ=100\epsilon=100ϵ=100, δ=e−400\delta=e^{-400}δ=e−400 the threshold allows M=1M=1M=1, while Pr⁡(χ12>101)≈e−50>δ\Pr(\chi^2_1>101)\approx e^{-50}>\deltaPr(χ12​>101)≈e−50>δ). The proof gives its key bound "for ϵ≤0.1\epsilon\le0.1ϵ≤0.1"; the goal is stated for 0<ϵ≤1/100<\epsilon\le 1/100<ϵ≤1/10.
  • Eq. (1) is printed for ∣λit∣≤12|\lambda_i t|\le\frac12∣λi​t∣≤21​, which admits 1−2λit=01-2\lambda_it = 01−2λi​t=0, where the moment generating function is infinite. It is stated for 2λit<12\lambda_i t<12λi​t<1. The page's sum over subsets of "the set Λ\LambdaΛ of eigenvalues" is taken over index sets, so repeated eigenvalues count with multiplicity.
  • The last paragraph of the proof prints Pr⁡(GM≤τ(1+ϵ))≤δ/2\Pr(G_M\le\tau(1+\epsilon))\le\delta/2Pr(GM​≤τ(1+ϵ))≤δ/2 for the upper tail and Pr⁡(∣GM−τ∣≤τ(1+ϵ))≤δ\Pr(|G_M-\tau|\le\tau(1+\epsilon))\le\deltaPr(∣GM​−τ∣≤τ(1+ϵ))≤δ for the conclusion; the intended statements are Pr⁡(GM≥τ(1+ϵ))≤δ/2\Pr(G_M\ge\tau(1+\epsilon))\le\delta/2Pr(GM​≥τ(1+ϵ))≤δ/2 and Pr⁡(∣GM−τ∣>ϵτ)≤δ\Pr(|G_M-\tau|>\epsilon\tau)\le\deltaPr(∣GM​−τ∣>ϵτ)≤δ. Milestone 5 states the upper and lower tail bounds.
  • Lemma 5.1 is followed by the remark that it "also applies when AAA is non-symmetric"; this is false for the variance and is not formalized. Definition 3.1 says "positive-definite"; the estimator is defined for every matrix and each theorem carries its own hypothesis.
  • The one-sided tail milestones assume trace(A)>0\mathrm{trace}(A)>0trace(A)>0; for A=0A=0A=0 their events are certain, while the goal holds trivially.

A formalization that makes the goal trivial is ruled out: the estimator's law is the explicit product Gaussian measure rather than a hypothesis, MMM ranges over all natural numbers above the threshold, and the approximator predicate is evaluated on the genuine event ∣GM−trace(A)∣≤ϵ trace(A)|G_M - \mathrm{trace}(A)|\le\epsilon\,\mathrm{trace}(A)∣GM​−trace(A)∣≤ϵtrace(A).

A complete development needs rotation invariance of the standard Gaussian on Rn\mathbb{R}^nRn (Mathlib's stdGaussian_map), the moment generating function of a squared standard normal, independence of products of Gaussian vectors, and a Chernoff bound from the moment generating function. The Gaussian quadratic-form results (milestones 1 and 2) are reusable for the other Gaussian estimators of the paper, such as the rank estimator of Lemma 5.3. Proofs of any milestone, alternative proofs of the lower tail, and helper lemmas on χ2\chi^2χ2 moment generating functions are welcome.

Selected references

  • H. Avron and S. Toledo, Randomized algorithms for estimating the trace of an implicit symmetric positive semi-definite matrix, Journal of the ACM 58(2), Article 8, 2011. https://doi.org/10.1145/1944345.1944349
  • M. F. Hutchinson, A stochastic estimator of the trace of the influence matrix for Laplacian smoothing splines, Communications in Statistics – Simulation and Computation 18(3), 1059–1076, 1989. https://doi.org/10.1080/03610918908812806
  • R. N. Silver and H. Röder, Calculation of densities of states and spectral functions by Chebyshev recursion and maximum entropy, Physical Review E 56(4), 4822–4829, 1997. https://doi.org/10.1103/PhysRevE.56.4822
  • F. Roosta-Khorasani and U. Ascher, Improved bounds on sample size for implicit matrix trace estimators, Foundations of Computational Mathematics 15, 1187–1212, 2015. https://doi.org/10.1007/s10208-014-9220-1
  • A. Cortinovis and D. Kressner, On randomized trace estimates for indefinite matrices with an application to determinants, Foundations of Computational Mathematics 22, 875–903, 2022. https://doi.org/10.1007/s10208-021-09525-9
9 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations ResearchOptimization·Captain: mikedeng1

Optimal Pricing of Seasonal Products in the Presence of Forward-Looking Consumers 2: A Threshold Nash Equilibrium under Announced Fixed-Discount PricingResearch Paper

Motivation

Retailers of fashion and seasonal goods sell at a premium price early in the season and mark down later. When customers anticipate the markdown, some of them wait, and the seller's pricing problem becomes a game between the seller and a population of forward-looking (strategic) customers. Aviv and Pazgal (MSOM 10(3), 2008) study this game in a model with limited inventory, stochastic arrivals and valuations that decline over the season, under two classes of seller policies: contingent pricing, where the discount depends on the inventory left, and announced fixed-discount pricing, where the seller commits to both prices upfront. Their numerical study (§7.3) compares the two classes and finds that precommitment can raise expected revenue by up to about 8%.

That comparison needs, for every announced price path, the customers' equilibrium response. Theorem 2 of the paper (p. 348) supplies it: a threshold purchasing policy, pinned down by a scalar fixed-point equation for the probability that a waiting customer is served. This mission formalizes Theorem 2. A companion mission of the same series formalizes Theorem 1, the contingent-pricing counterpart.

Setting

A seller has Q≥1Q \ge 1Q≥1 units to sell over a season [0,H][0, H][0,H], split at a fixed time TTT with 0<T≤H0 < T \le H0<T≤H. Customers arrive by a Poisson process with rate λ>0\lambda > 0λ>0. Customer jjj has a base valuation VjV_jVj​ drawn from a continuous distribution FFF (tail Fˉ=1−F\bar F = 1 - FFˉ=1−F), and at time ttt values the product at Vj(t)=Vje−αtV_j(t) = V_j e^{-\alpha t}Vj​(t)=Vj​e−αt, where the decline factor α≥0\alpha \ge 0α≥0 is common to all customers.

Under an announced price path the seller commits to a premium price p1p_1p1​ on [0,T)[0, T)[0,T) and a discount price p2≤p1p_2 \le p_1p2​≤p1​ from TTT on; p2p_2p2​ does not depend on the remaining inventory. Customers know the initial inventory but not the current one.

A customer arriving at t<Tt < Tt<T buys immediately if and only if (i) the current surplus V(t)−p1V(t) - p_1V(t)−p1​ is nonnegative and (ii) it is at least the expected surplus of waiting,

ω⋅max⁡{V(T)−p2,0},\omega\cdot\max\{V(T) - p_2, 0\},ω⋅max{V(T)−p2​,0},

where ω\omegaω is the probability that a unit will be allocated to the customer at time TTT. Units left at TTT are rationed at random among the customers who request one.

For a threshold function ψ\psiψ on [0,T)[0, T)[0,T) the paper defines three segment rates: ΛI(ψ)\Lambda_I(\psi)ΛI​(ψ), the expected number of customers who buy at p1p_1p1​; ΛS(ψ,p1,p2)\Lambda_S(\psi, p_1, p_2)ΛS​(ψ,p1​,p2​), those who could buy at p1p_1p1​ but wait and want to buy at p2p_2p2​; and ΛW(p1,p2)\Lambda_W(p_1, p_2)ΛW​(p1​,p2​), those whose valuation was below p1p_1p1​ and who want to buy at p2p_2p2​. Each is λ\lambdaλ times an integral over [0,T][0, T][0,T] of Fˉ\bar FFˉ at scaled prices (p. 345). With P(x∣Λ)P(x \mid \Lambda)P(x∣Λ) the Poisson probabilities, the allocation probability of qqq units is

A(q∣Λ)=∑y=0∞qmax⁡{1+y,q} P(y∣Λ).A(q \mid \Lambda) = \sum_{y=0}^{\infty} \frac{q}{\max\{1+y, q\}}\,P(y \mid \Lambda).A(q∣Λ)=y=0∑∞​max{1+y,q}q​P(y∣Λ).

Formalization targets

Goal: Theorem 2 (p. 348)

For w∈[0,1]w \in [0,1]w∈[0,1] let

ψA(t)=max⁡{p1,p1−wp21−we−α(T−t)},0≤t<T,(7)\psi_A(t) = \max\left\{p_1, \frac{p_1 - wp_2}{1 - we^{-\alpha(T-t)}}\right\},\qquad 0 \le t < T, \tag{7}ψA​(t)=max{p1​,1−we−α(T−t)p1​−wp2​​},0≤t<T,(7)

and suppose www solves

w=∑x=0Q−1P(x∣ΛI(ψA))⋅A(Q−x∣ΛS(ψA,p1,p2)+ΛW(p1,p2)).(8)w = \sum_{x=0}^{Q-1} P\big(x \mid \Lambda_I(\psi_A)\big)\cdot A\big(Q-x \mid \Lambda_S(\psi_A, p_1, p_2) + \Lambda_W(p_1, p_2)\big). \tag{8}w=x=0∑Q−1​P(x∣ΛI​(ψA​))⋅A(Q−x∣ΛS​(ψA​,p1​,p2​)+ΛW​(p1​,p2​)).(8)

Then, when all other customers use ψA\psi_AψA​ (so that a waiting customer is served with the probability on the right of (8)), every customer arriving at t∈[0,T)t \in [0, T)t∈[0,T) buys immediately if and only if V(t)≥ψA(t)V(t) \ge \psi_A(t)V(t)≥ψA​(t): the symmetric threshold profile is a Nash equilibrium.

Milestones: the two cases of the proof (p. 358)

  1. If e−α(T−t)≤p2/p1e^{-\alpha(T-t)} \le p_2/p_1e−α(T−t)≤p2​/p1​, the threshold is p1p_1p1​.
  2. If e−α(T−t)>p2/p1e^{-\alpha(T-t)} > p_2/p_1e−α(T−t)>p2​/p1​, the threshold is (p1−wp2)/(1−we−α(T−t))≥p1(p_1 - wp_2)/(1 - we^{-\alpha(T-t)}) \ge p_1(p1​−wp2​)/(1−we−α(T−t))≥p1​.

Significance

Theorem 2 reduces the customers' equilibrium under an announced path to a single scalar www. Everything downstream in §5 and §7 rests on it: the seller's expected revenue πA/S(p1,p2)\pi_{A/S}(p_1, p_2)πA/S​(p1​,p2​) (p. 348) is written in terms of ψA\psi_AψA​, the seller's optimal announced path maximizes it, and the comparison between announced and contingent pricing uses the resulting value πA/S∗\pi^*_{A/S}πA/S∗​. The theorem also explains the qualitative prediction of the model: the threshold exceeds p1p_1p1​ exactly when the announced discount is deep relative to the decline of valuations, and it rises with the perceived availability www.

The result is proved in the paper; to the best of our search it has no machine-checked proof. A formal development contributes the model objects (segment rates for threshold policies, the allocation probability for random rationing among Poisson requesters) in a form reusable by the rest of the series and by other strategic-customer pricing models, and a checked proof of the equilibrium property. The existence of a solution to (8) is not proved in the paper and is a natural further target.

Difficulty

The best-response part of the argument is elementary once the availability is known. The substance of the statement lies in the availability itself: the probability that a waiting customer is served is not a free parameter but the one generated, through (8), by the other customers' use of the same threshold. A formalization must connect the segment rates, the Poisson counts and random rationing into one expression and keep the fixed-point coupling between www and ψA\psi_AψA​ intact; dropping it turns the theorem into a one-line inequality about an arbitrary www. The division by 1−we−α(T−t)1 - we^{-\alpha(T-t)}1−we−α(T−t) also degenerates when w=1w = 1w=1 and α=0\alpha = 0α=0, and has to be excluded explicitly.

Formalization scope

The Lean development lives in namespace SeasonalPricing.Announced. Conventions:

  • Time is real; base valuations have law μ : Measure ℝ with IsProbabilityMeasure μ, FFF = ProbabilityTheory.cdf μ, and continuity of FFF (the paper's "continuous distribution") is a hypothesis of the goal. No support condition on [0,∞)[0,\infty)[0,∞) is imposed; the statement quantifies over every real base valuation VVV.
  • ΛI,ΛS,ΛW\Lambda_I, \Lambda_S, \Lambda_WΛI​,ΛS​,ΛW​ are interval integrals over [0,T][0, T][0,T] exactly as printed. P(x∣Λ)=e−ΛΛx/x!P(x \mid \Lambda) = e^{-\Lambda}\Lambda^x/x!P(x∣Λ)=e−ΛΛx/x! is written out; A(q∣Λ)A(q\mid\Lambda)A(q∣Λ) is the infinite series (tsum) as printed, not its closed form.
  • availability is the right-hand side of (8), with ψA\psi_AψA​ built from www by (7).

Readings of the paper's informal words:

  • "Nash equilibrium" is read as the best-response property the paper's proof checks: against the availability generated by (8), the immediate-purchase rule of p. 344 coincides with the threshold ψA\psi_AψA​ at every t∈[0,T)t \in [0, T)t∈[0,T) and every valuation. The paper defines no strategy space beyond threshold rules.
  • "www is a solution to (8)": the theorem is conditional on a solution; its existence is neither assumed elsewhere nor claimed. The conditional statement has content only when (8) has a solution, which the paper does not prove.
  • www as a likelihood: 0≤w≤10 \le w \le 10≤w≤1 is a hypothesis (it also follows from (8)).
  • Added hypothesis: α>0\alpha > 0α>0 or w<1w < 1w<1, which keeps 1−we−α(T−t)>01 - we^{-\alpha(T-t)} > 01−we−α(T−t)>0 for t<Tt < Tt<T; the paper's formula is undefined when it fails. In the milestones the same condition appears as we−α(T−t)<1we^{-\alpha(T-t)} < 1we−α(T−t)<1, and 0<p10 < p_10<p1​ is added so that p2/p1p_2/p_1p2​/p1​ is meaningful.
  • The rule on [T,H][T, H][T,H] (buy at TTT iff V(T)>p2V(T) > p_2V(T)>p2​) is part of the model and is not restated; HHH does not enter the statements.

A formalization in which www is an arbitrary number in [0,1][0,1][0,1], not tied to (8), is ruled out: it is the best-response lemma alone, not Theorem 2. Contributions welcome: proofs of the two milestones and the goal; lemmas such as 0≤A(q∣Λ)≤10 \le A(q\mid\Lambda) \le 10≤A(q∣Λ)≤1 and summability of its series; the closed form of A(q∣Λ)A(q \mid \Lambda)A(q∣Λ) printed on p. 346; and an existence result for (8).

Selected references

  • Y. Aviv and A. Pazgal, Optimal Pricing of Seasonal Products in the Presence of Forward-Looking Consumers, Manufacturing & Service Operations Management 10(3):339–359, 2008. https://doi.org/10.1287/msom.1070.0183
  • G. Gallego and G. van Ryzin, Optimal Dynamic Pricing of Inventories with Stochastic Demand over Finite Horizons, Management Science 40(8):999–1020, 1994. https://doi.org/10.1287/mnsc.40.8.999
  • X. Su, Intertemporal Pricing with Strategic Customer Behavior, Management Science 53(5):726–741, 2007. https://doi.org/10.1287/mnsc.1060.0667
5 thms3 active usersReviewed
🏆Completed
Machine LearningOptimizationStatistics·Captain: mikedeng1

Simultaneous Analysis of Lasso and Dantzig Selector III: A Sparsity Oracle Inequality for the LassoResearch Paper

Motivation

In high-dimensional regression the number of candidate predictors MMM can far exceed the number of observations nnn. A regression function can then be estimated only if it is well approximated by a combination of a few elements of a large dictionary. The Lasso is the most widely used estimator in this regime. The question this mission formalizes is how well the Lasso predicts when the truth is not assumed to be sparse, or even to lie in the span of the dictionary.

A sparsity oracle inequality answers it. It bounds the prediction error of the estimator by the error of the best sparse approximation of the truth, which only an oracle knowing the truth could compute, plus a remainder proportional to the sparsity of that approximation times log⁡M/n\log M/nlogM/n. Bickel, Ritov and Tsybakov (arXiv:0801.1095, Ann. Statist. 37(4), 2009) proved such an inequality for the Lasso under their restricted eigenvalue (RE) condition. Earlier oracle inequalities for Lasso-type estimators in fixed design (Bunea, Tsybakov and Wegkamp, 2006–2007) required the Gram matrix to be positive definite or to satisfy a mutual-coherence condition. The RE condition is weaker and allows M≫nM\gg nM≫n, and it is now the standard hypothesis in this literature.

Setting

A dictionary f1,…,fMf_1,\dots,f_Mf1​,…,fM​ is evaluated at fixed points Z1,…,ZnZ_1,\dots,Z_nZ1​,…,Zn​. This gives the design matrix X=(fj(Zi))∈Rn×MX=(f_j(Z_i))\in\mathbb R^{n\times M}X=(fj​(Zi​))∈Rn×M and, for an unknown regression function fff, the vector f=(f(Z1),…,f(Zn))⊤f=(f(Z_1),\dots,f(Z_n))^\topf=(f(Z1​),…,f(Zn​))⊤. The observations are

y=f+W,W1,…,Wn independent N(0,σ2), σ>0.y=f+W,\qquad W_1,\dots,W_n\ \text{independent}\ \mathcal N(0,\sigma^2),\ \sigma>0 .y=f+W,W1​,…,Wn​ independent N(0,σ2), σ>0.

Nothing is assumed about fff. For v∈Rnv\in\mathbb R^nv∈Rn the empirical norm is ∥v∥n=(1n∑ivi2)1/2\|v\|_n=(\frac1n\sum_iv_i^2)^{1/2}∥v∥n​=(n1​∑i​vi2​)1/2, and for β∈RM\beta\in\mathbb R^Mβ∈RM we write fβ=Xβf_\beta=X\betafβ​=Xβ. The column norms ∥fj∥n\|f_j\|_n∥fj​∥n​ are assumed nonzero, with fmax⁡=max⁡j∥fj∥nf_{\max}=\max_j\|f_j\|_nfmax​=maxj​∥fj​∥n​ and fmin⁡=min⁡j∥fj∥nf_{\min}=\min_j\|f_j\|_nfmin​=minj​∥fj​∥n​. The support of β\betaβ is J(β)={j:βj≠0}J(\beta)=\{j:\beta_j\neq0\}J(β)={j:βj​=0} and its sparsity is M(β)=∣J(β)∣\mathcal M(\beta)=|J(\beta)|M(β)=∣J(β)∣.

The Lasso β^L\hat\beta_Lβ^​L​ is any minimiser of

1n∑i=1n(yi−(Xβ)i)2+2r∑j=1M∥fj∥n∣βj∣,r=Aσlog⁡Mn, A>22,\frac1n\sum_{i=1}^n\big(y_i-(X\beta)_i\big)^2+2r\sum_{j=1}^M\|f_j\|_n|\beta_j|,\qquad r=A\sigma\sqrt{\frac{\log M}{n}},\ A>2\sqrt2,n1​i=1∑n​(yi​−(Xβ)i​)2+2rj=1∑M​∥fj​∥n​∣βj​∣,r=AσnlogM​​, A>22​,

and f^L=Xβ^L\hat f_L=X\hat\beta_Lf^​L​=Xβ^​L​.

Assumption RE(s,c0)(s,c_0)(s,c0​) holds with constant κ>0\kappa>0κ>0 if, for every J0⊆{1,…,M}J_0\subseteq\{1,\dots,M\}J0​⊆{1,…,M} with ∣J0∣≤s|J_0|\le s∣J0​∣≤s and every δ≠0\delta\neq0δ=0 with ∣δJ0c∣1≤c0∣δJ0∣1|\delta_{J_0^c}|_1\le c_0|\delta_{J_0}|_1∣δJ0c​​∣1​≤c0​∣δJ0​​∣1​,

κn ∣δJ0∣2≤∣Xδ∣2.\kappa\sqrt n\,|\delta_{J_0}|_2\le|X\delta|_2 .κn​∣δJ0​​∣2​≤∣Xδ∣2​.

The paper's κ(s,c0)\kappa(s,c_0)κ(s,c0​) is the largest such constant.

Formalization targets

Goal: Theorem 6.1

Fix ε>0\varepsilon>0ε>0, n≥1n\ge1n≥1, M≥2M\ge2M≥2, 1≤s≤M1\le s\le M1≤s≤M, and let RE(s,(3+4/ε)fmax⁡/fmin⁡)(s,(3+4/\varepsilon)f_{\max}/f_{\min})(s,(3+4/ε)fmax​/fmin​) hold with constant κ\kappaκ. With probability at least 1−M1−A2/81-M^{1-A^2/8}1−M1−A2/8, every Lasso solution satisfies, simultaneously for all β\betaβ with M(β)≤s\mathcal M(\beta)\le sM(β)≤s,

∥f^L−f∥n2≤(1+ε){∥fβ−f∥n2+C(ε)fmax⁡2A2σ2κ2 M(β)log⁡Mn},C(ε)=4(2+ε)2ε(1+ε).\|\hat f_L-f\|_n^2\le(1+\varepsilon)\Big\{\|f_\beta-f\|_n^2+C(\varepsilon)\frac{f_{\max}^2A^2\sigma^2}{\kappa^2}\,\frac{\mathcal M(\beta)\log M}{n}\Big\},\qquad C(\varepsilon)=\frac{4(2+\varepsilon)^2}{\varepsilon(1+\varepsilon)} .∥f^​L​−f∥n2​≤(1+ε){∥fβ​−f∥n2​+C(ε)κ2fmax2​A2σ2​nM(β)logM​},C(ε)=ε(1+ε)4(2+ε)2​.

Milestones

  1. (B.4): the noise event A=⋂j{2∣Vj∣≤r∥fj∥n}\mathcal A=\bigcap_j\{2|V_j|\le r\|f_j\|_n\}A=⋂j​{2∣Vj​∣≤r∥fj​∥n​}, with Vj=n−1∑iXijWiV_j=n^{-1}\sum_iX_{ij}W_iVj​=n−1∑i​Xij​Wi​, satisfies P(Ac)≤M1−A2/8P(\mathcal A^c)\le M^{1-A^2/8}P(Ac)≤M1−A2/8.
  2. (B.1) on A\mathcal AA: for every Lasso solution and every β\betaβ,
∥f^L−f∥n2+r∑j∥fj∥n∣β^j−βj∣≤∥fβ−f∥n2+4r∑j∈J(β)∥fj∥n∣β^j−βj∣.\|\hat f_L-f\|_n^2+r\sum_j\|f_j\|_n|\hat\beta_j-\beta_j|\le\|f_\beta-f\|_n^2+4r\sum_{j\in J(\beta)}\|f_j\|_n|\hat\beta_j-\beta_j| .∥f^​L​−f∥n2​+rj∑​∥fj​∥n​∣β^​j​−βj​∣≤∥fβ​−f∥n2​+4rj∈J(β)∑​∥fj​∥n​∣β^​j​−βj​∣.
  1. Lemma B.1: the same inequality with probability at least 1−M1−A2/81-M^{1-A^2/8}1−M1−A2/8.
  2. Cone step: in the case ε∥fβ−f∥n2<4r∑J(β)∥fj∥n∣β^j−βj∣\varepsilon\|f_\beta-f\|_n^2<4r\sum_{J(\beta)}\|f_j\|_n|\hat\beta_j-\beta_j|ε∥fβ​−f∥n2​<4r∑J(β)​∥fj​∥n​∣β^​j​−βj​∣, the difference β^L−β\hat\beta_L-\betaβ^​L​−β lies in the cone with constant (3+4/ε)fmax⁡/fmin⁡(3+4/\varepsilon)f_{\max}/f_{\min}(3+4/ε)fmax​/fmin​ at J(β)J(\beta)J(β).
  3. Inequality before decoupling: ∥f^L−f∥n2≤∥fβ−f∥n2+4rfmax⁡κ−1M(β) (∥f^L−f∥n+∥fβ−f∥n)\|\hat f_L-f\|_n^2\le\|f_\beta-f\|_n^2+4rf_{\max}\kappa^{-1}\sqrt{\mathcal M(\beta)}\,(\|\hat f_L-f\|_n+\|f_\beta-f\|_n)∥f^​L​−f∥n2​≤∥fβ​−f∥n2​+4rfmax​κ−1M(β)​(∥f^​L​−f∥n​+∥fβ​−f∥n​).
  4. Decoupled bound: ∥f^L−f∥n2≤b+1b−1∥fβ−f∥n2+8b2fmax⁡2(b−1)κ2r2M(β)\|\hat f_L-f\|_n^2\le\frac{b+1}{b-1}\|f_\beta-f\|_n^2+\frac{8b^2f_{\max}^2}{(b-1)\kappa^2}r^2\mathcal M(\beta)∥f^​L​−f∥n2​≤b−1b+1​∥fβ​−f∥n2​+(b−1)κ28b2fmax2​​r2M(β) for all b>1b>1b>1.
  5. Corollary 6.2: the same oracle inequality with γ\gammaγ in place of κ\kappaκ and no global RE assumption. The infimum runs over those β\betaβ with M(β)≤s\mathcal M(\beta)\le sM(β)≤s whose support alone satisfies the restricted eigenvalue inequality with constant γ\gammaγ.

Significance

The theorem says that, up to the factor 1+ε1+\varepsilon1+ε and a remainder of order M(β)log⁡M/n\mathcal M(\beta)\log M/nM(β)logM/n, the Lasso predicts as well as the best sss-sparse linear combination of the dictionary. This is the case even when fff is not sparse and not in the span of the dictionary. The remainder is the parametric rate for M(β)\mathcal M(\beta)M(β) parameters, inflated by log⁡M\log MlogM and by the ill-posedness factor fmax⁡2/κ2f_{\max}^2/\kappa^2fmax2​/κ2. Together with Theorem 5.1 of the same paper (mission II of this series), it shows that the Lasso and the Dantzig selector are within the same distance of the sparse oracle. The oracle inequality is used in aggregation, in model selection, and as a black box in later sparse-estimation papers.

The result is proved in the paper. It has not been formalized: at the time of writing, no Lasso oracle inequality and no probabilistic Lasso bound exist on Prove2Me or in Mathlib. What this mission contributes is a machine-checked proof of the paper's Theorem 6.1 with an explicit constant C(ε)C(\varepsilon)C(ε). The paper leaves C(ε)C(\varepsilon)C(ε) unspecified, and its proof fixes the value used here. The mission also formalizes the Gaussian-tail step (B.4) and the deterministic basic inequality (B.1), both of which are shared with the paper's other Lasso results.

Difficulty

There is no sparse truth, so the usual argument does not apply. That argument places the error β^L−β∗\hat\beta_L-\beta^*β^​L​−β∗ in the RE cone and reads off a rate. Here the competitor β\betaβ is arbitrary, and the approximation error ∥fβ−f∥n\|f_\beta-f\|_n∥fβ​−f∥n​ can dominate the penalty terms, in which case the error is not in the cone. The RE assumption can be used only where the error does lie in a cone, and the cone constant available there depends on ε\varepsilonε and on the column-norm ratio fmax⁡/fmin⁡f_{\max}/f_{\min}fmax​/fmin​, because the penalty is weighted while RE is stated for unweighted vectors. What RE then yields is an inequality quadratic in ∥f^L−f∥n\|\hat f_L-f\|_n∥f^​L​−f∥n​ with a cross term, not the (1+ε)(1+\varepsilon)(1+ε) form directly, and the constant C(ε)C(\varepsilon)C(ε) is determined by how that cross term is absorbed. On the probabilistic side, the whole argument must run on one event of probability at least 1−M1−A2/81-M^{1-A^2/8}1−M1−A2/8. That event may depend neither on β\betaβ nor on the choice of minimiser. The Lasso need not have a unique solution.

Formalization scope

  • The dictionary enters only through X∈Rn×MX\in\mathbb R^{n\times M}X∈Rn×M (Matrix (Fin n) (Fin M) ℝ) and the target only through f∈Rnf\in\mathbb R^nf∈Rn, which is arbitrary. The noise is a family W : Fin n → Ω → ℝ of measurable, independent random variables, each with law gaussianReal 0 σ², and σ>0\sigma>0σ>0.
  • The Lasso is an argmin predicate, and every statement is made for every minimiser. "With probability at least ppp" means a measurable event EEE with P(E)≥pP(E)\ge pP(E)≥p, chosen before the competitor β\betaβ and the minimiser.
  • RE is stated through a witness κ>0\kappa>0κ>0. Since κ(s,c0)\kappa(s,c_0)κ(s,c0​) is attained and every bound decreases in κ\kappaκ, this is equivalent to the paper's form, and it avoids a real infimum over an empty set.
  • The infimum over {β:M(β)≤s}\{\beta:\mathcal M(\beta)\le s\}{β:M(β)≤s} is written as "for every such β\betaβ". This is equivalent, because the set contains β=0\beta=0β=0 and the bracket is nonnegative.
  • Correction/strengthening. The printed theorem has an unspecified C(ε)>0C(\varepsilon)>0C(ε)>0. The goal instead uses the value C(ε)=4(2+ε)2/(ε(1+ε))C(\varepsilon)=4(2+\varepsilon)^2/(\varepsilon(1+\varepsilon))C(ε)=4(2+ε)2/(ε(1+ε)) that the proof yields with b=1+2/εb=1+2/\varepsilonb=1+2/ε, and this implies the printed statement. Corollary 6.2 uses the same explicit constant.
  • The standing assumptions of Section 2 (M≥2M\ge2M≥2 and every ∥fj∥n≠0\|f_j\|_n\neq0∥fj​∥n​=0) are hypotheses of every theorem.
  • Some formalizations would make the result trivial, and they are excluded here. The noise must be exactly i.i.d. N(0,σ2)\mathcal N(0,\sigma^2)N(0,σ2) with σ>0\sigma>0σ>0 and must enter only through y=f+Wy=f+Wy=f+W. The target fff must not be restricted to Xβ∗X\beta^*Xβ∗. The event must be measurable. The constant must depend on ε\varepsilonε alone.
  • A single definition file provides the empirical norms, fmax⁡f_{\max}fmax​, fmin⁡f_{\min}fmin​, support and sparsity, the weighted Lasso, RE and its single-set version (the family Λs,γ,c0\Lambda_{s,\gamma,c_0}Λs,γ,c0​​ of Corollary 6.2), the Gaussian noise model and the event A\mathcal AA. The same objects appear in the other missions of this series. Gaussian-tail and union-bound lemmas proved along the way are reusable, and contributions of such lemmas are welcome.

Selected references

  • P. J. Bickel, Y. Ritov, A. B. Tsybakov, Simultaneous analysis of Lasso and Dantzig selector, Ann. Statist. 37(4), 1705–1732, 2009. Cited version: arXiv:0801.1095v3; DOI 10.1214/08-AOS620.
  • F. Bunea, A. B. Tsybakov, M. H. Wegkamp, Sparsity oracle inequalities for the Lasso, Electron. J. Statist. 1, 169–194, 2007. DOI 10.1214/07-EJS008.
  • F. Bunea, A. B. Tsybakov, M. H. Wegkamp, Aggregation for Gaussian regression, Ann. Statist. 35(4), 1674–1697, 2007. DOI 10.1214/009053606000001587.
  • R. Tibshirani, Regression shrinkage and selection via the lasso, J. R. Stat. Soc. B 58(1), 267–288, 1996. DOI 10.1111/j.2517-6161.1996.tb02080.x.
9 thms3 active usersReviewed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

Subjectivity and Correlation in Randomized Strategies I: Subjective Mixed Equilibria of Two-Person Games Have Objective PayoffsResearch Paper

Motivation

Classical non-cooperative game theory randomizes with objective, independent devices: each player spins a private wheel whose odds everyone agrees on. Aumann's 1974 paper (doi:10.1016/0304-4068(74)90037-8) asks what changes when the randomizing events are ordinary events of the world, about which players may hold different subjective probabilities and may be differently informed. The paper introduced correlated equilibrium, and it also separates two effects that the classical model fuses: subjectivity (players disagree about probabilities) and correlation (players peg their choices on common or dependent events).

This mission formalizes the paper's result on subjectivity without correlation. Example 2.3 of the paper exhibits a three-person game in which strategies pegged on subjective but mutually secret events form an equilibrium that every player prefers to every classical mixed equilibrium. Proposition 5.1 shows that this cannot happen with two players.

Setting

A game has a finite set N={1,…,n}N=\{1,\dots,n\}N={1,…,n} of players, a finite set SiS_iSi​ of pure strategies for each player, a finite set XXX of outcomes and an outcome function ggg from S=×i∈NSiS=\times_{i\in N}S_iS=×i∈N​Si​ onto XXX. Player iii has a utility ui:X→Ru_i:X\to\mathbb Rui​:X→R; write hi(a)=ui(g(a))h_i(a)=u_i(g(a))hi​(a)=ui​(g(a)) for a∈Sa\in Sa∈S.

A randomizing structure consists of a set Ω\OmegaΩ of states of the world with a σ\sigmaσ-field B\mathcal BB of events, a sub-σ\sigmaσ-field Ji⊆B\mathcal J_i\subseteq\mathcal BJi​⊆B for each player (the events iii is informed about), and a probability measure pip_ipi​ on B\mathcal BB for each player (the subjective probability of iii). A strategy of iii is a map si:Ω→Sis_i:\Omega\to S_isi​:Ω→Si​ whose level sets {si=a}\{s_i=a\}{si​=a} lie in Ji\mathcal J_iJi​. For a profile s=(s1,…,sn)s=(s_1,\dots,s_n)s=(s1​,…,sn​) of strategies the payoff of iii is

Hi(s)=∫Ωhi(s(ω)) dpi(ω),H_i(s)=\int_\Omega h_i\big(s(\omega)\big)\,dp_i(\omega),Hi​(s)=∫Ω​hi​(s(ω))dpi​(ω),

computed under player iii's own beliefs. An equilibrium point is a profile sss with Hi(s)≥Hi(s1,…,ti,…,sn)H_i(s)\ge H_i(s_1,\dots,t_i,\dots,s_n)Hi​(s)≥Hi​(s1​,…,ti​,…,sn​) for every player iii and every strategy tit_iti​ of iii.

An event AAA is iii-secret if A∈JiA\in\mathcal J_iA∈Ji​ and every other player jjj regards AAA as independent of every event in the σ\sigmaσ-field generated by the Jk\mathcal J_kJk​, k≠ik\ne ik=i: pj(A∩B)=pj(A)pj(B)p_j(A\cap B)=p_j(A)p_j(B)pj​(A∩B)=pj​(A)pj​(B). A strategy is mixed if its level sets are iii-secret, and objective if each level set has the same probability under every pjp_jpj​. A measure is non-atomic on a σ\sigmaσ-field R\mathcal RR if every event of R\mathcal RR of positive measure contains an event of R\mathcal RR of strictly smaller positive measure; a roulette is a sub-σ\sigmaσ-field of B\mathcal BB on which every pjp_jpj​ is non-atomic. Throughout, Assumption II holds: every player iii has a σ\sigmaσ-field Ri\mathcal R_iRi​ of iii-secret events on which every pjp_jpj​ is non-atomic.

For distributions σi\sigma_iσi​ on SiS_iSi​ the classical payoff is Fi(σ)=∑a∈Shi(a)∏jσj(aj)F_i(\sigma)=\sum_{a\in S}h_i(a)\prod_j\sigma_j(a_j)Fi​(σ)=∑a∈S​hi​(a)∏j​σj​(aj​), and σ\sigmaσ is a Nash equilibrium point if no player gains by switching to another distribution.

Formalization targets

Goal: Proposition 5.1 (p. 78)

Let n=2n=2n=2 and assume

p1(B)=0  ⟺  p2(B)=0for every B∈B.(5.2)p_1(B)=0\iff p_2(B)=0\qquad\text{for every }B\in\mathcal B.\tag{5.2}p1​(B)=0⟺p2​(B)=0for every B∈B.(5.2)

Then for every equilibrium point sss in mixed strategies there is an equilibrium point ttt in objective mixed strategies with

H(s)=H(t).H(s)=H(t).H(s)=H(t).

The game need not be zero-sum.

Milestones

  1. Lemma 7.1 (p. 81): in a roulette R\mathcal RR, for events B1,…,BlB^1,\dots,B^lB1,…,Bl and α∈[0,1]\alpha\in[0,1]α∈[0,1], there is an objective A∈RA\in\mathcal RA∈R with pi(A)=αp_i(A)=\alphapi​(A)=α and pi(A∩Bk)=pi(A)pi(Bk)p_i(A\cap B^k)=p_i(A)p_i(B^k)pi​(A∩Bk)=pi​(A)pi​(Bk) for all i,ki,ki,k.
  2. Lemma 4.1 (p. 77): every distribution σi\sigma_iσi​ on SiS_iSi​ is realised by an objective mixed strategy sis_isi​ with p{si=a}=σi(a)p\{s_i=a\}=\sigma_i(a)p{si​=a}=σi​(a).
  3. Lemma 7.3 (p. 82): if every sjs_jsj​, j≠ij\ne ij=i, is mixed, then pi{s=a}=pi{si=ai} pi{sj=aj ∀j≠i}=∏jpi{sj=aj}p_i\{s=a\}=p_i\{s_i=a_i\}\,p_i\{s_j=a_j\ \forall j\ne i\}=\prod_j p_i\{s_j=a_j\}pi​{s=a}=pi​{si​=ai​}pi​{sj​=aj​ ∀j=i}=∏j​pi​{sj​=aj​}.
  4. Corollary 7.4 (p. 83): mixed strategies are independent under every pkp_kpk​.
  5. Proposition 4.3 (p. 77): {F(σ):σ Nash}={H(s):s an equilibrium point in objective mixed strategies}\{F(\sigma):\sigma\text{ Nash}\}=\{H(s): s\text{ an equilibrium point in objective mixed strategies}\}{F(σ):σ Nash}={H(s):s an equilibrium point in objective mixed strategies}.

Significance

The result. Proposition 5.1 isolates correlation as the source of the new equilibrium payoffs of the subjective model in two-person games: disagreement about probabilities alone, with strategies pegged on secret events, reproduces only payoffs already achievable by classical mixed strategies (by Proposition 4.3, only Nash equilibrium payoffs). The paper uses it to explain Example 2.9, where two zero-sum players both expect more than the value, as an effect of subjectivity combined with correlation. Proposition 4.3 is the bridge that embeds classical Nash theory in the subjective model; with Nash's theorem it gives existence of equilibrium points in every game.

Formalizing it. The results are proved in the paper; to our knowledge none of them has been machine-checked. The mission produces a reusable measure-theoretic model of randomized strategies with private information and subjective beliefs (secret events, mixed and objective strategies, roulettes), a non-atomicity notion relative to a sub-σ\sigmaσ-field, and the Lyapunov-type construction of Lemma 7.1, none of which exists in Mathlib at the pinned revision.

Difficulty

The equilibrium conditions quantify over all strategies of the deviator, i.e. all Ji\mathcal J_iJi​-measurable maps, and the deviator may know events on which the opponent's mixed strategy is pegged. The obvious computation of H1(t1,s2)H_1(t_1,s_2)H1​(t1​,s2​) as a sum of products of marginal probabilities is valid only because the opponent's strategy is pegged on secret events, which is the content of Lemma 7.3; for correlated strategies it fails, and Example 2.9 shows the proposition then fails. A second obstacle is that the replacement t1t_1t1​ must reproduce player 2's beliefs about s1s_1s1​, while player 1's own equilibrium condition is stated under p1p_1p1​; condition (5.2) is what transfers "aaa is played with positive probability" from one player's beliefs to the other's. Constructing objective strategies with prescribed probabilities (Lemmas 7.1 and 4.1) needs the convexity of the range of a non-atomic vector measure (Lyapunov's theorem), which is not in Mathlib.

Formalization scope

Players are a finite type (Fin 2 in the goal, players 1,2↦0,11,2\mapsto 0,11,2↦0,1); the SiS_iSi​ and XXX are finite types, and ggg is surjective. The σ\sigmaσ-field B\mathcal BB is an explicit parameter mΩ of the structure RandomizingStructure ι Ω mΩ, which carries the Ji\mathcal J_iJi​ and the probability measures pip_ipi​. Probabilities are [0,∞][0,\infty][0,∞]-valued Mathlib measures. Utilities and pip_ipi​ are data (Assumption I is used only to compare lotteries by expected utility; the uniqueness of pip_ipi​ is not encoded). HiH_iHi​ is a Bochner integral; for strategy profiles the integrand has finitely many values and is measurable, hence integrable. Non-atomicity on a sub-σ\sigmaσ-field is defined directly; Mathlib's NoAtoms (singletons are null) would trivialize Assumption II and is not used. "Mixed" means pegged on the family of all iii-secret events, not on the σ\sigmaσ-field Ri\mathcal R_iRi​ of Assumption II. Classical distributions, FiF_iFi​ and Nash equilibrium points are AGT.IsLottery, AGT.expectedPayoff and AGT.IsMixedNash from the published definition agt_games.

A formalization that restricted deviations to mixed or objective strategies, or dropped "mixed" from the hypothesis on sss, would state a different theorem and is ruled out.

Useful contributions: Lyapunov's convexity theorem for finite-dimensional non-atomic vector measures (or the special case needed for Lemma 7.1), the factorization of Lemma 7.3, and the payoff identities used in the proof of Proposition 4.3. The model definitions are shared in meaning with the companion mission on two-person zero-sum games.

Selected references

  • R. J. Aumann, Subjectivity and Correlation in Randomized Strategies, Journal of Mathematical Economics 1 (1974) 67–96. https://doi.org/10.1016/0304-4068(74)90037-8
  • J. Nash, Non-Cooperative Games, Annals of Mathematics 54 (1951) 286–295. https://doi.org/10.2307/1969529
  • A. Liapounoff, Sur les fonctions-vecteurs complètement additives, Izv. Akad. Nauk SSSR Ser. Mat. 4 (1940) 465–478.
  • L. J. Savage, The Foundations of Statistics, Wiley, 1954.
9 thms3 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchOptimization+1·Captain: mikedeng1

Maximizing Non-Monotone Submodular Functions II: A Nonadaptive Algorithm Achieves 1/3 of the OptimumResearch Paper

Motivation

Maximizing a submodular set function without constraints contains Max Cut, Max Directed Cut, maximum facility location and several graph and hypergraph cut problems as special cases, and it appears in operations research wherever a value exhibits diminishing returns but is not monotone (profit that combines coverage with a cost, for example). These problems are NP-hard, so the question is which fraction of the optimum an efficient algorithm can guarantee when the function is accessible only through a value oracle that returns f(S)f(S)f(S) for a queried set SSS.

Feige, Mirrokni and Vondrák (SIAM J. Comput. 40(4), 2011) gave the first constant-factor approximation algorithms for maximizing a general nonnegative submodular function. The simplest of them returns a uniformly random set and achieves 1/41/41/4 of the optimum; this mission is about the next one, a nonadaptive algorithm: it decides all of its oracle queries before seeing any answer, then computes a set from the answers. Such an algorithm can be run in one round of parallel queries. The paper shows that this restricted access already beats 1/41/41/4 and reaches 1/31/31/3.

Timeline. For Max Directed Cut, a random cut achieves 1/41/41/4. Feige, Mirrokni and Vondrák (FOCS 2007; journal version 2011) proved 1/41/41/4 for a random set and 1/31/31/3 nonadaptively for general nonnegative submodular functions, 1/31/31/3 and 2/52/52/5 by adaptive local search, and that 1/21/21/2 requires exponentially many queries. Buchbinder, Feldman, Naor and Schwartz (FOCS 2012, SIAM J. Comput. 2015) later reached the optimal 1/21/21/2 with a randomized double-greedy algorithm.

Setting

Let XXX be a finite ground set with n=∣X∣≥1n = |X| \ge 1n=∣X∣≥1 elements. A function f:2X→Rf : 2^X \to \mathbb{R}f:2X→R is submodular (Definition 1.1) if

f(S∪T)+f(S∩T)≤f(S)+f(T)for all S,T⊆X.f(S \cup T) + f(S \cap T) \le f(S) + f(T) \qquad \text{for all } S, T \subseteq X .f(S∪T)+f(S∩T)≤f(S)+f(T)for all S,T⊆X.

Throughout, fff is nonnegative, the paper's standing assumption, and OPT=max⁡S⊆Xf(S)OPT = \max_{S \subseteq X} f(S)OPT=maxS⊆X​f(S).

For p∈[0,1]p \in [0,1]p∈[0,1], X(p)X(p)X(p) denotes the random subset of XXX containing each element independently with probability ppp; R=X(1/2)R = X(1/2)R=X(1/2) is a uniformly random subset. For a set A⊆XA \subseteq XA⊆X, A(p)A(p)A(p) is the analogous random subset of AAA. The averaged marginal value of an element (Definition 2.4) is

ω(x)=E[f(R∪{x})−f(R∖{x})],R=X(1/2).\omega(x) = \mathbf{E}\big[f(R \cup \{x\}) - f(R \setminus \{x\})\big], \qquad R = X(1/2).ω(x)=E[f(R∪{x})−f(R∖{x})],R=X(1/2).

Algorithm NA (p. 1139):

  1. by random sampling, compute estimates ω~(x)\tilde\omega(x)ω~(x) with ∣ω~(x)−ω(x)∣<OPT/n2|\tilde\omega(x) - \omega(x)| < OPT/n^2∣ω~(x)−ω(x)∣<OPT/n2 for all xxx, with high probability;
  2. independently, sample R=X(1/2)R = X(1/2)R=X(1/2);
  3. with probability 8/98/98/9 return RRR;
  4. with probability 1/91/91/9 return A={x∈X:ω~(x)>0}A = \{x \in X : \tilde\omega(x) > 0\}A={x∈X:ω~(x)>0}.

Given the estimates, the expected value NA returns is 89 E[f(X(1/2))]+19f(A)\tfrac89\,\mathbf{E}[f(X(1/2))] + \tfrac19 f(A)98​E[f(X(1/2))]+91​f(A).

Formalization targets

Goal: Theorem 2.6 in the explicit form of its proof

For every nonnegative submodular fff and every estimate ω~\tilde\omegaω~ with ∣ω~(x)−ω(x)∣<OPT/n2|\tilde\omega(x) - \omega(x)| < OPT/n^2∣ω~(x)−ω(x)∣<OPT/n2 for all xxx,

89 E[f(X(1/2))]+19 f({x:ω~(x)>0}) ≥ (13−49n) OPT.\frac89\,\mathbf{E}[f(X(1/2))] + \frac19\, f\big(\{x : \tilde\omega(x) > 0\}\big) \ \ge\ \Big(\frac13 - \frac{4}{9n}\Big)\, OPT .98​E[f(X(1/2))]+91​f({x:ω~(x)>0}) ≥ (31​−9n4​)OPT.

The printed theorem says "at least (1/3−o(1)) OPT(1/3 - o(1))\,OPT(1/3−o(1))OPT"; the term 4/(9n)4/(9n)4/(9n) is what the proof establishes (p. 1140, last display).

Milestones

  1. Lemma 2.2: E[g(A(p))]≥(1−p) g(∅)+p g(A)\mathbf{E}[g(A(p))] \ge (1-p)\,g(\emptyset) + p\,g(A)E[g(A(p))]≥(1−p)g(∅)+pg(A) for submodular ggg.
  2. Lemma 2.3: E[f(A(p)∪B(q))]≥(1−p)(1−q)f(∅)+p(1−q)f(A)+(1−p)qf(B)+pqf(A∪B)\mathbf{E}[f(A(p) \cup B(q))] \ge (1-p)(1-q) f(\emptyset) + p(1-q) f(A) + (1-p)q f(B) + pq f(A \cup B)E[f(A(p)∪B(q))]≥(1−p)(1−q)f(∅)+p(1−q)f(A)+(1−p)qf(B)+pqf(A∪B) for independently sampled, possibly overlapping A,BA, BA,B.
  3. For B=X∖AB = X \setminus AB=X∖A and any CCC: f(A)+f(B∩C)+f(B∪C)≥f(C)f(A) + f(B \cap C) + f(B \cup C) \ge f(C)f(A)+f(B∩C)+f(B∪C)≥f(C).
  4. If ω≤OPT/n2\omega \le OPT/n^2ω≤OPT/n2 on BBB: E[f(R∪(B∩C))]≤E[f(R)]+OPT/(2n)\mathbf{E}[f(R \cup (B \cap C))] \le \mathbf{E}[f(R)] + OPT/(2n)E[f(R∪(B∩C))]≤E[f(R)]+OPT/(2n).
  5. E[f(R∪(B∩C))]≥14f(B∩C)+14f(C)\mathbf{E}[f(R \cup (B \cap C))] \ge \tfrac14 f(B \cap C) + \tfrac14 f(C)E[f(R∪(B∩C))]≥41​f(B∩C)+41​f(C).
  6. If ω≥−OPT/n2\omega \ge -OPT/n^2ω≥−OPT/n2 on AAA and B=X∖AB = X \setminus AB=X∖A: E[f(R)]≥E[f(R∩(B∪C))]−OPT/(2n)\mathbf{E}[f(R)] \ge \mathbf{E}[f(R \cap (B \cup C))] - OPT/(2n)E[f(R)]≥E[f(R∩(B∪C))]−OPT/(2n).
  7. E[f(R∩(B∪C))]≥14f(C)+14f(B∪C)\mathbf{E}[f(R \cap (B \cup C))] \ge \tfrac14 f(C) + \tfrac14 f(B \cup C)E[f(R∩(B∪C))]≥41​f(C)+41​f(B∪C).

Milestones 3–7 are the displayed steps of the proof of Theorem 2.6, stated for arbitrary sets where the page's argument does not use the optimality of CCC.

Significance

The theorem shows that nonadaptive access, a fixed batch of polynomially many value queries followed by a computation, suffices for a 1/31/31/3-approximation of unconstrained nonnegative submodular maximization, strictly better than the 1/41/41/4 of any algorithm that must return one of its queried sets (the paper shows 1/41/41/4 is optimal in that class, §4.2). The quantity ω\omegaω generalizes the in-degree/out-degree test for Max Directed Cut to arbitrary submodular functions, and Lemmas 2.2 and 2.3 are general sampling inequalities for submodular functions that the paper reuses for its adaptive smooth local search.

Formalizing it produces machine-checked versions of Lemmas 2.2 and 2.3 as statements about exact finite averages, a reusable expectation operator on product-distributed random subsets, and a checked version of the 1/31/31/3 argument with its explicit error term. The result is proved in the paper; to our knowledge none of it has been formalized in a proof assistant.

Difficulty

The two regimes the proof separates, "AAA is already good" and "one of f(B∩C)f(B \cap C)f(B∩C), f(B∪C)f(B \cup C)f(B∪C) is large", must be tied to the value of a uniformly random set, whereas the elements of AAA and BBB are chosen from estimated averages, not from the optimal set CCC. The natural attempt, comparing f(R)f(R)f(R) with f(C)f(C)f(C) element by element, fails because fff is not monotone: adding elements of CCC to RRR can decrease the value. The accuracy OPT/n2OPT/n^2OPT/n2 of the estimates must also be propagated through a sum over up to nnn elements, which is where the error term 4/(9n)4/(9n)4/(9n) comes from. The sampling lemmas require handling expectations over pairs of independent random subsets of possibly overlapping sets.

Formalization scope

  • The ground set is a Fintype X with DecidableEq, assumed Nonempty, so n=∣X∣≥1n = |X| \ge 1n=∣X∣≥1 and the divisions by nnn and n2n^2n2 are genuine; sets are Finset X; fff is real valued with nonnegativity ∀S, 0≤f(S)\forall S,\ 0 \le f(S)∀S, 0≤f(S) as an explicit hypothesis. Lemmas 2.2 and 2.3 are stated for real fff with no sign condition, as printed.
  • OPTOPTOPT is Finset.univ.sup' _ f, the true maximum over all subsets.
  • Every expectation over an independently sampled random set is the exact finite sum F(x)=∑Sf(S)∏i∈Sxi∏i∉S(1−xi)F(x) = \sum_{S} f(S)\prod_{i \in S} x_i \prod_{i \notin S}(1 - x_i)F(x)=∑S​f(S)∏i∈S​xi​∏i∈/S​(1−xi​); X(1/2)X(1/2)X(1/2) is x≡1/2x \equiv 1/2x≡1/2. Expectations over two independent samples (Lemma 2.3) are the corresponding iterated sums. Sampling probabilities carry the hypotheses 0≤p,q≤10 \le p, q \le 10≤p,q≤1.
  • The goal quantifies over every estimate ω~\tilde\omegaω~ satisfying the printed accuracy ∣ω~(x)−ω(x)∣<OPT/n2|\tilde\omega(x) - \omega(x)| < OPT/n^2∣ω~(x)−ω(x)∣<OPT/n2 (strict), with A={x:ω~(x)>0}A = \{x : \tilde\omega(x) > 0\}A={x:ω~(x)>0} (strict). The "with high probability" of NA's first step is this hypothesis; the sampling estimate that makes it likely (Lemma 2.5, a Chernoff-bound argument) is not part of the goal. When OPT=0OPT = 0OPT=0 the hypothesis is unsatisfiable, but then f≡0f \equiv 0f≡0 and nothing is lost.
  • The left-hand side is exactly the mixture 89 E[f(X(1/2))]+19f(A)\tfrac89\,\mathbf{E}[f(X(1/2))] + \tfrac19 f(A)98​E[f(X(1/2))]+91​f(A). A statement with the maximum of the two terms, with exact values ω~=ω\tilde\omega = \omegaω~=ω, or with the o(1)o(1)o(1) replaced by an existential constant or a limit, is a different (and weaker or stronger) theorem and does not close this mission.
  • Printed slip corrected: in the second display on p. 1140, the "===" before −∣A∖C∣ OPT/(2n2)-|A \setminus C|\,OPT/(2n^2)−∣A∖C∣OPT/(2n2) should be "≥\ge≥"; milestone 6 states the inequality.

Welcome contributions: proofs of Lemmas 2.2 and 2.3 (reusable for mission IV of this series), the identity E[f(R∪{x})−f(R)]=12ω(x)\mathbf{E}[f(R \cup \{x\}) - f(R)] = \tfrac12\omega(x)E[f(R∪{x})−f(R)]=21​ω(x), and general lemmas about the operator FFF (splitting a uniform random set along a partition).

Selected references

  • U. Feige, V. S. Mirrokni, J. Vondrák, Maximizing Non-Monotone Submodular Functions, SIAM J. Comput. 40(4):1133–1153, 2011. https://doi.org/10.1137/090779346
  • N. Buchbinder, M. Feldman, J. Naor, R. Schwartz, A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization, SIAM J. Comput. 44(5):1384–1402, 2015. https://doi.org/10.1137/130929205
12 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

On Properties of Stochastic Inventory Systems IV: The (Q, r) Cost Is Flatter in the Order Quantity than the EOQ CostResearch Paper

Motivation

The continuous-review (Q,r)(Q, r)(Q,r) policy is the standard replenishment rule of inventory theory: whenever the inventory position (stock on hand plus on order minus backorders) drops to the reorder point rrr, order a fixed order quantity QQQ. It is used in practice and taught in every operations management course, usually after the deterministic economic order quantity (EOQ) model, which is the same system with a constant demand stream.

Practitioners and textbooks rely on a robustness property of the EOQ: its cost is very insensitive to the choice of order quantity. If the order quantity is off by a factor α\alphaα, the cost rises only by the factor 12(α+1/α)\tfrac12(\alpha + 1/\alpha)21​(α+1/α); ordering 50% too much costs about 8% extra. The insensitivity of the stochastic (Q,r)(Q, r)(Q,r) system to its control parameters had been observed numerically (Wagner, O'Hagan and Lundh 1965; Naddor 1975; Archibald and Silver 1978), but, as Zheng notes, no analytical result on it was known.

Timeline:

  • 1963: Hadley and Whitin derive the (Q,r)(Q, r)(Q,r) cost for Poisson demand.
  • 1986: Zipkin proves that the average backorders of a (Q,r)(Q,r)(Q,r) policy are jointly convex in (Q,r)(Q, r)(Q,r) under continuous demand (Zipkin 1986).
  • 1992: Zheng derives simple optimality conditions for the continuous (Q,r)(Q, r)(Q,r) model and compares it with the EOQ model under the same cost structure. One of the results is that the stochastic cost curve is flatter in the order quantity than the EOQ curve (Zheng 1992). This mission formalizes that result.

Setting

Demands arrive at rate λ>0\lambda>0λ>0; orders arrive after a fixed leadtime L>0L>0L>0; all stockouts are backordered. Each order costs K>0K>0K>0; holding costs accrue at rate h>0h>0h>0 per unit in stock and penalty costs at rate p>0p>0p>0 per unit backordered. The leadtime demand D≥0D\ge 0D≥0 has distribution μ\muμ with finite mean E(D)=λLE(D) = \lambda LE(D)=λL.

The inventory cost rate at inventory position yyy is

G(y)=E[h(y−D)++p(D−y)+],G(y) = E\big[h(y-D)^+ + p(D-y)^+\big],G(y)=E[h(y−D)++p(D−y)+],

assumed to attain its minimum at a unique point y0y^0y0. The long-run average cost of the policy (Q,r)(Q, r)(Q,r) is

c(Q,r)=λK+∫rr+QG(y) dyQ,Q>0.c(Q, r) = \frac{\lambda K + \int_r^{r+Q} G(y)\,dy}{Q}, \qquad Q>0.c(Q,r)=QλK+∫rr+Q​G(y)dy​,Q>0.

For fixed Q>0Q>0Q>0 let r(Q)r(Q)r(Q) be a reorder point minimizing c(Q,⋅)c(Q,\cdot)c(Q,⋅), and let

C(Q)=c(Q,r(Q)),H(Q)=G(r(Q)) (Q>0),H(0)=G(y0).C(Q) = c(Q, r(Q)), \qquad H(Q) = G(r(Q))\ (Q>0), \quad H(0) = G(y^0).C(Q)=c(Q,r(Q)),H(Q)=G(r(Q)) (Q>0),H(0)=G(y0).

CCC is the cost of the order quantity QQQ when the reorder point is always chosen optimally for it. An optimal order quantity Q∗Q^*Q∗ minimizes CCC over Q>0Q>0Q>0, and C∗=C(Q∗)C^* = C(Q^*)C∗=C(Q∗).

The EOQ model is the same system with the constant leadtime demand λL\lambda LλL. Its cost rate is Gd(y)=h(y−λL)++p(λL−y)+G_d(y) = h(y-\lambda L)^+ + p(\lambda L-y)^+Gd​(y)=h(y−λL)++p(λL−y)+, and rdr_drd​, HdH_dHd​, CdC_dCd​ are the objects above at GdG_dGd​, with optimum Qd∗Q^*_dQd∗​ and Cd∗C^*_dCd∗​.

Formalization targets

Goal: Theorem 4

C(αQ∗)C∗≤12(α+1α)∀α>0.\frac{C(\alpha Q^*)}{C^*} \le \frac12\left(\alpha + \frac1\alpha\right) \qquad \forall \alpha>0.C∗C(αQ∗)​≤21​(α+α1​)∀α>0.

The goal holds for every demand distribution satisfying the standing assumptions and every optimal Q∗Q^*Q∗. Both regimes, α<1\alpha<1α<1 and α>1\alpha>1α>1, are included.

Milestones

In the order the proof uses them:

  1. Eq. (7): ∫r(Q)r(Q)+QG=∫0QH\int_{r(Q)}^{r(Q)+Q} G = \int_0^Q H∫r(Q)r(Q)+Q​G=∫0Q​H, hence C(Q)=(λK+∫0QH(y)dy)/QC(Q) = \big(\lambda K + \int_0^Q H(y)dy\big)/QC(Q)=(λK+∫0Q​H(y)dy)/Q for Q>0Q>0Q>0.
  2. Lemma 4: HHH is increasing and convex on [0,∞)[0,\infty)[0,∞) with asymptotic slope hp/(h+p)hp/(h+p)hp/(h+p).
  3. Eq. (8): an optimal Q∗Q^*Q∗ exists, and Q>0Q>0Q>0 is optimal iff H(Q)=C(Q)H(Q) = C(Q)H(Q)=C(Q).
  4. Eq. (18): Hd(Q)=hph+pQH_d(Q) = \frac{hp}{h+p}QHd​(Q)=h+php​Q, with rd(Q)=λL−hh+pQr_d(Q) = \lambda L - \frac{h}{h+p}Qrd​(Q)=λL−h+ph​Q.
  5. Lemma 7: H0(Q)≤Hd(Q)≤H(Q)H_0(Q) \le H_d(Q) \le H(Q)H0​(Q)≤Hd​(Q)≤H(Q) and A(Q)≤Ad(Q)A(Q)\le A_d(Q)A(Q)≤Ad​(Q), where H0=H−G(y0)H_0 = H - G(y^0)H0​=H−G(y0) and A(Q)=QH(Q)−∫0QHA(Q) = QH(Q) - \int_0^Q HA(Q)=QH(Q)−∫0Q​H.
  6. Eqs. (26)–(27): H(αQ)≤αH(Q)H(\alpha Q)\le \alpha H(Q)H(αQ)≤αH(Q) for α>1\alpha>1α>1 and H(αQ)≥αH(Q)H(\alpha Q)\ge\alpha H(Q)H(αQ)≥αH(Q) for 0<α<10<\alpha<10<α<1.
  7. Lemma 9: ∫QαQH(y) dy≤α2−12 QH(Q)\int_Q^{\alpha Q} H(y)\,dy \le \frac{\alpha^2-1}{2}\,Q H(Q)∫QαQ​H(y)dy≤2α2−1​QH(Q) for all α>0\alpha>0α>0, Q>0Q>0Q>0.

Significance

In the EOQ model the relative cost of a scaled order quantity is exactly Cd(αQd∗)/Cd∗=12(α+1/α)C_d(\alpha Q^*_d)/C^*_d = \tfrac12(\alpha + 1/\alpha)Cd​(αQd∗​)/Cd∗​=21​(α+1/α) (Eq. (25) of the paper). Theorem 4 shows that the stochastic system is at least as forgiving. The bound holds for every leadtime-demand distribution with a unique newsvendor minimizer, and it does not depend on the parameters KKK, hhh, ppp, λ\lambdaλ or LLL. Because the reorder point is re-optimized for each quantity, the bound applies to the practical question of how much a misestimated lot size costs when the safety stock is set correctly.

Together with the other results of the paper (the 1/81/81/8 bound for the EOQ heuristic and the bounds between Q∗Q^*Q∗ and Qd∗Q^*_dQd∗​, which are separate missions of this series), it gives a closed-form account of why the EOQ is a good heuristic for stochastic systems.

The result has a complete published proof. It has not been machine-checked. The work that remains is a formal proof for general distributions: the paper differentiates GGG and r(Q)r(Q)r(Q) twice, and a formal proof has to replace those derivatives with arguments that need no density.

Difficulty

C(Q)C(Q)C(Q) is defined through an inner minimization over the reorder point, so its shape in QQQ is controlled by the implicitly defined function H(Q)=G(r(Q))H(Q) = G(r(Q))H(Q)=G(r(Q)) rather than by GGG directly. The obvious approach would bound C(αQ∗)C(\alpha Q^*)C(αQ∗) with the reorder point fixed at r(Q∗)r(Q^*)r(Q∗). That approach is the wrong comparison: it bounds a larger quantity, and the resulting bound depends on the distribution.

The paper's proof uses three properties of HHH: that it is convex, that its slope never exceeds the EOQ slope hp/(h+p)hp/(h+p)hp/(h+p), and that it dominates HdH_dHd​. The paper obtains these from the derivatives r′(Q)r'(Q)r′(Q) and H′(Q)H'(Q)H′(Q) under a smooth demand distribution. Without a density, r(Q)r(Q)r(Q) is only an argmin and HHH need not be differentiable, so none of these three properties can be read off a derivative formula; the asymptotic slope in particular depends on the finite mean E(D)=λLE(D) = \lambda LE(D)=λL and on the behaviour of GGG at ±∞\pm\infty±∞.

Formalization scope

The mission is set in Lean 4 with Mathlib. All objects are real valued.

  • Model. The structure QRModel bundles λ,L,K,h,p>0\lambda, L, K, h, p>0λ,L,K,h,p>0, a probability measure μ\muμ on R\mathbb{R}R with integrable identity, ∫x dμ=λL\int x\,d\mu = \lambda L∫xdμ=λL, D≥0D\ge 0D≥0 almost surely, and the unique-minimizer hypothesis on GGG. K>0K>0K>0 is implicit in the paper and made explicit here. No density is assumed; deterministic and discrete demands are allowed, and the paper's own numerical study uses Poisson demand.
  • Generic machinery. ccc, r(Q)r(Q)r(Q), y0y^0y0, HHH, H0H_0H0​, CCC and AAA are defined for an arbitrary cost rate and instantiated at GGG and at GdG_dGd​. r(Q)r(Q)r(Q) and y0y^0y0 are chosen minimizers; they are never defined by the equation G(r)=G(r+Q)G(r) = G(r+Q)G(r)=G(r+Q), which is a lemma of the paper. H(0)=G(y0)H(0) = G(y^0)H(0)=G(y0). Values at Q<0Q<0Q<0 (and of ccc, CCC at Q≤0Q\le 0Q≤0) are junk, and every statement restricts to Q>0Q>0Q>0 or Q≥0Q\ge 0Q≥0.
  • Readings of informal words. "Increasing" in Lemma 4 is strict on [0,∞)[0,\infty)[0,∞), since the proof shows H′>0H'>0H′>0. "Asymptotic slope hp/(h+p)hp/(h+p)hp/(h+p)" is stated as H(Q)/Q→hp/(h+p)H(Q)/Q\to hp/(h+p)H(Q)/Q→hp/(h+p) together with the chord bound H(Q2)−H(Q1)≤hph+p(Q2−Q1)H(Q_2)-H(Q_1)\le \frac{hp}{h+p}(Q_2-Q_1)H(Q2​)−H(Q1​)≤h+php​(Q2​−Q1​) for 0≤Q1≤Q20\le Q_1\le Q_20≤Q1​≤Q2​. The chord bound is the derivative-free form of H′≤hp/(h+p)H'\le hp/(h+p)H′≤hp/(h+p) that the proofs of Lemmas 7–9 use. "The optimal order quantity" is IsOptQty Q, meaning Q>0Q>0Q>0 and C(Q)≤C(Q′)C(Q)\le C(Q')C(Q)≤C(Q′) for all Q′>0Q'>0Q′>0. Its existence is asserted in the Eq. (8) milestone, so the goal is not vacuous. "∀α>0\forall\alpha>0∀α>0" is a real α>0\alpha>0α>0 with real division 1/α1/\alpha1/α. In Lemma 9 the integral ∫QαQ\int_Q^{\alpha Q}∫QαQ​ is oriented, as on the page.
  • Ruling out trivializations. C(αQ∗)C(\alpha Q^*)C(αQ∗) re-optimizes the reorder point for αQ∗\alpha Q^*αQ∗; holding it at r(Q∗)r(Q^*)r(Q∗) would be a different theorem. C∗>0C^*>0C∗>0 is a consequence of the model, not a hypothesis.

A complete development needs the following:

  • integrability and continuity of GGG;
  • existence of the optimal reorder point;
  • convexity of HHH;
  • the asymptotics G−Gd→0G - G_d\to 0G−Gd​→0 at ±∞\pm\infty±∞;
  • Jensen's inequality Gd≤GG_d\le GGd​≤G (Eq. (22));
  • existence of Q∗Q^*Q∗.

These facts about newsvendor cost functions are reusable in the other missions of this series. Contributions of any of them as separate lemmas are welcome.

Selected references

  • Y.-S. Zheng, On Properties of Stochastic Inventory Systems, Management Science 38(1):87–103, 1992. https://doi.org/10.1287/mnsc.38.1.87
  • P. H. Zipkin, Inventory Service-Level Measures: Convexity and Approximation, Management Science 32(8):975–981, 1986. https://doi.org/10.1287/mnsc.32.8.975
  • G. Hadley and T. M. Whitin, Analysis of Inventory Systems, Prentice-Hall, 1963.
  • H. M. Wagner, M. O'Hagan and B. Lundh, An Empirical Study of Exactly and Approximately Optimal Inventory Policies, Management Science 11(7):690–723, 1965. https://doi.org/10.1287/mnsc.11.7.690
  • A. Federgruen and Y.-S. Zheng, An Efficient Algorithm for Computing an Optimal (r, Q) Policy in Continuous Review Stochastic Inventory Systems, Operations Research 40(4):808–813, 1992. https://doi.org/10.1287/opre.40.4.808
11 thms3 active usersReviewed
Operations ResearchOptimization·Captain: mikedeng1

On Properties of Stochastic Inventory Systems II: The Optimal Order Quantity of the Stochastic (Q, r) Model Exceeds the EOQ by a Bounded GapResearch Paper

Motivation

The continuous-review (Q,r)(Q, r)(Q,r) policy is the standard control rule for a single stocked item with random demand: whenever the inventory position falls to the reorder point rrr, an order of fixed size QQQ is placed. It is implemented in a large share of commercial inventory systems. Choosing the two parameters jointly has traditionally required numerical search (Hadley and Whitin, 1963; Federgruen and Zheng, 1992). In practice the order quantity is therefore often taken from the deterministic economic order quantity (EOQ) formula with backorders, and the reorder point is then set for the random demand.

Zheng (1992) turned this practice into a question with an exact answer: how does the optimal order quantity Q∗Q^*Q∗ of the stochastic model compare with the EOQ quantity Qd∗Q^*_dQd∗​ computed from the same cost data and the same mean demand? Its Theorem 2 answers it with a two-sided bound. This mission formalizes that theorem. Companion missions of the same series formalize the paper's cost bounds (Theorem 3), the flatness of the cost curve (Theorem 4) and the 1/81/81/8 bound on the cost of using the EOQ quantity (Theorem 5).

Setting

Demand arrives at rate λ>0\lambda > 0λ>0 and replenishment orders arrive after a fixed leadtime L>0L > 0L>0. Shortages are backordered. Holding costs accrue at rate h>0h > 0h>0 per unit held, backorder penalties at rate p>0p > 0p>0 per unit short, and every order costs K>0K > 0K>0. The leadtime demand DDD is a nonnegative random variable with law μ\muμ and mean E(D)=λL\mathbb{E}(D) = \lambda LE(D)=λL. The expected inventory cost rate at inventory position yyy is the newsvendor cost

G(y)=E[h(y−D)++p(D−y)+],G(y) = \mathbb{E}\big[h(y - D)^+ + p(D - y)^+\big],G(y)=E[h(y−D)++p(D−y)+],

assumed, as in the paper, to attain its minimum at a unique point y0y^0y0. The long-run average cost of the policy (Q,r)(Q, r)(Q,r) is

c(Q,r)=λK+∫rr+QG(y) dyQ.c(Q, r) = \frac{\lambda K + \int_r^{r+Q} G(y)\,dy}{Q}.c(Q,r)=QλK+∫rr+Q​G(y)dy​.

For each Q>0Q > 0Q>0, let r(Q)r(Q)r(Q) be an optimal reorder point, i.e. a minimizer of c(Q,⋅)c(Q, \cdot)c(Q,⋅). The analysis runs through the curves

H(Q)=G(r(Q)) (Q>0),H(0)=G(y0),H0(Q)=H(Q)−G(y0),A(Q)=QH(Q)−∫0QH(y) dy,H(Q) = G(r(Q))\ (Q > 0),\quad H(0) = G(y^0),\qquad H_0(Q) = H(Q) - G(y^0),\qquad A(Q) = QH(Q) - \int_0^Q H(y)\,dy,H(Q)=G(r(Q)) (Q>0),H(0)=G(y0),H0​(Q)=H(Q)−G(y0),A(Q)=QH(Q)−∫0Q​H(y)dy,

and through the cost C(Q)=c(Q,r(Q))C(Q) = c(Q, r(Q))C(Q)=c(Q,r(Q)) of order quantity QQQ with the reorder point set optimally. The optimal order quantity Q∗Q^*Q∗ is the minimizer of CCC over Q>0Q > 0Q>0.

The EOQ model is the case of a constant leadtime demand λL\lambda LλL. Its cost rate is Gd(y)=h(y−λL)++p(λL−y)+G_d(y) = h(y - \lambda L)^+ + p(\lambda L - y)^+Gd​(y)=h(y−λL)++p(λL−y)+, and the same construction gives rdr_drd​, HdH_dHd​, AdA_dAd​ and the optimal quantity

Qd∗=2λK(h+p)hp.Q^*_d = \sqrt{\frac{2\lambda K(h+p)}{hp}}.Qd∗​=hp2λK(h+p)​​.

Formalization targets

Goal: Theorem 2 (p. 96)

For K>0K > 0K>0, let Qˉ\bar QQˉ​, Qˉ1\bar Q_1Qˉ​1​, Qˉ2\bar Q_2Qˉ​2​ be the positive solutions of

QH0(Q)=2λK,H0(Q)=Hd(Qd∗),∫0QH0(y) dy=λK.Q H_0(Q) = 2\lambda K,\qquad H_0(Q) = H_d(Q^*_d),\qquad \int_0^Q H_0(y)\,dy = \lambda K.QH0​(Q)=2λK,H0​(Q)=Hd​(Qd∗​),∫0Q​H0​(y)dy=λK.

Each has exactly one positive solution, and

Qd∗≤Q∗≤Qˉ,Qˉ≤Qˉ1,Qˉ≤Qˉ2.Q^*_d \le Q^* \le \bar Q,\qquad \bar Q \le \bar Q_1,\qquad \bar Q \le \bar Q_2.Qd∗​≤Q∗≤Qˉ​,Qˉ​≤Qˉ​1​,Qˉ​≤Qˉ​2​.

Moreover, with λ,L,h,p\lambda, L, h, pλ,L,h,p and the demand law fixed, K↦Qˉ1(K)−Qd∗(K)K \mapsto \bar Q_1(K) - Q^*_d(K)K↦Qˉ​1​(K)−Qd∗​(K) is nondecreasing on (0,∞)(0, \infty)(0,∞) and converges to a finite constant as K→∞K \to \inftyK→∞.

Milestones

The milestones are the paper's own numbered results that feed Theorem 2, listed in the order the argument uses them:

  1. Lemma 2 (p. 90): for Q>0Q > 0Q>0, rrr is optimal iff G(r)=G(r+Q)G(r) = G(r + Q)G(r)=G(r+Q).
  2. Eq. (7) (p. 91): C(Q)=(λK+∫0QH(y) dy)/QC(Q) = (\lambda K + \int_0^Q H(y)\,dy)/QC(Q)=(λK+∫0Q​H(y)dy)/Q.
  3. Lemma 4 (p. 91): HHH is increasing and convex with asymptotic slope hp/(h+p)hp/(h+p)hp/(h+p).
  4. Lemma 6 (p. 92): AAA is increasing and convex, and Q=Q∗Q = Q^*Q=Q∗ iff A(Q)=λKA(Q) = \lambda KA(Q)=λK.
  5. Eqs. (18), (20) (p. 94): Hd(Q)=hph+pQH_d(Q) = \frac{hp}{h+p}QHd​(Q)=h+php​Q, and Qd∗Q^*_dQd∗​ is optimal for the EOQ model.
  6. Lemma 7 (p. 95): H0≤Hd≤HH_0 \le H_d \le HH0​≤Hd​≤H and A≤AdA \le A_dA≤Ad​.
  7. Lemma 8 (p. 95): ∫0QH≥12QH(Q)≥A(Q)≥12QH0(Q)≥∫0QH0\int_0^Q H \ge \tfrac12 QH(Q) \ge A(Q) \ge \tfrac12 QH_0(Q) \ge \int_0^Q H_0∫0Q​H≥21​QH(Q)≥A(Q)≥21​QH0​(Q)≥∫0Q​H0​, with equalities for deterministic demand.

Significance

The result. Theorem 2 says that the EOQ formula always underestimates the optimal order quantity when leadtime demand is random. The underestimate is bounded by Qˉ1−Qd∗\bar Q_1 - Q^*_dQˉ​1​−Qd∗​, a quantity that stays bounded however large the ordering cost is. So the relative error of the EOQ quantity vanishes as KKK grows. The first inequality, Qd∗≤Q∗Q^*_d \le Q^*Qd∗​≤Q∗, is also an ingredient of the paper's Theorem 3 (cost bounds) and Theorem 5 (the EOQ quantity raises costs by at most 1/81/81/8). The explicit bounds Qˉ\bar QQˉ​, Qˉ1\bar Q_1Qˉ​1​, Qˉ2\bar Q_2Qˉ​2​ bracket Q∗Q^*Q∗ and give a search interval for it.

Formalizing it. The theorem has been proved on paper since 1992. No machine-checked version of it, or of the continuous-review (Q,r)(Q, r)(Q,r) cost of Eq. (1), exists on this platform. The inventory items already here treat the discrete cost with integer order quantities, a normally distributed demand, or the EOQ without backorders. This mission provides a machine-checked version of the paper's optimality conditions for a general demand distribution. The paper's argument differentiates GGG twice, i.e. it tacitly assumes a density. The formal statements do not, so a formal proof must redo those steps with one-sided (convexity) arguments. The printed argument for the limit in part (b) shows only that a derivative tends to zero. A complete proof of convergence is part of the work.

Difficulty

The obvious route to Qd∗≤Q∗Q^*_d \le Q^*Qd∗​≤Q∗ compares the two cost curves CCC and CdC_dCd​ directly. It fails because C≥CdC \ge C_dC≥Cd​ pointwise, and a pointwise inequality between two convex functions says nothing about the order of their minimizers. The stochastic curve HHH is defined only implicitly, as GGG evaluated at a minimizer of a parametric integral, so its growth relative to the linear HdH_dHd​ has to be established before any comparison of order quantities. For part (b), a vanishing derivative does not imply convergence (log⁡K\log KlogK also has a vanishing derivative), so the printed proof of the limit does not go through as written.

Without a density, r(Q)r(Q)r(Q) need not be differentiable. Every derivative in the paper's proofs (of rrr, HHH and AAA) must be replaced by monotonicity or chord arguments.

Formalization scope

The Lean development uses the namespace ZhengQR.OrderQty. Its conventions:

  • Parameters. λ,L,K,h,p\lambda, L, K, h, pλ,L,K,h,p are reals, all assumed strictly positive. K>0K > 0K>0 is implicit in the paper; at K=0K = 0K=0 the optimal quantity degenerates.
  • Demand. The law μ\muμ of DDD is a probability measure on R\mathbb{R}R that is integrable, has mean λL\lambda LλL and is carried by [0,∞)[0, \infty)[0,∞). No density is assumed, so discrete laws such as the Poisson of the paper's §4 are allowed.
  • Standing assumption. GGG has a unique global minimizer (p. 90). It is a hypothesis of every statement about the stochastic model.
  • Generic machinery. ccc, r(Q)r(Q)r(Q), y0y^0y0, HHH, CCC, AAA, H0H_0H0​ and optimality of QQQ are defined for an arbitrary cost rate GGG and applied to both the newsvendor cost and GdG_dGd​. So Eqs. (18) and (20) are theorems, not definitions. r(Q)r(Q)r(Q) and y0y^0y0 are chosen minimizers, never solutions of Lemma 2's equation. r(Q)r(Q)r(Q) minimizes ∫rr+QG\int_r^{r+Q}G∫rr+Q​G, which for Q>0Q > 0Q>0 has the same minimizers as c(Q,⋅)c(Q, \cdot)c(Q,⋅), so HHH, H0H_0H0​ and AAA do not depend on KKK.
  • Domains. HHH, H0H_0H0​ and AAA are used on [0,∞)[0, \infty)[0,∞), ccc and CCC for Q>0Q > 0Q>0 only, and Q∗Q^*Q∗ is a Q>0Q > 0Q>0 minimizing CCC over (0,∞)(0, \infty)(0,∞).
  • Readings of informal words.
    • Lemma 4's "increasing" and Lemma 6's "increasing/decreasing" mean strictly.
    • Lemma 4's "asymptotic slope hp/(h+p)hp/(h+p)hp/(h+p)" means H(Q)/Q→hp/(h+p)H(Q)/Q \to hp/(h+p)H(Q)/Q→hp/(h+p) together with the chord bound H(Q′)−H(Q)≤hph+p(Q′−Q)H(Q') - H(Q) \le \frac{hp}{h+p}(Q' - Q)H(Q′)−H(Q)≤h+php​(Q′−Q) for 0≤Q<Q′0 \le Q < Q'0≤Q<Q′.
    • "Qˉ=def{Q:… }\bar Q \overset{\text{def}}{=} \{Q : \dots\}Qˉ​=def{Q:…}" means the unique positive solution. The goal quantifies over every positive solution and separately asserts that exactly one exists.
    • Theorem 2's "increasing function of KKK" means nondecreasing, which is what the paper's proof establishes (a nonnegative derivative).
    • "Converges to a constant" means a finite real limit.
    • Lemma 8's "the leadtime demand is deterministic" means the EOQ model with cost rate GdG_dGd​.
  • Ruling out trivial readings. The goal's hypotheses are satisfiable (for example by a deterministic leadtime demand). Existence of Q∗Q^*Q∗ (Lemma 6) and of Qˉ\bar QQˉ​, Qˉ1\bar Q_1Qˉ​1​, Qˉ2\bar Q_2Qˉ​2​ (the goal itself) is asserted, so neither the bounds nor the limit hold vacuously.

Infrastructure needed includes the following. Much of it is reusable for any single-item inventory model:

  • differentiation under the expectation, or one-sided substitutes, for GGG;
  • convexity of HHH as the inverse of the width of the sublevel sets of GGG;
  • the envelope identity behind Eq. (7);
  • elementary convex-analysis facts about chords.

Contributions welcome: proofs of the milestones in any order, general lemmas on the newsvendor cost, and a complete convergence argument for part (b).

Selected references

  • Y.-S. Zheng, On Properties of Stochastic Inventory Systems, Management Science 38(1):87–103, 1992. https://doi.org/10.1287/mnsc.38.1.87
  • A. Federgruen, Y.-S. Zheng, An Efficient Algorithm for Computing an Optimal (r, Q) Policy in Continuous Review Stochastic Inventory Systems, Operations Research 40(4):808–813, 1992. https://doi.org/10.1287/opre.40.4.808
10 thms3 active usersReviewed
Dynamic ProgrammingOperations ResearchStochastic Systems·Captain: mikedeng1

Asymptotic Optimality of Tailored Base-Surge Policies in Dual-Sourcing Inventory Systems: Asymptotic Optimality of the Best TBS Policy for Long Lead TimesResearch Paper

Motivation

Firms that can buy the same item from two suppliers, a cheap slow one and a fast expensive one, face the dual-sourcing inventory problem: how much to order from each source in every period when demand is random and unmet demand is backlogged. Global sourcing (offshore regular supply plus a near-shore express supply) is the standard example (Allon and Van Mieghem 2010). When the two lead times differ by more than one period, the optimal policy depends on the whole pipeline of outstanding orders. No simple optimal policy is known, and dynamic programming is intractable for long lead times.

The tailored base-surge (TBS) policy orders a constant amount from the slow source and uses the fast source to bring the expedited inventory position up to a fixed level. It is simple, and it is used in practice. Janakiraman, Seshadri and Sheopuri (JSS, Management Science 2015) showed that its best parameters solve a convex program that does not depend on the regular lead time, and they conjectured, with numerical support, that TBS is near-optimal when that lead time is long.

Timeline:

  • Karlin and Scarf (1958), Scarf (1960): structure of optimal single-source backlog policies with a lead time.
  • Sheopuri, Janakiraman and Seshadri (2010): reduction of dual-sourcing policies to the truncated regular pipeline and the expedited inventory position (Lemma 1 here).
  • Allon and Van Mieghem (2010): the TBS policy, with conjectures and numerical evidence.
  • JSS (2015): the TBS cost formula and a convex program for its parameters.
  • Xin and Goldberg (2018): proof of the conjecture with an explicit rate (Management Science 64(1), 2018). This mission formalizes that result.

Setting

Let DDD be a nonnegative random variable with finite mean E[D]\mathbb E[D]E[D] that is not almost surely constant. Demands D1,D2,…D_1, D_2, \dotsD1​,D2​,… are i.i.d. copies of DDD. The regular source has lead time LLL, the express source has lead time L0≥0L_0 \ge 0L0​≥0, and L>L0+1L > L_0 + 1L>L0​+1. In period ttt the controller orders qtR≥0q^R_t \ge 0qtR​≥0 and qtE≥0q^E_t \ge 0qtE​≥0; then qt−LR+qt−L0Eq^R_{t-L} + q^E_{t-L_0}qt−LR​+qt−L0​E​ arrives and DtD_tDt​ is realized, so the on-hand inventory evolves as It+1=It+qt−LR+qt−L0E−DtI_{t+1} = I_t + q^R_{t-L} + q^E_{t-L_0} - D_tIt+1​=It​+qt−LR​+qt−L0​E​−Dt​ and may be negative. Initially nothing is on order and I1=−∑i=1G^D−i′I_1 = -\sum_{i=1}^{\hat G} D'_{-i}I1​=−∑i=1G^​D−i′​, where the D−i′D'_{-i}D−i′​ are further i.i.d. copies of DDD and P(G^=k)=2−k\mathbb P(\hat G = k) = 2^{-k}P(G^=k)=2−k, k≥1k \ge 1k≥1.

The per-period cost is c qt−L0E+G(It+1)c\,q^E_{t-L_0} + G(I_{t+1})cqt−L0​E​+G(It+1​) with G(y)=hy++by−G(y) = h y^+ + b y^-G(y)=hy++by−, where b,h>0b, h > 0b,h>0 and c>0c > 0c>0 is the express premium (the regular unit cost is normalized to 000). An admissible policy π∈Π\pi \in \Piπ∈Π chooses the two orders in period ttt as deterministic measurable functions of (qt−LR,…,qt−1R,qt−L0E,…,qt−1E,It)(q^R_{t-L}, \dots, q^R_{t-1}, q^E_{t-L_0}, \dots, q^E_{t-1}, I_t)(qt−LR​,…,qt−1R​,qt−L0​E​,…,qt−1E​,It​). Its long-run average cost is

C(π)=lim sup⁡T→∞1T∑t=L0+1TE[Ctπ],OPT(L)=inf⁡π∈ΠC(π).C(\pi) = \limsup_{T\to\infty}\frac1T\sum_{t=L_0+1}^T \mathbb E[C^\pi_t], \qquad \mathrm{OPT}(L) = \inf_{\pi\in\Pi}C(\pi).C(π)=T→∞limsup​T1​t=L0​+1∑T​E[Ctπ​],OPT(L)=π∈Πinf​C(π).

With the expedited inventory position I^t=It+∑k=t−L0t−1qkE+∑k=t−Lt−L+L0qkR\hat I_t = I_t + \sum_{k=t-L_0}^{t-1}q^E_k + \sum_{k=t-L}^{t-L+L_0}q^R_kI^t​=It​+∑k=t−L0​t−1​qkE​+∑k=t−Lt−L+L0​​qkR​, the TBS policy πr,S\pi_{r,S}πr,S​ orders qtR=rq^R_t = rqtR​=r and qtE=max⁡(0,S−I^t)q^E_t = \max(0, S - \hat I_t)qtE​=max(0,S−I^t​). A best TBS pair (r∗,S∗)(r^*, S^*)(r∗,S∗) minimizes C(πr,S)C(\pi_{r,S})C(πr,S​) over 0≤r≤E[D]0 \le r \le \mathbb E[D]0≤r≤E[D] and S∈RS \in \mathbb RS∈R (first in rrr through F∞(r)=inf⁡SC(πr,S)F^\infty(r) = \inf_S C(\pi_{r,S})F∞(r)=infS​C(πr,S​), then in SSS).

The constants ϵ0\epsilon_0ϵ0​ and Y0Y_0Y0​ are explicit functionals of the law of DDD and of L0,b,h,cL_0, b, h, cL0​,b,h,c. They are built from g=inf⁡xE[G(x−∑i=1L0+1Di′)]g = \inf_x\mathbb E[G(x - \sum_{i=1}^{L_0+1}D'_i)]g=infx​E[G(x−∑i=1L0​+1​Di′​)], U=c E[D]+E[G(−∑i=1L0+1Di′)]U = c\,\mathbb E[D] + \mathbb E[G(-\sum_{i=1}^{L_0+1}D'_i)]U=cE[D]+E[G(−∑i=1L0​+1​Di′​)], p0=P(D<E[D])p_0 = \mathbb P(D < \mathbb E[D])p0​=P(D<E[D]), the mean absolute deviation η0\eta_0η0​, and the large-deviation quantities γϵ,ϑϵ\gamma_\epsilon, \vartheta_\epsilonγϵ​,ϑϵ​ of ϕϵ(θ)=eθ(E[D]−ϵ)E[e−θD]\phi_\epsilon(\theta) = e^{\theta(\mathbb E[D]-\epsilon)}\mathbb E[e^{-\theta D}]ϕϵ​(θ)=eθ(E[D]−ϵ)E[e−θD] (p. 441).

Formalization targets

Goal: Theorem 1 (p. 441)

For all L0≥0L_0 \ge 0L0​≥0, ϵ∈(0,1)\epsilon \in (0,1)ϵ∈(0,1) and L>ϵ0−2+Y0ϵ−2L > \epsilon_0^{-2} + Y_0\epsilon^{-2}L>ϵ0−2​+Y0​ϵ−2,

C(πr∗,S∗)OPT(L)<1+ϵ.\frac{C(\pi_{r^*,S^*})}{\mathrm{OPT}(L)} < 1 + \epsilon.OPT(L)C(πr∗,S∗​)​<1+ϵ.

The threshold does not depend on LLL, so the statement gives an explicit, inverse-polynomial rate. Its limit form C(πr∗,S∗)/OPT(L)→1C(\pi_{r^*,S^*})/\mathrm{OPT}(L) \to 1C(πr∗,S∗​)/OPT(L)→1 is Corollary 1 of the paper.

Milestones

In the order the proof uses them:

  • the bound g≤OPT(L)≤Ug \le \mathrm{OPT}(L) \le Ug≤OPT(L)≤U;
  • Lemma 1, the reduction to Π^\hat\PiΠ^ (quoted from Sheopuri et al.);
  • Eq. (3), the TBS cost formula C(πr,S)=c(E[D]−r)+E[G(I∞r+S−∑i=1L0+1Di′)]C(\pi_{r,S}) = c(\mathbb E[D]-r) + \mathbb E[G(I^r_\infty + S - \sum_{i=1}^{L_0+1}D'_i)]C(πr,S​)=c(E[D]−r)+E[G(I∞r​+S−∑i=1L0​+1​Di′​)] (quoted from JSS);
  • Theorem 2, the existence of a stationary-like vector (χ∗,L,q∗,L,I∗,L)(\chi^{*,L}, q^{*,L}, \mathcal I^{*,L})(χ∗,L,q∗,L,I∗,L) with rL=E[χ1∗,L]r_L = \mathbb E[\chi^{*,L}_1]rL​=E[χ1∗,L​];
  • Corollary 2 and Lemma 2, the lower bound OPT(L)≥c(E[D]−rL)+(1−α)VαL−L0(rL,−∞)\mathrm{OPT}(L) \ge c(\mathbb E[D]-r_L) + (1-\alpha)V^{L-L_0}_\alpha(r_L,-\infty)OPT(L)≥c(E[D]−rL​)+(1−α)VαL−L0​​(rL​,−∞) through a discounted single-source problem;
  • Lemma 3, the Bellman equation and structure of that problem (quoted from JSS and Scarf 1960);
  • Lemma 4 (8) and (9), and Corollary 3, the passage to the infinite horizon and to base-stock policies;
  • Lemma 5, the random-walk maxima MkrM^r_kMkr​ (proof omitted in the paper);
  • Lemmas 8–9 and Corollary 4: rL<E[D]−ϵ0r_L < \mathbb E[D] - \epsilon_0rL​<E[D]−ϵ0​ once L>ϵ0−2+L0+1L > \epsilon_0^{-2} + L_0 + 1L>ϵ0−2​+L0​+1.

Significance

The theorem shows that one of the simplest dual-sourcing heuristics is asymptotically optimal as the regular lead time grows. This is the regime where exact dynamic programming is hopeless. The best TBS parameters come from a convex program independent of LLL, so the result yields an algorithm whose running time does not grow with LLL and whose optimality gap is bounded explicitly for every finite LLL. It extends the lower-bounding technique of Xin and Goldberg's lost-sales work (Operations Research 2016) from a static to a dynamic relaxation.

Formalization adds the following. To the best of available knowledge, none of the objects involved (average-cost inventory control with backlog, TBS policies, Lindley-type maxima of random walks with their Spitzer identity) exists in Mathlib or on the platform. The paper's proof defers several ingredients to the literature or omits them: Lemma 1, Eq. (3), Lemma 3, and the details of Lemmas 5 and 7. A complete formal proof must supply them. The result is proved on paper but not formalized anywhere.

Difficulty

An optimal dual-sourcing policy need not be stationary, its induced Markov chain need not have a stationary distribution, and the inventory is unbounded below. The natural argument would compare the optimal policy's steady state with the TBS steady state, and it fails at its first step. Theorem 2 replaces the steady state by a vector with a few distributional properties, built from time averages. That construction, and the independence structure it must carry, is the central technical step. The conditional Jensen step then leads to a single-source problem with possibly negative demand, where textbook interchange-of-limits theorems do not apply directly. Finally, bounding rLr_LrL​ away from E[D]\mathbb E[D]E[D] requires a quantitative lower bound on the growth of random-walk maxima under only a first-moment assumption.

Formalization scope

Conventions of the Lean development (namespace XinGoldbergTBS.Asymptotic):

  • The law of DDD is a probability measure on R\mathbb RR with no mass on (−∞,0)(-\infty,0)(−∞,0), finite mean, and no atom of mass 111. The paper's "strictly positive (possibly infinite) variance" is read as "not almost surely constant".
  • cR=0c_R = 0cR​=0, b>0b > 0b>0, h>0h > 0h>0, c>0c > 0c>0, and L,L0L, L_0L,L0​ are natural numbers. The paper's standing assumption L>L0+1L > L_0 + 1L>L0​+1 is a hypothesis wherever the paper states it; in Theorem 1 it follows from the threshold.
  • Costs, expectations, C(π)C(\pi)C(π), OPT(L)\mathrm{OPT}(L)OPT(L), VαnV^n_\alphaVαn​ and Vα∞V^\infty_\alphaVα∞​ take values in [0,∞][0,\infty][0,∞], so infinite costs are never truncated. The ratio in Theorem 1 is stated as C(πr∗,S∗)<(1+ϵ)OPT(L)C(\pi_{r^*,S^*}) < (1+\epsilon)\mathrm{OPT}(L)C(πr∗,S∗​)<(1+ϵ)OPT(L), which is equivalent because 0<g≤OPT(L)≤U<∞0 < g \le \mathrm{OPT}(L) \le U < \infty0<g≤OPT(L)≤U<∞.
  • Π\PiΠ is exactly the paper's class: deterministic, time-dependent, measurable, nonnegative orders that depend on the pipeline and inventory. It is neither restricted to stationary policies nor enlarged to randomized ones. TBS policies are members, so C(πr,S)≥OPT(L)C(\pi_{r,S}) \ge \mathrm{OPT}(L)C(πr,S​)≥OPT(L) by construction.
  • ϑϵ∈[0,∞]\vartheta_\epsilon \in [0,\infty]ϑϵ​∈[0,∞] is the supremum of the minimizers of ϕϵ\phi_\epsilonϕϵ​ on [0,∞)[0,\infty)[0,∞), and it is ∞\infty∞ if the infimum is not attained; 1/∞=01/\infty = 01/∞=0.
  • The existence of a best TBS pair is asserted in the paper via JSS. The goal therefore also asserts that some TBS policy with 0≤r≤E[D]0 \le r \le \mathbb E[D]0≤r≤E[D] meets the bound, so it cannot hold vacuously when no minimizer exists.
  • rLr_LrL​ belongs to a witness of Theorem 2, and the results that use it hold for every witness.
  • The single-source class Πˉ\bar\PiΠˉ ("feasible nonanticipative policies, as typically defined") is read as nonnegative orders that are measurable functions of past demands. In Lemma 3 "increasing" is read as nondecreasing, and convexity in xxx includes finiteness.
  • The paper states Eq. (3) without a range for rrr; it is stated here for 0≤r≤E[D]0 \le r \le \mathbb E[D]0≤r≤E[D], the TBS parameters over which the paper optimizes. At r=E[D]r = \mathbb E[D]r=E[D] both sides are +∞+\infty+∞. In Lemma 8, the range's upper end is +∞+\infty+∞ when ϵ=0\epsilon = 0ϵ=0.
  • Differences such as Vα∞−VαnV^\infty_\alpha - V^n_\alphaVα∞​−Vαn​ and M∞r−MnrM^r_\infty - M^r_nM∞r​−Mnr​ are stated additively, and the negative terms of (9) and Corollary 3 are moved to the other side.

Lemma 1, Eq. (3) and Lemma 3 are results the paper quotes from Sheopuri et al. (2010), JSS and Scarf (1960). Proposition 1 (conditional-expectation form of the bound) is not included.

A trivializing formalization is ruled out: OPT(L)\mathrm{OPT}(L)OPT(L) ranges over the full admissible class, the constants are definitions rather than hypotheses, and the goal includes an existence clause.

Reusable beyond this mission: average-cost inventory models with lead times, discounted single-source backlog value functions, and Spitzer-type identities for random-walk maxima. Contributions to any milestone are welcome.

Selected references

  • L. Xin and D. A. Goldberg, Asymptotic Optimality of Tailored Base-Surge Policies in Dual-Sourcing Inventory Systems, Management Science 64(1):437–452, 2018. https://doi.org/10.1287/mnsc.2016.2607
  • G. Janakiraman, S. Seshadri and A. Sheopuri, Analysis of Tailored Base-Surge Policies in Dual Sourcing Inventory Systems, Management Science 61(7):1547–1561, 2015.
  • G. Allon and J. A. Van Mieghem, Global Dual Sourcing: Tailored Base-Surge Allocation to Near- and Offshore Production, Management Science 56(1):110–124, 2010.
  • A. Sheopuri, G. Janakiraman and S. Seshadri, New Policies for the Stochastic Inventory Control Problem with Two Supply Sources, Operations Research 58(3):734–745, 2010.
  • H. Scarf, The Optimality of (s, S) Policies in the Dynamic Inventory Problem, in Mathematical Methods in the Social Sciences, Stanford University Press, 1960, pp. 196–202.
  • L. Xin and D. A. Goldberg, Optimality Gap of Constant-Order Policies Decays Exponentially in the Lead Time for Lost Sales Models, Operations Research 64(6):1556–1565, 2016.
20 thms3 active usersReviewed
Dynamic ProgrammingOperations ResearchStatistics·Captain: mikedeng1

Markovian Decision Processes with Uncertain Transition Probabilities II: Max-Max and Max-Min Optimal Returns Bound the Bayesian Optimal ReturnResearch Paper

Motivation

A Markovian decision process (Howard, 1960) models a controller who, in each of finitely many states, picks a decision, earns a reward and moves to a random next state according to known transition probabilities. In applications (inventory control, equipment replacement, quality control) those probabilities are estimated, not known. Satia and Lave (Operations Research 21(3), 1973) treat the uncertainty in two ways: a game-theoretic formulation, in which each unknown row only lies in a given set, and a Bayesian formulation, going back to Silver (1963) and Martin (1967), in which the controller holds a prior on the unknown matrix and learns from observed transitions.

The Bayesian problem is the natural one but its state includes the whole prior, so it cannot be solved exactly beyond small cases. The paper's contribution in the Bayesian part is a pair of computable bounds on the Bayesian optimal return in terms of the two game-theoretic values (max-max and max-min). This mission formalizes those bounds and the chain of facts they rest on.

Setting

There are NNN states iii and, in state iii, a finite nonempty set KiK_iKi​ of decisions. A transition i→ji \to ji→j under decision kkk earns rijkr^k_{ij}rijk​ and rewards are discounted by β\betaβ, 0≤β<10 \le \beta < 10≤β<1. The row pik=(pijk)jp_i^k = (p^k_{ij})_jpik​=(pijk​)j​ of transition probabilities is unknown; it is known to lie in a closed convex nonempty set SikS_i^kSik​ of probability vectors, and S={P:pik∈Sik for all i,k}S = \{P : p_i^k \in S_i^k \text{ for all } i, k\}S={P:pik​∈Sik​ for all i,k}.

A prior ggg is a probability distribution on matrices P=(pik)P = (p_i^k)P=(pik​) whose rows are all probability vectors. Its means are pˉijk=E(pijk)\bar p^k_{ij} = E(p^k_{ij})pˉ​ijk​=E(pijk​). After a transition l→jl \to jl→j under decision mmm the prior is replaced by the Bayes transformation Tljmg(P)=C pljm g(P)T^m_{lj} g(P) = C\,p^m_{lj}\,g(P)Tljm​g(P)=Cpljm​g(P) (Eq. (8)), with CCC the normalizing constant. The Bayesian optimal return f(i,g)f(i,g)f(i,g) solves the recursion

f(i,g)=max⁡k∈Ki{∑jpˉijkrijk+β∑jpˉijkf(j,Tijkg)}.(10)f(i, g) = \max_{k \in K_i} \Big\{ \sum_j \bar p^k_{ij} r^k_{ij} + \beta \sum_j \bar p^k_{ij} f(j, T^k_{ij} g) \Big\}. \qquad (10)f(i,g)=k∈Ki​max​{j∑​pˉ​ijk​rijk​+βj∑​pˉ​ijk​f(j,Tijk​g)}.(10)

The max-max and max-min values V+V^+V+, V−V^-V− solve

Vi±=max⁡k∈Kimax/min⁡pik∈Sik{∑jpijkrijk+β∑jpijkVj±},V_i^\pm = \max_{k \in K_i} \operatorname*{max/min}_{p_i^k \in S_i^k} \Big\{ \sum_j p^k_{ij} r^k_{ij} + \beta \sum_j p^k_{ij} V_j^\pm \Big\},Vi±​=k∈Ki​max​pik​∈Sik​max/min​{j∑​pijk​rijk​+βj∑​pijk​Vj±​},

with max for V+V^+V+ and min for V−V^-V−. Finally α=prob⁡(P∈S∣g)\alpha = \operatorname{prob}(P \in S \mid g)α=prob(P∈S∣g), the prior probability that the true matrix lies in SSS.

The Lean development lives in the namespace SatiaLave.Bayes: UncertainMDP, IsPrior, pbar, bayes, SolvesEq10, SolvesVplus, SolvesVminus, alpha, rmax, rmin, policyValue.

Formalization targets

Goal: Propositions 9 and 10

For every bounded solution fff of (10), all solutions V+V^+V+, V−V^-V−, every prior ggg and every state iii,

αVi−+(1−α)min⁡i,j,krijk1−β  ≤  f(i,g)  ≤  αVi++(1−α)max⁡i,j,krijk1−β,\alpha V_i^- + (1-\alpha)\min_{i,j,k}\frac{r^k_{ij}}{1-\beta} \;\le\; f(i,g) \;\le\; \alpha V_i^+ + (1-\alpha)\max_{i,j,k}\frac{r^k_{ij}}{1-\beta},αVi−​+(1−α)i,j,kmin​1−βrijk​​≤f(i,g)≤αVi+​+(1−α)i,j,kmax​1−βrijk​​,

together with the existence of fff, V+V^+V+ and V−V^-V−. Both halves are the paper's printed statements.

Milestones

  1. Proposition 6 (Martin): (9)/(10) has a unique bounded solution (unique at priors).
  2. No learning (p. 733): at a point-mass prior δP\delta_PδP​, f(⋅,δP)f(\cdot,\delta_P)f(⋅,δP​) solves the optimality equations of the process with known PPP.
  3. Proposition 8: f(i,g)f(i,g)f(i,g) is convex in ggg.
  4. Jensen step (proof of Proposition 9): f(i,g)≤∫f(i,δP) dg(P)f(i,g) \le \int f(i,\delta_P)\,dg(P)f(i,g)≤∫f(i,δP​)dg(P).
  5. Policy step (proof of Proposition 10): f(i,g)≥∫[q+βPAq+β2[PA]2q+⋯ ]i dg(P)f(i,g) \ge \int [q + \beta P^A q + \beta^2 [P^A]^2 q + \cdots]_i\,dg(P)f(i,g)≥∫[q+βPAq+β2[PA]2q+⋯]i​dg(P) for every pure stationary policy AAA.

Significance

The result. The bounds sandwich an intractable quantity between two quantities computable by finite algorithms (the max-max and max-min policy-iteration procedures of the same paper), weighted by a single prior probability α\alphaα. When the prior concentrates on SSS (α→1\alpha \to 1α→1) the bounds become Vi−≤f(i,g)≤Vi+V_i^- \le f(i,g) \le V_i^+Vi−​≤f(i,g)≤Vi+​: the Bayesian return lies between the pessimistic and optimistic robust values. They are the upper and lower bounds on the return that the paper's implicit-enumeration method (the decision tree of its Fig. 2 and Proposition 12) uses to compare decisions. The Jensen step is a value-of-information inequality (Bayesian optimal return is at most the expected full-information optimal return), which recurs throughout Bayesian control and bandit theory.

Formalizing it. The results are proved on paper (Propositions 6 and 8 by reference to Martin's book and Satia's thesis, Propositions 9 and 10 in the text); none is machine-checked. The mission produces a Lean model of Bayes-adaptive Markov decision processes with priors as measures, the Bayes transformation and its fixed-point recursion, and the link between the Bayesian and the robust (rectangular) formulations. Martin's existence-uniqueness theorem and the convexity of the Bayesian value are reusable for any Bayes-adaptive model.

Difficulty

The prior space is infinite-dimensional and not a vector space, so the recursion (10) lives on a space of measures, and the usual finite-state arguments do not apply verbatim. Proposition 8 gives convexity only along finite mixtures, while the proof of Proposition 9 applies Jensen's inequality to the integral mixture g=∫δP dg(P)g = \int \delta_P\,dg(P)g=∫δP​dg(P) of point masses; bridging the two, or proving the value-of-information inequality directly, is the central step. The paper also restricts the point masses to xik∈Sikx_i^k \in S_i^kxik​∈Sik​, which cannot represent a prior with mass outside SSS; the formal statement integrates over every transition matrix, as the next line of the paper's display requires. Measurability of P↦f(i,δP)P \mapsto f(i,\delta_P)P↦f(i,δP​) is not automatic, since fff is only characterized by a functional equation.

Formalization scope

  • States are a nonempty Fintype S; decisions a dependent family D i of nonempty finite types. A matrix is P : (i : S) → D i → S → ℝ with the product Borel σ\sigmaσ-algebra.
  • Priors are measures: a probability measure giving full mass to matrices whose rows are probability vectors. This generalizes the paper's densities g(P)g(P)g(P) and includes the point masses axa_xax​ its proof uses.
  • Bayes transformation at pˉ=0\bar p = 0pˉ​=0: the normalizing constant does not exist; bayes then returns ggg. That posterior is always multiplied by pˉ=0\bar p = 0pˉ​=0 in (10), so the choice is immaterial.
  • Readings of informal words. "The problem reduces to a Markovian decision process" = at a point-mass prior, fixed by every Bayes transformation, fff solves the known-PPP optimality equations. "Convex in ggg" = convex along mixtures of priors. "Unique set of bounded functions" = two bounded solutions agree at every prior (values at non-priors are unconstrained). "Satisfy (9)" is formalized as (10), which the paper derives from (9) by linearity of EEE. max⁡P∈S\max_{P\in S}maxP∈S​/min⁡P∈S\min_{P\in S}minP∈S​ in V±V^\pmV± is taken over the row pik∈Sikp_i^k \in S_i^kpik​∈Sik​ (the only row that enters; SSS is a product), as ⨆/⨅ over a nonempty bounded set. "Obviously f(i,g)≥ViAf(i,g)\ge V_i^Af(i,g)≥ViA​" is stated for every pure stationary policy AAA, not only a max-min optimal one. The policy return is the componentwise series ∑nβn(PA)nq\sum_n \beta^n (P^A)^n q∑n​βn(PA)nq.
  • Added hypotheses, not printed: 0≤β<10 \le \beta < 10≤β<1; Sik≠∅S_i^k \ne \emptysetSik​=∅; N≥1N \ge 1N≥1. Printed and kept: SikS_i^kSik​ closed and convex.
  • fff, V+V^+V+, V−V^-V− are quantified as solutions of their equations; α\alphaα is computed from ggg, never a free parameter; max⁡i,j,k[rijk/(1−β)]\max_{i,j,k}[r^k_{ij}/(1-\beta)]maxi,j,k​[rijk​/(1−β)] ranges over all states i,ji,ji,j and k∈Kik \in K_ik∈Ki​. Integrability of the integrands in milestones 4 and 5 is part of their conclusions.
  • Trivializations ruled out. A free α∈[0,1]\alpha \in [0,1]α∈[0,1], or fff defined off priors, would make the goal false or vacuous; the goal also asserts that bounded fff and V±V^\pmV± exist, so its universal part is not vacuous.
  • Not in scope: Proposition 7 (matrix-beta conjugacy, which needs a Dirichlet distribution), Propositions 11–13 and the numerical example.

Welcome contributions: the Banach fixed-point argument for (10) on bounded functions of priors; lemmas that bayes maps priors to priors and that point masses are fixed; continuity of the known-PPP optimal value in PPP; a general Jensen inequality for functions convex along mixtures of probability measures.

Selected references

  • J. K. Satia and R. E. Lave, Jr., Markovian Decision Processes with Uncertain Transition Probabilities, Operations Research 21(3), 728–740, 1973. https://doi.org/10.1287/opre.21.3.728
  • J. J. Martin, Bayesian Decision Problems and Markov Chains, Wiley, New York, 1967.
  • E. A. Silver, Markovian Decision Processes with Uncertain Transition Probabilities or Rewards, Interim Technical Report No. 1, Operations Research Center, Massachusetts Institute of Technology, August 1963.
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • J. K. Satia, Markovian Decision Process with Uncertain Transition Matrices or/and Probabilistic Observation of States, Ph.D. dissertation, Stanford University, 1968.
7 thms3 active usersReviewed
🏆Completed
Graph TheoryTheoretical Computer Science·Captain: mikedeng1

A Simple Parallel Algorithm for the Maximal Independent Set Problem I: One Round of Monte Carlo Algorithm A or B Removes an Expected Eighth of the EdgesResearch Paper

Motivation

A maximal independent set (MIS) of a graph is a set of vertices, no two adjacent, to which no further vertex can be added. Sequentially an MIS is found greedily in linear time, but the greedy scan is inherently serial. Whether an MIS can be found fast in parallel was a central question of parallel complexity in the early 1980s: an MIS algorithm is a subroutine for maximal matching, vertex colouring with Δ+1\Delta + 1Δ+1 colours, and many other symmetry-breaking tasks.

  • Karp and Wigderson (STOC 1984; J. ACM 32, 1985) gave the first fast parallel algorithms for MIS: a randomized one and a deterministic one, both with running time O((log⁡n)4)O((\log n)^4)O((logn)4), placing MIS in NC4^44.
  • Luby (SIAM J. Comput. 15(4), 1986) gave the Monte Carlo algorithms analysed in this mission, together with a derandomization that yields a deterministic EREW P-RAM algorithm with O((log⁡n)2)O((\log n)^2)O((logn)2) running time, placing MIS in NC2^22. Alon, Babai and Itai (J. Algorithms 7, 1986) independently found a Monte Carlo algorithm similar to Algorithm B.

Luby's algorithm is the standard textbook example of a randomized parallel algorithm and remains the basis of distributed MIS algorithms in the LOCAL model. Its analysis rests on one statement, Theorem 1 of the paper, which this mission formalizes.

Setting

All algorithms in the paper run the same loop on a finite simple undirected input graph G=(V,E)G = (V, E)G=(V,E) with n=∣V∣n = |V|n=∣V∣ vertices. The current graph is G′=(V′,E′)G' = (V', E')G′=(V′,E′), initially GGG. For W⊆V′W \subseteq V'W⊆V′ the neighbourhood is N(W)={i∈V′:∃j∈W, (i,j)∈E′}N(W) = \{ i \in V' : \exists j \in W,\ (i,j) \in E' \}N(W)={i∈V′:∃j∈W, (i,j)∈E′}. One execution of the loop body selects a set I′⊆V′I' \subseteq V'I′⊆V′ independent in G′G'G′, adds it to the output, and replaces G′G'G′ by the subgraph induced on V′−(I′∪N(I′))V' - (I' \cup N(I'))V′−(I′∪N(I′)). The loop stops when G′G'G′ is empty.

For i∈V′i \in V'i∈V′ write adj(i)\mathrm{adj}(i)adj(i) for its neighbours and d(i)=∣adj(i)∣d(i) = |\mathrm{adj}(i)|d(i)=∣adj(i)∣ for its degree. The two Monte Carlo select steps are:

  • Algorithm A. Every vertex draws a priority π(i)\pi(i)π(i) uniformly from {1,…,n4}\{1, \dots, n^4\}{1,…,n4}, independently. A vertex enters I′I'I′ when its priority is strictly smaller than the priority of each of its neighbours.
  • Algorithm B. Every vertex independently sets coin(i)=1\mathrm{coin}(i) = 1coin(i)=1 with probability 1/(2d(i))1/(2d(i))1/(2d(i)), or always if d(i)=0d(i) = 0d(i)=0. Let XXX be the set of vertices with coin 111. A vertex of XXX enters I′I'I′ when each of its neighbours in XXX has strictly smaller degree.

Let YkY_kYk​ be the number of edges of E′E'E′ before the kkk-th execution of the loop body. The number of edges eliminated by that execution is Yk−Yk+1Y_k - Y_{k+1}Yk​−Yk+1​: exactly the edges of G′G'G′ with at least one endpoint in I′∪N(I′)I' \cup N(I')I′∪N(I′). For d(i)≥1d(i) \ge 1d(i)≥1 the paper uses the weight sum(i)=∑j∈adj(i)1/d(j)\mathrm{sum}(i) = \sum_{j \in \mathrm{adj}(i)} 1/d(j)sum(i)=∑j∈adj(i)​1/d(j).

Formalization targets

Goal: Theorem 1

For the current graph G′G'G′ and n≥max⁡(1,∣V′∣)n \ge \max(1, |V'|)n≥max(1,∣V′∣),

E[YkA−Yk+1A]≥18 YkA−116,E[YkB−Yk+1B]≥18 YkB.E\big[Y_k^A - Y_{k+1}^A\big] \ge \tfrac18\, Y_k^A - \tfrac1{16}, \qquad E\big[Y_k^B - Y_{k+1}^B\big] \ge \tfrac18\, Y_k^B .E[YkA​−Yk+1A​]≥81​YkA​−161​,E[YkB​−Yk+1B​]≥81​YkB​.

The constants are those printed in the paper. No connectivity, degree or size condition on G′G'G′ is assumed.

Milestones

  1. §3.2, p. 1040. The priorities of Algorithm A are pairwise distinct with probability at least 1−1/(2n2)1 - 1/(2n^2)1−1/(2n2).
  2. TECHNICAL LEMMA, p. 1043. For p1≥⋯≥pn≥0p_1 \ge \dots \ge p_n \ge 0p1​≥⋯≥pn​≥0 and c>0c > 0c>0, with αl=∑j≤lpj\alpha_l = \sum_{j \le l} p_jαl​=∑j≤l​pj​, βl=∑j<k≤lpjpk\beta_l = \sum_{j < k \le l} p_j p_kβl​=∑j<k≤l​pj​pk​ and γl=αl−cβl\gamma_l = \alpha_l - c\beta_lγl​=αl​−cβl​,
max⁡1≤l≤nγl≥12min⁡{αn,1/c}.\max_{1 \le l \le n} \gamma_l \ge \tfrac12 \min\{\alpha_n, 1/c\}.1≤l≤nmax​γl​≥21​min{αn​,1/c}.
  1. LEMMA A (Beame), p. 1041. For Algorithm A and d(i)≥1d(i) \ge 1d(i)≥1,
Pr⁡[i∈N(I′)]≥[14min⁡{sum(i),1}](1−12n2).\Pr[i \in N(I')] \ge \big[\tfrac14\min\{\mathrm{sum}(i), 1\}\big]\big(1 - \tfrac{1}{2n^2}\big).Pr[i∈N(I′)]≥[41​min{sum(i),1}](1−2n21​).
  1. LEMMA B, p. 1042. For Algorithm B and d(i)≥1d(i) \ge 1d(i)≥1,
Pr⁡[i∈N(I′)]≥14min⁡{sum(i)/2,1}.\Pr[i \in N(I')] \ge \tfrac14 \min\{\mathrm{sum}(i)/2, 1\}.Pr[i∈N(I′)]≥41​min{sum(i)/2,1}.
  1. Proof of Theorem 1, first display, p. 1041. For any random choice of I′I'I′,
E[Yk−Yk+1]≥12∑id(i)Pr⁡[i∈I′∪N(I′)]≥12∑id(i)Pr⁡[i∈N(I′)].E[Y_k - Y_{k+1}] \ge \tfrac12 \sum_i d(i)\Pr[i \in I' \cup N(I')] \ge \tfrac12 \sum_i d(i) \Pr[i \in N(I')].E[Yk​−Yk+1​]≥21​i∑​d(i)Pr[i∈I′∪N(I′)]≥21​i∑​d(i)Pr[i∈N(I′)].
  1. Proof of Theorem 1, closing chain, p. 1041.
12∑sum(i)≤2d(i) sum(i)+∑sum(i)>2d(i)≥∣E′∣.\tfrac12 \sum_{\mathrm{sum}(i) \le 2} d(i)\,\mathrm{sum}(i) + \sum_{\mathrm{sum}(i) > 2} d(i) \ge |E'|.21​sum(i)≤2∑​d(i)sum(i)+sum(i)>2∑​d(i)≥∣E′∣.

Significance

Theorem 1 says that each round removes, in expectation, a constant fraction of the remaining edges. From it the paper derives that the expected number of rounds of either algorithm is O(log⁡n)O(\log n)O(logn), and hence that MIS has a Monte Carlo algorithm running in O(log⁡n)O(\log n)O(logn) expected time on a CRCW P-RAM and O((log⁡n)2)O((\log n)^2)O((logn)2) on an EREW P-RAM with O(m)O(m)O(m) processors. Algorithm B and the proof of part (2) are also the basis of the paper's deterministic algorithm: the analysis of Lemma B uses only pairwise independence of the coins. The companion mission (A Simple Parallel Algorithm for the Maximal Independent Set Problem II) formalizes that derandomization and reuses the statements of milestones 2, 5 and 6.

The results are proved in the paper and reproduced in textbooks (e.g. Motwani and Raghavan, Randomized Algorithms), but not formalized: no statement of Theorem 1, Lemma A or Lemma B was found on the platform. A formal proof would make the per-round analysis of a standard parallel randomized algorithm reusable. That includes the degree-weighted counting of milestone 6 and the Bonferroni-type bound of the Technical Lemma, both of which recur in later analyses of distributed symmetry breaking.

Difficulty

The obvious argument tries to show that a fixed vertex enters I′I'I′ with good probability. That fails, because a high-degree vertex rarely wins against all its neighbours. The analysis instead bounds the probability that a vertex is removed, i.e. lands in N(I′)N(I')N(I′). This event is a union over neighbours of dependent events, so the first Bonferroni inequality alone does not give a lower bound: the pairwise-intersection terms must be controlled. The union bound can also be very lossy when sum(i)\mathrm{sum}(i)sum(i) is large, which is why the conclusion involves a minimum with a constant.

A second obstacle is the passage from vertices to edges: vertices of small sum(i)\mathrm{sum}(i)sum(i) can have high degree while contributing little probability. The per-vertex bounds therefore have to be summed with degree weights and redistributed over edges. For Algorithm A there is an additional complication: priorities from {1,…,n4}\{1, \dots, n^4\}{1,…,n4} can collide, so the argument about a uniformly random order holds only on the event that π\piπ is injective. That event appears as the factor 1−1/(2n2)1 - 1/(2n^2)1−1/(2n2).

Formalization scope

  • Graph. The current graph G′G'G′ is a SimpleGraph V on a finite type with decidable adjacency, and V′=VV' = VV′=V. The degree is SimpleGraph.degree, adj(i)\mathrm{adj}(i)adj(i) is neighborFinset, and Yk=∣E′∣Y_k = |E'|Yk​=∣E′∣ is edgeFinset.card.
  • Conditional form. Theorem 1 is stated for a fixed current graph G′G'G′, i.e. conditionally on the first k−1k - 1k−1 rounds, as in the paper's proof. The unconditional statement follows by averaging.
  • Input size. nnn is a parameter with 1≤n1 \le n1≤n and ∣V′∣≤n|V'| \le n∣V′∣≤n. It is not fixed to ∣V′∣|V'|∣V′∣, which would cover only the first round.
  • Select steps. Both endpoints' ALGEDGE runs are applied to every edge, since E′E'E′ contains each edge in both orientations. Hence Algorithm A keeps iii iff π(i)<π(j)\pi(i) < \pi(j)π(i)<π(j) for all neighbours jjj. Algorithm B keeps i∈Xi \in Xi∈X iff d(j)<d(i)d(j) < d(i)d(j)<d(i) for all neighbours j∈Xj \in Xj∈X. Algorithm B's I′I'I′ starts at XXX; the page leaves I′I'I′ uninitialized in §3.3, and Algorithm D's code (p. 1047) has I′←XI' \leftarrow XI′←X.
  • Laws. Probabilities and expectations are explicit finite sums: uniform over the (n4)∣V∣(n^4)^{|V|}(n4)∣V∣ priority vectors, and the product law over the 2∣V∣2^{|V|}2∣V∣ coin vectors. A coin of an isolated vertex is 111 with probability 111, as on the page.
  • Milestones. Milestone 5 is stated for an arbitrary finite distribution of I′I'I′, which contains both algorithms' laws. Milestone 6 divides out the common factor 18\tfrac1881​ of the printed chain.

Theorem 1 is false for arbitrary distributions of priorities or coins. A formalization that takes "Pr" as an unconstrained parameter, conditions on the event of interest, or replaces nnn by ∣V′∣|V'|∣V′∣ does not state the paper's theorem.

A complete development needs finite product probability spaces, inclusion–exclusion (Bonferroni) inequalities for finite unions, the symmetry of uniform priorities conditioned on injectivity, and degree-sum identities (SimpleGraph.sum_degrees_eq_twice_card_edges). The Technical Lemma and milestones 5 and 6 are reusable beyond this mission. Proofs of any milestone, and alternative proofs of Lemmas A and B, are welcome.

Selected references

  • M. Luby, A Simple Parallel Algorithm for the Maximal Independent Set Problem, SIAM J. Comput. 15(4):1036–1053, 1986. https://doi.org/10.1137/0215074
  • R. M. Karp and A. Wigderson, A Fast Parallel Algorithm for the Maximal Independent Set Problem, J. ACM 32(4):762–773, 1985. https://doi.org/10.1145/4221.4226
  • N. Alon, L. Babai and A. Itai, A Fast and Simple Randomized Parallel Algorithm for the Maximal Independent Set Problem, J. Algorithms 7(4):567–583, 1986. https://doi.org/10.1016/0196-6774(86)90019-2
  • R. Motwani and P. Raghavan, Randomized Algorithms, Cambridge University Press, 1995. https://doi.org/10.1017/CBO9780511814075
8 thms3 active usersReviewed
Operations ResearchOptimization·Captain: mikedeng1

Optimizing Strategic Safety Stock Placement in Supply Chains: Binding Base Stocks Are Optimal in a Serial System without Guaranteed Internal ServiceResearch Paper

Motivation

Where to hold safety stock in a multi-stage supply chain is a basic question of inventory planning. Graves and Willems (MSOM 2(1), 2000) optimize safety-stock placement under the guaranteed-service assumption: each stage quotes a service time to its customers and always meets it. That assumption makes the placement problem tractable, and it is the basis of the dynamic program in the body of the paper and of later work built on it. It also has a price. A stage that promises a service time must hold enough stock to keep the promise even when it would be cheaper to let a downstream stage absorb an occasional delay.

The paper's Appendix measures that price in the simplest setting where it can be computed exactly. The setting is a serial chain in which internal stages promise nothing and only the external customer is guaranteed 100% service. Its one theorem, called the Result, characterizes the optimal base stocks of this relaxed model in closed form. The paper then compares that policy with the guaranteed-service optimum on 36 test instances. The guaranteed-service counterpart of this serial model, Simpson's all-or-nothing property of optimal service times, is on Prove2Me as a separate statement (SupplyChainTheory.gs_all_or_nothing, from Snyder and Shen's textbook). This mission formalizes the other side of the comparison.

Setting

A serial supply chain has NNN stages. Stage 111 is the demand node and stage iii supplies stage i−1i-1i−1 for i=2,…,Ni = 2, \dots, Ni=2,…,N. Time is discrete, with periods t∈Zt \in \mathbb{Z}t∈Z. Stage iii has a deterministic lead time Ti∈NT_i \in \mathbb{N}Ti​∈N and a base stock Bi∈RB_i \in \mathbb{R}Bi​∈R. It follows a base-stock policy: in each period it observes end-item demand and orders that amount from its supplier.

The end-item demand in period ttt is d(t)d(t)d(t). The window demand is d(a,b]=d(a+1)+⋯+d(b)d(a, b] = d(a+1) + \dots + d(b)d(a,b]=d(a+1)+⋯+d(b), which is 000 when a≥ba \ge ba≥b. The demand bound D:N→RD : \mathbb{N} \to \mathbb{R}D:N→R gives D(τ)D(\tau)D(τ), the maximum possible end-item demand over τ\tauτ periods, with D(0)=0D(0) = 0D(0)=0.

The backlog Qi(t)Q_i(t)Qi​(t) is the amount the customer of stage iii has ordered but not yet received. It satisfies the recursion (A1):

Qi(t)=[d(t−Ti,t]+Qi+1(t−Ti)−Bi]+,QN+1≡0.Q_i(t) = \bigl[d(t - T_i, t] + Q_{i+1}(t - T_i) - B_i\bigr]^+, \qquad Q_{N+1} \equiv 0 .Qi​(t)=[d(t−Ti​,t]+Qi+1​(t−Ti​)−Bi​]+,QN+1​≡0.

Unrolling it gives the closed max-form (A2). The external customer receives 100% service when Q1(t)=0Q_1(t) = 0Q1​(t)=0 for all ttt. When demand never exceeds its bound, this is ensured by the service constraints

B1+⋯+Bi≥D(T1+⋯+Ti),i=1,…,N.(A3)B_1 + \dots + B_i \ge D(T_1 + \dots + T_i), \qquad i = 1, \dots, N. \tag{A3}B1​+⋯+Bi​≥D(T1​+⋯+Ti​),i=1,…,N.(A3)

Let hih_ihi​ be the holding cost at stage iii and ei=hi−hi+1e_i = h_i - h_{i+1}ei​=hi​−hi+1​ the echelon holding cost. After constant terms are dropped, the expected holding cost gives program P∗\mathbf P^*P∗:

min⁡B ∑i=1NhiBi−∑i=2Nei−1E[Qi]s.t. (A3) and Bi≥0.\min_B\ \sum_{i=1}^N h_i B_i - \sum_{i=2}^N e_{i-1} E[Q_i] \quad\text{s.t. (A3) and } B_i \ge 0 .Bmin​ i=1∑N​hi​Bi​−i=2∑N​ei−1​E[Qi​]s.t. (A3) and Bi​≥0.

Demand is random, and E[Qi]E[Q_i]E[Qi​] is the expected backlog at stage iii in a period ttt.

Formalization targets

Goal: the Result, Eq. (A6)

If the echelon holding costs are nonnegative and DDD is nondecreasing, then an optimal solution of P∗\mathbf P^*P∗ is

B1=D(T1),Bi=D(T1+⋯+Ti)−D(T1+⋯+Ti−1),i=2,…,N.(A6)B_1 = D(T_1), \qquad B_i = D(T_1 + \dots + T_i) - D(T_1 + \dots + T_{i-1}), \quad i = 2, \dots, N. \tag{A6}B1​=D(T1​),Bi​=D(T1​+⋯+Ti​)−D(T1​+⋯+Ti−1​),i=2,…,N.(A6)

Formally, (A6) is feasible, and for every period ttt its objective value is at most that of every feasible vector. The goal names this vector and compares it with every feasible BBB. The weaker claim that "some optimal solution binds all of (A3)" would not be enough.

Milestones

  1. Eq. (A2). The closed max-form of Qi(t)Q_i(t)Qi​(t), derived from the recursion (A1).
  2. Eq. (A3). Under the demand bound d(a,a+s]≤D(s)d(a, a+s] \le D(s)d(a,a+s]≤D(s), the constraints (A3) force Q1≡0Q_1 \equiv 0Q1​≡0 (sufficiency).
  3. (A6) is feasible and is the unique binding solution of (A3).
  4. Backlog bounds under a transfer. Moving Δ≥0\Delta \ge 0Δ≥0 units of base stock from stage kkk to stage k+1k+1k+1 leaves E[Qi]E[Q_i]E[Qi​] unchanged for i>k+1i > k+1i>k+1 and raises it by at most Δ\DeltaΔ for i≤ki \le ki≤k. It lowers E[Qk+1]E[Q_{k+1}]E[Qk+1​] by at most Δ\DeltaΔ.
  5. Eqs. (A7)–(A8). For k<Nk < Nk<N, the transfer that makes the kkk-th constraint binding keeps the vector feasible and does not raise the objective.
  6. The case k=Nk = Nk=N. Lowering BNB_NBN​ until the NNN-th constraint binds does not raise the objective.

Significance

The Result shows that, without guaranteed internal service, the optimal base stocks do not depend on the holding costs, provided the echelon costs are nonnegative. Each stage then covers exactly the increment of maximal demand that its own lead time adds. This closed form is the benchmark against which the paper measures the cost of guaranteed service: 26% more safety-stock holding cost on average over its test problems. The paper also remarks, without proof, that Rosling's transformation extends the Result to assembly systems.

The Result is proved in the paper. As far as is known, neither it nor the backlog identity (A2) has been machine-checked. A complete development would yield a verified model of serial base-stock backlogs under bounded demand. It would also verify an exchange argument that recurs in multi-echelon inventory theory: moving stock toward the customer, with echelon costs controlling the sign of the change.

Difficulty

The objective is not linear in BBB. Each E[Qi]E[Q_i]E[Qi​] is a convex, nonsmooth function of Bi,…,BNB_i, \dots, B_NBi​,…,BN​ through the maximum in (A2), and the objective subtracts these terms, so P∗\mathbf P^*P∗ minimizes a concave function over a polyhedron. The obvious approaches are linear-programming duality and convex first-order optimality conditions on P∗\mathbf P^*P∗, and neither applies. The result is a comparison of objective values between arbitrary feasible vectors and (A6). It has to hold pathwise under every demand distribution, and it then has to be carried through expectations. The hypotheses the Result leaves implicit must be recovered from the rest of the paper. Two of them, stated below, are necessary.

Formalization scope

Stages are natural numbers read on the range {1,…,N}\{1, \dots, N\}{1,…,N}. Lead times are natural numbers cast to Z\mathbb{Z}Z. Base stocks, holding costs and the demand bound are real-valued. A base-stock vector is a function N→R\mathbb{N} \to \mathbb{R}N→R, and only indices 1,…,N1, \dots, N1,…,N are read. The backlog is defined by the recursion (A1), computed in N+1−iN + 1 - iN+1−i steps, with Qi≡0Q_i \equiv 0Qi​≡0 for i>Ni > Ni>N. The closed form (A2) is a theorem. Randomness is a probability space (Ω,μ)(\Omega, \mu)(Ω,μ) with a demand path d(ω,⋅)d(\omega, \cdot)d(ω,⋅) whose value in each period is integrable. The integrability of the backlog is not assumed; it follows from the integrability of demand.

The page's informal words are read as follows:

  • "The echelon holding costs are nonnegative" means hi−hi+1≥0h_i - h_{i+1} \ge 0hi​−hi+1​≥0 for 1≤i<N1 \le i < N1≤i<N, and hN≥0h_N \ge 0hN​≥0, i.e. eN≥0e_N \ge 0eN​≥0 with hN+1:=0h_{N+1} := 0hN+1​:=0. The case k=Nk = Nk=N of the proof uses hN≥0h_N \ge 0hN​≥0. Without it the Result is false (N=1N = 1N=1, h1<0h_1 < 0h1​<0).
  • D(0)=0D(0) = 0D(0)=0 is the paper's convention (§2, p. 70) and is added as a hypothesis. Without it (A6) can be infeasible (D≡−1D \equiv -1D≡−1 is nondecreasing).
  • "D( )D(\,)D() is a nondecreasing function" means Monotone D on N\mathbb{N}N.
  • "An optimal solution to P∗\mathbf P^*P∗" means feasible, with objective at most that of every feasible vector.
  • "E[Qi]E[Q_i]E[Qi​]" means the expectation of Qi(t)Q_i(t)Qi​(t) at a fixed period ttt. Every statement holds for all ttt, and stationarity is not assumed. The paper writes E[Qi]E[Q_i]E[Qi​] without ttt because its demand is stationary, and this reading is at least as strong.
  • The demand bound d(a,a+s]≤D(s)d(a, a+s] \le D(s)d(a,a+s]≤D(s) appears only in milestone 2. The Result does not use it, so it is not a hypothesis of the goal.
  • Eq. (A3) is formalized in the sufficiency direction only. The page's necessity remark ("as we assume that the demand bounds can be realized") is not stated.

A non-integrable backlog would make its Bochner integral 000 and erase the backlog terms of the objective. The formalization rules this out by assuming integrable demand, which makes the backlogs integrable; it does not assume the backlogs themselves integrable. Out of scope: the spanning-tree dynamic program of §5, the unproved remarks of §§3–4, the Rosling extension, the Kodak application and the computational study.

Useful contributions include a proof of (A2) by downward induction on stages, the integrability of Qi(t)Q_i(t)Qi​(t), the pathwise version of milestone 4, and the iteration argument that assembles milestones 3, 5 and 6 into the goal.

Selected references

  • S. C. Graves and S. P. Willems, Optimizing Strategic Safety Stock Placement in Supply Chains, Manufacturing & Service Operations Management 2(1):68–83, 2000. https://doi.org/10.1287/msom.2.1.68.23267
  • K. F. Simpson, In-Process Inventories, Operations Research 6(6):863–873, 1958. https://doi.org/10.1287/opre.6.6.863
  • K. Rosling, Optimal Inventory Policies for Assembly Systems under Random Demands, Operations Research 37(4):565–579, 1989. https://doi.org/10.1287/opre.37.4.565
  • L. V. Snyder and Z.-J. M. Shen, Fundamentals of Supply Chain Theory, Wiley, 2nd ed., 2019. https://doi.org/10.1002/9781119584445
9 thms3 active usersReviewed
🏆Completed
CombinatoricsOperations ResearchOptimization+1·Captain: mikedeng1

Maximizing Non-Monotone Submodular Functions I: A Uniformly Random Set Achieves 1/4 of the Optimum, and 1/2 for Symmetric FunctionsResearch Paper

Motivation

Many combinatorial optimization problems ask for a subset of a finite ground set that maximizes a set function with diminishing returns: Max Cut and Max Directed Cut in graphs, facility location, maximum entropy sampling, and welfare problems in combinatorial auctions all fit this pattern. The common abstraction is the maximization of a submodular function, the discrete analogue of a concave function. Unlike the monotone case, where the objective only grows as elements are added, the non-monotone problem has no constraint at all and is still NP-hard, since Max Cut is a special case.

For Max Cut and Max Directed Cut, the simplest algorithm there is, putting every vertex on a side by an independent fair coin, already cuts half, respectively a quarter, of the optimum in expectation. Feige, Mirrokni and Vondrák (SIAM J. Comput. 40(4), 2011; extended abstract at FOCS 2007) showed that this is not a feature of cut functions: the same random choice achieves the same factors for every nonnegative submodular function, and for every symmetric one. This mission formalizes that result, Theorem 2.1 of the paper, together with the two sampling lemmas on which it rests. The paper's other results (a nonadaptive 1/3-approximation, deterministic and smoothed local search, and query lower bounds) are the subjects of companion missions in the same series.

Setting

Let XXX be a finite set with n=∣X∣n = |X|n=∣X∣ elements. A set function assigns a real number f(S)f(S)f(S) to every subset S⊆XS \subseteq XS⊆X. It is submodular if

f(S∪T)+f(S∩T)≤f(S)+f(T)for all S,T⊆X,f(S \cup T) + f(S \cap T) \le f(S) + f(T) \qquad \text{for all } S, T \subseteq X,f(S∪T)+f(S∩T)≤f(S)+f(T)for all S,T⊆X,

equivalently if the marginal value f(B∪{x})−f(B)f(B \cup \{x\}) - f(B)f(B∪{x})−f(B) of an element xxx does not increase as the set BBB grows. It is symmetric if f(X∖S)=f(S)f(X \setminus S) = f(S)f(X∖S)=f(S) for every S⊆XS \subseteq XS⊆X; the cut function of an undirected graph is the standard example. The optimum is

OPT=max⁡S⊆Xf(S).OPT = \max_{S \subseteq X} f(S).OPT=S⊆Xmax​f(S).

For p∈[0,1]p \in [0,1]p∈[0,1], X(p)X(p)X(p) denotes the random subset of XXX containing each element independently with probability ppp; similarly A(p)A(p)A(p) is the random subset of a fixed A⊆XA \subseteq XA⊆X. The Random Set Algorithm (RS) returns R=X(1/2)R = X(1/2)R=X(1/2), a uniformly random subset of XXX, without querying fff. Its expected value is the average of fff over all subsets,

E[f(R)]=F(12,…,12)=12n∑S⊆Xf(S),\mathbf{E}[f(R)] = F(\tfrac12, \dots, \tfrac12) = \frac{1}{2^n} \sum_{S \subseteq X} f(S),E[f(R)]=F(21​,…,21​)=2n1​S⊆X∑​f(S),

where F(x)=∑S⊆Xf(S)∏i∈Sxi∏i∉S(1−xi)F(x) = \sum_{S \subseteq X} f(S) \prod_{i \in S} x_i \prod_{i \notin S} (1 - x_i)F(x)=∑S⊆X​f(S)∏i∈S​xi​∏i∈/S​(1−xi​) is the multilinear extension of fff, the expectation of fff on a random set that includes element iii independently with probability xix_ixi​.

Formalization targets

Goal: Theorem 2.1

For every nonnegative submodular f:2X→R+f : 2^X \to \mathbb{R}_+f:2X→R+​,

E[f(X(1/2))]≥14 OPT,\mathbf{E}[f(X(1/2))] \ge \tfrac14\, OPT,E[f(X(1/2))]≥41​OPT,

and if fff is in addition symmetric,

E[f(X(1/2))]≥12 OPT.\mathbf{E}[f(X(1/2))] \ge \tfrac12\, OPT.E[f(X(1/2))]≥21​OPT.

Both parts form the goal, stated as one theorem. The constants 14\tfrac1441​ and 12\tfrac1221​ are exact, not asymptotic, and they are tight: the directed cut of a single arc attains 14\tfrac1441​, and the cut of a single edge attains 12\tfrac1221​.

Milestones

  1. Lemma 2.2. For submodular g:2X→Rg : 2^X \to \mathbb{R}g:2X→R, A⊆XA \subseteq XA⊆X and p∈[0,1]p \in [0,1]p∈[0,1],
E[g(A(p))]≥(1−p) g(∅)+p g(A).\mathbf{E}[g(A(p))] \ge (1-p)\, g(\emptyset) + p\, g(A).E[g(A(p))]≥(1−p)g(∅)+pg(A).
  1. Lemma 2.3. For submodular f:2X→Rf : 2^X \to \mathbb{R}f:2X→R, sets A,B⊆XA, B \subseteq XA,B⊆X that need not be disjoint, independent samples A(p)A(p)A(p), B(q)B(q)B(q), and p,q∈[0,1]p, q \in [0,1]p,q∈[0,1],
E[f(A(p)∪B(q))]≥(1−p)(1−q)f(∅)+p(1−q)f(A)+(1−p)qf(B)+pqf(A∪B).\mathbf{E}[f(A(p) \cup B(q))] \ge (1-p)(1-q) f(\emptyset) + p(1-q) f(A) + (1-p)q f(B) + pq f(A \cup B).E[f(A(p)∪B(q))]≥(1−p)(1−q)f(∅)+p(1−q)f(A)+(1−p)qf(B)+pqf(A∪B).
  1. The display in the proof of Theorem 2.1. For submodular f:2X→Rf : 2^X \to \mathbb{R}f:2X→R and every S⊆XS \subseteq XS⊆X, with Sˉ=X∖S\bar S = X \setminus SSˉ=X∖S,
E[f(X(1/2))]≥14f(∅)+14f(S)+14f(Sˉ)+14f(X).\mathbf{E}[f(X(1/2))] \ge \tfrac14 f(\emptyset) + \tfrac14 f(S) + \tfrac14 f(\bar S) + \tfrac14 f(X).E[f(X(1/2))]≥41​f(∅)+41​f(S)+41​f(Sˉ)+41​f(X).

The milestones need no sign on the function; nonnegativity enters only in the goal.

Significance

The result. Theorem 2.1 gives an algorithm that makes no query at all and is still a constant-factor approximation for unconstrained non-monotone submodular maximization. It sets the baseline that every later algorithm for the problem is measured against: the paper's own nonadaptive 13\tfrac1331​-algorithm and its local search algorithms with factors 13\tfrac1331​ and 25\tfrac2552​, followed by later work culminating in the tight 12\tfrac1221​-approximation of Buchbinder, Feldman, Naor and Schwartz (FOCS 2012). The paper also shows that 14\tfrac1441​ is optimal among nonadaptive algorithms required to return one of the queried sets, and that 12\tfrac1221​ is optimal for symmetric functions among all algorithms using polynomially many value queries, so both factors of Theorem 2.1 have a precise place in the complexity landscape. Lemma 2.3, the probabilistic inequality behind it, is reused in the analyses of the nonadaptive algorithm and of smooth local search.

Formalizing it. The result is proved, with a short proof. What this mission adds is a machine-checked version of the random-set guarantee and of the two sampling lemmas, stated for arbitrary finite ground sets and, for the lemmas, for real-valued submodular functions without a sign. To our knowledge none of these statements has a machine-checked proof; Mathlib has no theory of submodular set functions or of their multilinear extension.

Difficulty

The goal itself is a two-line consequence of the third milestone. The work sits in the lemmas and in one change of viewpoint.

Lemma 2.2 is not a pointwise statement: the random set A(p)A(p)A(p) can be any subset of AAA, and ggg can be smaller on it than both g(∅)g(\emptyset)g(∅) and g(A)g(A)g(A). The inequality holds only in expectation, and only because submodularity controls the marginal value of each element uniformly across the sets it can be added to. Lemma 2.3 needs a conditioning argument over two independent samples; the sets AAA and BBB may overlap, and on A∩BA \cap BA∩B the union A(p)∪B(q)A(p) \cup B(q)A(p)∪B(q) contains an element with probability 1−(1−p)(1−q)1 - (1-p)(1-q)1−(1−p)(1−q), so it is not the product distribution with probability ppp on AAA and qqq on BBB. Finally, the third milestone requires identifying the uniform random subset X(1/2)X(1/2)X(1/2) with the union of independent half-samples of SSS and of its complement, as a statement about finite sums.

The obvious attempt at the goal, comparing f(R)f(R)f(R) with f(S∗)f(S^*)f(S∗) for an optimal S∗S^*S∗ set by set, fails: fff is not monotone, so a random set that contains most of S∗S^*S∗ may still have small value, and a random set can pick up elements that hurt.

Formalization scope

The ground set is a Lean type X with [Fintype X] [DecidableEq X]; subsets are Finset X and set functions are f : Finset X → ℝ. Submodularity is the lattice inequality of Definition 1.1, not the decreasing-marginals property. Nonnegativity, the paper's standing assumption f:2X→R+f : 2^X \to \mathbb{R}_+f:2X→R+​, is the hypothesis ∀ S, 0 ≤ f S; it appears only in the goal. Symmetry is ∀ S, f Sᶜ = f S for all subsets, not only for an optimal one. OPTOPTOPT is Finset.univ.sup' Finset.univ_nonempty f, a maximum over the always nonempty family of all subsets, so it is attained. The ground set may be empty; the goal holds there too and no nonemptiness is assumed.

Expectations are written as exact finite sums, not as integrals. E[f(X(1/2))]\mathbf{E}[f(X(1/2))]E[f(X(1/2))] is the multilinear extension F f (fun _ => 1/2). E[g(A(p))]\mathbf{E}[g(A(p))]E[g(A(p))] is ∑T⊆Ap∣T∣(1−p)∣A∖T∣g(T)\sum_{T \subseteq A} p^{|T|}(1-p)^{|A \setminus T|} g(T)∑T⊆A​p∣T∣(1−p)∣A∖T∣g(T), and E[f(A(p)∪B(q))]\mathbf{E}[f(A(p) \cup B(q))]E[f(A(p)∪B(q))] is the double sum over independent samples S⊆AS \subseteq AS⊆A, T⊆BT \subseteq BT⊆B with the product of the two weights. The ranges 0≤p≤10 \le p \le 10≤p≤1 and 0≤q≤10 \le q \le 10≤q≤1, implied in the paper by the word "probability", are explicit hypotheses; Lemma 2.2 is false without them.

Trivializing formalizations are excluded: the weights are exactly those of the uniform distribution on all 2n2^n2n subsets, OPTOPTOPT is the true maximum rather than the value at one fixed set, and fff is required to be both nonnegative and submodular.

Reusable infrastructure produced by a complete development: the multilinear extension of a set function and its expression as an expectation, product-weight identities for independent sampling of subsets (including the decomposition of X(1/2)X(1/2)X(1/2) along a set and its complement), and Lemmas 2.2 and 2.3, which the companion missions on the nonadaptive algorithm and on smooth local search also need. Proofs of any milestone are welcome independently.

Selected references

  • U. Feige, V. S. Mirrokni, J. Vondrák, Maximizing Non-Monotone Submodular Functions, SIAM Journal on Computing 40(4):1133–1153, 2011. https://doi.org/10.1137/090779346
  • U. Feige, V. S. Mirrokni, J. Vondrák, Maximizing non-monotone submodular functions, Proceedings of the 48th IEEE Symposium on Foundations of Computer Science (FOCS), 2007, pp. 461–471. https://doi.org/10.1109/FOCS.2007.29
  • N. Buchbinder, M. Feldman, J. Naor, R. Schwartz, A Tight Linear Time (1/2)-Approximation for Unconstrained Submodular Maximization, SIAM Journal on Computing 44(5):1384–1402, 2015 (FOCS 2012). https://doi.org/10.1137/130929205
  • G. L. Nemhauser, L. A. Wolsey, M. L. Fisher, An analysis of approximations for maximizing submodular set functions — I, Mathematical Programming 14:265–294, 1978. https://doi.org/10.1007/BF01588971
8 thms3 active usersReviewed
CombinatoricsOperations ResearchOptimization+1·Captain: mikedeng1

Approximation Techniques for Average Completion Time Scheduling I: Best-α on One Machine with Release DatesResearch Paper

Motivation

Minimizing the average completion time of jobs that arrive over time is one of the basic objectives of machine scheduling: it measures how long, on average, a job waits in the system. On a single machine with release dates and no preemption (written 1∣rj∣∑Cj1|r_j|\sum C_j1∣rj​∣∑Cj​), the problem is strongly NP-hard, so research has focused on approximation algorithms whose guarantees are stated against every feasible schedule.

The standard route runs through the preemptive relaxation. When jobs may be interrupted and resumed, the shortest-remaining-processing-time rule (SRPT) produces an optimal schedule, and its value is a lower bound for every nonpreemptive schedule. The question is how to turn that preemptive schedule into a nonpreemptive one without losing too much.

Timeline:

  • 1995, Phillips, Stein and Wein (WADS 1995, pp. 86–97): order the jobs by their SRPT completion times and schedule them nonpreemptively in that order. This gives a 2-approximation. Later 2-approximations are by Hoogeveen and Vestjens (IPCO 1996), Stougie (1995), and Goemans (SODA 1997). Hoogeveen and Vestjens also showed that deterministic on-line algorithms cannot beat 2.
  • 2001, Chekuri, Motwani, Natarajan and Stein (SIAM J. Comput. 31(1)): order by α\alphaα-points instead of completion times, choose α\alphaα at random, and take the best α\alphaα off-line. This gives the e/(e−1)≈1.58e/(e-1)\approx1.58e/(e−1)≈1.58 bound for Best-α\alphaα that is the goal of this mission, and an optimal randomized on-line algorithm.
  • 1999, Afrati et al. (FOCS 1999): a polynomial-time approximation scheme for 1∣rj∣∑wjCj1|r_j|\sum w_jC_j1∣rj​∣∑wj​Cj​. This settled the approximability of the problem, but the resulting algorithms are far from simple.

Setting

An instance has nnn jobs J0,…,Jn−1J_0,\dots,J_{n-1}J0​,…,Jn−1​. Job JjJ_jJj​ has a processing time pj>0p_j>0pj​>0, a release date rj≥0r_j\ge0rj​≥0, and, where the objective is weighted, a weight wj>0w_j>0wj​>0. There is one machine.

A nonpreemptive schedule assigns each job a start time Sj≥rjS_j\ge r_jSj​≥rj​ such that the intervals [Sj,Sj+pj)[S_j,S_j+p_j)[Sj​,Sj​+pj​) are pairwise disjoint. Its completion times are Cj=Sj+pjC_j=S_j+p_jCj​=Sj​+pj​.

A preemptive schedule PPP specifies, for each time ttt, which job runs at ttt, if any. Job JjJ_jJj​ runs only at times t≥max⁡(0,rj)t\ge\max(0,r_j)t≥max(0,rj​), receives exactly pjp_jpj​ units of processing in total, and finishes by some finite time. Its completion time CjPC^P_jCjP​ is the first time by which all of JjJ_jJj​ has been processed. For α∈(0,1]\alpha\in(0,1]α∈(0,1], its α\alphaα-point CjP(α)C^P_j(\alpha)CjP​(α) is the first time by which αpj\alpha p_jαpj​ units have been processed.

For a job JiJ_iJi​, TiT_iTi​ denotes the idle time of PPP before CiPC^P_iCiP​. xijx_{ij}xij​ denotes the fraction of JjJ_jJj​ processed before CiPC^P_iCiP​. The paper writes SiP(β)S^P_i(\beta)SiP​(β) for the set of jobs with xij=βx_{ij}=\betaxij​=β, and also for their total processing time.

One-machine list scheduling in a given order runs the jobs nonpreemptively in that order. Each job starts at the later of its release date and the completion of the previous job in the list. An α\alphaα-schedule is list scheduling in nondecreasing order of the α\alphaα-points CjP(α)C^P_j(\alpha)CjP​(α). CjαC^\alpha_jCjα​ denotes the completion times of an α\alphaα-schedule.

Random-α\alphaα draws α\alphaα from a distribution on (0,1](0,1](0,1] and outputs the α\alphaα-schedule. Best-α\alphaα outputs the α\alphaα-schedule of smallest total completion time min⁡α∑jCjα\min_\alpha\sum_j C^\alpha_jminα​∑j​Cjα​.

Formalization targets

Goal: Corollary 2.7

Let PPP be optimal among preemptive schedules for ∑jCj\sum_j C_j∑j​Cj​. Then there is α∈(0,1]\alpha\in(0,1]α∈(0,1] such that every α\alphaα-schedule derived from PPP satisfies

∑jCjα  ≤  ee−1∑jCjfor every feasible nonpreemptive schedule (Cj)j.\sum_j C^\alpha_j\;\le\;\frac{e}{e-1}\sum_j C_j\qquad\text{for every feasible nonpreemptive schedule } (C_j)_j .j∑​Cjα​≤e−1e​j∑​Cj​for every feasible nonpreemptive schedule (Cj​)j​.

Since Best-α\alphaα returns a schedule no worse than this α\alphaα-schedule, Best-α\alphaα is an e/(e−1)e/(e-1)e/(e−1)-approximation.

Milestones

  1. The calculus behind the constant. For f(α)=eα/(e−1)f(\alpha)=e^\alpha/(e-1)f(α)=eα/(e−1) and every β∈(0,1]\beta\in(0,1]β∈(0,1],
∫0β1+α−ββf(α) dα=1e−1.\int_0^\beta\frac{1+\alpha-\beta}{\beta}f(\alpha)\,d\alpha=\frac1{e-1}.∫0β​β1+α−β​f(α)dα=e−11​.
  1. Lemma 2.2: CiP=Ti+∑0<β≤1βSiP(β)C^P_i=T_i+\sum_{0<\beta\le1}\beta S^P_i(\beta)CiP​=Ti​+∑0<β≤1​βSiP​(β).
  2. Lemma 2.3: Ciα≤Ti+(1+α)∑β≥αSiP(β)+∑β<αβSiP(β)C^\alpha_i\le T_i+(1+\alpha)\sum_{\beta\ge\alpha}S^P_i(\beta)+\sum_{\beta<\alpha}\beta S^P_i(\beta)Ciα​≤Ti​+(1+α)∑β≥α​SiP​(β)+∑β<α​βSiP​(β).
  3. Lemma 2.5: if α\alphaα has density fff on (0,1](0,1](0,1], then E[Ciα]≤(1+δ)CiPE[C^\alpha_i]\le(1+\delta)C^P_iE[Ciα​]≤(1+δ)CiP​ with δ=max⁡0<β≤1∫0β1+α−ββf(α) dα\delta=\max_{0<\beta\le1}\int_0^\beta\frac{1+\alpha-\beta}{\beta}f(\alpha)\,d\alphaδ=max0<β≤1​∫0β​β1+α−β​f(α)dα.
  4. Theorem 2.6, for the weighted objective with PPP optimal among preemptive schedules: the expected approximation ratio of Random-α\alphaα is at most 222 for uniform α\alphaα, at most 1.81.81.8 for α=1\alpha=1α=1 w.p. 3/53/53/5 and α=1/2\alpha=1/2α=1/2 w.p. 2/52/52/5, and at most e/(e−1)e/(e-1)e/(e−1) for the density eα/(e−1)e^\alpha/(e-1)eα/(e−1).

Companion statements, not milestones:

  • the upper bound of Theorem 2.1, ∑jCjα≤(1+1/α)∑jCjP\sum_jC^\alpha_j\le(1+1/\alpha)\sum_jC^P_j∑j​Cjα​≤(1+1/α)∑j​CjP​;
  • the existence of an optimal preemptive schedule.

Significance

The e/(e−1)e/(e-1)e/(e−1) bound shows that conversion from the preemptive relaxation can beat the factor 2 of the natural ordering. It does so by exploiting that no single instance is bad for many values of α\alphaα at once. The α\alphaα-point technique was also used with LP relaxations, for example by Goemans (SODA 1997) and by Schulz and Skutella. The randomized version is an optimal randomized on-line algorithm for 1∣rj∣∑Cj1|r_j|\sum C_j1∣rj​∣∑Cj​. Lemma 2.3 is a statement about any preemptive schedule, so it applies wherever a good preemptive or fractional schedule is available.

All results of the mission are proved in the paper, except that the proof of Theorem 2.6, part 2 is omitted there. No machine-checked proof of them is known. A complete development would give a verified model of preemptive one-machine schedules, α\alphaα-points and list scheduling, together with the averaging argument over α\alphaα. These are reusable for the later results of the same paper and for the α\alphaα-point literature.

Difficulty

The obvious argument bounds each job's α\alphaα-schedule completion time directly against its preemptive completion time. That argument loses a factor 1+1/α1+1/\alpha1+1/α (Theorem 2.1), which is at least 2 for every fixed α\alphaα. The improvement needs Lemma 2.3. There the charge to each job depends on how much of it was done by CiPC^P_iCiP​ relative to α\alphaα, and the idle time TiT_iTi​ is not inflated at all. Proving Lemma 2.3 requires reasoning about a preemptive schedule as a measure on time, and about how moving pieces of jobs changes completion times. A proof that treats the preemptive schedule as a finite list of pieces must first show that nothing is lost by this discretization.

The averaging step needs the expectation over α\alphaα to be an honest integral. The map α↦Ciα\alpha\mapsto C^\alpha_iα↦Ciα​ must be shown integrable, which requires a fixed rule for ties between equal α\alphaα-points.

Formalization scope

  • Model. Jobs are Fin n, time is real, pj>0p_j>0pj​>0 and rj≥0r_j\ge0rj​≥0. The paper admits pj=0p_j=0pj​=0 only in its tightness instances.
    • A preemptive schedule is a function σ:R→\sigma:\mathbb R\toσ:R→ Option (Fin n) (none = idle). Each job's run set is measurable, lies in [max⁡(0,rj),∞)[\max(0,r_j),\infty)[max(0,rj​),∞), is bounded above, and has Lebesgue measure pjp_jpj​.
    • Completion times and α\alphaα-points are infima of nonempty sets that are bounded below.
    • TiT_iTi​ is the measure of the idle set in [0,CiP)[0,C^P_i)[0,CiP​).
    • The paper's sums over β\betaβ are sums over jobs, weighted by the fraction xijx_{ij}xij​.
  • List scheduling is strict: jobs never overtake the list order, and the machine is free from time 000.
    • Lemma 2.3, Theorem 2.1, Theorem 2.6.2 and the goal hold for every tie-break among equal α\alphaα-points.
    • The expectations (Lemma 2.5, Theorem 2.6.1 and 2.6.3) use the tie-break by job index. They assert integrability as part of the conclusion.
  • Optimality. "Approximation ratio ccc" is stated as an inequality against every feasible nonpreemptive schedule, never against an infimum.
    • The optimality of PPP among preemptive schedules is the paper's standing assumption for its upper bounds (p. 151). It appears as a hypothesis of Theorem 2.6 and of the goal.
    • The lemmas hold for arbitrary PPP and do not carry it.
    • An existence statement shows the hypothesis can be met.
  • Lemma 2.5's δ\deltaδ is replaced by any upper bound of the integrals over β∈(0,1]\beta\in(0,1]β∈(0,1]. This is equivalent, and it avoids assuming that the maximum is attained.
  • Not stated:
    • the running time O(n2)O(n^2)O(n2) of Best-α\alphaα and the optimality of SRPT;
    • the tightness parts of Theorem 2.1 and Corollary 2.4, and the lower bounds of Theorem 2.9, which use zero-length jobs;
    • the on-line Theorem 2.8, which needs a model of on-line algorithms.
  • Trivializing formalization ruled out. Dropping the optimality of PPP from the goal would turn it into a statement about arbitrary preemptive schedules, which is Lemma 2.5, not Corollary 2.7. Comparing against ∑jCjP\sum_jC^P_j∑j​CjP​ instead of every nonpreemptive schedule would likewise remove the content of the corollary.

Contributions are welcome at every level. The calculus milestone and Lemma 2.2 are good first targets.

Selected references

  • C. Chekuri, R. Motwani, B. Natarajan, C. Stein, Approximation Techniques for Average Completion Time Scheduling, SIAM J. Comput. 31(1):146–166, 2001. https://doi.org/10.1137/S0097539797327180
  • C. Phillips, C. Stein, J. Wein, Scheduling jobs that arrive over time, Proc. 4th Workshop on Algorithms and Data Structures (WADS), 1995, pp. 86–97 (reference [25] of the paper; no link verified).
  • J. A. Hoogeveen, A. P. A. Vestjens, Optimal on-line algorithms for single-machine scheduling, Proc. 5th IPCO, 1996, pp. 404–414 (reference [21]; no link verified).
  • M. X. Goemans, Improved approximation algorithms for scheduling with release dates, Proc. 8th ACM-SIAM SODA, 1997, pp. 591–598 (reference [12]; no link verified).
  • F. Afrati et al., Approximation schemes for minimizing average weighted completion time with release dates, Proc. 40th FOCS, 1999 (reference [2]; no link verified).
9 thms3 active usersReviewed
Machine LearningStatistics·Captain: mikedeng1

The Power of Convex Relaxation: Near-Optimal Matrix Completion III: No Method Recovers Incoherent Rank-r Matrices below the Sampling Rate (I.20)Research Paper

Motivation

Matrix completion asks to recover a matrix from a small random subset of its entries. It models collaborative filtering (a ratings table with most entries missing), sensor-network localisation from partial distance data, and system identification. With no structure the task is hopeless, so one assumes the matrix has low rank rrr and that its information is not concentrated in a few entries (incoherence).

Candès and Recht (Found. Comput. Math., 2009) showed that nuclear-norm minimisation recovers such a matrix from about n6/5rlog⁡nn^{6/5} r\log nn6/5rlogn random entries. Candès and Tao (IEEE Trans. Inf. Theory, 2010) lowered this to nr polylog(n)n r\,\mathrm{polylog}(n)nrpolylog(n). The same paper also asks how few entries any method could possibly use, and answers it with a lower bound, Theorem 1.7: below about μ0nrlog⁡n\mu_0 n r\log nμ0​nrlogn observed entries, no algorithm can succeed. This mission formalizes that lower bound. The two upper bounds of the same paper are separate missions of this series.

Setting

Work with real n×nn\times nn×n matrices. For a matrix MMM, let U⊆RnU \subseteq \mathbb{R}^nU⊆Rn be its column space and V⊆RnV\subseteq \mathbb{R}^nV⊆Rn its row space, and let PUP_UPU​, PVP_VPV​ be the orthogonal projections onto them. Let eae_aea​ be the aaa-th standard basis vector.

Fix an integer rrr and a real μ0\mu_0μ0​. A matrix MMM has rank at most rrr and obeys the incoherence property with parameter μ0\mu_0μ0​ (the paper's (I.18)) if rank⁡M≤r\operatorname{rank}M \le rrankM≤r and

∥PUea∥2≤μ0rn,∥PVeb∥2≤μ0rnfor all a,b∈[n].\|P_U e_a\|^2 \le \frac{\mu_0 r}{n},\qquad \|P_V e_b\|^2 \le \frac{\mu_0 r}{n}\qquad\text{for all } a,b\in[n].∥PU​ea​∥2≤nμ0​r​,∥PV​eb​∥2≤nμ0​r​for all a,b∈[n].

Since ∑a∥PUea∥2=dim⁡U\sum_a \|P_U e_a\|^2 = \dim U∑a​∥PU​ea​∥2=dimU, a matrix of rank exactly rrr can satisfy this only when μ0≥1\mu_0\ge 1μ0​≥1; the smallest possible value μ0=1\mu_0 = 1μ0​=1 means the column and row spaces are spread evenly over the coordinates.

Bernoulli sampling. Fix m≥1m \ge 1m≥1 and set p=m/n2p = m/n^2p=m/n2. The observed set Ω⊆[n]×[n]\Omega\subseteq[n]\times[n]Ω⊆[n]×[n] contains each entry independently with probability ppp, so mmm is the expected number of observed entries. The sampling operator PΩ\mathcal{P}_\OmegaPΩ​ keeps the entries of a matrix that lie in Ω\OmegaΩ and sets the others to 000. A recovery method sees only PΩ(M)\mathcal{P}_\Omega(M)PΩ​(M).

The sampling conditions are, with the natural logarithm,

m≥n2(1−e−μ0rnlog⁡(n2δ))(I.20)m \ge n^2\left(1 - e^{-\frac{\mu_0 r}{n}\log\left(\frac{n}{2\delta}\right)}\right) \qquad \text{(I.20)}m≥n2(1−e−nμ0​r​log(2δn​))(I.20) m≥(1−ϵ) μ0nrlog⁡(n2δ),ϵ:=12μ0rnlog⁡(n2δ).(I.21)m \ge (1-\epsilon)\,\mu_0 n r\log\left(\frac{n}{2\delta}\right),\qquad \epsilon := \frac12\frac{\mu_0 r}{n}\log\left(\frac{n}{2\delta}\right). \qquad \text{(I.21)}m≥(1−ϵ)μ0​nrlog(2δn​),ϵ:=21​nμ0​r​log(2δn​).(I.21)

Formalization targets

Goal: Theorem 1.7 (p. 2058)

Fix 1≤m1 \le m1≤m, 1≤r≤n1 \le r \le n1≤r≤n, μ0≥1\mu_0\ge 1μ0​≥1 and 0<δ<1/20<\delta<1/20<δ<1/2, with ℓ:=n/(μ0r)\ell := n/(\mu_0 r)ℓ:=n/(μ0​r) an integer. If (I.20) fails, or (I.21) fails, then

PΩ(there are infinitely many pairs M≠M′ of rank≤r, incoherent with parameter μ0, with PΩ(M)=PΩ(M′)) ≥ δ.\mathbb{P}_\Omega\Bigl(\text{there are infinitely many pairs } M\ne M' \text{ of rank} \le r, \text{ incoherent with parameter } \mu_0, \text{ with } \mathcal{P}_\Omega(M)=\mathcal{P}_\Omega(M')\Bigr) \ \ge\ \delta .PΩ​(there are infinitely many pairs M=M′ of rank≤r, incoherent with parameter μ0​, with PΩ​(M)=PΩ​(M′)) ≥ δ.

On that event, the observations cannot tell MMM from M′M'M′, so no method can recover every such matrix with probability greater than 1−δ1-\delta1−δ. The statement fixes no constant beyond those the paper prints.

Milestones (Section II)

  1. For pairwise disjoint sets of entries S1,…,SnS_1,\dots,S_nS1​,…,Sn​ of size ℓ\ellℓ, P(every Sa is sampled)=(1−(1−p)ℓ)n\mathbb{P}(\text{every } S_a \text{ is sampled}) = (1-(1-p)^\ell)^nP(every Sa​ is sampled)=(1−(1−p)ℓ)n.
  2. For n≥1n\ge1n≥1, π∈[0,1]\pi\in[0,1]π∈[0,1] and 0<δ<1/20<\delta<1/20<δ<1/2: (1−π)n≥1−δ(1-\pi)^n \ge 1-\delta(1−π)n≥1−δ implies π≤2δ/n\pi \le 2\delta/nπ≤2δ/n.
  3. With p=m/n2p = m/n^2p=m/n2 and the theorem's parameters: (1−p)ℓ≤2δ/n(1-p)^\ell \le 2\delta/n(1−p)ℓ≤2δ/n implies (I.20).
  4. 1−e−x>x−x2/21-e^{-x} > x - x^2/21−e−x>x−x2/2 for every x>0x>0x>0 (the paper prints x≥0x\ge0x≥0; see Formalization scope).
  5. The second part of Theorem 1.7: for the theorem's parameters, (I.20) implies (I.21).

Significance

The result. Theorem 1.7 shows that the sample complexity nr polylog(n)n r\,\mathrm{polylog}(n)nrpolylog(n) of the paper's upper bounds is close to optimal: about μ0nrlog⁡n\mu_0 n r\log nμ0​nrlogn entries are necessary, however the matrix is reconstructed. The count exceeds the 2nr−r22nr - r^22nr−r2 degrees of freedom of a rank-rrr matrix by the factor μ0log⁡n\mu_0\log nμ0​logn. The logarithm is a coupon-collector effect: every row has to be sampled. The factor μ0\mu_0μ0​ shows that the oversampling grows in proportion to the coherence. The bound is information-theoretic, and it holds even when the rank bound and the coherence are known in advance.

Formalizing it. The theorem and its proof in Section II are published. No machine-checked version is known to exist, and the platform has no lower bound for matrix completion. A formal proof would also check the printed argument, whose steps are compressed. It would yield reusable pieces: a Lean predicate for incoherence of matrices of bounded rank built on Mathlib's orthogonal projections, the independence computation for Bernoulli sampling over disjoint entry sets, and the elementary estimates that turn a success probability into a sampling rate.

Difficulty

The probabilistic and analytic parts are elementary. The difficulty is in building the hard instances as matrices and certifying them. For each observation set one has to exhibit, on an event of probability at least δ\deltaδ, an infinite family of distinct pairs that agree on Ω\OmegaΩ. Every member must have rank at most rrr and meet both incoherence bounds, measured through projections onto its column and row spaces, and the pairs must stay distinct across the family. The paper describes the instances only informally. They have to be pinned down so that whatever distinguishes MMM from M′M'M′ is really invisible on Ω\OmegaΩ, while the incoherence bounds still hold for every admissible μ0≥1\mu_0\ge1μ0​≥1 and r≤nr\le nr≤n. Computing the column space and the projection norms of an explicit matrix in Lean is the main infrastructure cost.

Formalization scope

Matrices are Matrix (Fin n) (Fin n) ℝ (the platform's MatrixCompletion.RealMatrix n n). The observation model is the platform's bernoulliEventProb with rate m/n2m/n^2m/n2, the sum over all Ω\OmegaΩ of p∣Ω∣(1−p)n2−∣Ω∣p^{|\Omega|}(1-p)^{n^2-|\Omega|}p∣Ω∣(1−p)n2−∣Ω∣. The sampling operator is the platform's samplingProjection. Logarithms and exponentials are Real.log, Real.exp. The mission's own definitions are IncoherentRankAtMost r μ₀ M (rank at most rrr, with the projection bounds computed from Mathlib's Submodule.starProjection onto the ranges of MMM and M⊤M^\topM⊤ in EuclideanSpace ℝ (Fin n)) and SamplingConditionI20, SamplingConditionI21.

The formalization commits to four readings:

  • Order of quantifiers. The event is "the set of bad pairs is infinite", evaluated for each Ω\OmegaΩ, so the pairs may depend on Ω\OmegaΩ. This is what Section II establishes and what the sentence after the theorem uses. The reading "fixed M≠M′M\ne M'M=M′ with P(PΩ(M)=PΩ(M′))≥δ\mathbb{P}(\mathcal{P}_\Omega(M) = \mathcal{P}_\Omega(M'))\ge\deltaP(PΩ​(M)=PΩ​(M′))≥δ" is a different statement and is not the goal.
  • Integrality of ℓ\ellℓ. The hypothesis that ℓ=n/(μ0r)\ell = n/(\mu_0 r)ℓ=n/(μ0​r) is an integer is the paper's own "without loss of generality" of Section II, and it is stated explicitly. It forces μ0r≤n\mu_0 r \le nμ0​r≤n.
  • "Fix 1≤m,r≤n1\le m, r\le n1≤m,r≤n" is read as 1≤m1\le m1≤m and 1≤r≤n1\le r\le n1≤r≤n. No upper bound on mmm is imposed, since the failure of (I.20) already gives m<n2m<n^2m<n2.
  • Standing assumptions. Section I-H assumes m≥2nrm\ge 2nrm≥2nr and nnn larger than an absolute constant for the rest of the paper. Those assumptions serve the upper bounds. Theorem 1.7 lists its own ranges, and only those are imposed.

The hypothesis "(I.20) fails or (I.21) fails" covers both parts of the theorem. The last sentence of Section II proves the second part from 1−e−x>x−x2/21 - e^{-x} > x - x^2/21−e−x>x−x2/2, which the paper states "whenever x≥0x \ge 0x≥0". At x=0x=0x=0 the two sides are equal, so the strict inequality is false there; milestone 4 states the corrected range x>0x>0x>0, which is all the paper uses, since its x=μ0rnlog⁡n2δx = \frac{\mu_0 r}{n}\log\frac{n}{2\delta}x=nμ0​r​log2δn​ is positive.

Trivializing formalizations are ruled out. The set of pairs requires M≠M′M\ne M'M=M′, so the diagonal pairs (M,M)(M,M)(M,M) do not count. "Infinitely many" is Set.Infinite of a set of pairs, not "at least one". Incoherence uses the theorem's rrr and the actual column and row spaces, so the class is the paper's. The hypotheses are satisfiable, for example n=4n=4n=4, r=1r=1r=1, μ0=1\mu_0=1μ0​=1, ℓ=4\ell=4ℓ=4, δ=0.1\delta=0.1δ=0.1, m=1m=1m=1.

Contributions are welcome on every milestone. The Bernoulli independence computation and the incoherence predicate can be reused in the other two missions of this series and in any lower bound for sampling problems.

Selected references

  • E. J. Candès and T. Tao, The Power of Convex Relaxation: Near-Optimal Matrix Completion, IEEE Transactions on Information Theory 56(5):2053–2080, 2010. https://doi.org/10.1109/TIT.2010.2044061
  • E. J. Candès and B. Recht, Exact Matrix Completion via Convex Optimization, Foundations of Computational Mathematics 9(6):717–772, 2009. https://doi.org/10.1007/s10208-009-9045-5
12 thms3 active usersReviewed
Algorithmic Game TheoryOperations ResearchOptimization·Captain: mikedeng1

The Allocation of Inventory Risk in a Supply Chain: Push, Pull, and Advance-Purchase Discount Contracts 3: Advance-Purchase Discounts Pareto-Improve Pull Contracts under At-Once Shipping CostsResearch Paper

Motivation

A supplier and a retailer who trade a seasonal product must decide who carries the inventory risk: the stock left unsold, or the demand left unserved, when the season ends. With a push contract the retailer orders everything before the season and bears the risk; with a pull contract he orders during the season from the supplier's stock at a single wholesale price, and the supplier bears it. Cachon (Management Science 50(2), 2004) studies the two and the contract between them, the advance-purchase discount, in which units ordered before the season are cheaper than units ordered during it.

In the base model of that paper, shipping a unit during the season costs the same as shipping it before. In practice orders placed during the season are often smaller and more urgent, and shipping and handling them costs more. §5.1 of the paper adds such a cost and asks whether pull contracts remain attractive. Theorem 8 answers that they are then never Pareto efficient: some advance-purchase discount is better for both firms.

Setting

Demand DDD for the season has law μ\muμ on R\mathbb RR, distribution function FFF and density fff. As in §3 of the paper, F(0)=0F(0) = 0F(0)=0, FFF is strictly increasing on [0,∞)[0,\infty)[0,∞), F′=fF' = fF′=f on (0,∞)(0,\infty)(0,∞), and the generalized failure rate g(x)=xf(x)/(1−F(x))g(x) = x f(x)/(1 - F(x))g(x)=xf(x)/(1−F(x)) is strictly increasing (IGFR). The expected sales from qqq available units are

S(q)=q−∫0qF(x) dx.S(q) = q - \int_0^q F(x)\,dx .S(q)=q−∫0q​F(x)dx.

The retail price is ppp, the unit production cost ccc, the salvage value vvv, with v<c<pv < c < pv<c<p.

A contract is a pair of wholesale prices {w1,w2}\{w_1, w_2\}{w1​,w2​}. Before production the retailer submits a prebook order of y≥0y \ge 0y≥0 units at w1w_1w1​. The supplier then produces q≥yq \ge yq≥y. During the season, after running out of prebooked stock, the retailer places at-once orders at w2w_2w2​, filled from the supplier's remaining stock. Pull is w1=w2<pw_1 = w_2 < pw1​=w2​<p; an advance-purchase discount is w1<w2w_1 < w_2w1​<w2​. In §5.1 the supplier pays an extra shipping and handling cost τ>0\tau > 0τ>0 per at-once unit. The profits are

πr(y,q)=−(w1−v)y+(p−v)S(y)+(p−w2)(S(q)−S(y)),\pi_r(y,q) = -(w_1 - v)y + (p - v)S(y) + (p - w_2)\bigl(S(q) - S(y)\bigr),πr​(y,q)=−(w1​−v)y+(p−v)S(y)+(p−w2​)(S(q)−S(y)), πs(y,q)=(w1−v)y+(w2−τ−v)(S(q)−S(y))−(c−v)q.\pi_s(y,q) = (w_1 - v)y + (w_2 - \tau - v)\bigl(S(q) - S(y)\bigr) - (c - v)q .πs​(y,q)=(w1​−v)y+(w2​−τ−v)(S(q)−S(y))−(c−v)q.

A supplier best response to yyy maximizes πs(y,⋅)\pi_s(y,\cdot)πs​(y,⋅) over q≥yq \ge yq≥y. An outcome of {w1,w2}\{w_1, w_2\}{w1​,w2​} is a pair (y,q)(y, q)(y,q) with qqq a best response to yyy and y≥0y \ge 0y≥0 maximizing πr\pi_rπr​ when every alternative prebook is followed by a best response to it.

Formalization targets

Goal: Theorem 8

Fix w2<pw_2 < pw2​<p and τ>0\tau > 0τ>0, and suppose the retailer does not prebook under the pull contract {w2,w2}\{w_2, w_2\}{w2​,w2​}: y=0y = 0y=0 is his unique best reply, followed by the supplier's best response q0q_0q0​. Then there is w1w_1w1​ with

c<w1<w2c < w_1 < w_2c<w1​<w2​

such that {w1,w2}\{w_1, w_2\}{w1​,w2​} has an outcome, and every outcome (y,q)(y, q)(y,q) of it satisfies

πr{w1,w2}(y,q)>πr{w2,w2}(0,q0),πs{w1,w2}(y,q)>πs{w2,w2}(0,q0).\pi_r^{\{w_1,w_2\}}(y,q) > \pi_r^{\{w_2,w_2\}}(0,q_0), \qquad \pi_s^{\{w_1,w_2\}}(y,q) > \pi_s^{\{w_2,w_2\}}(0,q_0).πr{w1​,w2​}​(y,q)>πr{w2​,w2​}​(0,q0​),πs{w1​,w2​}​(y,q)>πs{w2​,w2​}​(0,q0​).

Milestones

  1. Eq. (22): for v<w1≤w2≤pv < w_1 \le w_2 \le pv<w1​≤w2​≤p the retailer's profit is concave in yyy and uniquely maximized at yry_ryr​ with F(yr)=(w2−w1)/(w2−v)F(y_r) = (w_2 - w_1)/(w_2 - v)F(yr​)=(w2​−w1​)/(w2​−v), whatever qqq.
  2. Eqs. (20)–(21) with w2−τw_2 - \tauw2​−τ: the supplier's best response to yyy is max⁡{y,qs}\max\{y, q_s\}max{y,qs​} with F(qs)=(w2−τ−c)/(w2−τ−v)F(q_s) = (w_2 - \tau - c)/(w_2 - \tau - v)F(qs​)=(w2​−τ−c)/(w2​−τ−v), independent of w1w_1w1​, and qsq_sqs​ is smaller than without the shipping cost.
  3. §5.1: for fixed w2w_2w2​ the retailer is never worse off with w1≤w2w_1 \le w_2w1​≤w2​ than with w1=w2w_1 = w_2w1​=w2​.
  4. yr(w1)>0y_r(w_1) > 0yr​(w1​)>0 for every w1<w2w_1 < w_2w1​<w2​.
  5. The derivative of w1↦πs(yr(w1),q)w_1 \mapsto \pi_s(y_r(w_1), q)w1​↦πs​(yr​(w1​),q), where the density at yr(w1)y_r(w_1)yr​(w1​) is positive:
dπs(yr(w1),q)dw1=yr(w1)−(w1−v)−(w2−τ−v)(1−F(yr(w1)))(w2−v)f(yr(w1)).\frac{d\pi_s(y_r(w_1), q)}{dw_1} = y_r(w_1) - \frac{(w_1 - v) - (w_2 - \tau - v)(1 - F(y_r(w_1)))}{(w_2 - v) f(y_r(w_1))}.dw1​dπs​(yr​(w1​),q)​=yr​(w1​)−(w2​−v)f(yr​(w1​))(w1​−v)−(w2​−τ−v)(1−F(yr​(w1​)))​.
  1. yr(w1)→0y_r(w_1) \to 0yr​(w1​)→0 as w1→w2w_1 \to w_2w1​→w2​, and, when fff has a positive right limit f(0)f(0)f(0) at 000, the derivative in 5 tends to −τ/((w2−v)f(0))<0-\tau/((w_2 - v) f(0)) < 0−τ/((w2​−v)f(0))<0.

Significance

Without shipping costs, advance-purchase discounts with w2=pw_2 = pw2​=p coordinate the supply chain (Theorem 7 of the paper, the subject of mission 2 of this series), and a pull contract can lie in the Pareto set among push and pull contracts (Theorem 6, mission 1). Theorem 8 shows that the second fact does not survive an at-once shipping cost of any size: pulling inventory during the season incurs a cost the integrated chain would avoid, and a small discount for early commitment shifts part of the stock to the prebook, where it is cheaper to ship. The Pareto set then no longer consists of a single contract type. The result supports the paper's conclusion that each of its three extensions makes push relatively more attractive than pull.

The theorem is proved in the paper, not formalized anywhere. A formal proof requires making precise two points the paper passes over: what "the retailer does not prebook" means when the retailer could switch to a large prebook once a discount is offered, and why no positive density at 000 is needed. Formalized, the statement also gives a checked account of the prebook game under a two-price contract, reusable for the other extensions of §5.

Difficulty

The paper's argument differentiates the supplier's profit along the retailer's optimal prebook and takes the limit as w1→w2w_1 \to w_2w1​→w2​. That limit involves f(0)f(0)f(0), which the model does not provide: FFF is differentiable only on (0,∞)(0, \infty)(0,∞), and for gamma demand with shape above 111 the density vanishes at 000, so the paper's limit is −∞-\infty−∞. A proof of the goal must therefore not rest on the limit display alone.

The second obstacle is the retailer's global choice. The calculus concerns prebooks yr(w1)y_r(w_1)yr​(w1​) below the supplier's production qsq_sqs​. Once w1<w2w_1 < w_2w1​<w2​, the retailer might instead prefer a prebook at least qsq_sqs​, turning the chain into push mode, and the outcome would then not be the one the derivative describes. Ruling this out for w1w_1w1​ close to w2w_2w2​ requires the strict form of the premise and a uniform comparison of the two regimes; it is not a local argument at yry_ryr​.

Formalization scope

Demand is a probability measure μ on ℝ with F := ProbabilityTheory.cdf μ, and the standing assumptions of §3 form the predicate DemandModel μ f; differentiability of F is required on (0,∞)(0,\infty)(0,∞) only, so the exponential law is admitted. Quantities range over [0,∞)[0, \infty)[0,∞). Best responses and outcomes are defined as maximizers, not by the closed forms of milestones 1 and 2. All profit formulas are those of §4.5 for w2≤pw_2 \le pw2​≤p, and every statement assumes it. The shipping cost enters only the supplier's at-once net revenue w2−τw_2 - \tauw2​−τ. The prebook function yry_ryr​ in milestones 5 and 6 is a function pinned on (v,w2)(v, w_2)(v,w2​) by Eq. (22), which determines it uniquely.

Readings of the paper's words:

  • "the retailer does not prebook when w1=w2w_1 = w_2w1​=w2​" is read as "y=0y = 0y=0 is the retailer's unique best reply" (every y>0y > 0y>0 gives strictly less); with a tie the conclusion can fail;
  • "profit increases for both" is read as a strict increase for both firms, in every outcome of the discounted contract;
  • the conclusion c<w1c < w_1c<w1​ strengthens "advance-purchase discount" (w1<w2w_1 < w_2w1​<w2​);
  • "reduces the supplier's optimal production" (milestone 2) is a strict decrease; its formula is stated for c≤w2−τc \le w_2 - \tauc≤w2​−τ;
  • "f(0)f(0)f(0)" in milestone 6 is the right limit of fff at 000, assumed positive there only; the positivity of f(yr(w1))f(y_r(w_1))f(yr​(w1​)) in milestone 5 is the hypothesis of the implicit-function step;
  • "never worse off" (milestone 3) compares every outcome of {w1,w2}\{w_1, w_2\}{w1​,w2​} with every outcome of {w2,w2}\{w_2, w_2\}{w2​,w2​}.

A version of the goal that assumed f(0)>0f(0) > 0f(0)>0, assumed yr(w1)<qsy_r(w_1) < q_syr​(w1​)<qs​, compared only one favourably chosen outcome of the discounted contract, or stated either firm's gain with ≥\ge≥, would be weaker than Theorem 8 and is not the target.

A complete development needs the concavity and first-order conditions for SSS, the inverse-function derivative for FFF, and the regime comparison between prebooks below and above qsq_sqs​. The first two are reusable across all newsvendor-type models; contributions proving the milestones in any order are welcome.

Selected references

  • G. P. Cachon, The Allocation of Inventory Risk in a Supply Chain: Push, Pull, and Advance-Purchase Discount Contracts, Management Science 50(2):222–238, 2004. https://doi.org/10.1287/mnsc.1030.0190
  • M. A. Lariviere, E. L. Porteus, Selling to the Newsvendor: An Analysis of Price-Only Contracts, Manufacturing & Service Operations Management 3(4):293–305, 2001. https://doi.org/10.1287/msom.3.4.293.9971
9 thms3 active usersReviewed
Algorithmic Game TheoryOperations ResearchOptimization·Captain: mikedeng1

The Allocation of Inventory Risk in a Supply Chain: Push, Pull, and Advance-Purchase Discount Contracts 2: Advance-Purchase Discounts Coordinate the Supply ChainResearch Paper

Motivation

A supplier who must produce before a selling season, and a retailer who sells into uncertain demand, have to decide who holds the inventory that may go unsold. Cachon (Management Science 50(2), 2004) studies this allocation of inventory risk using nothing but wholesale prices. With a push contract the retailer orders everything before production and bears all the risk; with a pull contract the retailer orders only during the season and the supplier bears it; an advance-purchase discount sits between the two, offering a lower price for early orders. The paper's introduction contrasts Trek, which holds bicycle inventory and ships to retailers on demand, with O'Neill, which offers retailers a prebook discount for ordering before the season.

The classical view is that wholesale-price contracts cannot coordinate a supply chain: a single wholesale price above marginal cost makes the retailer order too little (the double-marginalization effect). Coordination was known to need richer terms, such as buyback contracts (Pasternack 1985) or revenue sharing (Cachon and Lariviere 2005). This mission formalizes the paper's Theorem 7, which shows that two wholesale prices, one for early and one for in-season orders, suffice both to coordinate the chain and to divide its profit arbitrarily. A companion mission of the same series formalizes Theorem 6, the Pareto set of push and pull contracts alone.

Setting

Demand is a random variable with distribution function FFF and density fff. The paper assumes F(0)=0F(0) = 0F(0)=0, FFF strictly increasing, and an increasing generalized failure rate (IGFR): g(x)=xf(x)/(1−F(x))g(x) = x f(x)/(1 - F(x))g(x)=xf(x)/(1−F(x)) has g′(x)>0g'(x) > 0g′(x)>0. Production costs ccc per unit, the retail price is ppp, and leftover units are salvaged for vvv, with v<c<pv < c < pv<c<p. Expected sales with qqq units available are

S(q)=q−∫0qF(x) dx,S(q) = q - \int_0^q F(x)\,dx,S(q)=q−∫0q​F(x)dx,

and the integrated supply chain's expected profit is Π(q)=(p−v)S(q)−(c−v)q\Pi(q) = (p - v)S(q) - (c - v)qΠ(q)=(p−v)S(q)−(c−v)q. It is maximized at qoq^oqo with F(qo)=(p−c)/(p−v)F(q^o) = (p-c)/(p-v)F(qo)=(p−c)/(p−v); write Πo=Π(qo)\Pi^o = \Pi(q^o)Πo=Π(qo). The efficiency of a contract is Π(q)/Πo\Pi(q)/\Pi^oΠ(q)/Πo, where qqq is the quantity produced.

A contract is a pair of wholesale prices {w1,w2}\{w_1, w_2\}{w1​,w2​} with w1≤w2w_1 \le w_2w1​≤w2​. The retailer first prebooks y≥0y \ge 0y≥0 units at w1w_1w1​ each. The supplier, seeing yyy, produces q≥yq \ge yq≥y. During the season the retailer sells the prebook and, once it runs out, places at-once orders at w2w_2w2​ per unit from the supplier's remaining stock, provided w2≤pw_2 \le pw2​≤p. The supplier's and retailer's expected profits are

πs(y,q)=(w1−v)y+(w2−v)(S(q)−S(y))−(c−v)q,\pi_s(y, q) = (w_1 - v)y + (w_2 - v)(S(q) - S(y)) - (c - v)q,πs​(y,q)=(w1​−v)y+(w2​−v)(S(q)−S(y))−(c−v)q, πr(y,q)=−(w1−v)y+(p−v)S(y)+(p−w2)(S(q)−S(y)),\pi_r(y, q) = -(w_1 - v)y + (p - v)S(y) + (p - w_2)(S(q) - S(y)),πr​(y,q)=−(w1​−v)y+(p−v)S(y)+(p−w2​)(S(q)−S(y)),

with the at-once terms absent when w2>pw_2 > pw2​>p. An outcome of a contract is a pair (y,q)(y, q)(y,q) where qqq maximizes the supplier's profit given yyy, and yyy maximizes the retailer's profit given that he anticipates the supplier's response. The contract classes are push (w1<p<w2w_1 < p < w_2w1​<p<w2​), pull (w1=w2≤pw_1 = w_2 \le pw1​=w2​≤p) and advance-purchase discount (w1<w2≤pw_1 < w_2 \le pw1​<w2​≤p). A contract is Pareto if no outcome of any contract in these classes makes one firm strictly better off and neither firm worse off than one of its own outcomes (p. 224).

Formalization targets

Goal: Theorem 7

For every w1w_1w1​ with c≤w1≤pc \le w_1 \le pc≤w1​≤p, the contract {w1,p}\{w_1, p\}{w1​,p} has an outcome and is Pareto; every outcome (y,q)(y, q)(y,q) of every Pareto contract satisfies

Π(q)=Πo;\Pi(q) = \Pi^o;Π(q)=Πo;

and for every r∈[0,Πo]r \in [0, \Pi^o]r∈[0,Πo] some contract {w1,p}\{w_1, p\}{w1​,p} with c≤w1≤pc \le w_1 \le pc≤w1​≤p has an outcome with payoffs

(πr,πs)=(r, Πo−r).\bigl(\pi_r, \pi_s\bigr) = \bigl(r,\ \Pi^o - r\bigr).(πr​,πs​)=(r, Πo−r).

Milestones

  1. Eq. (2): Π\PiΠ is concave on [0,∞)[0, \infty)[0,∞) and maximized exactly where F(qo)=(p−c)/(p−v)F(q^o) = (p-c)/(p-v)F(qo)=(p−c)/(p−v).
  2. Eqs. (20)–(21): for c≤w2≤pc \le w_2 \le pc≤w2​≤p, the supplier's best response to yyy is max⁡{y,qs}\max\{y, q_s\}max{y,qs​} with F(qs)=(w2−c)/(w2−v)F(q_s) = (w_2 - c)/(w_2 - v)F(qs​)=(w2​−c)/(w2​−v).
  3. Eq. (22): for c≤w1≤w2≤pc \le w_1 \le w_2 \le pc≤w1​≤w2​≤p, yry_ryr​ with F(yr)=(w2−w1)/(w2−v)F(y_r) = (w_2 - w_1)/(w_2 - v)F(yr​)=(w2​−w1​)/(w2​−v) is the unique maximizer of πr(⋅,q)\pi_r(\cdot, q)πr​(⋅,q).
  4. Eq. (3): in push mode the retailer's optimal prebook solves F(q)=(p−w^1)/(p−v)F(q) = (p - \hat w_1)/(p - v)F(q)=(p−w^1​)/(p−v).

A further draft theorem states the step of the proof in which the retailer's outcome profit along {w1,p}\{w_1, p\}{w1​,p} falls strictly from Πo\Pi^oΠo to 000 as w1w_1w1​ rises from ccc to ppp.

Significance

The theorem identifies a coordinating family inside the simplest contract language there is. Setting the at-once price equal to the retail price gives the supplier exactly the chain's marginal incentive for capacity, so she produces qoq^oqo; the prebook price then acts as a pure transfer. Every division of Πo\Pi^oΠo is reached, so for any bargaining process the Pareto set is fully efficient. This contrasts with Theorem 6 of the same paper, where push and pull contracts alone leave the Pareto set inefficient, and with the buyback and revenue-sharing coordination results (formalized on the platform as Theorems 14.4–14.6 of Snyder and Shen's Fundamentals of Supply Chain Theory), which need contract terms beyond wholesale prices.

The result is proved in the paper and has not been machine-checked. The mission produces a formal prebook game (best responses, outcomes and Pareto dominance as optimization statements) and Theorem 7 with all three claims, including the claim about every Pareto contract, which the paper argues in one sentence.

Difficulty

The closed forms are fractile equations, and the obvious argument substitutes them. That argument is incomplete in three places. First, the retailer's anticipated profit is piecewise: below the supplier's own quantity he gets at-once service, above it the chain runs in push mode, and the proof must show the retailer never prefers the push branch when w2=pw_2 = pw2​=p. Second, "every Pareto contract is efficient" is a statement about all contracts, including push and pull, and needs both firms' payoffs to be nonnegative at every outcome of every admissible contract, which depends on the prebook y=0y = 0y=0 always being available and on w1≥cw_1 \ge cw1​≥c. Third, the division claim is surjectivity of the retailer's equilibrium payoff over w1∈[c,p]w_1 \in [c, p]w1​∈[c,p], which needs the solution of F(yr)=(p−w1)/(p−v)F(y_r) = (p - w_1)/(p - v)F(yr​)=(p−w1​)/(p−v) to vary continuously with w1w_1w1​, including at both ends (yr=qoy_r = q^oyr​=qo at w1=cw_1 = cw1​=c, yr=0y_r = 0yr​=0 at w1=pw_1 = pw1​=p).

Formalization scope

Demand is a probability measure μ\muμ on R\mathbb RR with FFF = ProbabilityTheory.cdf μ. The standing assumptions are a structure: F(0)=0F(0) = 0F(0)=0, FFF strictly increasing on [0,∞)[0, \infty)[0,∞), F′=fF' = fF′=f on (0,∞)(0, \infty)(0,∞), and g′>0g' > 0g′>0 on (0,∞)(0, \infty)(0,∞). Differentiability is required only on (0,∞)(0, \infty)(0,∞), so the exponential distribution, which the paper names as IGFR, is admitted. Theorem 7 does not use IGFR; it is kept so that the series shares one model. Quantities range over [0,∞)[0, \infty)[0,∞). qoq^oqo is a parameter with the hypothesis F(qo)=(p−c)/(p−v)F(q^o) = (p-c)/(p-v)F(qo)=(p−c)/(p−v); its existence is part of milestone 1.

Readings of informal words: "includes all" means every contract {w1,p}\{w_1, p\}{w1​,p} with c≤w1≤pc \le w_1 \le pc≤w1​≤p has an outcome and each of its outcomes is undominated; "the Pareto set coordinates" is stated for every Pareto contract, not only the w2=pw_2 = pw2​=p family; "any division is achievable" is surjectivity onto [0,Πo][0, \Pi^o][0,Πo]; "increasing" in Eq. (2) and "decreases" in the proof are strict; "arg max" in Eqs. (3) and (22) is the unique maximizer; "the optimal production is max⁡{y,qs}\max\{y, q_s\}max{y,qs​}" is an if-and-only-if characterization of the supplier's best responses. At-once orders are submitted exactly when w2≤pw_2 \le pw2​≤p (p. 226, "with push w2>pw_2 > pw2​>p, so at-once orders are never submitted"). Additions to the paper's contract classes: every class requires w1≥cw_1 \ge cw1​≥c (p. 228 sets aside w^1<c\hat w_1 < cw^1​<c as Pareto inferior); pull includes w1=w2=pw_1 = w_2 = pw1​=w2​=p (the paper's remark in the proof) and advance-purchase discounts include w2=pw_2 = pw2​=p (as Theorem 7 names them). Pareto dominance is between payoff pairs of outcomes.

Outcomes are defined as maximizers, not by the closed forms (21)–(22). Defining the outcome of {w1,p}\{w_1, p\}{w1​,p} as (yr,qo)(y_r, q^o)(yr​,qo) would turn the goal into algebra, and is ruled out.

Needed infrastructure: continuity and inverse of a strictly increasing distribution function, concavity of SSS, and first-order conditions on half-lines. The definitions of the prebook game are reusable for Theorem 8 of the same paper. Proofs of the milestones and of the goal are welcome.

Selected references

  • G. P. Cachon, The Allocation of Inventory Risk in a Supply Chain: Push, Pull, and Advance-Purchase Discount Contracts, Management Science 50(2):222–238, 2004. https://doi.org/10.1287/mnsc.1030.0190
  • M. A. Lariviere and E. L. Porteus, Selling to the Newsvendor: An Analysis of Price-Only Contracts, Manufacturing & Service Operations Management 3(4):293–305, 2001. https://doi.org/10.1287/msom.3.4.293.9971
  • B. A. Pasternack, Optimal Pricing and Return Policies for Perishable Commodities, Marketing Science 4(2):166–176, 1985. https://doi.org/10.1287/mksc.4.2.166
  • G. P. Cachon and M. A. Lariviere, Supply Chain Coordination with Revenue-Sharing Contracts: Strengths and Limitations, Management Science 51(1):30–44, 2005. https://doi.org/10.1287/mnsc.1040.0215
  • L. V. Snyder and Z.-J. M. Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley, 2019. https://doi.org/10.1002/9781119584445
7 thms3 active usersReviewed
Operations ResearchOptimization·Captain: mikedeng1

The Allocation of Inventory Risk in a Supply Chain: Push, Pull, and Advance-Purchase Discount Contracts 1: The Pareto Set of Push and Pull ContractsResearch Paper

Who bears the inventory risk

A supplier and a retailer trade a product with a single selling season and uncertain demand. Someone has to decide, before demand is known, how many units exist, and someone has to be left holding the units that do not sell. With a push contract the retailer orders (prebooks) before the season and bears all of this risk; with a pull contract the supplier produces to stock and the retailer only orders during the season, so the supplier bears it. Both are single wholesale price contracts, the simplest and most common contracts in practice. Cachon (Management Science 50(2), 2004) asks which of these contracts two negotiating firms could plausibly agree on, independently of how they bargain, and answers it by computing the Pareto set of push and pull contracts together.

Push alone is the "selling to the newsvendor" problem studied by Lariviere and Porteus (MSOM 2001), whose unimodality result this mission uses. The novelty of §4 of Cachon's paper is to put push and pull contracts in one contract space and to show that the Pareto set then contains contracts of both kinds.

Setting

Demand has distribution function FFF and density fff. The paper's standing assumptions (§3, p. 225) are: F(0)=0F(0) = 0F(0)=0, FFF strictly increasing, and the generalized failure rate g(x)=xf(x)/(1−F(x))g(x) = x f(x)/(1 - F(x))g(x)=xf(x)/(1−F(x)) strictly increasing (IGFR); the normal, exponential, gamma and Weibull laws qualify. Units cost ccc to produce, sell at the retail price p>cp > cp>c, and are salvaged at v<cv < cv<c.

Expected sales with qqq units available are S(q)=q−∫0qF(x) dxS(q) = q - \int_0^q F(x)\,dxS(q)=q−∫0q​F(x)dx, and the integrated chain earns Π(q)=(p−v)S(q)−(c−v)q\Pi(q) = (p - v)S(q) - (c - v)qΠ(q)=(p−v)S(q)−(c−v)q. It is maximized at the newsvendor quantity qoq^oqo, F(qo)=(p−c)/(p−v)F(q^o) = (p - c)/(p - v)F(qo)=(p−c)/(p−v), with Πo=Π(qo)\Pi^o = \Pi(q^o)Πo=Π(qo); the efficiency of a contract is Π(q)/Πo\Pi(q)/\Pi^oΠ(q)/Πo.

A contract is described by the quantity qqq it induces.

  • Push at wholesale price w^1\hat w_1w^1​: the retailer prebooks qqq and earns π^r=(p−v)S(q)−(w^1−v)q\hat\pi_r = (p - v)S(q) - (\hat w_1 - v)qπ^r​=(p−v)S(q)−(w^1​−v)q; the supplier earns π^s=(w^1−c)q\hat\pi_s = (\hat w_1 - c)qπ^s​=(w^1​−c)q. The price inducing qqq is w^1(q)=p−(p−v)F(q)\hat w_1(q) = p - (p - v)F(q)w^1​(q)=p−(p−v)F(q), and π^r(q)\hat\pi_r(q)π^r​(q), π^s(q)\hat\pi_s(q)π^s​(q) are the payoffs at that price.
  • Pull at wholesale price w1=w2w_1 = w_2w1​=w2​: the supplier produces qqq and earns πs=(w1−v)S(q)−(c−v)q\pi_s = (w_1 - v)S(q) - (c - v)qπs​=(w1​−v)S(q)−(c−v)q; the retailer earns πr=(p−w1)S(q)\pi_r = (p - w_1)S(q)πr​=(p−w1​)S(q). The inducing price is w1(q)=(c−vF(q))/(1−F(q))w_1(q) = (c - vF(q))/(1 - F(q))w1​(q)=(c−vF(q))/(1−F(q)).

Write j(q)=S(q)/(1−F(q))j(q) = S(q)/(1 - F(q))j(q)=S(q)/(1−F(q)) and h(q)=f(q)/(1−F(q))h(q) = f(q)/(1 - F(q))h(q)=f(q)/(1−F(q)) (the hazard rate). The retailer's preferred pull contract is q∗=arg⁡max⁡πrq^* = \arg\max \pi_rq∗=argmaxπr​ and the supplier's preferred push contract is q^∗=arg⁡max⁡π^s\hat q^* = \arg\max \hat\pi_sq^​∗=argmaxπ^s​.

A contract k′k'k′ Pareto dominates kkk if no firm is worse off and one firm is strictly better off; the Pareto set consists of the contracts no other contract dominates.

A pull contract is only played as pull if the retailer does not prefer to prebook anyway. In the prebook game (§4.5) the retailer prebooks y≥0y \ge 0y≥0 and the supplier then chooses her production Q≥yQ \ge yQ≥y to maximize (w1−v)y+(w2−v)(S(Q)−S(y))−(c−v)Q(w_1 - v)y + (w_2 - v)(S(Q) - S(y)) - (c - v)Q(w1​−v)y+(w2​−v)(S(Q)−S(y))−(c−v)Q. A pull contract survives the push challenge if the retailer's profit is strictly highest at y=0y = 0y=0.

Formalization targets

Goal: Theorem 6 with Lemma 5

There is a quantity qPq^PqP, 0<qP<qo0 < q^P < q^o0<qP<qo, the unique positive quantity at which each firm is indifferent between the pull and the push contract, such that

Pareto set={push,pull}×[qP,qo],\text{Pareto set} = \{\text{push}, \text{pull}\} \times [q^P, q^o],Pareto set={push,pull}×[qP,qo],

and every pull contract with q∈[qP,qo]q \in [q^P, q^o]q∈[qP,qo] survives the push challenge.

Milestones, in the order the proof uses them

  • Eqs. (1)–(2), (3), (7): the newsvendor quantity qoq^oqo; the prices w^1(q)\hat w_1(q)w^1​(q), w1(q)w_1(q)w1​(q) induce qqq.
  • Eqs. (5), (9) and Lariviere–Porteus: π^r\hat\pi_rπ^r​ and πs\pi_sπs​ are increasing, π^s\hat\pi_sπ^s​ is unimodal.
  • Lemma 1: j(q)h(q)j(q)h(q)j(q)h(q) is increasing for q>0q > 0q>0. Theorem 2: πr\pi_rπr​ is concave.
  • Theorem 3: πr(q∗)>π^s(q^∗)\pi_r(q^*) > \hat\pi_s(\hat q^*)πr​(q∗)>π^s​(q^​∗), q∗>q^∗q^* > \hat q^*q∗>q^​∗, Π(q∗)>Π(q^∗)\Pi(q^*) > \Pi(\hat q^*)Π(q∗)>Π(q^​∗).
  • Lemma 4: qPq^PqP exists, is the unique positive root of πr=π^r\pi_r = \hat\pi_rπr​=π^r​ and of πs=π^s\pi_s = \hat\pi_sπs​=π^s​, the unique maximizer of πr−π^s\pi_r - \hat\pi_sπr​−π^s​, and qP>q∗q^P > q^*qP>q∗.
  • Eqs. (20)–(21) and Lemma 5: the supplier's reply to a prebook yyy is max⁡{y,qs}\max\{y, q_s\}max{y,qs​}; pull contracts with q≥qPq \ge q^Pq≥qP survive the push challenge.

Significance

The theorem says that when both allocations of inventory risk are on the table, neither firm's preferred contract (q^∗\hat q^*q^​∗ for the supplier, q∗q^*q∗ for the retailer) is Pareto, and the least efficient Pareto contract, qPq^PqP, is more efficient than the least efficient contract of either push-only or pull-only negotiation. In the Pareto set the supplier prefers every pull contract to every push contract and the retailer the reverse, so each firm earns more by bearing the risk itself. The results are proved in the paper, with the calculus informal, the unimodality of π^s\hat\pi_sπ^s​ cited, and half of Theorem 6's proof called "analogous". The mission produces a machine-checked version under exactly stated hypotheses; the IGFR concavity and single-crossing facts (Lemma 1, Theorem 2, Lemma 4) are reusable for other contract analyses. No part of this paper is formalized elsewhere; a related platform statement, Snyder–Shen Theorem 14.3 (SupplyChainTheory.wholesale_supplier_unimodal), is the Lariviere–Porteus lemma under stronger assumptions (nonnegative salvage value, finite mean, a continuous positive density, and only a weakly increasing failure rate).

Difficulty

The comparisons are between functions of different shapes: the supplier's push profit is a margin times a quantity, the retailer's pull profit a margin times expected sales. Signing derivatives needs the monotonicity of j(q)h(q)j(q)h(q)j(q)h(q) (Lemma 1), and that fails to be routine at q→0q \to 0q→0, where FFF need not be differentiable. The set equality compares four profit curves at once, and survival of the push challenge is a statement about a different game, the supplier's best reply to every prebook.

Formalization scope

Demand is a probability measure μ\muμ on R\mathbb RR with FFF = ProbabilityTheory.cdf μ. The predicate DemandModel μ f records F(0)=0F(0) = 0F(0)=0, FFF strictly increasing on [0,∞)[0, \infty)[0,∞), F′=fF' = fF′=f on (0,∞)(0, \infty)(0,∞), and g′(x)>0g'(x) > 0g′(x)>0 for x>0x > 0x>0. Differentiability is not required at 000: the exponential law has a kink there, and it is the paper's own IGFR example. Prices satisfy v<c<pv < c < pv<c<p; no sign is imposed on vvv. Quantities range over [0,∞)[0, \infty)[0,∞). The paper's qoq^oqo is a parameter characterized by F(qo)=(p−c)/(p−v)F(q^o) = (p - c)/(p - v)F(qo)=(p−c)/(p−v), and the first milestone proves it exists and is unique.

Profits are defined in the paper's primitive (quantity, price) forms composed with the inducing prices; the closed forms are milestones, not definitions.

Readings of informal words, each named in the item concerned:

  • "increasing" in Lemma 1 and in Eqs. (2), (5), (9) is strict, as the proofs show; "concave" in Theorem 2 is strict concavity, as the proof shows via Lemma 1.
  • "unimodal" means strictly increasing on [0,q^][0, \hat q][0,q^​] and strictly decreasing on [q^,∞)[\hat q, \infty)[q^​,∞) for some q^>0\hat q > 0q^​>0.
  • Uniqueness in Lemma 4 (i)–(ii) is over q>0q > 0q>0, since all profits vanish at 000. Theorem 3 and Lemma 4 (v) hold for every maximizer, and the maximizers' existence is stated.
  • Theorem 6's "includes all" is set equality, which its proof establishes. The survival conjunct comes from Lemma 5, which the proof's last sentence invokes.
  • "prefers to prebook zero … rather than any positive amount" is strict preference.
  • The contract space is the admissible contracts, q≥0q \ge 0q≥0 with wholesale price in [c,p][c, p][c,p] (equivalently 0≤q≤qo0 \le q \le q^o0≤q≤qo in both modes). This is an explicit addition. The paper restricts prices to w^1<p\hat w_1 < pw^1​<p and w1=w2<pw_1 = w_2 < pw1​=w2​<p and states that contracts with q>qoq > q^oq>qo are Pareto inferior; but w^1<p\hat w_1 < pw^1​<p admits push with q>qoq > q^oq>qo (w^1<c\hat w_1 < cw^1​<c), where the retailer earns over Πo\Pi^oΠo and nothing dominates.
  • Eqs. (20)–(21) are stated for w2>cw_2 > cw2​>c, which is what makes (21) solvable.

The statement does not follow trivially from a degenerate encoding. The demand assumptions are satisfiable, since the exponential law meets them. qoq^oqo, qPq^PqP, q∗q^*q∗ and q^∗\hat q^*q^​∗ are shown to exist inside the statements that use them, and the Pareto set is taken over both modes and every admissible quantity, not only over the claimed interval.

Welcome contributions: basic facts about SSS, jjj and jhjhjh under the demand assumptions, reusable across the series' other two missions.

Selected references

  • G. P. Cachon, The Allocation of Inventory Risk in a Supply Chain: Push, Pull, and Advance-Purchase Discount Contracts, Management Science 50(2):222–238, 2004. https://doi.org/10.1287/mnsc.1030.0190
  • M. A. Lariviere and E. L. Porteus, Selling to the Newsvendor: An Analysis of Price-Only Contracts, Manufacturing & Service Operations Management 3(4):293–305, 2001. https://doi.org/10.1287/msom.3.4.293.9971
15 thms3 active usersReviewed
🏆Completed
Active InferenceInformation Theory·Captain: ActiveInference

Free Energy Principle II: expected free energy, Markov blankets, Gaussian variational free energy, and Bayesian model reductionResearch Paper

Free Energy Principle II: expected free energy, Markov blankets, Gaussian variational free energy, and Bayesian model reduction

Motivation

Mission Free Energy Principle I published the core variational step of the free energy principle (FEP): whatever recognition density a system carries, the posterior-form variational free energy never undercuts the data's surprisal, the bound is exact at the Bayesian posterior, and equality characterizes the posterior. That mission's shared finite substrate — normalized finite laws, finite kernels, entropy/cross-entropy/KL, and the finite generative model — now exists as platform definitions in the namespace FreeEnergyPrinciple.

The Free Energy Principle II mission formalizes the four structures the FEP literature builds on top of that core, all already machine-checked in the source repository fep_lean / fep_formal (Active Inference Institute):

  • Expected free energy — the policy-selection functional of active inference: what a course of action is expected to cost in preference divergence and what it is expected to reveal. Its canonical decomposition [Friston et al. 2017] splits GGG into risk (pragmatic divergence of predicted outcomes from preferences) plus ambiguity (expected entropy of outcomes given latent states), with epistemic value fixing the sign.
  • Markov blankets — the partition that makes a self-organizing system statable: internal states are conditionally independent of external states given the sensory-active blanket. The source development proves this at the level of Mathlib's native conditional distributions, not as a finite mutual-information proxy.
  • Gaussian variational free energy — the closed-form instantiation of the FEP-I bound for the exact scalar Gaussian filter, where the native Gaussian KL is exactly the squared mean error over twice the posterior variance.
  • Bayesian model reduction — model comparison by Bayes factors: posterior odds equal prior odds times the likelihood ratio, the multiplicative update applied whenever a reduced model is compared against the model it was reduced from [Friston & Penny 2011].

Timeline of the mathematical content this mission formalizes:

  • 2006/2010 — Friston's free energy principle: variational free energy as the quantity a self-organizing system minimizes (formalized in FEP-I).
  • 2011 — Friston & Penny, Post hoc Bayesian model selection: Bayesian model reduction — evidence of reduced models evaluated by the free-energy difference; comparison by Bayes factors.
  • 2015 — Friston, Rigoli, Sengupta, Pezzulo — the Markov-blanket partition (sensory/active states) as the geometry of the FEP.
  • 2017 — Friston, FitzGerald, Rigoli, Schwartenbeck, Pezzulo, Active inference: a process theory: expected free energy G(π)=risk+ambiguityG(\pi) = \text{risk} + \text{ambiguity}G(π)=risk+ambiguity drives policy selection.
  • 2022 — Parr, Pezzulo, Friston, Active Inference (MIT Press): Gaussian treatments of filtering and the posterior-form free energy as the working equations.
  • 2026 — fep_formal (Active Inference Institute): a machine-checked Lean 4 catalogue of 155 FEP topics compiled with zero proof holes against a pinned Mathlib. This mission transcribes the proved modules behind expected free energy, native Markov blankets, the scalar Gaussian filter/VFE, and Bayesian model reduction onto the platform.

Setting

Two carriers, both fully machine-checked in the source repository:

  • Finite (reusing FEP-I's published substrate). Laws are normalized real mass functions on finite types; kernels are normalized rows. This mission's expected-free-energy, model-reduction, and Markov-blanket families import the published Definitions.Def_fep_finite_laws, Def_fep_finite_information, and Def_fep_generative_model — no substrate is re-published. Zero-mass atoms are handled by the same totalized conventions as FEP-I: entropy uses Real.negMulLog (so 0log⁡0=00\log 0 = 00log0=0 exactly), KL is the nonnegative klFun integrand, and division premises are explicit.
  • Native Gaussian (self-contained on Mathlib). The Gaussian family is Mathlib's own gaussianReal/gaussianPDF at a fixed strictly positive variance; the scalar OU prediction and the closed filter update give the posterior mean/variance the recognition family varies over. The native KL between two family members is exactly (μ1−μ2)22v\frac{(\mu_1-\mu_2)^2}{2v}2v(μ1​−μ2​)2​ — proved against Mathlib's log-likelihood-ratio definition.

The four definition items of this mission package exactly these carriers:

  • Def_fep2_expected_free_energy — the predicted state-outcome joint, preference risk, likelihood ambiguity, epistemic value, pragmatic cost, expected free energy (epistemic sign fixed by definition), the full-support contract, and the marginal/product/conditional-entropy/mutual-information lemmas the decomposition needs. Imports FEP-I.
  • Def_fep2_gaussian_vfe — fixed-variance Gaussian family with its exact KL, scalar OU parameters, the exact scalar Gaussian filter (prediction, observation kernel, gain, closed posterior, evidence law), evidence surprisal, and the posterior-form Gaussian variational free energy. Self-contained.
  • Def_fep2_bayesian_model_reduction — posterior odds, Bayes factor, and the model-odds update odds←odds×Zf/Zrodds \leftarrow odds \times Z_f/Z_rodds←odds×Zf​/Zr​, with totalized division boundaries kept explicit. Imports FEP-I.
  • Def_fep2_native_blanket — the static blanket factorization, the Dirac-mass embedding of finite laws into native measures, blanket/internal/external coordinates, the conditional-pair kernel, and the marginal/composition identifications the independence proof needs. Imports FEP-I.

Formalization targets

Goal: expected free energy decomposes into risk plus ambiguity

For every finite generative model, every policy π\piπ, and every model with full support:

G[π]  =  KL(P(o∣π) ∥ C)  +  ∑sP(s∣π) H(A[⋅∣s]).G[\pi] \;=\; \mathrm{KL}\big(P(o\mid\pi)\,\|\,C\big) \;+\; \sum_s P(s\mid\pi)\,H\big(A[\cdot\mid s]\big).G[π]=KL(P(o∣π)∥C)+s∑​P(s∣π)H(A[⋅∣s]).

The epistemic-value sign is fixed by definition (G[π]=G[\pi] = G[π]= pragmatic cost −-− epistemic value); the decomposition follows from two entropy identities: epistemic value I(s;o∣π)I(s;o\mid\pi)I(s;o∣π) is predicted outcome entropy minus ambiguity, and risk is cross-entropy minus the same entropy (Gibbs' inequality under full reference support). Nonnegativity of GGG follows as a corollary — but the decomposition, not the bound, is the target.

Gaussian variational free energy in closed form

For the exact scalar Gaussian filter, the posterior-form variational free energy at recognition mean μ\muμ is

F[μ]=(μ−m∗)22v∗+S(o),F[\mu] = \frac{(\mu - m^*)^2}{2v^*} + S(o),F[μ]=2v∗(μ−m∗)2​+S(o),

the exact fixed-variance Gaussian KL (the recognition-to-posterior gap) plus the density-relative evidence surprisal. Equality with the surprisal holds exactly at the posterior mean — the Gaussian analogue of FEP-I's exactness theorem.

Odds recursion of Bayesian model reduction

Bayes' rule in odds form: at positive evidence,

P(hf∣e)P(hr∣e)=P(hf)P(hr)⋅P(e∣hf)P(e∣hr),\frac{P(h_f\mid e)}{P(h_r\mid e)} = \frac{P(h_f)}{P(h_r)}\cdot\frac{P(e\mid h_f)}{P(e\mid h_r)},P(hr​∣e)P(hf​∣e)​=P(hr​)P(hf​)​⋅P(e∣hr​)P(e∣hf​)​,

with the reference prior mass and reference likelihood as exact division premises. The multiplicative Bayes-factor structure (topic fep-120: factorized evidence ratios multiply; sequential model-odds updates agree with one update by product evidence) is available from the same definition layer as a further target.

Native Markov blanket conditional independence

The embedded static blanket factorization satisfies Mathlib's native CondIndepFun predicate: internal coordinates are conditionally independent of external coordinates given the blanket coordinate. The result is obtained by identifying the authored finite conditional kernels with Mathlib conditional distributions (the embedding preserves marginals and joints exactly on discrete carriers) — not by a finite mutual-information argument.

Significance

These four results are the load-bearing extensions of FEP-I's bound: expected free energy converts the variational principle into a theory of action selection; Markov blankets make "internal states" and "external states" well-defined relative to a blanket, which is what lets the FEP talk about self-organizing systems at all; the Gaussian filter is the tractable regime in which the variational machinery becomes the Kalman update; and Bayesian model reduction is the learning/comparison step that updates structure, not just parameters.

Formalizing them. All four families are proved with zero proof holes in the source repository, against a pinned Mathlib; the definition layer here is faithful (same carriers, same totalized conventions, same support contracts made explicit) and every item below compiles locally against the platform environment. The mission's value is reusable community infrastructure: the definition items publish the EFE layer, the Gaussian filter, the odds layer, and the native-blanket embedding in the shared namespace FreeEnergyPrinciple, so later missions (policy trees, collective inference, predictive coding) can import them instead of re-deriving. Status honesty: all eight items below are formalized and machine-checked locally against the platform environment; each is an open problem on the platform only in the sense that no proof has yet been submitted to it.

Difficulty

  • The EFE decomposition looks like an algebraic rearrangement but the sign conventions are load-bearing: the epistemic value enters GGG with a minus sign, and the two helper identities (epistemic value = outcome entropy −-− ambiguity; risk = cross-entropy −-− outcome entropy) both hold only under the full-support contract, which the definition makes explicit rather than hiding in a carrier.
  • The Gaussian identity requires the exact native KL between Gaussian laws — the proof goes through Mathlib's log-likelihood-ratio definition and the Gaussian first moment — and the closed-form update's positivity (positive prediction variance, positive innovation variance) is what makes the recognition family genuine rather than degenerate.
  • The odds recursion is a field-simp identity, but the premises are the point: a plausible rendering that hides division by zero behind totalized division changes the statement.
  • The blanket theorem is the most intricate item: it must transport a finite factorization through the Dirac-mass embedding into Mathlib's conditional-distribution machinery, with nonemptiness premises for the conditional distributions to exist. A "proof" via finite mutual information would prove something weaker than the source.

Formalization scope

Committed conventions of this mission's Lean development:

  • The expected-free-energy and model-reduction families reuse the published Free Energy Principle I finite substrate (namespace FreeEnergyPrinciple, definitions Def_fep_finite_laws, Def_fep_finite_information, Def_fep_generative_model); this mission adds definition items Def_fep2_expected_free_energy, Def_fep2_gaussian_vfe, Def_fep2_bayesian_model_reduction, and Def_fep2_native_blanket, all in the same namespace.
  • The Gaussian family is deliberately native: Mathlib gaussianReal/gaussianPDF, no finite substrate, no manifold geometry, no singular (zero-variance) branch.
  • Totalized real division boundaries (zero evidence, zero reference mass) are stated, never silently absorbed.
  • The natural-gradient / dynamic-flow layer of the source's Gaussian module (natural gradient flow, strict descent away from the posterior) is deliberately left out of this mission and is a natural extension target; likewise the row-wise dynamical blanket theorem (every authored factorized transition row preserves the native blanket conditional independence), which follows directly from the static theorem via the source's nextStaticModel construction.
  • Contributions welcome: the epistemic/pragmatic ENNReal balance (catalogue topic fep-021) onto this substrate, the treewise EFE decomposition (fep-133), Bayes-factor multiplicativity (fep-120), and blanket nonvacuity witnesses.

Selected references

  • K. Friston, A free energy principle for the brain, Journal of Physiology (Paris) 100 (2006) 70–87. https://doi.org/10.1016/j.jphysparis.2006.10.001
  • K. Friston, The free-energy principle: a unified brain theory?, Nature Reviews Neuroscience 11 (2010) 127–138. https://doi.org/10.1038/nrn2787
  • K. Friston & W. Penny, Post hoc Bayesian model selection, NeuroImage 56 (2011) 2089–2099. https://doi.org/10.1016/j.neuroimage.2011.03.062
  • K. Friston, T. FitzGerald, F. Rigoli, P. Schwartenbeck, G. Pezzulo, Active inference: a process theory, Neural Computation 29 (2017) 1–49. https://doi.org/10.1162/neco_a_00912
  • T. Parr, G. Pezzulo, K. J. Friston, Active Inference: The Free Energy Principle in Mind, Brain, and Behavior, MIT Press (2022). https://mitpress.mit.edu/9780262045354/active-inference/
  • D. A. Friedman, fep_formal: Towards Lean 4 Formalization of the Free Energy Principle (v1.2.0), Active Inference Institute (2026), the formal source of truth for this mission. https://github.com/ActiveInferenceInstitute/fep_formal
  • D. A. Friedman, Towards Lean 4 Formalization of the Free Energy Principle: AI-Driven Theorem Sketching and Verification for Active Inference and Bayesian Mechanics, Active Inference Journal (2026). https://doi.org/10.5281/zenodo.19699233
8 thms3 active usersReviewed
🏆Completed
CombinatoricsMachine Learning·Captain: naimengye

Understanding Machine Learning XXI: Covering NumbersTextbook

Motivation

Chapter 26 bounded the rate of uniform convergence by the Rademacher complexity; Chapter 27 of Shalev-Shwartz and Ben-David, Understanding Machine Learning: From Theory to Algorithms (doi:10.1017/CBO9781107298019), introduces a second, metric measure of the size of a set of vectors, its covering numbers N(r,A)N(r, A)N(r,A), the smallest number of Euclidean balls of radius rrr needed to cover AAA, and connects the two through Dudley's chaining. Covering numbers behave well under scaling and under coordinatewise Lipschitz maps (Lemmas 27.2–27.3), they are easily bounded for sets lying in a low-dimensional subspace (Example 27.1), and the chaining lemma turns a bound on log⁡N(r,A)\log N(r, A)logN(r,A) at all scales r=c2−kr = c2^{-k}r=c2−k into a bound on R(A)R(A)R(A) (Lemma 27.4), with the clean corollary R(A)≤6cm(α+2β)R(A) \le \frac{6c}{m}(\alpha + 2\beta)R(A)≤m6c​(α+2β) when log⁡N(c2−k,A)≤α+βk\sqrt{\log N(c2^{-k}, A)} \le \alpha + \beta klogN(c2−k,A)​≤α+βk (Lemma 27.5). The chapter's example recovers R(A)=O(cdlog⁡d/m)R(A) = O(c\sqrt{d\log d}/m)R(A)=O(cdlogd​/m) for sets in a ddd-dimensional subspace, the technique that the book says would sharpen the fundamental theorem's sample complexity from dlog⁡(d/ϵ)/ϵ2d\log(d/\epsilon)/\epsilon^2dlog(d/ϵ)/ϵ2 to d/ϵ2d/\epsilon^2d/ϵ2.

Setting

For A⊆RmA \subseteq \mathbb{R}^mA⊆Rm with the Euclidean metric, A′A'A′ is an rrr-cover of AAA if every a∈Aa \in Aa∈A is within distance rrr of some a′∈A′a' \in A'a′∈A′, and N(r,A)N(r, A)N(r,A) is the cardinality of the smallest rrr-cover (Definition 27.1). The Rademacher complexity R(A)=1mEσsup⁡a∈A⟨σ,a⟩R(A) = \frac1m\mathbb{E}_\sigma\sup_{a \in A}\langle\sigma, a\rangleR(A)=m1​Eσ​supa∈A​⟨σ,a⟩ is Mission XX's. Chaining is run at the scales c2−kc2^{-k}c2−k, k=1,…,Mk = 1, \dots, Mk=1,…,M, where ccc is a radius of a ball containing AAA, the book's c=min⁡aˉmax⁡a∈A∥a−aˉ∥c = \min_{\bar a}\max_{a \in A}\|a - \bar a\|c=minaˉ​maxa∈A​∥a−aˉ∥ being the smallest such radius.

Formalization targets

Goal: Lemma 27.4

For a nonempty A⊆RmA \subseteq \mathbb{R}^mA⊆Rm, m≥1m \ge 1m≥1, contained in the ball of radius ccc about some aˉ\bar aaˉ, and every integer M>0M > 0M>0,

R(A)≤c 2−Mm+6cm∑k=1M2−klog⁡N(c 2−k,A).R(A) \le \frac{c\,2^{-M}}{\sqrt m} + \frac{6c}{m}\sum_{k=1}^M 2^{-k}\sqrt{\log N(c\,2^{-k}, A)}.R(A)≤m​c2−M​+m6c​k=1∑M​2−klogN(c2−k,A)​.

Milestones

Example 27.1 (the grid rrr-cover of a set of norm at most ccc in a ddd-dimensional subspace, of size (2cd/r+1)d(2c\sqrt d/r + 1)^d(2cd​/r+1)d); Lemma 27.2 (scaling and translation); Lemma 27.3 (the contraction principle); Lemma 27.5 (the corollary of chaining). Further item: Example 27.2 (R(A)=O(cdlog⁡d/m)R(A) = O(c\sqrt{d\log d}/m)R(A)=O(cdlogd​/m) for sets in a ddd-dimensional subspace).

Significance

Chaining is the standard way to get sharp uniform convergence rates: a single-scale union bound (Massart's lemma at one resolution) loses a logarithmic factor, and summing Massart bounds over a geometric sequence of scales, applied to the increments between successive nearest cover points, recovers it. Lemma 27.4 is the discrete Dudley integral, and Lemma 27.5 is the form in which it is used: any polynomial-in-1/r1/r1/r covering number gives R(A)=O(clog⁡N/m)R(A) = O(c\sqrt{\log N}/m)R(A)=O(clogN​/m)-type bounds without the extra logarithm. On the platform these items complete the complexity toolbox begun in Mission XX and provide covering numbers as a reusable notion; the contraction and scaling lemmas mirror their Rademacher counterparts.

Difficulty

Lemmas 27.2 and 27.3 are immediate: the image of an rrr-cover under the affine map is an rcrcrc-cover, and under a coordinatewise ρ\rhoρ-Lipschitz map a ρr\rho rρr-cover, since ∥φ(a)−φ(a′)∥2=∑i(φi(ai)−φi(ai′))2≤ρ2∥a−a′∥2\|\varphi(a) - \varphi(a')\|^2 = \sum_i(\varphi_i(a_i) - \varphi_i(a'_i))^2 \le \rho^2\|a - a'\|^2∥φ(a)−φ(a′)∥2=∑i​(φi​(ai​)−φi​(ai′​))2≤ρ2∥a−a′∥2; formally they are manipulations of the infimum in N∪{∞}\mathbb{N} \cup \{\infty\}N∪{∞}. Example 27.1 needs an orthonormal basis of the subspace (Gram–Schmidt, or Mathlib's orthonormal bases of finite-dimensional inner product subspaces of Rm\mathbb{R}^mRm with the Euclidean structure) and the rounding of coordinates to a grid. Lemma 27.4 is the real work: after centering, take minimal c2−kc2^{-k}c2−k-covers BkB_kBk​, the near-maximizer a∗a^*a∗ of ⟨σ,a⟩\langle\sigma, a\rangle⟨σ,a⟩ (which depends on σ\sigmaσ), its nearest points b(k)∈Bkb^{(k)} \in B_kb(k)∈Bk​, the telescoping a∗=(a∗−b(M))+∑k(b(k)−b(k−1))a^* = (a^* - b^{(M)}) + \sum_k(b^{(k)} - b^{(k-1)})a∗=(a∗−b(M))+∑k​(b(k)−b(k−1)), the bound ∥b(k)−b(k−1)∥≤3c2−k\|b^{(k)} - b^{(k-1)}\| \le 3c2^{-k}∥b(k)−b(k−1)∥≤3c2−k, and Massart's lemma (Mission XX) on the sets B^k\hat B_kB^k​ of increments, of cardinality at most N(c2−k,A)2N(c2^{-k}, A)^2N(c2−k,A)2; a formal proof must handle the supremum not being attained (approximate maximizers) and the dependence of all choices on σ\sigmaσ inside the finite average. Lemma 27.5 lets M→∞M \to \inftyM→∞ using ∑k2−k=1\sum_k 2^{-k} = 1∑k​2−k=1 and ∑kk2−k=2\sum_k k2^{-k} = 2∑k​k2−k=2. Example 27.2 combines Example 27.1 at the scales c2−kc2^{-k}c2−k with Lemma 27.5, with the book's constant log⁡(2d)\log(2\sqrt d)log(2d​). The book's derivation uses the count without +1+1+1, so a proof needs the volumetric covering bound (1+2c/r)d(1 + 2c/r)^d(1+2c/r)d for d≥2d \ge 2d≥2 and a direct count for d=1d = 1d=1.

Formalization scope

Vectors are Fin m → ℝ with an explicit Euclidean norm, because Mathlib's norm on that type is the sup norm; covers are arbitrary finsets of Rm\mathbb{R}^mRm and N(r,A)N(r, A)N(r,A) is an infimum in N∪{∞}\mathbb{N} \cup \{\infty\}N∪{∞}, so no junk value arises when no finite cover exists, and the chaining statements read NNN through ENat.toNat for the bounded sets they concern, where it is finite. Subspaces are Mathlib Submodules with finrank = d. Two statements are given with the constants their proofs support, and the item texts say so. Example 27.1's grid has 2c/ϵ+12c/\epsilon + 12c/ϵ+1 points per coordinate, so the cover has size (2cd/r+1)d(2c\sqrt d/r + 1)^d(2cd​/r+1)d, not (2cd/r)d(2c\sqrt d/r)^d(2cd​/r)d, which is less than 111 for r>2cdr > 2c\sqrt dr>2cd​ and cannot bound a covering number of a nonempty set; Example 27.2 correspondingly has log⁡(4d)\log(4\sqrt d)log(4d​) in place of log⁡(2d)\log(2\sqrt d)log(2d​). Lemma 27.4 is stated for any enclosing radius ccc about any center, since the proof only uses that {aˉ}\{\bar a\}{aˉ} is a ccc-cover of AAA; the book's minimal radius is the special case, and this is the form Example 27.2 needs (with aˉ=0\bar a = 0aˉ=0 and c=max⁡∥a∥c = \max\|a\|c=max∥a∥). Lemma 27.5 keeps the book's α,β>0\alpha, \beta > 0α,β>0.

Not stated: nothing else is in the chapter beyond the bibliographic remarks.

Selected references

  • S. Shalev-Shwartz, S. Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press, 2014, Chapter 27. doi:10.1017/CBO9781107298019
  • R. M. Dudley, Universal Donsker classes and metric entropy, Annals of Probability 15(4), 1987. doi:10.1214/aop/1176991978
  • M. Anthony, P. L. Bartlett, Neural Network Learning: Theoretical Foundations, Cambridge University Press, 1999. doi:10.1017/CBO9780511624216
  • M. Talagrand, Upper and Lower Bounds for Stochastic Processes, Springer, 2014. doi:10.1007/978-3-642-54075-2
  • R. Vershynin, High-Dimensional Probability, Cambridge University Press, 2018. doi:10.1017/9781108231596
7 thms3 active usersReviewed
🏆Completed
Machine LearningStatistics·Captain: naimengye

Understanding Machine Learning XIX: Generative ModelsTextbook

Motivation

The book is discriminative almost throughout: it learns predictors, not distributions, following Vapnik's advice not to solve a more general problem as an intermediate step. Chapter 24 of Shalev-Shwartz and Ben-David, Understanding Machine Learning: From Theory to Algorithms (doi:10.1017/CBO9781107298019), presents the generative alternative: assume a parametric form for the data distribution and estimate its parameters. The maximum likelihood principle is introduced on Bernoulli and Gaussian samples, shown to be empirical risk minimization for the log-loss, and analyzed through the decomposition of the true log-loss risk into a relative entropy plus an entropy (24.5), which explains both its consistency under a correct model and its overfitting on small samples. Naive Bayes and linear discriminant analysis show how generative assumptions reduce the number of parameters and make the Bayes classifier linear (24.8). The chapter's main theorem concerns the Expectation-Maximization algorithm of Dempster, Laird and Rubin for latent-variable models such as Gaussian mixtures: EM never decreases the log-likelihood (Theorem 24.3), because it is an alternate maximization of a lower bound G(Q,θ)G(Q, \theta)G(Q,θ) that touches the likelihood at the posterior (Lemma 24.2). The chapter ends with Bayesian reasoning and the rule of succession.

Setting

A Bernoulli sample S=(x1,…,xm)S = (x_1, \dots, x_m)S=(x1​,…,xm​) has log-likelihood L(S;θ)=log⁡(θ)∑ixi+log⁡(1−θ)∑i(1−xi)L(S;\theta) = \log(\theta)\sum_i x_i + \log(1-\theta)\sum_i(1-x_i)L(S;θ)=log(θ)∑i​xi​+log(1−θ)∑i​(1−xi​) and estimator θ^=1m∑ixi\hat\theta = \frac1m\sum_i x_iθ^=m1​∑i​xi​ (24.1); a Gaussian sample has L(S;(μ,σ))=−12σ2∑i(xi−μ)2−mlog⁡(σ2π)L(S;(\mu,\sigma)) = -\frac1{2\sigma^2}\sum_i(x_i-\mu)^2 - m\log(\sigma\sqrt{2\pi})L(S;(μ,σ))=−2σ21​∑i​(xi​−μ)2−mlog(σ2π​). The log-loss is ℓ(θ,x)=−log⁡Pθ[x]\ell(\theta, x) = -\log P_\theta[x]ℓ(θ,x)=−logPθ​[x] (24.4); on a finite domain, DRE[P∥Q]=∑xP[x]log⁡(P[x]/Q[x])D_{RE}[P\|Q] = \sum_x P[x]\log(P[x]/Q[x])DRE​[P∥Q]=∑x​P[x]log(P[x]/Q[x]) and H(P)=∑xP[x]log⁡(1/P[x])H(P) = \sum_x P[x]\log(1/P[x])H(P)=∑x​P[x]log(1/P[x]). A latent-variable model is a parametric joint Pθ[X=x,Y=y]P_\theta[X = x, Y = y]Pθ​[X=x,Y=y], y∈[k]y \in [k]y∈[k], with L(θ)=∑ilog⁡∑yPθ[X=xi,Y=y]L(\theta) = \sum_i\log\sum_y P_\theta[X = x_i, Y = y]L(θ)=∑i​log∑y​Pθ​[X=xi​,Y=y]; F(Q,θ)=∑i∑yQi,ylog⁡Pθ[X=xi,Y=y]F(Q,\theta) = \sum_i\sum_y Q_{i,y}\log P_\theta[X = x_i, Y = y]F(Q,θ)=∑i​∑y​Qi,y​logPθ​[X=xi​,Y=y], G(Q,θ)=F(Q,θ)−∑i∑yQi,ylog⁡Qi,yG(Q,\theta) = F(Q,\theta) - \sum_i\sum_y Q_{i,y}\log Q_{i,y}G(Q,θ)=F(Q,θ)−∑i​∑y​Qi,y​logQi,y​ over the set Q\mathcal{Q}Q of row-stochastic matrices, and EM alternates the E-step Qi,y(t+1)=Pθ(t)[Y=y∣X=xi]Q^{(t+1)}_{i,y} = P_{\theta^{(t)}}[Y = y \mid X = x_i]Qi,y(t+1)​=Pθ(t)​[Y=y∣X=xi​] (24.10) with the M-step θ(t+1)∈argmax⁡θF(Q(t+1),θ)\theta^{(t+1)} \in \operatorname{argmax}_\theta F(Q^{(t+1)}, \theta)θ(t+1)∈argmaxθ​F(Q(t+1),θ) (24.11).

Formalization targets

Goal: Theorem 24.3

For a positive parametric joint Pθ[X=x,Y=y]P_\theta[X = x, Y = y]Pθ​[X=x,Y=y], a sample x1,…,xmx_1, \dots, x_mx1​,…,xm​, and any run θ(0),θ(1),…\theta^{(0)}, \theta^{(1)}, \dotsθ(0),θ(1),… of EM (each M-step returning some maximizer of F(Q(t+1),⋅)F(Q^{(t+1)}, \cdot)F(Q(t+1),⋅)), the log-likelihood never decreases:

L(θ(t+1))≥L(θ(t))for all t.L(\theta^{(t+1)}) \ge L(\theta^{(t)}) \quad\text{for all } t.L(θ(t+1))≥L(θ(t))for all t.

Milestones

Equation (24.2) (Hoeffding for the Bernoulli estimator); the Gaussian maximum likelihood estimates of §24.1.1; Equation (24.5) (the risk decomposition DRE[P∥Pθ]+H(P)D_{RE}[P\|P_\theta] + H(P)DRE​[P∥Pθ​]+H(P)); Equation (24.8) (the LDA log-likelihood ratio is affine); Lemma 24.2 (EM as alternate maximization of GGG, with G(Q,θ)≤L(θ)G(Q, \theta) \le L(\theta)G(Q,θ)≤L(θ) and equality at the posterior). Further items: Gibbs' inequality, the Bernoulli maximum likelihood estimator (24.1)/(24.3), Exercise 1 (the biased variance estimate), Equation (24.6), the overfitting example of §24.1.3, Exercise 3 / (24.14), the weighted-centroid M-step (24.13), and the rule of succession of §24.5.

Significance

Theorem 24.3 is the guarantee that makes EM a sensible algorithm: it does not find the maximum likelihood estimate, but it climbs monotonically, and Lemma 24.2 identifies why, the E-step chooses the tightest lower bound G(Q,⋅)G(Q, \cdot)G(Q,⋅) at the current parameter and the M-step maximizes it. This variational view underlies a large part of modern latent-variable inference. Equation (24.5) is the information-theoretic content of maximum likelihood: the true risk is the entropy of the data plus the relative entropy to the model, so the best parameter is a projection of the data distribution onto the model class, and Gibbs' inequality is what makes that projection meaningful. The Bernoulli and Gaussian computations are the standard first examples, and Equation (24.8) is the reason linear classifiers appear in generative modeling. On the platform, the mission adds the relative entropy on finite domains, the EM objects, and Gaussian-integral identities that later probabilistic work can reuse.

Difficulty

The Bernoulli and Gaussian maximum likelihood facts are calculus, but as global maximization statements they need the concavity of log⁡\loglog and an explicit completion of squares rather than the book's stationary-point argument; the Gaussian case reduces to minimizing σ↦mσ^22σ2+mlog⁡σ\sigma \mapsto \frac{m\hat\sigma^2}{2\sigma^2} + m\log\sigmaσ↦2σ2mσ^2​+mlogσ. Equation (24.5) is a finite-sum identity; Gibbs' inequality is Jensen for log⁡\loglog with the equality case, or the elementary log⁡t≤t−1\log t \le t - 1logt≤t−1. Lemma 24.2 is Jensen's inequality applied row by row to ∑yQi,ylog⁡(Pθ[X=xi,Y=y]/Qi,y)\sum_y Q_{i,y}\log(P_\theta[X = x_i, Y = y]/Q_{i,y})∑y​Qi,y​log(Pθ​[X=xi​,Y=y]/Qi,y​), with care at entries Qi,y=0Q_{i,y} = 0Qi,y​=0, where the convention 0log⁡0=00\log 0 = 00log0=0 is exactly Lean's junk value; Theorem 24.3 chains the lemma's three parts as the book does. The Gaussian expectation identities (Exercise 1 and (24.6)) require the moments of gaussianReal and Fubini over the product law. Hoeffding's inequality (24.2) is Mission II's Theorem for Bernoulli variables; the overfitting example is the inequality log⁡(1−θ)≥−2θ\log(1-\theta) \ge -2\thetalog(1−θ)≥−2θ on [0,1/2][0, 1/2][0,1/2]. The rule of succession is a Beta-function identity provable by integration by parts.

Formalization scope

Parametric families are functions from a parameter type to real-valued probabilities or densities, following the book's convention (p. 344) that P[X=x]P[X = x]P[X=x] denotes either; no measure-theoretic densities are needed except in the two Gaussian-integral items, which use gaussianReal and the i.i.d. law of Mission I, and in the two Bernoulli probability items, which use the Bernoulli law of Mission XIV. Lean's log 0 = 0 is handled explicitly: the EM items assume a positive joint, since with junk logarithms Theorem 24.3 is false (the M-step could pick a parameter with a zero component and inflated FFF), while the entropy terms Qlog⁡QQ\log QQlogQ use the convention 0log⁡0=00\log 0 = 00log0=0 that the book intends; the Bernoulli maximum likelihood statement ranges over θ∈(0,1)\theta \in (0,1)θ∈(0,1); the log-loss decomposition and Gibbs' inequality take the second distribution positive. The M-step is a predicate ("some maximizer"), so Assumption 24.1 is not modeled, and an EM run is any sequence of such steps. The Gaussian maximum likelihood statement requires a nonconstant sample, without which the likelihood is unbounded; the overfitting example is stated for θ⋆≤1/2\theta^\star \le 1/2θ⋆≤1/2, the range on which the book's inequality (1−θ)m≥e−2θm(1-\theta)^m \ge e^{-2\theta m}(1−θ)m≥e−2θm holds. Equation (24.8) is stated as a matrix identity for any symmetric MMM in place of Σ−1\Sigma^{-1}Σ−1; the soft k-means M-step is stated as the weighted-centroid minimization it amounts to.

Not stated: Naive Bayes (24.7), which is a rewriting of Bayes' rule; the mixture density itself and the E-step formula (24.12); the Bayesian derivations (24.16) and maximum a posteriori estimation; Exercise 2.

Selected references

  • S. Shalev-Shwartz, S. Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press, 2014, Chapter 24. doi:10.1017/CBO9781107298019
  • A. P. Dempster, N. M. Laird, D. B. Rubin, Maximum likelihood from incomplete data via the EM algorithm, Journal of the Royal Statistical Society B 39(1), 1977. doi:10.1111/j.2517-6161.1977.tb01600.x
  • C. F. J. Wu, On the convergence properties of the EM algorithm, Annals of Statistics 11(1), 1983. doi:10.1214/aos/1176346060
  • T. M. Cover, J. A. Thomas, Elements of Information Theory, 2nd ed., Wiley, 2006. doi:10.1002/047174882X
  • C. M. Bishop, Pattern Recognition and Machine Learning, Springer, 2006.
11 thms3 active usersReviewed
🏆Completed
Machine LearningOptimization·Captain: naimengye

Understanding Machine Learning XVIII: Dimensionality ReductionTextbook

Motivation

Dimensionality reduction maps data in Rd\mathbb{R}^dRd to Rn\mathbb{R}^nRn, n≪dn \ll dn≪d, by a linear map x↦Wxx \mapsto Wxx↦Wx, for computational reasons, for generalization (Chapter 19's curse of dimensionality) and for interpretability. Chapter 23 of Shalev-Shwartz and Ben-David, Understanding Machine Learning: From Theory to Algorithms (doi:10.1017/CBO9781107298019), studies three ways to choose WWW. Principal Component Analysis chooses the pair of compression and recovery matrices that minimizes the total squared reconstruction error, and the answer is the eigenvectors of ∑ixixi⊤\sum_i x_ix_i^\top∑i​xi​xi⊤​ for the largest eigenvalues (Theorem 23.2). Random projections choose WWW with independent Gaussian entries, and the Johnson–Lindenstrauss lemma says that the norms of any finite set of vectors are then preserved up to 1±ϵ1 \pm \epsilon1±ϵ with n=O(ϵ−2log⁡∣Q∣)n = O(\epsilon^{-2}\log|Q|)n=O(ϵ−2log∣Q∣) (Lemma 23.4). Compressed sensing exploits sparsity: a matrix with the restricted isometry property compresses every sss-sparse vector losslessly (Theorem 23.6), the reconstruction can be done by ℓ1\ell_1ℓ1​ minimization, a linear program, with an error bound that degrades gracefully for approximately sparse inputs (Theorem 23.8, due to Candès), and Gaussian random matrices with n=O(slog⁡d)n = O(s\log d)n=O(slogd) rows are RIP with high probability (Theorem 23.9).

Setting

Vectors are functions Rd\mathbb{R}^dRd with ∥v∥22=∑ivi2\|v\|_2^2 = \sum_i v_i^2∥v∥22​=∑i​vi2​, ∥v∥1=∑i∣vi∣\|v\|_1 = \sum_i|v_i|∥v∥1​=∑i​∣vi​∣ and ∥v∥0=∣{i:vi≠0}∣\|v\|_0 = |\{i : v_i \ne 0\}|∥v∥0​=∣{i:vi​=0}∣. The PCA problem (23.1) is argmin⁡W∈Rn×d,U∈Rd×n∑i=1m∥xi−UWxi∥22\operatorname{argmin}_{W \in \mathbb{R}^{n \times d}, U \in \mathbb{R}^{d \times n}}\sum_{i=1}^m\|x_i - UWx_i\|_2^2argminW∈Rn×d,U∈Rd×n​∑i=1m​∥xi​−UWxi​∥22​, and A=∑ixixi⊤A = \sum_i x_ix_i^\topA=∑i​xi​xi⊤​. A random matrix has independent N(0,v)N(0, v)N(0,v) entries, v=1v = 1v=1 in Lemma 23.3 and v=1/nv = 1/nv=1/n afterwards. WWW is (ϵ,s)(\epsilon, s)(ϵ,s)-RIP if ∣∥Wx∥22/∥x∥22−1∣≤ϵ\big|\|Wx\|_2^2/\|x\|_2^2 - 1\big| \le \epsilon​∥Wx∥22​/∥x∥22​−1​≤ϵ for every x≠0x \ne 0x=0 with ∥x∥0≤s\|x\|_0 \le s∥x∥0​≤s (Definition 23.5); vIv_IvI​ is vvv restricted to an index set III.

Formalization targets

Goal: Theorem 23.2

Let x1,…,xm∈Rdx_1, \dots, x_m \in \mathbb{R}^dx1​,…,xm​∈Rd, A=∑ixixi⊤A = \sum_i x_ix_i^\topA=∑i​xi​xi⊤​, and let u1,…,unu_1, \dots, u_nu1​,…,un​ be eigenvectors of AAA for its nnn largest eigenvalues, formalized as the first nnn columns of a spectral decomposition A=Vdiag⁡(D)V⊤A = V\operatorname{diag}(D)V^\topA=Vdiag(D)V⊤ with V⊤V=IV^\top V = IV⊤V=I and DDD nonincreasing. Then U=[u1⋯un]U = [u_1 \cdots u_n]U=[u1​⋯un​] with W=U⊤W = U^\topW=U⊤ minimizes (23.1): for every U′,W′U', W'U′,W′,

∑i∥xi−UU⊤xi∥2≤∑i∥xi−U′W′xi∥2.\sum_i\|x_i - UU^\top x_i\|^2 \le \sum_i\|x_i - U'W'x_i\|^2.i∑​∥xi​−UU⊤xi​∥2≤i∑​∥xi​−U′W′xi​∥2.

Milestones

Lemma 23.1 (the reduction of (23.1) to orthonormal UUU and W=U⊤W = U^\topW=U⊤); Lemma 23.4 (Johnson–Lindenstrauss); Theorem 23.6 (exact ℓ0\ell_0ℓ0​ recovery under RIP); Theorem 23.8 (Candès' ℓ1\ell_1ℓ1​ recovery bound); Theorem 23.9 (Gaussian matrices are RIP). Further items: Equation (23.3), Exercise 2, Remark 23.1 (the optimal value ∑i>nDi,i\sum_{i>n}D_{i,i}∑i>n​Di,i​), the eigenvector transfer of §23.1.1, Lemma 23.3, Theorem 23.7, Lemma 23.10, Lemma 23.11 and Lemma 23.12.

Significance

Theorem 23.2 is the Eckart–Young–Mirsky theorem in the form the book states it: PCA is the optimal linear compression-and-recovery scheme in the least-squares sense, and its solution is spectral. The Johnson–Lindenstrauss lemma is the basic tool of randomized dimensionality reduction, with a bound independent of ddd, and the book's variant with explicit constants is what later chapters and the compressed-sensing proofs use. Theorems 23.6–23.9 together are the three "surprising results" of compressed sensing: information-theoretic recoverability from RIP, efficient recovery by convex relaxation, and the existence of RIP matrices by randomness; their proofs, Candès' cone argument and Baraniuk–Davenport–DeVore–Wakin's net-plus-union-bound, are among the cleanest in applied mathematics and are natural formalization targets. On the platform, the mission introduces Gaussian random matrices as product measures and the RIP predicate, usable by later work on sparse recovery.

Difficulty

Lemma 23.1 requires building an orthonormal basis of the range of UWUWUW, padded to nnn vectors when the range has smaller dimension, and the identity ∥x−Vy∥2=∥x∥2+∥y∥2−2y⊤V⊤x\|x - Vy\|^2 = \|x\|^2 + \|y\|^2 - 2y^\top V^\top x∥x−Vy∥2=∥x∥2+∥y∥2−2y⊤V⊤x; Equation (23.3) is a trace computation. Theorem 23.2 combines (23.3), the change of basis B=V⊤UB = V^\top UB=V⊤U with B⊤B=IB^\top B = IB⊤B=I, the bound ∑iBj,i2≤1\sum_i B_{j,i}^2 \le 1∑i​Bj,i2​≤1 from extending BBB to an orthogonal matrix, and Exercise 2, a rearrangement inequality; Remark 23.1 adds trace⁡(A)=∑jDj,j\operatorname{trace}(A) = \sum_j D_{j,j}trace(A)=∑j​Dj,j​. Lemma 23.3 is the concentration of a χn2\chi^2_nχn2​ variable (Lemma B.12), which must itself be established from the Gaussian moment generating function; the Johnson–Lindenstrauss lemma is then a union bound. Theorem 23.6 is a two-line contradiction with RIP applied to x−x~x - \tilde xx−x~. Theorem 23.8 is the substantial one: the partition of [d][d][d] into blocks of sss largest remaining entries, the bound ∥hTj∥2≤s−1/2∥hTj−1∥1\|h_{T_j}\|_2 \le s^{-1/2}\|h_{T_{j-1}}\|_1∥hTj​​∥2​≤s−1/2∥hTj−1​​∥1​, the ℓ1\ell_1ℓ1​-minimality inequality (23.8), Lemma 23.10, and the two claims combined through (23.5); a formal proof must handle the last, possibly shorter block, which the book's "assume d/sd/sd/s is an integer" sidesteps. Lemma 23.11 is a volumetric net bound; Lemma 23.12 applies the Johnson–Lindenstrauss lemma to the image of an ϵ/4\epsilon/4ϵ/4-net of the unit sphere of Rs\mathbb{R}^sRs and closes the gap by the "smallest aaa" argument, and Theorem 23.9 is a union bound over index sets.

Formalization scope

Vectors are plain functions Fin d → ℝ with explicit norms, and matrices are Mathlib matrices, so the objectives are finite sums with no coercions between normed spaces. Random matrices are functions Fin n → Fin d → ℝ with the product of Gaussian laws gaussianReal 0 v, applied through Matrix.of; probability statements bound the outer measure of the failure event, and the failure events of Lemmas 23.4 and 23.12 are written with ≥ϵ\ge \epsilon≥ϵ so that the book's strict conclusions follow. "Eigenvectors corresponding to the nnn largest eigenvalues" is formalized as the first nnn columns of a spectral decomposition with nonincreasing diagonal, which is exactly the set of such systems and avoids Mathlib's eigenvalue ordering conventions. Minimizers (x~\tilde xx~, x⋆x^\starx⋆, xsx_sxs​) are arbitrary elements of the argmin.

Five statements are given as their proofs support them, and the item texts say so. Lemma 23.3 and the Johnson–Lindenstrauss lemma are stated for ϵ≤3/4\epsilon \le 3/4ϵ≤3/4: the printed range ϵ∈(0,3)\epsilon \in (0, 3)ϵ∈(0,3) (and ϵ≤3\epsilon \le 3ϵ≤3) is false, since the χn2\chi^2_nχn2​ upper tail decays like e−n(ϵ−ln⁡(1+ϵ))/2e^{-n(\epsilon - \ln(1+\epsilon))/2}e−n(ϵ−ln(1+ϵ))/2, slower than e−ϵ2n/6e^{-\epsilon^2 n/6}e−ϵ2n/6 for ϵ>0.785\epsilon > 0.785ϵ>0.785 (at ϵ=2.9\epsilon = 2.9ϵ=2.9 it fails for n=10n = 10n=10); the audit found this. Lemma 23.1 as printed, "every solution has orthonormal columns and W=U⊤W = U^\topW=U⊤", is false, since (cU,W/c)(cU, W/c)(cU,W/c) has the same objective as (U,W)(U, W)(U,W); the item states what the proof shows, that every (U,W)(U, W)(U,W) is dominated by some (V,V⊤)(V, V^\top)(V,V⊤) with V⊤V=IV^\top V = IV⊤V=I, which is all that (23.2) needs. Theorem 23.9 is stated with n≥216 slog⁡(72d/(δϵ))/ϵ2n \ge 216\,s\log(72d/(\delta\epsilon))/\epsilon^2n≥216slog(72d/(δϵ))/ϵ2: Lemma 23.12 with ϵ/3\epsilon/3ϵ/3 (so that (1±ϵ/3)2(1 \pm \epsilon/3)^2(1±ϵ/3)2 lies within 1±ϵ1 \pm \epsilon1±ϵ) and δ/ds\delta/d^sδ/ds, followed by a union bound over the at most dsd^sds index sets, gives these constants, and the printed 100100100 and 404040 are not reached by the argument. Theorem 23.8's proof assumes d/sd/sd/s is an integer for simplicity; the statement is given without that assumption, since only the last block of the partition can be short and the block inequality still holds. Lemma 23.3 has x≠0x \ne 0x=0, and the Johnson–Lindenstrauss lemma n≥1n \ge 1n≥1, since for n=0n = 0n=0 its ϵ\epsilonϵ is 000 and the conclusion fails.

Not stated: §23.1.2 (implementation), Remarks 23.2–23.3, §23.4 (the comparison of PCA and compressed sensing), Exercises 1 and 3–6.

Selected references

  • S. Shalev-Shwartz, S. Ben-David, Understanding Machine Learning: From Theory to Algorithms, Cambridge University Press, 2014, Chapter 23. doi:10.1017/CBO9781107298019
  • W. B. Johnson, J. Lindenstrauss, Extensions of Lipschitz mappings into a Hilbert space, Contemporary Mathematics 26, 1984. doi:10.1090/conm/026/737400
  • E. J. Candès, The restricted isometry property and its implications for compressed sensing, Comptes Rendus Mathématique 346(9–10), 2008. doi:10.1016/j.crma.2008.03.014
  • R. Baraniuk, M. Davenport, R. DeVore, M. Wakin, A simple proof of the restricted isometry property for random matrices, Constructive Approximation 28, 2008. doi:10.1007/s00365-007-9003-x
  • D. L. Donoho, Compressed sensing, IEEE Transactions on Information Theory 52(4), 2006. doi:10.1109/TIT.2006.871582
  • E. J. Candès, T. Tao, Decoding by linear programming, IEEE Transactions on Information Theory 51(12), 2005. doi:10.1109/TIT.2005.858979
7 thms3 active usersReviewed
PreviousPage 6 of 22Next

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