Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Operations Research

1,703 missions · 839 completed

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

Missions

Open864Completed839All1703
Linear OptimizationProbability·Captain: mikedeng1

A Re-solving Heuristic with Uniformly Bounded Loss for Network Revenue Management 2: Frequent Re-solving Loses at Most O(√T) Against the Deterministic LP, Uniformly in the CapacitiesResearch Paper

Motivation

Network revenue management is the problem of selling several limited, perishable resources (seats on flight legs, hotel room-nights, machine hours) to customers who arrive over time and each want a fixed bundle of them. A seller who accepts every request early may run out of the resources that the most valuable later customers need, and a seller who is too cautious leaves capacity unsold at the end of the horizon. Airlines, hotels and car-rental firms solve instances of this problem daily (Talluri and van Ryzin, 2004).

The exact optimal policy is a dynamic program over the vector of remaining capacities, which is intractable for realistic networks. The standard remedy replaces the random demand by its mean, which gives a linear program, the deterministic LP (DLP), and turns its solution into an admission rule. Its value is an upper bound on what any policy can earn (Gallego and van Ryzin, 1997). Solving the LP once, at time zero, loses O(T)O(\sqrt{T})O(T​) against that bound over a horizon of length TTT. A natural improvement is to re-solve the LP as capacity is consumed.

Timeline of the re-solving question, as the source surveys it (Sec. 1, pp. 3–4):

  • 1997: Gallego and van Ryzin: static policies built from the DLP lose Θ(T)\Theta(\sqrt{T})Θ(T​).
  • 2002: Cooper gives an example in which re-solving the DLP makes booking-limit control worse.
  • 2008: Reiman and Wang re-solve exactly once, at an endogenous random time, with probabilistic allocation, and obtain o(T)o(\sqrt{T})o(T​) loss.
  • 2012: Jasin and Kumar prove that re-solving after every unit of time with probabilistic allocation (the policy FR below) loses O(1)O(1)O(1), provided the DLP solution is nondegenerate. Wu et al. (2015) obtain O(1)O(1)O(1) for one resource, with a constant that blows up as the solution approaches degeneracy.
  • 2018: Bumpensanti and Wang (arXiv:1802.06192) show that FR can lose Ω(T)\Omega(\sqrt{T})Ω(T​) against the hindsight optimum on a degenerate instance, propose a modified policy with O(1)O(1)O(1) loss in all cases, and prove that FR never loses more than O(T)O(\sqrt{T})O(T​) against the DLP. This mission formalizes the last of these results.

Setting

There are nnn customer classes j∈[n]j \in [n]j∈[n] and mmm resources l∈[m]l \in [m]l∈[m]. Over the horizon [0,T][0, T][0,T], class-jjj customers arrive according to independent Poisson processes with rates λj>0\lambda_j > 0λj​>0. Accepting a class-jjj customer earns rj≥0r_j \ge 0rj​≥0 and consumes alj≥0a_{lj} \ge 0alj​≥0 units of each resource lll; A=(alj)A = (a_{lj})A=(alj​) is the bill-of-materials matrix and AjA_jAj​ its jjj-th column. The initial capacity vector is C≥0C \ge 0C≥0. A customer can be accepted only if Aj≤C′A_j \le C'Aj​≤C′ componentwise, where C′C'C′ is the capacity remaining at its arrival.

For a capacity-per-unit-time vector b≥0b \ge 0b≥0, let

v(b)=max⁡{∑j=1nrjxj : ∑j=1nAjxj≤b, 0≤xj≤λj}.v(b) = \max\Big\{ \sum_{j=1}^n r_j x_j \ :\ \sum_{j=1}^n A_j x_j \le b,\ 0 \le x_j \le \lambda_j \Big\}.v(b)=max{j=1∑n​rj​xj​ : j=1∑n​Aj​xj​≤b, 0≤xj​≤λj​}.

The DLP value is vDLP(T,C)=T v(C/T)v^{\mathrm{DLP}}(T, C) = T\, v(C/T)vDLP(T,C)=Tv(C/T).

The Frequent Re-solving policy (FR) divides the horizon into TTT unit periods [t,t+1)[t, t+1)[t,t+1). At the start of period ttt, with remaining capacity C(t)C(t)C(t), it sets b(t)=C(t)/(T−t)b(t) = C(t)/(T - t)b(t)=C(t)/(T−t), computes an optimal solution x(t)x(t)x(t) of the LP with right-hand side b(t)b(t)b(t), and during the period accepts each class-jjj arrival with probability xj(t)/λjx_j(t)/\lambda_jxj​(t)/λj​, subject to the capacity check. Its expected revenue is vFR(T,C)v^{\mathrm{FR}}(T, C)vFR(T,C). The LP may have several optimal solutions; the results hold for every rule choosing among them.

Formalization targets

Goal: Proposition 3

There is a constant MMM, depending only on λ\lambdaλ, rrr and AAA, such that for every integer T≥1T \ge 1T≥1, every capacity C≥0C \ge 0C≥0 and every choice of optimal LP solutions,

vDLP(T,C)−vFR(T,C)≤MT.v^{\mathrm{DLP}}(T, C) - v^{\mathrm{FR}}(T, C) \le M \sqrt{T}.vDLP(T,C)−vFR(T,C)≤MT​.

The content is the uniformity: MMM does not depend on CCC, so the bound holds whether capacity is scarce, abundant, or degenerate for the LP.

Milestones, in the order the proof uses them

  1. Eq. (32), p. 35. The capacity check costs FR at most ∑jrj(log⁡T+1)+∑jrjλj\sum_j r_j(\log T + 1) + \sum_j r_j \lambda_j∑j​rj​(logT+1)+∑j​rj​λj​ relative to the LP revenue it targets:
vFR≥E[∑t=0T−1∑j=1nrjxj(t)]−∑j=1nrj(log⁡T+1)−∑j=1nrjλj.v^{\mathrm{FR}} \ge \mathbb{E}\Big[\sum_{t=0}^{T-1} \sum_{j=1}^n r_j x_j(t)\Big] - \sum_{j=1}^n r_j (\log T + 1) - \sum_{j=1}^n r_j \lambda_j .vFR≥E[t=0∑T−1​j=1∑n​rj​xj​(t)]−j=1∑n​rj​(logT+1)−j=1∑n​rj​λj​.
  1. Eq. (33), p. 35. LP sensitivity in the right-hand side: v(b)−v(b′)≤∑lrmax⁡l(bl−bl′)+v(b) - v(b') \le \sum_l r^l_{\max} (b_l - b'_l)^+v(b)−v(b′)≤∑l​rmaxl​(bl​−bl′​)+ with rmax⁡l=max⁡jrjI(alj>0)/aljr^l_{\max} = \max_j r_j \mathbb{I}(a_{lj} > 0)/a_{lj}rmaxl​=maxj​rj​I(alj​>0)/alj​.
  2. Lemma 8, p. 43 (corrected). E[(bl−bl(t))+]≤Kl∑i=0t−1(T−i−1)−2\mathbb{E}[(b_l - b_l(t))^+] \le K_l \sqrt{\sum_{i=0}^{t-1} (T-i-1)^{-2}}E[(bl​−bl​(t))+]≤Kl​∑i=0t−1​(T−i−1)−2​ with Kl=∑jalj2λjK_l = \sqrt{\sum_j a_{lj}^2 \lambda_j}Kl​=∑j​alj2​λj​​.
  3. p. 36. ∑t=0T−1∑i=0t−1(T−i−1)−2≤2T+2\sum_{t=0}^{T-1} \sqrt{\sum_{i=0}^{t-1} (T-i-1)^{-2}} \le 2\sqrt{T} + \sqrt{2}∑t=0T−1​∑i=0t−1​(T−i−1)−2​≤2T​+2​.
  4. p. 36, explicit bound.
vDLP−vFR≤∑l=1mrmax⁡lKl(2T+2)+n rmax⁡(log⁡T+1)+n rmax⁡λmax⁡.v^{\mathrm{DLP}} - v^{\mathrm{FR}} \le \sum_{l=1}^m r^l_{\max} K_l (2\sqrt{T} + \sqrt{2}) + n\, r_{\max} (\log T + 1) + n\, r_{\max} \lambda_{\max} .vDLP−vFR≤l=1∑m​rmaxl​Kl​(2T​+2​)+nrmax​(logT+1)+nrmax​λmax​.

Significance

The result. Because vDLPv^{\mathrm{DLP}}vDLP bounds the expected revenue of every admissible policy, Proposition 3 says that FR loses at most O(T)O(\sqrt{T})O(T​) against the optimal policy in every instance, degenerate or not. Re-solving therefore never does worse, in order, than solving once. Together with the Ω(T)\Omega(\sqrt{T})Ω(T​) lower bound on a degenerate instance (Proposition 2 of the same paper), it shows that the order T\sqrt{T}T​ is exact for FR. The nondegeneracy assumption of the earlier O(1)O(1)O(1) analysis cannot be dropped. The explicit form (milestone 5) bounds the loss by constants computable from (λ,r,A)(\lambda, r, A)(λ,r,A).

Formalizing it. The result is proved in the source; no part of it is machine-checked. A formalization adds three things. It gives a precise model of an adaptive, randomized admission policy in a Poisson network, which other results on re-solving and bid-price policies can reuse. It gives a checked LP sensitivity bound. And it checks the paper's constants: the printed constant of Lemma 8 is wrong (see Formalization scope), and the mission states the corrected one.

Difficulty

The obvious argument compares FR with the DLP period by period: the LP that FR solves at time ttt differs from the original only in its right-hand side, so the loss should be controlled by how far b(t)b(t)b(t) drifts below b=C/Tb = C/Tb=C/T. Two things break a naive version of this. First, b(t)b(t)b(t) is a ratio whose denominator T−tT - tT−t shrinks to 111, so fluctuations late in the horizon are amplified; a crude bound on the drift at each ttt sums to more than T\sqrt{T}T​. Second, FR's realized consumption is not the LP's target: the capacity check rejects customers, and the LP solutions x(i)x(i)x(i) depend on the whole past, so the consumption in different periods is not independent.

Uniformity in CCC is the whole point. Arguments that rely on a margin between C/TC/TC/T and the degenerate points of the LP, as in the nondegenerate analysis, give constants that blow up as that margin vanishes.

Formalization scope

The source is arXiv:1802.06192v3, whose printed page numbers equal the PDF page numbers. Everything lives in the namespace ResolvingNRM.FRUpper.

  • LP value. v(b)v(b)v(b) is the published piValue A r b lam of RLPBidPrice.Unbiased.Model (a real supremum, equal to the LP maximum for b≥0b \ge 0b≥0).
  • Optimal solutions. The "arg⁡max⁡\arg\maxargmax" of Algorithm 2 is an arbitrary optimal-solution selector sel; every theorem quantifies over all selectors, with constants chosen before the selector.
  • Randomness. Within a period the acceptance probabilities are fixed, so the period's arrivals are represented exactly as a Poisson number of customers in arrival order, with i.i.d. classes of law λj/∑iλi\lambda_j / \sum_i \lambda_iλj​/∑i​λi​ and independent Bernoulli acceptance coins. Expectations are series over this law (windowExp). FR's value is a backward recursion over periods (frTail), and expectations of functions of C(t)C(t)C(t) are a forward recursion (frStateExp).
  • Horizon. TTT is a positive integer; capacities are real vectors.
  • Standing assumptions of p. 7, left implicit there and hypotheses here: λj>0\lambda_j > 0λj​>0, rj≥0r_j \ge 0rj​≥0, alj≥0a_{lj} \ge 0alj​≥0, C≥0C \ge 0C≥0.
  • O(⋅)O(\cdot)O(⋅). "=O(T)= O(\sqrt{T})=O(T​)" is ∃M, ∀ sel,T≥1,C≥0\exists M,\ \forall\, \mathrm{sel}, T \ge 1, C \ge 0∃M, ∀sel,T≥1,C≥0. The paper's threshold T1T_1T1​ is dropped, which is equivalent because 0≤vFR0 \le v^{\mathrm{FR}}0≤vFR and vDLP≤T∑jrjλjv^{\mathrm{DLP}} \le T\sum_j r_j\lambda_jvDLP≤T∑j​rj​λj​.
  • Corrected slip, Lemma 8. The printed Kl=∑jalj2λj2K_l = \sqrt{\sum_j a_{lj}^2 \lambda_j^2}Kl​=∑j​alj2​λj2​​ is false: the proof replaces the conditional variance xj(i)≤λjx_j(i) \le \lambda_jxj​(i)≤λj​ of a Poisson increment by λj2\lambda_j^2λj2​. With one class, one resource, a=1a = 1a=1, λ=0.01\lambda = 0.01λ=0.01, C=λTC = \lambda TC=λT, T=1000T = 1000T=1000 and t=2t = 2t=2, an exact computation gives E[(b−b(2))+]≈1.96⋅10−5\mathbb{E}[(b - b(2))^+] \approx 1.96 \cdot 10^{-5}E[(b−b(2))+]≈1.96⋅10−5, above the printed bound 1.42⋅10−51.42 \cdot 10^{-5}1.42⋅10−5. The mission uses Kl=∑jalj2λjK_l = \sqrt{\sum_j a_{lj}^2 \lambda_j}Kl​=∑j​alj2​λj​​ in Lemma 8 and in the explicit bound.
  • Index slip. The paper's sums ∑l=1L\sum_{l=1}^L∑l=1L​ run over its mmm resources and are read as l∈[m]l \in [m]l∈[m].

A trivializing formalization is ruled out. The constant MMM is chosen before CCC. FR is defined with every optimal LP solution, not only nondegenerate or vertex ones. The capacity check is kept arrival by arrival; without it, FR's expected revenue would equal the LP revenue it targets and the gap would be trivially small.

Contributions welcome on every milestone. The LP sensitivity bound (33) is a statement about linear programs alone and milestone 4 about real numbers alone; both are reusable outside this mission, as is the window model of a randomized admission policy.

Selected references

  • Y. Bumpensanti, H. Wang, A Re-solving Heuristic with Uniformly Bounded Loss for Network Revenue Management, arXiv:1802.06192v3, 2018 (the source of this mission; later in Management Science 66(7), 2020). https://arxiv.org/abs/1802.06192
  • G. Gallego, G. van Ryzin, A Multiproduct Dynamic Pricing Problem and Its Applications to Network Yield Management, Operations Research 45(1), 24–41, 1997.
  • W. L. Cooper, Asymptotic Behavior of an Allocation Policy for Revenue Management, Operations Research 50(4), 720–727, 2002.
  • M. I. Reiman, Q. Wang, An Asymptotically Optimal Policy for a Quantity-Based Network Revenue Management Problem, Mathematics of Operations Research 33(2), 257–282, 2008.
  • S. Jasin, S. Kumar, A Re-Solving Heuristic with Bounded Revenue Loss for Network Revenue Management with Customer Choice, Mathematics of Operations Research 37(2), 313–345, 2012.
  • K. T. Talluri, G. J. van Ryzin, The Theory and Practice of Revenue Management, Springer, 2004.

Bibliographic details of the non-arXiv entries are those of the source's reference list (pp. 24–25).

9 thms1 active userReviewed
ProbabilityStatistics·Captain: mikedeng1

Simulation Output Analysis Using Standardized Time Series 1: For Every g in the Class 𝓜, (Ȳₙ(1) − μ)/g(Ȳₙ) ⇒ B(1)/g(B) Under the FCLT (2.1)Research Paper

Motivation

A discrete-event simulation of a queue, an inventory system or a communication network produces an output process Y={Y(t):t≥0}Y = \{Y(t) : t \ge 0\}Y={Y(t):t≥0}, and the quantity of interest is usually its steady-state mean μ\muμ, the long-run average of YYY. The natural estimator is the time average Yˉn(1)=1n∫0nY(s) ds\bar Y_n(1) = \frac1n\int_0^n Y(s)\,dsYˉn​(1)=n1​∫0n​Y(s)ds of a run of length nnn. A confidence interval for μ\muμ needs the scale of the fluctuations of Yˉn(1)\bar Y_n(1)Yˉn​(1), the variance constant σ2\sigma^2σ2 of the central limit theorem n1/2(Yˉn(1)−μ)⇒σN(0,1)n^{1/2}(\bar Y_n(1) - \mu) \Rightarrow \sigma N(0,1)n1/2(Yˉn​(1)−μ)⇒σN(0,1). For correlated simulation output, σ2\sigma^2σ2 is a sum of autocovariances at all lags and is hard to estimate consistently.

The method of standardized time series (STS), introduced by Schruben (Schruben 1983), avoids estimating σ\sigmaσ: it divides the centred time average by a functional of the whole observed path that scales like σ\sigmaσ, so that σ\sigmaσ cancels. Batch means, the standardized sum, and the standardized maximum are all of this form.

Glynn and Iglehart (Glynn & Iglehart 1990) put the method on a general footing. They require only a functional central limit theorem (FCLT) for YYY, and they identify an abstract class M\mathcal MM of standardizing functionals for which the cancellation works. This mission formalizes their basic limit theorem, Theorem 2.4, and the four claims of its proof. Two companion results of §2, display (2.2) and the weak law Yˉn(1)⇒μ\bar Y_n(1) \Rightarrow \muYˉn​(1)⇒μ, are included as further targets.

Setting

C[0,1]C[0,1]C[0,1] is the space of continuous real functions on [0,1][0,1][0,1] with the uniform norm and its Borel σ\sigmaσ-algebra; k∈C[0,1]k \in C[0,1]k∈C[0,1] is the identity path k(t)=tk(t) = tk(t)=t. For g:C[0,1]→Rg : C[0,1] \to \mathbb Rg:C[0,1]→R, D(g)D(g)D(g) is the discontinuity set of ggg, the set of xxx at which ggg is not continuous. A standard Brownian motion BBB on a probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P) is a random element of C[0,1]C[0,1]C[0,1] with Gaussian finite-dimensional laws, B(0)=0B(0) = 0B(0)=0 and Cov⁡(B(s),B(t))=min⁡(s,t)\operatorname{Cov}(B(s), B(t)) = \min(s,t)Cov(B(s),B(t))=min(s,t).

The output YYY is a real-valued measurable process. Its scaled partial-integral process and its centred, rescaled version are

Yˉn(t)=1n∫0ntY(s) ds,Xn(t)=n1/2(Yˉn(t)−μt),0≤t≤1.\bar Y_n(t) = \frac1n\int_0^{nt} Y(s)\,ds, \qquad X_n(t) = n^{1/2}\bigl(\bar Y_n(t) - \mu t\bigr), \qquad 0 \le t \le 1 .Yˉn​(t)=n1​∫0nt​Y(s)ds,Xn​(t)=n1/2(Yˉn​(t)−μt),0≤t≤1.

Assumption (2.1) asks for finite constants μ\muμ and σ>0\sigma > 0σ>0 such that Xn⇒σBX_n \Rightarrow \sigma BXn​⇒σB as n→∞n \to \inftyn→∞, weak convergence of random elements of C[0,1]C[0,1]C[0,1]. It holds for ϕ\phiϕ-mixing, strongly mixing, associated and regenerative output processes, among others.

The class M\mathcal MM of (2.3) consists of the measurable g:C[0,1]→Rg : C[0,1] \to \mathbb Rg:C[0,1]→R with

  1. g(αx)=αg(x)g(\alpha x) = \alpha g(x)g(αx)=αg(x) for α>0\alpha > 0α>0 (positive homogeneity);
  2. g(x−βk)=g(x)g(x - \beta k) = g(x)g(x−βk)=g(x) for β∈R\beta \in \mathbb Rβ∈R (invariance under subtracting a linear drift);
  3. P{g(B)>0}=1P\{g(B) > 0\} = 1P{g(B)>0}=1;
  4. P{B∈D(g)}=0P\{B \in D(g)\} = 0P{B∈D(g)}=0.

The proof uses the auxiliary map h(x)=x(1)/g(x)h(x) = x(1)/g(x)h(x)=x(1)/g(x) for g(x)≠0g(x) \ne 0g(x)=0 and h(x)=0h(x) = 0h(x)=0 otherwise.

Formalization targets

Goal: Theorem 2.4

For every g∈Mg \in \mathcal Mg∈M, under Assumption (2.1),

Yˉn(1)−μg(Yˉn)⇒B(1)g(B)(n→∞).(2.5)\frac{\bar Y_n(1) - \mu}{g(\bar Y_n)} \Rightarrow \frac{B(1)}{g(B)} \qquad (n \to \infty). \tag{2.5}g(Yˉn​)Yˉn​(1)−μ​⇒g(B)B(1)​(n→∞).(2.5)

Milestones: the four claims of the proof (p. 3)

  1. P{σB∈D(h)}=0P\{\sigma B \in D(h)\} = 0P{σB∈D(h)}=0.
  2. h(Xn)⇒h(σB)h(X_n) \Rightarrow h(\sigma B)h(Xn​)⇒h(σB).
  3. h(σB)=B(1)/g(B)h(\sigma B) = B(1)/g(B)h(σB)=B(1)/g(B), by (2.3i).
  4. h(Xn)=(Yˉn(1)−μ)/g(Yˉn)h(X_n) = (\bar Y_n(1) - \mu)/g(\bar Y_n)h(Xn​)=(Yˉn​(1)−μ)/g(Yˉn​) for n≥1n \ge 1n≥1, by (2.3i) and (2.3ii).

Companions

n1/2(Yˉn(1)−μ)⇒σB(1)(2.2)n^{1/2}\bigl(\bar Y_n(1) - \mu\bigr) \Rightarrow \sigma B(1) \tag{2.2}n1/2(Yˉn​(1)−μ)⇒σB(1)(2.2)

and Yˉn(1)⇒μ\bar Y_n(1) \Rightarrow \muYˉn​(1)⇒μ.

Significance

Theorem 2.4 is the limit theorem behind every STS confidence interval. The limit B(1)/g(B)B(1)/g(B)B(1)/g(B) is free of σ\sigmaσ and of the output process, so with zzz chosen so that P{−z≤B(1)/g(B)≤z}P\{-z \le B(1)/g(B) \le z\}P{−z≤B(1)/g(B)≤z} equals a prescribed level, the interval Yˉn(1)±z g(Yˉn)\bar Y_n(1) \pm z\,g(\bar Y_n)Yˉn​(1)±zg(Yˉn​) has asymptotically exact coverage for μ\muμ. Each choice of g∈Mg \in \mathcal Mg∈M gives a method: batch means with a fixed number of batches, Schruben's standardized sum, the standardized maximum. The later sections of the paper compare the lengths of these intervals with those of consistent-estimation intervals, and those comparisons start from Theorem 2.4.

The theorem is classical and its proof is short on paper. What is missing is a machine-checked version. The formal proof needs a continuous mapping theorem for maps that are continuous only almost surely at the limit, on the non-locally-compact space C[0,1]C[0,1]C[0,1]; Mathlib has the version for continuous maps only. A formal Theorem 2.4 also makes the class M\mathcal MM and the C[0,1]-valued FCLT available for the other results of the paper, the expected-length lower bound and its non-attainment, which are formalized in sibling missions.

Difficulty

The algebra (milestones 3 and 4) is elementary. The difficulty is the continuous-mapping step. The map hhh is in general not continuous: it can be discontinuous wherever ggg is and wherever ggg vanishes, and ggg itself may be discontinuous on a large set (the standardized maximum is). The continuous mapping theorem for continuous maps does not apply. One needs its almost-sure form: if Xn⇒XX_n \Rightarrow XXn​⇒X and P{X∈D(h)}=0P\{X \in D(h)\} = 0P{X∈D(h)}=0, then h(Xn)⇒h(X)h(X_n) \Rightarrow h(X)h(Xn​)⇒h(X). The class M\mathcal MM controls D(g)D(g)D(g) only along the law of BBB, and the hypothesis of the almost-sure theorem is about D(h)D(h)D(h) at the scaled limit σB\sigma BσB, so the conditions (2.3iii) and (2.3iv) have to be transported from BBB to σB\sigma BσB and from ggg to hhh.

Formalization scope

C[0,1]C[0,1]C[0,1] is C(unitInterval, ℝ) with its sup-norm topology; the Borel MeasurableSpace instance is declared in the mission's definition file, since Mathlib has none at this commit. Weak convergence is Mathlib's TendstoInDistribution, for the C[0,1]C[0,1]C[0,1]-valued FCLT and for the real-valued conclusions. The standard Brownian motion is a measurable C[0,1]C[0,1]C[0,1]-valued map whose coordinates agree, for every ω\omegaω, with a process satisfying Mathlib's IsBrownianReal. D(g)D(g)D(g) is the set of points where ContinuousAt g fails, and P{B∈D(g)}P\{B \in D(g)\}P{B∈D(g)} is an outer measure, so no measurability of D(g)D(g)D(g) is assumed.

Yˉn\bar Y_nYˉn​ is a C[0,1]C[0,1]C[0,1]-valued parameter pinned pointwise by Yˉn(t)=1n∫0ntY(s) ds\bar Y_n(t) = \frac1n\int_0^{nt}Y(s)\,dsYˉn​(t)=n1​∫0nt​Y(s)ds, so it is determined by YYY. Assumption (2.1) carries joint measurability of YYY and local integrability of each path; the second is implicit in the paper and makes Yˉn\bar Y_nYˉn​ defined. The index nnn runs over N\mathbb NN, and milestone 4 assumes n≥1n \ge 1n≥1 because (2.3i) is applied with α=n1/2\alpha = n^{1/2}α=n1/2. Real division by zero returns 000 in Lean, which agrees with the paper's convention for hhh; it matters only on events of probability zero in the limit. Condition (2.3iii) is printed "P{g(b)>0}=1P\{g(b) > 0\} = 1P{g(b)>0}=1" and is read as P{g(B)>0}=1P\{g(B) > 0\} = 1P{g(B)>0}=1.

Condition (2.3iv) is stated with the discontinuity set, not as continuity of ggg: requiring ggg continuous everywhere would exclude the standardized maximum of Example 3.10 and would make the continuous-mapping step trivial. The goal assumes nothing about hhh, D(h)D(h)D(h) or any mapping theorem; these appear only in the milestones.

Contributions welcome: the almost-sure continuous mapping theorem for TendstoInDistribution on a metric space (reusable well beyond this mission), the cone property of D(g)D(g)D(g) under positive homogeneity, and evaluation at a point as a continuous map on C[0,1]C[0,1]C[0,1]. Mathlib does not yet construct a Brownian motion with continuous paths as a C[0,1]C[0,1]C[0,1]-valued random element, so the hypotheses cannot be instantiated inside Lean; this is a hypothesis on BBB, not a vacuity.

Selected references

  • P. W. Glynn and D. L. Iglehart, Simulation output analysis using standardized time series, Mathematics of Operations Research 15(1):1–16, 1990. https://doi.org/10.1287/moor.15.1.1
  • L. Schruben, Confidence interval estimation using standardized time series, Operations Research 31(6):1090–1108, 1983. https://doi.org/10.1287/opre.31.6.1090
  • P. Billingsley, Convergence of Probability Measures, Wiley, 1968 (Theorem 5.1, the continuous mapping theorem).
  • K. L. Chung, A Course in Probability Theory, 2nd ed., Academic Press, 1974 (p. 93, converging-together lemma).
6 thms1 active userReviewed
CombinatoricsOptimization·Captain: mikedeng1

One-Processor Scheduling with Symmetric Earliness and Tardiness Penalties 3: For Maximum Discrepancy, Some Optimum Schedule Is in Standard Form and Has the Release Time PropertyResearch Paper

Motivation

In just-in-time scheduling each job has a preferred time, and finishing it early is as undesirable as finishing it late. Garey, Tarjan and Wilfong (Math. Oper. Res. 13 (1988), 330–348) study the one-processor version in which task TiT_iTi​ has a length li≥0l_i \ge 0li​≥0 and a preferred starting time ai≥0a_i \ge 0ai​≥0, and the discrepancy of a task started at time sis_isi​ is ∣si−ai∣|s_i - a_i|∣si​−ai​∣. The penalty is symmetric: earliness and tardiness cost the same. The paper shows that minimizing the total discrepancy is NP-complete, gives an O(Nlog⁡N)O(N \log N)O(NlogN) algorithm for a fixed task order, and, in §3, gives an efficient algorithm for minimizing the maximum discrepancy max⁡i∣si−ai∣\max_i |s_i - a_i|maxi​∣si​−ai​∣: a linear-time test for a given bound γ\gammaγ after an O(Nlog⁡N)O(N \log N)O(NlogN) sort, combined with a search over γ\gammaγ.

This mission formalizes the structural core of §3: the normal-form theorems (Theorem 4, Corollaries 1 and 2) on which the paper's algorithm for maximum discrepancy is built. The two companion missions of the series cover the NP-completeness result (THEOREM 1) and the fixed-order algorithm (THEOREMS 2 and 3).

Setting

Fix a bound γ≥0\gamma \ge 0γ≥0. A schedule has maximum discrepancy at most γ\gammaγ exactly when every task starts no earlier than its release time ri=max⁡{0,ai−γ}r_i = \max\{0, a_i - \gamma\}ri​=max{0,ai​−γ} and finishes no later than its deadline di=ai+li+γd_i = a_i + l_i + \gammadi​=ai​+li​+γ (p. 342). These release times and deadlines are in special form: with α=2γ\alpha = 2\gammaα=2γ, for every task

di−ri=li+αor(ri=0 and di<li+α).d_i - r_i = l_i + \alpha \quad\text{or}\quad \big(r_i = 0 \text{ and } d_i < l_i + \alpha\big).di​−ri​=li​+αor(ri​=0 and di​<li​+α).

From here on the data are arbitrary reals li≥0l_i \ge 0li​≥0, ri≥0r_i \ge 0ri​≥0, did_idi​ in special form for some α≥0\alpha \ge 0α≥0.

A schedule is an execution order σ\sigmaσ (σ(p)\sigma(p)σ(p) is the task in position ppp) with starting times sis_isi​, such that a task finishes no later than any later-positioned task starts: sσ(p)+lσ(p)≤sσ(q)s_{\sigma(p)} + l_{\sigma(p)} \le s_{\sigma(q)}sσ(p)​+lσ(p)​≤sσ(q)​ for p<qp < qp<q. It is feasible if ri≤sir_i \le s_iri​≤si​ and si+li≤dis_i + l_i \le d_isi​+li​≤di​ for every iii. Its makespan is max⁡i(si+li)\max_i (s_i + l_i)maxi​(si​+li​), and it is optimum if it is feasible and no feasible schedule has a smaller makespan.

Let TNT_NTN​ be a task of largest deadline. A schedule has the release time property if every task executed after TNT_NTN​ has release time strictly later than the starting time of TNT_NTN​. When the tasks are indexed with d1≤⋯≤dNd_1 \le \dots \le d_Nd1​≤⋯≤dN​, a schedule is in standard form with split index jjj, 0≤j≤N−10 \le j \le N-10≤j≤N−1, if it begins with an optimum schedule of T1,…,TjT_1, \dots, T_jT1​,…,Tj​, followed by TNT_NTN​ started at the maximum of rNr_NrN​ and the completion time of that first part, followed by Tj+1,…,TN−1T_{j+1}, \dots, T_{N-1}Tj+1​,…,TN−1​ in this order without idle time.

Formalization targets

Goal: Corollary 2 (p. 344)

∃ a feasible schedule  ⟹  ∃ an optimum schedule that is in standard form and has the release time property.\exists\ \text{a feasible schedule} \;\Longrightarrow\; \exists\ \text{an optimum schedule that is in standard form and has the release time property.}∃ a feasible schedule⟹∃ an optimum schedule that is in standard form and has the release time property.

Milestones

  1. Theorem 4 (pp. 342–343): if a feasible schedule exists, some optimum schedule has the release time property with respect to any task of largest deadline.
  2. The deadline split (proof of Corollary 1, p. 344): in every feasible schedule with the release time property, a task Ti≠TNT_i \neq T_NTi​=TN​ precedes TNT_NTN​ if and only if di≤sN+αd_i \le s_N + \alphadi​≤sN​+α.
  3. Corollary 1 (p. 344): some optimum schedule executes before TNT_NTN​ exactly the tasks of deadline at most β\betaβ, for some β≥0\beta \ge 0β≥0.
  4. Release before finish (p. 344): every task executed after TNT_NTN​ has ri≤sN+lNr_i \le s_N + l_Nri​≤sN​+lN​.
  5. Normalization after TNT_NTN​ (p. 344): an optimum schedule with the release time property can be changed, without moving TNT_NTN​ later and without touching the tasks before it, so that there is no idle time from the start of TNT_NTN​ on and the later tasks run in deadline order.

Two companion items state the reformulation of the maximum-discrepancy bound as release times and deadlines, and the special form with α=2γ\alpha = 2\gammaα=2γ.

Significance

Corollary 2 reduces the search for an optimum schedule of T1,…,TnT_1, \dots, T_nT1​,…,Tn​ to nnn candidates, one per split index, each assembled from an optimum schedule of a shorter prefix. This is the dynamic program of §3.2, which the paper implements in O(N)O(N)O(N) time after an O(Nlog⁡N)O(N \log N)O(NlogN) sort; combined with a search over γ\gammaγ it minimizes the maximum discrepancy. Without the special form, deciding whether one processor can meet arbitrary release times and deadlines is NP-complete (reference [4] of the paper, Garey and Johnson 1979), so the normal form is what separates the tractable case from the general one.

The results are proved in the paper; no machine-checked proof of them is known on Prove2Me. A formal proof of Corollary 2 would certify the correctness of the split-index recursion and, together with the companions, of the reduction from maximum discrepancy to this release-time/deadline problem.

Difficulty

The obvious argument fails in Theorem 4. Exchanging a straggler (a task after TNT_NTN​ released no later than TNT_NTN​ starts) with TNT_NTN​ shifts the tasks between them, and for general release times and deadlines those tasks can become infeasible. The paper's argument uses the special form at every step: a task released after TNT_NTN​ starts has ri>0r_i > 0ri​>0, hence di−ri=li+αd_i - r_i = l_i + \alphadi​−ri​=li​+α exactly, and this equality is what bounds how far tasks may move. It also needs an extremal choice of the optimum schedule (fewest tasks after TNT_NTN​, then fewest tasks between TNT_NTN​ and the first straggler), which requires showing that optimum schedules exist over the reals. The passage to standard form then combines this with an earliest-deadline exchange for the tasks after TNT_NTN​ and the replacement of the first part by an optimum sub-schedule without losing feasibility of the later tasks.

Formalization scope

Tasks are indexed by Fin N (0-based: the paper's T1,…,TNT_1, \dots, T_NT1​,…,TN​ are 0,…,N−10, \dots, N-10,…,N−1; the paper's TNT_NTN​ in Corollary 2 is the index N−1N-1N−1). All data are real. A schedule is a permutation σ : Fin N ≃ Fin N with starting times s : Fin N → ℝ; "executed before/after" refers to σ, not to a comparison of starting times, because zero-length tasks may share a starting time. Execution intervals meet at most at endpoints. The makespan is a supremum over Fin N; "optimum" quantifies over all feasible schedules, not only standard-form ones.

The standing hypotheses on every structural item are α≥0\alpha \ge 0α≥0, ri≥0r_i \ge 0ri​≥0, li≥0l_i \ge 0li​≥0 (from γ≥0\gamma \ge 0γ≥0, the max⁡{0,⋅}\max\{0, \cdot\}max{0,⋅} in rir_iri​, and nonnegative lengths); since si≥ris_i \ge r_isi​≥ri​, start times are nonnegative, as the paper assumes throughout. The special form is a hypothesis of every structural item and cannot be dropped. The paper's dummy task T0T_0T0​ (r0=d0=l0=0r_0 = d_0 = l_0 = 0r0​=d0​=l0​=0) is not a task; an empty first part completes at time 000. Corollary 1's "the set of all tasks with deadline β\betaβ or less" is read as excluding TNT_NTN​, the only reading under which it is true. The page's "(which can be assumed optimum)" is part of the standard form. The deadline-split and release-before-finish milestones are stated for every feasible schedule, as their arguments allow.

A trivializing formalization is excluded: the standard form pins TNT_NTN​'s start to max⁡(rN,C)\max(r_N, C)max(rN​,C) and the later tasks to consecutive positions in index order, so the goal is not Corollary 1 restated with an unconstrained split.

Running times (O(Nlog⁡N)O(N \log N)O(NlogN), O(N)O(N)O(N)) and the algorithm of §3.2 are out of scope. The development needs only finite permutations, finite suprema and the exchange arguments of §3.1; the existence of an optimum schedule (minimum makespan over finitely many orders, earliest-start schedules) is reusable for other single-machine problems with release times and deadlines. Proofs of any milestone, and a sorry-free proof of the existence of optimum schedules, are welcome.

Selected references

  • M. R. Garey, R. E. Tarjan, G. T. Wilfong, One-Processor Scheduling with Symmetric Earliness and Tardiness Penalties, Mathematics of Operations Research 13(2):330–348, 1988. https://doi.org/10.1287/moor.13.2.330
  • M. R. Garey, D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, W. H. Freeman, 1979 (reference [4] of the paper, cited on p. 342 for the NP-completeness of one-processor scheduling with release times and deadlines). ISBN 0-7167-1045-5
7 thms1 active userReviewed
Algorithmic Game TheoryConvex OptimizationOptimization·Captain: mikedeng1

Cooperative Fuzzy Games 1: A Balanced Game without Side Payments Has a Nonempty Core Containing the Core of Its Fuzzy ExtensionResearch Paper

Motivation

A game without side payments (an NTU game) describes cooperation in which utility cannot be transferred between players: each coalition AAA of players is assigned the set V(A)V(A)V(A) of payoff vectors it can secure on its own. The core is the set of payoffs to the grand coalition that no coalition can improve upon. Whether the core is nonempty is the basic stability question of cooperative game theory. For games with side payments the answer is the Bondareva–Shapley theorem. For NTU games it is Scarf's theorem (Scarf 1967): a balanced game has a nonempty core. Billera (1970) gave a convex version, in which the payoff sets are convex and balancedness is stated with weighted Minkowski sums.

Aubin's paper (Aubin 1981) obtains Billera's version of the theorem by a different route. Players may join coalitions at fractional rates of participation, and the paper first proves a core existence theorem for these fuzzy games. The game on ordinary coalitions is then embedded into a fuzzy game whose core lies inside the core of the original game.

Setting

The players are N={1,…,n}N = \{1,\dots,n\}N={1,…,n}. A coalition A⊆NA \subseteq NA⊆N is identified with its characteristic vector τA∈{0,1}n\tau^A \in \{0,1\}^nτA∈{0,1}n, and τN=(1,…,1)\tau^N = (1,\dots,1)τN=(1,…,1). A fuzzy coalition is a vector τ∈[0,1]n\tau \in [0,1]^nτ∈[0,1]n of participation rates with support Aτ={i:τi>0}A_\tau = \{i : \tau_i > 0\}Aτ​={i:τi​>0}. Write (τ⋅c)i=τici(\tau\cdot c)_i = \tau_i c_i(τ⋅c)i​=τi​ci​, Rτ=τ⋅Rn\mathbb{R}^\tau = \tau\cdot\mathbb{R}^nRτ=τ⋅Rn for the vectors vanishing off AτA_\tauAτ​, R+τ\mathbb{R}^\tau_+R+τ​ for its nonnegative part, and R˚+τ\mathring{\mathbb{R}}^\tau_+R˚+τ​ for the vectors strictly positive on AτA_\tauAτ​.

A fuzzy game without side payments assigns to each τ≥0\tau \ge 0τ≥0 a nonempty, closed, convex set V(τ)⊆RτV(\tau)\subseteq\mathbb{R}^\tauV(τ)⊆Rτ. Each V(τ)V(\tau)V(τ) is comprehensive, meaning V(τ)=V(τ)−R+τV(\tau) = V(\tau)-\mathbb{R}^\tau_+V(τ)=V(τ)−R+τ​, and bounded above, meaning V(τ)⊆C−R+τV(\tau)\subseteq C-\mathbb{R}^\tau_+V(τ)⊆C−R+τ​ for some CCC. The map is positively homogeneous: V(tτ)=tV(τ)V(t\tau) = tV(\tau)V(tτ)=tV(τ) for every t>0t>0t>0. Its core is the set of c∈V(τN)c\in V(\tau^N)c∈V(τN) such that τ⋅c∉V(τ)−R˚+τ\tau\cdot c\notin V(\tau)-\mathring{\mathbb{R}}^\tau_+τ⋅c∈/V(τ)−R˚+τ​ for every fuzzy coalition τ≠0\tau\neq 0τ=0. With the support function v(τ,λ)=sup⁡c∈V(τ)∑iλiciv(\tau,\lambda)=\sup_{c\in V(\tau)}\sum_i\lambda_i c_iv(τ,λ)=supc∈V(τ)​∑i​λi​ci​ and the simplex MnM^nMn, a weak (resp. strong) canonical cooperative equilibrium is a c∈V(τN)c\in V(\tau^N)c∈V(τN) together with a λˉ∈Mn\bar\lambda\in M^nλˉ∈Mn (resp. λˉ\bar\lambdaλˉ with all coordinates positive) satisfying ∑iλˉiτici≥v(τ,λˉ)\sum_i\bar\lambda^i\tau_ic_i\ge v(\tau,\bar\lambda)∑i​λˉiτi​ci​≥v(τ,λˉ) for every τ∈[0,1]n\tau\in[0,1]^nτ∈[0,1]n.

A usual NTU game lives on a family C\mathcal{C}C of coalitions that contains NNN and every singleton. For each A∈CA\in\mathcal{C}A∈C, the set V(A)⊆RAV(A)\subseteq\mathbb{R}^AV(A)⊆RA is nonempty, closed, convex, comprehensive and bounded above. A balance of τ\tauτ is a vector of weights m≥0m\ge 0m≥0 on C\mathcal{C}C with ∑A∋im(A)=τi\sum_{A\ni i}m(A)=\tau_i∑A∋i​m(A)=τi​ for every iii, and C(τ)\mathcal{C}(\tau)C(τ) is the set of balances of τ\tauτ. The fuzzy extension of the game is

πV(τ)=⋃m∈C(τ) ∑A∈Cm(A) V(A),\pi V(\tau)=\bigcup_{m\in\mathcal{C}(\tau)}\ \sum_{A\in\mathcal{C}} m(A)\,V(A),πV(τ)=m∈C(τ)⋃​ A∈C∑​m(A)V(A),

and the game is balanced if V(N)=πV(τN)V(N)=\pi V(\tau^N)V(N)=πV(τN).

Formalization targets

Goal: Theorem 7.1

For a balanced game without side payments,

∅≠core⁡(πV)⊆core⁡(V),CCEstrong(V)⊆core⁡(πV)⊆CCEweak(V),\emptyset\neq\operatorname{core}(\pi V)\subseteq\operatorname{core}(V),\qquad \mathrm{CCE}_{\rm strong}(V)\subseteq\operatorname{core}(\pi V)\subseteq\mathrm{CCE}_{\rm weak}(V),∅=core(πV)⊆core(V),CCEstrong​(V)⊆core(πV)⊆CCEweak​(V),

and in particular core⁡(V)≠∅\operatorname{core}(V)\neq\emptysetcore(V)=∅.

Milestones

  • Proposition 3.1: c∈V(τN)c\in V(\tau^N)c∈V(τN) is in the core iff the maximum complaint α(c)=sup⁡τ≠0inf⁡λ∈Mτ[v(τ,λ)−∑iλiτici]\alpha(c)=\sup_{\tau\neq0}\inf_{\lambda\in M^\tau}[v(\tau,\lambda)-\sum_i\lambda^i\tau_ic_i]α(c)=supτ=0​infλ∈Mτ​[v(τ,λ)−∑i​λiτi​ci​] is ≤0\le 0≤0.
  • Proof of Theorem 3.1(b): if VVV is superadditive, V(τ)+V(σ)⊆V(τ+σ)V(\tau)+V(\sigma)\subseteq V(\tau+\sigma)V(τ)+V(σ)⊆V(τ+σ), then τ↦v(τ,λ)\tau\mapsto v(\tau,\lambda)τ↦v(τ,λ) is concave on R+n\mathbb{R}^n_+R+n​.
  • Theorem 3.1: strong equilibria lie in the core, and for a superadditive game the core lies in the set of weak equilibria.
  • Theorem 5.1: a superadditive fuzzy game has a nonempty core.
  • §7, (6), (7), (11): πV\pi VπV is a superadditive fuzzy game that extends VVV, and its support function is πv(τ,λ)=sup⁡m∈C(τ)∑Am(A)v(A,λ)\pi v(\tau,\lambda)=\sup_{m\in\mathcal{C}(\tau)}\sum_A m(A)v(A,\lambda)πv(τ,λ)=supm∈C(τ)​∑A​m(A)v(A,λ).
  • §7 and the proof of Theorem 7.1: under balancedness, core⁡(πV)⊆core⁡(V)\operatorname{core}(\pi V)\subseteq\operatorname{core}(V)core(πV)⊆core(V), and the equilibria of VVV coincide with those of πV\pi VπV.

Significance

Theorem 7.1 gives the core existence result for convex NTU games under Billera's balancedness condition. Its proof goes through a statement about fuzzy coalitions, Theorem 5.1, which uses no combinatorial pivoting. That theorem also has independent uses. Its fuzzy core is the solution concept that §4 of the paper identifies with Walras equilibria of exchange economies. The canonical cooperative equilibria give a price-like certificate, a common rate of transfer λˉ\bar\lambdaλˉ, that sandwiches the core.

The results are classical and proved. Prove2Me holds no statement of Scarf's or Billera's theorem, of NTU cores, or of balancedness for games without side payments, and Mathlib has none of these notions. The mission produces faithful statements of the paper's chain of results, and their proofs once solvers close them. It also builds reusable infrastructure: support functions of comprehensive sets, Minkowski combinations indexed by balances, and positively homogeneous set-valued maps.

Difficulty

Most of §7 is bookkeeping with Minkowski sums. The hard part is Theorem 5.1, the existence of a point in the fuzzy core. The core is defined by infinitely many exclusion conditions, one for each τ∈[0,1]n\tau\in[0,1]^nτ∈[0,1]n, so a finite intersection argument does not apply directly. The paper's route works with prices: it uses the superdifferential of the concave map τ↦v(τ,λ)\tau\mapsto v(\tau,\lambda)τ↦v(τ,λ) at τN\tau^NτN, Ky Fan's inequality on a truncated simplex where all λi≥ε\lambda_i\ge\varepsilonλi​≥ε, and a limit as ε→0\varepsilon\to0ε→0. That limit requires compactness of the approximating payoffs, and at the boundary of the simplex the superdifferential map is not upper semicontinuous. Theorem 3.1(b) needs a minisup theorem for a function that is concave in τ\tauτ and convex and lower semicontinuous in λ\lambdaλ. Mathlib has neither Ky Fan's inequality nor this minimax theorem in that form.

Formalization scope

All statements import one definitions file, FuzzyGames.NTUCore.Basic. The formalization commits to the following conventions.

  • Players are Fin n, and payoffs, fuzzy coalitions and rates of transfer are Fin n → ℝ, ordered coordinatewise. Rτ\mathbb{R}^\tauRτ is encoded as "vanishes where τi=0\tau_i=0τi​=0", which equals τ⋅Rn\tau\cdot\mathbb{R}^nτ⋅Rn for τ≥0\tau\ge0τ≥0.
  • Fuzzy games are defined directly on the orthant τ≥0\tau\ge0τ≥0, the paper's extension of VVV from [0,1]n[0,1]^n[0,1]n by homogeneity. Homogeneity holds for every t>0t>0t>0, and superadditivity holds on R+n\mathbb{R}^n_+R+n​.
  • Support functions, α\alphaα and πv\pi vπv take values in EReal, so an unbounded supremum is +∞+\infty+∞ and never a junk 000.
  • The supremum defining α(c)\alpha(c)α(c) ranges over τ≠0\tau\neq0τ=0. Since M0=∅M^0=\emptysetM0=∅, including τ=0\tau=0τ=0 would make α≡+∞\alpha\equiv+\inftyα≡+∞ and Proposition 3.1 false. Blocking coalitions are likewise τ≠0\tau\neq0τ=0, as in §3 (4).
  • C\mathcal{C}C is a finite family of nonempty coalitions that contains NNN and every singleton. "∀A≠∅\forall A\neq\emptyset∀A=∅" in §7 ranges over C\mathcal{C}C.
  • The paper leaves n≥1n\ge1n≥1 implicit. Theorem 3.1(b) and Theorem 5.1 carry 0<n0<n0<n: for n=0n=0n=0 the simplex is empty while the core is not.
  • In §7 (11), πv(τ,λ)\pi v(\tau,\lambda)πv(τ,λ), which the paper uses without defining it, is taken to be the extension §6 (2) applied to A↦v(A,λ)A\mapsto v(A,\lambda)A↦v(A,λ), for λ≥0\lambda\ge0λ≥0.
  • The §7 sentence after (5) is stated with two extra conclusions: πV(τ)\pi V(\tau)πV(τ) is nonempty and contained in Rτ\mathbb{R}^\tauRτ. These are the remaining requirements of §3 (3) that are needed to apply Theorem 5.1.
  • Sums and scalings of sets are Mathlib's pointwise operations.

The fuzzy-game axioms are a Prop-valued structure and are hypotheses of every theorem. The core and the equilibria are defined for an arbitrary set-valued map, so the theorems about πV\pi VπV do not presuppose that it is a fuzzy game. That fact is the content of the §7 milestones and is not assumed. Non-vacuity has been checked locally on a concrete instance: V(τ)={c∈Rτ:c≤τ}V(\tau)=\{c\in\mathbb{R}^\tau: c\le\tau\}V(τ)={c∈Rτ:c≤τ} is a superadditive fuzzy game, and V(A)={c∈RA:c≤τA}V(A)=\{c\in\mathbb{R}^A:c\le\tau^A\}V(A)={c∈RA:c≤τA} is a balanced game on every admissible C\mathcal{C}C, with (1,…,1)(1,\dots,1)(1,…,1) in both cores.

Contributions are welcome at every level: the §7 Minkowski-sum lemmas, the support-function identities, and a minisup or Ky Fan theorem in the form the proofs need. Reusable pieces include support functions of comprehensive sets and Sion-type minimax.

Selected references

  • J.-P. Aubin, Cooperative Fuzzy Games, Mathematics of Operations Research 6(1) (1981) 1–13. https://doi.org/10.1287/moor.6.1.1
  • H. E. Scarf, The Core of an N Person Game, Econometrica 35(1) (1967) 50–69. https://doi.org/10.2307/1909888
  • L. J. Billera, Some Theorems on the Core of an n-Person Game without Side-Payments, SIAM Journal on Applied Mathematics 18(3) (1970) 567–579. https://doi.org/10.1137/0118053
  • K. Fan, A Minimax Inequality and Applications, in O. Shisha (ed.), Inequalities III, Academic Press (1972) 103–113.
12 thms1 active userReviewed
CombinatoricsOptimization·Captain: mikedeng1

One-Processor Scheduling with Symmetric Earliness and Tardiness Penalties 2: For a Fixed Task Order, the Block-Shifting Algorithm Minimizes the Total DiscrepancyResearch Paper

Motivation

A task may have a preferred execution time because a material delivery, external event, or downstream operation is timed to it. Starting early can be as costly as starting late. Garey, Tarjan, and Wilfong study this situation on one processor, where tasks cannot overlap but idle time between tasks is permitted. Their total-discrepancy problem is hard when the execution order is free; fixing the order leaves a substantial timing problem because each start can still move and can force changes to earlier starts. The paper gives an explicit scheduling procedure for that case and proves that it minimizes the sum of deviations from preferred starts (Garey, Tarjan, and Wilfong, 1988, §§1–2).

This mission targets that procedure and its correctness theorem. It also records the paper's equal-length result: when task lengths are identical, a minimum-cost schedule exists in preferred-start order, so the fixed-order procedure applies after sorting. These are two precise claims about total discrepancy, distinct from the paper's separate maximum-discrepancy problem.

Setting

There are nnn tasks, indexed i=0,…,n−1i=0,\ldots,n-1i=0,…,n−1. Task iii has a nonnegative length lil_ili​, a nonnegative preferred starting time aia_iai​, and an actual starting time sis_isi​. Once started, it occupies the one processor until si+lis_i+l_isi​+li​. Each start must be nonnegative. For the fixed-order problem, task iii must finish before task i+1i+1i+1 starts, so si+li≤si+1s_i+l_i\le s_{i+1}si​+li​≤si+1​. This permits idle time when the inequality is strict. The task's discrepancy is ∣si−ai∣|s_i-a_i|∣si​−ai​∣; because its preferred completion is ai+lia_i+l_iai​+li​, this is also its absolute completion-time discrepancy. The total discrepancy is

cost⁡n(s)=∑i=0n−1∣si−ai∣.\operatorname{cost}_n(s)=\sum_{i=0}^{n-1}|s_i-a_i|.costn​(s)=i=0∑n−1​∣si​−ai​∣.

A block is a maximal consecutive set of tasks with no idle time between neighboring tasks. Within a block, Decrease counts tasks whose actual starts are later than preferred, and Increase counts tasks whose actual starts are no later than preferred. These names describe the effect of moving the entire block earlier: the discrepancy of a Decrease task falls initially, whereas that of an Increase task rises. The algorithm's state is a schedule SnS_nSn​ for the first nnn tasks. It inserts the next task at its preferred start when the previous task has finished, and at that finish time otherwise. In the latter case it may move the final block earlier until one of the paper's stopping events occurs: the block reaches time zero, a late task reaches its preferred start, or the block meets its predecessor (§2.2, p. 337).

For the equal-length result, schedules may execute tasks in any order. Two distinct tasks are feasible together when one completes before the other starts; meeting at endpoints is allowed. The objective remains the same sum of absolute discrepancies.

Formalization targets

Fixed-order optimality

The main target is the paper's Theorem 2. For all nonnegative task data and every nnn, the actual schedule SnS_nSn​ produced by the block-shifting algorithm is feasible and satisfies

cost⁡n(Sn)≤cost⁡n(s)for every feasible fixed-order schedule s.\operatorname{cost}_n(S_n)\le\operatorname{cost}_n(s) \qquad\text{for every feasible fixed-order schedule }s.costn​(Sn​)≤costn​(s)for every feasible fixed-order schedule s.

This includes the empty schedule and schedules with idle time. The milestone list follows the paper's own assertions: a balanced final block can move earlier without changing cost; every block of SnS_nSn​ has more Increase tasks than Decrease tasks or begins at zero (Lemma 7); and the two claims in Case 2 of the proof record the cost of adding a late task and the comparison with schedules that place it earlier (Theorem 2 and Lemma 7, p. 338).

Equal-length schedules

The companion target is Theorem 3. If every task has a common length L≥0L\ge0L≥0 and the preferred starts are indexed so that ai≤ai+1a_i\le a_{i+1}ai​≤ai+1​, then among all feasible schedules, including those with another task order, at least one minimum-cost schedule starts the tasks in index order:

∃s  [cost⁡n(s)≤cost⁡n(t) for every feasible t]with si≤si+1 whenever i+1<n.\exists s\;\bigl[ \operatorname{cost}_n(s)\le\operatorname{cost}_n(t) \text{ for every feasible }t \bigr] \quad\text{with }s_i\le s_{i+1}\text{ whenever }i+1<n.∃s[costn​(s)≤costn​(t) for every feasible t]with si​≤si+1​ whenever i+1<n.

The paper uses this statement to connect free-order equal-length scheduling to its fixed-order procedure (Theorem 3, p. 340).

Significance

Theorem 2 certifies an explicit schedule, not just the existence of an optimum. It fixes the objective value for a prescribed execution order and gives a baseline against which any other legal timing of the same tasks can be compared. Theorem 3 supplies the ordering fact needed to use that result when all lengths agree. Together they explain why a problem that is difficult for unrestricted task lengths still has these structured solvable cases (Garey, Tarjan, and Wilfong, 1988, abstract and §2.5).

The paper proves both theorems on paper. The work here is to formalize its schedule construction, cost, block boundaries, and comparison classes in Lean, then obtain machine-checked proofs of the stated targets. The draft theorem declarations compile with proof placeholders; this proposal does not claim that they are already machine-checked results. A completed development would make the model and the algorithm available for later formal work on scheduling with idle time and symmetric earliness and tardiness penalties.

Difficulty

Moving a task closer to its preferred start can move neighboring tasks farther from theirs. A simple task-by-task choice therefore does not establish global optimality. Nor does a count of late and early tasks in one block, by itself, justify arbitrary earlier movements of individual tasks. The difficult comparison in the paper is between the algorithm's schedule and a competing feasible schedule whose new task starts earlier: the whole final block and its constrained relative movements matter. The proof also has to account for the boundary at time zero and for blocks that merge when shifted. These are the reasons the explicit procedure and its block invariant need careful statements (§§2.2–2.3, pp. 337–338).

Formalization scope

The Lean development represents task data and starts as functions from natural-number indices to real numbers; only indices below nnn count. Task iii in Lean is the paper's Ti+1T_{i+1}Ti+1​. Preferred times, lengths, and legal starting times are nonnegative. The start-time condition is a standing convention used by the paper's algorithm, especially its zero-boundary stopping rule. Fixed-order feasibility requires successive tasks to be separated by at least the earlier task's length; unrestricted feasibility uses pairwise nonoverlap. An empty schedule is legal and has cost zero. The representation allows zero-length tasks, as does the paper's li≥0l_i\ge0li​≥0 model.

The algorithm is defined by its stated insertion and single-block-shift operations. Defining SnS_nSn​ as a chosen minimizer would erase the content of Theorem 2; the goal also explicitly asserts feasibility so that an illegal low-cost function cannot qualify. Theorem 3 compares with every feasible unrestricted-order schedule, not just schedules already in preferred-start order. The core definitions, the block invariant, and the cost comparisons are useful beyond this particular proof. Formalizing the paper's running-time bounds and heap implementation is outside this mission.

Selected references

  • Michael R. Garey, Robert E. Tarjan, and Gordon T. Wilfong, One-Processor Scheduling with Symmetric Earliness and Tardiness Penalties, Mathematics of Operations Research 13(2), 330–348, 1988. DOI: 10.1287/moor.13.2.330.
6 thms1 active userReviewed
Analysis·Captain: mikedeng1

A Variational Inequality Formulation of the Dynamic Network User Equilibrium Problem II: Under Linear Arc Delay αx(t) + β the Arc Exit Time Is Strictly Increasing (FIFO Holds)Research Paper

Motivation

Dynamic traffic assignment models how commuters choose routes and departure times when travel times change over the day. In the model of Friesz, Bernstein, Smith, Tobin and Wie (Oper. Res. 41 (1993)), the time to traverse a path is built recursively from arc exit-time functions: a vehicle that enters an arc at time ttt leaves it at time τ(t)\tau(t)τ(t). The equilibrium conditions of that model refer to the inverses of these functions, so the model is only well defined when every arc exit-time function is invertible.

Invertibility has a direct traffic meaning. A strictly increasing exit time is the first-in-first-out (FIFO) property: a vehicle that enters later cannot leave earlier, so no overtaking occurs on the arc. Whether a given delay model respects FIFO was an active question in the early 1990s, because several delay functions used in practice violate it for some inflow patterns.

Timeline:

  • 1969. Vickrey's bottleneck model introduces deterministic queueing at a single bottleneck (Vickrey 1969).
  • 1986. Ben-Akiva and De Palma show (Trans. Sci. 20 (1986)), for uniform entry rates and deterministic queueing delays, that it is not possible to "arrive earlier by departing later".
  • 1993. Friesz et al. prove (Theorem 1, p. 185) that for every linear arc delay D=αx+βD = \alpha x + \betaD=αx+β the exit time is strictly increasing, extending the 1986 result to all continuous entry-rate patterns (remark, p. 186).

Setting

Consider one arc. Vehicles enter it at the entry rate u(t)≥0u(t) \ge 0u(t)≥0, a continuous function of time t≥0t \ge 0t≥0; the first vehicle enters at time 000. For an exit-time function τ\tauτ, the arc volume at time t≥0t \ge 0t≥0 is the inflow mass of the vehicles that entered during [0,t][0,t][0,t] and have not left by time ttt:

x(t)=∫{s∈[0,t] : τ(s)>t}u(s) ds.x(t) = \int_{\{s \in [0,t]\,:\,\tau(s) > t\}} u(s)\,ds .x(t)=∫{s∈[0,t]:τ(s)>t}​u(s)ds.

The linear delay function (18) of the paper is

D(t)=α x(t)+β,α,β>0,D(t) = \alpha\, x(t) + \beta, \qquad \alpha, \beta > 0,D(t)=αx(t)+β,α,β>0,

a fixed free-flow travel time β\betaβ plus a queueing time determined by the service rate 1/α1/\alpha1/α. The exit time is entry time plus delay, so τ\tauτ is pinned by the exit-time equation

τ(t)=t+α x(t)+β(t≥0).\tau(t) = t + \alpha\, x(t) + \beta \qquad (t \ge 0).τ(t)=t+αx(t)+β(t≥0).

The equation is implicit: τ\tauτ appears on the right through the volume. The proof partitions time at t0=0t_0 = 0t0​=0, tn+1=τ(tn)t_{n+1} = \tau(t_n)tn+1​=τ(tn​); in particular t1=τ(0)=βt_1 = \tau(0) = \betat1​=τ(0)=β is the exit time of the first vehicle. In Lean these objects are linearDelay, arcVolume, IsLinearExitTime and tSeq in FrieszDUE.FIFO.

Formalization targets

Goal: Theorem 1 (p. 185)

For α,β>0\alpha, \beta > 0α,β>0 and a nonnegative continuous entry rate uuu, every τ\tauτ satisfying the exit-time equation is strictly increasing on [0,∞)[0, \infty)[0,∞):

0≤s<t  ⟹  τ(s)<τ(t),0 \le s < t \implies \tau(s) < \tau(t),0≤s<t⟹τ(s)<τ(t),

and hence injective there, so τ−1\tau^{-1}τ−1 exists.

Milestones

  1. Lemma 1 (19): for a differentiable invertible fff, [f−1]′(z)=1/f′[f−1(z)][f^{-1}]'(z) = 1/f'[f^{-1}(z)][f−1]′(z)=1/f′[f−1(z)].
  2. First interval (21)–(24): t1=βt_1 = \betat1​=β; on [0,t1][0, t_1][0,t1​], x(t)=∫0tux(t) = \int_0^t ux(t)=∫0t​u, τ(t)=t+α∫0tu+β\tau(t) = t + \alpha\int_0^t u + \betaτ(t)=t+α∫0t​u+β, and τ′=1+αu>0\tau' = 1 + \alpha u > 0τ′=1+αu>0.
  3. Second interval (25)–(28): on [t1,t2][t_1, t_2][t1​,t2​], τ(t)=t+α∫τ−1(t)tu+β\tau(t) = t + \alpha\int_{\tau^{-1}(t)}^t u + \betaτ(t)=t+α∫τ−1(t)t​u+β and τ′(t)=αu(t)+1/(1+αu[τ−1(t)])>αu(t)\tau'(t) = \alpha u(t) + 1/(1 + \alpha u[\tau^{-1}(t)]) > \alpha u(t)τ′(t)=αu(t)+1/(1+αu[τ−1(t)])>αu(t).
  4. Induction (29)–(34): the same representation and τ′(t)>αu(t)\tau'(t) > \alpha u(t)τ′(t)>αu(t) on every [tn+1,tn+2][t_{n+1}, t_{n+2}][tn+1​,tn+2​], with τ\tauτ strictly increasing there.
  5. Covering: tn+1−tn≥βt_{n+1} - t_n \ge \betatn+1​−tn​≥β and R+=⋃n≥0[tn,tn+1]\mathbb R_+ = \bigcup_{n \ge 0}[t_n, t_{n+1}]R+​=⋃n≥0​[tn​,tn+1​].

A supporting, non-milestone item states that the exit-time equation has a solution for every admissible uuu.

Significance

The result makes the path exit-time functions of the dynamic network model invertible whenever the arc delays are linear in volume. That invertibility is what allows the path costs, and through them the variational inequality of Theorem 2 of the same paper, to be written down. In traffic terms it certifies that linear volume-based delays never let a later entrant overtake an earlier one, whatever the continuous inflow profile.

The theorem is proved in the paper. As far as is known it has no machine-checked proof. The mission produces one, together with a formal model of a single arc whose exit time is defined implicitly through the volume, which is reusable for other delay functions and for FIFO questions in dynamic traffic assignment.

Difficulty

The obvious argument differentiates τ(t)=t+αx(t)+β\tau(t) = t + \alpha x(t) + \betaτ(t)=t+αx(t)+β and bounds the outflow rate. But the volume can only be written as ∫τ−1(t)tu\int_{\tau^{-1}(t)}^t u∫τ−1(t)t​u once τ\tauτ is known to be invertible, which is the conclusion. The paper breaks the circularity by working forward in time: on [tn,tn+1][t_n, t_{n+1}][tn​,tn+1​] the volume depends only on τ\tauτ restricted to the earlier interval, whose invertibility is already established. A formal proof must make this forward dependence rigorous for an exit time given only by the implicit equation, handle one-sided derivatives at the junctions tnt_ntn​, where τ\tauτ is generally not differentiable, and show that the junctions do not accumulate.

Formalization scope

Time is real; the entry rate is a function u:R→Ru : \mathbb R \to \mathbb Ru:R→R with u(t)≥0u(t) \ge 0u(t)≥0 and uuu continuous on [0,∞)[0, \infty)[0,∞). Both are added hypotheses: Theorem 1 names none, nonnegativity is implicit in "entry rate", and the remark after the proof covers "all continuous entry rate patterns". Integrals are Lebesgue integrals. Monotonicity is claimed on [0,∞)[0,\infty)[0,∞) only, the entry times that the equation constrains. Derivative claims in the milestones are taken within the closed interval [tn,tn+1][t_n, t_{n+1}][tn​,tn+1​]. The paper's separate pieces τk\tau_kτk​ are one global function here, so the junction identities (27), (30), (33) are automatic. Lemma 1 adds the hypothesis f′[f−1(z)]≠0f'[f^{-1}(z)] \ne 0f′[f−1(z)]=0, without which it is false.

The exit time τ is pinned by the implicit equation τ(t) = t + αx(t) + β, where x(t) is the inflow mass of vehicles that entered by time t and have not exited by time t; no monotonicity or invertibility of τ is assumed. A formalization that defined the volume through τ−1\tau^{-1}τ−1 or assumed τ\tauτ monotone would assume the conclusion and is ruled out.

The development needs one-sided derivatives of parametric integrals, the inverse-function derivative on an interval, and a forward induction over the partition. Contributions of proofs for any milestone, of the existence item, and of a uniqueness result for the exit-time equation are welcome.

Selected references

  • T. L. Friesz, D. Bernstein, T. E. Smith, R. L. Tobin and B. W. Wie, A variational inequality formulation of the dynamic network user equilibrium problem, Operations Research 41(1):179–191, 1993. https://doi.org/10.1287/opre.41.1.179
  • M. Ben-Akiva and A. de Palma, Some circumstances in which vehicles will reach their destinations earlier by starting later: revisited, Transportation Science 20(1):52–55, 1986. https://doi.org/10.1287/trsc.20.1.52
  • M. Ben-Akiva, A. de Palma and P. Kanaroglou, Dynamic model of peak period traffic congestion with elastic arrival rates, Transportation Science 20(3):164–181, 1986. https://doi.org/10.1287/trsc.20.3.164
  • W. S. Vickrey, Congestion theory and transport investment, American Economic Review 59(2):251–261, 1969. https://www.jstor.org/stable/1823678
7 thms1 active userReviewed
Algorithmic Game Theory·Captain: mikedeng1

Perfect Equilibrium in a Bargaining Model: The Perfect Equilibrium Partitions Are the Nonempty Closed Intervals A = Δ₁ and B = Δ₂ = A − εResearch Paper

Motivation

Alternating-offer bargaining asks how an agreement is selected when two people can keep making proposals until one accepts. A prediction based only on behavior at the start may rely on threats that would no longer be sensible after a rejection. Ariel Rubinstein's 1982 paper studies strategies after every possible sequence of offers and gives a characterization of the partitions compatible with perfect equilibrium. Its setting has a unit pie, complete information, no fixed last round, and preferences that may describe more than a particular discount formula.

The question matters for sequential bargaining models in which the order of moves and the cost of delay affect the agreement. The paper distinguishes the set obtained when player 1 offers first from the set obtained when player 2 offers first. It also provides applications to fixed bargaining costs and fixed discount factors. This mission targets the paper's general characterization, from which those examples can be studied without building a new equilibrium concept for each preference family.

Setting

A partition is a number s∈S=[0,1]s\in S=[0,1]s∈S=[0,1]: player 1 receives sss of the unit pie and player 2 receives 1−s1-s1−s. An outcome (s,t)(s,t)(s,t) means that the offer sss is accepted in period ttt; (0,∞)(0,\infty)(0,∞) denotes perpetual disagreement. Periods of actual play start at 1. The paper also uses (s,0)(s,0)(s,0) when comparing acceptance of a current offer with a future outcome. Each player i∈{1,2}i\in\{1,2\}i∈{1,2} has a complete, reflexive, transitive preference relation ≽i\succcurlyeq_i≽i​ on outcomes. Strict preference ≻i\succ_i≻i​ and indifference ∼i\sim_i∼i​ are derived from it.

The game alternates proposals and responses. One player offers a partition, the other accepts or rejects, and rejection makes the responder the next proposer. A strategy specifies what a player does after every possible history, including histories inconsistent with the player's earlier plans. A perfect equilibrium requires the relevant player's continuation to withstand every alternative continuation strategy at each rejected history and to make a planned acceptance or rejection consistent with the current offer. The empty history is included, so the opening proposer must also have no profitable deviation.

Write AAA for the set of player-1 shares reached by perfect equilibria when player 1 opens, and BBB for the corresponding set when player 2 opens. Perpetual disagreement contributes no share to either set. Define Δ⊆S×S\Delta\subseteq S\times SΔ⊆S×S by a pair of one-period thresholds: for (x,y)∈Δ(x,y)\in\Delta(x,y)∈Δ, yyy is the smallest share whose immediate acceptance player 1 weakly prefers to (x,1)(x,1)(x,1), and xxx is the largest share whose immediate acceptance player 2 weakly prefers to (y,1)(y,1)(y,1). Let Δ1\Delta_1Δ1​ and Δ2\Delta_2Δ2​ be its coordinate projections. All four sets contain numbers interpreted as player-1 shares, even when player 2 moves first. These are the objects of Sections 2–5.

Formalization targets

Characterization

Under the paper's five preference assumptions (A-1)–(A-5), the goal is its THEOREM on p. 106:

A=Δ1≠∅,B=Δ2≠∅,A=\Delta_1\ne\varnothing,\qquad B=\Delta_2\ne\varnothing,A=Δ1​=∅,B=Δ2​=∅,

with AAA and BBB nonempty closed intervals and some e≥0e\ge 0e≥0 satisfying

B={a−e:a∈A}.B=\{a-e:a\in A\}.B={a−e:a∈A}.

The translation parameter is allowed to be zero, and either interval may be a single point. The goal fixes the paper's general shape without choosing a particular utility representation or assuming immediate agreement in every equilibrium.

Milestone statements

The attack path follows Lemmas 1–4 and Propositions 1–4 in their printed order. The lemmas constrain how a partition in one opening order relates to a feasible continuation in the other. Proposition 1 places each pair in Δ\DeltaΔ inside A×BA\times BA×B; Proposition 2 asserts existence; Proposition 3 describes Δ\DeltaΔ as a closed segment parallel to the diagonal; Proposition 4 gives the reverse containment of AAA and BBB in the threshold projections. Each numbered result is a separate theorem target.

Significance

The theorem identifies the full set of equilibrium partitions from preference comparisons one period apart. Nonemptiness says the model admits at least one equilibrium partition in either opening order. The interval conclusion describes cases with multiple equilibrium shares, while the translate relation states exactly how reversing the first mover changes the two sets. In the paper's discounting example, a single share is selected under the stated parameter conditions; in a fixed-cost boundary case, multiple shares can occur. These are applications in Section 6, not assumptions of the general target.

Rubinstein proved the result in 1982. Here the definitions and theorem statements are Lean drafts; the numbered targets and the main theorem still require machine-checked proofs. A local verification module establishes that one discounting instance satisfies the first three axioms and that the paper's Section 3 strategy example accepts its first offer in period 1. Completing the mission would give a reusable formal account of an infinite-horizon alternating-offer game and its subgame equilibrium conditions, alongside the paper's characterization.

Difficulty

A first-round equilibrium condition does not control what a strategy promises after an offer is rejected. The paper's equilibrium definition checks the entire continuation at every history, with the player's role changing after each rejection. As a result, showing that a proposed share is an equilibrium partition requires more than checking the opening offer: the answer and the next proposal must remain consistent throughout the game tree. The model also allows arbitrary complete preferences satisfying axioms, so a calculation with one discount function cannot establish the general theorem.

The boundary at a zero share requires care. Assumption (A-2) asserts strict preference for earlier positive shares; it says nothing directly about a player receiving zero. The printed proof of Lemma 1 invokes it for a comparison that can occur at that boundary. The local lemma drafts explicitly carry the paper's (A-4) closedness axiom to support that comparison. This added assumption, and its propagation to Lemmas 2–4, is disclosed in the audit notes rather than silently attributed to the Section 4 statement.

Formalization scope

Lean represents SSS as the subtype of real numbers in [0,1][0,1][0,1]. Outcomes are an option type: an agreement contains a partition and a natural-number period, while none is perpetual disagreement. This prevents an endless play from acquiring a default last partition. Strategies are unrestricted functions of lists of past offers. The play uses the first accepted offer, with period number one greater than its zero-based sequence index. A subgame after a rejected history restarts the period count and swaps the opening role when the history has odd length. The perfect-equilibrium predicate includes the empty history; acceptance comparisons use period 0 for the offer already on the table.

The threshold correspondence uses actual least and greatest elements among partitions in SSS. No real infimum or supremum supplies a default for an empty candidate set. “Closed interval” in the goal means an explicit [ℓ,u][\ell,u][ℓ,u] with ℓ≤u\ell\le uℓ≤u. “A−eA-eA−e” is the image of AAA under a↦a−ea\mapsto a-ea↦a−e. Proposition 3's “parallel line segment” is the full image of a nonempty interval under x↦(x,x−e)x\mapsto(x,x-e)x↦(x,x−e). These readings exclude a vacuous equilibrium set, a disagreement-to-zero coercion, and a hard-coded discounting special case.

The common outcome and preference definitions, the history-based strategy and play, and the equilibrium predicate are reusable for other alternating-offer questions. Contributions toward their structural properties, the numbered milestones, and the full theorem are in scope. The two displayed claims inside proofs and the fixed-cost and discounting conclusions are deferred to keep this proposal on the theorem's numbered path. Existing platform entries on Nash's axiomatic bargaining solution and a sealed-offer double auction concern different objects; neither supplies this game's equilibrium definition.

Selected references

  • Ariel Rubinstein, Perfect Equilibrium in a Bargaining Model, Econometrica 50(1), 97–109, 1982. DOI 10.2307/1912531.
14 thms1 active userReviewed
Complexity TheoryDynamic ProgrammingMathematical Logic·Captain: mikedeng1

The Complexity of Markov Decision Processes V: A Quantified Boolean Formula Is True Iff Its Partially Observed Markov Decision Process Has a Zero-Cost PolicyResearch Paper

Motivation

A Markov decision process is the standard model of sequential decision making under uncertainty: a controller observes the state of a finite system, chooses a decision, pays a cost, and the system moves to a random next state. In many applications (maintenance, inventory with unreliable records, robotics, medical treatment) the controller does not see the state itself, only partial information about it. This is the partially observed problem, and the usual way to solve it is to replace the state by the conditional distribution of the state given the observations (Åström 1965; Bertsekas). That reformulation has an infinite state space, and Smallwood and Sondik (1973) showed that the finite-horizon cost-to-go is nevertheless piecewise linear, but with a number of pieces that may grow exponentially with the horizon.

Papadimitriou and Tsitsiklis (Math. Oper. Res. 12(3), 1987) asked whether this blow-up is an artefact of the reformulation or intrinsic to the problem. Their Theorem 6 answers it: deciding whether a partially observed process can achieve a given expected cost is PSPACE-hard, already for stationary processes and horizons shorter than the number of states. This mission formalizes the reduction behind that theorem.

Setting

A partially observed stationary Markov decision process has a finite state set SSS, a partition Π\PiΠ of SSS, and an initial state s0s_0s0​. For a state sss write z(s)∈Πz(s) \in \Piz(s)∈Π for the set containing it. Each set zzz carries a nonempty finite set DzD_zDz​ of decisions; decision i∈Dzi \in D_zi∈Dz​ costs c(z,i)c(z, i)c(z,i) and moves a current state s∈zs \in zs∈z to the next state s′s's′ with probability p(s,s′,i)p(s, s', i)p(s,s′,i). The controller sees only the sequence of sets visited, so a policy π\piπ maps each observation sequence z0,…,ztz_0, \dots, z_tz0​,…,zt​ to a decision in DztD_{z_t}Dzt​​. For a horizon TTT, the expected cost of π\piπ is

Jπ(T)=Eπ[∑t=0Tc(z(st),π(z(s0),…,z(st)))],J_\pi(T) = \mathbb{E}_\pi\Bigl[\sum_{t=0}^{T} c\bigl(z(s_t), \pi(z(s_0), \dots, z(s_t))\bigr)\Bigr],Jπ​(T)=Eπ​[t=0∑T​c(z(st​),π(z(s0​),…,z(st​)))],

and the optimal cost is inf⁡πJπ(T)\inf_\pi J_\pi(T)infπ​Jπ​(T).

A quantified Boolean formula is Q1x1⋯Qnxn F(x1,…,xn)Q_1 x_1 \cdots Q_n x_n\, F(x_1, \dots, x_n)Q1​x1​⋯Qn​xn​F(x1​,…,xn​) with each Qj∈{∃,∀}Q_j \in \{\exists, \forall\}Qj​∈{∃,∀} and FFF a conjunction of mmm clauses C1,…,CmC_1, \dots, C_mC1​,…,Cm​, each a set of literals xjx_jxj​ or ¬xj\neg x_j¬xj​. It is true if there is a value of x1x_1x1​ such that for all values of x2x_2x2​, and so on, FFF comes out true. Deciding truth (QSAT) is PSPACE-complete (Stockmeyer and Meyer 1973).

From a formula with m≥1m \ge 1m≥1 clauses the paper builds a process MφM_\varphiMφ​: an initial state, six states Aij,Aij′,Tij,Tij′,Fij,Fij′A_{ij}, A'_{ij}, T_{ij}, T'_{ij}, F_{ij}, F'_{ij}Aij​,Aij′​,Tij​,Tij′​,Fij​,Fij′​ per clause iii and variable jjj, end states Ai,n+1,Ai,n+1′A_{i,n+1}, A'_{i,n+1}Ai,n+1​,Ai,n+1′​, and one absorbing state, so ∣S∣=6mn+2m+2|S| = 6mn + 2m + 2∣S∣=6mn+2m+2. The first transition chooses a clause uniformly; primed states record that the chosen clause is not yet satisfied; existential variables are set by decisions and universal ones by fair coins; the only nonzero cost, 111, is paid at Ai,n+1′A'_{i,n+1}Ai,n+1′​. The horizon is T=2n+2T = 2n + 2T=2n+2.

Formalization targets

Goal: the reduction is correct

For every formula φ\varphiφ in the paper's QSAT class (an alternating prefix beginning with ∃x1\exists x_1∃x1​ and ending with ∀xn\forall x_n∀xn​, and three literals per clause), with m≥1m \ge 1m≥1 clauses and T=2n+2T = 2n+2T=2n+2,

T<∣S∣,(∃π: Jπ(T)=0)  ⟺  φ is true,inf⁡πJπ(T)≤0  ⟺  φ is true.T < |S|, \qquad \bigl(\exists \pi:\ J_\pi(T) = 0\bigr) \iff \varphi \text{ is true}, \qquad \inf_\pi J_\pi(T) \le 0 \iff \varphi \text{ is true}.T<∣S∣,(∃π: Jπ​(T)=0)⟺φ is true,πinf​Jπ​(T)≤0⟺φ is true.

The goal states all three claims the paper makes: the horizon bound (p. 448), the existence of a zero-cost policy (p. 449), and the bound on the optimum (p. 448).

Milestones

  1. The cost splits over the clause chosen at time 1: each clause is chosen with probability 1/m1/m1/m, and a policy has zero expected cost iff it has zero cost for every choice of clause.
  2. If a trajectory of positive probability ends in Ai,n+1′A'_{i,n+1}Ai,n+1′​, the expected cost is at least 2−n/m2^{-n}/m2−n/m.
  3. A zero-cost policy makes the formula true.
  4. A true formula yields a zero-cost policy.

Significance

Theorem 6 locates the partially observed finite-horizon problem in the complexity landscape: unless P = PSPACE there is no polynomial-time algorithm for it, even for stationary processes with short horizons. The paper's Corollary 1 strengthens this into evidence that no polynomial-size precomputed controller exists either. Together these results explain why exact algorithms for partially observed processes are exponential and motivated the later work on approximation and on restricted policy classes.

The formalization adds a machine-checked proof of the correctness of the reduction, the step on which the hardness claim rests, together with a reusable definition of a finite partially observed process with observation-history policies and of quantified Boolean formulas. The paper's argument is a short paragraph; a formal proof has to make precise how a policy that only sees observation sequences determines a strategy for the existential player. As far as we know, no machine-checked proof of this reduction exists.

Difficulty

The "if" direction is a direct translation of a winning strategy into a policy. The "only if" direction is where the work is. A zero-cost policy acts on observation sequences, and the paper argues that it never learns which clause was chosen. Under the paper's own partition this is not literally true: the sets TjT_jTj​ and Tj′T'_jTj′​ differ, so the observations reveal whether the chosen clause was already satisfied. The existential strategy must therefore be extracted from the policy's behaviour on the observation histories in which the clause is still unsatisfied, and one must check that it is a single strategy, independent of the clause, that satisfies every clause against every choice of the universal variables. The bound of milestone 2 also requires tracking the probability of a single trajectory through the coin flips.

Formalization scope

The process is a Lean structure POMDP S Z with an observation map obs : S → Z encoding the partition, nonempty finite decision types D z, real costs c z i, and next-state laws given as Mathlib PMFs, so every transition row is a probability vector. A policy is a function List Z → (z : Z) → D z of the earlier observations and the current one. The expected cost is a finite sum over trajectories x0,…,xTx_0, \dots, x_Tx0​,…,xT​ of their probability times ∑t=0Tc\sum_{t=0}^{T} c∑t=0T​c, and the optimum is the infimum over all policies. Paper clause CiC_iCi​ and variable xjx_jxj​ are Lean indices i−1i - 1i−1 and j−1j - 1j−1.

Choices made explicit:

  • Horizon. The paper prints T=2m+2T = 2m + 2T=2m+2 but says it is "just enough time for the process to reach one of Ai,n+1A_{i,n+1}Ai,n+1​ or Ai,n+1′A'_{i,n+1}Ai,n+1′​", which happens at time 2n+12n+12n+1. With the printed value and m<nm < nm<n the cost is never paid and every formula would map to a zero-cost process. We use T=2n+2T = 2n+2T=2n+2.
  • The set AjA_jAj​. The partition sentence puts all AijA_{ij}Aij​ and Aij′A'_{ij}Aij′​ in one set AjA_jAj​; the decision sentence mentions "the set Aj′A'_jAj′​". We follow the partition sentence.
  • The new state reached from Ai,n+1A_{i,n+1}Ai,n+1​ and Ai,n+1′A'_{i,n+1}Ai,n+1′​ is unspecified; it gets its own set, one zero-cost decision and a self-loop.
  • Formulas. The general QBF definition allows any quantifier prefix and clause width. Every theorem assumes IsPaperQSAT, which requires the paper's alternating prefix ∃x1∀x2⋯∀xn\exists x_1 \forall x_2 \cdots \forall x_n∃x1​∀x2​⋯∀xn​ with n>0n>0n>0 even and three literals per clause. Clauses are sets of literals; three witnesses allow repetitions. m≥1m \ge 1m≥1 is also a hypothesis.
  • Decisions are nonempty; rows are probability vectors.

Policies see only observation sequences. A formalization in which the policy reads the state would make the "only if" direction false and the reduction meaningless; one in which it sees only the current observation would make the "if" direction false. Neither is admissible.

Not formalized: PSPACE-hardness itself (Mathlib has no PSPACE or polynomial-time reductions), the polynomial-time computability of the construction, the membership of the problem in PSPACE (sketched on p. 449), Corollary 1 (a Σ2p\Sigma_2^pΣ2p​ collapse) and Corollary 2 (NP-completeness of the unobserved case, stated without proof).

The definitions of partially observed processes and quantified Boolean formulas are reusable. Contributions of lemmas on trajectory sums (marginalising later coordinates, the probability of a fixed prefix) are welcome; they also serve the other missions of this series.

Selected references

  • C. H. Papadimitriou and J. N. Tsitsiklis, The Complexity of Markov Decision Processes, Mathematics of Operations Research 12(3), 1987, 441–450. https://doi.org/10.1287/moor.12.3.441
  • L. J. Stockmeyer and A. R. Meyer, Word problems requiring exponential time, Proc. 5th ACM STOC, 1973, 1–9. https://doi.org/10.1145/800125.804029
  • R. D. Smallwood and E. J. Sondik, The optimal control of partially observable Markov processes over a finite horizon, Operations Research 21(5), 1973, 1071–1088. https://doi.org/10.1287/opre.21.5.1071
  • K. J. Åström, Optimal control of Markov processes with incomplete state information, Journal of Mathematical Analysis and Applications 10, 1965, 174–205. https://doi.org/10.1016/0022-247X(65)90154-X
  • D. P. Bertsekas, Dynamic Programming: Deterministic and Stochastic Models, Prentice-Hall, 1987.
8 thms1 active userReviewed
Dynamic ProgrammingGraph TheoryOptimization·Captain: mikedeng1

The Complexity of Markov Decision Processes II: The Optimal Average Cost of a Deterministic Process Is the Least Mean Cost of a Cycle Reachable from the Initial StateResearch Paper

Motivation

A Markov decision process describes repeated choices whose costs and subsequent states depend on the current state. Such models are used when a decision affects both today's expense and the options available tomorrow. Papadimitriou and Tsitsiklis studied how the computational difficulty of finding an optimal policy changes between stochastic and deterministic transitions. Their general finite-state problems are P-complete, while their deterministic cases admit highly parallel algorithms Papadimitriou and Tsitsiklis, 1987. The contrast makes the deterministic case a useful setting in which to isolate the precise graph problem hidden inside long-run optimization.

This mission concerns their infinite-horizon average-cost case. When transitions are certain, every decision is an arc in a directed graph. The long-run cost of a policy can be related to the mean cost of a cycle reachable from the initial state. That relation is the mathematical claim supporting the algorithm in the paper's Theorem 3, whose headline says that the deterministic average-cost problem is in NC Papadimitriou and Tsitsiklis, p. 446.

Setting

Let SSS be a finite set of states and s0∈Ss_0\in Ss0​∈S the initial state. At each s∈Ss\in Ss∈S there is a finite, nonempty decision set DsD_sDs​. A decision d∈Dsd\in D_sd∈Ds​ has a real cost c(s,d)c(s,d)c(s,d) and moves the process with certainty to next⁡(s,d)∈S\operatorname{next}(s,d)\in Snext(s,d)∈S. All of these data are stationary: they do not change with time. A policy δ(s,t)\delta(s,t)δ(s,t) chooses a decision for each state and each time t=0,1,2,…t=0,1,2,\ldotst=0,1,2,…. It generates a trajectory by st+1=next⁡(st,δ(st,t))s_{t+1}=\operatorname{next}(s_t,\delta(s_t,t))st+1​=next(st​,δ(st​,t)). The corresponding directed graph has a state for each node and a decision for each arc. It may contain loops and parallel arcs, since different decisions can lead to the same next state.

The paper prints the finite average with T+1T+1T+1 cost terms and denominator TTT:

aTδ(s0)=1T∑t=0Tc(st,δ(st,t)).a_T^\delta(s_0)=\frac{1}{T}\sum_{t=0}^{T}c(s_t,\delta(s_t,t)).aTδ​(s0​)=T1​t=0∑T​c(st​,δ(st​,t)).

A time-dependent policy's averages may fail to converge. We use the upper limit gδ(s0)=lim sup⁡T→∞aTδ(s0)g^\delta(s_0)=\limsup_{T\to\infty}a_T^\delta(s_0)gδ(s0​)=limsupT→∞​aTδ​(s0​) and optimize over all policies, g∗(s0)=inf⁡δgδ(s0)g^*(s_0)=\inf_\delta g^\delta(s_0)g∗(s0​)=infδ​gδ(s0​). A state uuu is reachable if some finite walk of decision arcs goes from s0s_0s0​ to uuu. A simple cycle CCC is a positive-length closed sequence of decision arcs with distinct states before it returns to its start; its mean cost is mean⁡(C)=c(C)/∣C∣\operatorname{mean}(C)=c(C)/|C|mean(C)=c(C)/∣C∣. A loop is a one-arc simple cycle.

For states u,vu,vu,v, the min-plus adjacency entry AuvA_{uv}Auv​ is the least cost of a decision arc from uuu to vvv, or +∞+\infty+∞ when no such arc exists. A min-plus product uses addition in place of multiplication and minimum in place of addition. Thus (Ak)uv(A^k)_{uv}(Ak)uv​ represents the least cost of a kkk-arc walk from uuu to vvv, when such a walk exists Papadimitriou and Tsitsiklis, pp. 445–446.

Formalization targets

Reachable cycles

The first target identifies the value of the original policy optimization problem:

g∗(s0)=min⁡C simple cycleC reachable from s0mean⁡(C).g^*(s_0)=\min_{\substack{C\text{ simple cycle}\\C\text{ reachable from }s_0}}\operatorname{mean}(C).g∗(s0​)=C simple cycleC reachable from s0​​min​mean(C).

It also states that a policy attains this value with convergent finite averages. The milestone for following a reachable cycle gives the attainable direction; the milestone saying that no policy can improve the least mean gives the reverse direction. The latter is formulated with lim inf⁡\liminfliminf, so it applies even when a policy's averages oscillate.

Min-plus calculation

The second target identifies the finite graph calculation used in the paper:

g∗(s0)=min⁡u reachable from s01≤k≤∣S∣(Ak)uu<+∞(Ak)uuk.g^*(s_0)=\min_{\substack{u\text{ reachable from }s_0\\1\leq k\leq |S|\\(A^k)_{uu}<+\infty}}\frac{(A^k)_{uu}}{k}.g∗(s0​)=u reachable from s0​1≤k≤∣S∣(Ak)uu​<+∞​min​k(Ak)uu​​.

The milestones establish what a min-plus power says about decision walks and why closed walks of lengths from 111 through ∣S∣|S|∣S∣ recover the least simple-cycle mean. The restriction to reachable uuu is essential: a cheap cycle in a disconnected component cannot be used from s0s_0s0​.

Significance

The result reduces optimization over infinitely many decision times and all state-and-time policies to finitely many closed-walk calculations. It also guarantees that an optimal long-run value is realized by a trajectory with a genuine limiting average, despite the nonconvergence possible for other policies. The finite formula lets one determine the value by comparing graph quantities indexed by states and lengths; it is the correctness statement beneath the paper's parallel algorithm Papadimitriou and Tsitsiklis, p. 446.

Formalizing the identity creates a reusable bridge between deterministic decision processes, weighted directed walks and min-plus powers. Related proved tropical-algebra results on maximum cycle means use dense matrices and a max-plus convention, rather than the reachable, possibly missing-arc, minimum-cost process here; for example, the platform's TropicalLA.tpow_isGreatest concerns greatest walk weights. The present mission keeps the policy optimum and reachability explicit. The paper proves the result mathematically; these Lean statements are open proof targets in the proposal.

Difficulty

An arbitrary policy can keep changing its choices at repeated visits to the same state. Its averages can oscillate, so one cannot simply assume that its infinite trajectory becomes periodic or that its printed limit exists. The lower-bound claim must apply to every such trajectory. There is a second distinction between a closed walk and a simple cycle: a diagonal min-plus entry allows repeated states, whereas the cycle characterization is stated using simple cycles. Finally, an unrestricted matrix calculation would include cycles unreachable from the chosen initial state.

Formalization scope

Lean represents the general finite stationary deterministic process in its own definition, then defines policies, finite walks, simple cycles, average costs and min-plus powers on top of it. Decisions are arcs, so parallel arcs remain distinguishable; AuvA_{uv}Auv​ takes their least cost and uses WithTop ℝ for a missing arc. Decision sets are explicitly nonempty because a policy has to make a choice at every state. The finite state set is automatically nonempty once s0s_0s0​ is supplied. Policy time starts at zero. The printed T+1T+1T+1 terms divided by TTT are retained; Lean's T=0T=0T=0 quotient is zero and has no effect on the limit. The optimum is the infimum over all policies δ(s,t)\delta(s,t)δ(s,t), not a quantity defined by cycles or by stationary policies. Finite states and finite decision sets bound the one-step costs and hence the averages; this gives real limsup and infimum their intended values.

The paper's Theorem 3 asserts membership in NC. This mission formalizes the exact optimization identity that makes that algorithm correct. Its processor count and parallel-time bound are outside the scope, as are membership in P, log-space computability of reductions, PSPACE membership and the paper's Corollaries 1–2. Contributions to the finite-walk and min-plus lemmas, the lower bound for arbitrary policy paths, and the cycle-attainment statement are all needed; the graph definitions can be reused in other deterministic control problems.

Selected references

  • Christos H. Papadimitriou and John N. Tsitsiklis, The Complexity of Markov Decision Processes, Mathematics of Operations Research 12(3), 1987, pp. 441–450. DOI.
7 thms1 active userReviewed
Complexity TheoryDynamic ProgrammingOptimization·Captain: mikedeng1

The Complexity of Markov Decision Processes I: A Boolean Circuit Is True Iff Its Finite-Horizon Markov Decision Process Has Optimal Expected Cost ZeroResearch Paper

Motivation

Markov decision processes are the standard model of sequential decision making under uncertainty in operations research, control and artificial intelligence. Their finite-horizon, discounted and average-cost versions are all solvable in polynomial time, by dynamic programming or linear programming. Papadimitriou and Tsitsiklis (The Complexity of Markov Decision Processes, Math. Oper. Res. 12(3), 1987) asked the next question: can these problems be solved fast in parallel, in polylogarithmic time on polynomially many processors (the class NC)? Their Theorem 1 answers no, unless every polynomial-time problem parallelizes: all three versions are P-complete. The proof is a short reduction from the circuit value problem (CVP), the canonical P-complete problem (Ladner, 1975). This mission formalizes the mathematical heart of that reduction: the constructed process has optimal expected cost zero exactly when the circuit evaluates to true.

The result is the first of a series of five missions on the same paper; the others treat the deterministic special cases (which are in NC) and the partially observed case (which is PSPACE-hard).

Setting

A circuit is a finite sequence of triples C=((ai,bi,ci), i=1,…,k)C=((a_i,b_i,c_i),\ i=1,\dots,k)C=((ai​,bi​,ci​), i=1,…,k) with k≥1k\ge1k≥1. Each aia_iai​ is one of the operations false, true, and, or. A triple with ai∈{false,true}a_i\in\{\text{false},\text{true}\}ai​∈{false,true} is an input; a triple with ai∈{and,or}a_i\in\{\text{and},\text{or}\}ai​∈{and,or} is a gate, and a gate reads two earlier triples, 1≤bi,ci<i1\le b_i,c_i<i1≤bi​,ci​<i. The value of an input is its constant; the value of a gate is the Boolean operation aia_iai​ applied to the values of triples bib_ibi​ and cic_ici​. The value of CCC is the value of triple kkk.

A finite Markov decision process has a finite state set SSS, an initial state s0s_0s0​, and at each state sss a nonempty finite set DsD_sDs​ of decisions. Taking decision iii at state sss at time ttt costs c(s,i,t)c(s,i,t)c(s,i,t) and moves to s′s's′ with probability p(s,s′,i,t)p(s,s',i,t)p(s,s′,i,t). A policy δ\deltaδ chooses a decision δ(s,t)∈Ds\delta(s,t)\in D_sδ(s,t)∈Ds​ for every state and time. For a horizon TTT the expected cost of δ\deltaδ is

JT(δ)=Eδ[∑t=0Tc(st,δ(st,t),t)],J_T(\delta)=\mathbb E_\delta\Bigl[\sum_{t=0}^{T}c\bigl(s_t,\delta(s_t,t),t\bigr)\Bigr],JT​(δ)=Eδ​[t=0∑T​c(st​,δ(st​,t),t)],

and the optimal expected cost is JT∗=inf⁡δJT(δ)J_T^\ast=\inf_\delta J_T(\delta)JT∗​=infδ​JT​(δ) over all policies.

From a circuit CCC the proof of Theorem 1 builds a stationary process MCM_CMC​: one state per triple plus an absorbing state qqq. An input state has one decision, moving to qqq, at cost 111 if the input is false and 000 if it is true. An or gate has two free decisions, 000 moving to bib_ibi​ and 111 moving to cic_ici​. An and gate has one decision, moving to bib_ibi​ or cic_ici​ with probability 1/21/21/2 each. All other costs are zero. The initial state is triple kkk and the horizon is T=kT=kT=k.

In the Lean development these are MDPComplexity.CircuitValue.MDP (with Policy, trajProb, expCost, optCost), Circuit (with val, value, lastIdx) and Circuit.toMDP.

Formalization targets

Goal: correctness of the reduction

Jk∗(MC)≤0⟺the value of C is true,J_k^\ast(M_C)\le 0\quad\Longleftrightarrow\quad \text{the value of } C \text{ is true},Jk∗​(MC​)≤0⟺the value of C is true,

for every circuit CCC with k≥1k\ge1k≥1 triples (theorem1_reduction). This is the claim "the optimum expected cost is 0 or less iff the value of CCC was true" on p. 445.

Milestones

  1. Every policy has Jk(δ)≥0J_k(\delta)\ge0Jk​(δ)≥0 ("it cannot be less").
  2. For any finite process with nonnegative costs, JT(δ)=0J_T(\delta)=0JT​(δ)=0 iff no positive cost is incurred on any trajectory of positive probability ("the states with positive costs are impossible to reach").
  3. If some policy has Jk(δ)=0J_k(\delta)=0Jk​(δ)=0, then CCC is true.
  4. If CCC is true, some policy has Jk(δ)=0J_k(\delta)=0Jk​(δ)=0.

Further statement

The discounted analogue, which the paper asserts in one sentence: for β∈(0,1)\beta\in(0,1)β∈(0,1), the optimal expected discounted cost inf⁡δ∑t≥0βt Eδ[c(st,δ(st,t))]\inf_\delta\sum_{t\ge0}\beta^t\,\mathbb E_\delta[c(s_t,\delta(s_t,t))]infδ​∑t≥0​βtEδ​[c(st​,δ(st​,t))] of MCM_CMC​ is at most 000 iff CCC is true (discounted_reduction).

Significance

Combined with the log-space computability of MCM_CMC​ from CCC, the goal shows that the finite-horizon Markov decision problem is P-hard, hence not in NC unless P = NC. This is the reason dynamic programming for general Markov decision processes is believed to be inherently sequential, and it frames the contrast drawn in the rest of the paper: deterministic processes are in NC, and partially observed ones are PSPACE-hard. The construction is also stationary, so it shows that even the stationary finite-horizon problem is P-hard, as the paper remarks.

The theorem is proved in the paper, in one paragraph; it is not open. To our knowledge no machine-checked proof of it exists. Formalizing it produces a precise statement of what the reduction proves, a reusable finite-trajectory model of finite-horizon Markov decision processes with time-dependent policies, and a reusable encoding of Boolean circuits and their value.

Difficulty

The informal argument is short, but two points need care. First, the optimum ranges over all time-dependent policies, which form an infinite type; the infimum is attained only because the expected cost depends on finitely many decisions, and this must be established rather than assumed. Second, the passage from "the expected cost is zero" to "the circuit is true" turns a statement about trajectory probabilities into a statement about the recursive value of the circuit, and the and gates (where both successors are reached with positive probability) behave differently from the or gates (where only the chosen successor is reached). Reasoning only along a single path, as for a deterministic process, does not suffice at and gates.

Formalization scope

Theorem 1 is a complexity statement: "The Markov Decision Process problem is P-complete in all three cases." Membership in P, the log-space computability of the construction, the notion of P-completeness, and the average-cost case are not part of this mission; Mathlib has no log-space reductions or class P. The mission states the correctness of the reduction, for the exact process of the proof.

Conventions committed to:

  • Triples are indexed by Fin k (paper index iii is Lean index i−1i-1i−1); k≥1k\ge1k≥1 via [NeZero k]. The fields bi,cib_i,c_ibi​,ci​ of an input are unused (the paper sets them to 000, not a triple index). Triple kkk need not be a gate.
  • States of MCM_CMC​ are Option (Fin k), with none the state qqq; decisions are Fin 2 at or gates and Fin 1 elsewhere.
  • The and-gate row is 121[s′=bi]+121[s′=ci]\tfrac12\mathbf 1[s'=b_i]+\tfrac12\mathbf 1[s'=c_i]21​1[s′=bi​]+21​1[s′=ci​], so that bi=cib_i=c_ibi​=ci​ (allowed by the paper) gives a probability vector.
  • Rows of the transition kernel are probability vectors and every DsD_sDs​ is nonempty (implicit in the paper, explicit here).
  • The expected cost is a finite sum over trajectories, with the §2 horizon convention ∑t=0T\sum_{t=0}^{T}∑t=0T​ and T=kT=kT=k. The optimum is a real infimum over all policies δ(s,t)\delta(s,t)δ(s,t), not over stationary ones.
  • The discounted cost is ∑tβt\sum_t\beta^t∑t​βt times the expected time-ttt cost, which equals the expectation of the discounted series for bounded nonnegative costs.

A formalization that defines the optimal cost directly as "the cost of the best choice at the or gates", or optimizes only over stationary policies, would make the goal a restatement of the circuit's value; the mission's optimum is over all time-dependent policies of the general model.

Contributions welcome: proofs of the milestones and the goal; lemmas on the trajectory model (marginalization of trajProb, attainment of the infimum for policies that matter only up to time TTT) that are reusable for any finite-horizon process.

Selected references

  • C. H. Papadimitriou and J. N. Tsitsiklis, The Complexity of Markov Decision Processes, Mathematics of Operations Research 12(3) (1987) 441–450. https://doi.org/10.1287/moor.12.3.441
  • R. E. Ladner, The Circuit Value Problem is Log Space Complete for P, SIGACT News 7(1) (1975) 18–20. https://doi.org/10.1145/990518.990519
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
8 thms1 active userReviewed
CombinatoricsDynamic ProgrammingGraph Theory·Captain: mikedeng1

The Complexity of Markov Decision Processes IV: In a Deterministic Process a Cheapest T-Arc Walk Is a Walk of Fewer Than n³ Arcs Plus One Repeated CycleResearch Paper

Motivation

Finite-horizon Markov decision processes ask which decisions minimize accumulated cost over a specified number of stages. In a stationary process, the same costs and transitions apply at every stage. This compact input can describe a horizon TTT much larger than the state set, so a method that processes all TTT stages one by one may take time exponential in the length of the written horizon. Papadimitriou and Tsitsiklis identified this issue while comparing sequential and parallel algorithms for decision processes. For the deterministic stationary case, their Theorem 5 states an NC classification, supported by a finite structural description of a cheapest long walk. Papadimitriou and Tsitsiklis (1987)

The structural description is the subject of this mission. It connects a policy optimization problem to bounded-length graph objects and an exact cost identity. This is useful independently of a particular model of parallel computation: it says which shorter walk and cycle costs determine the answer even when the horizon is very large. Papadimitriou and Tsitsiklis (1987), p. 447

Setting

Let SSS be a finite nonempty set of states, with n=∣S∣n=|S|n=∣S∣, and fix an initial state s0s_0s0​. At each state sss, a finite nonempty set DsD_sDs​ contains the available decisions. A decision d∈Dsd\in D_sd∈Ds​ has a certain successor state next⁡(s,d)\operatorname{next}(s,d)next(s,d) and a real cost c(s,d)c(s,d)c(s,d). The model is stationary: these data do not depend on time. The corresponding directed graph has one arc for each decision. It may have loops and parallel arcs, because distinct decisions can share endpoints. This is the deterministic graph translation made in §3 of the paper. Papadimitriou and Tsitsiklis (1987), pp. 444–445

A policy is a function δ(s,t)∈Ds\delta(s,t)\in D_sδ(s,t)∈Ds​ of both state and time. Starting at s0s_0s0​, it produces st+1=next⁡(st,δ(st,t))s_{t+1}=\operatorname{next}(s_t,\delta(s_t,t))st+1​=next(st​,δ(st​,t)). In the convention of the paragraph before Theorem 5, horizon TTT means TTT decisions and therefore a walk with TTT arcs. Its cost is

JT(s0,δ)=∑t=0T−1c(st,δ(st,t)),JT∗(s0)=inf⁡δJT(s0,δ).J_T(s_0,\delta)=\sum_{t=0}^{T-1}c(s_t,\delta(s_t,t)),\qquad J_T^*(s_0)=\inf_\delta J_T(s_0,\delta).JT​(s0​,δ)=t=0∑T−1​c(st​,δ(st​,t)),JT∗​(s0​)=δinf​JT​(s0​,δ).

A walk records the states and the decision arc used at each step; states may repeat. A simple path has no repeated state. A simple cycle has positive length, returns to its starting state, and has no other repeated state. A closed walk may repeat states internally and need not be a simple cycle. The distinction matters because the structural claim uses a simple cycle, whereas the computation in the target identity uses a cheapest closed walk of a chosen length.

Formalization targets

The first milestone identifies JT∗(s0)J_T^*(s_0)JT∗​(s0​) with the minimum cost of a TTT-arc walk from s0s_0s0​. The next milestones record a decomposition into a simple path and simple cycles, the restriction on cycles repeated more than nnn times, and the existence of a cheapest walk with a short prefix and one repeated simple cycle. These are claims in the paragraph preceding Theorem 5, with corrections to the printed exchange and its connectivity justification documented in the formal statements. Papadimitriou and Tsitsiklis (1987), p. 447

For l≤Tl\le Tl≤T and u∈Su\in Su∈S, let wl,uw_{l,u}wl,u​ be the cheapest lll-arc walk from s0s_0s0​ that visits uuu. Let rk,ur_{k,u}rk,u​ be the cheapest closed kkk-arc walk at uuu. Only choices for which these walks exist are included. The mission's goal is

JT∗(s0)=min⁡l≤T, l<n3, u∈S,1≤k≤n, k∣T−l(wl,u+T−lk rk,u),T>n2.J_T^*(s_0)=\min_{\substack{l\le T,\ l<n^3,\ u\in S,\\1\le k\le n,\ k\mid T-l}}\left(w_{l,u}+\frac{T-l}{k}\,r_{k,u}\right),\qquad T>n^2.JT∗​(s0​)=l≤T, l<n3, u∈S,1≤k≤n, k∣T−l​min​(wl,u​+kT−l​rk,u​),T>n2.

The l<n3l<n^3l<n3 bound is the paper's finite compression claim. The divisibility condition makes (T−l)/k(T-l)/k(T−l)/k an integer number of cycle copies. The goal states an exact value, with the inner minima taken over genuine walks and the outer optimum still taken over all policies. Papadimitriou and Tsitsiklis (1987), p. 447

Significance

The identity replaces an optimization over arbitrarily many time-dependent policy decisions with costs of walks having fewer than n3n^3n3 arcs and closed walks of at most nnn arcs. It gives the mathematical statement that must hold before the paper's proposed parallel calculation can be trusted. It also applies when several different decisions have the same endpoints, because each decision remains a separate weighted arc. Papadimitriou and Tsitsiklis (1987), pp. 445, 447

The paper proves the result informally and states the NC classification. The mission seeks machine-checked proofs of the graph and cost statements, including the printed argument's delicate boundary cases. The local proposal contains open Lean theorem statements, not proofs. Reusable outcomes include a decision-walk representation, a cycle decomposition that preserves the multiset of arcs, and finite-horizon policy-to-walk equivalence. A related published result, TropicalLA.exists_repeat, detects repetition for dense max-plus matrices; it does not state this weighted multigraph decomposition or the min-cost identity.

Difficulty

The obstacle is preserving both walk feasibility and the exact number of arcs when repeated cycles are rearranged. A cycle may be the only connection to other parts of a walk, so deleting its last copy can invalidate the remaining sequence. The printed exchange paragraph also reverses the cost-improving direction and appeals to a no-ties perturbation without carrying it through the bounded-prefix conclusion. Those issues affect the claimed n3n^3n3 bound; merely knowing that a long walk repeats a vertex does not establish the target identity. Papadimitriou and Tsitsiklis (1987), p. 447

Formalization scope

Lean represents SSS and each DsD_sDs​ as finite types and uses real costs. The decision sets are nonempty, making policies and arbitrarily long walks available. Policies depend on state and time, as in §2. A walk stores its decisions as well as its states, so loops and parallel arcs are represented. Cycle decompositions preserve endpoints, length, cost, and the multiset of decision arcs. A loop is a simple cycle of length one. Time starts at zero, and an lll-arc walk has states at indices 0,…,l0,\ldots,l0,…,l.

The paper's general finite-horizon definition sums costs from 000 through TTT, while the Theorem 5 paragraph explicitly asks for a TTT-arc walk. This mission follows the latter convention: decisions occur at 0,…,T−10,\ldots,T-10,…,T−1. The goal also imposes l≤Tl\le Tl≤T, which the printed loop leaves implicit, and uses a closed walk for rk,ur_{k,u}rk,u​ because that is what the length-kkk graph calculation computes. It does not assume distinct walk costs. The condition T>n2T>n^2T>n2 is retained from the paper even though related identities may hold in other ranges. Papadimitriou and Tsitsiklis (1987), pp. 444, 447

Theorem 5's NC membership, processor and parallel-time bounds, the membership-in-P discussion, log-space reductions, PSPACE membership, and Corollaries 1–2 are outside this mission. Mathlib does not supply the PRAM and complexity-class framework those claims require. The target is the exact cost identity behind the algorithm. Defining the optimum directly as the right-hand minimum, restricting policies to stationary policies, or allowing an empty policy class would trivialize or change it. Contributions proving the milestones, the goal, or reusable walk and cycle facts are welcome.

Selected references

  • Christos H. Papadimitriou and John N. Tsitsiklis, The Complexity of Markov Decision Processes, Mathematics of Operations Research 12(3), 441–450, 1987. DOI: 10.1287/moor.12.3.441
6 thms1 active userReviewed
CombinatoricsTheoretical Computer Science·Captain: mikedeng1

Approximation Algorithms for Scheduling Unrelated Parallel Machines 3: On the 3-Dimensional Matching Instances, a Schedule within ρ < 3/2 of Optimal Has Makespan ≤ 2 Iff a Matching ExistsResearch Paper

Motivation

Minimum makespan scheduling on unrelated parallel machines, written R ∣∣ Cmax⁡R\,||\,C_{\max}R∣∣Cmax​, is one of the basic models of scheduling theory: nnn jobs must each be run on one of mmm machines, and the time a job takes depends arbitrarily on the machine. Lenstra, Shmoys and Tardos (CWI Report OS-R8714, 1987; journal version Math. Programming 46, 1990) gave a polynomial 2-approximation algorithm for this problem and, in the same paper, a matching limit from below: no polynomial algorithm can guarantee a factor smaller than 3/23/23/2 unless P=NPP = NPP=NP (their Corollary 2).

The two bounds have stood for more than three decades. Closing the gap between 3/23/23/2 and 222 for R ∣∣ Cmax⁡R\,||\,C_{\max}R∣∣Cmax​ is listed among the central open problems of approximation algorithms (Williamson and Shmoys, The Design of Approximation Algorithms, 2011, open problem on unrelated machines; Schuurman and Woeginger, Polynomial time approximation algorithms for machine scheduling: ten open problems, J. Scheduling 1999). The lower bound of 3/23/23/2 is the subject of this mission.

Timeline:

  • 1979: Graham, Lawler, Lenstra and Rinnooy Kan introduce the classification R ∣∣ Cmax⁡R\,||\,C_{\max}R∣∣Cmax​.
  • 1987/1990: Lenstra, Shmoys and Tardos prove NP-completeness of deciding makespan at most 3 (Theorem 4, giving the bound 4/34/34/3) and at most 2 (Theorem 5, giving 3/23/23/2), both by reduction from 3-dimensional matching.
  • Since then: the 3/23/23/2 hardness bound has not been improved for general R ∣∣ Cmax⁡R\,||\,C_{\max}R∣∣Cmax​; progress has concentrated on special cases such as the restricted-assignment problem.

Setting

3-dimensional matching. There are three disjoint sets A={a1,…,an}A = \{a_1,\dots,a_n\}A={a1​,…,an​}, B={b1,…,bn}B = \{b_1,\dots,b_n\}B={b1​,…,bn​}, C={c1,…,cn}C = \{c_1,\dots,c_n\}C={c1​,…,cn​} and a family F={T1,…,Tm}F = \{T_1,\dots,T_m\}F={T1​,…,Tm​} of triples, each with one element of AAA, one of BBB and one of CCC. A matching is a subfamily F′F'F′ with ∣F′∣=n|F'| = n∣F′∣=n whose union is A∪B∪CA \cup B \cup CA∪B∪C. In Lean an instance is a map T:Fin m→Fin n×Fin n×Fin nT : \mathrm{Fin}\,m \to \mathrm{Fin}\,n \times \mathrm{Fin}\,n \times \mathrm{Fin}\,nT:Finm→Finn×Finn×Finn, and HasMatching T says that a matching exists.

The scheduling model. Machines are Fin m\mathrm{Fin}\,mFinm, jobs are Fin N\mathrm{Fin}\,NFinN, and pijp_{ij}pij​ is the positive integer processing time of job jjj on machine iii. A schedule σ\sigmaσ assigns each job to one machine; the load of machine iii is ∑j:σ(j)=ipij\sum_{j:\sigma(j)=i} p_{ij}∑j:σ(j)=i​pij​ and the makespan Cmax⁡(σ)C_{\max}(\sigma)Cmax​(σ) is the largest load. These are the published definitions MatousekLP.Scheduling.load and makespan.

The instance of Theorem 5. The triples containing aja_jaj​ are the triples of type jjj; let tjt_jtj​ be their number. From TTT the paper builds a scheduling instance with mmm machines, machine iii corresponding to TiT_iTi​, and with

  1. 2n2n2n element jobs, one for each bkb_kbk​ and each clc_lcl​;
  2. tj−1t_j - 1tj​−1 dummy jobs of type jjj, for each jjj.

If Ti=(aj,bk,cl)T_i = (a_j, b_k, c_l)Ti​=(aj​,bk​,cl​), machine iii processes the element jobs of bkb_kbk​ and clc_lcl​ in time 111, each dummy job of type jjj in time 222, and every other job in time 333. In Lean the processing-time matrix is P T.

A ρ\rhoρ-approximate schedule of an instance is a schedule σ\sigmaσ with Cmax⁡(σ)≤ρ Cmax⁡(τ)C_{\max}(\sigma) \le \rho\, C_{\max}(\tau)Cmax​(σ)≤ρCmax​(τ) for every schedule τ\tauτ of the same instance.

Formalization targets

Goal: Corollary 2 (p. 8)

For every instance TTT, every ρ<3/2\rho < 3/2ρ<3/2, and every ρ\rhoρ-approximate schedule σ\sigmaσ of the instance of Theorem 5 built from TTT,

Cmax⁡(σ)≤2  ⟺  T has a matching.C_{\max}(\sigma) \le 2 \iff T \text{ has a matching}.Cmax​(σ)≤2⟺T has a matching.

This is the mathematical content of "for every ρ<3/2\rho < 3/2ρ<3/2 there is no polynomial ρ\rhoρ-approximation algorithm unless P=NPP = NPP=NP": a ρ\rhoρ-approximate answer on the reduced instance decides 3-dimensional matching.

Theorem 5 (p. 7)

For every instance TTT,

∃ σ: Cmax⁡(σ)≤2  ⟺  T has a matching.\exists\,\sigma:\ C_{\max}(\sigma) \le 2 \iff T \text{ has a matching}.∃σ: Cmax​(σ)≤2⟺T has a matching.

Milestones from the proof of Theorem 5 (pp. 7–8)

  1. If every tj≥1t_j \ge 1tj​≥1, then ∑j(tj−1)+n=m\sum_j (t_j - 1) + n = m∑j​(tj​−1)+n=m: there are m−nm - nm−n dummy jobs.
  2. A matching yields a schedule with makespan at most 222.
  3. A schedule with makespan at most 222 yields a matching.

Significance

The result. Theorem 5 shows that R ∣∣ Cmax⁡R\,||\,C_{\max}R∣∣Cmax​ is NP-hard already when every processing time lies in {1,2,3}\{1,2,3\}{1,2,3} and the target makespan is 222. Corollary 2 turns this into the best known inapproximability bound for the problem, 3/23/23/2, which sits opposite the paper's own factor-2 algorithm. The same reduction pattern (machines as triples, dummy jobs that pin machines down) is reused in many later hardness proofs for scheduling and assignment problems.

Formalizing it. The result is proved on paper; no machine-checked version is known to exist. A formal proof requires the full combinatorial argument behind the reduction, including the counting of machines per type and the case where some element of AAA lies in no triple, which the paper does not discuss. Together with mission 1 of this series (the factor-2 algorithm), it fixes both ends of the [3/2,2][3/2, 2][3/2,2] gap in one formal library.

Difficulty

The construction is short, but the converse direction carries the weight: from an arbitrary schedule with makespan at most 222 one must recover a matching, although nothing in the schedule singles out the triples that form it. The obvious first idea, to read the matching off the machines that receive unit-time jobs, fails as it stands: a machine may receive one unit-time job or none, and the argument must exclude this for every schedule, including the degenerate instances in which some aja_jaj​ lies in no triple or triples repeat. For Corollary 2, the passage from the real-valued approximation guarantee to the threshold 222 depends on the strict inequality ρ<3/2\rho < 3/2ρ<3/2; at ρ=3/2\rho = 3/2ρ=3/2 the statement is no longer implied by Theorem 5.

Formalization scope

  • Machines are Fin m; 3DM elements are Fin n; a 3DM instance is T : Fin m → Fin n × Fin n × Fin n, so a triple may repeat. A matching is a set of nnn triple indices covering every aja_jaj​, bkb_kbk​, clc_lcl​ (the covering form of the paper's definition, which forces disjointness).
  • The jobs of the reduced instance are the sum type Fin n⊕Fin n⊕Σj Fin(tj−1)\mathrm{Fin}\,n \oplus \mathrm{Fin}\,n \oplus \Sigma_j\,\mathrm{Fin}(t_j - 1)Finn⊕Finn⊕Σj​Fin(tj​−1). They are enumerated by a fixed bijection with Fin N\mathrm{Fin}\,NFinN so that the published MatousekLP.Scheduling.makespan applies. All statements quantify over every schedule, so the choice of bijection is irrelevant.
  • tj−1t_j - 1tj​−1 is natural-number subtraction. When some tj=0t_j = 0tj​=0 (a case the paper leaves aside), type jjj has no dummy job; the reduced instance then has neither a matching nor a schedule of makespan at most 222, so Theorem 5 and Corollary 2 hold as stated, with no hypothesis tj≥1t_j \ge 1tj​≥1. Only the dummy-count milestone assumes tj≥1t_j \ge 1tj​≥1.
  • Processing times are natural numbers cast to R\mathbb RR; makespans are real.
  • Not formalized: "polynomial" (running time of an algorithm and of the reduction), membership in NP, "NP-complete" and "unless P=NPP = NPP=NP". Theorem 5 is stated as the reduction's equivalence; Corollary 2 is stated as the fact that any ρ\rhoρ-approximate schedule of the reduced instance, ρ<3/2\rho < 3/2ρ<3/2, decides 3-dimensional matching. The reduction is evidently polynomial, but this is not stated.
  • The approximation hypothesis compares σ\sigmaσ with every schedule τ\tauτ of the same reduced instance; a goal in which σ\sigmaσ is an arbitrary schedule, or is bounded against an unrelated quantity, would be a different statement. The strict inequality ρ<3/2\rho < 3/2ρ<3/2 is essential and kept.
  • Contributions welcome: proofs of the three milestones, of Theorem 5 from them, and of Corollary 2; reusable lemmas about integer-valued makespans and about sum-type job sets.

Selected references

  • J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, CWI Report OS-R8714, Centre for Mathematics and Computer Science, Amsterdam, 1987 (FOCS 1987); the version cited for every theorem number in this mission.
  • J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, Mathematical Programming 46 (1990) 259–271. https://doi.org/10.1007/BF01585745
  • R. L. Graham, E. L. Lawler, J. K. Lenstra, A. H. G. Rinnooy Kan, Optimization and approximation in deterministic sequencing and scheduling: a survey, Annals of Discrete Mathematics 5 (1979) 287–326. https://doi.org/10.1016/S0167-5060(08)70356-X
  • M. R. Garey, D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, Freeman, 1979 (3-dimensional matching, problem [SP1]).
  • P. Schuurman, G. J. Woeginger, Polynomial time approximation algorithms for machine scheduling: ten open problems, Journal of Scheduling 2 (1999) 203–213. https://doi.org/10.1002/(SICI)1099-1425(199909/10)2:5<203::AID-JOS26>3.0.CO;2-5
  • D. P. Williamson, D. B. Shmoys, The Design of Approximation Algorithms, Cambridge University Press, 2011. https://doi.org/10.1017/CBO9780511921735
8 thms1 active userReviewed
Linear OptimizationStatistics·Captain: mikedeng1

Optimal Estimation of Executive Compensation by Linear Programming I: Least Absolute Deviations under Ranking Constraints Equal a Linear ProgramResearch Paper

Motivation

A firm may know salary bounds and the ranking of positions without having a reliable sample of individual salaries suitable for least-squares estimation. Charnes, Cooper and Ferguson used that kind of partial information to estimate a salary formula from ratings assigned to job factors. Their 1955 paper gives a model in which weights respect the job hierarchy while the implied salaries approach specified salary levels as closely as possible. It then turns the sum of absolute deviations into a linear program that can be handled by the methods available for constrained optimization. The setting and transformation are in §§4–6 of the published paper.

The question here is a precise one: does the transformed program have the same optimal value and the same optimal salary weights as the original absolute-deviation problem? This matters because a linear-program solution should answer the compensation-estimation problem stated before the transformation, even though the transformed program has additional variables and a different feasible set. The mission also records the paper's seven-position numerical example, where the reported salary formula can be checked directly against the table of factor ratings.

Setting

There are nnn rated factors and L≥1L\ge1L≥1 job levels ordered from highest to lowest. The rating xikx_{ik}xik​ is the amount of factor iii required at level kkk, and aia_iai​ is the nonnegative weight assigned to that factor. The estimated salary at level kkk is

Sk(a)=∑i=1naixik.S_k(a)=\sum_{i=1}^{n}a_i x_{ik}.Sk​(a)=i=1∑n​ai​xik​.

The salary formula applied to a person's factor amounts yiy_iyi​ is s=∑iaiyis=\sum_i a_i y_is=∑i​ai​yi​. For the ranked positions, feasible weights satisfy the four parts of the paper's system (2): each ai≥0a_i\ge0ai​≥0; the top-level salary is at most the ceiling sMs_MsM​; successive salaries descend, Sk+1(a)≤Sk(a)S_{k+1}(a)\le S_k(a)Sk+1​(a)≤Sk​(a); and the bottom-level salary is at least the floor sms_msm​. These are one-sided ceiling and floor bounds. They do not force the fitted salaries to equal the bounds.

The firm specifies target salaries sks_ksk​ at a finite set KKK of levels, which includes the ceiling and floor levels in the examples and may include intermediate levels. The absolute-deviation objective of (3) is

D(a)=∑k∈K∣Sk(a)−sk∣.D(a)=\sum_{k\in K}|S_k(a)-s_k|.D(a)=k∈K∑​∣Sk​(a)−sk​∣.

The original problem minimizes DDD over the feasible weights. At a specified level, let wk=Sk(a)−skw_k=S_k(a)-s_kwk​=Sk​(a)−sk​. The split-variable program of (4)–(5) introduces uk,vk≥0u_k,v_k\ge0uk​,vk​≥0 with wk=uk−vkw_k=u_k-v_kwk​=uk​−vk​ and minimizes P(u,v)=∑k∈K(uk+vk)P(u,v)=\sum_{k\in K}(u_k+v_k)P(u,v)=∑k∈K​(uk​+vk​). The split variables are constrained only for levels in KKK. The salary constraints (2) continue to apply to aaa. This is the paper's transformed linear program, with a feasible set that contains many choices of (u,v)(u,v)(u,v) above the same weight vector Charnes, Cooper and Ferguson, §§4–5.

Formalization targets

Equivalence of the two programs

The main target is the paper's claim that the two problems have equal minimal values and that minimizers correspond §6, p. 143. In the formal statement, equal values are expressed by equality of attainable objective thresholds:

∀t∈R,[∃a feasible:D(a)≤t]⟺[∃(a,u,v) LP-feasible:P(u,v)≤t].\forall t\in\mathbb R,\qquad [\exists a\text{ feasible}:D(a)\le t] \quad\Longleftrightarrow\quad [\exists(a,u,v)\text{ LP-feasible}:P(u,v)\le t].∀t∈R,[∃a feasible:D(a)≤t]⟺[∃(a,u,v) LP-feasible:P(u,v)≤t].

The goal also says that aaa minimizes DDD exactly when the triple formed from aaa and the positive and negative parts of www minimizes PPP. Every LP minimizer projects to a minimizer of DDD. These clauses give the value and solution correspondence the authors use when they call the two problems equivalent.

Supporting claims and numerical result

Three milestones follow the paper's exposition. First, every feasible weight vector has a split-variable lift with the same objective. Second, every transformed feasible point projects to an original feasible weight vector with no larger original objective. Third, the minimal values agree §§5–6, pp. 141–143. Each is recorded under the unnumbered sentence from which it was extracted; the paper has no numbered lemmas.

Two companion statements record other claims: opposite coefficient columns cannot both occur among selected independent simplex columns, and the Table I data have the reported optimum. For the latter, targets are 16 at R1R_1R1​, 10 at R5R_5R5​, and 4 at R7R_7R7​, measured in thousands of dollars. Equation (7) assigns weights (4,0,0,16,0,4,0,28,0)/11(4,0,0,16,0,4,0,28,0)/11(4,0,0,16,0,4,0,28,0)/11, yielding the minimum deviation 14/1114/1114/11 §7, pp. 145–148. A further companion checks the redundant R2≤R1R_2\le R_1R2​≤R1​ ranking row.

Significance

The equivalence justifies using a linear-program output as an estimate for the earlier salary problem: the transformed objective reaches the same value, and its optimal weight vectors solve the original problem. The numerical claim supplies a fully specified instance with seven job levels and nine factors, including the exact fitted salaries. Without the correspondence, optimizing the enlarged variable set could give no assurance that its weights minimize the deviations the firm intended to measure.

The mathematical result was argued in the 1955 paper; this mission asks for a machine-checked formulation and proof of that known result. The statements compile as open Lean theorems, so compilation alone does not establish their truth. Closing them would add a reusable treatment of absolute-deviation objectives under finite linear inequalities and an exact certificate for the paper's worked example. The consistency claim in the appendix is a separate mission because it concerns perturbations of another linear program, not this transformation.

Difficulty

The split-variable program permits uku_kuk​ and vkv_kvk​ to be simultaneously positive even when their difference is fixed. Consequently, simply identifying the two feasible sets would misstate the transformation: one has extra degrees of freedom. A proof must relate their objective values and then account for optimal solutions on both sides. The numerical example has a separate difficulty. Substituting the reported weights verifies a feasible objective of 14/1114/1114/11, but does not by itself rule out another feasible weight vector with a smaller deviation. The global lower bound is part of the companion theorem.

Formalization scope

The Lean development represents factor and level vectors by functions on Fin n and Fin L, and sums explicitly over finite indices. Paper level 1 is Lean index 0; paper level LLL is the final Fin L index. The assumption L≥1L\ge1L≥1 is explicit because both the top and bottom level are named. No sign, monotonicity, or boundedness assumptions are imposed on the ratings beyond what the paper states. The weights are componentwise nonnegative. Intermediate target salaries enter the objectives through KKK but add no constraints to (2), matching the paper's treatment of R5R_5R5​.

A minimizer is a feasible point whose objective is no larger than that of every feasible point. The equality of minimal values uses the threshold formula above, so an empty feasible set cannot inherit a spurious real infimum. The transformed feasible set is exactly the split-variable system of (4)–(5); defining it as only the image of a chosen lift would make the principal comparison empty of content. The Table I constants are exact rational values in units of 1,0001{,}0001,000. The paper rounds some displayed salaries, while Lean records their exact fractions. The generic column-independence companion is stated for an arbitrary finite matrix, with the basis and zero nonbasic coordinates explicit.

The shared definition module provides the salary map, feasibility predicates, objectives, minimizers, and example data. A full development can contribute proofs of the three milestones, the main equivalence, the column claim, the numerical lower bound, and the redundant-row fact. The finite absolute-deviation and split-variable statements can also serve later formalizations with other linear constraints.

Selected references

  • A. Charnes, W. W. Cooper, and R. O. Ferguson, Optimal Estimation of Executive Compensation by Linear Programming, Management Science 1(2), 138–151, 1955. DOI 10.1287/mnsc.1.2.138.
5 thms1 active userReviewed
CombinatoricsTheoretical Computer Science·Captain: mikedeng1

Approximation Algorithms for Scheduling Unrelated Parallel Machines 4: With Times in {p, q} and gcd(p, q) = 1, a q-Dimensional Matching Exists Iff a Schedule Has Makespan ≤ pqResearch Paper

Motivation

Minimum makespan scheduling on unrelated parallel machines asks for an assignment of nnn jobs to mmm machines, where job jjj takes pijp_{ij}pij​ time units on machine iii, so that the largest machine load is as small as possible. In the three-field notation of Graham, Lawler, Lenstra and Rinnooy Kan (1979) it is R ∥ Cmax⁡R\,\|\,C_{\max}R∥Cmax​. It models load balancing across heterogeneous processors, workers or production lines, and it is a standard test case for linear-programming rounding.

Lenstra, Shmoys and Tardos (FOCS 1987; CWI Report OS-R8714; Mathematical Programming 46, 1990) gave a polynomial 2-approximation algorithm for R ∥ Cmax⁡R\,\|\,C_{\max}R∥Cmax​ and showed that no polynomial algorithm achieves a ratio below 3/23/23/2 unless P = NP. They also asked which restrictions on the processing times keep the problem hard. Their Section 5 answers this when only two distinct processing times occur:

  • all pij=1p_{ij}=1pij​=1: trivial;
  • all pij∈{1,∞}p_{ij}\in\{1,\infty\}pij​∈{1,∞}: bipartite cardinality matching;
  • all pij∈{1,2}p_{ij}\in\{1,2\}pij​∈{1,2}: polynomial by matching techniques (Theorem 6);
  • all pij∈{p,q}p_{ij}\in\{p,q\}pij​∈{p,q} with p<qp<qp<q, 2p≠q2p\ne q2p=q: NP-hard (Theorem 7).

Theorem 7 is the paper's last result and closes this classification. Its proof generalizes the reduction of Theorem 4, which handles the case {1,3}\{1,3\}{1,3}, from 3-dimensional matching to qqq-dimensional matching.

Setting

Machines are indexed by i∈{1,…,m}i\in\{1,\dots,m\}i∈{1,…,m} and jobs by jjj. A schedule σ\sigmaσ assigns every job to exactly one machine. The load of machine iii is ∑j:σ(j)=ipij\sum_{j:\sigma(j)=i}p_{ij}∑j:σ(j)=i​pij​, and the makespan Cmax⁡(σ)C_{\max}(\sigma)Cmax​(σ) is the largest load.

qqq-dimensional matching. An instance is a ground set UUU of qnqnqn elements and a family S1,…,SmS_1,\dots,S_mS1​,…,Sm​ of qqq-element subsets of UUU. A matching is a subfamily F′⊆{1,…,m}F'\subseteq\{1,\dots,m\}F′⊆{1,…,m} with ∣F′∣=n|F'|=n∣F′∣=n and ⋃i∈F′Si=U\bigcup_{i\in F'}S_i=U⋃i∈F′​Si​=U; its members are then pairwise disjoint.

The instance of Theorem 7. Fix natural numbers 0<p<q0<p<q0<p<q that are relatively prime. Build a scheduling instance with mmm machines, machine iii corresponding to SiS_iSi​, and two kinds of jobs:

  • qnqnqn element jobs, one per u∈Uu\in Uu∈U, with piu=pp_{iu}=ppiu​=p if u∈Siu\in S_iu∈Si​ and piu=qp_{iu}=qpiu​=q otherwise;
  • p(m−n)p(m-n)p(m−n) dummy jobs, each taking qqq time units on every machine.

Every processing time lies in {p,q}\{p,q\}{p,q}.

The instance of Theorem 4. For disjoint sets A={a1,…,an}A=\{a_1,\dots,a_n\}A={a1​,…,an​}, BBB, CCC of the same size and triples Ti=(aj,bk,cl)T_i=(a_j,b_k,c_l)Ti​=(aj​,bk​,cl​), i=1,…,mi=1,\dots,mi=1,…,m, there are 3n3n3n element jobs, one per element of A∪B∪CA\cup B\cup CA∪B∪C, and m−nm-nm−n dummy jobs. Machine iii processes the element jobs of aja_jaj​, bkb_kbk​, clc_lcl​ in one time unit and every other job in three time units. A 3-dimensional matching is a subfamily of nnn triples covering A∪B∪CA\cup B\cup CA∪B∪C.

Formalization targets

Goal: Theorem 7 (p. 8; proof pp. 8–9)

For relatively prime 0<p<q0<p<q0<p<q and a family of qqq-subsets S1,…,SmS_1,\dots,S_mS1​,…,Sm​ of a qnqnqn-element set, the instance above has all processing times in {p,q}\{p,q\}{p,q}, and

∃ σ: Cmax⁡(σ)≤pq⟺∃ F′⊆{1,…,m}: ∣F′∣=n, ⋃i∈F′Si=U.\exists\,\sigma:\ C_{\max}(\sigma)\le pq \quad\Longleftrightarrow\quad \exists\,F'\subseteq\{1,\dots,m\}:\ |F'|=n,\ \bigcup_{i\in F'}S_i=U .∃σ: Cmax​(σ)≤pq⟺∃F′⊆{1,…,m}: ∣F′∣=n, i∈F′⋃​Si​=U.

Milestones

  1. Theorem 4 (p. 7): on the 3-dimensional matching instance with times in {1,3}\{1,3\}{1,3}, a schedule with makespan at most 333 exists iff a matching exists.
  2. Matching gives a schedule (pp. 8–9): if SSS has a matching, some schedule has Cmax⁡≤pqC_{\max}\le pqCmax​≤pq.
  3. No idle time, two kinds of machine (p. 9): in every schedule with Cmax⁡≤pqC_{\max}\le pqCmax​≤pq, three things hold. Every load equals pqpqpq. Every element job runs at length ppp, on a machine whose tuple contains it. Each machine processes either exactly qqq element jobs and no dummy job, or exactly ppp dummy jobs and no element job.

Significance

The result. Theorems 6 and 7 together say exactly which two-valued restrictions of R ∥ Cmax⁡R\,\|\,C_{\max}R∥Cmax​ are tractable. Up to scaling, the polynomial case is {1,2}\{1,2\}{1,2}, and every other pair {p,q}\{p,q\}{p,q} with p<qp<qp<q is NP-hard. Theorem 4 is the base case. It also yields Corollary 1 of the paper: no polynomial ρ\rhoρ-approximation with ρ<4/3\rho<4/3ρ<4/3 exists unless P = NP. Reductions of this "no idle time" kind are a standard template for hardness of restricted-assignment and two-value scheduling, a line still active in the study of the restricted assignment problem and of the "graph balancing" special case.

Formalizing it. The result is proved, in two short paragraphs. The proof leaves to the reader the construction of the schedule from a matching and the "easy number theoretic argument" behind the converse, and both become explicit here. The development also produces reusable pieces: a qqq-dimensional matching definition over an arbitrary family of qqq-sets, and two reduction instances built on the published load and makespan of MatousekLP.Scheduling.Schedule. To our knowledge no machine-checked proof of these reductions exists.

Difficulty

The forward direction is a direct construction. The converse is where care is needed. A schedule with makespan at most pqpqpq may a priori place an element job on a machine whose tuple does not contain it, at length qqq, and may mix element and dummy jobs on one machine. Looking at one machine at a time does not exclude either: a single machine can carry such a mixed load below pqpqpq. What excludes them is a property of the whole schedule together with the arithmetic of ppp and qqq. The hypotheses are sharp for this step: for p>qp>qp>q element jobs are cheaper on foreign machines, and for gcd⁡(p,q)>1\gcd(p,q)>1gcd(p,q)>1 a load ap+bq=pqap+bq=pqap+bq=pq with a,b>0a,b>0a,b>0 becomes possible.

Formalization scope

  • Model. Machines are Fin m. Schedules are maps from jobs to machines. Load and makespan are those of the published MatousekLP.Scheduling.Schedule, with natural-number processing times cast to R\mathbb RR. The jobs are enumerated as Fin (q * n + p * (m - n)) (Theorem 7) and Fin (3 * n + (m - n)) (Theorem 4), element jobs first, through finSumFinEquiv.
  • Ground set and family. The ground set is Fin (q * n) and the family is indexed by machines, so repeated tuples are allowed. The qqq-partite structure of qqq-dimensional matching is not imposed: the reduction does not use it, and statements over all families of qqq-sets contain the qqq-partite case. Theorem 4 keeps the tripartite structure, with triples of indices in Fin n × Fin n × Fin n.
  • Threshold. The thresholds are exactly pqpqpq and 333, with "makespan at most".
  • Complexity wording not formalized. "NP-hard" (Theorem 7) and "NP-complete" (Theorem 4) are not formalized: membership in NP, polynomial size of the reductions, and the hardness of the matching problems are not stated. What is stated is the equivalence each reduction establishes.
  • Hypotheses. Theorem 7's goal assumes 0<p<q0<p<q0<p<q, gcd⁡(p,q)=1\gcd(p,q)=1gcd(p,q)=1 and ∣Si∣=q|S_i|=q∣Si​∣=q. The paper's general case gcd⁡(p,q)=g>1\gcd(p,q)=g>1gcd(p,q)=g>1 is its stated "without loss of generality": divide all times by ggg, which divides every makespan by ggg. It is not part of the formal statement. The paper's hypothesis 2p≠q2p\ne q2p=q is dropped because the reduction does not use it. With coprime p<qp<qp<q it excludes only (p,q)=(1,2)(p,q)=(1,2)(p,q)=(1,2), where the equivalence still holds but the source problem is bipartite matching. The formal goal is therefore stronger than the paper's.
  • Edge cases. For m<nm<nm<n, natural-number subtraction gives no dummy jobs; both sides of each equivalence are false when n≥1n\ge1n≥1. This stands in for the paper's "trivial 'no' instance". For n=0n=0n=0 the empty family is a matching and the dummy jobs fill the machines exactly.
  • No trivialization. The goal is an equivalence about a constructed instance whose processing times are given by explicit definitions. Neither side is assumed, the schedule is quantified over all maps from jobs to machines, and the instance is not a free parameter pinned by hypotheses.
  • Welcome contributions. Besides the milestones: counting lemmas relating a machine's load to the numbers of jobs of each length on it, and lemmas on the makespan of MatousekLP.Scheduling.Schedule (it bounds every load; it is attained when m≥1m\ge1m≥1), which are reusable across scheduling reductions.

Selected references

  • J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, CWI Report OS-R8714, Amsterdam, 1987 (the version formalized here); journal version in Mathematical Programming 46 (1990) 259–271. https://doi.org/10.1007/BF01585745
  • M. R. Garey, D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, Freeman, 1979 (3-dimensional matching, problem SP1).
  • R. L. Graham, E. L. Lawler, J. K. Lenstra, A. H. G. Rinnooy Kan, Optimization and approximation in deterministic sequencing and scheduling: a survey, Annals of Discrete Mathematics 5 (1979) 287–326. https://doi.org/10.1016/S0167-5060(08)70356-X
  • J. Matoušek, B. Gärtner, Understanding and Using Linear Programming, Springer, 2007, §8.3 (the schedule, load and makespan definitions reused here). https://doi.org/10.1007/978-3-540-30717-4
7 thms1 active userReviewed
OptimizationProbability·Captain: mikedeng1

Wait-and-Judge Scenario Optimization 2: Over Generic Sets, P^N{V(x_N) > ε(s_N)} ≤ γ*, the Least ξ(1) over Degree-N Polynomials Feasible for (31)Research Paper

Motivation

A solution of a scenario optimization program is chosen after observing finitely many uncertain constraints. Its future reliability depends on constraints that were not sampled. The usual advance question asks how many samples are needed to make every output reliable. Campi and Garatti instead ask what can be certified after solving the program, when the number of sampled constraints that actually determined its solution is visible. Their wait-and-judge result uses that observed number to set a violation threshold. This mission concerns their extension from convex programs in finite-dimensional spaces to programs over an arbitrary decision set, with no convexity requirement.

The generic extension matters when a dimension bound on the number of influential constraints is unavailable. A decision may be a combinatorial object, a function, or an element of an infinite-dimensional space. The paper allows the support count to range from zero to the full sample size NNN, and its threshold includes the case of NNN support constraints. The paper's Section 6 gives the model and its two probability guarantees.

Setting

Let SSS be a set of decisions. A subset X⊆SX\subseteq SX⊆S is the domain; a real function f:S→Rf:S\to\mathbb Rf:S→R is the cost. An uncertain outcome δ\deltaδ belongs to a measurable space Δ\DeltaΔ with probability measure PPP, and imposes a constraint set Xδ⊆SX_\delta\subseteq SXδ​⊆S. For a sample ω=(δ(1),…,δ(N))\omega=(\delta^{(1)},\ldots,\delta^{(N)})ω=(δ(1),…,δ(N)) of NNN independent outcomes, the program minimizes f(x)f(x)f(x) over x∈Xx\in Xx∈X that belongs to every sampled Xδ(i)X_{\delta^{(i)}}Xδ(i)​. The sample law is PNP^NPN. There is no algebraic or topological condition on the feasible sets or on fff.

A fixed finite sequence of real tie-break functions is minimized lexicographically after the original cost. This selects one solution xN∗(ω)x_N^*(\omega)xN∗​(ω) whenever the program has a selected minimizer. Assumption 1 requires existence and uniqueness for every finite sample, including the empty one. A sampled constraint is a support constraint if removing it changes this selected solution. The number of support constraints is sN∗(ω)s_N^*(\omega)sN∗​(ω). Assumption 2 says that, with probability one, keeping only the support constraints gives the same selected solution. Both assumptions are part of the source's generic setting; they are substantive restrictions even though the sets and cost are otherwise arbitrary.

The violation of a decision is V(x)=P{δ:x∉Xδ}V(x)=P\{\delta:x\notin X_\delta\}V(x)=P{δ:x∈/Xδ​}. Thus V(xN∗)V(x_N^*)V(xN∗​) is the probability that a fresh constraint rejects the computed solution. Since the solution and support count depend on the sample, the wait-and-judge event uses a threshold function ε\varepsilonε evaluated at the observed count, {V(xN∗)>ε(sN∗)}\{V(x_N^*)>\varepsilon(s_N^*)\}{V(xN∗​)>ε(sN∗​)}. For each k≥0k\ge0k≥0, the paper also uses a generalized distribution function Fk(v)=Pk{V(xk∗)≤v, sk∗=k}F_k(v)=P^k\{V(x_k^*)\le v,\ s_k^*=k\}Fk​(v)=Pk{V(xk∗​)≤v, sk∗​=k}. It need not have total mass one.

Formalization targets

Variational bound, Theorem 3

For any N≥1N\ge1N≥1 and any [0,1][0,1][0,1]-valued ε\varepsilonε on {0,…,N}\{0,\ldots,N\}{0,…,N}, let γ∗\gamma^*γ∗ be the infimum of feasible values q(1)q(1)q(1) over real polynomials of degree at most NNN satisfying

q(k)(t)k!≥(Nk)tN−k1[0,1−ε(k))(t),0≤k≤N,0≤t≤1.\frac{q^{(k)}(t)}{k!}\ge {N\choose k}t^{N-k}{\bf1}_{[0,1-\varepsilon(k))}(t),\qquad 0\le k\le N,\quad 0\le t\le1.k!q(k)(t)​≥(kN​)tN−k1[0,1−ε(k))​(t),0≤k≤N,0≤t≤1.

The goal is the paper's Theorem 3:

PN{V(xN∗)>ε(sN∗)}≤γ∗.P^N\{V(x_N^*)>\varepsilon(s_N^*)\}\le\gamma^*.PN{V(xN∗​)>ε(sN∗​)}≤γ∗.

The polynomial value retains the full dependence on the chosen threshold function. The source prints an extraneous ddd in Theorem 3's range for kkk; its generic setting and variational problem use 0≤k≤N0\le k\le N0≤k≤N.

Explicit confidence bound, Theorem 4

For 0<β<10<\beta<10<β<1, the paper's Theorem 4 defines t(k)∈(0,1)t(k)\in(0,1)t(k)∈(0,1) as the unique root of

βN+1∑m=kN(mk)tm−k−(Nk)tN−k=0(0≤k<N).\frac{\beta}{N+1}\sum_{m=k}^{N}{m\choose k}t^{m-k}-{N\choose k}t^{N-k}=0\qquad(0\le k<N).N+1β​m=k∑N​(km​)tm−k−(kN​)tN−k=0(0≤k<N).

With ε(k)=1−t(k)\varepsilon(k)=1-t(k)ε(k)=1−t(k) for k<Nk<Nk<N and ε(N)=1\varepsilon(N)=1ε(N)=1, its conclusion is

PN{V(xN∗)>ε(sN∗)}≤β.P^N\{V(x_N^*)>\varepsilon(s_N^*)\}\le\beta.PN{V(xN∗​)>ε(sN∗​)}≤β.

The terminal value ε(N)=1\varepsilon(N)=1ε(N)=1 is essential because the paper gives examples with sN∗=Ns_N^*=NsN∗​=N and V(xN∗)=1V(x_N^*)=1V(xN∗​)=1.

Significance

Theorem 3 makes the observed support count a usable statistic for assessing the solution's future constraint violation without a dimension bound. Theorem 4 turns it into a certificate at any chosen confidence parameter β\betaβ. The confidence threshold depends on the count seen after the program is solved. These statements do not claim that every generic program satisfies Assumptions 1–2; they say what follows for programs that do.

A formal development must make the statistical objects and the analytic value agree exactly: the solution must come from the feasible set and the fixed tie-break rule, the support count must record changes of solution, and γ∗\gamma^*γ∗ must be the value of the derivative-constrained polynomial problem. The reusable outputs include the generic scenario model, its generalized violation distributions, and the finite moment and dual formulations. The statements are known results of Campi and Garatti; this mission asks for machine-checked proofs of those results and their selected intermediate claims.

Difficulty

The observed support count is data-dependent. Conditioning on sN∗=ks_N^*=ksN∗​=k therefore cannot be treated as conditioning on a fixed subset of kkk sample coordinates. Symmetry across possible support subsets must agree with the selected solution under removal of nonsupport constraints. Assumption 2 is what rules out a degenerate change of solution when only support constraints remain. In the generic setting the possible count grows with NNN, so the distributional characterization has one measure FkF_kFk​ for every k≥0k\ge0k≥0 and moment equations for every sample size. The resulting infinite family must still be related to the finite degree-NNN polynomial value in (31). No convexity or finite-dimensional geometry is available to supply a fixed support bound.

Formalization scope

Lean represents the decision set by an arbitrary type SSS, with a measurable structure only to state the paper's implicit measurability convention. Samples are functions Fin N → Δ with zero-based indices and product law Measure.pi. The published generic violation definition is reused. The domain, constraint family, cost, finite lexicographic tie-break, selected solution, support set, and FkF_kFk​ are defined locally. A Nonempty S instance provides an unused fallback value to the total solution selector; Assumption 1 already implies that SSS is nonempty.

The source takes measurability for granted in a footnote. Here the constraint relation is jointly measurable, every solution map is measurable, and each support event is measurable. These pins assign probabilities to the events the paper uses. The FkF_kFk​ are finite measures on R\mathbb RR, so the paper's Stieltjes integrals are represented as integrals over (ε(k),1](\varepsilon(k),1](ε(k),1] or [0,1][0,1][0,1] against those measures. The polynomial class PN\mathcal P_NPN​ means degree at most NNN, matching the N+1N+1N+1 coefficients in (36). The value γ∗\gamma^*γ∗ is a real infimum; a separate sanity proof gives a feasible polynomial and a zero lower bound on all feasible values.

The goal retains Assumptions 1–2 and states the actual tail bound. It does not assume the moment equations or a favorable value of γ∗\gamma^*γ∗, and no support count is fixed in advance. Contributions toward the distributional decomposition, the moment equations, the finite weak-duality inequality, the polynomial identity, and the explicit-root theorem are within scope.

Selected references

  • M. C. Campi and S. Garatti, Wait-and-judge scenario optimization, Mathematical Programming, 2018. DOI: 10.1007/s10107-016-1056-9. The mission uses the authors' accepted manuscript, especially Sections 6–7 and Theorems 3–4.
7 thms1 active userReviewed
Discrete GeometryLinear Optimization·Captain: mikedeng1

On Linear Characterizations of Combinatorial Optimization Problems III: Zero-One and Integer-Programming-Type Problems Have Small Facial DescriptionsResearch Paper

Motivation

Many discrete optimization problems can be described by linear inequalities, even when their feasible solutions are integer vectors. A linear description lets one study the geometry of the feasible set and connect combinatorial methods with linear programming. The number of inequalities may be large, so a more basic question is whether each inequality needs coefficients of manageable size. Karp and Papadimitriou separated this coefficient-size issue from the number and computational recognizability of the inequalities in their study of facial descriptions Karp and Papadimitriou, MIT/LCS/TM-154, pp. 3–7.

Their Lemma 1 identifies two common families for which small coefficients suffice: zero-one problems and problems given by an integer linear system. This result establishes a geometric premise used by the paper's later complexity discussion. It says nothing by itself about finding the inequalities efficiently or recognizing whether a proposed inequality belongs to a description. Those computational conditions belong to the paper's subsequent theorems Karp and Papadimitriou, pp. 5–8.

Setting

A combinatorial optimization problem here consists of a set LLL of binary strings, a dimension n(z)n(z)n(z) for each z∈Lz\in Lz∈L, and a set S(z)S(z)S(z) of feasible nonnegative integer vectors of that dimension. The geometric object is the rational convex hull CH(S(z))⊆Qn(z)\mathrm{CH}(S(z))\subseteq\mathbb Q^{n(z)}CH(S(z))⊆Qn(z). The paper calls the rationals RRR in its notation. The values of nnn and SSS outside LLL carry no meaning. A feasible set may be empty; its convex hull is then empty as well Karp and Papadimitriou, Definition 1 and footnote, p. 3.

A facial description FFF is a collection of triples ⟨z,f,g⟩\langle z,f,g\rangle⟨z,f,g⟩, where z∈Lz\in Lz∈L, f∈Zn(z)f\in\mathbb Z^{n(z)}f∈Zn(z), and g∈Zg\in\mathbb Zg∈Z. For every rational vector xxx and every z∈Lz\in Lz∈L, membership in CH(S(z))\mathrm{CH}(S(z))CH(S(z)) must be equivalent to satisfying all inequalities f⋅x≤gf\cdot x\le gf⋅x≤g indexed by triples of FFF with first component zzz. A facial description is small when one polynomial in ∣z∣+n(z)|z|+n(z)∣z∣+n(z) bounds the binary size of every coefficient of every triple in the collection. The collection itself need not be small Karp and Papadimitriou, pp. 4–5.

A zero-one problem has only vectors with entries zero or one in each S(z)S(z)S(z). An integer-programming-type problem gives an integral matrix A(z)A(z)A(z) and right-hand side b(z)b(z)b(z) and takes S(z)S(z)S(z) to be all nonnegative integer vectors satisfying A(z)x≤b(z)A(z)x\le b(z)A(z)x≤b(z). The dimensions of these data depend on zzz. Their total binary coefficient size is controlled by the length of the encoded input Karp and Papadimitriou, pp. 5–6.

Formalization targets

Lemma 1

The mission goal is the complete statement for both classes:

∀C,(ZeroOne⁡(C)∨IPType⁡(C))⟹∃F,FacialDescription⁡(C,F)∧Small⁡(C,F).\forall C,\quad \bigl(\operatorname{ZeroOne}(C)\lor\operatorname{IPType}(C)\bigr) \Longrightarrow \exists F,\quad \operatorname{FacialDescription}(C,F)\land\operatorname{Small}(C,F).∀C,(ZeroOne(C)∨IPType(C))⟹∃F,FacialDescription(C,F)∧Small(C,F).

The milestone list records three claims used in the paper's proof. In a zero-one hull, every vertex is a zero-one vector and there are no nonzero rays. For integer hulls, the cited vertex-size result gives a uniform polynomial bound on the coordinates of vertices. Finally, the Cramer's-rule calculation bounds an integral normal fff and intercept ggg by (2nx)n(2nx)^n(2nx)n when the geometric data have coordinates bounded by xxx Karp and Papadimitriou, pp. 5–7.

Significance

Lemma 1 permits descriptions of the whole hull, including lower-dimensional hulls that require equations and unbounded integer hulls that have recession directions. It gives a coefficient bound for every input with one polynomial, rather than a polynomial chosen separately for each instance. This is the premise needed when the paper treats a facial description as a language of short encodable inequalities. The later assertion that an NP-recognizable small facial description places the decision problem in co-NP has a distinct hypothesis and is handled by the first mission of this series Karp and Papadimitriou, Theorem 1, pp. 7–8.

The mathematical result is known; the mission asks for a Lean proof of its precise rational, input-indexed version. The local declarations are proof obligations and do not yet carry verified proofs. Existing platform work includes a rational integer-hull definition reused here, a related open theorem of Cook–Gerards–Schrijver–Tardos that bounds normal coefficients under different hypotheses, and proved real-carrier versions of Meyer's polyhedrality and finite-generation results. The related open theorem does not supply Lemma 1: it has neither this zero-one case nor the bound on the intercept ggg. The real-carrier theorems supply neither the input-size bound nor the paper's rational convention.

Difficulty

The zero-one case has bounded coordinates, but a complete description must also handle an empty hull and a hull contained in a proper affine subspace. Bounding only the facet inequalities of a full-dimensional nonempty polytope does not describe those cases. The integer-programming case adds unbounded directions, and the paper's printed identification of extreme rays with rows of AAA is false. A faithful treatment must bound suitable recession directions and then obtain a uniform coefficient bound for the inequalities describing the hull Karp and Papadimitriou, pp. 5–7.

Formalization scope

The Lean model uses List Bool for inputs, Fin (n z) → ℤ for feasible vectors, and Fin (n z) → ℚ for the convex hull. The published CookSensitivity.ChvatalRank.polyhedron and integerHull definitions provide the general rational integer-programming substrate. This mission adds only the paper's input-indexed problem, facial description, smallness condition, and two named problem classes. The three language-recognition requirements in the paper's Definition 1 are omitted because Lemma 1 never uses them; the resulting theorem applies to every such geometric problem, including every c.o.p. in the paper's narrower definition.

The polynomial bound is represented by (∣z∣+n(z))k+k(|z|+n(z))^k+k(∣z∣+n(z))k+k with a single natural exponent kkk chosen before every input and inequality. For an integer-programming-type input, the sum s(A,b)=∑a⌈log⁡2(1+∣a∣)⌉s(A,b)=\sum_a\lceil\log_2(1+|a|)\rceils(A,b)=∑a​⌈log2​(1+∣a∣)⌉ over all entries of AAA and bbb must be at most ∣z∣|z|∣z∣. This makes the paper's phrase “zzz specifies AAA and bbb” an explicit binary-size condition. The cited vertex milestone bounds coordinates in terms of sss alone, as the page states: a zero column gives a line direction rather than a vertex. Its statement follows the paper's unrestricted Ax≤bAx\le bAx≤b formulation; the IP-type goal additionally imposes x≥0x\ge0x≥0. The paper calls bbb an nnn-vector, but it has one entry per row of AAA and is an mmm-vector here. The Cramer's-rule milestone allows rows of size 2x2x2x, as vertex differences can reach that size.

Empty feasible sets, dimension zero, lower-dimensional hulls, and unbounded IP hulls remain in the goal. A description restricted to full-dimensional facets, or a smallness exponent chosen separately for each input, would not meet it. A complete development needs rational convex hulls, integer-hull geometry, finite descriptions of rational polyhedra, bounds on vertices and recession generators, and finite-dimensional determinant estimates. The rational integer-hull definitions and the coefficient estimates are reusable beyond this mission; contributions that establish the three listed milestones or the remaining geometric steps are in scope.

Selected references

  • Richard M. Karp and Christos H. Papadimitriou, On Linear Characterizations of Combinatorial Optimization Problems, MIT/LCS/TM-154, February 1980, pp. 3–7. Report scan. Later published in SIAM Journal on Computing 11 (1982), 620–632, DOI.
6 thms1 active userReviewed
Algorithmic Game TheoryCombinatoricsOptimization+1·Captain: mikedeng1

Assortment Optimisation Under a General Discrete Choice Model: A Tight Analysis of Revenue-Ordered Assortments V: Stackelberg Matroid Pricing Is an Assortment Problem Under a Regular Choice ModelResearch Paper

Motivation

In Stackelberg network pricing a leader sets prices on some resources, and a follower then buys the cheapest structure available to them, paying the leader for the priced resources they use. The Stackelberg Minimum Spanning Tree problem, introduced by Cardinal, Demaine, Fiorini, Joret, Langerman, Newman and Weimann (Algorithmica 2011), is the version in which the follower buys a minimum spanning tree. The best known approximation factors for it are those of uniform pricing, which gives every priced edge the same price (Berbeglia–Joret, p. 21).

Independently, revenue management studies assortment optimisation: a seller chooses which products to offer, and customers choose among the offered products according to a discrete choice model. Berbeglia and Joret (arXiv:1606.01371, Algorithmica 2020) analyse the revenue-ordered heuristic (offer every product whose revenue is at least some threshold) under any regular choice model, and prove tight approximation bounds.

§4.6 of that paper shows that the two problems are the same problem: a Stackelberg Matroid pricing instance is an assortment problem under a regular choice model, and uniform pricing is the revenue-ordered heuristic on that model. The bounds of Cardinal et al. on uniform pricing thus become special cases of the general bounds on revenue-ordered assortments. This mission formalizes that correspondence (Theorem 4.16).

Setting

Choice model. Let C\mathcal CC be a finite set of products. A system of choice probabilities assigns to each offered set S⊆CS\subseteq\mathcal CS⊆C and product xxx a probability P(x,S)\mathcal P(x,S)P(x,S), with no-purchase probability P(0,S)=1−∑x∈SP(x,S)\mathcal P(0,S)=1-\sum_{x\in S}\mathcal P(x,S)P(0,S)=1−∑x∈S​P(x,S). It is regular if (i) all probabilities are nonnegative, (ii) P(x,S)=0\mathcal P(x,S)=0P(x,S)=0 for x∉Sx\notin Sx∈/S, (iii) ∑x∈SP(x,S)≤1\sum_{x\in S}\mathcal P(x,S)\le1∑x∈S​P(x,S)≤1, and (iv) P(x,S)≥P(x,S′)\mathcal P(x,S)\ge\mathcal P(x,S')P(x,S)≥P(x,S′) whenever S⊆S′S\subseteq S'S⊆S′ and x∈S∪{0}x\in S\cup\{0\}x∈S∪{0}. With revenues r:C→R>0r:\mathcal C\to\mathbb R_{>0}r:C→R>0​, rev(S)=∑x∈SP(x,S)r(x)\mathrm{rev}(S)=\sum_{x\in S}\mathcal P(x,S)r(x)rev(S)=∑x∈S​P(x,S)r(x) and OPT=max⁡Srev(S)\mathrm{OPT}=\max_S\mathrm{rev}(S)OPT=maxS​rev(S). The revenue-ordered assortment generated by yyy is {y′∈C:r(y′)≥r(y)}\{y'\in\mathcal C:r(y')\ge r(y)\}{y′∈C:r(y′)≥r(y)}.

Greedy algorithm. Given a family of independent sets, a linear ordering LLL and a set FFF, greedy(F,L)\mathrm{greedy}(F,L)greedy(F,L) scans FFF in the order induced by LLL, starting from ∅\emptyset∅, and adds each element that keeps the current set independent.

Stackelberg Matroid problem. An instance is a matroid M=(E,X)M=(E,\mathcal X)M=(E,X), a bipartition E=R⊔BE=R\sqcup BE=R⊔B into red and blue elements, and red costs c:R→R>0c:R\to\mathbb R_{>0}c:R→R>0​; some base of MMM lies inside RRR. The leader chooses prices p:B→R>0p:B\to\mathbb R_{>0}p:B→R>0​. The customer buys a minimum-weight base by running greedy on R∪BR\cup BR∪B with an ordering L∗L^*L∗ that is non-decreasing in weight (ccc on RRR, ppp on BBB) and puts blue elements first on ties. The leader earns revStack(p,L∗)=∑e∈B∩greedyM(R∪B,L∗)p(e)\mathrm{rev}_{\mathrm{Stack}}(p,L^*)=\sum_{e\in B\cap\mathrm{greedy}_M(R\cup B,L^*)}p(e)revStack​(p,L∗)=∑e∈B∩greedyM​(R∪B,L∗)​p(e).

The assortment instance. Let c1<⋯<ckc_1<\dots<c_kc1​<⋯<ck​ be the distinct red costs. Products are C=B×{c1,…,ck}\mathcal C=B\times\{c_1,\dots,c_k\}C=B×{c1​,…,ck​} with r((e,q))=∣B∣ qr((e,q))=|B|\,qr((e,q))=∣B∣q. The auxiliary matroid M′M'M′ on R∪CR\cup\mathcal CR∪C declares XXX independent when it holds at most one pair (e,q)(e,q)(e,q) per blue eee and (R∩X)∪{e:(e,q)∈X}(R\cap X)\cup\{e:(e,q)\in X\}(R∩X)∪{e:(e,q)∈X} is independent in MMM. With an ordering LLL of R∪CR\cup\mathcal CR∪C that is non-decreasing in cost and puts products before red elements on ties, P((e,q),S)=1/∣B∣\mathcal P((e,q),S)=1/|B|P((e,q),S)=1/∣B∣ if (e,q)∈greedyM′(R∪S,L)(e,q)\in\mathrm{greedy}_{M'}(R\cup S,L)(e,q)∈greedyM′​(R∪S,L) and 000 otherwise.

Formalization targets

Goal: Theorem 4.16 (p. 24)

For the instance above, with B≠∅B\ne\emptysetB=∅ and every admissible LLL:

P is regular,r>0,max⁡S⊆Crev(S)=max⁡p>0, L∗revStack(p,L∗),\mathcal P\ \text{is regular},\quad r>0,\qquad \max_{S\subseteq\mathcal C}\mathrm{rev}(S)=\max_{p>0,\ L^*}\mathrm{rev}_{\mathrm{Stack}}(p,L^*),P is regular,r>0,S⊆Cmax​rev(S)=p>0, L∗max​revStack​(p,L∗),

and uniform pricing corresponds to revenue-ordered assortments: for each cic_ici​ some revenue-ordered assortment earns the revenue of the uniform price cic_ici​, and every revenue-ordered assortment earns the revenue of some uniform price cic_ici​.

Milestones

  1. Lemma 4.14 (p. 23): for F⊆F′F\subseteq F'F⊆F′, ∣greedyM(F′,L)∣≥∣greedyM(F,L)∣|\mathrm{greedy}_M(F',L)|\ge|\mathrm{greedy}_M(F,L)|∣greedyM​(F′,L)∣≥∣greedyM​(F,L)∣ and F∩greedyM(F′,L)⊆greedyM(F,L)F\cap\mathrm{greedy}_M(F',L)\subseteq\mathrm{greedy}_M(F,L)F∩greedyM​(F′,L)⊆greedyM​(F,L).
  2. Property (14) (p. 31): orderings agreeing on a block partition make greedy pick the same number of elements per block.
  3. Lemma 4.15 (p. 23): the Stackelberg revenue does not depend on the compatible ordering.
  4. M′M'M′ is a matroid (p. 32).
  5. Regularity of P\mathcal PP (pp. 32–33).
  6. rev(S)\mathrm{rev}(S)rev(S) equals the Stackelberg revenue of pS(e)=min⁡{q:(e,q)∈S}p_S(e)=\min\{q:(e,q)\in S\}pS​(e)=min{q:(e,q)∈S} (pp. 33–34).
  7. Rounding prices up to the cost levels does not decrease revenue (p. 34).
  8. For prices in {c1,…,ck}∪{+∞}\{c_1,\dots,c_k\}\cup\{+\infty\}{c1​,…,ck​}∪{+∞}, rev(Sp)\mathrm{rev}(S_p)rev(Sp​) equals the Stackelberg revenue of ppp (pp. 34–35).

Significance

Theorem 4.16 transfers every guarantee for revenue-ordered assortments under regular models to uniform pricing in Stackelberg Matroid pricing. Specialising Theorems 3.1, 3.2 and 3.3 of the paper through it gives exactly the three bounds on uniform pricing proved by Cardinal et al. for Stackelberg Minimum Spanning Tree (Theorem 3 of their paper), which those authors showed to be tight (p. 24). It also places uniform pricing inside a general picture: it is a threshold policy for a regular choice model whose purchase probabilities come from a matroid greedy algorithm, and the paper notes that the argument extends to polymatroids.

The result is proved in the paper, with two steps left to the reader (M′M'M′ is a matroid) or justified briefly (rounding prices). No machine-checked proof exists. A formalization also produces a reusable greedy algorithm on finite matroids with its monotonicity properties (Lemma 4.14, (14)), which Mathlib at the pinned revision does not have.

Difficulty

The obvious argument identifies the customer's run of greedy on (M,R∪B)(M,R\cup B)(M,R∪B) with the run of greedy on (M′,R∪S)(M',R\cup S)(M′,R∪S) step by step. That identification fails as stated: the choice probabilities are defined with one fixed ordering LLL of R∪CR\cup\mathcal CR∪C, while the customer's ordering L∗L^*L∗ is any ordering compatible with the prices, and ties among blue elements of equal price, or between a product and a red element of equal cost, may be broken differently. Equality of revenues therefore needs the tie-independence property (14) applied to M′M'M′ as well as to MMM, which in turn needs M′M'M′ to be a matroid. A second gap is axiom (iv) for the no-purchase option: it requires that offering more products never decreases the number of products greedy selects, which is Lemma 4.14 (i)–(ii) for M′M'M′ combined, not a pointwise statement. Finally, the paper's "+∞+\infty+∞" price must be handled with the red base: without a base inside RRR, a blue element priced above all costs can still be bought and the optimum is unbounded.

Formalization scope

  • Elements and orderings. The matroid is a Mathlib Matroid α; RRR, BBB are Finset α with R∪BR\cup BR∪B equal to the ground set; costs and prices are functions α → ℝ, used only on RRR and BBB. A linear ordering is a duplicate-free List covering the set; greedy on FFF scans the whole list and skips elements outside FFF, so FFF is never re-sorted.
  • Greedy is defined for an arbitrary independence predicate on finite sets, so that it applies to M′M'M′ before M′M'M′ is shown to be a matroid.
  • Customer model. Compatibility (15a)–(15b), including blue priority on ties, is part of the definition of an admissible customer ordering. The red base is a field of every instance.
  • Assortment instance. Elements of R∪CR\cup\mathcal CR∪C live in α ⊕ (α × ℝ). The paper's conditions (1)–(2) for M′M'M′ contain two typos (a missing "∈X\in X∈X" and X\mathcal XX for XXX); the intended conditions are formalized. The price +∞+\infty+∞ is the real number 1+∑f∈Rc(f)1+\sum_{f\in R}c(f)1+∑f∈R​c(f), strictly above every red cost.
  • Goal shape. The theorem is stated for the explicit instance of the proof, for every admissible LLL. The optimum of the Stackelberg side is a maximum (IsGreatest) over positive real prices and all compatible customer orderings. Cost levels are quantified as elements of the set of red costs rather than by index.
  • Ruled out. An existential statement ("some regular instance has the same optimum") is met by a single product with revenue OPTStack\mathrm{OPT}_{\mathrm{Stack}}OPTStack​ and is not this theorem; so is a customer model without tie-breaking, a formalization without the red base, or Lemma 4.14 only for F=F′F=F'F=F′.

Contributions welcome: proofs of Lemma 4.14 and (14) for Mathlib matroids (reusable beyond this mission), the matroid property of parallel extensions such as M′M'M′, and the three revenue identities.

Selected references

  • G. Berbeglia and G. Joret, Assortment Optimisation Under a General Discrete Choice Model: A Tight Analysis of Revenue-Ordered Assortments, arXiv:1606.01371v3, 2019 (Algorithmica, 2020). https://arxiv.org/abs/1606.01371
  • J. Cardinal, E. D. Demaine, S. Fiorini, G. Joret, S. Langerman, I. Newman and O. Weimann, The Stackelberg Minimum Spanning Tree Game, Algorithmica 59(2):129–144, 2011. https://doi.org/10.1007/s00453-009-9299-y
  • A. Schrijver, Combinatorial Optimization: Polyhedra and Efficiency, Vol. B, Algorithms and Combinatorics 24, Springer, 2003 (matroids and the greedy algorithm). https://link.springer.com/book/9783540443896
14 thms1 active userReviewed
Convex OptimizationOptimization·Captain: mikedeng1

A Numerically Stable Dual Method for Solving Strictly Convex Quadratic Programs: The Dual Algorithm Solves the QP or Detects Its Infeasibility in Finitely Many StepsResearch Paper

Motivation

Strictly convex quadratic programs — minimize a positive definite quadratic subject to linear inequalities — are the subproblems solved at every iteration of successive quadratic programming (SQP) methods for nonlinear optimization, and they arise directly in least-squares estimation with constraints, portfolio selection and model predictive control. In SQP the unconstrained minimizer of the quadratic model is available at no cost, while a feasible point is not.

D. Goldfarb and A. Idnani (Math. Programming 27 (1983) 1–33) proposed a dual active-set method that exploits this asymmetry. It starts at the unconstrained minimizer, which is optimal for the problem with all constraints removed, and adds violated constraints one at a time while keeping the current point optimal for the subproblem defined by the current active set. No phase 1 is needed. The method, usually called the Goldfarb–Idnani algorithm, is the basis of widely used solvers (for example the quadprog package in R and QuadProg++), and the paper proves that it terminates finitely with a correct answer.

Earlier dual methods for quadratic programming include the modified-simplex methods of Lemke (Management Science 8 (1962) 442–453) and of Van de Panne and Whinston (1964), which the paper compares with its own in Section 7.

Setting

Fix n,m∈Nn, m \in \mathbb Nn,m∈N, a vector a∈Rna \in \mathbb R^na∈Rn, a symmetric positive definite n×nn\times nn×n matrix GGG, an n×mn\times mn×m matrix CCC with columns n1,…,nmn_1,\dots,n_mn1​,…,nm​, and b∈Rmb \in \mathbb R^mb∈Rm. The quadratic program (1.1) is

min⁡x f(x)=aTx+12xTGxsubject tosi(x)=niTx−bi≥0,i∈K={1,…,m}.\min_x\ f(x) = a^{\mathsf T}x + \tfrac12 x^{\mathsf T}Gx \quad\text{subject to}\quad s_i(x) = n_i^{\mathsf T}x - b_i \ge 0,\quad i \in K = \{1,\dots,m\}.xmin​ f(x)=aTx+21​xTGxsubject tosi​(x)=niT​x−bi​≥0,i∈K={1,…,m}.

The gradient is g(x)=Gx+ag(x) = Gx + ag(x)=Gx+a. For J⊆KJ \subseteq KJ⊆K, the subproblem P(J)P(J)P(J) keeps only the constraints indexed by JJJ; P(∅)P(\emptyset)P(∅) is solved by x0=−G−1ax^0 = -G^{-1}ax0=−G−1a. A set A⊆KA \subseteq KA⊆K is linearly independent if the normals nin_ini​, i∈Ai\in Ai∈A, are.

For an independent AAA, let NNN be the matrix with columns nin_ini​, i∈Ai\in Ai∈A, and define

N∗=(NTG−1N)−1NTG−1,H=G−1−G−1N(NTG−1N)−1NTG−1.N^* = (N^{\mathsf T}G^{-1}N)^{-1}N^{\mathsf T}G^{-1},\qquad H = G^{-1} - G^{-1}N(N^{\mathsf T}G^{-1}N)^{-1}N^{\mathsf T}G^{-1}.N∗=(NTG−1N)−1NTG−1,H=G−1−G−1N(NTG−1N)−1NTG−1.

The multipliers are u(x)=N∗g(x)u(x) = N^*g(x)u(x)=N∗g(x); for a constraint p∉Ap \notin Ap∈/A with normal n+=npn^+ = n_pn+=np​ the infeasibility multipliers are r=N∗n+r = N^*n^+r=N∗n+; a superscript +++ denotes the same objects for A+=A∪{p}A^+ = A\cup\{p\}A+=A∪{p}.

An S-pair (x,A)(x, A)(x,A) is an independent active set AAA with si(x)=0s_i(x) = 0si​(x)=0 for i∈Ai\in Ai∈A and xxx optimal for P(A)P(A)P(A). A V-triple (x,A,p)(x, A, p)(x,A,p) has p∉Ap\notin Ap∈/A, A+A^+A+ independent, sp(x)<0s_p(x) < 0sp​(x)<0, si(x)=0s_i(x) = 0si​(x)=0 for i∈Ai \in Ai∈A, H+g(x)=0H^+g(x) = 0H+g(x)=0 and u+(x)=(N+)∗g(x)≥0u^+(x) = (N^+)^*g(x) \ge 0u+(x)=(N+)∗g(x)≥0.

The dual algorithm starts from (x0,∅)(x^0, \emptyset)(x0,∅). In Step 1 it stops if xxx is feasible; otherwise it picks any violated constraint ppp. In Step 2 it moves along the primal direction z=Hn+z = Hn^+z=Hn+ and the dual direction (−r;1)(-r; 1)(−r;1) with step t=min⁡{t1,t2}t = \min\{t_1, t_2\}t=min{t1​,t2​}, where t1t_1t1​ is the largest step that keeps the multipliers nonnegative and t2=−sp(x)/zTn+t_2 = -s_p(x)/z^{\mathsf T}n^+t2​=−sp​(x)/zTn+ makes constraint ppp active. If both are infinite it reports infeasibility. A full step (t=t2t = t_2t=t2​) adds ppp and returns to Step 1. A partial step (t=t1<t2t = t_1 < t_2t=t1​<t2​), or a dual step (z=0z = 0z=0), drops a constraint kkk attaining t1t_1t1​ and repeats Step 2.

Formalization targets

Goal: Theorem 3 (p. 11)

For every choice of the violated constraint ppp and of the dropped constraint kkk:

no run from (x0,∅) is infinite, and every run that cannot continue ends in {STOP at an optimal x of (1.1), orSTOP with {x:CTx≥b}=∅.\text{no run from } (x^0,\emptyset) \text{ is infinite, and every run that cannot continue ends in } \begin{cases}\text{STOP at an optimal } x \text{ of (1.1)}, \text{ or}\\ \text{STOP with } \{x : C^{\mathsf T}x \ge b\} = \emptyset.\end{cases}no run from (x0,∅) is infinite, and every run that cannot continue ends in {STOP at an optimal x of (1.1), orSTOP with {x:CTx≥b}=∅.​

Milestones, in attack order

  1. Properties (2.6)–(2.9) (p. 5): Hw=0  ⟺  w∈range⁡NHw = 0 \iff w \in \operatorname{range} NHw=0⟺w∈rangeN; H⪰0H \succeq 0H⪰0; HGH=HHGH = HHGH=H; N∗GH=0N^*GH = 0N∗GH=0.
  2. Optimality conditions (2.3)–(2.4) (p. 5): on the manifold of AAA, xxx solves P(A)P(A)P(A) iff N∗g(x)≥0N^*g(x) \ge 0N∗g(x)≥0 and Hg(x)=0Hg(x) = 0Hg(x)=0.
  3. Lemma 1 (p. 8): along xˉ=x+tHn+\bar x = x + tHn^+xˉ=x+tHn+ from a V-triple, H+g(xˉ)=0H^+g(\bar x) = 0H+g(xˉ)=0, the constraints of AAA stay active, u+(xˉ)=u+(x)+t(−r;1)u^+(\bar x) = u^+(x) + t(-r;1)u+(xˉ)=u+(x)+t(−r;1) and sp(xˉ)=sp(x)+t zTn+s_p(\bar x) = s_p(x) + t\,z^{\mathsf T}n^+sp​(xˉ)=sp​(x)+tzTn+.
  4. Theorem 1 (pp. 8–9): the step t=min⁡{t1,t2}t = \min\{t_1,t_2\}t=min{t1​,t2​} increases sps_psp​ and fff; a partial step yields a V-triple, a full step an S-pair.
  5. Theorem 2 (p. 10): if np=Nrn_p = Nrnp​=Nr and sp(x)<0s_p(x) < 0sp​(x)<0 at an S-pair, then r≤0r \le 0r≤0 means P(A∪{p})P(A\cup\{p\})P(A∪{p}) is infeasible; otherwise dropping a minimizing kkk gives a V-triple.
  6. One round of Step 2 (p. 11): from an S-pair and a violated ppp, at most ∣A∣|A|∣A∣ partial or dual steps and one final step end either in infeasibility of (1.1) or in a new S-pair (xˉ,Aˉ∪{p})(\bar x, \bar A \cup\{p\})(xˉ,Aˉ∪{p}) with Aˉ⊆A\bar A\subseteq AAˉ⊆A and f(xˉ)>f(x)f(\bar x) > f(x)f(xˉ)>f(x).

Significance

Theorem 3 is the correctness certificate of the Goldfarb–Idnani method: whatever rule an implementation uses to choose the entering and leaving constraints, it cannot cycle and its answer is right. In particular the infeasibility verdict is a proof that (1.1) has no feasible point, which matters in SQP where infeasible subproblems trigger a different branch of the outer method. The intermediate results (the operator identities, Lemma 1, Theorems 1–2) are the standard analysis of dual active-set methods for quadratic programming.

The result is proved in the paper; to our knowledge it has not been machine-checked. A formal development produces verified projector identities for N∗N^*N∗ and HHH, a verified KKT characterization for equality-active subproblems, and a verified finite-termination proof for a nondeterministic algorithm with an explicit step relation. The platform already has a proved KKT sufficiency theorem for general convex programs (ConvexOptimization.kkt_sufficient_for_convex), stated over EuclideanSpace with general convex functions and gradient fields; it can serve as background for the sufficiency half of milestone 2, but it is not stated in this mission's matrix objects.

Difficulty

The obvious termination argument is that fff increases strictly at every iteration and there are finitely many active sets. It fails as stated: partial steps may leave xxx unchanged (the dual steps of Step 2(c)(ii)), so fff is only nondecreasing between consecutive states. A termination proof therefore needs a measure that also decreases along steps that do not move xxx. Any such argument relies on invariants (independence of A+A^+A+, nonnegativity of the multipliers, sp<0s_p < 0sp​<0 along partial steps) that hold only on reachable states, and the operators N∗N^*N∗ and HHH are meaningful only while those invariants hold. Correctness of the infeasibility verdict requires the dependent case (Theorem 2), not only Theorem 1.

Formalization scope

Vectors are Fin n → ℝ, GGG is Matrix (Fin n) (Fin n) ℝ with G.PosDef, CCC is Matrix (Fin n) (Fin m) ℝ, and active sets are Finset (Fin m). Multiplier vectors are indexed by constraint index (Fin m → ℝ, zero off the active set), not by position in AAA. Lean's matrix inverse returns 000 for singular matrices, so every statement about N∗N^*N∗ and HHH assumes G≻0G \succ 0G≻0 and an independent active set (directly, or through an S-pair or V-triple).

The algorithm is the inductive relation Step on states step1 x A u, step2 x A p u⁺, stopOptimal x, stopInfeasible, with one transition per admissible choice of ppp and kkk. Infinite step lengths are separate transitions; a tie t1=t2t_1 = t_2t1​=t2​ takes the full step, as the paper tests t=t2t = t_2t=t2​ first. The running value of fff and the factorizations of Section 4 are not part of the state.

Explicit readings of the paper's words:

  • "solves the QPP or indicates infeasibility in a finite number of steps" is: no infinite sequence of Step transitions from the Step-0 state, and every reachable state without a successor is a STOP whose verdict is correct (optimal for (1.1), or (1.1) infeasible);
  • "S-pair" is: AAA independent and active at xxx, with xxx optimal for P(A)P(A)P(A) (the reading every use in the paper needs);
  • in Theorem 1 the partial-step clause carries t<t2t < t_2t<t2​ (as in its proof), and the multiplier printed uj+1+u^+_{j+1}uj+1+​ in (3.16) is uq+1+u^+_{q+1}uq+1+​, the entry belonging to ppp;
  • "an S-pair can never reoccur" is expressed as the strict increase f(xˉ)>f(x)f(\bar x) > f(x)f(xˉ)>f(x) in milestone 6.

Property (2.10), printed HH+=H+HH^+ = H^+HH+=H+, is false unless G=IG = IG=I and is not formalized. Equality constraints (1.2), Section 4 (numerically stable implementation), Sections 5–6 (computations), Section 7 (comparisons) and the Appendix example are out of scope.

A trivializing formalization is ruled out: the goal quantifies over every run of the relation (not one selection rule, not "some run terminates"), the infeasibility verdict is about (1.1) itself, and the algorithm is a relation that always has a successor until a STOP, so correctness cannot hold because a run gets stuck.

Needed infrastructure: Schur-complement and projector identities for N∗N^*N∗ and HHH; first-order optimality for convex quadratics on affine subspaces with inequality multipliers; well-foundedness arguments for a nondeterministic relation. The operator identities and the KKT characterization are reusable for other active-set and SQP analyses. Contributions of proofs of any milestone, and of reusable lemmas about N∗N^*N∗ and HHH, are welcome.

Selected references

  • D. Goldfarb and A. Idnani, A numerically stable dual method for solving strictly convex quadratic programs, Mathematical Programming 27 (1983) 1–33. https://doi.org/10.1007/BF02591962
  • C. E. Lemke, A method of solution for quadratic programs, Management Science 8 (1962) 442–453. https://doi.org/10.1287/mnsc.8.4.442
  • J. Nocedal and S. J. Wright, Numerical Optimization, 2nd ed., Springer, 2006, Chapter 16. https://doi.org/10.1007/978-0-387-40065-5
9 thms1 active userReviewed
Graph TheoryOptimization·Captain: mikedeng1

Send-and-Split Method for Minimum-Concave-Cost Network Flows I: A Minimum-Cost Flow Exists iff Every Simple Circulation Has Nonnegative Cost, and Then an Extreme One Exists (Theorem 1)Research Paper

Why minimum-concave-cost flows

Many network design and production–distribution problems have economies of scale: shipping twice as much along an arc costs less than twice as much, because of fixed charges, set-up costs or volume discounts. Modelled as network flows, such problems ask for a flow of least cost when each arc cost is a concave function of the flow on the arc. Classical instances include the uncapacitated lot-sizing problem, the fixed-charge transportation problem, and the Steiner tree problem in graphs. Unlike linear costs, concave costs make the problem NP-hard in general, and the usual linear-programming arguments do not apply directly.

Erickson, Monma and Veinott (Math. Oper. Res. 12 (1987) 634–664) give the send-and-split method, a dynamic program that solves such problems in time exponential only in the number of demand nodes. Before the method can run, two questions must be settled: when does a minimum-cost flow exist at all, and can the arc costs be shifted so that they are nonnegative on flows? Theorem 1 of the paper answers both. This mission formalizes Theorem 1.

Timeline. Hirsch and Hoffman (1961) showed that a concave function bounded below on a polyhedron's extreme rays attains its minimum at a vertex; Rockafellar's Convex Analysis (1970, pp. 61, 343) gives the polyhedral form. Edmonds and Karp (1972) showed how to choose node potentials making linear arc costs nonnegative. Theorem 1 (1987) extends both to additive concave costs on uncapacitated networks.

Setting

A graph G=(N,A)G = (N, A)G=(N,A) has nnn nodes and a set AAA of ordered pairs of distinct nodes, the arcs. A demand vector r∈Rnr \in \mathbb{R}^nr∈Rn assigns a demand rir_iri​ to each node (negative demands are supplies). A preflow is a nonnegative matrix x=(xij)x = (x_{ij})x=(xij​) carried by the arcs, and a flow for rrr is a preflow with

∑(j,i)∈Axji−∑(i,k)∈Axik=ri(i∈N),\sum_{(j,i)\in A} x_{ji} - \sum_{(i,k)\in A} x_{ik} = r_i \qquad (i \in N),(j,i)∈A∑​xji​−(i,k)∈A∑​xik​=ri​(i∈N),

inflow minus outflow equal to demand. A circulation is a flow for r=0r = 0r=0.

The flow cost is c(x)=∑(i,j)∈Acij(xij)c(x) = \sum_{(i,j)\in A} c_{ij}(x_{ij})c(x)=∑(i,j)∈A​cij​(xij​), where each cijc_{ij}cij​ is concave on [0,∞)[0,\infty)[0,∞) and cij(0)=0c_{ij}(0) = 0cij​(0)=0. A minimum-cost flow for rrr is a flow whose cost is at most that of every flow for rrr.

A preflow induces the subgraph of arcs with nonzero flow. An extreme flow is a flow whose induced subgraph is a forest (in the undirected sense; two antiparallel arcs form a cycle). A simple circuit is a directed cycle through at least two distinct nodes, with arc set CCC; a simple circulation is a circulation whose induced subgraph is a simple circuit. The slope at infinity c˙ij(∞)∈[−∞,∞)\dot c_{ij}(\infty) \in [-\infty, \infty)c˙ij​(∞)∈[−∞,∞) is the limit of the right derivative of cijc_{ij}cij​.

Two nodes are in the same strong component if chains (directed walks) join them both ways; a component is a sink if no chain leaves it. The augmented graph G‾\underline{G}G​ appends a node ν\nuν and an arc (i,ν)(i,\nu)(i,ν) for exactly one node iii of each sink component. Its arc costs c‾\underline{c}c​ are c˙ij(∞)\dot c_{ij}(\infty)c˙ij​(∞) on arcs inside strong components and arbitrary real numbers elsewhere; π‾i\underline{\pi}_iπ​i​ is the infimum of the costs of chains from iii to ν\nuν. For π∈Rn\pi \in \mathbb{R}^nπ∈Rn, the altered costs are cijπ(y)=cij(y)−(πi−πj)yc^\pi_{ij}(y) = c_{ij}(y) - (\pi_i - \pi_j) ycijπ​(y)=cij​(y)−(πi​−πj​)y.

Formalization targets

Goal: Theorem 1

The following are equivalent:

1∘ there is a minimum-cost flow for some demand vector;2∘ the null circulation is a minimum-cost circulation;3∘ for every r with a flow, some minimum-cost flow for r is extreme;4∘ c(y)≥0 for every simple circulation y;5∘ ∑(i,j)∈Cc˙ij(∞)≥0 for every simple circuit with arc set C;6∘ there is a minimum-cost chain from each node of G‾ to ν under c‾.\begin{aligned} &1^\circ\ \text{there is a minimum-cost flow for some demand vector;}\\ &2^\circ\ \text{the null circulation is a minimum-cost circulation;}\\ &3^\circ\ \text{for every } r \text{ with a flow, some minimum-cost flow for } r \text{ is extreme;}\\ &4^\circ\ c(y) \ge 0 \text{ for every simple circulation } y;\\ &5^\circ\ \textstyle\sum_{(i,j)\in C} \dot c_{ij}(\infty) \ge 0 \text{ for every simple circuit with arc set } C;\\ &6^\circ\ \text{there is a minimum-cost chain from each node of } \underline{G} \text{ to } \nu \text{ under } \underline{c}. \end{aligned}​1∘ there is a minimum-cost flow for some demand vector;2∘ the null circulation is a minimum-cost circulation;3∘ for every r with a flow, some minimum-cost flow for r is extreme;4∘ c(y)≥0 for every simple circulation y;5∘ ∑(i,j)∈C​c˙ij​(∞)≥0 for every simple circuit with arc set C;6∘ there is a minimum-cost chain from each node of G​ to ν under c​.​

If moreover rrr admits a flow and c‾ijz≤cij(z)\underline{c}_{ij} z \le c_{ij}(z)c​ij​z≤cij​(z) on arcs joining distinct strong components, where z=∑iri+z = \sum_i r_i^+z=∑i​ri+​, they are equivalent to

7∘∃π  cijπ(xij)≥0 for all arcs (i,j) and all flows x for r,7^\circ\quad \exists \pi\ \ c^\pi_{ij}(x_{ij}) \ge 0 \text{ for all arcs } (i,j) \text{ and all flows } x \text{ for } r,7∘∃π  cijπ​(xij​)≥0 for all arcs (i,j) and all flows x for r,

and π=π‾\pi = \underline{\pi}π=π​ is real and satisfies 7∘7^\circ7∘.

Milestones

The milestones are the statements the paper's proof rests on: the Hirsch–Hoffman extension (p. 638), cπ(x)=c(x)+∑iπiric^\pi(x) = c(x) + \sum_i \pi_i r_icπ(x)=c(x)+∑i​πi​ri​, the bounds 12c(2x)+12c(2θy)≤c(x+θy)≤c(x)+c(θy)\tfrac12 c(2x) + \tfrac12 c(2\theta y) \le c(x+\theta y) \le c(x) + c(\theta y)21​c(2x)+21​c(2θy)≤c(x+θy)≤c(x)+c(θy), the circuit-wise form of 4° ⇔ 5°, uniqueness of the extreme circulation, xij≤zx_{ij} \le zxij​≤z between strong components, and the two inequalities giving 7∘7^\circ7∘ (all p. 639).

Significance

Theorem 1 decides existence of an optimum from the costs alone: conditions 4° and 5° do not mention the demand vector, so one test settles every demand pattern at once, and 3° guarantees the optimum may be sought among extreme (forest) flows, which is what the send-and-split recursion enumerates. Condition 6° is checkable by a shortest-chain computation, and 7° supplies node potentials that convert the instance into an equivalent one with nonnegative arc costs, the standing assumption of the paper's Theorem 2 and of its running-time analysis. For linear costs the theorem reduces to the familiar statement that a minimum-cost flow exists iff no simple circuit has negative cost.

The result is proved in the paper; it has not been machine-checked. The formalization adds a precise model of extreme flows over arcs (so that antiparallel arcs form a cycle), a treatment of slopes that may equal −∞-\infty−∞, and the Hirsch–Hoffman extension specialized to network polyhedra, which the paper cites rather than proves. Related platform items cover the linear, capacitated case: CycleCanceling.MinMean.minCost_iff_no_negative_cycle and CycleCanceling.MinMean.minCost_iff_exists_price (Goldberg–Tarjan), and LinearOptimization.positive_directed_cycle_of_circulation and LinearOptimization.network_basic_iff_tree on a different arc encoding.

Difficulty

The first idea, to argue as for linear costs by cancelling negative cycles, fails because concave costs are not additive along cycle decompositions: the cost of a flow is not the sum of the costs of its cycle and path components, and a circuit can be harmless at small flow and arbitrarily negative at large flow. Existence therefore depends on the asymptotic slopes c˙ij(∞)\dot c_{ij}(\infty)c˙ij​(∞), which may be −∞-\infty−∞, rather than on any finite cost evaluation. The implication from bounded rays to an attained minimum (Hirsch–Hoffman) requires identifying the vertices of the flow polyhedron with forest flows and its extreme rays with simple circulations. The potential step 6° ⇒ 7° needs a cost bound on arcs between strong components, where the concave cost is only controlled up to the total positive demand zzz.

Formalization scope

Nodes are Fin n; a graph is ArcGraph n, a Finset (Fin n × Fin n) of arcs without loops. Preflows are real matrices vanishing off the arcs; arc costs are functions R→R\mathbb{R} \to \mathbb{R}R→R, concave on Set.Ici 0 with value 000 at 000 (the paper's "without further mention" assumption, made a hypothesis). The augmented graph has nodes Option (Fin n), with none the node ν\nuν; chain costs, c˙ij(∞)\dot c_{ij}(\infty)c˙ij​(∞) and π‾\underline{\pi}π​ are EReal-valued.

The explicit readings of loose phrases are:

  • "minimum-cost flow" is a flow whose cost is at most that of every flow for the same demands (attained, never an infimum);
  • "bounded below on each half-line" is ∃M ∀θ≥0, M≤c(x+θy)\exists M\ \forall \theta \ge 0,\ M \le c(x+\theta y)∃M ∀θ≥0, M≤c(x+θy);
  • c˙ij(∞)\dot c_{ij}(\infty)c˙ij​(∞) is the infimum over t>0t > 0t>0 of the right derivative at ttt, equal to the limit by concavity;
  • "chain" is a directed walk; "minimum-cost chain" is a chain of real cost at most every chain's cost;
  • 6° quantifies over every admissible choice of the appended arcs and of the finite costs c‾\underline{c}c​;
  • in the 7° part, "flows xxx" are flows for the given rrr, and the existence of such a flow is an added hypothesis: without it 7° is vacuous while 4° can fail;
  • "π‾\underline{\pi}π​ satisfies 7°" uses the real values of π‾\underline{\pi}π​, which the theorem asserts are real.

A formalization in which extreme flows are forests of a simple graph built from the support, in which chains are simple paths, or in which a chain of cost −∞-\infty−∞ counts as a minimum would make 3°, 6° or the equivalence trivially or falsely true; all three are ruled out by the definitions. The running-time remarks, the computation paragraph and the linear-cost remark after the proof are not formalized. Contributions are welcome on the polyhedral side (vertices and extreme rays of {x≥0:conservation}\{x \ge 0 : \text{conservation}\}{x≥0:conservation}), on right derivatives of concave functions at infinity, and on walk costs with negative cycles; all are reusable beyond this mission.

Selected references

  • R. E. Erickson, C. L. Monma, A. F. Veinott, Jr., Send-and-Split Method for Minimum-Concave-Cost Network Flows, Mathematics of Operations Research 12(4), 1987, 634–664. https://doi.org/10.1287/moor.12.4.634
  • W. M. Hirsch, A. J. Hoffman, Extreme varieties, concave functions, and the fixed charge problem, Communications on Pure and Applied Mathematics 14, 1961, 355–369. https://doi.org/10.1002/cpa.3160140312
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970. https://doi.org/10.1515/9781400873173
  • J. Edmonds, R. M. Karp, Theoretical improvements in algorithmic efficiency for network flow problems, Journal of the ACM 19(2), 1972, 248–264. https://doi.org/10.1145/321694.321699
11 thms1 active userReviewed
Bandit AlgorithmsMachine LearningProbability·Captain: mikedeng1

MNL-Bandit: A Dynamic Learning Approach to Assortment Selection I: The Epoch-Based UCB Policy Has Regret at Most C₁√(NT log NT) + C₂N log² NT Under the No-Purchase AssumptionResearch Paper

Motivation

A retailer that decides which products to display, an online platform that decides which items to show in a recommendation slot, and an airline that decides which fare classes to open all face the same problem: the set of options offered changes what customers buy, and the substitution pattern is not known in advance. The multinomial logit (MNL) model is the standard model of this substitution in revenue management (Talluri and van Ryzin 2004), and optimizing the offered set under a known MNL model is a classical, efficiently solvable problem (e.g. Rusmevichientong, Shen and Shmoys 2010, for a capacity constraint).

The MNL-Bandit asks what happens when the MNL parameters are unknown and must be learned from the purchases themselves, while revenue is being earned. Earlier approaches (Rusmevichientong, Shen and Shmoys 2010; Sauré and Zeevi 2013) separate exploration from exploitation and need the gap between the best and the second-best assortment to be known. Agrawal, Avadhanula, Goyal and Zeevi (Oper. Res. 2019, arXiv:1706.03880) give a single upper-confidence-bound policy whose regret is of order NT\sqrt{NT}NT​ up to logarithmic factors, with no such knowledge. This mission formalizes that result, Theorem 1 of the paper.

Setting

There are NNN products with known revenues ri∈[0,1]r_i\in[0,1]ri​∈[0,1]. At each time t=1,…,Tt=1,\dots,Tt=1,…,T the seller offers an assortment StS_tSt​ from a family S\mathcal SS of feasible subsets of {1,…,N}\{1,\dots,N\}{1,…,N}, and one customer either buys a product ct∈Stc_t\in S_tct​∈St​ or buys nothing (ct=0c_t=0ct​=0). Given St=SS_t=SSt​=S, the choice follows the MNL model with attraction parameters v1,…,vN≥0v_1,\dots,v_N\ge0v1​,…,vN​≥0 and v0=1v_0=1v0​=1:

pi(S)=vi1+∑j∈Svj(i∈S∪{0}),pi(S)=0 otherwise,p_i(S)=\frac{v_i}{1+\sum_{j\in S}v_j}\quad(i\in S\cup\{0\}),\qquad p_i(S)=0\ \text{otherwise},pi​(S)=1+∑j∈S​vj​vi​​(i∈S∪{0}),pi​(S)=0 otherwise,

independently of the past. The expected revenue of SSS is R(S,v)=∑i∈Srivi/(1+∑j∈Svj)R(S,v)=\sum_{i\in S}r_iv_i\big/\big(1+\sum_{j\in S}v_j\big)R(S,v)=∑i∈S​ri​vi​/(1+∑j∈S​vj​). The family S\mathcal SS is described by totally unimodular constraints, S={S:A x(S)≤b}\mathcal S=\{S : A\,x(S)\le b\}S={S:Ax(S)≤b} with x(S)x(S)x(S) the incidence vector of SSS, AAA totally unimodular and bbb integral (cardinality constraints are the main example). A policy chooses StS_tSt​ from the past choices, and its regret is

Regπ(T,v)=T R(S∗,v)−Eπ[∑t=1TR(St,v)],R(S∗,v)=max⁡S∈SR(S,v).\mathrm{Reg}_\pi(T,v)=T\,R(S^*,v)-\mathbb E_\pi\Big[\sum_{t=1}^TR(S_t,v)\Big],\qquad R(S^*,v)=\max_{S\in\mathcal S}R(S,v).Regπ​(T,v)=TR(S∗,v)−Eπ​[t=1∑T​R(St​,v)],R(S∗,v)=S∈Smax​R(S,v).

The seller knows rrr and S\mathcal SS but not vvv.

Algorithm 1 works in epochs: epoch ℓ\ellℓ offers one assortment SℓS_\ellSℓ​ repeatedly until a customer buys nothing. Let v^i,ℓ\hat v_{i,\ell}v^i,ℓ​ be the number of purchases of iii in epoch ℓ\ellℓ, Ti(ℓ)T_i(\ell)Ti​(ℓ) the number of the first ℓ\ellℓ epochs that offered iii, and vˉi,ℓ\bar v_{i,\ell}vˉi,ℓ​ the average of v^i,τ\hat v_{i,\tau}v^i,τ​ over those epochs. The algorithm forms the upper confidence bounds

vi,ℓUCB=vˉi,ℓ+vˉi,ℓ 48log⁡(Nℓ+1)Ti(ℓ)+48log⁡(Nℓ+1)Ti(ℓ),v^{\mathrm{UCB}}_{i,\ell}=\bar v_{i,\ell}+\sqrt{\bar v_{i,\ell}\,\frac{48\log(\sqrt N\ell+1)}{T_i(\ell)}}+\frac{48\log(\sqrt N\ell+1)}{T_i(\ell)},vi,ℓUCB​=vˉi,ℓ​+vˉi,ℓ​Ti​(ℓ)48log(N​ℓ+1)​​+Ti​(ℓ)48log(N​ℓ+1)​,

starting from vi,0UCB=1v^{\mathrm{UCB}}_{i,0}=1vi,0UCB​=1, and offers next the assortment in S\mathcal SS that maximizes R(S,v⋅,ℓUCB)R(S,v^{\mathrm{UCB}}_{\cdot,\ell})R(S,v⋅,ℓUCB​).

Formalization targets

Goal: Theorem 1 (p. 11)

Under Assumption 4.1 (every vi≤v0=1v_i\le v_0=1vi​≤v0​=1, and S\mathcal SS is closed under taking subsets) there are absolute constants C1,C2C_1,C_2C1​,C2​ such that for every instance and every horizon TTT,

Regπ(T,v)≤C1NTlog⁡NT+C2Nlog⁡2NT.\mathrm{Reg}_\pi(T,v)\le C_1\sqrt{NT\log NT}+C_2N\log^2NT .Regπ​(T,v)≤C1​NTlogNT​+C2​Nlog2NT.

The constants are not fixed: the goal asserts the order of the regret, which is what the paper claims.

Milestones

The milestones follow the proof in Appendix A of the paper:

  1. The law of an epoch's purchase count: Lemma A.1, its moment generating function given the offered assortment.
  2. Concentration: Theorem 5, Chernoff bounds for geometric variables; Corollary D.1; and Lemma A.2 for the averages vˉi,ℓ\bar v_{i,\ell}vˉi,ℓ​ along Algorithm 1.
  3. Lemma 4.1: vi,ℓUCB≥viv^{\mathrm{UCB}}_{i,\ell}\ge v_ivi,ℓUCB​≥vi​ with probability at least 1−6/(Nℓ)1-6/(N\ell)1−6/(Nℓ), and its rate of convergence.
  4. Optimism of the revenue estimate: Lemma A.3 (monotonicity of the optimal revenue in vvv) and Lemma 4.2.
  5. The per-epoch error: Lemma A.4 (a Lipschitz bound) and Lemma 4.3.
  6. The epoch decomposition of the regret, (A.14).

Significance

Theorem 1 shows that learning the choice model costs only O~(NT)\tilde O(\sqrt{NT})O~(NT​) revenue, with no dependence on how separated the instance is. The paper also proves a lower bound of order NT/K\sqrt{NT/K}NT/K​ under a KKK-cardinality constraint (its Theorem 2), so for small KKK the bound is optimal up to logarithmic factors. The epoch device used here reduces the analysis of a choice model with substitution to unbiased i.i.d. estimates of each viv_ivi​.

The result is proved in the paper (Appendix A, with the concentration bounds in Appendix D). It has not been machine-checked. A formal proof would also settle several printed slips that the formalization had to repair (listed under Formalization scope). The concentration bounds for geometric variables, Theorem 5 and Corollary D.1, are useful outside this mission.

Difficulty

The estimates v^i,ℓ\hat v_{i,\ell}v^i,ℓ​ are counted in epochs whose assortments are chosen adaptively from earlier estimates, so they are not independent a priori. The paper's argument that they are i.i.d. geometric with mean viv_ivi​ has to be made rigorous for an adaptive policy. The variables are unbounded, so the standard Chernoff–Hoeffding bounds for bounded variables do not apply, and the number of samples Ti(ℓ)T_i(\ell)Ti​(ℓ) is random, which requires a union bound over all its possible values. Finally, the regret is a sum over customers while the analysis is per epoch, and the two are linked through the expected epoch length 1+∑j∈Sℓvj1+\sum_{j\in S_\ell}v_j1+∑j∈Sℓ​​vj​ under a random number of epochs and a horizon that cuts the last one.

Formalization scope

  • Model. Products are Fin N; a choice is none (no purchase) or some i. The parameter v0v_0v0​ is normalized to 111, as the paper allows. Algorithm 1 is deterministic, so a history of horizon TTT is a sequence of TTT choices with the product law ∏tpct(St)\prod_tp_{c_t}(S_t)∏t​pct​​(St​), and every expectation is a finite sum. The revenue R(S,v)R(S,v)R(S,v) is the published definition ChoiceCDLP.MNL.mnlObjective v r 1 S.
  • Feasible family. S\mathcal SS is a finite family with the TU representation (2.3), closed under subsets, and nonempty (the paper presupposes nonemptiness when it writes S∗=arg⁡max⁡S^*=\arg\maxS∗=argmax).
  • Algorithm. Algorithm 1 is a policy defined by recursion on the history. It receives rrr and an argmax selector for S\mathcal SS, never vvv. Every statement quantifies over all selectors, that is, over every tie-breaking rule. While a product has never been offered, its vUCBv^{\mathrm{UCB}}vUCB stays at the initial value 111.
  • Epoch events. The lemmas about epoch ℓ\ellℓ are stated for every finite horizon TTT, on the event that epoch ℓ\ellℓ is completed by customer TTT; uniformity in TTT is the paper's infinite-horizon statement.
  • Repairs of the page, all disclosed in the items:
    1. Lemma A.2's misprinted log⁡(ℓ+1)\log(\ell+1)log(ℓ+1) is replaced by log⁡(Nℓ+1)\log(\sqrt N\ell+1)log(N​ℓ+1).
    2. Lemmas 4.2 and 4.3 are indexed by the estimate built at the end of epoch ℓ\ellℓ.
    3. Lemma 4.3's free index iii becomes the sum over i∈Sℓ+1i\in S_{\ell+1}i∈Sℓ+1​.
    4. Lemmas 4.1 and 4.3 use the explicit constants C1=72+24C_1=\sqrt{72}+\sqrt{24}C1​=72​+24​ and C2=144C_2=144C2​=144 of the proof.
    5. Lemma A.3 and Lemma 4.2 require positive parameters on the optimal set; the printed versions are false otherwise.
    6. (A.14) is an inequality, since the horizon cuts the last epoch.
  • Not stated. Corollary A.1 (the epoch estimates are i.i.d. geometric across the epochs of the adaptive policy) is not posed as an item: a single-epoch law would be a weaker statement than the page's.
  • No trivialization. The policy cannot see vvv, the constants of the goal precede every other quantifier, and the regret is the paper's (2.6), so the goal cannot be met by a policy that offers S∗S^*S∗ or by constants that depend on the instance.
  • Welcome contributions. Infrastructure for adaptive sampling (the i.i.d. property of the epoch estimates), Chernoff bounds for geometric and sub-exponential variables, and a Wald-type identity for epochs.

The paper's own proofs are in its Appendices A and D.

Selected references

  • S. Agrawal, V. Avadhanula, V. Goyal, A. Zeevi, MNL-Bandit: A Dynamic Learning Approach to Assortment Selection, Operations Research 67(5):1453–1485, 2019. arXiv:1706.03880v2, doi:10.1287/opre.2018.1832
  • P. Rusmevichientong, Z.-J. M. Shen, D. B. Shmoys, Dynamic assortment optimization with a multinomial logit choice model and capacity constraint, Operations Research 58(6):1666–1680, 2010. doi:10.1287/opre.1100.0866
  • D. Sauré, A. Zeevi, Optimal dynamic assortment planning with demand learning, Manufacturing & Service Operations Management 15(3):387–404, 2013. doi:10.1287/msom.2013.0429
  • K. Talluri, G. van Ryzin, Revenue management under a general discrete choice model of consumer behavior, Management Science 50(1):15–33, 2004. doi:10.1287/mnsc.1030.0147
  • M. Mitzenmacher, E. Upfal, Probability and Computing, Cambridge University Press, 2005.
15 thms1 active userReviewed
OptimizationProbabilityStatistics·Captain: mikedeng1

Statistics of Robust Optimization: A Generalized Empirical Likelihood Approach 2: Empirical Likelihood Intervals for the Optimal Value inf_x E[ℓ(x;ξ)] Have Exact Coverage P(χ²₁ ≤ ρ)Research Paper

Why coverage of an optimal value matters

Many stochastic optimization problems choose a decision by minimizing an expected loss. The optimum depends on an unknown distribution, so a data-based optimum alone gives no measure of uncertainty about the best achievable expected loss. This mission concerns a confidence set for that optimal value, rather than a confidence set for the decision itself. The result of Duchi, Glynn, and Namkoong shows that a broad class of divergence neighborhoods of the empirical distribution yields a calibrated limit for this set. The same construction covers nonsmooth losses and constrained decisions when the regularity assumptions below hold.

The paper develops generalized empirical likelihood for smooth functionals of a distribution and then applies it to optimization. Its Theorem 3 states the exact asymptotic coverage result for the optimal value; Appendix C identifies the functional derivative, while Appendix B gives the uniform linearization and expansion on which calibration rests. The statistical result is proved in the paper. The mission asks for a machine-checked development of its statements and proof under an explicit nondegeneracy condition required by the paper's general coverage theorem.

Decisions, losses, and divergence neighborhoods

Let X⊆Rd\mathcal X\subseteq\mathbb R^dX⊆Rd be a nonempty compact decision set. An observation ξ\xiξ has population law P0P_0P0​, and ℓ(x;ξ)∈R\ell(x;\xi)\in\mathbb Rℓ(x;ξ)∈R is the loss at decision xxx. The quantity of interest is the optimal-value functional

Topt(P)=inf⁡x∈XEP[ℓ(x;ξ)].T_{\rm opt}(P)=\inf_{x\in\mathcal X}\mathbb E_P[\ell(x;\xi)].Topt​(P)=x∈Xinf​EP​[ℓ(x;ξ)].

The observations ξ1,…,ξn\xi_1,\ldots,\xi_nξ1​,…,ξn​ are independent and identically distributed with law P0P_0P0​. Write P^n\widehat P_nPn​ for their empirical distribution. A candidate distribution supported on the indexed observations is represented by nonnegative weights pip_ipi​ with ∑ipi=1\sum_i p_i=1∑i​pi​=1. Indexed weights also cover samples with repeated observations. For a convex divergence generator fff normalized by f(1)=f′(1)=0f(1)=f'(1)=0f(1)=f′(1)=0 and f′′(1)=2f''(1)=2f′′(1)=2, its divergence from the empirical law is Df(p∥P^n)=n−1∑if(npi)D_f(p\|\widehat P_n)=n^{-1}\sum_i f(np_i)Df​(p∥Pn​)=n−1∑i​f(npi​). Assumption A further requires fff to be three times continuously differentiable near 111; it permits f(0)=+∞f(0)=+\inftyf(0)=+∞.

At radius ρ/n\rho/nρ/n, the divergence ball consists of the weights with ∑if(npi)≤ρ\sum_i f(np_i)\le\rho∑i​f(npi​)≤ρ. The confidence set is its image under ToptT_{\rm opt}Topt​:

Cn,ρ={Topt(p):Df(p∥P^n)≤ρ/n}.C_{n,\rho}=\{T_{\rm opt}(p):D_f(p\|\widehat P_n)\le\rho/n\}.Cn,ρ​={Topt​(p):Df​(p∥Pn​)≤ρ/n}.

Assumption B makes X\mathcal XX compact and requires ℓ(⋅;ξ)\ell(\cdot;\xi)ℓ(⋅;ξ) to be Lipschitz on it with a measurable random coefficient M(ξ)M(\xi)M(ξ). The theorem adds finite second moments for MMM and for the loss at one feasible decision. These conditions control losses at every feasible decision. They also make the population and weighted empirical infima finite on the cases used in the limit.

Formalization targets

The goal is the exact asymptotic coverage of the population optimal value, with x⋆x^\starx⋆ the unique optimizer and Var⁡P0(ℓ(x⋆;ξ))>0\operatorname{Var}_{P_0}(\ell(x^\star;\xi))>0VarP0​​(ℓ(x⋆;ξ))>0:

P∗ ⁣(Topt(P0)∈Cn,ρ)⟶P(χ12≤ρ),ρ≥0.P^*\!\left(T_{\rm opt}(P_0)\in C_{n,\rho}\right)\longrightarrow P(\chi_1^2\le\rho),\qquad \rho\ge0.P∗(Topt​(P0​)∈Cn,ρ​)⟶P(χ12​≤ρ),ρ≥0.

Here P∗P^*P∗ denotes outer probability, and χ12\chi_1^2χ12​ is the square of a standard normal variable. The milestone statements follow the paper's path to this theorem. Lemma 17 gives the directional derivative of an optimal-value functional. Lemma 13 bounds feasible empirical weights relative to uniform weights. Lemma 16 makes the nonlinear remainder uniformly negligible on the divergence ball. The display after (37) then gives a first-order expansion of the upper endpoint of Cn,ρC_{n,\rho}Cn,ρ​; the next display gives its one-sided Gaussian coverage limit. The goal concerns membership in the image set Cn,ρC_{n,\rho}Cn,ρ​, including both sides of that interval.

What the result provides

The limit specifies a radius through a one degree of freedom chi square quantile. It applies to the value of a constrained stochastic optimization problem without requiring the optimizer or the loss to be differentiable. The positive variance condition ensures that the influence function supplies a genuine Gaussian scale. Without such a condition, a deterministic optimal loss can make coverage identically one, so the stated chi square limit would fail. The general theorem in the paper explicitly requires positive influence variance; this mission makes the condition visible in the specialized optimal-value statement.

A complete formalization would connect finite-sample divergence geometry to an asymptotic confidence claim about an optimization functional. The empirical mean and variance definitions, divergence ball, and normalized generator already exist as reusable declarations. This mission adds the optimal-value functional, its influence function, the nonlinear remainder, and the statistical limits. Those definitions can also support later confidence statements for other stochastic optimization models. The result is proved in the source paper; the Lean statements here are open targets awaiting proofs.

The mathematical obstacle

Pointwise control of each loss ℓ(x;ξ)\ell(x;\xi)ℓ(x;ξ) is insufficient for the optimal value: the decision minimizing an empirical weighted objective can move with the weights. A pointwise mean expansion therefore does not by itself control the infimum over xxx. The required limit combines uniform control over the loss class with sensitivity of the infimum functional near its population minimizer. The uniform remainder in Lemma 16 is stronger than a statement for the ordinary empirical distribution because it covers every distribution in the shrinking divergence ball. The final event is membership in the image of that ball; bounds on its upper endpoint alone do not establish two-sided coverage.

Formalization scope

Lean represents decisions by EuclideanSpace ℝ (Fin d) and assumes a nonempty compact feasible set. Assumption B uses its Euclidean norm. The paper allows any norm in finite dimension; norm equivalence permits this choice after rescaling the Lipschitz coefficient. The population law is the pushforward of the first measurable observation from a probability space. Samples are indexed from zero, so the first nnn observations are indices 0,…,n−10,\ldots,n-10,…,n−1. Independence and identical distribution are explicit hypotheses. Loss measurability is explicit so the population integrals have their intended values. Square integrability and compact Lipschitz control keep the real infima meaningful.

The generator takes values in EReal so a divergence infinite at zero is representable. The ball uses the published probability uncertainty set with radius ρ/n\rho/nρ/n and includes nonnegativity and unit mass. Its weights represent distributions absolutely continuous with respect to the empirical law. With tied observations, equal splitting across copies preserves the induced distribution and does not increase a convex divergence. The upper endpoint is sup⁡pinf⁡x\sup_p\inf_xsupp​infx​; the different minimax expression inf⁡xsup⁡p\inf_x\sup_pinfx​supp​ is not substituted. The chi square target uses the standard Gaussian measure of {z:z2≤ρ}\{z:z^2\le\rho\}{z:z2≤ρ}.

Mathlib measures are outer measures on arbitrary sets, so the probability of a possibly nonmeasurable membership or supremum event is the paper's outer probability. The Lemma 17 milestone expresses a signed measure through its action H(x)H(x)H(x) on the losses, as Appendix C.2 does, and uses positive directional steps. Real suprema and infima are used only where the hypotheses provide nonempty bounded values. The variance hypothesis rules out the trivial deterministic-loss counterexample. Useful contributions include the compactness and continuity facts needed for those extrema, the action-level derivative, empirical process limits, and the final two-sided event argument.

Selected references

  • John C. Duchi, Peter W. Glynn, and Hongseok Namkoong, Statistics of Robust Optimization: A Generalized Empirical Likelihood Approach, arXiv:1610.03425v3, 2018; published in Mathematics of Operations Research 46(3), 2021. arXiv preprint
21 thms1 active userReviewed
CombinatoricsProbabilityTheoretical Computer Science·Captain: mikedeng1

Online Stochastic Matching: Beating 1-1/e 3: No Online Algorithm Beats Expected Approximation Factor 26/27 on a 6-Cycle, and None Reaches 1 − o(1) on Disjoint 6-CyclesResearch Paper

Motivation

Online bipartite matching asks an algorithm to assign arriving requests to resources it cannot reassign later. In display advertising, the requests are page views (impressions) and the resources are advertisers who have bought a fixed number of impressions in advance; each impression must be served immediately or lost. In the adversarial model, Karp, Vazirani and Vazirani (STOC 1990) showed that the RANKING algorithm achieves a 1−1/e1 - 1/e1−1/e fraction of the optimum in expectation, and that no online algorithm does better. Advertising systems, however, have historical traffic data, which motivates the i.i.d. model: the impression types are drawn independently from a distribution that is known in advance.

Feldman, Mehta, Mirrokni and Muthukrishnan (arXiv:0905.4100, FOCS 2009) were the first to beat 1−1/e1 - 1/e1−1/e in this model, with an algorithm that achieves ≈0.67\approx 0.67≈0.67 with high probability. Their Section 3 asks the complementary question: how close to 111 can any online algorithm get when the distribution is known? Their Theorem 3 answers that the expected approximation factor of every online algorithm is bounded strictly away from 111, already on a graph with six vertices. Later work in the same model (Manshadi, Oveis Gharan and Saberi, SODA 2011, arXiv:1007.1673) sharpened both the algorithmic and the hardness side.

Setting

An instance consists of a bipartite graph G=(A,I,E)G = (A, I, E)G=(A,I,E) between a finite set AAA of advertisers and a finite set III of impression types, a distribution DDD on III, and a number nnn of arrivals. In this mission DDD is the uniform distribution on III. Online, nnn impressions arrive one at a time; their types ω(0),…,ω(n−1)\omega(0), \dots, \omega(n-1)ω(0),…,ω(n−1) are independent draws from DDD. When impression ttt arrives, the algorithm must immediately either assign it to an advertiser aaa with (a,ω(t))∈E(a, \omega(t)) \in E(a,ω(t))∈E that has not yet been used, or leave it unassigned. Each advertiser can be used at most once, and decisions are final.

A deterministic online algorithm decides what to do with arrival ttt from the types ω(0),…,ω(t)\omega(0), \dots, \omega(t)ω(0),…,ω(t) seen so far; it knows GGG, DDD and nnn, but not the future. A randomized online algorithm is a probability distribution over deterministic ones. ALG(ω)\mathrm{ALG}(\omega)ALG(ω) is the number of impressions the algorithm assigns on the arrival sequence ω\omegaω. OPT(ω)\mathrm{OPT}(\omega)OPT(ω) is the size of a maximum matching of the realization graph, which has one node per arrival ttt, joined to every advertiser adjacent to ω(t)\omega(t)ω(t): the most impressions that could have been assigned with hindsight. The expected approximation factor of an algorithm is

E ⁣[ALG(ω)OPT(ω)],\mathbb E\!\left[\frac{\mathrm{ALG}(\omega)}{\mathrm{OPT}(\omega)}\right],E[OPT(ω)ALG(ω)​],

the expectation taken over the algorithm's randomness and the arrivals.

The 6-cycle instance has A={a,b,c}A = \{a, b, c\}A={a,b,c}, I={x,y,z}I = \{x, y, z\}I={x,y,z} and E={(x,a),(y,a),(y,b),(z,b),(z,c),(x,c)}E = \{(x,a),(y,a),(y,b),(z,b),(z,c),(x,c)\}E={(x,a),(y,a),(y,b),(z,b),(z,c),(x,c)}, with the uniform distribution and n=3n = 3n=3. The family Γk\Gamma_kΓk​ consists of kkk disjoint copies of the 6-cycle, with the uniform distribution on its 3k3k3k impression types and n=3kn = 3kn=3k arrivals.

Formalization targets

Goal: Theorem 3

On the 6-cycle, every randomized online algorithm satisfies

E ⁣[ALGOPT]≤2627,\mathbb E\!\left[\frac{\mathrm{ALG}}{\mathrm{OPT}}\right] \le \frac{26}{27},E[OPTALG​]≤2726​,

and there are a constant c<1c < 1c<1 and a threshold K0K_0K0​ such that for every k≥K0k \ge K_0k≥K0​ and every randomized online algorithm on Γk\Gamma_kΓk​,

E ⁣[ALGOPT]≤c.\mathbb E\!\left[\frac{\mathrm{ALG}}{\mathrm{OPT}}\right] \le c .E[OPTALG​]≤c.

The second part is the paper's "there exists a family of instances with n→∞n \to \inftyn→∞ for which no algorithm can achieve an expected approximation of 1−o(1)1 - o(1)1−o(1)", stated on the paper's own family. It leaves ccc unspecified: Appendix B estimates c≈0.9898c \approx 0.9898c≈0.9898 through approximate counts, and a sharper constant would not invalidate the goal.

Milestones

  1. The (x,y,y)(x, y, y)(x,y,y) scenario (§3, p. 4). For every deterministic online algorithm on the 6-cycle and every type uuu of the first arrival there is a type vvv with ALG(u,v,v)≤2\mathrm{ALG}(u, v, v) \le 2ALG(u,v,v)≤2 and OPT(u,v,v)=3\mathrm{OPT}(u, v, v) = 3OPT(u,v,v)=3.
  2. Theorem 3, first sentence (p. 4). The bound 26/2726/2726/27 on the 6-cycle, for every randomized online algorithm.

Significance

Theorem 3 sets the ceiling against which algorithms in the i.i.d. model are measured. It rules out an online algorithm with expected factor arbitrarily close to 111, even though the distribution is known and the instance is tiny, so a constant-factor gap between online and offline matching is intrinsic to the model and not an artefact of adversarial arrivals. The paper's positive results (1−1/e1 - 1/e1−1/e for the Suggested Matching algorithm, ≈0.67\approx 0.67≈0.67 for Two Suggested Matchings) sit between 1−1/e1 - 1/e1−1/e and this ceiling.

The single-instance bound has a short counting proof. The family statement is argued in the paper only in outline: Appendix B approximates the fractions of copies receiving 111, 222, 333 or more impressions, assumes the most favourable outcome on each, and reports the resulting ratio as approximately 0.98980.98980.9898. A machine-checked proof of the family statement would turn that sketch into a theorem with an explicit constant. To our knowledge neither part has been formalized before.

Difficulty

The single-cycle bound reduces to a finite check, but the paper's "without loss of generality (from the symmetry of the 6-cycle)" hides the cases the algorithm can choose: assigning the first impression to either neighbour, or not assigning it at all. Each case needs its own bad continuation. The passage from deterministic to randomized algorithms is an averaging step.

The family bound is harder. On Γk\Gamma_kΓk​ the algorithm sees all arrivals in all copies and may coordinate its decisions across copies, so the per-copy loss of the single cycle does not transfer by independence. Moreover the target is the expectation of a ratio, E[ALG/OPT]\mathbb E[\mathrm{ALG}/\mathrm{OPT}]E[ALG/OPT], not a ratio of expectations: a bound on the expected loss must be combined with concentration of the number of copies that receive exactly three impressions, and with a lower bound on OPT\mathrm{OPT}OPT that holds with high probability. The approximations "≃3/e3\simeq 3/e^3≃3/e3, 9/(2e3)9/(2e^3)9/(2e3), 27/(6e3)27/(6e^3)27/(6e3)" of Appendix B have unquantified errors and cannot be used as they stand.

Formalization scope

The model is formalized for general finite AAA and III with uniform arrivals. Arrival sequences are functions Fin n → I. A deterministic online algorithm is a function that receives the time ttt, the prefix of the first ttt types (Fin t → I) and the current type, and returns an advertiser or none; it cannot read later arrivals. A proposal of a non-adjacent or already used advertiser leaves the impression unassigned, so the encoding covers all online algorithms, including ones that skip an impression while a neighbour is free. A randomized online algorithm is a probability distribution (PMF) on the finite type of deterministic algorithms; by Kuhn's theorem this is equivalent to fresh random choices at each step. OPT\mathrm{OPT}OPT is the maximum size of an injective, edge-respecting partial assignment of arrivals to advertisers. The expected approximation factor is a finite average over all ∣I∣n|I|^n∣I∣n arrival sequences, weighted by the algorithm distribution.

The explicit instantiations of the paper's asymptotic wording are as follows:

  • "no algorithm can achieve an expected approximation of 1−o(1)1 - o(1)1−o(1)" becomes ∃ c<1, ∃K0, ∀k≥K0, ∀P: E[ALG/OPT]≤c\exists\, c < 1,\ \exists K_0,\ \forall k \ge K_0,\ \forall P:\ \mathbb E[\mathrm{ALG}/\mathrm{OPT}] \le c∃c<1, ∃K0​, ∀k≥K0​, ∀P: E[ALG/OPT]≤c on Γk\Gamma_kΓk​, with n=3kn = 3kn=3k tied to kkk, and with ccc and K0K_0K0​ chosen before kkk and before the algorithm.
  • The paper's constant 0.98980.98980.9898 is not part of the statement.

Lean's division sets x/0=0x/0 = 0x/0=0. A formalization of the form "there is an instance on which every algorithm has expected factor at most 26/2726/2726/27" would be satisfied trivially by a graph without edges, where OPT=0\mathrm{OPT} = 0OPT=0; the statements here are on the paper's explicit instances, where every impression type has an adjacent advertiser and OPT≥1\mathrm{OPT} \ge 1OPT≥1 on every arrival sequence.

A complete development needs finite case analysis on runs of online algorithms, averaging over mixed strategies, and, for the family, concentration inequalities for occupancy counts (Azuma or McDiarmid, both available on the platform) together with bounds on maximum matchings of disjoint unions. The online-algorithm model and the averaging lemmas are reusable for other lower bounds in the i.i.d. model. Proofs of either milestone, and independent proofs of the family statement with any explicit c<1c < 1c<1, are welcome.

Selected references

  • J. Feldman, A. Mehta, V. Mirrokni, S. Muthukrishnan, Online Stochastic Matching: Beating 1-1/e, FOCS 2009; arXiv:0905.4100v1. https://arxiv.org/abs/0905.4100
  • R. M. Karp, U. V. Vazirani, V. V. Vazirani, An optimal algorithm for on-line bipartite matching, STOC 1990. https://doi.org/10.1145/100216.100262
  • V. H. Manshadi, S. Oveis Gharan, A. Saberi, Online Stochastic Matching: Online Actions Based on Offline Statistics, SODA 2011; arXiv:1007.1673. https://arxiv.org/abs/1007.1673
5 thms1 active userReviewed
CombinatoricsProbabilityTheoretical Computer Science·Captain: mikedeng1

Online Stochastic Matching: Beating 1-1/e 2: The Suggested Matching Algorithm Achieves 1 − 1/e with High Probability, and This Is Tight Even in ExpectationResearch Paper

Motivation

Online bipartite matching models decisions that must be made as requests arrive: an advertiser can be assigned to a compatible request once, and an assignment cannot be revised when later requests reveal a better alternative. Display advertising is the motivating example in Feldman, Mehta, Mirrokni, and Muthukrishnan's 2009 preprint: an ad server knows which advertisers accept each kind of impression and has estimates of how frequently those kinds will arrive. The question is how much this advance distributional information helps when decisions still have to be immediate.

This mission studies the paper's first offline-guided algorithm. It computes a maximum matching for the expected traffic and follows that matching during the actual random run. The paper shows that this natural policy reaches the familiar 1−1/e1-1/e1−1/e performance level and that its own analysis cannot be improved for this policy, even if performance is averaged over runs. The result sets the baseline for the paper's later two-suggested-matchings algorithm, which improves on that level under its stated assumptions. Feldman et al., §§1 and 4.1

Setting

An instance consists of a finite advertiser set AAA, a finite impression-type set III, and allowed edges E⊆A×IE\subseteq A\times IE⊆A×I. For each type iii, the nonnegative integer eie_iei​ is its expected number of arrivals. There are n=∑i∈Iei>0n=\sum_{i\in I}e_i>0n=∑i∈I​ei​>0 arrivals. Each arrival independently has type iii with probability ei/ne_i/nei​/n. A type with ei=0e_i=0ei​=0 remains in the graph but has zero arrival probability. On an arrival of type iii, an online algorithm may assign it to an adjacent advertiser that has not been assigned before, or may leave it unassigned. The hindsight optimum, OPT(ω)\mathrm{OPT}(\omega)OPT(ω), is the largest matching in the realization graph with one vertex for every arrival position, including separate vertices for repeated types. Feldman et al., §2, pp. 3–4

The suggested matching algorithm first selects any maximum integral flow in the expected-instance network. Each advertiser has capacity one, and each type iii has capacity eie_iei​. Equivalently, the selected edges form a maximum degree-capped bipartite matching M⊆EM\subseteq EM⊆E. Let A∗A^*A∗ be the advertisers covered by MMM. When type iii arrives, the algorithm chooses each advertiser joined to iii by a selected edge with probability 1/ei1/e_i1/ei​; any remaining probability chooses no advertiser. It assigns the chosen advertiser if available and otherwise makes no assignment. Its number of assignments is ALG(ω)\mathrm{ALG}(\omega)ALG(ω). This rule includes the algorithm's random choice in addition to the random arrival types. Feldman et al., §4.1, p. 5

The canonical residual cut of MMM places each advertiser and impression type on the source side if it is reachable from the source by residual edges. Write ATA_TAT​ for advertisers on the sink side and ISI_SIS​ for types on the source side. These sets describe the comparison between the expected-instance matching and the optimum of a realized run. The mission also uses occupancy: after nnn independent uniform throws into nnn bins, count how many bins in a fixed subset receive at least one ball. Feldman et al., §§2.1 and 4.1

Formalization targets

Theorem 4's general-instance guarantee is expressed in the additive form established by its analysis. For every ε>0\varepsilon>0ε>0, there are δ>0\delta>0δ>0 and NNN, uniform across all finite instances, all maximum integral flows, and all valid ways of realizing the algorithm's random choice, such that n≥Nn\ge Nn≥N implies

Pr⁡ ⁣[ALG(ω)≥(1−e−1)OPT(ω)−εn]≥1−e−δn.\Pr\!\left[\mathrm{ALG}(\omega)\ge(1-e^{-1})\mathrm{OPT}(\omega)-\varepsilon n\right] \ge 1-e^{-\delta n}.Pr[ALG(ω)≥(1−e−1)OPT(ω)−εn]≥1−e−δn.

The complete bipartite family gives the tightness target. When A=I={0,…,n−1}A=I=\{0,\ldots,n-1\}A=I={0,…,n−1} and every ei=1e_i=1ei​=1, every maximum expected-instance matching is perfect. For every run, OPT=n\mathrm{OPT}=nOPT=n, and

E[ALG]=n(1−(1−1n)n),lim⁡n→∞E[ALG]n=1−e−1.\mathbb E[\mathrm{ALG}] =n\left(1-\left(1-\frac1n\right)^n\right), \qquad \lim_{n\to\infty}\frac{\mathbb E[\mathrm{ALG}]}{n}=1-e^{-1}.E[ALG]=n(1−(1−n1​)n),n→∞lim​nE[ALG]​=1−e−1.

The milestone list follows the paper's Fact 1 and the named passages “Bounding ALG,” “Bounding OPT,” and “Tightness of the Analysis” in §4.1. The cut identity ∣A∗∣=∣AT∣+∑i∈ISei|A^*|=|A_T|+\sum_{i\in I_S}e_i∣A∗∣=∣AT​∣+∑i∈IS​​ei​ is a separate deterministic milestone. Feldman et al., Theorem 4 and §4.1, pp. 5–6

Significance

The result establishes exactly what this one-matching policy achieves under integer-frequency independent arrivals. It gives a guarantee for the actual number of assignments relative to the best assignment made with hindsight, and a family on which the limiting expected ratio equals the guarantee. That tight family explains why the paper introduces a second suggested matching rather than seeking a stronger bound for the same policy. Feldman et al., §4

The mathematical theorem is proved in the paper; the mission asks for its machine-checked formalization. The development would also provide reusable finite models of repeated-type realizations, integral degree-capped bipartite matchings, uniform occupancy, and residual reachability cuts. No machine-checked proof of these mission items is being claimed by this draft.

Difficulty

The expected-instance matching is selected before the arrivals, but the hindsight optimum can exploit the actual multiplicities of every type. Counting only the ads selected online does not compare the algorithm with that hindsight optimum. Also, a type may have several selected advertisers when ei>1e_i>1ei​>1, so replacing the algorithm's random choice by a deterministic designated ad would change its law. The cut and concentration statements have to apply uniformly to every maximum integral flow, including flows chosen by different tie-breaking rules. Feldman et al., §4.1, pp. 5–6

Formalization scope

Advertisers and types are finite Lean types. The edge relation is a finite set, and eie_iei​ and nnn are natural numbers with n=∑iei>0n=\sum_i e_i>0n=∑i​ei​>0. An integral maximum flow is represented by a maximum cardinality edge set with advertiser degree at most one and type-iii degree at most eie_iei​. The theorem quantifies over every such set. This is the unit-advertiser, integer-type-capacity flow used in §4.1, without a separate real-valued flow object. The canonical cut is defined through residual reachability. The hindsight optimum maximizes over matchings of the realized graph, with each arrival position distinct.

The run uses nnn independent uniform draws from ∑i{0,…,ei−1}\sum_i\{0,\ldots,e_i-1\}∑i​{0,…,ei​−1}. A valid labelling assigns each selected advertiser at type iii to a distinct copy. The drawn copy determines the type and, if labelled, the ad selected by the algorithm. This gives type probability ei/ne_i/nei​/n, conditional ad probability 1/ei1/e_i1/ei​ on selected edges, and the remaining “no ad” probability. Counts, probabilities, and expectations use finite sums, so there is no integrability convention. Since n>0n>0n>0, the run sample space is nonempty; no value of ALG/OPT\mathrm{ALG}/\mathrm{OPT}ALG/OPT at OPT=0\mathrm{OPT}=0OPT=0 is needed. The complete-graph family has n≥1n\ge1n≥1.

The paper writes 1−e−Ω(n)1-e^{-\Omega(n)}1−e−Ω(n) in both bounding passages. The Lean statements spell this out as ∀ε>0, ∃δ>0, ∃N, ∀\forall\varepsilon>0,\ \exists\delta>0,\ \exists N,\ \forall∀ε>0, ∃δ>0, ∃N, ∀ instances with n≥Nn\ge Nn≥N, with δ,N\delta,Nδ,N preceding the instance. Theorem 4's ratio language is represented by the additive estimate its proof yields; a vanishing ratio error requires a separate lower bound on OPT/n\mathrm{OPT}/nOPT/n. The exact finite-nnn expectation and its limit make “tight, even in expectation” precise. The printed Fact 1 exponent is εn/2\varepsilon n/2εn/2, while its Appendix A proof yields ε2n/2\varepsilon^2n/2ε2n/2; the formalized concentration statement uses the proved exponent and the milestone retains the printed wording. Neither a ratio with a zero denominator nor a labelling that changes the algorithm's choice law is accepted as a shortcut.

Contributions toward the occupancy bound, the residual cut identity, the realized matching bound, and the complete-graph expectation are welcome. The finite occupancy and matching interfaces are intended for reuse beyond this specific algorithm.

Selected references

  • Jon Feldman, Aranyak Mehta, Vahab Mirrokni, and S. Muthukrishnan, Online Stochastic Matching: Beating 1-1/e, arXiv:0905.4100v1, 2009; FOCS 2009. Preprint
10 thms1 active userReviewed
Convex OptimizationOptimizationProbability·Captain: mikedeng1

Optimality and Duality Theory for Stochastic Optimization Problems with Nonlinear Dominance Constraints 3: The Dual Functional of a Dominance Constraint Is Minus an Expected Concave ConjugateResearch Paper

Dual decomposition of dominance constraints

A stochastic dominance constraint asks a random outcome XXX of a decision to be at least as good as a benchmark outcome YYY for every risk-averse decision maker: in the second-order version, E[u(X)]≥E[u(Y)]\mathbb E[u(X)] \ge \mathbb E[u(Y)]E[u(X)]≥E[u(Y)] for every concave nondecreasing utility uuu. Dentcheva and Ruszczyński introduced optimization problems with such constraints in Optimization with stochastic dominance constraints (SIAM J. Optim. 2003), where the outcome itself is the decision variable, and extended the theory in the paper this mission formalizes, Optimality and duality theory for stochastic optimization problems with nonlinear dominance constraints (Math. Program. 2004, DOI 10.1007/s10107-003-0453-z), to outcomes Xi=Gi(z)X_i = G_i(z)Xi​=Gi​(z) that depend nonlinearly on a decision zzz.

The paper's §4 builds a Lagrangian dual of these problems. The multipliers of the iii-th dominance constraint are a utility function uiu_iui​ and an almost-sure multiplier θi\theta_iθi​ for the coupling Xi=Gi(z)X_i = G_i(z)Xi​=Gi​(z). The dual functional splits into a part D0D_0D0​ that involves only the decision zzz and one part DiD_iDi​ per dominance constraint. This mission is about the second kind of part: Theorem 4 computes DiD_iDi​ in closed form as a concave conjugate, and Theorem 5 gives its subgradients. Those two facts are what make the dual problem amenable to nonsmooth optimization and decomposition methods, which is the purpose the paper states for them.

The underlying shortfall function F2(X;η)=∫−∞ηP[X≤α] dαF_2(X;\eta)=\int_{-\infty}^{\eta}P[X\le\alpha]\,d\alphaF2​(X;η)=∫−∞η​P[X≤α]dα and its dual characterization are due to Ogryczak and Ruszczyński (Dual stochastic dominance and related mean–risk models, SIAM J. Optim. 2002). The pure-dominance case of the optimality theory is the 2003 paper above.

Setting

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space, L1\mathcal L_1L1​ the integrable and L∞\mathcal L_\inftyL∞​ the essentially bounded random variables. Fix a bounded interval [a,b][a,b][a,b] (a≤ba\le ba≤b) and a reference outcome Y∈L1Y\in\mathcal L_1Y∈L1​.

The utility class U1([a,b])\mathcal U_1([a,b])U1​([a,b]) consists of the functions u:R→Ru:\mathbb R\to\mathbb Ru:R→R that are concave and nondecreasing, vanish on [b,∞)[b,\infty)[b,∞), and are affine on (−∞,a](-\infty,a](−∞,a]: u(t)=u(a)+c(t−a)u(t)=u(a)+c(t-a)u(t)=u(a)+c(t−a) for t≤at\le at≤a, with a constant c≥0c\ge 0c≥0. For such uuu, the left derivative u−′(a)u'_-(a)u−′​(a) at aaa is that slope ccc.

The concave conjugate of v:R→Rv:\mathbb R\to\mathbb Rv:R→R is

v∗(ξ)=inf⁡t∈R [ξt−v(t)]∈[−∞,+∞).v^*(\xi)=\inf_{t\in\mathbb R}\,[\xi t-v(t)]\in[-\infty,+\infty).v∗(ξ)=t∈Rinf​[ξt−v(t)]∈[−∞,+∞).

For a random variable ζ\zetaζ, v∗(ζ)v^*(\zeta)v∗(ζ) is the extended-real random variable ω↦v∗(ζ(ω))\omega\mapsto v^*(\zeta(\omega))ω↦v∗(ζ(ω)).

The dual functional of one dominance constraint, eq. (34), is

D(w,ζ)=sup⁡X∈L1E[w(X)−w(Y)−ζX]∈R‾,w∈U1([a,b]), ζ∈L∞.D(w,\zeta)=\sup_{X\in\mathcal L_1}\mathbb E\big[w(X)-w(Y)-\zeta X\big]\in\overline{\mathbb R},\qquad w\in\mathcal U_1([a,b]),\ \zeta\in\mathcal L_\infty .D(w,ζ)=X∈L1​sup​E[w(X)−w(Y)−ζX]∈R,w∈U1​([a,b]), ζ∈L∞​.

The functional of eq. (35) is f(v,ζ)=−E v∗(ζ)f(v,\zeta)=-\mathbb E\,v^*(\zeta)f(v,ζ)=−Ev∗(ζ), considered on Lip(R)×L1\mathrm{Lip}(\mathbb R)\times\mathcal L_1Lip(R)×L1​, where Lip(R)\mathrm{Lip}(\mathbb R)Lip(R) is the space of Lipschitz functions with norm ∥v∥Lip=∣v(0)∣+sup⁡t≠s∣v(t)−v(s)∣/∣t−s∣\|v\|_{\mathrm{Lip}}=|v(0)|+\sup_{t\ne s}|v(t)-v(s)|/|t-s|∥v∥Lip​=∣v(0)∣+supt=s​∣v(t)−v(s)∣/∣t−s∣.

Formalization targets

Goal: Theorem 4

For every v∈U1([a,b])v\in\mathcal U_1([a,b])v∈U1​([a,b]) and every ζ∈L∞\zeta\in\mathcal L_\inftyζ∈L∞​,

D(v,ζ)=−E[v∗(ζ)+v(Y)].D(v,\zeta)=-\mathbb E\big[v^*(\zeta)+v(Y)\big].D(v,ζ)=−E[v∗(ζ)+v(Y)].

The formal statement has two cases. If 0≤ζ≤v−′(a)0\le\zeta\le v'_-(a)0≤ζ≤v−′​(a) almost surely, then v∗(ζ)v^*(\zeta)v∗(ζ) is a.s. finite and integrable and the identity holds between real numbers. Otherwise D(v,ζ)=+∞D(v,\zeta)=+\inftyD(v,ζ)=+∞.

Milestones

  1. Unbounded cases (proof of Theorem 4, p. 13): P[ζ<0]>0⇒D(v,ζ)=+∞P[\zeta<0]>0 \Rightarrow D(v,\zeta)=+\inftyP[ζ<0]>0⇒D(v,ζ)=+∞; and P[ζ>v−′(a)]>0⇒D(v,ζ)=+∞P[\zeta>v'_-(a)]>0 \Rightarrow D(v,\zeta)=+\inftyP[ζ>v−′​(a)]>0⇒D(v,ζ)=+∞.
  2. Pointwise maximizer (p. 13): for 0≤ξ≤v−′(a)0\le\xi\le v'_-(a)0≤ξ≤v−′​(a), the function t↦v(t)−ξtt\mapsto v(t)-\xi tt↦v(t)−ξt attains its maximum at some t0∈[a,b]t_0\in[a,b]t0​∈[a,b], so v∗(ξ)=ξt0−v(t0)v^*(\xi)=\xi t_0-v(t_0)v∗(ξ)=ξt0​−v(t0​) is finite.
  3. Measurable selection (p. 13): if 0≤ζ≤v−′(a)0\le\zeta\le v'_-(a)0≤ζ≤v−′​(a) a.s., there is a measurable X∈[a,b]X\in[a,b]X∈[a,b] a.s. with X(ω)∈argmax⁡t[v(t)−ζ(ω)t]X(\omega)\in\operatorname{argmax}_t[v(t)-\zeta(\omega)t]X(ω)∈argmaxt​[v(t)−ζ(ω)t] a.s.
  4. Effective domain (p. 13): D(v,ζ)<+∞  ⟺  0≤ζ≤v−′(a)D(v,\zeta)<+\infty \iff 0\le\zeta\le v'_-(a)D(v,ζ)<+∞⟺0≤ζ≤v−′​(a) a.s.
  5. Theorem 5 (p. 14): for vˉ∈U1([a,b])\bar v\in\mathcal U_1([a,b])vˉ∈U1​([a,b]), ζˉ∈L1\bar\zeta\in\mathcal L_1ζˉ​∈L1​ with 0≤ζˉ≤vˉ−′(a)0\le\bar\zeta\le\bar v'_-(a)0≤ζˉ​≤vˉ−′​(a) a.s., and a measurable maximizer selection XXX with values in [a,b][a,b][a,b], the pair (PX,−X)(P_X,-X)(PX​,−X) is a subgradient of fff at (vˉ,ζˉ)(\bar v,\bar\zeta)(vˉ,ζˉ​):
f(v,ζ)≥f(vˉ,ζˉ)+∫(v−vˉ) dPX−E[X(ζ−ζˉ)]for all (v,ζ)∈Lip(R)×L1.f(v,\zeta)\ge f(\bar v,\bar\zeta)+\int\big(v-\bar v\big)\,dP_X-\mathbb E\big[X(\zeta-\bar\zeta)\big]\quad\text{for all }(v,\zeta)\in\mathrm{Lip}(\mathbb R)\times\mathcal L_1.f(v,ζ)≥f(vˉ,ζˉ​)+∫(v−vˉ)dPX​−E[X(ζ−ζˉ​)]for all (v,ζ)∈Lip(R)×L1​.

Significance

Theorem 4 reduces an optimization over the infinite-dimensional space L1\mathcal L_1L1​ to one scalar maximization per scenario: the dual functional is an expected conjugate. It identifies the effective domain of the dual in the multiplier ζ\zetaζ (bounded between 000 and the slope of the utility at the left end of the interval), and it makes evaluating DDD as cheap as evaluating v∗v^*v∗. Theorem 5 supplies explicit subgradients, the law of a maximizer and the maximizer itself, which is what bundle and cutting-plane methods for the dual problem (31) consume. The paper's §5–§6 build their finite-scenario theory and numerical method on this decomposition.

Both theorems are proved in the paper. Neither has a machine-checked proof; no concave conjugate on R\mathbb RR with values in [−∞,+∞)[-\infty,+\infty)[−∞,+∞), no dual functional of this kind, and no measurable-selection theorem for argmax correspondences of this shape exist on the platform. A complete formalization would provide reusable infrastructure: an extended-real concave conjugate, interchange of supremum and expectation for a scalar integrand with a bounded maximizer, and a concrete measurable-selection argument.

Difficulty

The hard step is the interchange sup⁡X∈L1E[ ⋅ ]=Esup⁡t[ ⋅ ]\sup_{X\in\mathcal L_1}\mathbb E[\,\cdot\,]=\mathbb E\sup_t[\,\cdot\,]supX∈L1​​E[⋅]=Esupt​[⋅]. The inequality "≤\le≤" is pointwise, but "≥\ge≥" needs a random variable that attains the pointwise maximum, is measurable, and is integrable. The paper cites Rockafellar–Wets for both the interchange and the selection. The maximizers are not unique: where ζ(ω)=0\zeta(\omega)=0ζ(ω)=0 or ζ(ω)=v−′(a)\zeta(\omega)=v'_-(a)ζ(ω)=v−′​(a) the argmax is an unbounded half-line, so an arbitrary measurable selection need not be integrable, and the bounded one must be constructed. The unbounded cases need care because ζ\zetaζ is only essentially bounded and the test outcomes M1{ζ<0}M\mathbb 1_{\{\zeta<0\}}M1{ζ<0}​ must be shown integrable.

Formalization scope

This chunk's objects are in NonlinSSD.DualFunctional; it imports the already moderated utility class NonlinSSD.Optimality.U1. Random variables are functions Ω→R\Omega\to\mathbb RΩ→R on a probability space with IsProbabilityMeasure P; L1\mathcal L_1L1​ is Integrable, L∞\mathcal L_\inftyL∞​ is MemLp ζ ⊤ P. The conventions and explicit readings:

  • c≥0c\ge 0c≥0 in U1([a,b])\mathcal U_1([a,b])U1​([a,b]). The paper prints c>0c>0c>0. The page calls U1([a,b])\mathcal U_1([a,b])U1​([a,b]) a convex cone, which must contain 000, and the companion optimality theorem fails with c>0c>0c>0; the formalization uses c≥0c\ge0c≥0.
  • Left derivative v−′(a)v'_-(a)v−′​(a) is derivWithin v (Set.Iic a) a, never deriv v a, which is 000 at a kink.
  • Extended values. v∗v^*v∗, DDD and fff are EReal-valued, so an infimum equal to −∞-\infty−∞ and a supremum equal to +∞+\infty+∞ are represented, not replaced by 000. The supremum in DDD is over integrable XXX only.
  • Theorem 4 in two cases. The paper's right side is an expectation of an extended-real random variable, read as +∞+\infty+∞ off the domain. The statement separates the finite case (Bochner integral of the real part, with a.s. finiteness and integrability asserted) from the infinite case, which avoids extended-real subtraction.
  • fff equals the Bochner integral of −v∗(ζ)-v^*(\zeta)−v∗(ζ) when v∗(ζ)v^*(\zeta)v∗(ζ) is a.s. finite with integrable real part, and +∞+\infty+∞ otherwise. This is exact because −v∗(ζ)≥v(0)-v^*(\zeta)\ge v(0)−v∗(ζ)≥v(0).
  • Theorem 5 adds the hypothesis that the selection lies in [a,b][a,b][a,b] a.s. As printed ("for every measurable selection") it is false: with a=−1a=-1a=−1, b=0b=0b=0, vˉ(t)=min⁡(t,0)\bar v(t)=\min(t,0)vˉ(t)=min(t,0), ζˉ=0\bar\zeta=0ζˉ​=0 on [0,1][0,1][0,1] with Lebesgue measure, the selection X(ω)=1/ωX(\omega)=1/\omegaX(ω)=1/ω is not integrable. The continuity of (PX,−X)(P_X,-X)(PX​,−X) as a functional is stated as X∈L∞X\in\mathcal L_\inftyX∈L∞​ and the bound ∫∣v∣ dPX≤(∣v(0)∣+K)(1+E∣X∣)\int|v|\,dP_X\le(|v(0)|+K)(1+\mathbb E|X|)∫∣v∣dPX​≤(∣v(0)∣+K)(1+E∣X∣) for KKK-Lipschitz vvv.
  • The paper's index iii and the standing data of §4 (Y∈L1Y\in\mathcal L_1Y∈L1​, a≤ba\le ba≤b) are explicit binders.

A trivializing formalization is ruled out: a real-valued conjugate or dual functional (junk 000 at ∓∞\mp\infty∓∞), a supremum over all measurable XXX (junk integrals), or a one-sided case split would each make the goal easier than the paper's theorem, and a sorry-free check confirms that both cases of Theorem 4 are inhabited (v=min⁡(t,0)v=\min(t,0)v=min(t,0), ζ=1/2\zeta=1/2ζ=1/2 and ζ=2\zeta=2ζ=2).

Contributions are welcome at every level: proofs of the milestones in order, general lemmas on extended-real conjugates on R\mathbb RR, and a measurable argmax selection for continuous integrands over a compact interval, which is reusable well beyond this paper.

Selected references

  • D. Dentcheva, A. Ruszczyński, Optimality and duality theory for stochastic optimization problems with nonlinear dominance constraints, Math. Program. 99 (2004). Author manuscript, rev. April 2003. https://doi.org/10.1007/s10107-003-0453-z
  • D. Dentcheva, A. Ruszczyński, Optimization with stochastic dominance constraints, SIAM J. Optim. 14 (2003). https://doi.org/10.1137/S1052623402420528
  • W. Ogryczak, A. Ruszczyński, Dual stochastic dominance and related mean–risk models, SIAM J. Optim. 13 (2002). https://doi.org/10.1137/S1052623400375075
  • R. T. Rockafellar, R. J.-B. Wets, Variational Analysis, Springer, 1998 (Theorems 14.37, 14.60). https://doi.org/10.1007/978-3-642-02431-3
9 thms1 active userReviewed
Dynamical SystemsStochastic Systems·Captain: mikedeng1

Stability and Instability of Fluid Models for Reentrant Lines 3: In Every Reentrant Line the Last-Buffer-First-Served Fluid Model Is StableResearch Paper

Motivation

A manufacturing line can send the same job through several stations and return it to a station it visited earlier. Semiconductor fabrication is one example. Such a reentrant line has several customer classes at one server, and the server must choose which class to work on. A station may have enough capacity on average yet the line can still accumulate an unbounded queue under an unfortunate service rule. Dai and Weiss use deterministic fluid models to study this question: fluid represents large queues, and its motion exposes the long-run effect of the service rule. Their paper proves that two simple buffer priority disciplines have stable fluid models for every reentrant line satisfying the usual station load condition. This mission concerns Last-Buffer-First-Served, abbreviated LBFS. Dai and Weiss (1996).

The distinction between fluid and stochastic queue stability matters. Dai and Weiss cite an earlier theorem connecting stable fluid models to stable queueing disciplines under the stochastic assumptions of their introduction. The target here is their fluid theorem, Theorem 4.4, rather than a separate formalization of that stochastic implication. Dai and Weiss (1996), pp. 115, 119, 124.

Setting

There are KKK classes, numbered in route order, and III stations. Every unit of fluid enters class 111 at rate one. On completing service in class kkk, it becomes class k+1k+1k+1; after class KKK, it leaves. The station serving class kkk is σ(k)\sigma(k)σ(k). Different classes may share a station. The constituency of station iii is Ci={k:σ(k)=i}C_i=\{k:\sigma(k)=i\}Ci​={k:σ(k)=i}, and class kkk has positive mean service requirement mkm_kmk​, so its service rate is μk=1/mk\mu_k=1/m_kμk​=1/mk​. The nominal workload at station iii is ρi=∑k∈Cimk\rho_i=\sum_{k\in C_i}m_kρi​=∑k∈Ci​​mk​. The paper assumes ρi<1\rho_i<1ρi​<1 at every station. Dai and Weiss (1996), pp. 115–117.

For time t≥0t\ge0t≥0, Qk(t)Q_k(t)Qk​(t) is the amount of fluid in class kkk, and Tk(t)T_k(t)Tk​(t) is the cumulative server time spent on that class. The flow equations say that class content equals its initial content plus completed service from the preceding class minus its own completed service. The first class receives the external unit-rate flow. Each QkQ_kQk​ remains nonnegative, each TkT_kTk​ starts at zero and is nondecreasing, and the cumulative idle time of every station is nondecreasing. A priority rule adds a condition on when a server may reserve capacity for lower-ranked classes. These are the fluid equations of Definition 1.2 and §4. Dai and Weiss (1996), pp. 118, 122–123.

A priority ranking π\piπ assigns a distinct rank to every class, with smaller rank meaning higher priority. For class kkk, let HkH_kHk​ contain the classes at the same station whose rank is at least as high as kkk's. In a preemptive-resume priority fluid model, capacity unused by HkH_kHk​ may increase only when the fluid workload in HkH_kHk​ is zero. Under LBFS, π(k)=K+1−k\pi(k)=K+1-kπ(k)=K+1−k: a class later in the route has higher priority. Priority is compared within each station, even though the ranking is written globally. Dai and Weiss (1996), pp. 122–123, Definition 4.1.

Formalization targets

Theorem 4.4 asks for stability of the LBFS fluid model for every reentrant line with positive service requirements and ρi<1\rho_i<1ρi​<1:

∃δ>0  ∀(Q,T),[(Q,T) is an LBFS fluid solution and ∣Q(0)∣=1]⟹∀t≥δ,  Q(t)=0,\exists\delta>0\;\forall (Q,T),\quad \bigl[(Q,T)\text{ is an LBFS fluid solution and }|Q(0)|=1\bigr] \Longrightarrow \forall t\ge\delta,\;Q(t)=0,∃δ>0∀(Q,T),[(Q,T) is an LBFS fluid solution and ∣Q(0)∣=1]⟹∀t≥δ,Q(t)=0,

where ∣Q(0)∣=∑k=1KQk(0)|Q(0)|=\sum_{k=1}^K Q_k(0)∣Q(0)∣=∑k=1K​Qk​(0). The same δ\deltaδ must work for every solution and every normalized initial configuration. This is exactly the fluid stability definition used by the paper. Dai and Weiss (1996), pp. 118–119, 124.

The milestones follow the paper's own intermediate statements. Lemma 2.2 treats a nonnegative absolutely continuous function whose derivative is negative whenever the function is positive. Proposition 4.2 identifies flow-rate relations at a regular point under a buffer priority rule. The proof of Theorem 4.4 records a uniform negative drift for total content and the explicit emptying time

δ=∣Q(0)∣λ^−1,λ^=1max⁡1≤i≤Iρi>1.\delta=\frac{|Q(0)|}{\widehat\lambda-1},\qquad \widehat\lambda=\frac{1}{\max_{1\le i\le I}\rho_i}>1.δ=λ−1∣Q(0)∣​,λ=max1≤i≤I​ρi​1​>1.

The explicit time is stated for every initial fluid amount; normalization to one belongs only to the final stability theorem. Dai and Weiss (1996), pp. 120, 123–125.

Significance

The theorem gives a uniform finite clearing time for the LBFS fluid model whenever each station's nominal workload is below its capacity. It applies to any number of stations, any finite route, and any assignment of route stages to stations. This is stronger than checking a particular factory layout. The conclusion concerns every fluid solution, which matters because the defining equations need not determine a unique path. Dai and Weiss (1996), pp. 118–119, 124–125.

Formalizing the result requires a reusable interface for reentrant lines, service allocation, station workloads, and the priority complementarity condition, plus separate statements for the extinction criterion and priority flow rates. The theorem is proved in the 1996 paper; the remaining work in this mission is a machine-checked Lean proof of its fluid-model statement and of the listed milestones. The stochastic queueing theorem cited by Dai and Weiss is outside this mission's scope.

Difficulty

The load inequalities ρi<1\rho_i<1ρi​<1 compare average work with available server time, but by themselves they do not specify which class receives service at an instant. Under other service rules, reentrant lines can amplify queued fluid despite every station being nominally underloaded; the same paper gives such an example. A formal proof therefore has to use the precise LBFS priority condition, not only the flow equations and the load inequalities. The regular-time argument must then yield a single bound valid across every possible fluid path. Dai and Weiss (1996), §§4–5.

Formalization scope

Lean represents classes and stations by finite index types. Their indices start at zero: Lean class k−1k-1k−1 corresponds to paper class kkk, and LBFS is Fin.revPerm. The paths QQQ and TTT are functions on all real times, while the fluid equations and conclusions are imposed only for t≥0t\ge0t≥0. The external arrival rate is one, as in the paper's normalization. The conditions that station idle capacity and priority-set unused capacity increase only when their relevant content is zero are expressed by constancy on each interval where that content stays positive. Service and fluid paths are not given extra continuity hypotheses; the fluid equations and monotonicity conditions provide the regularity used in the paper. Dai and Weiss (1996), pp. 116–119, 122–123.

The service requirements mk>0m_k>0mk​>0 are explicit so μk=1/mk\mu_k=1/m_kμk​=1/mk​ has its intended value. The drift and emptying-time milestones explicitly assume K>0K>0K>0, since their formula divides by the maximum station workload. The main theorem retains the universal quantification over lines; when K=0K=0K=0, its normalization ∣Q(0)∣=1|Q(0)|=1∣Q(0)∣=1 is impossible. A faithful solution predicate must include the priority condition (4.4), whose omission would change Theorem 4.4 into a false claim about all work-conserving policies. The definition layer, elementary real-analysis extinction lemma, and priority flow-rate relations are useful beyond this single stability theorem. Dai and Weiss (1996), pp. 117–125.

Selected references

  • J. G. Dai and G. Weiss, Stability and instability of fluid models for reentrant lines, Mathematics of Operations Research 21(1), 115–134, 1996. DOI: 10.1287/moor.21.1.115.
8 thms1 active userReviewed
PreviousPage 63 of 69Next

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