Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Operations Research

2,210 missions · 1,092 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

Open1118Completed1092All2210
Algorithmic Game TheoryFunctional AnalysisOptimization·Captain: mikedeng1

A Variational Inequality Formulation of the Dynamic Network User Equilibrium Problem I: Route-Departure Equilibria Are Exactly the Solutions of the Path-Integral Variational InequalityResearch Paper

Motivation

Commuters choose not only a route but also a departure time, trading travel delay against the penalty of arriving early or late. Static traffic assignment, in the tradition of Wardrop's user-equilibrium principle, ignores the time dimension; dynamic traffic assignment adds it, and its central modelling question is what "equilibrium" means when flows, delays and costs all vary over a time horizon. Friesz, Bernstein, Smith, Tobin and Wie (Oper. Res. 41(1), 1993) proposed the simultaneous route-departure (SRD) equilibrium of a path-based dynamic model and showed that it is equivalent to an infinite-dimensional variational inequality. That equivalence is the starting point of a large literature on dynamic user equilibrium: existence theory, solution algorithms and differential-variational formulations all take the variational inequality as their definition of the problem.

Timeline, as far as this mission is concerned:

  • 1952: Wardrop states the static user-equilibrium criterion (equal and minimal travel times on used routes).
  • 1979–1980: Smith and Dafermos formulate static user equilibrium as a finite-dimensional variational inequality.
  • 1989: Friesz, Luque, Tobin and Wie treat dynamic route choice with a fixed departure schedule as an optimal-control problem.
  • 1993: Friesz et al. (this paper) formulate simultaneous route and departure-time equilibrium and prove its equivalence with a variational inequality on (L2[0,T])∣P∣(L^2[0,T])^{|P|}(L2[0,T])∣P∣ (Theorem 2, p. 187).

Setting

A traffic network has a finite set PPP of paths. Each path ppp connects exactly one origin–destination (OD) pair klklkl; PklP_{kl}Pkl​ denotes the paths of pair klklkl. Travellers depart during the horizon [0,T][0,T][0,T], T>0T>0T>0, which carries Lebesgue measure ν\nuν; "∀ν(t)\forall_\nu(t)∀ν​(t)" means "for ν\nuν-almost every t∈[0,T]t\in[0,T]t∈[0,T]".

A vector of departure-time densities h=(hp)p∈Ph=(h_p)_{p\in P}h=(hp​)p∈P​ assigns to each path a square-integrable, almost everywhere nonnegative function hph_php​ on [0,T][0,T][0,T]: hp(t)h_p(t)hp​(t) is the rate at which travellers depart at time ttt on path ppp. The set of such vectors is H+H_+H+​. Each OD pair has a fixed travel demand QklQ_{kl}Qkl​, and the feasible set is

Λ={h∈H+:∑p∈Pkl∫0Thp(t) dν(t)=Qkl for every OD pair kl}.(38)\Lambda=\Big\{h\in H_+ : \sum_{p\in P_{kl}}\int_0^T h_p(t)\,d\nu(t)=Q_{kl}\ \text{for every OD pair } kl\Big\}.\qquad(38)Λ={h∈H+​:p∈Pkl​∑​∫0T​hp​(t)dν(t)=Qkl​ for every OD pair kl}.(38)

A cost operator gives the effective delay Cp(t,h)≥0C_p(t,h)\ge 0Cp​(t,h)≥0 of departing at time ttt on path ppp when the densities are hhh: travel time plus a penalty for early or late arrival (13). Because densities are defined only up to null sets, the relevant lowest achievable cost on a path is an essential infimum,

μp(h)=ess inf⁡{Cp(t,h):t∈[0,T]}=sup⁡{x∈R: ν{t:Cp(t,h)<x}=0},\mu_p(h)=\operatorname{ess\,inf}\{C_p(t,h):t\in[0,T]\}=\sup\{x\in\mathbb R:\ \nu\{t: C_p(t,h)<x\}=0\},μp​(h)=essinf{Cp​(t,h):t∈[0,T]}=sup{x∈R: ν{t:Cp​(t,h)<x}=0},

and the lowest achievable cost for pair klklkl is μkl(h)=min⁡p∈Pklμp(h)\mu_{kl}(h)=\min_{p\in P_{kl}}\mu_p(h)μkl​(h)=minp∈Pkl​​μp​(h).

Definition 3. For h∈Λh\in\Lambdah∈Λ and a nonnegative vector μ=(μkl)\mu=(\mu_{kl})μ=(μkl​), the pair (h,μ)(h,\mu)(h,μ) is an SRD equilibrium if for every OD pair klklkl and every p∈Pklp\in P_{kl}p∈Pkl​:

hp(t)>0 ⇒ Cp(t,h)=μkl∀ν(t),Cp(t,h)≥μkl∀ν(t).h_p(t)>0\ \Rightarrow\ C_p(t,h)=\mu_{kl}\quad\forall_\nu(t),\qquad C_p(t,h)\ge\mu_{kl}\quad\forall_\nu(t).hp​(t)>0 ⇒ Cp​(t,h)=μkl​∀ν​(t),Cp​(t,h)≥μkl​∀ν​(t).

No positive-measure set of travellers can lower its cost by switching route or departure time.

Formalization targets

Goal: Theorem 2 (PIE VIP)

For h∗h^*h∗ with nonnegative, square-integrable costs Cp(⋅,h∗)C_p(\cdot,h^*)Cp​(⋅,h∗):

(∃ μ∗: (h∗,μ∗) SRD equilibrium) ⟹ h∗∈Λ and ∑p∈P∫0TCp(t,h∗) [hp(t)−hp∗(t)] dν(t)≥0  ∀h∈Λ,(39)\big(\exists\,\mu^*:\ (h^*,\mu^*)\ \text{SRD equilibrium}\big)\ \Longrightarrow\ h^*\in\Lambda\ \text{and}\ \sum_{p\in P}\int_0^T C_p(t,h^*)\,[h_p(t)-h^*_p(t)]\,d\nu(t)\ge 0\ \ \forall h\in\Lambda,\qquad(39)(∃μ∗: (h∗,μ∗) SRD equilibrium) ⟹ h∗∈Λ and p∈P∑​∫0T​Cp​(t,h∗)[hp​(t)−hp∗​(t)]dν(t)≥0  ∀h∈Λ,(39)

and conversely, if h∗∈Λh^*\in\Lambdah∗∈Λ solves (39), then (h∗,μ(h∗))(h^*,\mu(h^*))(h∗,μ(h∗)) with μkl∗=μkl(h∗)\mu^*_{kl}=\mu_{kl}(h^*)μkl∗​=μkl​(h∗) is an SRD equilibrium. The formal goal states the two directions as two conjuncts; the second names the equilibrium cost vector explicitly, which is stronger than an equivalence with an existential μ∗\mu^*μ∗.

Milestones

  1. Lemma 2: a measurable function positive on a set of positive measure exceeds some ε0>0\varepsilon_0>0ε0​>0 on a set of positive measure.
  2. The pointwise inequality (42) at an equilibrium, and the necessity half of Theorem 2.
  3. Condition (17) holds by construction for μ∗=μ(h∗)\mu^*=\mu(h^*)μ∗=μ(h∗).
  4. The positive-measure sets (44)–(46) and (47) produced by a failure of (16).
  5. Feasibility (50) of the mass-shifted vector (48)–(49), the value bound (54), and the sufficiency half of Theorem 2.

Significance

The result. Theorem 2 converts an equilibrium defined by almost-everywhere complementarity conditions into a single variational inequality over a convex subset of a Hilbert space. This is what makes dynamic user equilibrium accessible to the general theory of variational inequalities: existence via monotonicity or compactness arguments, and projection-type algorithms in function space or after time discretization. The sufficiency half also identifies the equilibrium cost levels: they are the essential infima μkl(h∗)\mu_{kl}(h^*)μkl​(h∗), so the multiplier μ∗\mu^*μ∗ need not be found separately.

Formalizing it. The theorem is proved in the paper; no machine-checked version is known. A formal proof requires essential infima, the shifting of mass between paths on sets of prescribed measure (the paper cites Halmos, Proposition 41.2, for the nonatomicity of Lebesgue measure), and careful integrability bookkeeping. The development is a self-contained template for "complementarity conditions a.e. ⇔ variational inequality in L2L^2L2" arguments, which recur in continuous-time equilibrium models.

Difficulty

Necessity is routine once integrability is in place, though the paper's text asserts the per-path identity ∫0T[hp−hp∗] dν=0\int_0^T[h_p-h^*_p]\,d\nu=0∫0T​[hp​−hp∗​]dν=0, which is false; only the sum over PklP_{kl}Pkl​ vanishes, and that suffices. Sufficiency is the substantive half. The obvious approach, testing (39) against a perturbation that moves flow from an expensive to a cheap route, has to be carried out with sets rather than points: the costs are only defined almost everywhere, the minimal cost is an essential infimum that need not be attained at any time, and the perturbation must keep the demand constraints exact. This forces the choice of sets of exactly equal positive measure inside the positive-measure sets Sp(ε,δ)S_p(\varepsilon,\delta)Sp​(ε,δ) and Tq(ε)T_q(\varepsilon)Tq​(ε), a nonatomicity argument that a pointwise proof would miss.

Formalization scope

Densities are plain functions R→R\mathbb R\to\mathbb RR→R with a square-integrability condition with respect to ν=\nu=ν= Lebesgue measure restricted to [0,T][0,T][0,T], not L2L^2L2 equivalence classes; every pointwise condition is ν\nuν-almost everywhere, and values outside [0,T][0,T][0,T] are unconstrained. Paths and OD pairs are finite types, with a map sending each path to its OD pair. The essential infimum is the literal formula (12), a real supremum; it is not the pointwise infimum, which changes when CCC is altered on a null set and makes sufficiency false. μkl\mu_{kl}μkl​ is a real infimum over PklP_{kl}Pkl​; for a pair with no paths it is an unused default value.

The cost operator C is abstract, with the paper's measurability assumption strengthened to square-integrability so that every integral in (39) is a genuine Lebesgue integral. The network dynamics (3)–(11) that produce C in the paper are not formalized. Nonnegativity (the codomain R+\mathbb R_+R+​ of (13)) and square-integrability are assumed only at h∗h^*h∗, which makes the formal statements stronger than the paper's. Without integrability, Lean's integral of a non-integrable function is 000, so (39) could hold vacuously; the added hypothesis excludes that trivialization. The goal quantifies over every cost operator satisfying these hypotheses and never fixes one. In the milestones, the reduction from p=qp=qp=q to p≠qp\ne qp=q (p. 188) is taken as the hypothesis p≠qp\ne qp=q.

A complete development needs: properties of the real essential infimum (12) on a finite measure space; Lemma 2 (continuity of measure from below); the existence of measurable subsets of prescribed measure in Lebesgue measure (nonatomicity, available in Mathlib in some form); and integral bookkeeping for products of L2L^2L2 functions on a finite measure. The essential-infimum and mass-shift lemmas are reusable for other continuous-time equilibrium models. Proofs of any milestone, and cleaner restatements of the essential-infimum API, 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
  • J. G. Wardrop, Some theoretical aspects of road traffic research, Proceedings of the Institution of Civil Engineers 1(3):325–362, 1952. https://doi.org/10.1680/ipeds.1952.11259
  • M. J. Smith, The existence, uniqueness and stability of traffic equilibria, Transportation Research B 13(4):295–304, 1979. https://doi.org/10.1016/0191-2615(79)90022-5
  • S. Dafermos, Traffic equilibrium and variational inequalities, Transportation Science 14(1):42–54, 1980. https://doi.org/10.1287/trsc.14.1.42
  • T. L. Friesz, J. Luque, R. L. Tobin and B. W. Wie, Dynamic network traffic assignment considered as a continuous time optimal control problem, Operations Research 37(6):893–901, 1989. https://doi.org/10.1287/opre.37.6.893
  • P. R. Halmos, Measure Theory, Van Nostrand, 1950 (Proposition 41.2, nonatomicity of Lebesgue measure).
11 thms2 active usersReviewed
Dynamic ProgrammingLinear OptimizationProbability·Captain: mikedeng1

On the Convergence of Stochastic Dual Dynamic Programming and Related Methods: DOASA Reaches an Optimal Policy in Finitely Many Iterations Almost SurelyResearch Paper

Motivation

Stochastic dual dynamic programming (SDDP), introduced by Pereira and Pinto in 1991, is the standard method for multistage stochastic linear programs with many stages, such as hydro-thermal scheduling and long-term energy planning. It approximates each stage's expected future cost from below by the maximum of finitely many linear functions (cuts), built from LP dual solutions at sampled states, and alternates a forward simulation pass with a backward cut-generation pass. Practitioners stop the method when a simulated upper bound is close to the lower bound C1kC^k_1C1k​. Whether this procedure converges at all is the question of this mission.

Timeline:

  • 1991: Pereira and Pinto publish SDDP, with no convergence proof.
  • 1999: Chen and Powell prove almost-sure convergence for CUPPS; Linowsky and Philpott (2005) extend the argument to SDDP, AND and ReSa. Both proofs rely on an unstated independence assumption between sampled outcomes and convergent subsequences of iterates.
  • 2008: Philpott and Guan (Oper. Res. Lett. 36(4), 450–455) give a proof based on the finiteness of the set of distinct cut coefficients, for a class they call DOASA (Dynamic Outer Approximation Sampling Algorithms).
  • Later work (Shapiro 2011; Girardeau, Leclère and Philpott 2015) extends convergence to convex nonlinear and continuous settings.

Setting

There are T≥2T\ge2T≥2 stages. Stage ttt has a decision xt≥0x_t\ge0xt​≥0 in Rnt\mathbb R^{n_t}Rnt​, costs ctc_tct​, a matrix AtA_tAt​ and, for t≤T−1t\le T-1t≤T−1, a matrix BtB_tBt​ coupling xtx_txt​ to the next stage. At stage 111 the constraint is A1x1=b1A_1x_1=b_1A1​x1​=b1​. For 2≤t≤T2\le t\le T2≤t≤T the right-hand side is random: Atxt=ωt−Bt−1xt−1A_tx_t=\omega_t-B_{t-1}x_{t-1}At​xt​=ωt​−Bt−1​xt−1​, where ωt\omega_tωt​ takes values ωt1,…,ωtqt\omega_{t1},\dots,\omega_{tq_t}ωt1​,…,ωtqt​​ with probabilities pti>0p_{ti}>0pti​>0, independently across stages. The expected cost-to-go is defined backwards from QT+1≡0\mathcal Q_{T+1}\equiv0QT+1​≡0:

Qt(xt−1,ωti)=min⁡{ct⊤xt+Qt+1(xt):Atxt=ωti−Bt−1xt−1, xt≥0},Qt=∑iptiQt(⋅,ωti),Q_t(x_{t-1},\omega_{ti})=\min\{c_t^\top x_t+\mathcal Q_{t+1}(x_t):A_tx_t=\omega_{ti}-B_{t-1}x_{t-1},\ x_t\ge0\},\qquad \mathcal Q_t=\sum_i p_{ti}Q_t(\cdot,\omega_{ti}),Qt​(xt−1​,ωti​)=min{ct⊤​xt​+Qt+1​(xt​):At​xt​=ωti​−Bt−1​xt−1​, xt​≥0},Qt​=i∑​pti​Qt​(⋅,ωti​),

and Q1=min⁡{c1⊤x1+Q2(x1):A1x1=b1,x1≥0}Q_1=\min\{c_1^\top x_1+\mathcal Q_2(x_1):A_1x_1=b_1,x_1\ge0\}Q1​=min{c1⊤​x1​+Q2​(x1​):A1​x1​=b1​,x1​≥0} is the problem [LP1]. Assumption (A4) says every stage problem met along the way has a nonempty, bounded feasible region.

The approximate problem [APtk_t^ktk​] replaces Qt+1\mathcal Q_{t+1}Qt+1​ by max⁡j{αt+1,j−(βt+1j)⊤xt}\max_j\{\alpha_{t+1,j}-(\beta^j_{t+1})^\top x_t\}maxj​{αt+1,j​−(βt+1j​)⊤xt​} over the cuts generated before iteration kkk; its value is CtkC^k_tCtk​. A scenario fixes one outcome per stage 2,…,T−12,\dots,T-12,…,T−1. Each DOASA iteration (i) samples one forward scenario ωk\omega^kωk and solves [APtk_t^ktk​] along it, giving states xtkx^k_txtk​; (ii) for t=T,…,2t=T,\dots,2t=T,…,2 runs the Cut Calculation Algorithm (CCA): it solves [APtk_t^ktk​] at xt−1kx^k_{t-1}xt−1k​ for the outcomes in a backward sample Ωtk\Omega^k_tΩtk​, stores optimal extreme-point dual solutions (π,ρ)(\pi,\rho)(π,ρ) in a collection Dt\mathcal D_tDt​, picks for every outcome the best stored dual, and averages them into a new cut on θt\theta_tθt​. DOASA-N instead traverses a fixed list of NNN scenarios in every iteration.

Formalization targets

Goal: Theorem 4 under the joint sampling property J

If, with probability 1, every scenario prefix is followed by the forward pass jointly with each outcome being in the backward sample infinitely often (property J), then with probability 1 every DOASA run has an iteration KKK after which the cuts no longer change, the policy xˉ\bar xxˉ they induce is optimal for [LP1], and

C1K=Q1.C^K_1=Q_1 .C1K​=Q1​.

Milestones

  • Monotonicity (p. 4): Ctk+1≥CtkC^{k+1}_t\ge C^k_tCtk+1​≥Ctk​ and C1k+1≥C1kC^{k+1}_1\ge C^k_1C1k+1​≥C1k​.
  • Lower bound (p. 4): every cut is valid, so Ctk≤QtC^k_t\le Q_tCtk​≤Qt​ and C1k≤Q1C^k_1\le Q_1C1k​≤Q1​.
  • Lemma 1 (p. 6): the set Gtk\mathcal G^k_tGtk​ of distinct generated cuts is bounded in size and eventually constant.
  • Lemma 2 (p. 10): DOASA-N stops changing after finitely many iterations, with lim⁡kC1k≤Q1\lim_kC^k_1\le Q_1limk​C1k​≤Q1​.
  • Lemma 3 (p. 10): DOASA-N over all scenarios, with backward sampling infinitely often per scenario, converges almost surely to an optimal policy.

Significance

The theorem justifies SDDP, AND, ReSa and CUPPS as exact methods: on a finite scenario tree, sampling-based cutting-plane schemes reach an optimal policy and a tight lower bound after finitely many iterations, almost surely. The finiteness argument (Lemma 1) is the template for later finite-convergence proofs of SDDP variants.

The paper's proofs are informal. No part of this development is machine-checked, and the printed statement of Theorem 4 is false (see below), so a formal proof also settles exactly which sampling hypothesis is enough. The finite-cut lemma and the cut-validity milestone are reusable for any Benders-type multistage method.

Difficulty

The obvious argument goes: cut sets stabilize (Lemma 1), and every scenario and every outcome is sampled infinitely often, so the limiting cuts must be exact. The last step fails. A cut at a state is exact only if, for every outcome, a dual that is optimal at that state has been collected. Sampling the forward scenario and the backward outcomes infinitely often, but separately, does not ensure this. Lemma 1 itself is also delicate: the dual vectors ρ\rhoρ grow in dimension with kkk, so the collection of extreme-point duals can be infinite even though the cut coefficients take finitely many values. The algorithm's choices (extreme-point duals, ties among best duals) must be handled for every run, not for a convenient one.

Formalization scope

Stages are numbered 1,…,T1,\dots,T1,…,T with variable dimensions per stage. B t is the paper's BtB_tBt​, the matrix multiplying xtx_txt​ in stage t+1t+1t+1. Value functions are real infima, used only on reachable states. Iterations are numbered from 000 in Lean. Explicit choices, each recorded in the item statements:

  • The J correction. The paper states Theorem 4 under FPSP and BPSP. These do not suffice. In a three-stage instance whose last-stage backward sample is {c}\{c\}{c} after forward outcome aaa and {d}\{d\}{d} after bbb, alternating, both properties hold but the cuts stabilize at a suboptimal policy with C1kC^k_1C1k​ below Q1Q_1Q1​. The goal is stated under J, which implies FPSP and BPSP and holds for the schemes the paper names. Lemma 3's BPSP is read per scenario of DOASA-N.
  • Initial cut. The paper's trivial cut θt+1≥−∞\theta_{t+1}\ge-\inftyθt+1​≥−∞ makes [APt1_t^1t1​] unbounded; it is replaced by a finite cut θt+1≥Lt\theta_{t+1}\ge L_tθt+1​≥Lt​ assumed valid on reachable states. Stage TTT uses the exact cut θT+1≥0\theta_{T+1}\ge0θT+1​≥0.
  • (A4) is required on reachable states only.
  • The LP solver is a deterministic oracle on cut sets returning optimal solutions of [APt_tt​], so repeated cuts do not change forward solutions.
  • Duals. Collected duals are optimal extreme points of the dual region; best duals are chosen with arbitrary tie-breaks. No cut is added while the dual collection is empty. Dual multipliers ρ\rhoρ are sequences padded with zeros.
  • Runs are relations covering DOASA and DOASA-N (batched forward scenarios). The conclusions hold for every run consistent with the samples, inside the almost-sure quantifier.

A trivializing encoding, in which cuts are arbitrary valid hyperplanes, duals are taken for all outcomes, or the sampling hypotheses directly assume exactness of the cuts, is ruled out: the run relation transcribes CCA steps 1–3 as printed.

A complete development needs LP weak and strong duality (published on the platform as LinearOptimization.lp_weak_duality and LinearOptimization.lp_strong_duality, in their own encoding), finiteness of the set of extreme points of a polyhedron, and the almost-sure intersection of finitely many events (Mathlib). Contributions to any milestone, to the proof that J holds for independent sampling, and to the counterexample showing FPSP and BPSP are insufficient are welcome.

Selected references

  • A. B. Philpott, Z. Guan, On the convergence of stochastic dual dynamic programming and related methods, Oper. Res. Lett. 36(4) (2008) 450–455. https://doi.org/10.1016/j.orl.2008.01.013 (cited from the authors' manuscript v24, 2008-02-25)
  • M. V. F. Pereira, L. M. V. G. Pinto, Multi-stage stochastic optimization applied to energy planning, Math. Program. 52 (1991) 359–375. https://doi.org/10.1007/BF01582895
  • Z.-L. Chen, W. B. Powell, Convergent cutting-plane and partial-sampling algorithm for multistage stochastic linear programs with recourse, J. Optim. Theory Appl. 102 (1999) 497–524. https://doi.org/10.1023/A:1022641805263
  • A. Shapiro, Analysis of stochastic dual dynamic programming method, European J. Oper. Res. 209 (2011) 63–72. https://doi.org/10.1016/j.ejor.2010.08.007
  • P. Girardeau, V. Leclère, A. B. Philpott, On the convergence of decomposition methods for multistage stochastic convex programs, Math. Oper. Res. 40(1) (2015) 130–145. https://doi.org/10.1287/moor.2014.0664
10 thms2 active usersReviewed
CombinatoricsLinear OptimizationOptimization·Captain: mikedeng1

A New Optimization Algorithm for the Vehicle Routing Problem with Time Windows: With No Negative Marginal Cost Column, the Set Covering LP Is Optimal and Bounds the VRPTW Optimum from BelowResearch Paper

Motivation

The vehicle routing problem with time windows (VRPTW) asks for minimum-cost routes from a central depot that serve every customer exactly once, respecting vehicle capacity and a time interval in which each customer's service must begin. It models school bus routing, parcel and retail distribution, and dial-a-ride services. Desrochers, Desrosiers and Solomon (Oper. Res. 40 (1992) 342–354) gave an optimization algorithm for the VRPTW that solved benchmark instances with up to 100 customers to optimality, a size far beyond earlier exact methods. Their method, which solves the linear relaxation of a set partitioning model by column generation with routes priced out by a resource-constrained shortest path dynamic program, is the template that later exact vehicle routing algorithms ("branch-and-price") follow.

The mathematical core of the method is a certificate: once the pricing subproblem reports that no route has negative marginal cost (reduced cost), the current linear programming solution is optimal over all routes the subproblem can generate, its value bounds every VRPTW solution from below, and an integral solution covering each customer exactly once is VRPTW-optimal. This mission formalizes that certificate and the lemmas of the paper it rests on.

Setting

The nodes are a depot ddd and customers N∖{d}N\setminus\{d\}N∖{d}. An arc set AAA carries, for each arc (i,j)(i,j)(i,j), a cost cijc_{ij}cij​ and a duration tijt_{ij}tij​; each node has a demand qiq_iqi​ and a time window [ai,bi][a_i,b_i][ai​,bi​]; vehicles have capacity QQQ.

A path (d,i1,…,iK,d)(d, i_1, \dots, i_K, d)(d,i1​,…,iK​,d) uses arcs of AAA and passes through the depot only at its ends. It is resource-feasible when there are service start times T0=0,T1,…,TK+1T_0 = 0, T_1, \dots, T_{K+1}T0​=0,T1​,…,TK+1​ with Tk+tikik+1≤Tk+1T_k + t_{i_k i_{k+1}} \le T_{k+1}Tk​+tik​ik+1​​≤Tk+1​ (waiting is allowed) and aik≤Tk≤bika_{i_k}\le T_k\le b_{i_k}aik​​≤Tk​≤bik​​, and its load ∑k=1Kqik\sum_{k=1}^{K} q_{i_k}∑k=1K​qik​​ is at most QQQ. Its cost is cr=∑k=0Kcikik+1c_r = \sum_{k=0}^{K} c_{i_k i_{k+1}}cr​=∑k=0K​cik​ik+1​​, and γir\gamma_{ir}γir​ is the number of visits of rrr to customer iii. The paper uses three solution spaces:

  1. feasible routes RRR: resource-feasible paths visiting each customer at most once;
  2. second-model paths: resource-feasible paths where customers may repeat (the state-space relaxation that tracks load and time but not the set of visited customers);
  3. third-model paths: second-model paths with no 2-cycle (i,j,i)(i, j, i)(i,j,i).

A VRPTW solution is a set of feasible routes covering each customer exactly once; its cost is the sum of the route costs.

The set covering type model (Sec. 4) over a column set R\mathcal RR is

min⁡∑rcrxrs.t.∑rγirxr≥1 (i≠d),∑rxr−Xd=0,∑rcrxr−Xc=0,\min \sum_r c_r x_r \quad\text{s.t.}\quad \sum_r \gamma_{ir}x_r \ge 1\ (i \ne d),\quad \sum_r x_r - X_d = 0,\quad \sum_r c_r x_r - X_c = 0,minr∑​cr​xr​s.t.r∑​γir​xr​≥1 (i=d),r∑​xr​−Xd​=0,r∑​cr​xr​−Xc​=0,

with xr∈{0,1}x_r\in\{0,1\}xr​∈{0,1} and Xd,Xc≥0X_d, X_c\ge 0Xd​,Xc​≥0 integer. Its LP relaxation replaces xr∈{0,1}x_r\in\{0,1\}xr​∈{0,1} by xr≥0x_r\ge 0xr​≥0 and drops integrality. For dual values πi\pi_iπi​, πd\pi_dπd​, πc\pi_cπc​ of the three rows, the marginal cost of a column and of an arc are

cˉr=cr−∑i≠dπiγir−πd−πccr,cˉij=(1−πc)cij−πi(πi:=πd at i=d).\bar c_r = c_r - \sum_{i\ne d}\pi_i\gamma_{ir} - \pi_d - \pi_c c_r,\qquad \bar c_{ij} = (1-\pi_c)c_{ij} - \pi_i\quad(\pi_i := \pi_d \text{ at } i = d).cˉr​=cr​−i=d∑​πi​γir​−πd​−πc​cr​,cˉij​=(1−πc​)cij​−πi​(πi​:=πd​ at i=d).

Formalization targets

Goal: the column generation certificate

Let R0R_0R0​ be a finite set of third-model paths, zˉ=(xˉ,Xˉd,Xˉc)\bar z = (\bar x, \bar X_d, \bar X_c)zˉ=(xˉ,Xˉd​,Xˉc​) an optimal solution of the LP relaxation restricted to R0R_0R0​, and (π,πd,πc)(\pi,\pi_d,\pi_c)(π,πd​,πc​) an optimal solution of its dual. If every third-model path has nonnegative marginal cost, ∑k=0Kcˉikik+1≥0\sum_{k=0}^{K}\bar c_{i_k i_{k+1}} \ge 0∑k=0K​cˉik​ik+1​​≥0, then

zˉ is optimal for the LP relaxation over all third-model paths,\bar z \text{ is optimal for the LP relaxation over all third-model paths},zˉ is optimal for the LP relaxation over all third-model paths,

and, when arc costs are nonnegative, ∑rcrxˉr≤cost(S)\sum_r c_r \bar x_r \le \text{cost}(S)∑r​cr​xˉr​≤cost(S) for every VRPTW solution SSS; if moreover xˉ\bar xxˉ is integral and covers each customer exactly once, its support is an optimal VRPTW solution.

Milestones

  1. Feasible routes ⊆\subseteq⊆ third-model paths ⊆\subseteq⊆ second-model paths (Sec. 3, p. 346).
  2. cˉr=∑k=0Kcˉikik+1\bar c_r = \sum_{k=0}^{K}\bar c_{i_k i_{k+1}}cˉr​=∑k=0K​cˉik​ik+1​​ for every path (Sec. 4.1, p. 347).
  3. Nonnegative column marginal costs over all third-model paths make the restricted optimum optimal (Sec. 4, p. 346).
  4. Every VRPTW solution is a feasible LP point of equal cost (Sec. 2, p. 344).
  5. An integral, exactly covering LP point is a VRPTW solution of equal cost (Sec. 5, p. 348).
  6. Under the strict triangle inequality, LP optima over routes do not overcover (Sec. 5, p. 348).
  7. The four time window reduction conditions preserve the set of paths (Sec. 6.1, p. 349).
  8. The Figure 1 example has 11, 22 and 12 solutions in the three models (pp. 345–346).

Significance

The certificate is the correctness statement of column generation for vehicle routing: it says when the algorithm may stop, what the value it stops with means, and when the branch-and-bound tree can be skipped. The same argument, with a different subproblem, underlies branch-and-price for crew scheduling, cutting stock and many other set partitioning formulations. Milestone 2 is the observation that turns pricing into a shortest path problem on the original network, and milestone 7 is the preprocessing used before every dynamic program over time windows.

The paper's results are classical and their proofs are short in prose. None of them, nor any VRPTW column generation statement, has a machine-checked proof on the platform; the closest existing items concern split deliveries (Desaulniers 2010) or general finite LP duality. The mission produces a reusable formal model of resource-constrained paths, the set covering LP and its restricted dual, on which later branch-and-price papers can build.

Difficulty

The goal combines three ingredients that do not fit together automatically. First, LP duality for the restricted problem: the hypothesis gives an optimal dual, but optimality over all columns needs equality of the restricted primal and dual values, which is strong duality for a finite LP with equality rows and sign-constrained auxiliary variables. Second, the column set of the full LP is infinite in general: a nonelementary path can repeat customers, so the comparison must go through the finitely many columns a given feasible point uses. Third, the pricing hypothesis is about arc sums along node sequences while the LP is about column costs and visit counts; matching them needs the depot to appear exactly at the two ends of a path.

The tempting shortcut of quantifying the pricing hypothesis over the current columns only gives dual feasibility for the restricted LP, which says nothing about columns not yet generated. The lower bound also fails for arbitrary real costs, because row (4) with Xc≥0X_c \ge 0Xc​≥0 excludes negative-cost solutions from the LP while the VRPTW still contains them.

Formalization scope

Nodes are Fin (n+1) with the depot 0. A path is the list of its customers; its node sequence is 0 :: p ++ [0], so a path visits at least one customer and meets the depot only at its ends. The arc set is an arbitrary relation; costs, durations, demands and windows are arbitrary reals, and every sign or triangle condition a statement needs appears in its own hypotheses. The committed readings:

  • service times are indexed by position (a second-model path may visit a node twice), with T0=0T_0 = 0T0​=0;
  • the depot's window also applies at the return (0≤k≤K+10 \le k \le K+10≤k≤K+1, where the page prints 0≤k≤K0\le k\le K0≤k≤K);
  • the capacity constraint is load ≤Q\le Q≤Q (the page says "less than"; the recurrences and Figure 1 use ≤\le≤);
  • a 2-cycle is a pattern of the customer list, so (d,i,d)(d, i, d)(d,i,d) is not one;
  • the LP relaxation keeps Xd,Xc≥0X_d, X_c \ge 0Xd​,Xc​≥0, relaxes xr∈{0,1}x_r\in\{0,1\}xr​∈{0,1} to xr≥0x_r\ge 0xr​≥0 with no upper bound, and is the root LP without branching rows; its dual is that of the restricted LP, with πi,πd,πc≥0\pi_i, \pi_d, \pi_c \ge 0πi​,πd​,πc​≥0;
  • LP points are finitely supported functions on lists (Finsupp); VRPTW solutions are Finsets of routes;
  • clauses 2–3 of the goal and milestone 4 assume nonnegative arc costs (the paper's costs are distances);
  • milestone 6 adds complete arcs, positive costs, a triangle inequality on durations and nonnegative demands; milestone 7 applies the conditions at customers only; milestone 8 lists (d,2,1,2,1,d)(d,2,1,2,1,d)(d,2,1,2,1,d) where the page prints (d,2,1,2,d)(d,2,1,2,d)(d,2,1,2,d) twice.

The goal is not to be trivialized: the pricing hypothesis ranges over all third-model paths, not the current columns; equality of primal and dual values is not assumed; the full column set is not R0R_0R0​; and "covered exactly once" is not presupposed to mean elementary columns, which must be derived from integrality.

Contributions welcome: proofs of the milestones, a reusable finite LP strong duality interface for Finsupp-indexed columns, and lemmas about arc sums over node sequences.

Selected references

  • M. Desrochers, J. Desrosiers, M. Solomon, A new optimization algorithm for the vehicle routing problem with time windows, Operations Research 40(2), 1992, 342–354. https://doi.org/10.1287/opre.40.2.342
  • N. Christofides, A. Mingozzi, P. Toth, State-space relaxation procedures for the computation of bounds to routing problems, Networks 11(2), 1981, 145–164. https://doi.org/10.1002/net.3230110207
  • D. J. Houck, J.-C. Picard, M. Queyranne, R. R. Vemuganti, The travelling salesman problem as a constrained shortest path problem: theory and computational experience, Opsearch 17, 1980, 93–109.
  • G. Desaulniers, Branch-and-price-and-cut for the split-delivery vehicle routing problem with time windows, Operations Research 58(1), 2010, 179–192. https://doi.org/10.1287/opre.1090.0713
13 thms2 active usersReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Efficient Monte Carlo Procedures for Generating Points Uniformly Distributed over Bounded Regions 2: Geometric Convergence Rate of the Random Directions Algorithm to UniformResearch Paper

Motivation

Generating points uniformly distributed over a bounded region S⊆RnS\subseteq\mathbb R^nS⊆Rn is a basic subroutine in Monte Carlo integration, in estimating the volume of a region, in randomized search for optimization, and in identifying redundant constraints of mathematical programs. When SSS is given only implicitly, for instance by a system of inequalities, the classical methods break down in high dimension: transformation methods need a tractable description of SSS, and rejection from an enclosing box or ball accepts a fraction of proposals that decays exponentially with nnn.

Smith (Oper. Res. 32(6), 1984) studied a family of Markov chain methods, mixing algorithms, that avoid rejection altogether. The best known member is the Random Directions Algorithm, now called hit-and-run: from the current point, pick a direction uniformly at random and move to a uniformly random point of SSS on the line through the current point in that direction. Boneh and Golan (1979) proposed it for constraint identification and conjectured, without proof, that it generates uniform points; Smith (1980, 1984) proved asymptotic uniformity, and Section 3 of the 1984 paper gives an explicit geometric convergence rate. This mission targets that rate, Theorem 3.

Later work, in particular Lovász (Math. Program. 86, 1999) and Lovász and Vempala (SIAM J. Comput. 35, 2006), proved polynomial mixing bounds for hit-and-run on convex bodies. Smith's bound is exponential in nnn, but it holds for every open bounded region, convex or not, and from every starting point.

Setting

Write VVV for nnn-dimensional Lebesgue measure (content) on Rn\mathbb R^nRn and ∥⋅∥\|\cdot\|∥⋅∥ for the Euclidean norm. Let S⊆RnS\subseteq\mathbb R^nS⊆Rn be open, bounded and nonempty.

  • The uniform distribution over SSS is λ(A)=V(A∩S)/V(S)\lambda(A)=V(A\cap S)/V(S)λ(A)=V(A∩S)/V(S).
  • For x∈Sx\in Sx∈S and a unit vector ddd, the line set is L=S∩{x+td:t∈R}L=S\cap\{x+td:t\in\mathbb R\}L=S∩{x+td:t∈R}, and its length is ℓ(x,d)=Leb1{t:x+td∈S}\ell(x,d)=\mathrm{Leb}_1\{t: x+td\in S\}ℓ(x,d)=Leb1​{t:x+td∈S}. For convex SSS this is the chord length; in general LLL may consist of many segments.
  • One step of the Random Directions Algorithm from x∈Sx\in Sx∈S: draw ddd uniformly on the unit sphere {d:∥d∥=1}\{d:\|d\|=1\}{d:∥d∥=1}, then draw Xi+1X_{i+1}Xi+1​ uniformly on LLL. The transition kernel is
P(A∣x)=∫Leb1{t:x+td∈S∩A}ℓ(x,d) σ(dd),P(A\mid x)=\int \frac{\mathrm{Leb}_1\{t:x+td\in S\cap A\}}{\ell(x,d)}\,\sigma(\mathrm dd),P(A∣x)=∫ℓ(x,d)Leb1​{t:x+td∈S∩A}​σ(dd),

with σ\sigmaσ the normalized surface measure of the sphere, and Pm(A∣x)=P(Xm∈A∣X0=x)P^m(A\mid x)=P(X_m\in A\mid X_0=x)Pm(A∣x)=P(Xm​∈A∣X0​=x) is its mmm-step iterate.

  • R⋆R^\starR⋆ is the radius of the smallest ball containing SSS, Vn(r)V_n(r)Vn​(r) the volume of a ball of radius rrr, and
γ=V(S)Vn(R⋆)∈(0,1]\gamma=\frac{V(S)}{V_n(R^\star)}\in(0,1]γ=Vn​(R⋆)V(S)​∈(0,1]

the fraction of its smallest enclosing ball that SSS fills.

  • Sn(r)=nVn(1)rn−1S_n(r)=nV_n(1)r^{n-1}Sn​(r)=nVn​(1)rn−1 is the surface area of a sphere of radius rrr, and d=diam⁡Sd=\operatorname{diam}Sd=diamS.

Formalization targets

Goal: Theorem 3 (p. 1304)

For n≥2n\ge2n≥2, every x∈Sx\in Sx∈S, every measurable A⊆SA\subseteq SA⊆S and every m≥1m\ge1m≥1,

∣P(Xm∈A∣X0=x)−λ(A)∣<(1−γn 2n−1)m−1.\bigl|P(X_m\in A\mid X_0=x)-\lambda(A)\bigr|<\Bigl(1-\frac{\gamma}{n\,2^{n-1}}\Bigr)^{m-1}.​P(Xm​∈A∣X0​=x)−λ(A)​<(1−n2n−1γ​)m−1.

The constant is the paper's. The bound is uniform in the starting point and in AAA, and it depends on SSS only through nnn and γ\gammaγ.

Milestones (the steps of the paper's proof, in order)

  1. Lemma 1 for this algorithm: λ\lambdaλ is stationary, λ(A)=∫SP(A∣x) λ(dx)\lambda(A)=\int_S P(A\mid x)\,\lambda(\mathrm dx)λ(A)=∫S​P(A∣x)λ(dx).
  2. Doob's Case (b) bound: for a chain with stationary law π\piπ and a minorization P(A∣x)≥δ φ(A∩C)P(A\mid x)\ge\delta\,\varphi(A\cap C)P(A∣x)≥δφ(A∩C) on a closed set CCC that carries π\piπ, ∣Pm(A∣x)−π(A)∣≤(1−δφ(C))m−1|P^m(A\mid x)-\pi(A)|\le(1-\delta\varphi(C))^{m-1}∣Pm(A∣x)−π(A)∣≤(1−δφ(C))m−1.
  3. Density formula: P(A∣x)=∫Af(y∣x) dyP(A\mid x)=\int_A f(y\mid x)\,\mathrm dyP(A∣x)=∫A​f(y∣x)dy with f(y∣x)=2/(Sn(∥y−x∥) ℓ(x,y))f(y\mid x)=2/\bigl(S_n(\|y-x\|)\,\ell(x,y)\bigr)f(y∣x)=2/(Sn​(∥y−x∥)ℓ(x,y)).
  4. Density lower bound: f(y∣x)>δ=2/(d Sn(d))f(y\mid x)>\delta=2/(d\,S_n(d))f(y∣x)>δ=2/(dSn​(d)) for all distinct x,y∈Sx,y\in Sx,y∈S when n≥2n\ge2n≥2.
  5. Constant comparison: δ V(S)≥γ/(n2n−1)\delta\,V(S)\ge\gamma/(n2^{n-1})δV(S)≥γ/(n2n−1).

Significance

The result. Theorems 1 and 2 of the paper (the companion mission) establish only that the chain converges to λ\lambdaλ. Theorem 3 makes this quantitative: the deviation from uniformity decays geometrically, at a rate computable from the dimension and the shape ratio γ\gammaγ alone. It shows which features of a region govern convergence, it gives a stopping rule with a guarantee, and it holds for non-convex regions, which the later polynomial-time analyses of hit-and-run do not cover. The paper notes the bound is of practical use only in low dimension; its value lies in being explicit and fully general.

Formalizing it. The theorem is proved in the paper, but parts of the proof are heuristic: the density is derived by a limit over small cubes, and the step from δ\deltaδ to γ\gammaγ uses a claim about circumscribed spheres that is false as stated (see below). A machine-checked proof would produce, as reusable components, a general-state-space Doeblin bound (no such theorem currently exists on the platform; the existing Doeblin results are finite-state), a measure-theoretic definition of hit-and-run as a Markov kernel, and the polar-coordinates computation of its density. None of these has, to our knowledge, been formalized.

Difficulty

The obvious argument is: the density is bounded below on SSS, so Doeblin's condition holds, so the chain converges geometrically. Each step hides work. The density is not given by the algorithm but must be derived: the algorithm draws a direction and a scalar, and the change of variables from (direction, signed distance) to the endpoint is two-to-one and carries the Jacobian ∥y−x∥n−1\|y-x\|^{n-1}∥y−x∥n−1, which is where SnS_nSn​ and the factor 2 come from. The Doeblin step needs a stationary law and the fact that the chain started in SSS never leaves SSS. For non-convex SSS, the paper's "diameter along the ray" must be replaced by the measure of the line set, and the maximal chord does not bound the distance ∥y−x∥\|y-x\|∥y−x∥; the diameter of SSS is needed instead. Finally, the paper's assertion that the ball of radius d/2d/2d/2 circumscribes SSS fails already for an equilateral triangle, so the final comparison must go through the smallest enclosing ball's radius R⋆≥d/2R^\star\ge d/2R⋆≥d/2.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n) with Lebesgue measure. The region is a set S with IsOpen S and Bornology.IsBounded S; boundedness is the paper's standing assumption ("bounded regions").
  • The transition law is a Mathlib ProbabilityTheory.Kernel built operationally from the algorithm: the uniform law on the line set, integrated against the normalized surface measure of the unit sphere (Mathlib's Measure.toSphere, divided by its total mass nVn(1)nV_n(1)nVn​(1)). Off SSS the kernel is the identity, which the chain started in SSS never uses. The mmm-step law is the published MarkovChainCLT.iterKernel.
  • λ\lambdaλ is Lebesgue measure restricted to SSS divided by V(S)V(S)V(S). γ\gammaγ uses the infimum of radii of closed balls containing SSS; the ball is not a free parameter. δ=2/(d Sn(d))\delta=2/(d\,S_n(d))δ=2/(dSn​(d)) is defined from d=diam⁡Sd=\operatorname{diam}Sd=diamS, not assumed.
  • Deviations from the printed statement. (i) The goal assumes n≥2n\ge2n≥2: for n=1n=1n=1 the strict inequality is false (on an interval X1X_1X1​ is already uniform and γ=1\gamma=1γ=1, so both sides vanish for m≥2m\ge2m≥2). (ii) The density uses the line-set length ℓ(x,y)\ell(x,y)ℓ(x,y) instead of "the diameter of SSS along the ray", which coincides for convex SSS. (iii) The paper's d=max⁡x,yd(x,y)d=\max_{x,y}d(x,y)d=maxx,y​d(x,y) is taken as diam⁡S\operatorname{diam}SdiamS. (iv) The Doob step is stated with a kernel-form minorization rather than a lower bound on the density of the absolutely continuous part, which it is implied by, and with CCC a closed set carrying the stationary law, which is what C=SC=SC=S means inside Rn\mathbb R^nRn. (v) The final comparison is stated as δV(S)≥γ/(n2n−1)\delta V(S)\ge\gamma/(n2^{n-1})δV(S)≥γ/(n2n−1), the true inequality behind the paper's false circumscribed-sphere claim. No statement weakens the paper's constant.
  • Ruled out. The kernel is not defined through the density formula (which would make milestone 3 definitional and remove the algorithm from the goal), and neither stationarity nor a minorization is a hypothesis of the goal: Theorem 3 assumes only conditions on nnn, SSS, xxx, AAA and mmm.
  • Contributions welcome: the general Doeblin bound, the polar-coordinates density computation (useful for any line-sampling algorithm), and proofs that the kernel is Markov on SSS and reversible with respect to λ\lambdaλ.

Selected references

  • R. L. Smith, Efficient Monte Carlo Procedures for Generating Points Uniformly Distributed over Bounded Regions, Operations Research 32(6):1296–1308, 1984. https://doi.org/10.1287/opre.32.6.1296
  • A. Boneh and A. Golan, Constraints' redundancy and feasible region boundedness by random feasible point generator (RFPG), Third European Congress on Operations Research (EURO III), Amsterdam, 1979.
  • J. L. Doob, Stochastic Processes, Wiley, 1953 (Case (b), p. 197).
  • L. Lovász, Hit-and-run mixes fast, Mathematical Programming 86:443–461, 1999. https://doi.org/10.1007/s101070050099
  • L. Lovász and S. Vempala, Hit-and-run from a corner, SIAM Journal on Computing 35(4):985–1005, 2006. https://doi.org/10.1137/S009753970544727X
10 thms2 active usersReviewed
ProbabilityStochastic Systems·Captain: mikedeng1

Efficient Monte Carlo Procedures for Generating Points Uniformly Distributed over Bounded Regions 1: Symmetric Mixing Algorithms Converge to the Uniform Distribution from Every Starting PointResearch Paper

Motivation

Sampling uniformly from a bounded region can be difficult when direct transformation of a familiar random variable is unavailable and rejection sampling spends most of its trials outside the region. Robert L. Smith studied procedures that move within the region: from the current point, choose a direction, form the line set through that point inside the region, and choose the next point uniformly on that line set. The resulting sequence is a homogeneous Markov chain. The Random Directions Algorithm, later commonly called hit-and-run, is a central instance of this construction. Smith's 1984 paper establishes conditions under which the chain approaches the uniform distribution even when its initial point is fixed rather than sampled uniformly (Smith 1984, pp. 1298–1301).

For simulation, the initial point is usually chosen because it is known to be feasible. The question is therefore whether the distribution after many moves forgets that particular choice. A stationary distribution alone does not answer this: stationarity describes what happens if the chain already starts with that distribution. Smith's Theorem 2 gives the stronger, pointwise starting-state statement for the class of symmetric mixing algorithms satisfying his two regularity assumptions (Smith 1984, p. 1301).

Setting

Let SSS be the state region and VVV its finite, nonzero content measure. In Smith's geometric setting, SSS is a bounded kkk-dimensional measurable region in Rn\mathbb R^nRn, and VVV is kkk-dimensional content; at k=0k=0k=0, content is counting measure. A Markov transition kernel PPP assigns to every current point x∈Sx\in Sx∈S a probability P(x,A)P(x,A)P(x,A) of entering a measurable set A⊆SA\subseteq SA⊆S on the next move. For the associated chain (X0,X1,…)(X_0,X_1,\ldots)(X0​,X1​,…), the mmm-step transition probability is Pm(x,A)=P(Xm∈A∣X0=x)P^m(x,A)=\mathbb P(X_m\in A\mid X_0=x)Pm(x,A)=P(Xm​∈A∣X0​=x).

The uniform law is λ(A)=V(A)/V(S)\lambda(A)=V(A)/V(S)λ(A)=V(A)/V(S). Smith's Assumption (a) gives a measurable transition density f(y∣x)f(y\mid x)f(y∣x) relative to VVV:

P(x,A)=∫Af(y∣x) V(dy).P(x,A)=\int_A f(y\mid x)\,V(dy).P(x,A)=∫A​f(y∣x)V(dy).

For a symmetric mixing algorithm, the paper states that this density satisfies f(y∣x)=f(x∣y)f(y\mid x)=f(x\mid y)f(y∣x)=f(x∣y) for all x,y∈Sx,y\in Sx,y∈S. Assumption (b) says f(y∣x)>0f(y\mid x)>0f(y∣x)>0 for all such pairs. These are pointwise conditions, including states of zero VVV-measure. A nonempty measurable set AAA is closed if P(x,A)=1P(x,A)=1P(x,A)=1 for every x∈Ax\in Ax∈A. The chain is indecomposable in the paper's sense when it has no two disjoint closed sets (Smith 1984, pp. 1299–1300).

Formalization targets

Stationarity and indecomposability

Lemma 1 asserts that λ\lambdaλ is stationary: λ(A)=∫SP(x,A) λ(dx)\lambda(A)=\int_S P(x,A)\,\lambda(dx)λ(A)=∫S​P(x,A)λ(dx) for every measurable AAA. Lemma 2 excludes two disjoint closed sets. Both are direct prerequisites of the goal. Smith's Theorem 1 also establishes uniqueness of the stationary distribution and almost-sure convergence of empirical visit frequencies under a stationary start; it is described in the source, but its trajectory-level formalization is outside this proposal (Smith 1984, p. 1300).

Convergence from every starting point

The mission goal is Smith's Theorem 2. For every x∈Sx\in Sx∈S and every measurable A⊆SA\subseteq SA⊆S,

lim⁡m→∞Pm(x,A)=λ(A).\lim_{m\to\infty}P^m(x,A)=\lambda(A).m→∞lim​Pm(x,A)=λ(A).

This is the paper's explicit meaning of strongly mixing. The milestone list also records the proof's stated nonperiodicity condition: for every n≥2n\ge2n≥2, the nnn-step transition law has no two disjoint closed sets. It is a target in its own right because it concerns all higher-step kernels, not only the one-step chain (Smith 1984, p. 1301).

Significance

Theorem 2 makes the uniform law the limiting distribution of the sample at time mmm, for any fixed feasible initial point. The paper's Theorem 1 supplies a different guarantee about long-run empirical frequencies under a stationary start, although it is not a target of this proposal. Smith later specializes the framework to the Random Directions Algorithm and gives a quantitative rate under additional geometric conditions; that rate is the subject of the companion mission (Smith 1984, pp. 1303–1304).

These results are proved in the paper but the declarations in this proposal are theorem statements with sorry, not machine-checked proofs. A completed formalization would turn the paper's measure-theoretic claims into reusable statements about general measurable state spaces and kernels. The normalized content law, the density interface, and closed-set predicate can be reused when studying other Monte Carlo kernels with the same hypotheses.

Difficulty

The main obstacle is the jump from stationary behavior to convergence from every starting point. Symmetry identifies the candidate stationary law, and strict positivity limits how the chain can split into closed parts, but neither sentence by itself establishes the claimed limit of Pm(x,A)P^m(x,A)Pm(x,A). The distinction matters especially at starting points in VVV-null sets: an almost-everywhere starting-state result would leave out precisely the universal claim in Theorem 2. The paper appeals to a general-state Markov-chain convergence result for this step (Smith 1984, p. 1301).

Formalization scope

Lean uses a measurable type α\alphaα as the whole region SSS, a finite measure VVV with V(S)≠0V(S)\ne0V(S)=0, a Markov kernel PPP, and an extended-nonnegative density f:α→α→R≥0∞f:\alpha\to\alpha\to\mathbb R_{\ge0}^{\infty}f:α→α→R≥0∞​. The density is jointly measurable and is linked to PPP by the integral identity above; symmetry is pointwise, and positivity is added only for Lemma 2 and Theorems 1–2. This abstract representation retains the hypotheses those results use without fixing a particular Euclidean dimension. It covers the counting-content case as well as continuous content, although it does not construct the geometric direction-and-chord algorithm. The Random Directions kernel belongs to the companion mission.

The uniform law is normalized by V(S)V(S)V(S). Finiteness and nonzero total content prevent a meaningless inverse or an empty probability space. The mmm-step law is the published MarkovChainCLT.iterKernel. Theorem 2 quantifies over every xxx, rather than λ\lambdaλ-almost every xxx, and uses setwise convergence on each measurable AAA. No invariance, uniqueness, minorization, or convergence premise is added to the goal. Detaching fff from PPP would empty out the substantive assertion. Formal contributions can target the density-to-invariance argument, the closed-set conditions, and the general-state convergence theorem needed for the goal. The paper's separate pathwise Theorem 1 remains an appropriate later extension.

Selected references

  • Robert L. Smith, Efficient Monte Carlo Procedures for Generating Points Uniformly Distributed over Bounded Regions, Operations Research 32(6), 1296–1308, 1984. DOI: 10.1287/opre.32.6.1296.
8 thms2 active usersReviewed
Algorithmic Game TheoryMechanism DesignOptimization·Captain: mikedeng1

Optimal Auction Design: Giving the Object to a Bidder with the Highest Priority Level c̄ᵢ(tᵢ) ≥ t₀ and Charging (6.8) Is an Optimal Auction MechanismResearch Paper

Motivation

A seller with one indivisible object must decide whether to keep it or transfer it to one of several bidders whose values she does not observe. The allocation and the payment rule affect what bidders choose to report. Myerson's 1981 paper identifies a revenue-maximizing rule when bidders' private value estimates are independent, their densities are positive, and their valuations may be revised after learning other bidders' information. It covers value distributions for which the usual virtual-value rule is not monotone, by replacing each bidder's virtual value with an ironed priority level.

The question matters to auction design because a pointwise revenue-maximizing assignment can reward a bidder for understating a value. The seller must maximize expected utility subject to both incentive compatibility and each bidder's ability to decline participation. The paper's main theorem gives a specific allocation and payment pair that meets those constraints and attains the maximum. The result is proved in the source; this mission asks for a machine-checked formalization of it.

Setting

There is a finite nonempty set NNN of bidders and one seller. Bidder iii has a value estimate tit_iti​ in a finite interval [ai,bi][a_i,b_i][ai​,bi​], where ai<bia_i<b_iai​<bi​; endpoints may be negative and may differ between bidders. The continuous density fif_ifi​ is strictly positive on that interval and has total integral one. The bidders' estimates are independent, so a profile t=(ti)i∈Nt=(t_i)_{i\in N}t=(ti​)i∈N​ has density f(t)=∏ifi(ti)f(t)=\prod_i f_i(t_i)f(t)=∏i​fi​(ti​) on T=∏i[ai,bi]T=\prod_i[a_i,b_i]T=∏i​[ai​,bi​]. Write Fi(s)=∫aisfi(u) duF_i(s)=\int_{a_i}^{s}f_i(u)\,duFi​(s)=∫ai​s​fi​(u)du for the distribution function. The seller's known value for keeping the object is t0t_0t0​.

A revision effect ej(tj)e_j(t_j)ej​(tj​) describes the change in everyone else's valuation after bidder jjj's estimate becomes known. Bidder iii's revised value is vi(t)=ti+∑j≠iej(tj)v_i(t)=t_i+\sum_{j\ne i}e_j(t_j)vi​(t)=ti​+∑j=i​ej​(tj​), while the seller's is v0(t)=t0+∑jej(tj)v_0(t)=t_0+\sum_j e_j(t_j)v0​(t)=t0​+∑j​ej​(tj​). A direct mechanism assigns each profile an allocation probability pi(t)p_i(t)pi​(t) and expected payment xi(t)x_i(t)xi​(t) for each bidder. Payments may be negative and need not vanish when a bidder loses. Its feasibility conditions say that allocation probabilities are nonnegative and sum to at most one, each bidder's interim expected utility is nonnegative at every possible value, and truthful reporting yields at least as much interim utility as any other report. The seller maximizes her expected utility over all feasible mechanisms.

The virtual value is ci(s)=s−ei(s)−(1−Fi(s))/fi(s)c_i(s)=s-e_i(s)-(1-F_i(s))/f_i(s)ci​(s)=s−ei​(s)−(1−Fi​(s))/fi​(s). In the general case it need not increase with sss. Myerson transforms cic_ici​ through the quantile q=Fi(s)q=F_i(s)q=Fi​(s): hi(q)=ci(Fi−1(q))h_i(q)=c_i(F_i^{-1}(q))hi​(q)=ci​(Fi−1​(q)), Hi(q)=∫0qhi(r) drH_i(q)=\int_0^q h_i(r)\,drHi​(q)=∫0q​hi​(r)dr, and GiG_iGi​ is the convex envelope of HiH_iHi​ on [0,1][0,1][0,1]. The slope gig_igi​ of GiG_iGi​, extended across kinks, gives the ironed priority cˉi(s)=gi(Fi(s))\bar c_i(s)=g_i(F_i(s))cˉi​(s)=gi​(Fi​(s)). At profile ttt, the winning set M(t)M(t)M(t) contains exactly those bidders whose priority is maximal and at least t0t_0t0​.

Formalization targets

The goal is Myerson's §6 theorem. The proposed rule shares the object equally among bidders in M(t)M(t)M(t), or keeps it when M(t)M(t)M(t) is empty, and charges each bidder the envelope payment:

pˉi(t)={∣M(t)∣−1,i∈M(t),0,i∉M(t),xˉi(t)=pˉi(t)vi(t)−∫aitipˉi(t−i,s) ds.\bar p_i(t)=\begin{cases}|M(t)|^{-1},&i\in M(t),\\0,&i\notin M(t),\end{cases} \qquad \bar x_i(t)=\bar p_i(t)v_i(t)-\int_{a_i}^{t_i}\bar p_i(t_{-i},s)\,ds.pˉ​i​(t)={∣M(t)∣−1,0,​i∈M(t),i∈/M(t),​xˉi​(t)=pˉ​i​(t)vi​(t)−∫ai​ti​​pˉ​i​(t−i​,s)ds.

The target asserts that (pˉ,xˉ)(\bar p,\bar x)(pˉ​,xˉ) is feasible and that every feasible (p,x)(p,x)(p,x) has seller utility no greater than that of (pˉ,xˉ)(\bar p,\bar x)(pˉ​,xˉ). The milestone list follows the paper's reduction: Lemma 2 characterizes feasible direct mechanisms by a monotone interim allocation rule and an envelope identity; equation (4.12) rewrites seller utility using virtual values; Lemma 3 turns maximization of virtual surplus into optimality. Equations (6.9)–(6.13) compare virtual and ironed priorities and establish the optimality and monotonicity of the proposed allocation.

Significance

The theorem specifies both who receives the object and how payments are computed, including irregular distributions and bidder-specific supports. The ironed priorities preserve incentives while retaining the seller's maximal expected utility. Equation (4.12) also gives the revenue-equivalence consequence: once the allocation rule and each lowest-type interim utility are fixed, expected seller utility is fixed.

A formal proof would connect several reusable results: product distributions with bidder-specific densities, interim incentive constraints, an envelope characterization, virtual-surplus accounting, and one-dimensional convex ironing. The source theorem and milestones are currently statements to be proved in this development, not existing machine-checked results. Related Börgers auction statements on Prove2Me use a common nonnegative support, at least two bidders, zero revision effects, and zero seller value; they do not provide this general theorem.

Difficulty

Maximizing virtual surplus at each profile is straightforward only if each bidder's virtual value rises with her report. When it falls, the resulting win probability can also fall, violating the incentive constraint. Replacing virtual values by slopes of a convex envelope restores monotonicity, but then the proof must account exactly for the difference between the original and ironed objectives, including flat portions of the envelope. Payments must satisfy the interim envelope identity for every type, while the seller's objective includes both transfers and her value for retaining the object.

Formalization scope

The Lean model uses a finite nonempty bidder type, real-valued reports and payments, one object, independent continuous positive densities normalized on each finite support, and continuous revision effects. The latter regularity is implicit in the paper's assertion that cic_ici​ is continuous. No mean-zero condition on revision effects is imposed: the paper explicitly says its equation (2.9) is unnecessary. One bidder, negative support endpoints, unequal supports, and arbitrary seller value remain allowed.

The profile law is Lebesgue measure restricted to TTT and weighted by the product density. Integrating a function after replacing coordinate iii represents the T−iT_{-i}T−i​ integral, because bidder iii's marginal density has mass one. Mechanisms are total functions, but allocation and incentive conditions quantify over supported profiles and reports. Feasibility explicitly requires integrability of allocations, payments, and their report sections so no undefined Bochner expectation can acquire Lean's default value zero. The convex envelope is the two-point infimum of equation (6.3); its defining set is nonempty and bounded below on [0,1][0,1][0,1]. The slope uses the right derivative below quantile one and the left derivative at one. The theorem requires feasibility of the proposed pair as well as its utility bound, ruling out an empty or unconstrained maximization claim.

The Stieltjes expressions in (6.9), (6.12), and (6.13) are combined into equivalent ordinary-integral comparisons over the profile law. A complete proof needs the one-dimensional envelope theorem, product-measure integration and Fubini results, differentiation of the convex envelope, and a careful endpoint treatment. The definitions of interim utilities and ironing can be reused for related auction models; contributions that establish these analytic components or the listed source lemmas are in scope.

Selected references

  • Roger B. Myerson, Optimal Auction Design, Mathematics of Operations Research 6(1):58–73, 1981. DOI: 10.1287/moor.6.1.58.
13 thms2 active usersReviewed
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 thms2 active usersReviewed
CombinatoricsProbabilityTheoretical Computer Science·Captain: mikedeng1

An Optimal Algorithm for On-line Bipartite Matching 2: No Randomized On-line Algorithm Guarantees an Expected Matching Larger Than n(1 − 1/e) + o(n)Research Paper

Motivation

An online matching algorithm must commit to each assignment when a request arrives, before it sees later requests. This limitation arises whenever waiting for the full instance is impossible: an available resource can be assigned to a current request or saved for an unknown future request. The quality of the assignment is measured by how many requests can be matched. The central question is how much the lack of future information costs, even when an algorithm uses randomness. Karp, U. Vazirani, and V. Vazirani studied this question for bipartite graphs and proved an asymptotic ceiling of 1−1/e1-1/e1−1/e for the expected fraction matched by any randomized online rule on graphs with a perfect matching (Karp, Vazirani, and Vazirani, 1990).

The paper also analyzes RANKING and gives a matching asymptotic guarantee from below. This mission concerns the separate upper-bound result: the existence of hard instances for every algorithm. The upper bound matters independently of any particular proposed rule. It says that improving an algorithm's decisions cannot remove the worst-case loss due to decisions made before all columns are revealed. Its quantifiers make the adversarial model precise: the graph is selected with knowledge of the algorithm, before that algorithm's random choices are made.

Setting

There are nnn boys, represented by rows, and nnn girls, represented by columns. A bipartite graph G⊆[n]×[n]G\subseteq[n]\times[n]G⊆[n]×[n] records which boy and girl pairs may be matched. The graph is assumed to contain a perfect matching: some bijection between the two sides uses only edges of GGG. This assumption supplies an offline benchmark of nnn matches. Without it, a graph with no edges would make every upper bound on matching size empty of content.

Girls arrive one at a time. On arrival, the algorithm learns the edges incident to that girl, chooses an as-yet-unmatched adjacent boy, or declines to match her. A choice cannot later be changed. The paper labels columns so that they arrive in the order n,n−1,…,1n,n-1,\ldots,1n,n−1,…,1. A deterministic algorithm can base its action on the neighborhoods revealed so far. A randomized algorithm can additionally use internal random choices. Its performance p(A)p(A)p(A) is the minimum, over a graph with a perfect matching and a preselected arrival order, of its expected number of matches; the expectation is over its own randomness (Karp, Vazirani, and Vazirani, 1990, p. 352).

The paper's hard family begins with the complete upper-triangular graph TnT_nTn​, where row iii is adjacent to column jjj exactly when i≤ji\le ji≤j. Its columns arrive from largest to smallest. Relabeling the rows by a permutation π\piπ gives an instance TπT_\piTπ​ that still contains a perfect matching. The algorithm RANDOM takes an eligible boy uniformly whenever at least one is available. Write VTn(n,∅)V_{T_n}(n,\varnothing)VTn​​(n,∅) for RANDOM's expected number of matches on TnT_nTn​, beginning with no matched rows (Karp, Vazirani, and Vazirani, 1990, p. 357).

Formalization targets

Main theorem

For every ε>0\varepsilon>0ε>0, there is one threshold NNN such that, for every n≥Nn\ge Nn≥N and every randomized online algorithm AAA on nnn rows and columns, a graph GGG with a perfect matching satisfies

EA[∣M(G)∣]≤(1−e−1+ε)n.\mathbb E_A[|M(G)|]\le (1-e^{-1}+\varepsilon)n.EA​[∣M(G)∣]≤(1−e−1+ε)n.

The threshold is uniform over algorithms. The graph may depend on AAA. This is the quantified upper-bound reading of Theorem 2's p(A)≤n(1−1/e)+o(n)p(A)\le n(1-1/e)+o(n)p(A)≤n(1−1/e)+o(n) (Karp, Vazirani, and Vazirani, 1990, Theorem 2).

Milestone statements

Lemma 13 identifies the average size produced by any deterministic greedy algorithm on a uniformly permuted TnT_nTn​ with RANDOM's expected size on TnT_nTn​. Lemma 14 bounds the worst-case performance of every randomized algorithm, including non-greedy algorithms, by that value. Lemma 16 identifies the value itself by the two-sided limit

lim⁡n→∞VTn(n,∅)n=1−e−1.\lim_{n\to\infty}\frac{V_{T_n}(n,\varnothing)}{n}=1-e^{-1}.n→∞lim​nVTn​​(n,∅)​=1−e−1.

Together these statements give the finite-instance comparison and the asymptotic value named in the goal (Karp, Vazirani, and Vazirani, 1990, Lemmas 13, 14, 16).

Significance

Theorem 2 limits what any randomized online matching rule can guarantee under the paper's oblivious-adversary performance measure. Since the hard graph always admits a perfect matching, the gap from nnn is caused by the order of information and the required irrevocable decisions. The statement applies to the entire algorithm class, rather than comparing two selected procedures. It therefore provides the ceiling against which the paper's lower guarantee for RANKING is measured.

Formalizing the result requires a reusable description of finite online algorithms, their visible histories, and expected matching size. It also requires a definition of uniform random choice from currently eligible rows with an explicit empty-choice case. The 1990 result is proved in the paper; the statements in this mission are targets for machine-checked proofs, not claims of an existing formal proof. The model can support later statements about other matching rules and hard-input distributions without changing the meaning of an online decision.

Difficulty

For a fixed graph, an algorithm can be designed around the graph's particular perfect matching, so one hard graph cannot simply be announced in advance for all deterministic algorithms. The theorem instead has to bound each randomized algorithm against a graph selected for that algorithm. Even then, checking the triangular graph against one rule does not establish a universal bound: different rules can respond differently to the same revealed neighborhoods. The crucial mathematical obstacle is a comparison across all such rules while preserving the restriction that future columns remain unseen. A further asymptotic step is needed to determine RANDOM's value on the triangular family, including both sides of the o(n)o(n)o(n) claim in Lemma 16.

Formalization scope

Both sides are Fin n. An edge set is a subset of row-column pairs. The published perfect-matching predicate is reused: it asks for a bijection whose every selected pair is an edge. The paper's one-based column order n,…,1n,\ldots,1n,…,1 is represented by zero-based order n−1,…,0n-1,\ldots,0n−1,…,0; arrival number zero is the largest column. A deterministic rule receives only the neighborhoods of columns that have arrived, including the current column. A randomized rule is a probability mass function on the finite set of deterministic rules, allowing arbitrary correlations among its choices. The expected size is a finite sum over that mass function.

RANDOM is represented by the conditional-expectation recursion for uniform choice among eligible rows. If none is eligible, the column remains unmatched and there is no division by zero. For n=0n=0n=0, the matching and RANDOM value are zero; the main theorem is eventual in nnn and Lemma 16's value at zero does not affect the limit. Lemma 16 uses a two-sided limit. The paper's o(n)o(n)o(n) in Theorem 2 is stated as ∀ε>0,∃N,∀n≥N\forall\varepsilon>0,\exists N,\forall n\ge N∀ε>0,∃N,∀n≥N with NNN before the algorithm, so the error is uniform across algorithms. A hard graph must contain a perfect matching; dropping this condition would let the empty graph satisfy the inequality trivially.

Useful contributions include finite probabilistic averaging, the greedy comparison, analysis of the recursive RANDOM value, and a proof joining Lemmas 14 and 16 into the uniform goal. The history and matching-run definitions are reusable for other finite online bipartite matching statements. The two numbered claims inside the paper's proof of Lemma 13 and its later remarks are outside the mission's curated milestone list.

Selected references

  • Richard M. Karp, Umesh V. Vazirani, and Vijay V. Vazirani, An Optimal Algorithm for On-line Bipartite Matching, Proceedings of the 22nd Annual ACM Symposium on Theory of Computing, pp. 352–358, 1990. DOI: 10.1145/100216.100262.
9 thms2 active usersReviewed
Convex OptimizationOptimizationProbability·Captain: mikedeng1

Wait-and-Judge Scenario Optimization 1: For Convex Programs, Seeing s_N Support Constraints Gives P^N{V(x_N) > ε(s_N)} ≤ γ, the Value of the Variational Problem (10)Research Paper

Motivation

Many decision problems in control, finance and engineering must hold against an uncertain parameter δ\deltaδ whose distribution is unknown, while samples of δ\deltaδ (measurements, historical records, simulations) are available. The scenario approach replaces the uncertain constraint by the constraints of the NNN observed samples and solves the resulting convex program. The open question is then how robust its solution is: with what probability does a new, unseen δ\deltaδ violate it?

The classical answer, due to Calafiore and Campi (doi:10.1007/s10107-003-0499-y, 2005; doi:10.1109/TAC.2006.875041, 2006) and sharpened by Campi and Garatti (doi:10.1137/07069821X, 2008), is an a-priori bound: it depends only on NNN and the dimension ddd, and it is tight for the worst problems. It is conservative for the many problems whose solution is determined by far fewer than ddd samples. Campi and Garatti's wait-and-judge theorem (doi:10.1007/s10107-016-1056-9, Math. Program. 2018) replaces it by an a-posteriori certificate: after solving, count the samples that actually determine the solution and certify the solution at a level that depends on that count.

Timeline:

  • 2005–2006, Calafiore and Campi: a convex scenario program in Rd\mathbb R^dRd has at most ddd support constraints; first sample-size bounds.
  • 2008, Campi and Garatti: the exact bound PN{V(xN∗)>ϵ}≤∑i=0d−1(Ni)ϵi(1−ϵ)N−i\mathbb P^N\{V(x^*_N)>\epsilon\}\le\sum_{i=0}^{d-1}\binom Ni\epsilon^i(1-\epsilon)^{N-i}PN{V(xN∗​)>ϵ}≤∑i=0d−1​(iN​)ϵi(1−ϵ)N−i, with equality for fully-supported problems.
  • 2018, Campi and Garatti: the wait-and-judge bound, Theorem 1 below, with the 2008 bound as a corollary.

Setting

The decision variable is x∈Rdx\in\mathbb R^dx∈Rd. A problem consists of a cost vector c∈Rdc\in\mathbb R^dc∈Rd, a convex domain X⊆Rd\mathcal X\subseteq\mathbb R^dX⊆Rd, convex constraint sets Xδ⊆Rd\mathcal X_\delta\subseteq\mathbb R^dXδ​⊆Rd indexed by δ\deltaδ in a probability space (Δ,F,P)(\Delta,\mathcal F,\mathbb P)(Δ,F,P), and convex tie-break functions t1,…,tpt_1,\dots,t_pt1​,…,tp​. Given an i.i.d. sample δ(1),…,δ(N)\delta^{(1)},\dots,\delta^{(N)}δ(1),…,δ(N) with N>dN>dN>d, the scenario program is

min⁡x∈X cTxsubject tox∈⋂i=1NXδ(i).\min_{x\in\mathcal X}\ c^{\mathsf T}x\quad\text{subject to}\quad x\in\bigcap_{i=1}^N\mathcal X_{\delta^{(i)}}.x∈Xmin​ cTxsubject tox∈i=1⋂N​Xδ(i)​.

Ties are broken by minimising t1t_1t1​ among the minimisers, then t2t_2t2​, and so on; the resulting solution is xN∗x^*_NxN∗​.

  • The violation of a point is V(x)=P{δ∈Δ:x∉Xδ}V(x)=\mathbb P\{\delta\in\Delta: x\notin\mathcal X_\delta\}V(x)=P{δ∈Δ:x∈/Xδ​}.
  • A constraint is a support constraint if removing it changes the solution; sN∗s^*_NsN∗​ is their number.
  • Assumption 1: for every mmm and every sample of size mmm, the program with those mmm constraints has a unique tie-broken solution.
  • Assumption 2 (non-degeneracy): for every mmm, with probability one, keeping only the support constraints does not change the solution.

The variational problem (10) is: for a function ϵ:{0,…,d}→[0,1]\epsilon:\{0,\dots,d\}\to[0,1]ϵ:{0,…,d}→[0,1],

γ∗=inf⁡ξ∈Cd[0,1]ξ(1)s.t.1k!dkdtkξ(t)≥(Nk)tN−k 1[0,1−ϵ(k))(t),  t∈[0,1], k=0,…,d.\gamma^*=\inf_{\xi\in C^d[0,1]}\xi(1)\quad\text{s.t.}\quad\frac1{k!}\frac{\mathrm d^k}{\mathrm dt^k}\xi(t)\ge\binom Nk t^{N-k}\,\mathbf 1_{[0,1-\epsilon(k))}(t),\ \ t\in[0,1],\ k=0,\dots,d.γ∗=ξ∈Cd[0,1]inf​ξ(1)s.t.k!1​dtkdk​ξ(t)≥(kN​)tN−k1[0,1−ϵ(k))​(t),  t∈[0,1], k=0,…,d.

Formalization targets

Goal: Theorem 1 (p. 10)

For every [0,1][0,1][0,1]-valued ϵ(k)\epsilon(k)ϵ(k), under Assumptions 1 and 2,

PN{V(xN∗)>ϵ(sN∗)} ≤ γ∗.\mathbb P^N\{V(x^*_N)>\epsilon(s^*_N)\}\ \le\ \gamma^*.PN{V(xN∗​)>ϵ(sN∗​)} ≤ γ∗.

The level ϵ\epsilonϵ is evaluated at the observed number of support constraints. The goal fixes no particular ϵ\epsilonϵ, which keeps it stable under any later choice of levels.

Milestones (the proof of Theorem 1, Sect. 5.1)

  1. sm∗≤ds^*_m\le dsm∗​≤d for every sample (quoted from [7]).
  2. (14): PN{V(xN∗)>ϵ(k)∧sN∗=k}=(Nk) PN{A}\mathbb P^N\{V(x^*_N)>\epsilon(k)\wedge s^*_N=k\}=\binom Nk\,\mathbb P^N\{A\}PN{V(xN∗​)>ϵ(k)∧sN∗​=k}=(kN​)PN{A}, where AAA adds "the first kkk constraints are of support".
  3. A=BA=BA=B up to a null set, where BBB concerns the program on the first kkk samples.
  4. (16): PN{A}=∫(ϵ(k),1](1−v)N−k dFk(v)\mathbb P^N\{A\}=\int_{(\epsilon(k),1]}(1-v)^{N-k}\,\mathrm dF_k(v)PN{A}=∫(ϵ(k),1]​(1−v)N−kdFk​(v), with Fk(v)=Pk{V(xk∗)≤v∧sk∗=k}F_k(v)=\mathbb P^k\{V(x^*_k)\le v\wedge s^*_k=k\}Fk​(v)=Pk{V(xk∗​)≤v∧sk∗​=k}.
  5. (17): PN{V(xN∗)>ϵ(sN∗)}=∑k=0d(Nk)∫(ϵ(k),1](1−v)N−k dFk(v)\mathbb P^N\{V(x^*_N)>\epsilon(s^*_N)\}=\sum_{k=0}^d\binom Nk\int_{(\epsilon(k),1]}(1-v)^{N-k}\,\mathrm dF_k(v)PN{V(xN∗​)>ϵ(sN∗​)}=∑k=0d​(kN​)∫(ϵ(k),1]​(1−v)N−kdFk​(v).
  6. (18): ∑k=0min⁡{m,d}(mk)∫[0,1](1−v)m−k dFk(v)=1\sum_{k=0}^{\min\{m,d\}}\binom mk\int_{[0,1]}(1-v)^{m-k}\,\mathrm dF_k(v)=1∑k=0min{m,d}​(km​)∫[0,1]​(1−v)m−kdFk​(v)=1 for every mmm.
  7. Weak duality between the truncated moment problem (20) and its dual (21), giving (22).
  8. (23): 1k!dkdtktm=(mk)tm−k\frac1{k!}\frac{\mathrm d^k}{\mathrm dt^k}t^m=\binom mk t^{m-k}k!1​dtkdk​tm=(km​)tm−k for m≥km\ge km≥k, and 000 otherwise.
  9. (24): the infimum of p(1)p(1)p(1) over polynomials feasible for (10) equals γ∗\gamma^*γ∗.

Companions

  • Theorem 2 (p. 11): for β∈(0,1)\beta\in(0,1)β∈(0,1) and ϵ(k)=1−t(k)\epsilon(k)=1-t(k)ϵ(k)=1−t(k), with t(k)t(k)t(k) the unique root in (0,1)(0,1)(0,1) of βN+1∑m=kN(mk)tm−k−(Nk)tN−k=0\frac{\beta}{N+1}\sum_{m=k}^N\binom mk t^{m-k}-\binom Nk t^{N-k}=0N+1β​∑m=kN​(km​)tm−k−(kN​)tN−k=0, the probability is at most β\betaβ.
  • The root lemma of Sect. 5.3, including its sign and divergence claims.
  • γ∗≤∑i<d(Ni)ϵi(1−ϵ)N−i\gamma^*\le\sum_{i<d}\binom Ni\epsilon^i(1-\epsilon)^{N-i}γ∗≤∑i<d​(iN​)ϵi(1−ϵ)N−i for constant ϵ\epsilonϵ (Sect. 5.2).
  • Corollary 1, the 2008 bound.

Significance

Theorem 1 turns the number of support constraints, which is observed after solving, into a confidence statement that holds uniformly over all convex problems and all distributions. With Theorem 2's choice of ϵ(k)\epsilon(k)ϵ(k), a user who finds k≪dk\ll dk≪d support constraints obtains a level ϵ(k)\epsilon(k)ϵ(k) comparable to that of a kkk-dimensional problem, which is far below the a-priori level for dimension ddd. The classical bound (2) is recovered as Corollary 1, so Theorem 1 contains the earlier theory.

The result is proved in the paper. As far as is known, it has no machine-checked proof. A formalization produces:

  • a formal account of scenario programs with lexicographic tie-break and of support constraints in the "changes the solution" sense;
  • the exchangeability argument (14) on product measures;
  • the representation (17) of a tail probability through generalized distribution functions;
  • a weak-duality argument for a generalized moment problem. The 2008 bound itself is posed on the platform as an open problem under other hypotheses; Corollary 1 states it under this paper's assumptions.

Difficulty

The obvious approach bounds the probability for each value of sN∗s^*_NsN∗​ separately by a binomial tail, then sums. This fails: the event sN∗=ks^*_N=ksN∗​=k is not known in advance, and summing the individual bounds over kkk loses the uniformity that makes the result useful. The paper instead characterises every convex problem by the (d+1)(d+1)(d+1)-tuple (F0,…,Fd)(F_0,\dots,F_d)(F0​,…,Fd​). It then maximises (17) over all tuples satisfying the infinitely many moment conditions (18), which is a generalized moment problem in d+1d+1d+1 measures, and solves it by duality.

Two steps carry most of the work. One is the almost-sure identity A=BA=BA=B, which depends on the precise interplay of Assumptions 1 and 2 with the tie-break. The other is passing from the polynomial dual problems to the variational problem (10), which needs a density argument in Cd[0,1]C^d[0,1]Cd[0,1]. The bound sN∗≤ds^*_N\le dsN∗​≤d itself is quoted from the earlier literature; it needs a Helly-type argument adapted to the lexicographic tie-break.

Formalization scope

  • Spaces. The decision space is EuclideanSpace ℝ (Fin d) with its Borel σ-algebra, and samples are Fin N → Δ, indexed from 000. P\mathbb PP is a probability measure and PN\mathbb P^NPN is the product measure.
  • Tie-break. The tie-broken solution is the lexicographic minimiser of (cTx,t1(x),…,tp(x))(c^{\mathsf T}x,t_1(x),\dots,t_p(x))(cTx,t1​(x),…,tp​(x)) and depends only on the feasible set, which is what makes the exchangeability step valid. A support constraint is one whose removal changes this solution; this is not the platform's earlier "removal lowers the cost" notion.
  • Assumptions. Assumption 1 is required for every sample, Assumption 2 almost surely.
  • Measurability. The paper takes measurability for granted (footnote 1). Here it is two explicit hypotheses: the relation {(x,δ):x∈Xδ}\{(x,\delta):x\in\mathcal X_\delta\}{(x,δ):x∈Xδ​} is measurable, and every solution map ω↦xm∗(ω)\omega\mapsto x^*_m(\omega)ω↦xm∗​(ω) is measurable. No event is assumed measurable directly.
  • FkF_kFk​. FkF_kFk​ is the finite measure on R\mathbb RR given by the law of V(xk∗)V(x^*_k)V(xk∗​) on the event {sk∗=k}\{s^*_k=k\}{sk∗​=k}; it is not normalised.
  • Problem (10). Cd[0,1]C^d[0,1]Cd[0,1] is ContDiffOn ℝ d on [0,1][0,1][0,1], with derivatives taken within [0,1][0,1][0,1]. γ∗\gamma^*γ∗ is a real infimum over a set that is nonempty (ξ(t)=tN\xi(t)=t^Nξ(t)=tN) and bounded below by 000.
  • Probabilities are compared with real quantities through ENNReal.ofReal.
  • Theorem 2 is stated for every ϵ\epsilonϵ whose values 1−ϵ(k)1-\epsilon(k)1−ϵ(k) are roots of (11) in (0,1)(0,1)(0,1), which by its first part is the paper's ϵ\epsilonϵ.
  • Added hypothesis. The constant-ϵ\epsilonϵ companion assumes d≥1d\ge1d≥1: at d=0d=0d=0, ϵ=0\epsilon=0ϵ=0 its inequality is false.

Ruled-out trivializations:

  • The solution is never a free function of the sample.
  • The goal does not mention FkF_kFk​, moments or polynomials.
  • Assumption 1 is not weakened to almost surely.
  • N>dN>dN>d is kept on Theorems 1, 2 and Corollary 1.
  • The indicators keep the paper's open and closed ends: [0,1−ϵ(k))[0,1-\epsilon(k))[0,1−ϵ(k)) in (10), (ϵ(k),1](\epsilon(k),1](ϵ(k),1] in (16)–(21).

Contributions welcome:

  • the support-constraint bound under lexicographic tie-break, which is reusable for any convex scenario result;
  • the exchangeability lemma on Measure.pi;
  • the duality and density lemmas, which are pure analysis.

Selected references

  • M. C. Campi, S. Garatti, Wait-and-judge scenario optimization, Mathematical Programming 167 (2018). https://doi.org/10.1007/s10107-016-1056-9
  • G. C. Calafiore, M. C. Campi, Uncertain convex programs: randomized solutions and confidence levels, Mathematical Programming 102 (2005). https://doi.org/10.1007/s10107-003-0499-y
  • G. C. Calafiore, M. C. Campi, The scenario approach to robust control design, IEEE Transactions on Automatic Control 51 (2006). https://doi.org/10.1109/TAC.2006.875041
  • M. C. Campi, S. Garatti, The exact feasibility of randomized solutions of uncertain convex programs, SIAM Journal on Optimization 19 (2008). https://doi.org/10.1137/07069821X
12 thms2 active usersReviewed
Discrete GeometryLinear OptimizationNumber Theory·Captain: mikedeng1

Integer Programming with a Fixed Number of Variables 1: If B(p,r) ⊂ τK ⊂ B(p,R) with R/r ≤ c₁ and τK Misses the Lattice, Fewer Than 1 + c₁c₂√n Lattice Hyperplanes H + kbₙ Meet B(p,R)Research Paper

Motivation

The integer linear programming feasibility problem asks, for an integer m×nm\times nm×n matrix AAA and b∈Zmb\in\mathbb Z^mb∈Zm, whether some x∈Znx\in\mathbb Z^nx∈Zn satisfies Ax≤bAx\le bAx≤b. It is NP-complete, so no algorithm polynomial in the length of the data is expected. H. W. Lenstra, Jr. (Math. Oper. Res. 8 (1983) 538–548) showed that the picture changes when the number of variables nnn is fixed: the problem is then solvable in polynomial time. The proof is a short argument from the geometry of numbers, and it became the starting point of lattice methods in integer programming, including Kannan's improved algorithm and the later flatness-based branching schemes.

Lenstra's introduction (p. 538) describes the idea as transforming the problem into an equivalent one in which "either the existence of a vector x∈Znx \in \mathbb Z^nx∈Zn satisfying Ax≤bAx \le bAx≤b is obvious; or it is known that the last coordinate of any such xxx belongs to an interval whose length is bounded by a constant only depending on nnn." This mission formalizes the geometric statement behind that dichotomy, §1 of the paper.

Timeline. For n=2n = 2n=2, Hirschberg and Wong and Kannan gave polynomial algorithms in special cases, and Scarf treated the case n=2n=2n=2 completely; the case of general fixed nnn was conjectured by Hirschberg–Wong and Scarf (as recounted on p. 538). Lenstra's paper (received 1981, published 1983) settled the conjecture. Its lattice reduction step uses the algorithm of Lenstra, Lenstra and Lovász (1982). Kannan (1987) later reduced the dependence on nnn to nO(n)n^{O(n)}nO(n).

Setting

Work in Rn\mathbb R^nRn with the Euclidean length ∣⋅∣|\cdot|∣⋅∣, and write B(p,z)={x∈Rn:∣x−p∣≤z}B(p,z)=\{x\in\mathbb R^n : |x-p|\le z\}B(p,z)={x∈Rn:∣x−p∣≤z} for the closed ball with centre ppp and radius z>0z>0z>0.

A lattice is L=∑i=1nZbiL=\sum_{i=1}^n \mathbb Z b_iL=∑i=1n​Zbi​ for a basis b1,…,bnb_1,\dots,b_nb1​,…,bn​ of Rn\mathbb R^nRn. Its determinant d(L)=∣det⁡(b1,…,bn)∣d(L)=|\det(b_1,\dots,b_n)|d(L)=∣det(b1​,…,bn​)∣ (the bib_ibi​ as columns) is the volume of the parallelepiped ∑i[0,1) bi\sum_i[0,1)\,b_i∑i​[0,1)bi​ and does not depend on the basis. Hadamard's inequality (6) says d(L)≤∏i∣bi∣d(L)\le\prod_i|b_i|d(L)≤∏i​∣bi​∣. A basis is reduced in Lenstra's sense if, for a constant c2c_2c2​ depending only on nnn,

∏i=1n∣bi∣≤c2⋅d(L).(7)\prod_{i=1}^n |b_i| \le c_2\cdot d(L). \tag{7}i=1∏n​∣bi​∣≤c2​⋅d(L).(7)

Singling out bnb_nbn​, let H=∑i=1n−1RbiH=\sum_{i=1}^{n-1}\mathbb R b_iH=∑i=1n−1​Rbi​ be the hyperplane spanned by the other vectors, L′=∑i=1n−1ZbiL'=\sum_{i=1}^{n-1}\mathbb Z b_iL′=∑i=1n−1​Zbi​ the lattice inside it, and hhh the distance of bnb_nbn​ to HHH. Then L⊂⋃k∈Z(H+kbn)L\subset\bigcup_{k\in\mathbb Z}(H+kb_n)L⊂⋃k∈Z​(H+kbn​): the lattice lies on a family of parallel hyperplanes H+kbnH + kb_nH+kbn​ at successive distance hhh.

In the paper, K={x:Ax≤b}K=\{x : Ax\le b\}K={x:Ax≤b} is bounded with positive volume, and a linear map τ\tauτ makes it "round":

B(p,r)⊂τK⊂B(p,R)(3),R/r≤c1(4),B(p,r)\subset\tau K\subset B(p,R)\quad(3),\qquad R/r\le c_1\quad(4),B(p,r)⊂τK⊂B(p,R)(3),R/r≤c1​(4),

with c1c_1c1​ depending only on nnn. Then K∩Zn=∅K\cap\mathbb Z^n=\emptysetK∩Zn=∅ if and only if τK∩L=∅\tau K\cap L=\emptysetτK∩L=∅ for L=τZnL=\tau\mathbb Z^nL=τZn, a lattice with basis bi=τ(ei)b_i=\tau(e_i)bi​=τ(ei​).

Formalization targets

Goal (§1, p. 541)

Let b1,…,bnb_1,\dots,b_nb1​,…,bn​ be a basis with (7), numbered so that ∣bn∣=max⁡i∣bi∣|b_n|=\max_i|b_i|∣bn​∣=maxi​∣bi​∣, and let τK\tau KτK satisfy (3) and (4). Then

τK∩L≠∅ort−1<c1c2n,\tau K\cap L\neq\emptyset\quad\text{or}\quad t-1<c_1c_2\sqrt n,τK∩L=∅ort−1<c1​c2​n​,

where ttt is the number of hyperplanes H+kbnH+kb_nH+kbn​, k∈Zk\in\mathbb Zk∈Z, that meet B(p,R)B(p,R)B(p,R) (finiteness included).

Milestones, in the order the paper uses them

  1. LEMMA (8), p. 540: every xxx has y∈Ly\in Ly∈L with ∣x−y∣2≤14(∣b1∣2+⋯+∣bn∣2)|x-y|^2\le\frac14(|b_1|^2+\cdots+|b_n|^2)∣x−y∣2≤41​(∣b1​∣2+⋯+∣bn​∣2).
  2. (10), p. 540: if ∣bn∣|b_n|∣bn​∣ is maximal, ∣x−y∣≤12n ∣bn∣|x-y|\le\frac12\sqrt n\,|b_n|∣x−y∣≤21​n​∣bn​∣.
  3. (11), p. 540: d(L)=h⋅d(L′)d(L)=h\cdot d(L')d(L)=h⋅d(L′).
  4. (12), pp. 540–541: under (7), c2−1∣bn∣≤h≤∣bn∣c_2^{-1}|b_n|\le h\le|b_n|c2−1​∣bn​∣≤h≤∣bn​∣.
  5. p. 541: if B(p,r)⊂τKB(p,r)\subset\tau KB(p,r)⊂τK and τK∩L=∅\tau K\cap L=\emptysetτK∩L=∅, then r<12n ∣bn∣r<\frac12\sqrt n\,|b_n|r<21​n​∣bn​∣.
  6. p. 541: if precisely ttt hyperplanes H+kbnH+kb_nH+kbn​ meet B(p,R)B(p,R)B(p,R), then t−1≤2R/ht-1\le 2R/ht−1≤2R/h.

The goal leaves c1c_1c1​ and c2c_2c2​ free, so it remains valid for any reduction algorithm and any rounding procedure; the companion mission (Integer Programming with a Fixed Number of Variables 2) supplies c1=2n3/2c_1 = 2n^{3/2}c1​=2n3/2, and the LLL algorithm supplies c2=2n(n−1)/4c_2=2^{n(n-1)/4}c2​=2n(n−1)/4.

Significance

The result. The goal is the branching step of Lenstra's algorithm. It says that a lattice-point-free convex body that is well rounded is "flat" in the lattice direction dual to HHH: only boundedly many lattice hyperplanes meet it. The search for a lattice point in dimension nnn therefore reduces to fewer than 1+c1c2n1+c_1c_2\sqrt n1+c1​c2​n​ searches in dimension n−1n-1n−1, which with nnn fixed gives polynomial running time. Sharper forms of the same dichotomy, such as Kannan's bounds, are the basis of later lattice-based integer programming algorithms.

Formalizing it. The results are classical and proved on paper; to our knowledge none of the statements of §1 is machine-checked. Hadamard's inequality (6) is in Mathlib (Orientation.abs_volumeForm_apply_le). The published platform theorem KannanLattice.Core.exists_lattice_point_near_projection (Kannan 1987, Proposition 4.2) proves a stronger form of (8) and (10), with Gram–Schmidt lengths in place of ∣bi∣|b_i|∣bi​∣; for L=ZnL=\mathbb Z^nL=Zn, (10) is the published QFS.exists_lattice_mem_closedBall. What remains is the "base times height" identity (11) relating a full-rank determinant to the distance of a vector from a hyperplane, the spacing bound (12), the count of hyperplanes meeting a ball, and their assembly. This is one of the two geometric ingredients of Lenstra's polynomial algorithm; the algorithm itself and its running time are not formalized.

Difficulty

The argument is short on paper, and each step is "clear" there. The work lies in connecting three descriptions of the same geometry that Mathlib keeps apart: the determinant of a coordinate matrix (d(L)d(L)d(L)), the metric distance of a point to a subspace (hhh), and the (n−1)(n-1)(n−1)-dimensional volume of L′L'L′. Identity (11) needs exactly this bridge, and (12) needs Hadamard's inequality for the lower-dimensional lattice L′L'L′ inside a hyperplane of Rn\mathbb R^nRn, not for a full-rank matrix. Bounding the number of hyperplanes meeting a ball needs the normal direction of HHH and the fact that the hyperplanes are hhh apart along it. A tempting shortcut is to define hhh as the length of the last Gram–Schmidt vector and d(L)d(L)d(L) as the product of Gram–Schmidt lengths: that turns (11) into a tautology and is ruled out below.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n), so norms are Euclidean and balls round; B(p,z)B(p,z)B(p,z) is Metric.closedBall p z with z>0z>0z>0 as a hypothesis where the paper writes a ball.
  • Where bnb_nbn​ is singled out, n=k+1n=k+1n=k+1, the basis is b : Fin (k+1) → ℝⁿ, bnb_nbn​ = b (Fin.last k) and b1,…,bn−1b_1,\dots,b_{n-1}b1​,…,bn−1​ = b ∘ Fin.castSucc. "Basis for LLL" is linear independence of the nnn vectors over R\mathbb RR, and LLL is the published KannanLattice.Core.lattice b, the Z\mathbb ZZ-span.
  • d(L)d(L)d(L) is the paper's definition, ∣det⁡∣|\det|∣det∣ of the column matrix (latDet). hhh is Metric.infDist from bnb_nbn​ to the span HHH. d(L′)d(L')d(L′), for which the paper writes no formula, is the published KannanLattice.Core.latticeDet (the product of Gram–Schmidt lengths of b1,…,bn−1b_1,\dots,b_{n-1}b1​,…,bn−1​, the (n−1)(n-1)(n−1)-volume of their parallelepiped).
  • The hyperplanes H+kbnH+kb_nH+kbn​ meeting B(p,R)B(p,R)B(p,R) are indexed by the set of integers hitIndices b p R; ttt is its cardinality, its finiteness is part of every conclusion (the cardinality of an infinite set is 000 in Lean), and t−1t-1t−1 is computed in R\mathbb RR.
  • The constants "only depending on nnn", c1c_1c1​ and c2c_2c2​, are arbitrary real numbers. The reducedness (7) is a hypothesis, and so is the maximality ∣bi∣≤∣bn∣|b_i|\le|b_n|∣bi​∣≤∣bn​∣, which enters (10), the radius bound and the goal only.
  • τK\tau KτK is an arbitrary set X⊆RnX\subseteq\mathbb R^nX⊆Rn satisfying (3); §1 never uses that KKK is a polyhedron or the map τ\tauτ, and every lattice is τZn\tau\mathbb Z^nτZn for τ(ei)=bi\tau(e_i)=b_iτ(ei​)=bi​. The paper's "for some p∈τKp\in\tau Kp∈τK" follows from (3).
  • The identity (11) is stated without (7), which the paper assumes in the surrounding sentence but does not use.
  • Ruled out: defining d(L)d(L)d(L) or hhh through Gram–Schmidt lengths (which makes (11) bookkeeping), dropping finiteness of the hyperplane count, and replacing the dichotomy "some lattice point lies in τK\tau KτK" by a statement about one computed lattice point.

Welcome contributions: the bridge between Matrix.det of a basis and products of Gram–Schmidt lengths (reusable for any lattice development), Hadamard's inequality for a family of fewer than nnn vectors, and the count of lattice hyperplanes meeting a ball.

Selected references

  • H. W. Lenstra, Jr., Integer Programming with a Fixed Number of Variables, Mathematics of Operations Research 8(4) (1983) 538–548. https://doi.org/10.1287/moor.8.4.538
  • A. K. Lenstra, H. W. Lenstra, Jr., L. Lovász, Factoring polynomials with rational coefficients, Mathematische Annalen 261 (1982) 515–534. https://doi.org/10.1007/BF01457454
  • R. Kannan, Minkowski's convex body theorem and integer programming, Mathematics of Operations Research 12(3) (1987) 415–440. https://doi.org/10.1287/moor.12.3.415
10 thms2 active usersReviewed
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 thms2 active usersReviewed
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 thms2 active usersReviewed
Dynamical SystemsStochastic Systems·Captain: mikedeng1

Stability and Instability of Fluid Models for Reentrant Lines 4: The Lu–Kumar Network Has an Unstable Work-Conserving Fluid Model iff m₂ + m₄ ≥ 1Research Paper

Motivation

A reentrant line is a queueing network in which every customer follows one fixed route but may return to a station after visiting another one. A manufacturing line can have this pattern when a product revisits the same machine at different processing stages. A station can then have little nominal workload and still face unstable queues under an unfortunate service order. Dai and Weiss studied this gap between nominal capacity and fluid stability for reentrant lines in their 1996 paper. The four-class line associated with Lu and Kumar is their sharp example: its behavior changes at a simple cross-station inequality that is different from either station's ordinary workload constraint.

The paper establishes several positive stability results for other disciplines and networks, then gives an exact boundary for the Lu–Kumar line. Here the exact boundary is the focus. The result concerns fluid models, deterministic large-scale approximations of queue trajectories. It does not assert positive Harris recurrence or transience of the underlying stochastic network in both directions. The paper cites Dai's earlier implication from a stable fluid model to a stable stochastic discipline, but the converse was still open in its concluding discussion (Dai and Weiss 1996, pp. 119 and 133).

Setting

There are four customer classes, encountered in order 1→2→3→41\to2\to3\to41→2→3→4. Classes 111 and 444 use station 111; classes 222 and 333 use station 222. Each class kkk has a positive mean service time mkm_kmk​ and service rate μk=1/mk\mu_k=1/m_kμk​=1/mk​. The external arrival rate is normalized to one. The nominal workloads are ρ1=m1+m4\rho_1=m_1+m_4ρ1​=m1​+m4​ and ρ2=m2+m3\rho_2=m_2+m_3ρ2​=m2​+m3​, both assumed strictly below one. These assumptions say that each station has enough average capacity for its own stages, but they leave the scheduling decision unresolved.

At time ttt, Qk(t)≥0Q_k(t)\ge0Qk​(t)≥0 is the amount of class-kkk fluid, and Tk(t)T_k(t)Tk​(t) is the cumulative service time devoted to that class. The fluid equations balance the inflow and outflow of each class. Outside fluid enters class 111 at unit rate; completion of class kkk feeds class k+1k+1k+1 until class 444 exits. Service times and idle times are nondecreasing, and a station's idle time can increase only when its total queue content is zero. A pair (Q,T)(Q,T)(Q,T) with these properties is a work-conserving fluid solution.

The Lu–Kumar priority discipline gives class 444 priority over class 111 at station 111, and class 222 priority over class 333 at station 222. Its fluid model adds the priority complementarity condition: service capacity available to a priority prefix can be unused only when that prefix has no immediate workload. For either model, fluid stability means that some common time δ>0\delta>0δ>0 empties every admissible solution with ∑kQk(0)=1\sum_kQ_k(0)=1∑k​Qk​(0)=1, with all queues remaining zero for t≥δt\ge\deltat≥δ. Instability is the negation of this statement; it does not require every solution to diverge.

Formalization targets

Exact threshold

Theorem 5.1 and Remark 1 give two connected classifications, under mk>0m_k>0mk​>0, ρ1<1\rho_1<1ρ1​<1, and ρ2<1\rho_2<1ρ2​<1:

¬FluidStable⁡(all work-conserving solutions)⟺m2+m4≥1,\neg\operatorname{FluidStable}(\text{all work-conserving solutions}) \quad\Longleftrightarrow\quad m_2+m_4\ge1,¬FluidStable(all work-conserving solutions)⟺m2​+m4​≥1, ¬FluidStable⁡(Lu–Kumar priority solutions)⟺m2+m4≥1.\neg\operatorname{FluidStable}(\text{Lu–Kumar priority solutions}) \quad\Longleftrightarrow\quad m_2+m_4\ge1.¬FluidStable(Lu–Kumar priority solutions)⟺m2​+m4​≥1.

The first clause captures the paper's existence of an unstable work-conserving policy: on the unstable side, the named priority discipline supplies one; on the other side, every work-conserving fluid model is stable. The second clause records the particular policy classification stated in Remark 1. Equality belongs to the unstable side: the paper exhibits a periodic nonempty solution there (Dai and Weiss 1996, pp. 125–127).

Supporting targets

The milestones follow the paper's own statements and proof claims. The real-analysis extinction criterion of Lemma 2.2(ii) and the maximum-of-components criterion of Lemma 3.2 provide the stability language. Display (3.2), already available as a proved platform theorem, identifies the derivative of an attained maximum at a regular point. The priority condition (4.4) implies the ordinary work-conserving condition (1.13). The unstable half records one first cycle, one solution with every scaled cycle, and instability of the priority model. The stable half records the authors' explicit parameter choice, the two linear Lyapunov conditions, and stability of every work-conserving fluid solution.

Significance

The threshold says that the two station-load inequalities alone do not characterize stability of all work-conserving service orders. The extra inequality m2+m4<1m_2+m_4<1m2​+m4​<1 determines when the entire work-conserving fluid class is stable; its failure admits a concrete priority discipline with a nonempty trajectory. At the boundary m2+m4=1m_2+m_4=1m2​+m4​=1, growth need not be strict: periodic fluid behavior already defeats finite-time stability. The result therefore distinguishes the paper's global stability region from the larger parameter region in which both stations are nominally underloaded (Dai and Weiss 1996, Remark 1, p. 125).

A machine-checked development would give reusable definitions for a four-stage reentrant fluid model, its priority complementarity condition, and the precise unit-initial-state notion of stability. The local Lean statements in this proposal compile, but their proofs remain open. The published maximum-derivative fact is the one already proved platform component used by this mission. The other milestones identify the mathematical work needed to formalize the known 1996 result, rather than presenting the result as a new open conjecture.

Difficulty

The ordinary load test ρi<1\rho_i<1ρi​<1 controls how much service each station needs on average, but it does not control which class receives service when several buffers at a station are nonempty. In the Lu–Kumar priority discipline, serving a high-priority downstream class changes the future arrival pattern seen by the other station. Thus a direct argument from ρ1<1\rho_1<1ρ1​<1 and ρ2<1\rho_2<1ρ2​<1 to queue extinction fails. On the stable side, checking a single station's workload is also insufficient: its content may fall while earlier-stage fluid continues to feed it. The paper formulates two linear components and a finite maximum; the challenge is to obtain a uniform negative drift whenever that maximum is positive, including times when one station is empty and the other determines the active component (Dai and Weiss 1996, pp. 126–128).

Formalization scope

Classes and stations are Fin 4 and Fin 2, with zero-based Lean indices: paper class kkk is Lean index k−1k-1k−1. The fixed station map is (0,1,1,0)(0,1,1,0)(0,1,1,0). Service times remain real parameters with explicit positivity hypotheses. Paths are total functions of real time, while equations and conclusions apply only on t≥0t\ge0t≥0. The external arrival rate is one, and initial size is the sum ∑kQk(0)\sum_kQ_k(0)∑k​Qk​(0), since class contents are nonnegative. The nominal-load assumptions are the two strict inequalities in (5.1). The named priority ranking is a permutation; it encodes only the station-local comparisons that matter.

Conditions (1.13) and (4.4), printed as complementarity or “increases only when empty,” use an equivalent interval-constancy condition in Lean. No extra Lipschitz or continuity assumption is placed on solutions: the fluid equations and monotone capacity constraints are intended to supply that regularity. Derivatives at regular points are represented with HasDerivAt. Lemma 2.2(ii) uses the non-strict bound g˙≤−ε\dot g\le-\varepsilong˙​≤−ε, the version used by the paper's applications, although its displayed hypothesis prints g˙<−ε\dot g<-\varepsilong˙​<−ε. The p. 127 line involving G1G_1G1​ prints (1−θ2)Q4(1-\theta_2)Q_4(1−θ2​)Q4​; (5.3) fixes the intended coefficient as (1−θ1)Q4(1-\theta_1)Q_4(1−θ1​)Q4​.

The goal uses Definition 1.3 exactly: one uniform emptying time for all solutions of unit initial content. An impossible solution predicate, or an instability claim that only asks for a nonzero state at time zero, would not represent the paper's theorem. The mission needs finite-index sum and maximum infrastructure, absolute continuity and almost-everywhere differentiation on nonnegative time, plus elementary algebra of service rates and the cycle scaling. These components can be reused in later fluid-network missions. Contributions that preserve the source's hypotheses and boundary case are welcome.

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.
14 thms2 active usersReviewed
Dynamical SystemsStochastic Systems·Captain: mikedeng1

Stability and Instability of Fluid Models for Reentrant Lines 5: Without Immediate Feedback, Every Work-Conserving Fluid Model of a Two-Station Kelly-Type Line Is StableResearch Paper

Motivation

A multiclass queueing network can be unstable even when every station has enough capacity on average: the queue lengths grow without bound although each server's nominal load is below one. Kumar and Seidman, Lu and Kumar (1991) and Rybko and Stolyar (1992) exhibited such networks under simple priority disciplines. This raised the question of which networks are stable under every reasonable policy, and which policies are stable in every network. Dai (1995) reduced the stability of a queueing network to the stability of its deterministic fluid model, so that the question becomes one about solutions of a system of linear equations and inequalities.

Dai and Weiss (1996) use this reduction to study reentrant lines, the model of semiconductor wafer fabrication in which a single route visits the same machines many times. Section 6 of their paper treats Kelly-type lines, in which every visit to a station has the same mean service time. Kelly (1979) showed that such networks with exponential service times are stable under FIFO and have a product-form stationary distribution. Theorem 6.1 shows that with two stations, and a route that never visits the same station twice in a row, stability holds under every work-conserving policy, not only FIFO. This mission formalizes that theorem.

Setting

A reentrant line has stations 1,…,I1,\dots,I1,…,I and classes 1,…,K1,\dots,K1,…,K. Fluid enters class 111 at rate 111, moves from class kkk to class k+1k+1k+1 on service, and leaves after class KKK. Class kkk is served at station σ(k)\sigma(k)σ(k) with mean service time mk>0m_k > 0mk​>0 and rate μk=1/mk\mu_k = 1/m_kμk​=1/mk​. The constituency of station iii is Ci={k:σ(k)=i}C_i = \{k : \sigma(k) = i\}Ci​={k:σ(k)=i} and its nominal workload is ρi=∑k∈Cimk\rho_i = \sum_{k\in C_i} m_kρi​=∑k∈Ci​​mk​. The traffic condition (1.7) is ρi<1\rho_i < 1ρi​<1 for every iii.

A fluid model solution is a pair (Q,T)(Q, T)(Q,T): Qk(t)≥0Q_k(t) \ge 0Qk​(t)≥0 is the fluid in class kkk at time ttt and Tk(t)T_k(t)Tk​(t) the cumulative service time given to class kkk by time ttt. They satisfy, for t≥0t \ge 0t≥0,

Qk(t)=Qk(0)+μk−1Tk−1(t)−μkTk(t)(μ0T0(t)=t),Q_k(t) = Q_k(0) + \mu_{k-1}T_{k-1}(t) - \mu_k T_k(t) \quad (\mu_0 T_0(t) = t),Qk​(t)=Qk​(0)+μk−1​Tk−1​(t)−μk​Tk​(t)(μ0​T0​(t)=t),

Tk(0)=0T_k(0) = 0Tk​(0)=0 with TkT_kTk​ nondecreasing, and the idle time Ui(t)=t−Bi(t)U_i(t) = t - B_i(t)Ui​(t)=t−Bi​(t), where Bi(t)=∑k∈CiTk(t)B_i(t) = \sum_{k\in C_i} T_k(t)Bi​(t)=∑k∈Ci​​Tk​(t), is nondecreasing. The solution is work-conserving if UiU_iUi​ increases only at times when station iii holds no fluid. The immediate volume of station iii is Wi(t)=∑k∈CimkQk(t)W_i(t) = \sum_{k \in C_i} m_k Q_k(t)Wi​(t)=∑k∈Ci​​mk​Qk​(t).

The line is of Kelly type with station means β1,…,βI\beta_1, \dots, \beta_Iβ1​,…,βI​ if mk=βσ(k)m_k = \beta_{\sigma(k)}mk​=βσ(k)​ for every class kkk. Its routing has no immediate feedback if σ(k+1)≠σ(k)\sigma(k+1) \ne \sigma(k)σ(k+1)=σ(k) for every k<Kk < Kk<K. A set of fluid solutions is stable (Definition 1.3) if there is a δ>0\delta > 0δ>0 such that every solution in the set with ∣Q(0)∣=∑kQk(0)=1|Q(0)| = \sum_k Q_k(0) = 1∣Q(0)∣=∑k​Qk​(0)=1 is empty from time δ\deltaδ on.

Formalization targets

Goal: Theorem 6.1

For a two-station Kelly-type reentrant line without immediate feedback that satisfies (1.7), the work-conserving fluid model is stable: there is δ>0\delta > 0δ>0 with

∑kQk(0)=1 ⟹ Qk(t)=0for all t≥δ, k=1,…,K,\sum_k Q_k(0) = 1 \ \Longrightarrow\ Q_k(t) = 0 \quad \text{for all } t \ge \delta,\ k = 1,\dots,K,k∑​Qk​(0)=1 ⟹ Qk​(t)=0for all t≥δ, k=1,…,K,

for every work-conserving fluid solution (Q,T)(Q,T)(Q,T). The number of classes KKK is arbitrary, of either parity, and the route may start at either station.

Milestones

The milestones follow the proof on p. 130 and the two general lemmas it uses: the extinction criterion of Lemma 2.2 (ii); the derivative of a maximum at an active index, display (3.2), already proved on the platform; the piecewise-linear Lyapunov Lemma 3.2; the drift identity Gi(t)=Gi(0)+∣Ci∣t−Bi(t)/βiG_i(t) = G_i(0) + |C_i|t - B_i(t)/\beta_iGi​(t)=Gi​(0)+∣Ci​∣t−Bi​(t)/βi​ for Gi=∑k∈CiQk+G_i = \sum_{k\in C_i} Q_k^+Gi​=∑k∈Ci​​Qk+​, with Qk+=∑l≤kQlQ_k^+ = \sum_{l\le k} Q_lQk+​=∑l≤k​Ql​; the comparison Wi(t)=0⇒Gi(t)≤Gj(t)W_i(t) = 0 \Rightarrow G_i(t) \le G_j(t)Wi​(t)=0⇒Gi​(t)≤Gj​(t); and the verification that G1,G2G_1, G_2G1​,G2​ meet the hypotheses of Lemma 3.2 with εi=1/βi−∣Ci∣\varepsilon_i = 1/\beta_i - |C_i|εi​=1/βi​−∣Ci​∣.

Significance

The result. Theorem 6.1 gives a class of networks in which stability needs no knowledge of the scheduling policy: any policy that never idles a server with work waiting is stable whenever the nominal loads are below one. For queueing networks this is the property usually called global stability. Through Theorem 1.1 of the paper (Dai 1995, Theorem 4.3) the fluid statement implies positive Harris recurrence of the corresponding multiclass queueing network under every work-conserving head-of-the-line policy. The paper's Remarks 2 and 3 show the boundary: with immediate feedback (the line 1,2,2,2,1,11,2,2,2,1,11,2,2,2,1,1 with all means 0.30.30.3), or with three stations, a Kelly-type line can be unstable. A two-station Kelly-type line without immediate feedback is a unidirectional ring with one customer type, so the theorem is a special case of the ring-network result the paper proves as Theorem 6.2. That result is an open goal on the platform (ProcessingNetworks.GlobalStability.ring_globally_stable, Dai and Harrison's Theorem 8.24) in a different encoding of the fluid model.

Formalizing it. The theorem is proved in the paper, and the mission formalizes that proof. No machine-checked proof of the result, or of the Lyapunov lemmas it uses, is known to exist. The mission also produces reusable pieces: a fluid model of reentrant lines in the paper's own formulation, an extinction lemma for absolutely continuous functions, and the max-of-linear Lyapunov lemma, which the paper uses again in §§3 and 5.

Difficulty

The obvious Lyapunov function, the total workload, does not work: a work-conserving policy may starve a station while the other one is busy, so the total content need not decrease. The paper's components Gi=∑k∈CiQk+G_i = \sum_{k\in C_i}Q_k^+Gi​=∑k∈Ci​​Qk+​ each decrease at the constant rate 1/βi−∣Ci∣1/\beta_i - |C_i|1/βi​−∣Ci​∣ while station iii is busy. When station iii is idle, GiG_iGi​ can grow, and the argument then needs the comparison Gi≤GjG_i \le G_jGi​≤Gj​, which requires the alternating route. The analytic difficulty is the passage from these pointwise statements to extinction. Fluid paths are only Lipschitz. The maximum G=max⁡(G1,G2)G = \max(G_1, G_2)G=max(G1​,G2​) need not be differentiable where the maximum switches, and the drift statements hold only almost everywhere. Lemma 2.2 (ii) and the derivative-of-a-maximum fact (3.2) make this step rigorous. The proof for odd KKK is not printed ("can be proved similarly"), and the formal goal covers it.

Formalization scope

All objects live in the namespace DaiWeissFluid.KellyType. The conventions are fixed as follows.

  • Classes and stations are 0-based (Fin K, Fin I). The paper's class kkk is Lean k - 1.
  • Paths are total functions ℝ → Fin K → ℝ, and every equation is imposed for t≥0t \ge 0t≥0 only. Derivatives are taken at t>0t > 0t>0 via HasDerivAt.
  • Work conservation (1.13) is stated in interval form: UiU_iUi​ is constant on every interval [s,t]⊆[0,∞)[s,t] \subseteq [0,\infty)[s,t]⊆[0,∞) on which station iii holds fluid throughout. For the continuous nondecreasing UiU_iUi​ this is equivalent to the paper's Stieltjes condition. Lipschitz continuity of the paths is not assumed, because it follows from the model.
  • mk>0m_k > 0mk​>0 is an explicit hypothesis. ∣Q(0)∣|Q(0)|∣Q(0)∣ is ∑kQk(0)\sum_k Q_k(0)∑k​Qk​(0).
  • Stability is Definition 1.3, which constrains only solutions with ∣Q(0)∣=1|Q(0)| = 1∣Q(0)∣=1.
  • The paper's Theorem 6.1 says "any work-conserving policy is stable", which is stability of the queueing network (Definition 1.1). Its proof establishes stability of the work-conserving fluid model, and the queueing-level conclusion follows from the cited Theorem 1.1 (Dai 1995). The goal is the fluid statement. Theorem 1.1 and the stochastic model are not formalized.
  • Lemma 2.2 (ii) is stated with the hypothesis g˙≤−ε\dot g \le -\varepsilong˙​≤−ε, where the page prints <<<. This is the form in which every application uses it, and it gives a stronger lemma.
  • The drift identity is stated for every Kelly-type line, which implies the printed K=2nK = 2nK=2n display. The printed "G2(t)=G2(t)+nt−…G_2(t) = G_2(t) + nt - \dotsG2​(t)=G2​(t)+nt−…" is read as G2(0)+nt−…G_2(0) + nt - \dotsG2​(0)+nt−….
  • Condition (b) and the Lemma 3.2 check are stated for both parities of KKK and both starting stations. A station with no classes has its εi\varepsilon_iεi​ left free.

The goal must not be trivialized. It quantifies over all work-conserving solutions with ∣Q(0)∣=1|Q(0)| = 1∣Q(0)∣=1, and this set is nonempty: a sorry-free witness with K=2K = 2K=2 is checked locally. Neither the Kelly-type hypothesis nor the absence of immediate feedback may be dropped (Remark 2), nor may the goal be generalized beyond two stations (Remark 3). Restricting it to even KKK, or to a route starting at station 1, would weaken it.

Contributions welcome: proofs of the general Lemmas 2.2 (ii) and 3.2, which apply across the whole series; the drift identity, which is pure algebra from (1.8); the continuity facts for fluid paths (Lipschitz bounds from (1.10)–(1.12)); and the final assembly.

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. https://doi.org/10.1287/moor.21.1.115
  • J. G. Dai, On positive Harris recurrence of multiclass queueing networks: a unified approach via fluid limit models, Annals of Applied Probability 5(1), 49–77, 1995. https://doi.org/10.1214/aoap/1177004828
  • S. H. Lu and P. R. Kumar, Distributed scheduling based on due dates and buffer priorities, IEEE Transactions on Automatic Control 36(12), 1406–1416, 1991. https://doi.org/10.1109/9.106156
  • F. P. Kelly, Reversibility and Stochastic Networks, Wiley, 1979.
  • J. G. Dai and J. M. Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press, 2020. https://doi.org/10.1017/9781108772662
11 thms2 active usersReviewed
CombinatoricsProbabilityTheoretical Computer Science·Captain: mikedeng1

Online Stochastic Matching: Beating 1-1/e 1: When OPT = Ω(n), the Two Suggested Matchings Algorithm Achieves ALG/OPT ≥ (1 − 2/e²)/(4/3 − 2/(3e)) − ε ≈ 0.670 with Probability 1 − e^(−Ω(n))Research Paper

Motivation

Online bipartite matching models a platform that must commit each arriving request to a resource immediately. The motivating application of Feldman, Mehta, Mirrokni and Muthukrishnan is display advertising: an ad server knows from past traffic how many impressions of each type (web page, audience segment) to expect, sells them to advertisers in advance, and must assign each impression to an interested advertiser the moment a user loads the page. The goal is to fill as many contracted impressions as possible.

When arrivals are chosen by an adversary, the best ratio an online algorithm can guarantee is 1−1/e≈0.6321 - 1/e \approx 0.6321−1/e≈0.632, achieved by the RANKING algorithm of Karp, Vazirani and Vazirani (STOC 1990). The ad server, however, is not facing an adversary: it has a forecast. The i.i.d. model captures this: the graph and the distribution of impression types are known in advance, and the impressions are independent draws. The paper asks whether this knowledge allows an online algorithm to beat 1−1/e1 - 1/e1−1/e, and answers yes.

Timeline.

  • 1990: Karp, Vazirani and Vazirani give RANKING, with ratio 1−1/e1 - 1/e1−1/e for adversarial arrivals, and show this is optimal in that model.
  • 2005: Mehta, Saberi, Vazirani and Vazirani obtain 1−1/e1 - 1/e1−1/e for the budgeted AdWords generalization.
  • 2009: Feldman, Mehta, Mirrokni and Muthukrishnan (arXiv:0905.4100, FOCS 2009) show that in the i.i.d. model the two suggested matchings algorithm achieves about 0.6700.6700.670 with high probability when OPT is linear in nnn, the first ratio above 1−1/e1 - 1/e1−1/e for this model, and that no online algorithm reaches 26/2726/2726/27 in expectation.

Setting

An instance is a bipartite graph G=(A,I,E)G = (A, I, E)G=(A,I,E) with a finite set AAA of advertisers, a finite set III of impression types, and edges E⊆A×IE \subseteq A \times IE⊆A×I recording which advertisers want which types. The mission treats the case analysed throughout §4.2 of the paper, in which one impression of each type is expected (ei=1e_i = 1ei​=1). So n=∣I∣n = |I|n=∣I∣ impressions arrive one at a time, with types ω(0),…,ω(n−1)\omega(0), \dots, \omega(n-1)ω(0),…,ω(n−1) drawn independently and uniformly from III. On arrival an impression must be assigned at once and irrevocably to a still unassigned advertiser adjacent to its type, or discarded. ALG(ω)\mathrm{ALG}(\omega)ALG(ω) is the number of impressions an algorithm assigns. 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 aaa with (a,ω(t))∈E(a, \omega(t)) \in E(a,ω(t))∈E.

The two suggested matchings (TSM) algorithm works offline first. Its boosted flow graph GfG_fGf​ has a source arc of capacity 222 into every advertiser, a unit-capacity arc along every edge of EEE, and an arc of capacity 222 from every type to a sink. The algorithm takes the edge set EfE_fEf​ of an integral maximum flow. Every vertex then has at most two edges of EfE_fEf​, so EfE_fEf​ splits into vertex-disjoint paths and cycles. The algorithm colours each component blue and red:

  • on cycles, the colours alternate;
  • on odd paths, the colours alternate, with more blue than red;
  • on even paths between advertisers, the colours alternate;
  • on even paths between types, the first two edges are blue, then the colours alternate, ending in blue.

Online, the first arrival of type iii tries the advertiser along iii's blue edge, the second tries the one along its red edge, and later arrivals are discarded. A tried advertiser that is already taken is not reassigned. The advertisers fall into four classes by their coloured edges: ABRA_{BR}ABR​ (one blue, one red), ABBA_{BB}ABB​ (two blue), ABA_BAB​ (one blue only) and ARA_RAR​ (one red only).

Formalization targets

Goal: Theorem 5, first sentence, ei=1e_i = 1ei​=1

Let

α=1−2/e24/3−2/(3e)≈0.67029.\alpha = \frac{1 - 2/e^2}{4/3 - 2/(3e)} \approx 0.67029 .α=4/3−2/(3e)1−2/e2​≈0.67029.

The goal has three parts. First, every maximum flow edge set admits a colouring that follows the rules. Second, for every ε>0\varepsilon > 0ε>0 and c>0c > 0c>0 there are δ>0\delta > 0δ>0 and NNN such that, for every instance with n≥Nn \ge Nn≥N, every maximum flow edge set and every rule-following colouring,

Pr⁡ω[ OPT≥c n  ⟹  ALG≥(α−ε) OPT ]  ≥  1−e−δn.\Pr_\omega\big[\ \mathrm{OPT} \ge c\,n \implies \mathrm{ALG} \ge (\alpha - \varepsilon)\,\mathrm{OPT}\ \big] \;\ge\; 1 - e^{-\delta n}.ωPr​[ OPT≥cn⟹ALG≥(α−ε)OPT ]≥1−e−δn.

Third, α>1−1/e\alpha > 1 - 1/eα>1−1/e.

Milestones

  1. Facts 1 and 2: concentration for two balls-in-bins statistics.
  2. The note of §4.2.1: each type has no coloured edge, one blue edge, or one blue and one red edge.
  3. Equation (1): ∣Ef∣=2∣ABR∣+2∣ABB∣+∣AB∣+∣AR∣|E_f| = 2|A_{BR}| + 2|A_{BB}| + |A_B| + |A_R|∣Ef​∣=2∣ABR​∣+2∣ABB​∣+∣AB​∣+∣AR​∣.
  4. Equation (2): with high probability, ALG≥(1−1/e2)∣ABB∣+(1−2/e2)∣ABR∣+(1−3/(2e))(∣AB∣+∣AR∣)−4εn\mathrm{ALG} \ge (1 - 1/e^2)|A_{BB}| + (1 - 2/e^2)|A_{BR}| + (1 - 3/(2e))(|A_B| + |A_R|) - 4\varepsilon nALG≥(1−1/e2)∣ABB​∣+(1−2/e2)∣ABR​∣+(1−3/(2e))(∣AB​∣+∣AR​∣)−4εn.
  5. Equation (3): ∣Ef∣=2(∣AT∣+∣IS∣)+∣Eδ∣|E_f| = 2(|A_T| + |I_S|) + |E_\delta|∣Ef​∣=2(∣AT​∣+∣IS​∣)+∣Eδ​∣ for the surgered residual cut (S,T)(S,T)(S,T) of GfG_fGf​.
  6. Equation (4): with high probability, OPT≤∣ABR∣+∣ABB∣+12(∣AB∣+∣AR∣)+(12−1e)∣Eδ∣+εn\mathrm{OPT} \le |A_{BR}| + |A_{BB}| + \tfrac12(|A_B| + |A_R|) + (\tfrac12 - \tfrac1e)|E_\delta| + \varepsilon nOPT≤∣ABR​∣+∣ABB​∣+21​(∣AB​∣+∣AR​∣)+(21​−e1​)∣Eδ​∣+εn.
  7. Lemma 1: ∣Eδ∣≤23∣ABR∣+43∣ABB∣+∣AB∣+13∣AR∣|E_\delta| \le \tfrac23|A_{BR}| + \tfrac43|A_{BB}| + |A_B| + \tfrac13|A_R|∣Eδ​∣≤32​∣ABR​∣+34​∣ABB​∣+∣AB​∣+31​∣AR​∣.

Significance

The theorem separates the i.i.d. model from the adversarial one: knowing the distribution is worth a constant factor above 1−1/e1 - 1/e1−1/e. The suggested matching algorithm of the same paper (Theorem 4) shows that following a single offline matching gets exactly 1−1/e1 - 1/e1−1/e, so the second, red matching is what crosses the barrier. The paper's question started a line of work on the i.i.d. and random-order models, with later improvements to the constant by other authors under further assumptions.

The result has a written proof but, as far as the platform record shows, no machine-checked one. The mission formalizes the paper's own argument: the flow-and-colouring construction, the balls-in-bins concentration facts, the cut-based bound on OPT and the combinatorial Lemma 1. It also fixes two slips in the printed statements (see Formalization scope). The pieces are reusable beyond this paper. The occupancy concentration (Fact 1) and the satisfied-sequences bound (Fact 2) recur in analyses of online algorithms with stochastic input. The degree-capped flow encoding and its path/cycle decomposition are standard tools for 2-matchings.

Difficulty

The upper bound on OPT is the delicate part. A cut of the flow graph bounds the maximum matching of the realization graph only after a second surgery that depends on the random arrivals. Its size must then be compared with the colour classes, which are defined by a different structure (the components of EfE_fEf​). Lemma 1 bridges the two, and it depends on the exact colouring rules: a colouring that only satisfies local degree conditions can put red edges at both ends of an even advertiser path, which breaks the inequality ∣AB∣≥∣AR∣|A_B| \ge |A_R|∣AB​∣≥∣AR​∣ behind (2). On the probabilistic side, the advertisers of ABRA_{BR}ABR​ share impression types with each other, so the success events are dependent, and Fact 2 needs a bounded-differences argument in which one ball affects up to ddd sequences.

Formalization scope

All declarations live in the namespace OnlineStochMatching.TSM. Advertisers and types are finite types A I : Type, and EEE is a Finset (A × I). Probabilities are counting ratios #{ω:Fin n→I∣P ω}/∣I∣n\#\{\omega : \mathrm{Fin}\ n \to I \mid P\,\omega\}/|I|^n#{ω:Fin n→I∣Pω}/∣I∣n, so there are no measurability side conditions. OPT is a maximum over the finite, nonempty set of partial injective assignments. An integral flow of GfG_fGf​ is its set of saturated middle edges, i.e. a subset of EEE with at most two edges per vertex; EfE_fEf​ is such a set of maximum cardinality. A colouring is given by a listing of the components of EfE_fEf​ as vertex sequences. Every theorem quantifies over every maximum EfE_fEf​ and every colouring the rules allow, since the paper fixes neither.

The paper's asymptotic phrases are replaced by explicit quantifiers that come from its own proofs:

  • "with probability 1−e−Ω(n)1 - e^{-\Omega(n)}1−e−Ω(n)" and "with high probability" (Theorem 5, (2), (4)) become: ∃ δ>0, ∃ N\exists\, \delta > 0,\ \exists\, N∃δ>0, ∃N, chosen before the instance, with probability at least 1−e−δn1 - e^{-\delta n}1−e−δn for all n≥Nn \ge Nn≥N;
  • "as long as OPT =Ω(n)= \Omega(n)=Ω(n)" becomes the event OPT≥c n\mathrm{OPT} \ge c\,nOPT≥cn for an arbitrary c>0c > 0c>0 fixed before δ\deltaδ and NNN;
  • the O(1)O(1)O(1) term in the bound on ∣Aδ∗∣|A^*_\delta|∣Aδ∗​∣ (p. 8) is absorbed into εn\varepsilon nεn for n≥Nn \ge Nn≥N.

Corrections to the printed statements:

  • Theorem 5 prints ALG/OPT−ϵ≥α\mathrm{ALG}/\mathrm{OPT} - \epsilon \ge \alphaALG/OPT−ϵ≥α; the proof concludes ALG/OPT+ϵ≥α\mathrm{ALG}/\mathrm{OPT} + \epsilon \ge \alphaALG/OPT+ϵ≥α, so the goal states ALG≥(α−ε)OPT\mathrm{ALG} \ge (\alpha - \varepsilon)\mathrm{OPT}ALG≥(α−ε)OPT;
  • Fact 1 prints the failure probability 2e−ϵn/22e^{-\epsilon n/2}2e−ϵn/2; its proof gives 2e−ϵ2n/22e^{-\epsilon^2 n/2}2e−ϵ2n/2, which is used;
  • Fact 2 states two hypotheses its proof uses: the bins of a sequence are distinct, and c2<nc^2 < nc2<n.

The ratio is multiplied out, so no division by OPT occurs. A colouring condition that is unsatisfiable, or a flow set that is not maximum, would make the goal vacuous or false; part (a) of the goal rules out the first, and every statement requires maximality. Not included: the reduction to general integer eie_iei​ (§4.2.4), the tightness sentence of Theorem 5 (§4.2.5), and footnote 7's variant of the algorithm.

Useful infrastructure: bounded-differences (McDiarmid/Azuma) inequalities for functions of i.i.d. uniform variables, which exist on the platform as separate theorems; path/cycle decomposition of graphs of maximum degree two; and max-flow min-cut for unit-capacity bipartite networks. Contributions are welcome on Facts 1 and 2 independently of the combinatorics, and on Lemma 1 and equations (1) and (3), which are deterministic.

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
  • A. Mehta, A. Saberi, U. Vazirani, V. Vazirani, AdWords and generalized online matching, FOCS 2005; J. ACM 54(5), 2007. https://doi.org/10.1145/1284320.1284321
13 thms2 active usersReviewed
Optimization·Captain: mikedeng1

Assortment Optimization under Variants of the Nested Logit Model 5: For General Nests, the Nested-by-Preference-and-Revenue LP Optimum Scaled by the Factor (12) Is Feasible for the Full LPResearch Paper

Assortment planning with nested choice

A retailer that groups its products into categories (brands, store sections, flight classes) and decides which products to display in each faces the assortment problem: offering more products attracts more customers but also diverts sales away from the most profitable products. The nested logit model is the standard description of customer choice in this setting. A customer first selects a category (a nest), then a product within it. Choice-based models of this kind are the basis of revenue management under customer choice (Talluri and van Ryzin 2004).

Davis, Gallego and Topaloglu (DGT 2014) study the assortment problem under the nested logit model with two features that earlier work excluded: dissimilarity parameters larger than one, under which products in a nest act as complements rather than substitutes, and a no-purchase option inside each nest, under which a customer may enter a nest and still leave without buying. They show that the problem is NP-hard once either feature is present. For each regime they give a small linear program whose solution yields an assortment with a provable performance guarantee. This mission formalizes the guarantee for the most general instances, where both features occur together (§6.1, Theorem 11).

Timeline. Rusmevichientong, Shmoys and Topaloglu (2010) bound nested-by-revenue assortments under a multinomial logit mixture. [DGT 2014] prove that nested-by-revenue assortments are optimal for dissimilarity parameters at most one without within-nest no-purchase options (Theorem 4). They give factor-(6) guarantees with synergistic products, a factor-two guarantee via knapsack relaxations for partially-captured nests (Theorem 10), and the general factor (12) of Theorem 11. Li, Rusmevichientong and Topaloglu (2015) extend the nested-by-revenue result to ddd-level nested logit models.

The model

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

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

A customer chooses nest iii with probability Vi(Si)γi/(v0+∑lVl(Sl)γl)V_i(S_i)^{\gamma_i}/(v_0+\sum_l V_l(S_l)^{\gamma_l})Vi​(Si​)γi​/(v0​+∑l​Vl​(Sl​)γl​), and the expected revenue is

Π(S1,…,Sm)=∑iVi(Si)γiRi(Si)v0+∑iVi(Si)γi.\Pi(S_1,\dots,S_m)=\frac{\sum_{i}V_i(S_i)^{\gamma_i}R_i(S_i)}{v_0+\sum_{i}V_i(S_i)^{\gamma_i}} .Π(S1​,…,Sm​)=v0​+∑i​Vi​(Si​)γi​∑i​Vi​(Si​)γi​Ri​(Si​)​.

The optimal value Z∗Z^*Z∗ of max⁡Π\max\PimaxΠ equals the optimal value of the linear program

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

which has 2n2^n2n constraints per nest. Problem (4) keeps only the constraints for a chosen candidate collection of assortments in each nest.

A nest is fully captured if vi0=0v_{i0}=0vi0​=0 (i∈Mfi\in M^fi∈Mf) and partially captured if vi0>0v_{i0}>0vi0​>0 (i∈Mpi\in M^pi∈Mp). Nij={1,…,j}N_{ij}=\{1,\dots,j\}Nij​={1,…,j} is the nested-by-revenue assortment. NijkN^k_{ij}Nijk​ is the set of the jjj highest-revenue products among the kkk products of nest iii with the smallest preference weights, with Ni0k=∅N^k_{i0}=\emptysetNi0k​=∅ and Nijn=NijN^n_{ij}=N_{ij}Nijn​=Nij​.

Formalization targets

Goal: Theorem 11

Let (x^,y^)(\hat x,\hat y)(x^,y^​) be an optimal solution of (4) when the candidate collection of every nest is {Nijk:k∈N, j=0,…,k}∪{{j}:j∈N}\{N^k_{ij}:k\in N,\ j=0,\dots,k\}\cup\{\{j\}:j\in N\}{Nijk​:k∈N, j=0,…,k}∪{{j}:j∈N}, and let

β=max⁡i∈Mf, j=2,…,n{Vi(Nij)Vi(Ni,j−1)}∨max⁡i∈Mp, j=1,…,n{Vi(Nij)Vi(Ni,j−1)}∨2(12).\beta=\max_{i\in M^f,\ j=2,\dots,n}\left\{\frac{V_i(N_{ij})}{V_i(N_{i,j-1})}\right\}\vee\max_{i\in M^p,\ j=1,\dots,n}\left\{\frac{V_i(N_{ij})}{V_i(N_{i,j-1})}\right\}\vee2 \qquad (12).β=i∈Mf, j=2,…,nmax​{Vi​(Ni,j−1​)Vi​(Nij​)​}∨i∈Mp, j=1,…,nmax​{Vi​(Ni,j−1​)Vi​(Nij​)​}∨2(12).

Then (βx^,βy^)(\beta\hat x,\beta\hat y)(βx^,βy^​) is feasible for problem (3).

The theorem assumes γˉ=max⁡iγi>1\bar\gamma=\max_i\gamma_i>1γˉ​=maxi​γi​>1, as all of §6 does. Otherwise it places no restriction on the γi\gamma_iγi​ or the vi0v_{i0}vi0​.

Milestones

  1. x^≥0\hat x\ge0x^≥0 (A.4, p. 46).
  2. Every greedy knapsack assortment S^i(ϵi)\hat S_i(\epsilon_i)S^i​(ϵi​) of §5 is one of the NijkN^k_{ij}Nijk​ (pp. 24–25).
  3. The relaxed nest problem over [0,1]n[0,1]^n[0,1]n has an optimal solution of fractional-prefix form (A.4 Case 1, p. 47).
  4. Inequality (30): for a nest with γi>1\gamma_i>1γi​>1 and y^i≥0\hat y_i\ge0y^​i​≥0, βy^i\beta\hat y_iβy^​i​ bounds the relaxed objective at every fractional prefix (p. 47).
  5. Case 1: γi>1\gamma_i>1γi​>1, y^i≥0\hat y_i\ge0y^​i​≥0 gives the constraints of (3) for nest iii (pp. 47–48).
  6. Problem (31) has a nested-by-revenue optimal solution when γi>1\gamma_i>1γi​>1 and its coefficient b=βy^ib=\beta\hat y_ib=βy^​i​ is negative (p. 48).
  7. Case 2: γi>1\gamma_i>1γi​>1, y^i<0\hat y_i<0y^​i​<0 (p. 48).
  8. Case 3: γi≤1\gamma_i\le1γi​≤1, through the factor-two argument of Theorem 10 (pp. 48–49).

Two companions follow the goal. One is the resulting guarantee β Π(S^)≥Z∗≥Π(S^)\beta\,\Pi(\hat S)\ge Z^*\ge\Pi(\hat S)βΠ(S^)≥Z∗≥Π(S^), through Theorem 1. The other is the bound β≤2κ\beta\le2\kappaβ≤2κ when the preference weights within a nest differ by at most a factor κ\kappaκ (p. 26).

Significance

Theorem 11, combined with Theorem 1 of the paper, gives a polynomial-size method for an NP-hard problem. The method solves one linear program with 1+m1+m1+m variables and 1+m(1+n+n2)1+m(1+n+n^2)1+m(1+n+n2) constraints, then reads off an assortment whose expected revenue is within the factor β\betaβ of the optimum. This holds for every nested logit instance, including nests where customers may walk away and nests whose products are complements. When the weights inside each nest are within a factor κ\kappaκ of each other, the guarantee is at most 2κ2\kappa2κ.

The theorem is proved in the paper's appendix. No part of it is machine-checked. Formalizing it checks a case analysis that reuses, by reference, arguments from two other theorems: Theorem 7 (synergistic, fully-captured nests) and Theorem 10 (competitive, partially-captured nests). It makes precise what these arguments need when the two regimes are mixed in one instance. The formalization also fixes the boundary conventions the printed proof leaves implicit: fully-captured nests with k=1k=1k=1, zero-weight denominators, and the sign of y^i\hat y_iy^​i​.

Difficulty

Each nest falls into one of three regimes, and a different argument controls each. With γi≤1\gamma_i\le1γi​≤1 the nest behaves like a knapsack problem. Its guarantee of two needs the knapsack collection of §5 to sit inside {Nijk}\{N^k_{ij}\}{Nijk​}. With γi>1\gamma_i>1γi​>1 and y^i≥0\hat y_i\ge0y^​i​≥0, the constraint must be extended from nested-by-revenue sets to every subset. This goes through a continuous relaxation whose optimum has a fractional coordinate, and it costs the ratio Vi(Nik)/Vi(Ni,k−1)V_i(N_{ik})/V_i(N_{i,k-1})Vi​(Nik​)/Vi​(Ni,k−1​), which is where (12) comes from. With γi>1\gamma_i>1γi​>1 and y^i<0\hat y_i<0y^​i​<0, the scaling argument of Case 1 fails because multiplying by a factor at most one no longer preserves the inequality. The proof switches to the different objective (31), whose convexity in one coordinate forces an integral optimum.

The first idea, bounding every assortment by a nested-by-revenue one, is false here. With γi>1\gamma_i>1γi​>1 or vi0>0v_{i0}>0vi0​>0, nested-by-revenue assortments are not optimal, and the loss is exactly the factor β\betaβ.

Formalization scope

Products are Fin n; NijN_{ij}Nij​ is nbr n j. Powers are Real.rpow, and x/0=0x/0=0x/0=0, so Ri(∅)=0R_i(\emptyset)=0Ri​(∅)=0. Problems (3) and (4) are stated in constraint form: LP4Optimal means feasible and with xxx minimal among feasible points. β\betaβ is the greatest element of the finite set betaSet I, which contains 222 and the ratios of (12). Fully-captured nests skip j=1j=1j=1, as on the page. The collection is constructed: nestedPR breaks weight ties by index and revenue ties by index.

Standing assumptions, all disclosed:

  • vij>0v_{ij}>0vij​>0, rij≥0r_{ij}\ge0rij​≥0 and γi>0\gamma_i>0γi​>0. The page allows zero-weight padding products and γi=0\gamma_i=0γi​=0, but its arguments do not cover them.
  • γˉ>1\bar\gamma>1γˉ​>1 on every statement set in Theorem 11's context.
  • n≥1n\ge1n≥1 for the collection claim and the prefix claim.
  • vi0>0v_{i0}>0vi0​>0 for the statement about (31). That is the only kind of nest where Case 2 arises. For vi0=0v_{i0}=0vi0​=0, Lean's 01−γi=00^{1-\gamma_i}=001−γi​=0 would remove the page's +∞+\infty+∞.
  • v0>0v_0>0v0​>0 for the guarantee, where Theorem 1 fails otherwise.
  • κ≥1\kappa\ge1κ≥1, and vi0v_{i0}vi0​ counted among the weights of a partially-captured nest (vij≤κvi0v_{ij}\le\kappa v_{i0}vij​≤κvi0​, vi0≤κvijv_{i0}\le\kappa v_{ij}vi0​≤κvij​), for the 2κ2\kappa2κ bound.

A trivializing formalization is ruled out. The goal states only feasibility for (3), with β\betaβ the maximum of (12), not any upper bound. The collection is the page's, not an arbitrary family containing it. The goal mentions none of the cases or the relaxations.

A complete development needs continuous knapsack solutions (greedy optimality, fractional prefixes), convexity of t↦t1−γt\mapsto t^{1-\gamma}t↦t1−γ on (0,∞)(0,\infty)(0,∞), and the factor-two argument of Theorem 10. The knapsack and fractional-prefix lemmas are reusable for the companion missions of this series. Proofs of individual cases, and proofs of milestones in greater generality, are welcome.

Selected references

  • J. M. Davis, G. Gallego, H. Topaloglu, Assortment optimization under variants of the nested logit model, Operations Research 62(2), 2014 (revised manuscript of June 18, 2013). https://doi.org/10.1287/opre.2014.1256
  • P. Rusmevichientong, D. B. Shmoys, H. Topaloglu, Assortment optimization with mixtures of logits, technical report, Cornell University, 2010. http://legacy.orie.cornell.edu/~huseyin/publications/publications.html
  • G. Li, P. Rusmevichientong, H. Topaloglu, The d-level nested logit model: assortment and price optimization problems, Operations Research 63(2), 2015.
  • K. Talluri, G. van Ryzin, Revenue management under a general discrete choice model of consumer behavior, Management Science 50(1), 15–33, 2004. https://doi.org/10.1287/mnsc.1030.0147
  • D. P. Williamson, D. B. Shmoys, The Design of Approximation Algorithms, Cambridge University Press, 2011. https://doi.org/10.1017/CBO9780511921735
14 thms2 active usersReviewed
Linear OptimizationOptimizationTheoretical Computer Science·Captain: mikedeng1

Approximation Algorithms for Precedence-Constrained Scheduling Problems on Parallel Machines That Run at Different Speeds: A min{K + 2√K + 1, 1.89 log m + O(√log m)}-Approximation for Q|prec|CmaxResearch Paper

Scheduling precedence-constrained jobs on machines of different speeds

Graham (1966) showed that list scheduling finds a schedule within a factor 222 of optimal for precedence-constrained jobs on identical parallel machines, the first performance guarantee for an approximation algorithm. When the machines run at different speeds (uniformly related machines), the same analysis breaks down, and for two decades the problem Q∣prec∣Cmax⁡Q|prec|C_{\max}Q∣prec∣Cmax​ resisted a guarantee independent of the speeds better than O(m)O(\sqrt m)O(m​).

Timeline:

  • 1974, Liu and Liu: list scheduling on machines of different speeds, with a guarantee that depends on the speeds and can be arbitrarily large even for a fixed number of machines.
  • 1980, Jaffe: list scheduling on the machines whose speed is within a factor m\sqrt mm​ of the fastest gives an O(m)O(\sqrt m)O(m​)-approximation.
  • 1978, Lenstra and Rinnooy Kan: with precedence constraints, no ρ\rhoρ-approximation with ρ<4/3\rho < 4/3ρ<4/3 exists unless P = NP. This bound already holds for identical machines.
  • 1997–1999, Chudak and Shmoys: an LP-guided variant of list scheduling achieves O(log⁡m)O(\log m)O(logm), and K+2K+1K + 2\sqrt K + 1K+2K​+1 when there are only KKK distinct speeds (J. Algorithms 30 (1999) 323–343; conference version SODA 1997).

The mission formalizes the makespan half of that paper, up to its Theorem 3.7.

Setting

An instance has nnn jobs and m≥1m \ge 1m≥1 machines. Job jjj requires pj>0p_j > 0pj​>0 units of processing, and machine iii runs at speed si>0s_i > 0si​>0, so job jjj takes pj/sip_j/s_ipj​/si​ time units on machine iii. A strict partial order ≺\prec≺ on the jobs gives precedence constraints: j≺kj \prec kj≺k means that job kkk may not start until job jjj has completed.

A schedule runs each job jjj without interruption on one machine μ(j)\mu(j)μ(j), from a start time Sj≥0S_j \ge 0Sj​≥0 to its completion time Cj=Sj+pj/sμ(j)C_j = S_j + p_j/s_{\mu(j)}Cj​=Sj​+pj​/sμ(j)​. A machine processes at most one job at a time, and j≺kj \prec kj≺k forces Cj≤SkC_j \le S_kCj​≤Sk​. Its length is Cmax⁡=max⁡jCjC_{\max} = \max_j C_jCmax​=maxj​Cj​. Cmax⁡∗C^*_{\max}Cmax∗​ is the length of an optimal schedule.

Let sˉ1>sˉ2>⋯>sˉK\bar s_1 > \bar s_2 > \cdots > \bar s_Ksˉ1​>sˉ2​>⋯>sˉK​ be the distinct speeds and mkm_kmk​ the number of machines of speed sˉk\bar s_ksˉk​. An assignment k(j)k(j)k(j) names the speed class at which job jjj is to run. Its loads are Dk=1mk∑j:k(j)=kpj/sˉkD_k = \frac{1}{m_k}\sum_{j:k(j)=k} p_j/\bar s_kDk​=mk​1​∑j:k(j)=k​pj​/sˉk​, and its chain bound CCC is the largest value of ∑j∈Cpj/sˉk(j)\sum_{j\in\mathcal C} p_j/\bar s_{k(j)}∑j∈C​pj​/sˉk(j)​ over chains C\mathcal CC of ≺\prec≺. Speed-based list scheduling is Graham's rule restricted by the assignment: whenever a machine of speed sˉk\bar s_ksˉk​ is idle, it starts the first available job jjj on the list with k(j)=kk(j) = kk(j)=k.

The linear program LP has variables xkj≥0x_{kj} \ge 0xkj​≥0, CjC_jCj​ and DDD. It minimizes DDD subject to the following constraints:

  • ∑kxkj=1\sum_k x_{kj} = 1∑k​xkj​=1;
  • 1mksˉk∑jpjxkj≤D\frac{1}{m_k\bar s_k}\sum_j p_j x_{kj} \le Dmk​sˉk​1​∑j​pj​xkj​≤D;
  • ∑k(pj/sˉk)xkj≤Cj\sum_k (p_j/\bar s_k)x_{kj} \le C_j∑k​(pj​/sˉk​)xkj​≤Cj​, and ∑k(pj/sˉk)xkj≤Cj−Cj′\sum_k (p_j/\bar s_k)x_{kj} \le C_j - C_{j'}∑k​(pj​/sˉk​)xkj​≤Cj​−Cj′​ whenever j′≺jj' \prec jj′≺j;
  • Cj≤DC_j \le DCj​≤D.

From a solution, with pˉj=∑k(pj/sˉk)xkj\bar p_j = \sum_k (p_j/\bar s_k)x_{kj}pˉ​j​=∑k​(pj​/sˉk​)xkj​, the assignment algorithm gives each job jjj the speed class k∉Bj={k:pj/sˉk>γpˉj}k \notin B_j = \{k : p_j/\bar s_k > \gamma\bar p_j\}k∈/Bj​={k:pj​/sˉk​>γpˉ​j​} of largest capacity sˉkmk\bar s_k m_ksˉk​mk​.

Formalization targets

Goal: Theorem 3.7 (p. 10)

There is an absolute constant ccc such that for every instance with m≥2m \ge 2m≥2 machines and KKK distinct speeds, the better of the two schedules below has length at most

min⁡{K+2K+1, 1.89log⁡2m+clog⁡2m}⋅Cmax⁡∗.\min\bigl\{K + 2\sqrt K + 1,\ 1.89\log_2 m + c\sqrt{\log_2 m}\bigr\}\cdot C^*_{\max}.min{K+2K​+1, 1.89log2​m+clog2​m​}⋅Cmax∗​.
  • (A) An optimal LP solution, the assignment algorithm with γ=K+1\gamma = \sqrt K + 1γ=K​+1, and speed-based list scheduling.
  • (B) The same algorithm run on speeds rounded down to powers of eee, with machines slower than sˉ1/(mlog⁡2m)\bar s_1/(m\log_2 m)sˉ1​/(mlog2​m) dropped, and read back on the original machines.

Milestones, in proof order

  • Existence of speed-based list schedules (p. 4).
  • Theorem 2.1: Cmax⁡≤C+∑kDkC_{\max} \le C + \sum_k D_kCmax​≤C+∑k​Dk​.
  • The LP lower bound Dˉ≤Cmax⁡∗\bar D \le C^*_{\max}Dˉ≤Cmax∗​ (p. 6).
  • Lemmas 3.1–3.4: chain bounds 2Dˉ2\bar D2Dˉ and (K+1)Dˉ(\sqrt K + 1)\bar D(K​+1)Dˉ, and load bounds 2KDˉ2K\bar D2KDˉ and (K+K)Dˉ(K + \sqrt K)\bar D(K+K​)Dˉ.
  • Theorem 3.5 and Corollary 3.6: the factor K+2K+1K + 2\sqrt K + 1K+2K​+1 against Cmax⁡∗C^*_{\max}Cmax∗​ and against Dˉ\bar DDˉ.
  • Rounded schedules serve the original instance (p. 9).
  • The speed rounding: at most ⌊log⁡β(αm)⌋+1\lfloor\log_\beta(\alpha m)\rfloor + 1⌊logβ​(αm)⌋+1 speeds, and the LP value grows by a factor of at most β(1+1/α)\beta(1 + 1/\alpha)β(1+1/α) (p. 10).
  • The "In fact" form of the guarantee, relative to any feasible LP solution (p. 10).

Significance

The result gives the first O(log⁡m)O(\log m)O(logm) guarantee for Q∣prec∣Cmax⁡Q|prec|C_{\max}Q∣prec∣Cmax​, independent of the speeds, and a guarantee depending only on the number of distinct speeds. Through the batching technique of Shmoys, Wein and Williamson it extends to release dates (Corollary 3.8). Since LP also relaxes the preemptive problem, it gives an O(log⁡m)O(\log m)O(logm) bound on the ratio between the nonpreemptive and preemptive optima (Corollaries 3.9, 3.10). The "In fact" form, relative to an arbitrary feasible LP solution, drives the paper's ∑wjCj\sum w_jC_j∑wj​Cj​ algorithm in §4.

The result is proved in the literature but, as far as is known, not formalized. A formal proof requires machine-checking the following:

  • the continuous-time list-scheduling argument for different speeds;
  • the filtering argument of Lin and Vitter;
  • the reduction to logarithmically many speeds, including the off-by-one count of rounded speeds that the page leaves implicit.

Later work gave a combinatorial O(log⁡m)O(\log m)O(logm)-approximation (Chekuri and Bender, 2001) and an O(log⁡m/log⁡log⁡m)O(\log m/\log\log m)O(logm/loglogm)-approximation (Li, 2017). These are not part of this mission.

Difficulty

Graham's argument has two lower bounds:

  1. the total processing along a chain;
  2. the time during which every machine is busy.

With different speeds, the first bound fails: a chain may have been run on slow machines, and its length then says nothing about Cmax⁡∗C^*_{\max}Cmax∗​. Forcing every job onto a fast machine repairs chains but can leave most machines idle, so the second bound fails. The paper only guarantees that all machines of one speed are busy at each moment of an idle period. Making this pay off requires an assignment that controls chain lengths and per-class loads simultaneously. That assignment is the delicate part: Theorem 2.1 is the bookkeeping, while Lemmas 3.2 and 3.4 rely on the LP. Two of the formal steps are routine on paper but fiddly in Lean: time-interval accounting over a continuous-time schedule, and the counting of rounded speed classes.

Formalization scope

  • Representation. Jobs are Fin n and machines Fin m with m≥1m \ge 1m≥1. pj>0p_j > 0pj​>0 and si>0s_i > 0si​>0. ≺\prec≺ is a strict partial order, and a chain is a finite set of pairwise comparable jobs. Cmax⁡C_{\max}Cmax​ is the maximum completion time, or 000 with no jobs.
  • Speed classes. The classes are computed from the speeds, so mk≥1m_k \ge 1mk​≥1 and sˉk>0\bar s_k > 0sˉk​>0 by construction. The Lean index 000 is the paper's fastest class sˉ1\bar s_1sˉ1​.
  • The algorithm as predicates. Speed-based list scheduling is the predicate the proof of Theorem 2.1 uses: jobs run at their assigned speed, and no machine of a job's speed idles while that job is available and unstarted. Every list order and every order of idle machines satisfies it. The assignment algorithm is a predicate allowing every maximizer, since the page does not break ties. Theorems 3.5 and 3.7 quantify over all optimal LP solutions, all such assignments and all such schedules. Existence is supplied by the milestones.
  • Comparator. The bound is stated against every feasible schedule of the same instance, never against the LP value or a best schedule of the rounded instance. A statement asserting only that some good schedule exists would be trivially true (the optimum witnesses it); the goal bounds the schedule the algorithm returns.
  • Constants and logarithms. log⁡m\log mlogm is log⁡2m\log_2 mlog2​m, as the paper specifies. m≥2m \ge 2m≥2 is assumed in Theorem 3.7 and in the "In fact" remark, which are asymptotic in mmm. The O(log⁡m)O(\sqrt{\log m})O(logm​) term is one absolute constant ccc, quantified before the instance, and 1.891.891.89 is the page's number.
  • Generalizations and corrections. Lemmas 3.1–3.4 are stated for every feasible LP solution, since their proofs use only feasibility. The speed rounding is relative to sˉ1\bar s_1sˉ1​, with no normalization. The count of rounded speeds is ⌊log⁡β(αm)⌋+1\lfloor\log_\beta(\alpha m)\rfloor + 1⌊logβ​(αm)⌋+1; the page writes log⁡β(αm)\log_\beta(\alpha m)logβ​(αm).
  • Not formalized. Polynomial running time is not formalized.
  • Out of scope. Corollaries 3.8–3.10, Theorem 3.11 and §4 are excluded.

Proofs of any milestone are welcome. Reusable beyond this mission are the following: the model of nonpreemptive schedules on uniformly related machines with precedence, the speed-based list-scheduling predicate with Theorem 2.1, and the LP.

Selected references

  • F. A. Chudak and D. B. Shmoys, Approximation algorithms for precedence-constrained scheduling problems on parallel machines that run at different speeds, J. Algorithms 30 (1999) 323–343 (authors' manuscript used here). https://doi.org/10.1006/jagm.1998.0987
  • R. L. Graham, Bounds for certain multiprocessing anomalies, Bell System Technical Journal 45 (1966) 1563–1581. https://doi.org/10.1002/j.1538-7305.1966.tb01709.x
  • J. M. Jaffe, Efficient scheduling of tasks without full use of processor resources, Theoretical Computer Science 12 (1980) 1–17. https://doi.org/10.1016/0304-3975(80)90002-4
  • J.-H. Lin and J. S. Vitter, ε-approximations with minimum packing constraint violation, STOC 1992, 771–782. https://doi.org/10.1145/129712.129787
  • D. B. Shmoys, J. Wein and D. P. Williamson, Scheduling parallel machines on-line, SIAM J. Computing 24 (1995) 1313–1331. https://doi.org/10.1137/S0097539793248317
  • C. Chekuri and M. A. Bender, An efficient approximation algorithm for minimizing makespan on uniformly related machines, J. Algorithms 41 (2001) 212–224. https://doi.org/10.1006/jagm.2001.1184
  • S. Li, Scheduling to minimize total weighted completion time via time-indexed linear programming relaxations, SIAM J. Computing 46 (2017) 409–440. https://doi.org/10.1137/15M1053163
16 thms2 active usersReviewed
Dynamic ProgrammingMarkov Chain·Captain: mikedeng1

Discrete-Time Controlled Markov Processes with Average Cost Criterion: A Survey 4: Under Sennott's Conditions an Average-Cost Optimal Stationary Policy ExistsResearch Paper

Motivation

Many controlled queueing, inventory and maintenance systems are modelled as controlled Markov processes (CMPs) on a countable state space whose one-stage cost grows without bound: the holding cost of a queue grows with its length. For such systems the natural performance measure is the long-run average cost, and the basic question is whether some simple policy, one that looks only at the current state and never randomizes, is optimal among all policies, including those that use the whole history.

When the cost is bounded, the classical answer goes through a bounded solution of the average cost optimality equation (ACOE). For unbounded costs, bounded solutions are rare: in many queueing models the relative value function grows with the state, and growth conditions such as (5.2) of the survey may fail (Arapostathis et al. 1993, p. 307). Sennott (1986; 1989) replaced boundedness by one-sided conditions on the discounted value functions, which are often easy to verify for queueing models because the relative values are bounded below. This mission formalizes Sennott's existence theorem in the form given in the survey of Arapostathis, Borkar, Fernández-Gaucherand, Ghosh and Marcus, Theorem 5.9.

Timeline. For bounded costs, Ross (1983, the survey's Theorem 5.2) obtained a bounded ACOE solution, and with it an optimal stationary policy, when the differential discounted values are uniformly bounded. Federgruen, Hordijk and Tijms (1979) treated unbounded costs under Lyapunov-type recurrence conditions, which restrict how fast the cost may grow (survey, Remark 5.7). Sennott (1986, 1989) replaced these by a uniform lower bound and a pointwise, one-step integrable upper bound on the differential discounted values. The survey (1993, Theorem 5.9) states the result with compact action sets and continuous data, and Sennott's 1999 book (§7.2) gives the finite-action version in textbook form.

Setting

The state space is S={0,1,2,… }S=\{0,1,2,\dots\}S={0,1,2,…}. For each state iii the set U(i)U(i)U(i) of admissible actions is a nonempty compact subset of a metric space AAA. Choosing a∈U(i)a\in U(i)a∈U(i) in state iii costs c(i,a)≥0c(i,a)\ge0c(i,a)≥0, and the next state is jjj with probability P(j∣i,a)P(j\mid i,a)P(j∣i,a). For fixed i,ji,ji,j, the maps a↦c(i,a)a\mapsto c(i,a)a↦c(i,a) and a↦P(j∣i,a)a\mapsto P(j\mid i,a)a↦P(j∣i,a) are continuous on U(i)U(i)U(i).

An admissible policy π∈Π\pi\in\Piπ∈Π chooses the action at time ttt according to a probability distribution πt(⋅∣ht)\pi_t(\cdot\mid h_t)πt​(⋅∣ht​) concentrated on U(xt)U(x_t)U(xt​), where ht=(x0,a0,…,xt)h_t=(x_0,a_0,\dots,x_t)ht​=(x0​,a0​,…,xt​) is the history; it may use the whole history and may randomize. A stationary deterministic policy f∈ΠSDf\in\Pi_{SD}f∈ΠSD​ is a map f:S→Af:S\to Af:S→A with f(i)∈U(i)f(i)\in U(i)f(i)∈U(i), applied at every step. Given an initial state iii and a policy π\piπ, the states and actions (Xt,At)(X_t,A_t)(Xt​,At​) form a stochastic process with law PiπP^\pi_iPiπ​ and expectation EiπE^\pi_iEiπ​.

For β∈(0,1)\beta\in(0,1)β∈(0,1), the discounted cost and the average cost of π\piπ from iii are

Jβ(i,π)=Eiπ∑t=0∞βtc(Xt,At),J(i,π)=lim sup⁡N→∞1N Eiπ∑t=0N−1c(Xt,At),J_\beta(i,\pi)=E^\pi_i\sum_{t=0}^\infty\beta^tc(X_t,A_t),\qquad J(i,\pi)=\limsup_{N\to\infty}\frac1N\,E^\pi_i\sum_{t=0}^{N-1}c(X_t,A_t),Jβ​(i,π)=Eiπ​t=0∑∞​βtc(Xt​,At​),J(i,π)=N→∞limsup​N1​Eiπ​t=0∑N−1​c(Xt​,At​),

both in [0,∞][0,\infty][0,∞]. The optimal values are Jβ∗(i)=inf⁡π∈ΠJβ(i,π)J^*_\beta(i)=\inf_{\pi\in\Pi}J_\beta(i,\pi)Jβ∗​(i)=infπ∈Π​Jβ​(i,π) and J∗(i)=inf⁡π∈ΠJ(i,π)J^*(i)=\inf_{\pi\in\Pi}J(i,\pi)J∗(i)=infπ∈Π​J(i,π), and the differential discounted value is hβ(i)=Jβ∗(i)−Jβ∗(0)h_\beta(i)=J^*_\beta(i)-J^*_\beta(0)hβ​(i)=Jβ∗​(i)−Jβ∗​(0). A policy f∈ΠSDf\in\Pi_{SD}f∈ΠSD​ is AC-optimal if J(i,f)=J∗(i)J(i,f)=J^*(i)J(i,f)=J∗(i) for every iii.

Sennott's conditions (Assumptions 5.14–5.16) are:

  1. Jβ∗(i)<∞J^*_\beta(i)<\inftyJβ∗​(i)<∞ for all i∈Si\in Si∈S and β∈(0,1)\beta\in(0,1)β∈(0,1);
  2. there is a nonnegative integer LLL with hβ(i)≥−Lh_\beta(i)\ge-Lhβ​(i)≥−L for all iii and β\betaβ;
  3. there is M:S→R+M:S\to\mathbb R_+M:S→R+​ with hβ(i)≤M(i)h_\beta(i)\le M(i)hβ​(i)≤M(i) for all iii and β\betaβ, and for each iii some a(i)∈U(i)a(i)\in U(i)a(i)∈U(i) with ∑jP(j∣i,a(i))M(j)<∞\sum_jP(j\mid i,a(i))M(j)<\infty∑j​P(j∣i,a(i))M(j)<∞.

Formalization targets

Goal: Theorem 5.9

Under Assumptions 5.14–5.16, there is f∈ΠSD with J(i,f)=inf⁡π∈ΠJ(i,π)  for every i∈S.\text{Under Assumptions 5.14–5.16, there is } f\in\Pi_{SD}\text{ with } J(i,f)=\inf_{\pi\in\Pi}J(i,\pi)\ \text{ for every } i\in S.Under Assumptions 5.14–5.16, there is f∈ΠSD​ with J(i,f)=π∈Πinf​J(i,π)  for every i∈S.

The goal asserts only existence. It does not fix the optimal cost, and it does not claim that the optimal cost is constant or that an optimality equation holds.

Milestones

  1. Theorem 2.1 (i), (iii), countable form: the discounted cost optimality equation Jβ∗(i)=inf⁡a∈U(i){c(i,a)+β∑jP(j∣i,a)Jβ∗(j)}J^*_\beta(i)=\inf_{a\in U(i)}\{c(i,a)+\beta\sum_jP(j\mid i,a)J^*_\beta(j)\}Jβ∗​(i)=infa∈U(i)​{c(i,a)+β∑j​P(j∣i,a)Jβ∗​(j)} and a β\betaβ-discount optimal fβ∈ΠSDf_\beta\in\Pi_{SD}fβ​∈ΠSD​.
  2. Display (5.15): (1−β)Jβ∗(0)+hβ(i)=c(i,fβ(i))+β∑jP(j∣i,fβ(i))hβ(j)(1-\beta)J^*_\beta(0)+h_\beta(i)=c(i,f_\beta(i))+\beta\sum_jP(j\mid i,f_\beta(i))h_\beta(j)(1−β)Jβ∗​(0)+hβ​(i)=c(i,fβ​(i))+β∑j​P(j∣i,fβ​(i))hβ​(j).
  3. The limit objects: along a subsequence βn→1\beta_n\to1βn​→1, fβn→ff_{\beta_n}\to ffβn​​→f, hβn→h≥−Lh_{\beta_n}\to h\ge-Lhβn​​→h≥−L pointwise, and (1−βn)Jβn∗(i)→ρ∗(1-\beta_n)J^*_{\beta_n}(i)\to\rho^*(1−βn​)Jβn​∗​(i)→ρ∗, a constant.
  4. The average cost optimality inequality (ACOI) ρ∗+h(i)≥c(i,f(i))+∑jP(j∣i,f(i))h(j)\rho^*+h(i)\ge c(i,f(i))+\sum_jP(j\mid i,f(i))h(j)ρ∗+h(i)≥c(i,f(i))+∑j​P(j∣i,f(i))h(j).
  5. An ACOI along fff with hhh bounded below gives J(i,f)≤ρJ(i,f)\le\rhoJ(i,f)≤ρ.
  6. Theorem A.2: the Abelian inequalities between Cesàro and Abel means (already on the platform).
  7. J(i,π)≥ρ∗J(i,\pi)\ge\rho^*J(i,π)≥ρ∗ for every π∈Π\pi\in\Piπ∈Π.

Significance

The result. Theorem 5.9 is the standard existence theorem for average-optimal stationary policies with unbounded costs on countable state spaces. Its conditions are verified routinely for controlled queues, where relative values are monotone in the queue length and hence bounded below. It shows that randomization and memory do not reduce the long-run average cost, and the ACOI it produces is the starting point for value and policy iteration and for structural results such as threshold policies.

Formalizing it. The theorem is proved in the literature (Sennott 1989; Sennott 1999, Theorem 7.2.3; survey, p. 308). It has no machine-checked proof. The finite-action version, SennottDP.SEN.thm_7_2_3_sen_acoi, is posed on Prove2Me and still open; this mission poses the compact-action version, which needs continuity and compactness arguments that the finite case avoids. A formal proof also requires a general theory of history-dependent policies on path space (Ionescu-Tulcea), the discounted optimality equation with unbounded costs, and the passage from Abel to Cesàro means. All three are reusable well beyond this paper.

Difficulty

The obvious argument lets β→1\beta\to1β→1 in the discounted optimality equation (5.6). Two steps fail without more structure. First, hβh_\betahβ​ need not converge, and with unbounded costs it is not uniformly bounded, so the limit has to be taken pointwise along a subsequence, with only a lower bound uniform in the state. Second, the limit cannot be passed through the infinite sum ∑jP(j∣i,a)hβ(j)\sum_jP(j\mid i,a)h_\beta(j)∑j​P(j∣i,a)hβ​(j) by dominated convergence, because no integrable dominating function exists for every action. Only an inequality survives (Fatou), so the limit is an ACOI, not an equation. The inequality then has to be turned into optimality against all of Π\PiΠ, which includes history-dependent randomized policies whose costs are not described by any optimality equation. The lower bound for these comes from comparing Cesàro and Abel means, not from dynamic programming.

Formalization scope

The Lean development uses the following representation and conventions.

  • States, actions, model. The state space is ℕ. The action space is a metric space with its Borel σ-algebra. U i is nonempty and compact, c is measurable and nonnegative on admissible pairs, P is a Markov kernel, and c(i,⋅)c(i,\cdot)c(i,⋅), P(j∣i,⋅)P(j\mid i,\cdot)P(j∣i,⋅) are continuous on U(i)U(i)U(i).
  • Policies. Π\PiΠ consists of all history-dependent randomized policies, with admissibility required almost surely. J∗J^*J∗ and Jβ∗J^*_\betaJβ∗​ are infima over all of Π\PiΠ, never over stationary policies only. Restricting the infimum to ΠSD\Pi_{SD}ΠSD​ would drop the Tauberian half of the theorem and is not the paper's statement.
  • Costs. Costs are lower Lebesgue integrals in [0,∞][0,\infty][0,∞] against the Ionescu-Tulcea path measure, and the average cost is a limsup in [0,∞][0,\infty][0,∞].
  • Explicit hypotheses. hβh_\betahβ​ is a difference of real parts and is used only under Assumption 5.14, so it is never read off an infinite Jβ∗J^*_\betaJβ∗​. The quantifiers over iii and β\betaβ in Assumption 5.15, implicit on the page, are universal, and LLL is a natural number as printed. Every series ∑jP(j∣i,a)h(j)\sum_jP(j\mid i,a)h(j)∑j​P(j∣i,a)h(j) carries a summability hypothesis or conclusion.
  • Corrected claim. Remark 5.8(a) as printed claims that any scalar ρ\rhoρ satisfying the ACOI with hhh bounded below is the optimal average cost. That is false (h≡0h\equiv0h≡0, ρ=sup⁡c\rho=\sup cρ=supc), so only the inequality J(i,f)≤ρJ(i,f)\le\rhoJ(i,f)≤ρ, which the proof uses, is stated.
  • Sequences. The milestones about limits are stated for any sequence βn∈(0,1)\beta_n\in(0,1)βn​∈(0,1) with βn→1\beta_n\to1βn​→1, not only increasing ones.

A trivializing formalization is excluded. Sennott's conditions are satisfiable (a one-action, zero-cost model satisfies all three), and AC-optimality is measured against all admissible policies, so the goal cannot hold vacuously or by a junk value.

Welcome contributions: the Markov property of the path measure for history-dependent policies; the discounted optimality equation for nonnegative unbounded costs; a measurable-selection or compactness argument for minimizing actions on compact U(i)U(i)U(i); Fatou's lemma for series with converging weights; and the Abelian inequalities in a form applied to expected costs.

Selected references

  • A. Arapostathis, V. S. Borkar, E. Fernández-Gaucherand, M. K. Ghosh, S. I. Marcus, Discrete-time controlled Markov processes with average cost criterion: a survey, SIAM J. Control Optim. 31(2) (1993) 282–344. https://doi.org/10.1137/0331018
  • L. I. Sennott, Average cost optimal stationary policies in infinite state Markov decision processes with unbounded costs, Oper. Res. 37(4) (1989) 626–633. https://doi.org/10.1287/opre.37.4.626
  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley, 1999. https://doi.org/10.1002/9780470317037
  • L. I. Sennott, A new condition for the existence of optimal stationary policies in average cost Markov decision processes, Oper. Res. Lett. 5 (1986) 17–23 (reference [155] of the survey; no stable link checked).
  • S. M. Ross, Introduction to Stochastic Dynamic Programming, Academic Press, New York, 1983 (reference [150] of the survey).
  • A. Federgruen, A. Hordijk, H. C. Tijms, Denumerable state semi-Markov decision processes with unbounded costs, average cost criterion, Stochastic Process. Appl. 9 (1979) 223–235 (reference [53] of the survey).
  • R. Sznajder, J. A. Filar, Some comments on a theorem of Hardy and Littlewood, J. Optim. Theory Appl. 75 (1992) (reference [176] of the survey, cited for Theorem A.2).
11 thms2 active usersReviewed
OptimizationProbability·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

The deterministic problem. Replacing random sales by their rates gives

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

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

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

Formalization targets

Goal: Theorem 3

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

Selected references

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

Asymptotic Optimality of Order-up-to Policies in Lost Sales Inventory Systems: Ordering Up to the Newsvendor Level for Penalty b + τh Is Asymptotically Optimal as b → ∞Research Paper

Motivation

Periodic-review inventory systems face a simple choice each period: how much to order before the next demand is known. When unmet demand is lost, the order can affect the stock available several periods later without preserving a backlog that records earlier shortages. This makes the optimal policy difficult to describe when replenishment takes time. An order-up-to policy offers a practical rule: order enough to bring the inventory position to a fixed level. Huh, Janakiraman, Muckstadt and Rusmevichientong ask when that simple rule performs as well as the best admissible lost-sales policy as the penalty for a lost unit grows. Their working paper, pp. 3–4 and 17–18, proves asymptotic optimality for a particular level obtained from a related backorder system.

The motivating costs are concrete. A lost sale may represent an expedited service part or a missed sale whose cost is much larger than one period of holding inventory. The paper's central comparison concerns the high-penalty regime while holding the demand law, lead time and holding rate fixed. The fixed-level policy can be computed from the distribution of demand over the lead time plus the order period; it does not require solving the full lost-sales control problem. The paper also supplies a finite-penalty bound, which this mission retains as a milestone. Huh et al., pp. 3–4, 17–18.

Setting

Let D1,D2,…D_1,D_2,\ldotsD1​,D2​,… be independent, identically distributed nonnegative demands with finite positive mean. An order takes a fixed integer lead time τ≥1\tau\ge1τ≥1 to arrive. At the start of period ttt, the order placed τ\tauτ periods earlier arrives; then a new order is placed, and demand DtD_tDt​ is observed. Unmet demand is lost. At period end, each unit remaining on hand incurs holding cost h>0h>0h>0, and each lost unit incurs penalty b>0b>0b>0. The inventory position counts on-hand units and outstanding orders. An order-up-to-SSS policy raises this position to S≥0S\ge0S≥0 whenever possible.

Write CL,S(h,b)C^{\mathcal L,S}(h,b)CL,S(h,b) for the long-run average cost of that policy and CL∗(h,b)C^{\mathcal L*}(h,b)CL∗(h,b) for the infimum over admissible policies. The corresponding backorder system retains unmet demand as negative net inventory and charges bbb per backordered unit per period. For an order-up-to level SSS, its stationary average cost is

CB,S(h,b)=hE[(S−D)+]+bE[(D−S)+],D=∑i=1τ+1Di.C^{\mathcal B,S}(h,b)=h\mathbb E[(S-\mathbf D)^+]+b\mathbb E[(\mathbf D-S)^+],\qquad \mathbf D=\sum_{i=1}^{\tau+1}D_i.CB,S(h,b)=hE[(S−D)+]+bE[(D−S)+],D=i=1∑τ+1​Di​.

The newsvendor level SB∗(h,b)S^{\mathcal B*}(h,b)SB∗(h,b) is the smallest nonnegative SSS with Pr⁡(D≤S)≥b/(b+h)\Pr(\mathbf D\le S)\ge b/(b+h)Pr(D≤S)≥b/(b+h); it attains the best backorder order-up-to cost CB∗(h,b)C^{\mathcal B*}(h,b)CB∗(h,b). The paper's Assumption 1 concerns this lead-time demand D\mathbf DD: if mD(t)=E[D−t∣D>t]m_{\mathbf D}(t)=\mathbb E[\mathbf D-t\mid\mathbf D>t]mD​(t)=E[D−t∣D>t] when the conditioning event has positive probability and zero otherwise, then mD(t)/t→0m_{\mathbf D}(t)/t\to0mD​(t)/t→0 as t→∞t\to\inftyt→∞. Huh et al., pp. 3–4, 9, 11–12.

Formalization targets

Asymptotically optimal order-up-to level

Fix hhh, τ\tauτ and the demand law satisfying Assumption 1. Set Sb+τh=SB∗(h,b+τh)S_{b+\tau h}=S^{\mathcal B*}(h,b+\tau h)Sb+τh​=SB∗(h,b+τh). The goal is the equivalent multiplicative form of Theorem 15(b): for every ε>0\varepsilon>0ε>0, all sufficiently large bbb satisfy

inf⁡S≥0CL,S(h,b)≤CL,Sb+τh(h,b)≤(1+ε)CL∗(h,b).\inf_{S\ge0}C^{\mathcal L,S}(h,b)\le C^{\mathcal L,S_{b+\tau h}}(h,b)\le(1+\varepsilon)C^{\mathcal L*}(h,b).S≥0inf​CL,S(h,b)≤CL,Sb+τh​(h,b)≤(1+ε)CL∗(h,b).

The infimum over order-up-to levels captures the paper's best such policy. The right-hand comparator remains the infimum over all admissible lost-sales policies. The multiplicative form also covers an almost-surely constant demand law, where both costs can be zero and a literal ratio would be undefined. Huh et al., Theorem 15(b), p. 17.

Explicit finite-penalty bound

Theorem 15(a) is a milestone. With S′=SB∗(h,b/(τ+1))S'=S^{\mathcal B*}(h,b/(\tau+1))S′=SB∗(h,b/(τ+1)) and ψ(S′;h,q)=qE[(D−S′)+]/(hE[(S′−D)+])\psi(S';h,q)=q\mathbb E[(\mathbf D-S')^+]/(h\mathbb E[(S'-\mathbf D)^+])ψ(S′;h,q)=qE[(D−S′)+]/(hE[(S′−D)+]), its factor is

1+νbψ(S′;h,b/(τ+1))1+ψ(S′;h,b/(τ+1)),νb=(b+τh)(τ+1)b.\frac{1+\nu_b\psi(S';h,b/(\tau+1))}{1+\psi(S';h,b/(\tau+1))},\qquad \nu_b=\frac{(b+\tau h)(\tau+1)}{b}.1+ψ(S′;h,b/(τ+1))1+νb​ψ(S′;h,b/(τ+1))​,νb​=b(b+τh)(τ+1)​.

The milestone states the bound where the expected holding quantity in ψ\psiψ is positive. Earlier milestones state the pathwise comparison of the systems, the two-sided average-cost comparison with penalties b/(τ+1)b/(\tau+1)b/(τ+1) and b+τhb+\tau hb+τh, the lower bound on unrestricted lost-sales optimal cost, the newsvendor formula, and the backorder sensitivity results used by the theorem. Huh et al., Lemmas 5, 9, 13 and Theorems 6, 15, pp. 11–18.

Significance

The theorem gives a specific computable stock level whose relative cost loss vanishes in the high-penalty regime. It addresses the gap between a tractable backorder benchmark and the more difficult lost-sales control problem. The finite-penalty factor states how the comparison depends on lead time, holding cost, penalty and the shortage-to-holding ratio; the asymptotic statement alone would not quantify that dependence. The paper establishes these mathematical results; the mission asks for machine-checked proofs of the stated Lean targets. Huh et al., pp. 17–18.

Formalizing the result would also supply reusable infrastructure for coupled inventory systems: measurable demand-path laws, pathwise recursions with delayed delivery, extended nonnegative long-run costs, and a clean comparison between an explicit policy and the infimum over unrestricted policies. The backorder newsvendor and mean-residual-life components can be reused beyond this particular lost-sales model.

Difficulty

The backorder system has a closed stationary cost formula, while a lost-sales order-up-to process generally cannot be replaced directly by that formula. The paper notes that its on-hand inventory distribution need not converge from every starting state, even under a fixed order-up-to policy. One must therefore justify the long-run comparison without assuming stationarity from an arbitrary start. A second difficulty is the benchmark: comparing only against other order-up-to policies is too weak to establish Theorem 15, because the goal uses the optimal cost over all admissible lost-sales policies. Huh et al., pp. 14–16, 18.

Formalization scope

Lean reuses the published CappedBaseStock lost-sales model. Its demands are nonnegative and i.i.d. with finite positive mean; τ≥1\tau\ge1τ≥1 and h,b>0h,b>0h,b>0. Period zero in Lean is period one in the paper. Both coupled processes start with zero on-hand stock and an empty pipeline. Inventory XtX_tXt​ is read immediately after delivery, before current demand. Lost-sales costs lie in [0,∞][0,\infty][0,∞] and use the limsup of expected Cesàro averages; the backorder closed form uses real Bochner expectations under finite-mean demand. The paper's stationary lost-sales cost and this Cesàro cost are identified using its long-run results, but those convergence results are outside this proposal. Huh et al., pp. 14–16.

The paper prints nonnegative rates in Theorem 15, while its displayed newsvendor fraction and shortage-to-holding ratios require positive denominators. Theorem 6(a) therefore states the ratio limit for nonconstant demand laws. The main theorem uses a multiplicative limit bound that also covers constant demand, where the printed ratio is undefined.

The quantity CL∗C^{\mathcal L*}CL∗ is an infimum over measurable, history-dependent policies with private randomization; no attaining policy is assumed. The backorder optimum is an infimum over nonnegative order-up-to levels. Assumption 1 is imposed on the sum of τ+1\tau+1τ+1 demands, and the limit b→∞b\to\inftyb→∞ is expressed by a positive threshold uniform over all parameter records with the fixed lead time and holding rate. The mission excludes a restricted policy comparator, a fixed penalty, a one-period lead-time specialization, and Assumption 1 on single-period demand. Solvers may contribute proofs of any milestone, along with finite-mean and measurability lemmas needed to connect the model to the backorder benchmarks.

Selected references

  • W. T. Huh, G. Janakiraman, J. A. Muckstadt and P. Rusmevichientong, Asymptotic Optimality of Order-up-to Policies in Lost Sales Inventory Systems, working paper, December 4, 2006; published in Management Science 55(3), 2009. DOI: 10.1287/mnsc.1080.0945.
  • G. Janakiraman, S. Seshadri and G. Shanthikumar, A Comparison of the Optimal Costs of Two Canonical Inventory Systems, working paper, Stern School of Business, New York University, 2005; bound quoted in Huh et al., §5, p. 13. Quoted source.
11 thms2 active usersReviewed
Dynamic ProgrammingProbability·Captain: mikedeng1

Uniformly Bounded Regret in the Multi-Secretary Problem 1: The Budget-Ratio Policy Has Regret at Most a₁M(ε), Uniformly in the Number of Candidates n and the Budget kResearch Paper

Motivation

The multi-secretary problem is the simplest model of capacity allocation under uncertainty: a decision maker sees nnn candidates one at a time and may hire at most kkk of them, with every decision final. The same structure underlies single-resource revenue management (accepting or rejecting booking requests against a fixed inventory; see Talluri and van Ryzin, The Theory and Practice of Revenue Management, 2004), online knapsack and packing problems, and dynamic assortment of limited stock.

The performance of an online policy is measured against the offline benchmark, the value of the best kkk candidates chosen with full hindsight. The gap between the two is the regret.

  • In the version where the values arrive as a uniform random permutation, Kleinberg (2005) proved that the minimal regret is of order k\sqrt kk​ and gave an algorithm attaining it (as summarized in Remark 1 of the paper below).
  • Arlotto and Gurvich (arXiv:1710.07719, 2017; Stochastic Systems 2019) showed that when the values have a finite support, the optimal online policy, and an explicit simple policy, have regret bounded by a constant that does not depend on nnn or kkk. The constant depends only on the smallest probability mass.

This mission formalizes that upper bound.

Setting

Abilities take values in a finite set A={am<am−1<⋯<a1}\mathcal A=\{a_m<a_{m-1}<\dots<a_1\}A={am​<am−1​<⋯<a1​} of distinct positive reals, with probabilities fj=P(X=aj)>0f_j=\mathbb P(X=a_j)>0fj​=P(X=aj​)>0, ∑jfj=1\sum_j f_j=1∑j​fj​=1. Write Fˉ(aj)=f1+⋯+fj−1\bar F(a_j)=f_1+\dots+f_{j-1}Fˉ(aj​)=f1​+⋯+fj−1​ for the mass strictly above aja_jaj​, and

ϵ=12min⁡{fm,…,f1}.\epsilon=\tfrac12\min\{f_m,\dots,f_1\}.ϵ=21​min{fm​,…,f1​}.

The abilities X1,…,XnX_1,\dots,X_nX1​,…,Xn​ are independent with this distribution. Budget pairs range over the triangle T={(n,k):0≤k≤n}\mathcal T=\{(n,k):0\le k\le n\}T={(n,k):0≤k≤n}.

  • Offline value. Voff∗(n,k)=E[max⁡{∑tXtσt:σ∈{0,1}n, ∑tσt≤k}]V^*_{\mathrm{off}}(n,k)=\mathbb E\big[\max\{\sum_t X_t\sigma_t:\sigma\in\{0,1\}^n,\ \sum_t\sigma_t\le k\}\big]Voff∗​(n,k)=E[max{∑t​Xt​σt​:σ∈{0,1}n, ∑t​σt​≤k}].
  • Online policies. A policy decides σt∈{0,1}\sigma_t\in\{0,1\}σt​∈{0,1} using only X1,…,XtX_1,\dots,X_tX1​,…,Xt​ and must select at most kkk candidates on every realization. Π(n,k)\Pi(n,k)Π(n,k) is the set of such policies, Vonπ(n,k)=E[∑tXtσtπ]V^\pi_{\mathrm{on}}(n,k)=\mathbb E[\sum_t X_t\sigma^\pi_t]Vonπ​(n,k)=E[∑t​Xt​σtπ​], and Von∗(n,k)=max⁡π∈Π(n,k)Vonπ(n,k)V^*_{\mathrm{on}}(n,k)=\max_{\pi\in\Pi(n,k)}V^\pi_{\mathrm{on}}(n,k)Von∗​(n,k)=maxπ∈Π(n,k)​Vonπ​(n,k).
  • Counts. ZjrZ^r_jZjr​ is the number of aja_jaj​-candidates among the first rrr. The offline sort selects Sjr=min⁡{Zjr,(k−∑i<jZir)+}\mathfrak S^r_j=\min\{Z^r_j,(k-\sum_{i<j}Z^r_i)_+\}Sjr​=min{Zjr​,(k−∑i<j​Zir​)+​} of them. Sjπ,rS^{\pi,r}_jSjπ,r​ counts those selected by π\piπ.
  • Action index. j0(n,k)j_0(n,k)j0​(n,k) is the largest jjj with Fˉ(aj)+12fj≤k/n\bar F(a_j)+\tfrac12f_j\le k/nFˉ(aj​)+21​fj​≤k/n, or 111 if there is none.
  • Thresholds. T1=0T_1=0T1​=0, Tj=Fˉ(aj)+12fjT_j=\bar F(a_j)+\tfrac12 f_jTj​=Fˉ(aj​)+21​fj​ for 2≤j≤m2\le j\le m2≤j≤m, and Tm+1=+∞T_{m+1}=+\inftyTm+1​=+∞.
  • Budget-Ratio (BR) policy. With remaining budget KtK_tKt​ (K0=kK_0=kK0​=k), at time t+1t+1t+1 the policy finds jjj with Tj≤Kt/(n−t)<Tj+1T_j\le K_t/(n-t)<T_{j+1}Tj​≤Kt​/(n−t)<Tj+1​. It selects Xt+1X_{t+1}Xt+1​ if and only if Kt>0K_t>0Kt​>0 and Xt+1≥ajX_{t+1}\ge a_jXt+1​≥aj​.
  • Stopping times. For 0<δ<ϵ0<\delta<\epsilon0<δ<ϵ, τ0\tau_0τ0​ is the first time the budget ratio comes within δ/2\delta/2δ/2 of a threshold, or the cut-off n−2δ−1−1n-2\delta^{-1}-1n−2δ−1−1. The time τ\tauτ of (20) is the first later time the ratio leaves the δ\deltaδ-band around that threshold, or the cut-off.

Formalization targets

Goal: Theorem 1 (first display)

For every ϵ>0\epsilon>0ϵ>0 there is a constant MMM such that for every instance with 12min⁡jfj=ϵ\tfrac12\min_jf_j=\epsilon21​minj​fj​=ϵ and all (n,k)∈T(n,k)\in\mathcal T(n,k)∈T, br∈Π(n,k)\mathrm{br}\in\Pi(n,k)br∈Π(n,k) and

Voff∗(n,k)−Von∗(n,k)≤Voff∗(n,k)−Vonbr(n,k)≤a1M.V^*_{\mathrm{off}}(n,k)-V^*_{\mathrm{on}}(n,k)\le V^*_{\mathrm{off}}(n,k)-V^{\mathrm{br}}_{\mathrm{on}}(n,k)\le a_1M.Voff∗​(n,k)−Von∗​(n,k)≤Voff∗​(n,k)−Vonbr​(n,k)≤a1​M.

No constant is fixed. Only the shape is asserted: a bound uniform in nnn, kkk, the support size and the distribution, given ϵ\epsilonϵ.

Milestones, in the order the proof uses them

  • The benchmark inequality Vonπ≤Voff∗V^\pi_{\mathrm{on}}\le V^*_{\mathrm{off}}Vonπ​≤Voff∗​ (p. 5).
  • The sort identity Voff∗=∑jajE[Sjn]V^*_{\mathrm{off}}=\sum_ja_j\mathbb E[\mathfrak S^n_j]Voff∗​=∑j​aj​E[Sjn​] (4).
  • The binomial overshoot bound E[(B−k)+]≤1/(4ε)\mathbb E[(B-k)_+]\le1/(4\varepsilon)E[(B−k)+​]≤1/(4ε) (Lemma 2).
  • The offline decomposition Voff∗=∑i<jaiE[Zin]+ajE[Sjn]+aj+1E[Sj+1n]±a1/(4ϵ)V^*_{\mathrm{off}}=\sum_{i<j}a_i\mathbb E[Z^n_i]+a_j\mathbb E[\mathfrak S^n_j]+a_{j+1}\mathbb E[\mathfrak S^n_{j+1}]\pm a_1/(4\epsilon)Voff∗​=∑i<j​ai​E[Zin​]+aj​E[Sjn​]+aj+1​E[Sj+1n​]±a1​/(4ϵ) (Proposition 1).
  • The sufficient condition: four properties (i)–(iv) of a policy up to a stopping time imply regret at most 3a1M+a1/(4ϵ)3a_1M+a_1/(4\epsilon)3a1​M+a1​/(4ϵ) (Proposition 2).
  • The identification j0(n,k)=jj_0(n,k)=jj0​(n,k)=j on k/n∈[Tj,Tj+1)k/n\in[T_j,T_{j+1})k/n∈[Tj​,Tj+1​) (p. 17).
  • The BR selection probability and the jump bound ∣Kt/(n−t)−Kt+1/(n−t−1)∣≤δ/2|K_t/(n-t)-K_{t+1}/(n-t-1)|\le\delta/2∣Kt​/(n−t)−Kt+1​/(n−t−1)∣≤δ/2 (p. 13).
  • E[τ]≥n−M\mathbb E[\tau]\ge n-ME[τ]≥n−M (Theorem 2).
  • BR and τ\tauτ satisfy (i)–(iv) (Corollary 1).
  • The state-space reduction vℓ(w,κ)=w+gℓ(κ)v_\ell(w,\kappa)=w+g_\ell(\kappa)vℓ​(w,κ)=w+gℓ​(κ) of the Bellman recursion (Proposition 5).

Significance

The result. Bounded regret means that the loss from not knowing the future is a fixed number of candidates' worth of value, however long the horizon and however large the budget. The bound holds uniformly over all distributions with the same ϵ\epsilonϵ. It is attained by an explicit, adaptive, non-randomized rule that compares one ratio with mmm fixed thresholds. The companion result of the same paper shows that every non-adaptive policy suffers regret of order n\sqrt nn​ in the interior regime. Together they quantify the value of adapting to the remaining budget. Lemma 1 of the paper shows the dependence on ϵ\epsilonϵ cannot be removed.

Formalizing it. The result is proved in the paper, but no part of it is machine-checked; there is no multi-secretary or bounded-regret development on the platform. The mission produces several pieces of machinery: a reusable finite model of sequential selection with online policies and the offline benchmark; an explicit online policy with its stopping-time analysis; and a binomial overshoot bound usable elsewhere. The constant MMM is not made explicit in the paper. A formal proof would give one, and sharper constants are welcome.

Difficulty

The offline decomposition and the sufficient condition are bookkeeping with counts and one concentration bound. The hard step is Theorem 2: showing that the budget ratio Kt/(n−t)K_t/(n-t)Kt​/(n−t) stays within δ\deltaδ of its attracting threshold until a bounded expected number of periods before the end. Near the horizon a single selection moves the ratio by about 1/(n−t)1/(n-t)1/(n−t), so the band becomes easy to leave. Equivalently, the target δ(n−τ0−u)\delta(n-\tau_0-u)δ(n−τ0​−u) that the deviation process must exceed shrinks to zero. A standard martingale or drift argument with a fixed band therefore does not give a bound uniform in nnn. The paper combines the mean-reverting drift of the deviation process with an exponential tail bound (its Proposition 4) and a Lyapunov argument. A second subtlety is uniformity: every constant must depend on ϵ\epsilonϵ (and δ\deltaδ) only, never on mmm, the aja_jaj​, nnn or kkk.

Formalization scope

The source is arXiv:1710.07719v2; its printed page numbers equal the PDF page numbers.

Representation.

  • Ability levels are Fin m, with index 0 the largest value a1a_1a1​; Lean index iii is the paper's i+1i+1i+1.
  • Each instance carries aaa strictly decreasing and positive, fff positive with ∑f=1\sum f=1∑f=1.
  • Expectations are finite sums over sequences x:Fin n→Fin mx:\mathrm{Fin}\,n\to\mathrm{Fin}\,mx:Finn→Finm weighted by ∏tf(xt)\prod_tf(x_t)∏t​f(xt​), so no measure theory is needed.
  • Policies are deterministic selection rules σ(x,t)\sigma(x,t)σ(x,t) that are non-anticipating and feasible. Von∗V^*_{\mathrm{on}}Von∗​ is a maximum over this finite set. The paper allows randomized policies; for this finite problem the optimal values coincide (p. 39). In any case, restricting to deterministic policies can only lower Von∗V^*_{\mathrm{on}}Von∗​ and so does not weaken the goal.
  • Voff∗V^*_{\mathrm{off}}Voff∗​ is defined as an expected maximum over selection vectors, not by the sort formula. The sort formula is a milestone.

Quantifiers. The constant MMM in the goal is chosen after ϵ\epsilonϵ and before mmm, the instance, nnn and kkk. A statement with MMM chosen after the instance, or after nnn, is trivial (regret ≤a1n\le a_1n≤a1​n) and is excluded.

Corrections to the printed text, disclosed in the items.

  1. In Theorem 2 and Corollary 1, MMM depends on the auxiliary δ∈(0,ϵ)\delta\in(0,\epsilon)δ∈(0,ϵ) as well, because τ\tauτ does. δ\deltaδ is quantified before MMM. The goal itself is δ\deltaδ-free.
  2. Lemma 2's conditions p+ε≤k/np+\varepsilon\le k/np+ε≤k/n, k/n≤p−εk/n\le p-\varepsilonk/n≤p−ε are stated as (p+ε)n≤k(p+\varepsilon)n\le k(p+ε)n≤k, k≤(p−ε)nk\le(p-\varepsilon)nk≤(p−ε)n, the form used in its proof. This avoids a false case at n=0n=0n=0.
  3. The BR rule is applied at every time t+1∈{1,…,n}t+1\in\{1,\dots,n\}t+1∈{1,…,n}; p. 11 writes {1,…,n−1}\{1,\dots,n-1\}{1,…,n−1}.
  4. τ\tauτ is capped at nnn, which matters only when n=0n=0n=0.
  5. In Proposition 5 the recursions are imposed for κ≥1\kappa\ge1κ≥1 (boundary conditions at κ=0\kappa=0κ=0), and only identity (49) is stated.

Infrastructure. The model definitions (instance, offline value, online policies, counts, thresholds, action index) and the binomial overshoot lemma are reusable for other finite-support online selection and revenue-management results. All of the following are welcome:

  • proofs of individual milestones;
  • an explicit constant;
  • a formal derivation of Von∗(n,k)=vn(0,k)V^*_{\mathrm{on}}(n,k)=v_n(0,k)Von∗​(n,k)=vn​(0,k) connecting Proposition 5 to Von∗V^*_{\mathrm{on}}Von∗​.

Selected references

  • A. Arlotto, I. Gurvich, Uniformly Bounded Regret in the Multi-Secretary Problem, arXiv:1710.07719v2, 2018; Stochastic Systems 9(3), 2019. https://arxiv.org/abs/1710.07719
  • R. Kleinberg, A multiple-choice secretary algorithm with applications to online auctions, SODA 2005. https://dl.acm.org/doi/10.5555/1070432.1070519
  • K. T. Talluri, G. J. van Ryzin, The Theory and Practice of Revenue Management, Springer, 2004. https://doi.org/10.1007/b139000
  • D. P. Bertsekas, S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978.
  • S. Boucheron, G. Lugosi, P. Massart, Concentration Inequalities, Oxford University Press, 2013. https://doi.org/10.1093/acprof:oso/9780199535255.001.0001
14 thms2 active usersReviewed
Dynamic ProgrammingMarkov Chain·Captain: mikedeng1

Discrete-Time Controlled Markov Processes with Average Cost Criterion: A Survey 1: Uniformly Bounded Differential Discounted Values Give a Bounded Solution of the Average Cost Optimality EquationResearch Paper

Motivation

Many control problems in queueing, inventory and communication systems run indefinitely, and the quantity of interest is the long-run cost per unit time rather than a discounted total. The average cost criterion is harder to analyse than the discounted one: the discounted dynamic programming operator is a contraction, while the average cost problem has no contraction, and on an infinite state space its behaviour depends on the recurrence structure of the controlled chain. The survey of Arapostathis, Borkar, Fernández-Gaucherand, Ghosh and Marcus (SIAM J. Control Optim. 31 (1993)) organises the theory around the average cost optimality equation (ACOE) and the conditions under which it has a solution.

Timeline (as recorded in the survey's §3 and §5). Derman studied the ACOE and characterized optimal stationary policies by its solutions (Derman, On sequential decisions and Markov chains, Management Sci. 1962; Denumerable state Markovian decision processes — average cost criterion, Ann. Math. Statist. 1966). Taylor introduced a vanishing discount argument for a replacement problem (Ann. Math. Statist. 1965). Ross extended it to general countable models, showing that uniformly bounded differential discounted value functions yield a bounded solution of the ACOE (Ann. Math. Statist. 1968, two papers; Introduction to Stochastic Dynamic Programming, 1983). Sennott replaced the uniform bound by one-sided bounds and obtained the average cost optimality inequality (Oper. Res. 1989). The survey presents Ross's result as Theorem 5.2, following the 1983 book; this mission formalizes it.

Setting

A controlled Markov process on the countable state space S={0,1,2,… }S=\{0,1,2,\dots\}S={0,1,2,…} consists of a metric space A\mathbf AA of actions; for each state iii a nonempty compact set U(i)⊆AU(i)\subseteq\mathbf AU(i)⊆A of admissible actions; a cost c(i,a)≥0c(i,a)\ge0c(i,a)≥0; and transition probabilities P(j∣i,a)P(j\mid i,a)P(j∣i,a). For fixed i,ji,ji,j, the maps a↦c(i,a)a\mapsto c(i,a)a↦c(i,a) and a↦P(j∣i,a)a\mapsto P(j\mid i,a)a↦P(j∣i,a) are continuous on U(i)U(i)U(i).

An admissible policy π\piπ chooses, at each time ttt, a probability distribution on U(Xt)U(X_t)U(Xt​) that may depend on the whole past (X0,A0,…,Xt)(X_0,A_0,\dots,X_t)(X0​,A0​,…,Xt​). The class of all of them is Π\PiΠ, and ΠSD\Pi_{SD}ΠSD​ is the class of stationary deterministic policies, maps fff with f(i)∈U(i)f(i)\in U(i)f(i)∈U(i). Each initial state iii and policy π\piπ define a law PiπP^\pi_iPiπ​ of the trajectory, with expectation EiπE^\pi_iEiπ​. For a discount factor 0<β<10<\beta<10<β<1,

Jβ(i,π)=Eiπ∑t=0∞βtc(Xt,At),J(i,π)=lim sup⁡N→∞1NEiπ∑t=0N−1c(Xt,At),J_\beta(i,\pi)=E^\pi_i\sum_{t=0}^\infty\beta^tc(X_t,A_t),\qquad J(i,\pi)=\limsup_{N\to\infty}\frac1N E^\pi_i\sum_{t=0}^{N-1}c(X_t,A_t),Jβ​(i,π)=Eiπ​t=0∑∞​βtc(Xt​,At​),J(i,π)=N→∞limsup​N1​Eiπ​t=0∑N−1​c(Xt​,At​),

and Jβ∗(i)=inf⁡π∈ΠJβ(i,π)J^*_\beta(i)=\inf_{\pi\in\Pi}J_\beta(i,\pi)Jβ∗​(i)=infπ∈Π​Jβ​(i,π), J∗(i)=inf⁡π∈ΠJ(i,π)J^*(i)=\inf_{\pi\in\Pi}J(i,\pi)J∗(i)=infπ∈Π​J(i,π). The differential discounted value function is hβ(i)=Jβ∗(i)−Jβ∗(0)h_\beta(i)=J^*_\beta(i)-J^*_\beta(0)hβ​(i)=Jβ∗​(i)−Jβ∗​(0). A pair (ρ,h)(\rho,h)(ρ,h), ρ∈R\rho\in\mathbb Rρ∈R, h:S→Rh:S\to\mathbb Rh:S→R, solves the ACOE if

ρ+h(i)=min⁡a∈U(i){c(i,a)+∑j∈SP(j∣i,a)h(j)},i∈S.(5.1)\rho+h(i)=\min_{a\in U(i)}\Big\{c(i,a)+\sum_{j\in S}P(j\mid i,a)h(j)\Big\},\qquad i\in S.\tag{5.1}ρ+h(i)=a∈U(i)min​{c(i,a)+j∈S∑​P(j∣i,a)h(j)},i∈S.(5.1)

In the Lean development these objects are CMP, Policy, StationaryPolicy, pathMeasure, discCost, avgCost, discValue (Jβ∗J^*_\betaJβ∗​), optAvg (J∗J^*J∗), hRel (hβh_\betahβ​) and ACOE.

Formalization targets

Goal: Theorem 5.2 (p. 301)

Assume Jβ∗(i)<∞J^*_\beta(i)<\inftyJβ∗​(i)<∞ for all β∈(0,1)\beta\in(0,1)β∈(0,1) and i∈Si\in Si∈S, and that there is K>0K>0K>0 with ∣hβ(i)∣≤K|h_\beta(i)|\le K∣hβ​(i)∣≤K for all such β\betaβ and iii. Then there are ρ∈R\rho\in\mathbb Rρ∈R, a bounded h:S→Rh:S\to\mathbb Rh:S→R and a sequence βn∈(0,1)\beta_n\in(0,1)βn​∈(0,1), βn→1\beta_n\to1βn​→1, with

(ρ,h) solves (5.1),h(i)=lim⁡n→∞hβn(i),lim⁡β↑1(1−β)Jβ∗(i)=ρ(i∈S).(\rho,h)\text{ solves (5.1)},\qquad h(i)=\lim_{n\to\infty}h_{\beta_n}(i),\qquad \lim_{\beta\uparrow1}(1-\beta)J^*_\beta(i)=\rho\qquad(i\in S).(ρ,h) solves (5.1),h(i)=n→∞lim​hβn​​(i),β↑1lim​(1−β)Jβ∗​(i)=ρ(i∈S).

The goal does not assert that ρ\rhoρ is the optimal average cost; that follows from Theorem 5.1 and Remark 5.1(a), which are milestones.

Milestones

  1. Lemma 2.1 (p. 289): the dynamic programming map T(v)(i)=inf⁡a∈U(i){c(i,a)+∑jP(j∣i,a)v(j)}T(v)(i)=\inf_{a\in U(i)}\{c(i,a)+\sum_jP(j\mid i,a)v(j)\}T(v)(i)=infa∈U(i)​{c(i,a)+∑j​P(j∣i,a)v(j)} satisfies T(v+k)=T(v)+kT(v+k)=T(v)+kT(v+k)=T(v)+k and is monotone.
  2. Theorem 2.1 (i), (iii) (p. 289), in the countable model: Jβ∗=TβJβ∗J^*_\beta=T_\beta J^*_\betaJβ∗​=Tβ​Jβ∗​ and a β\betaβ-discount optimal f∈ΠSDf\in\Pi_{SD}f∈ΠSD​ exists.
  3. Equation (5.6) (p. 301): (1−β)Jβ∗(0)+hβ(i)=min⁡a∈U(i){c(i,a)+β∑jP(j∣i,a)hβ(j)}(1-\beta)J^*_\beta(0)+h_\beta(i)=\min_{a\in U(i)}\{c(i,a)+\beta\sum_jP(j\mid i,a)h_\beta(j)\}(1−β)Jβ∗​(0)+hβ​(i)=mina∈U(i)​{c(i,a)+β∑j​P(j∣i,a)hβ​(j)}.
  4. Theorem 5.1 (p. 299): a solution of (5.1) with lim⁡t1tEiπh(Xt)=0\lim_t\frac1tE^\pi_ih(X_t)=0limt​t1​Eiπ​h(Xt​)=0 gives ρ=J(i,f)=J∗(i)\rho=J(i,f)=J^*(i)ρ=J(i,f)=J∗(i) for a minimizing selector fff; minimizing selectors are average optimal; conversely, an average optimal fff with an irreducible positive recurrent chain is a minimizing selector.
  5. Remark 5.1(a) (p. 300): a bounded solution of (5.1) satisfies the growth condition of Theorem 5.1.

Significance

Theorem 5.2 is the template of the vanishing discount method. Under its hypothesis the average cost problem has a bounded solution of the ACOE, so (through Theorem 5.1) the optimal average cost is a constant ρ\rhoρ independent of the initial state, it is attained by a stationary deterministic policy, and it is the Abelian limit of the scaled discounted values. Recurrence conditions on the controlled chain, such as uniformly bounded mean return times to a fixed state (Theorem 5.3 of the survey), are verified by checking the hypothesis of Theorem 5.2; the later results of §5 refine its conclusion under weaker hypotheses.

The theorem itself is classical. What this mission adds is a machine-checked statement and, eventually, proof, on a model with history-dependent randomized policies, compact action sets and unbounded costs, together with the supporting verification theorem (Theorem 5.1) and the discounted optimality equation. To our knowledge none of these results has been formalized in Lean; Mathlib has the Ionescu-Tulcea construction of the path measure but no controlled Markov processes.

Difficulty

The obvious argument fixes a sequence βn↑1\beta_n\uparrow1βn​↑1, extracts a pointwise convergent subsequence of the bounded functions hβnh_{\beta_n}hβn​​ and of the bounded numbers (1−βn)Jβn∗(0)(1-\beta_n)J^*_{\beta_n}(0)(1−βn​)Jβn​∗​(0), and passes to the limit in (5.6). Two steps resist this. First, the limit of a minimum over U(i)U(i)U(i) is not in general the minimum of the limits: the convergence of a↦∑jP(j∣i,a)hβn(j)a\mapsto\sum_jP(j\mid i,a)h_{\beta_n}(j)a↦∑j​P(j∣i,a)hβn​​(j) must be shown to be uniform on the compact set U(i)U(i)U(i), which requires more than pointwise continuity of each P(j∣i,⋅)P(j\mid i,\cdot)P(j∣i,⋅). Second, the subsequential limit ρ\rhoρ could depend on the subsequence, so part (iii), a limit along all β↑1\beta\uparrow1β↑1, needs an independent identification of ρ\rhoρ, here as the optimal average cost through Theorem 5.1, which in turn needs the comparison with arbitrary history-dependent policies. The discounted optimality equation behind (5.6) also has to be established for unbounded costs, where Jβ∗J^*_\betaJβ∗​ is not the unique fixed point of TβT_\betaTβ​.

Formalization scope

The state space is ℕ; state 0 is the reference state of hβh_\betahβ​. Policies are history-dependent randomized stochastic kernels with the admissibility constraint πt(U(xt)∣ht)=1\pi_t(U(x_t)\mid h_t)=1πt​(U(xt​)∣ht​)=1, and J∗J^*J∗, Jβ∗J^*_\betaJβ∗​ are infima over all of them. Costs are lower Lebesgue integrals with values in [0,∞][0,\infty][0,∞], built from Mathlib's Kernel.trajMeasure. The following choices make implicit hypotheses explicit:

  • Finiteness of Jβ∗J^*_\betaJβ∗​. The paper's bound ∣hβ∣≤K|h_\beta|\le K∣hβ​∣≤K presupposes finite values; the goal assumes Jβ∗(i)<∞J^*_\beta(i)<\inftyJβ∗​(i)<∞, and (5.6) assumes it for its β\betaβ.
  • Convergent series in the ACOE. A solution of (5.1) requires every series ∑jP(j∣i,a)h(j)\sum_jP(j\mid i,a)h(j)∑j​P(j∣i,a)h(j), a∈U(i)a\in U(i)a∈U(i), to converge, and the minimum to be attained.
  • (5.2) over all policies. The paper prints the growth condition of Theorem 5.1 for π∈ΠSD\pi\in\Pi_{SD}π∈ΠSD​, but its conclusion ρ=J∗(i)\rho=J^*(i)ρ=J∗(i) concerns all policies, and the proof uses the condition for arbitrary π\piπ. It is stated for every π∈Π\pi\in\Piπ∈Π, with integrability of h(Xt)h(X_t)h(Xt​) explicit.
  • Theorem 2.1 is cited without proof in the survey for Borel models; in the countable model its Assumptions 2.2–2.3 follow from the continuity assumptions of §5. Only parts (i) and (iii) are stated.
  • Lemma 2.1 is stated for functions bounded below (on discrete ℕ these are the lower semicontinuous functions bounded below), with convergent series.
  • Irreducible, positive recurrent (converse of Theorem 5.1): every state is reached with positive probability from every state, and every state has finite expected return time.

A formalization in which J∗J^*J∗ is an infimum over stationary policies only, in which the ACOE is an inequality or holds for one fixed action, or in which hβh_\betahβ​ is computed from +∞+\infty+∞ values through a junk conversion, would trivialize the goal; all three are excluded by the definitions above.

A complete development needs the Ionescu-Tulcea path measure for history-dependent policies, the discounted optimality equation for nonnegative unbounded costs, Scheffé-type uniform convergence on compact action sets, and the martingale identity behind Theorem 5.1. The model file is reusable by the other missions of this series and by any countable-state average cost result; proofs of the milestones are welcome independently of the goal.

Selected references

  • A. Arapostathis, V. S. Borkar, E. Fernández-Gaucherand, M. K. Ghosh, S. I. Marcus, Discrete-time controlled Markov processes with average cost criterion: a survey, SIAM J. Control Optim. 31(2) (1993) 282–344. https://doi.org/10.1137/0331018
  • C. Derman, On sequential decisions and Markov chains, Management Sci. 9 (1962) 16–24 (reference [38] of the survey).
  • C. Derman, Denumerable state Markovian decision processes — average cost criterion, Ann. Math. Statist. 37 (1966) 1545–1553 (reference [39]).
  • H. M. Taylor, Markovian sequential replacement processes, Ann. Math. Statist. 36 (1965) 1677–1694 (reference [177]).
  • S. M. Ross, Non-discounted denumerable Markovian decision models, Ann. Math. Statist. 39 (1968) 412–423, and Arbitrary state Markovian decision processes, Ann. Math. Statist. 39 (1968) 2118–2122 (references [147], [148]).
  • S. M. Ross, Introduction to Stochastic Dynamic Programming, Academic Press, New York, 1983 (reference [150]).
  • L. I. Sennott, Average cost optimal stationary policies in infinite state Markov decision processes with unbounded costs, Oper. Res. 37 (1989) 626–633 (reference [156]).
9 thms2 active usersReviewed
Control TheoryDynamic ProgrammingOptimization+2·Captain: mikedeng1

Stochastic Optimal Control: The Discrete-Time Case IX: Imperfect State Information — Reduction to a Perfect-Information Model through a Statistic Sufficient for ControlTextbook

Motivation

In most control problems the controller does not see the state of the system. It sees noisy observations, remembers its past controls, and must act on that record. Inventory systems with delayed or inaccurate counts, maintenance of machines whose wear is only inspected, target tracking, and medical treatment planned from test results all have this form. The standard device for such problems is to replace the hidden state by a summary of the record, most often the conditional distribution of the state given the observations, and to solve a dynamic program whose state is that summary.

For finite or countable spaces this reduction goes back to Åström (1965) and Striebel (1965), who introduced the conditional distribution of the state as a "sufficient statistic" for control. Chapter 10 of Bertsekas and Shreve, Stochastic Optimal Control: The Discrete-Time Case (Academic Press 1978; Athena Scientific 1996) carries it out for Borel state, control and observation spaces, with universally measurable policies and costs that are only lower semianalytic. In that generality the measurability of the reduced model is the whole difficulty, and the chapter isolates exactly what a summary must satisfy for the reduction to be exact.

Setting

The imperfect state information model (ISI) of Definition 10.3 has a nonempty Borel state space SSS, control space CCC and observation space ZZZ; a discount factor α>0\alpha>0α>0; a lower semianalytic cost g:SC→R∗=[−∞,∞]g:SC\to R^*=[-\infty,\infty]g:SC→R∗=[−∞,∞]; a Borel state transition kernel t(dx′∣x,u)t(dx'\mid x,u)t(dx′∣x,u); Borel observation kernels s0(dz∣x)s_0(dz\mid x)s0​(dz∣x) and s(dz∣u,x)s(dz\mid u,x)s(dz∣u,x); and a horizon NNN. The initial state x0x_0x0​ has distribution p∈P(S)p\in P(S)p∈P(S), z0∼s0(⋅∣x0)z_0\sim s_0(\cdot\mid x_0)z0​∼s0​(⋅∣x0​), and then xk+1∼t(⋅∣xk,uk)x_{k+1}\sim t(\cdot\mid x_k,u_k)xk+1​∼t(⋅∣xk​,uk​), zk+1∼s(⋅∣uk,xk+1)z_{k+1}\sim s(\cdot\mid u_k,x_{k+1})zk+1​∼s(⋅∣uk​,xk+1​). The controller knows the information vector ik=(z0,u0,…,uk−1,zk)∈Iki_k=(z_0,u_0,\dots,u_{k-1},z_k)\in I_kik​=(z0​,u0​,…,uk−1​,zk​)∈Ik​ and must choose uk∈Uk(ik)u_k\in U_k(i_k)uk​∈Uk​(ik​), where the constraint set Γk={(ik,u)∣u∈Uk(ik)}\Gamma_k=\{(i_k,u)\mid u\in U_k(i_k)\}Γk​={(ik​,u)∣u∈Uk​(ik​)} is analytic.

A policy π=(μ0,…,μN−1)\pi=(\mu_0,\dots,\mu_{N-1})π=(μ0​,…,μN−1​) consists of universally measurable stochastic kernels μk(duk∣p;ik)\mu_k(du_k\mid p;i_k)μk​(duk​∣p;ik​) that respect the constraints (Definition 10.4). Together with ppp it determines probability measures Pk(π,p)P_k(\pi,p)Pk​(π,p) on the histories (x0,z0,u0,…,xk,zk,uk)(x_0,z_0,u_0,\dots,x_k,z_k,u_k)(x0​,z0​,u0​,…,xk​,zk​,uk​), the cost

JN,π(p)=∫[∑k=0N−1αkg(xk,uk)]dPN−1(π,p),J_{N,\pi}(p)=\int\Big[\sum_{k=0}^{N-1}\alpha^k g(x_k,u_k)\Big]dP_{N-1}(\pi,p),JN,π​(p)=∫[k=0∑N−1​αkg(xk​,uk​)]dPN−1​(π,p),

and the optimal cost JN∗(p)=inf⁡πJN,π(p)J^*_N(p)=\inf_\pi J_{N,\pi}(p)JN∗​(p)=infπ​JN,π​(p) (Definition 10.5). Assumption (F+)(F^+)(F+) asks that the expected discounted negative part of the cost be finite for every policy and initial distribution; (F−)(F^-)(F−) asks the same of the positive part.

A statistic is a sequence of Borel maps ηk:P(S)Ik→Yk\eta_k:P(S)I_k\to Y_kηk​:P(S)Ik​→Yk​ into nonempty Borel spaces. It is sufficient for control (Definition 10.6) if (a) the constraints can be read off from it, Γk={(ik,u)∣(ηk(p;ik),u)∈Γ^k}\Gamma_k=\{(i_k,u)\mid(\eta_k(p;i_k),u)\in\hat\Gamma_k\}Γk​={(ik​,u)∣(ηk​(p;ik​),u)∈Γ^k​} with Γ^k\hat\Gamma_kΓ^k​ analytic; (b) the conditional law of ηk+1\eta_{k+1}ηk+1​ given (ηk,uk)(\eta_k,u_k)(ηk​,uk​) is a Borel kernel t^k(dyk+1∣yk,uk)\hat t_k(dy_{k+1}\mid y_k,u_k)t^k​(dyk+1​∣yk​,uk​), for every ppp and every policy; and (c) the conditional expectation of g(xk,uk)g(x_k,u_k)g(xk​,uk​) given (ηk,uk)(\eta_k,u_k)(ηk​,uk​) is a lower semianalytic function g^k(yk,uk)\hat g_k(y_k,u_k)g^​k​(yk​,uk​). The perfect state information model (PSI) of Definition 10.7 has states yk∈Yky_k\in Y_kyk​∈Yk​, constraints U^k(yk)=(Γ^k)yk\hat U_k(y_k)=(\hat\Gamma_k)_{y_k}U^k​(yk​)=(Γ^k​)yk​​, costs g^k\hat g_kg^​k​ and transitions t^k\hat t_kt^k​; its cost and optimal cost at y∈Y0y\in Y_0y∈Y0​ are J^N,π^(y)\hat J_{N,\hat\pi}(y)J^N,π^​(y) and J^N∗(y)\hat J^*_N(y)J^N∗​(y). The initial distribution of y0y_0y0​ is

φ(p)(Y‾0)=∫Ss0({z0∣η0(p;z0)∈Y‾0}∣x0) p(dx0).\varphi(p)(\underline Y_0)=\int_S s_0(\{z_0\mid\eta_0(p;z_0)\in\underline Y_0\}\mid x_0)\,p(dx_0).φ(p)(Y​0​)=∫S​s0​({z0​∣η0​(p;z0​)∈Y​0​}∣x0​)p(dx0​).

A Markov (PSI) policy μ^k(du∣yk)\hat\mu_k(du\mid y_k)μ^​k​(du∣yk​) acts in (ISI) through μk(du∣p;ik)=μ^k(du∣ηk(p;ik))\mu_k(du\mid p;i_k)=\hat\mu_k(du\mid\eta_k(p;i_k))μk​(du∣p;ik​)=μ^​k​(du∣ηk​(p;ik​)).

Formalization targets

Goal: Proposition 10.3

Under (F+,F^+)(F^+,\hat F^+)(F+,F^+) or (F−,F^−)(F^-,\hat F^-)(F−,F^−),

JN∗(p)=∫Y0J^N∗(y0) φ(p)(dy0)∀p∈P(S),J^*_N(p)=\int_{Y_0}\hat J^*_N(y_0)\,\varphi(p)(dy_0)\qquad\forall p\in P(S),JN∗​(p)=∫Y0​​J^N∗​(y0​)φ(p)(dy0​)∀p∈P(S),

and a Markov (PSI) policy that is optimal, φ(p)\varphi(p)φ(p)-optimal or weakly φ(p)\varphi(p)φ(p)-ε\varepsilonε-optimal for (PSI) is respectively optimal, optimal at ppp, or ε\varepsilonε-optimal at ppp for (ISI); under (F+,F^+)(F^+,\hat F^+)(F+,F^+) an ε\varepsilonε-optimal (PSI) policy is ε\varepsilonε-optimal for (ISI). Here π^\hat\piπ^ is weakly qqq-ε\varepsilonε-optimal if ∫J^N,π^ dq≤∫J^N∗ dq+ε\int\hat J_{N,\hat\pi}\,dq\le\int\hat J^*_N\,dq+\varepsilon∫J^N,π^​dq≤∫J^N∗​dq+ε when ∫J^N∗ dq>−∞\int\hat J^*_N\,dq>-\infty∫J^N∗​dq>−∞ and ∫J^N,π^ dq≤−1/ε\int\hat J_{N,\hat\pi}\,dq\le-1/\varepsilon∫J^N,π^​dq≤−1/ε otherwise, and qqq-optimal if q({y0∣J^N,π^(y0)=J^N∗(y0)})=1q(\{y_0\mid\hat J_{N,\hat\pi}(y_0)=\hat J^*_N(y_0)\})=1q({y0​∣J^N,π^​(y0​)=J^N∗​(y0​)})=1 (Definition 10.8).

Milestones

  1. Lemma 10.1: the process (η0,u0,…,ηk,uk)(\eta_0,u_0,\dots,\eta_k,u_k)(η0​,u0​,…,ηk​,uk​) generated in (ISI) by a Markov (PSI) policy has the law P^k[π^,φ(p)]\hat P_k[\hat\pi,\varphi(p)]P^k​[π^,φ(p)].
  2. Proposition 10.2: JN,π^(p)=∫J^N,π^ dφ(p)J_{N,\hat\pi}(p)=\int\hat J_{N,\hat\pi}\,d\varphi(p)JN,π^​(p)=∫J^N,π^​dφ(p) for Markov π^\hat\piπ^.
  3. Corollary 10.2.1: JN∗(p)≤∫J^N∗ dφ(p)J^*_N(p)\le\int\hat J^*_N\,d\varphi(p)JN∗​(p)≤∫J^N∗​dφ(p).
  4. Lemma 10.2: every (ISI) policy is matched in cost by some Markov (PSI) policy.
  5. Proposition 10.4: ε\varepsilonε-optimal nonrandomized (ISI) policies that depend on iki_kik​ only through ηk(p;ik)\eta_k(p;i_k)ηk​(p;ik​).
  6. Proposition 10.6: the identity maps on P(S)IkP(S)I_kP(S)Ik​ form a statistic sufficient for control.

Significance

Proposition 10.3 says that an imperfect-information problem loses nothing by being solved in the reduced model: the optimal cost is the φ(p)\varphi(p)φ(p)-average of the reduced optimal cost, and good reduced policies are good original policies. Combined with Proposition 10.6, every (ISI) model has such a reduction, so the finite-horizon dynamic programming theory of Chapter 8 (existence of ε\varepsilonε-optimal policies, the dynamic programming algorithm) transfers to partially observed problems on Borel spaces. Proposition 10.4 turns this into a structural statement about the original problem: nearly optimal controllers need to retain only the statistic.

These results are proved in the book. None of them is formalized: the platform's related results (Bäuerle–Rieder's partially observable models with observation densities, and the linear-quadratic-Gaussian separation theorem) work in different models and do not cover universally measurable policies, analytic constraints, or lower semianalytic costs. A machine-checked version makes the conditional-expectation bookkeeping of the reduction explicit, and the definitions of this mission (universal measurability, lower semianalytic functions, the book's extended integral, history measures built from universally measurable kernels) are reusable by every other chapter of the book.

Difficulty

The obvious argument says: replace the state by the statistic, observe that costs and transitions depend only on the statistic, and conclude. In the Borel setting each step is a measurability claim that the naive argument does not supply. The conditions of Definition 10.6 are almost-everywhere statements about conditional distributions under every pair (p,π)(p,\pi)(p,π), while the reduced model needs genuine kernels; the policies are only universally measurable, so integrals and compositions must be taken with respect to completions; the costs take the values ±∞\pm\infty±∞, so interchanging sums and integrals requires the finiteness assumptions (F±)(F^\pm)(F±) and (F^±)(\hat F^\pm)(F^±); and the inequality JN∗≥∫J^N∗ dφ(p)J^*_N\ge\int\hat J^*_N\,d\varphi(p)JN∗​≥∫J^N∗​dφ(p) requires producing, from an arbitrary history-dependent (ISI) policy, a Markov (PSI) policy with the same cost, which the naive argument does not do.

Formalization scope

  • Horizon. Only finite horizons N≥1N\ge1N≥1 are covered, hence only the cases (F+,F^+)(F^+,\hat F^+)(F+,F^+) and (F−,F^−)(F^-,\hat F^-)(F−,F^−) of the book's statements; the infinite-horizon cases (P,P^)(P,\hat P)(P,P^), (N,N^)(N,\hat N)(N,N^), (D,D^)(D,\hat D)(D,D^) are out of scope.
  • Extended reals. Costs live in EReal with the book's convention ∞−∞=+∞\infty-\infty=+\infty∞−∞=+∞ written out explicitly (badd, bsum, extIntegral); Mathlib's EReal subtraction (⊤−⊤=⊥\top-\top=\bot⊤−⊤=⊥) is never used where both terms can be infinite.
  • Spaces and measures. SSS, CCC, ZZZ, YkY_kYk​ are Borel spaces in the sense of Definition 7.7 with their Borel σ\sigmaσ-algebras; P(S)P(S)P(S) carries the weak topology and the Giry σ\sigmaσ-algebra. Policies are families of maps into ProbabilityMeasure C that are measurable for the completion of every probability measure. History measures are characterized by their values on rectangles. Families indexed by the stage are indexed by all of N\mathbb NN; only stages k<Nk<Nk<N are constrained.
  • Conditional statements. Conditions (22) and (23) are stated through the defining relations of conditional probability and expectation, for every ppp and every policy, with (23) required when g(xk,uk)g(x_k,u_k)g(xk​,uk​) is quasi-integrable.
  • Policies in Proposition 10.3. The (PSI) policies in the optimality transfers are Markov, as in Proposition 10.2.
  • No trivialization. Definition 10.6 is the full definition: analytic Γ^k\hat\Gamma_kΓ^k​ with full projection, Borel kernels t^k\hat t_kt^k​ satisfying (22) for every ppp and policy, and lower semianalytic g^k\hat g_kg^​k​ satisfying (23); a weaker notion would make Proposition 10.6 empty.

Contributions are welcome on any milestone. Basic facts that a full development needs, such as composition of universally measurable maps (Proposition 7.44), measurability of integrals against universally measurable kernels (Proposition 7.46), and existence of the history measures (Proposition 7.45), can be posed and proved as supporting lemmas; they are reusable across the book.

Selected references

  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978; Athena Scientific, 1996, Chapter 10. https://web.mit.edu/dimitrib/www/soc.html
  • 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
  • C. Striebel, Sufficient statistics in the optimum control of stochastic systems, Journal of Mathematical Analysis and Applications 12 (1965) 576–592. https://doi.org/10.1016/0022-247X(65)90027-2
  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Springer, 2011, Chapter 5. https://doi.org/10.1007/978-3-642-18324-9
12 thms2 active usersReviewed
Control TheoryDynamic ProgrammingProbability+1·Captain: mikedeng1

Stochastic Optimal Control: The Discrete-Time Case VII: The Finite-Horizon Borel Model — over Universally Measurable Policies J*_K = T^K(J_0)Textbook

Motivation

Finite-horizon stochastic control on general state and control spaces — inventory levels, queue lengths, positions, beliefs — cannot be written down without measure theory, and the measure theory turns out to be the hard part. The dynamic programming (DP) recursion "start from zero and minimise one stage at a time" is easy to state, but on uncountable spaces the minimisation in each step produces functions that need not be Borel-measurable, and the infimum over policies has to be taken over a class large enough to contain near-minimisers. Bertsekas and Shreve's Stochastic Optimal Control: The Discrete-Time Case (1978; Athena reprint 1996) resolved this by working with universally measurable policies and lower semianalytic costs. Chapter 8 is the finite-horizon core of that theory, and the infinite-horizon results of Chapter 9 and the imperfect-information reduction of Chapter 10 are built on it.

Timeline. Blackwell (1965) treated discounted problems on Borel spaces with bounded costs and Borel policies, where ε-optimal Borel policies may fail to exist. Strauch (1966) studied positive and negative models. Blackwell, Freedman and Orkin (1974) introduced analytic sets and analytically measurable policies into DP. Bertsekas and Shreve (1978, Chapters 7–8) gave the universally measurable finite-horizon theory formalized here, including the unbounded-cost assumptions (F⁺)/(F⁻).

Setting

A finite horizon stochastic optimal control model is a nine-tuple (S,C,U,W,p,f,α,g,N)(S,C,U,W,p,f,\alpha,g,N)(S,C,U,W,p,f,α,g,N). The state space SSS, control space CCC and disturbance space WWW are nonempty Borel spaces (topological spaces homeomorphic to Borel subsets of complete separable metric spaces). The constraint U(x)⊆CU(x)\subseteq CU(x)⊆C is nonempty and Γ={(x,u)∣u∈U(x)}\Gamma=\{(x,u)\mid u\in U(x)\}Γ={(x,u)∣u∈U(x)} is analytic in S×CS\times CS×C. Disturbances are drawn from a Borel stochastic kernel p(dw∣x,u)p(dw\mid x,u)p(dw∣x,u), the system moves by xk+1=f(xk,uk,wk)x_{k+1}=f(x_k,u_k,w_k)xk+1​=f(xk​,uk​,wk​) with fff Borel, the discount factor α\alphaα is a positive real, the one-stage cost g:Γ→[−∞,∞]g:\Gamma\to[-\infty,\infty]g:Γ→[−∞,∞] is lower semianalytic ({g<c}\{g<c\}{g<c} is analytic for every real ccc), and N≥1N\ge1N≥1 is the horizon. The state transition kernel is t(B∣x,u)=p({w∣f(x,u,w)∈B}∣x,u)t(B\mid x,u)=p(\{w\mid f(x,u,w)\in B\}\mid x,u)t(B∣x,u)=p({w∣f(x,u,w)∈B}∣x,u).

A set is universally measurable if it is measurable for the completion of the Borel σ-algebra under every probability measure. A policy π=(μ0,…,μN−1)\pi=(\mu_0,\dots,\mu_{N-1})π=(μ0​,…,μN−1​) chooses uku_kuk​ from a universally measurable stochastic kernel μk(duk∣x0,u0,…,xk)\mu_k(du_k\mid x_0,u_0,\dots,x_k)μk​(duk​∣x0​,u0​,…,xk​) concentrated on U(xk)U(x_k)U(xk​); it is Markov if μk\mu_kμk​ depends on xkx_kxk​ only, and nonrandomized if every μk(⋅∣⋅)\mu_k(\cdot\mid\cdot)μk​(⋅∣⋅) is a point mass. Π′\Pi'Π′ denotes all policies and Π\PiΠ the Markov ones. A policy and an initial distribution ppp determine a probability measure rN(π,p)r_N(\pi,p)rN​(π,p) on state–control paths, and the KKK-stage cost and optimal cost are

JK,π(x)=∫[∑k=0K−1αkg(xk,uk)]drN(π,px),JK∗(x)=inf⁡π∈Π′JK,π(x).J_{K,\pi}(x)=\int\Big[\sum_{k=0}^{K-1}\alpha^k g(x_k,u_k)\Big]dr_N(\pi,p_x),\qquad J^*_K(x)=\inf_{\pi\in\Pi'}J_{K,\pi}(x).JK,π​(x)=∫[k=0∑K−1​αkg(xk​,uk​)]drN​(π,px​),JK∗​(x)=π∈Π′inf​JK,π​(x).

Assumption (F⁺) requires ∫g− dqk(π,px)<∞\int g^-\,dq_k(\pi,p_x)<\infty∫g−dqk​(π,px​)<∞, and (F⁻) requires ∫g+ dqk(π,px)<∞\int g^+\,dq_k(\pi,p_x)<\infty∫g+dqk​(π,px​)<∞, for every policy, initial state and stage, where qkq_kqk​ is the marginal of rNr_NrN​ on the kkk-th pair. The DP operators are

Tμ(J)(x)=∫C[g(x,u)+α ⁣∫SJ dt(⋅∣x,u)]μ(du∣x),T(J)(x)=inf⁡u∈U(x){g(x,u)+α ⁣∫SJ dt(⋅∣x,u)}.T_\mu(J)(x)=\int_C\Big[g(x,u)+\alpha\!\int_S J\,dt(\cdot\mid x,u)\Big]\mu(du\mid x),\qquad T(J)(x)=\inf_{u\in U(x)}\Big\{g(x,u)+\alpha\!\int_S J\,dt(\cdot\mid x,u)\Big\}.Tμ​(J)(x)=∫C​[g(x,u)+α∫S​Jdt(⋅∣x,u)]μ(du∣x),T(J)(x)=u∈U(x)inf​{g(x,u)+α∫S​Jdt(⋅∣x,u)}.

Formalization targets

Goal: Proposition 8.2

JK∗=TK(J0),K=1,…,N,J^*_K=T^K(J_0),\qquad K=1,\dots,N,JK∗​=TK(J0​),K=1,…,N,

under (F⁺) or (F⁻), where J0≡0J_0\equiv0J0​≡0. The goal leaves the horizon, the discount factor and the sign of ggg unrestricted beyond (F⁺)/(F⁻), and it compares an infimum over all history-dependent randomized policies with a pointwise recursion.

Milestones

In attack order: Lemma 8.1 (the cost of a Markov policy equals Tμ0⋯TμK−1(J0)T_{\mu_0}\cdots T_{\mu_{K-1}}(J_0)Tμ0​​⋯TμK−1​​(J0​)), Proposition 8.1 and Corollary 8.1.1 (Markov policies suffice), Lemma 8.2 (an ε-optimal universally measurable kernel for one application of TTT), Lemma 8.3 (under (F⁺), TK(J0)>−∞T^K(J_0)>-\inftyTK(J0​)>−∞), Lemma 8.4 (monotone and bounded convergence for TμT_\muTμ​). Two consequences of the goal complete the chapter's existence theory: Corollary 8.2.1 (JK∗J^*_KJK∗​ is lower semianalytic) and Proposition 8.3 (ε-optimal nonrandomized Markov policies under (F⁺); nonrandomized semi-Markov and randomized Markov ones under (F⁻)).

Significance

Proposition 8.2 says the DP algorithm computes the true optimal cost of the Borel model, with no restriction to Markov or nonrandomized policies and with costs that may be unbounded in either direction. Corollary 8.2.1 identifies the regularity of the value function — lower semianalytic, possibly not Borel (Example 1 of Chapter 8) — and Proposition 8.3 turns the recursion into near-optimal policies. These results are the base case for the infinite-horizon theory of Chapter 9 (positive, negative and discounted models are analysed as limits of finite-horizon problems) and for the sufficient-statistic reduction of Chapter 10.

All results here are proved in the book. None is formalized: the platform has finite-state, finite-action DP theorems and Borel models with Borel-measurable policies, but no universally measurable policies, no lower semianalytic costs and no Ionescu-Tulcea construction for universally measurable kernels. The mission poses the finite-horizon Borel theory, with reusable infrastructure: the universal σ-algebra, universally measurable kernels, iterated path integrals representing integration against the induced path measure, and the operator calculus on extended-real functions with the convention ∞−∞=∞\infty-\infty=\infty∞−∞=∞.

Difficulty

The obvious argument fails at measurability. On countable spaces, Proposition 8.2 follows from the Part I argument: induct on KKK, choose near-minimising controls state by state, assemble them into a policy. On Borel spaces, a pointwise choice of near-minimisers is not a policy unless it is measurable, and T(J)T(J)T(J) is generally not Borel even when JJJ and ggg are; Borel policies are too few for ε\varepsilonε-optimal ones to exist. The book's way out needs the selection theorem for lower semianalytic functions (Proposition 7.50), integration of universally measurable functions against universally measurable kernels (Propositions 7.45–7.46), and care with infinite values: without (F⁺) or (F⁻), the integral of the stage sum and the sum of the stage integrals can disagree, and Lemma 8.1 fails.

Formalization scope

Lean conventions:

  • Spaces carry [TopologicalSpace X] [MeasurableSpace X] [BorelSpace X] [IsBorelSpace X] [Nonempty X]. IsBorelSpace is the book's Definition 7.7.
  • Extended reals are EReal. Addition inside costs and integrands uses the book's convention −∞+∞=+∞-\infty+\infty=+\infty−∞+∞=+∞ (badd), not Mathlib's, which gives ⊥+⊤=⊥\bot+\top=\bot⊥+⊤=⊥. Integrals are ∫f+−∫f−\int f^+-\int f^-∫f+−∫f− with ∞−∞=∞\infty-\infty=\infty∞−∞=∞ (extInt).
  • The universal σ-algebra is the intersection of all completions (universalSigma). Kernels are universally measurable in the sense of Lemma 7.28(b).
  • The integral against rN(π,p)r_N(\pi,p)rN​(π,p) is the iterated integral of Eq. (4) of Chapter 8 (pathInt).
  • Stages are indexed 0,…,N−10,\dots,N-10,…,N−1, and a history is kkk state–control pairs plus the current state.
  • ggg is stored on S×CS\times CS×C, but only its values on Γ\GammaΓ are constrained or used.

A trivializing formalization is excluded by construction. JK∗J^*_KJK∗​ is the infimum over all policies in Π′\Pi'Π′, not over Markov or nonrandomized ones. JK,πJ_{K,\pi}JK,π​ is the integral of the stage sum against the path measure, never the operator composition of Lemma 8.1, so the goal does not collapse to the Part I result.

A complete development needs:

  • the analytic-set and universal-measurability theory of §7.6–7.7: closure of analytic sets under projections and sections, measurability of integrals against universally measurable kernels (Proposition 7.46), and the selection theorem (Proposition 7.50);
  • extended-real integration lemmas in the style of Lemma 7.11.

This infrastructure is reusable for the infinite-horizon Borel models (Chapter 9), for the imperfect-information reduction (Chapter 10), and for papers that cite this book. Contributions of these supporting lemmas as separate theorems are welcome.

Selected references

  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978; Athena Scientific reprint, 1996, Chapter 8. https://web.mit.edu/dimitrib/www/soc.html
  • D. Blackwell, Discounted dynamic programming, Ann. Math. Statist. 36 (1965), 226–235. https://doi.org/10.1214/aoms/1177700285
  • R. E. Strauch, Negative dynamic programming, Ann. Math. Statist. 37 (1966), 871–890. https://doi.org/10.1214/aoms/1177699369
  • D. Blackwell, D. Freedman and M. Orkin, The optimal reward operator in dynamic programming, Ann. Probab. 2 (1974), 926–941. https://doi.org/10.1214/aop/1176996558
  • S. E. Shreve and D. P. Bertsekas, Universally measurable policies in dynamic programming, Math. Oper. Res. 4 (1979), 15–30. https://doi.org/10.1287/moor.4.1.15
14 thms2 active usersReviewed
Bandit AlgorithmsMachine LearningProbability·Captain: mikedeng1

The Best of Both Worlds: Stochastic and Adversarial Bandits: SAO Has Pseudo-Regret O(K log K log²β/Δ) on Stochastic Rewards and Regret Õ(√(nK)) Against Adaptive AdversariesResearch Paper

Motivation

In a multi-armed bandit problem a learner chooses one of KKK actions in each of nnn rounds and observes only the reward of the chosen action. Two models of the rewards have separate theories. In the stochastic model, each arm pays independent draws from a fixed distribution; algorithms such as UCB1 (Auer, Cesa-Bianchi & Fischer 2002) have regret of order ∑ilog⁡(n)/Δi\sum_i \log(n)/\Delta_i∑i​log(n)/Δi​, logarithmic in nnn. In the adversarial model, an adversary chooses the rewards; Exp3 and its variants (Auer, Cesa-Bianchi, Freund & Schapire 2002) have regret of order nK\sqrt{nK}nK​, which is optimal there. An algorithm tuned for one model fails in the other: stochastic algorithms can suffer linear regret against an adversary, and adversarial algorithms pay n\sqrt nn​ even when the rewards are i.i.d.

Bubeck and Slivkins (arXiv:1202.4473, COLT 2012) asked whether one algorithm can be near-optimal in both models without knowing which one it faces. They answered yes with the algorithm SAO. This result started the "best of both worlds" line of work on bandits. Later contributions include EXP3++ (Seldin & Slivkins 2014) and Tsallis-INF (Zimmert & Seldin 2021).

Setting

There are K≥2K\ge2K≥2 arms and n≥Kn\ge Kn≥K rounds. On round ttt the algorithm draws an arm ItI_tIt​ from a probability vector pt=(p1,t,…,pK,t)p_t=(p_{1,t},\dots,p_{K,t})pt​=(p1,t​,…,pK,t​) computed from the history it has observed. At the same time a reward vector gt∈[0,1]Kg_t\in[0,1]^Kgt​∈[0,1]K is fixed, and the algorithm observes only gIt,tg_{I_t,t}gIt​,t​.

  • Adversarial model. The vector gtg_tgt​ is chosen by an adaptive adversary: a function of the arms I1,…,It−1I_1,\dots,I_{t-1}I1​,…,It−1​ played earlier, but not of ItI_tIt​. The regret is Rn=max⁡i∑t=1ngi,t−∑t=1ngIt,tR_n=\max_i\sum_{t=1}^n g_{i,t}-\sum_{t=1}^n g_{I_t,t}Rn​=maxi​∑t=1n​gi,t​−∑t=1n​gIt​,t​.
  • Stochastic model. There are distributions ν1,…,νK\nu_1,\dots,\nu_Kν1​,…,νK​ on [0,1][0,1][0,1] with means μi\mu_iμi​, and all gi,t∼νig_{i,t}\sim\nu_igi,t​∼νi​ are independent. The pseudo-regret is R‾n=∑t=1n(max⁡iμi−μIt)\overline R_n=\sum_{t=1}^n(\max_i\mu_i-\mu_{I_t})Rn​=∑t=1n​(maxi​μi​−μIt​​). The gap of arm iii is Δi=max⁡jμj−μi\Delta_i=\max_j\mu_j-\mu_iΔi​=maxj​μj​−μi​, and the minimal gap is Δ=min⁡i:Δi>0Δi\Delta=\min_{i:\Delta_i>0}\Delta_iΔ=mini:Δi​>0​Δi​.

The analysis uses importance-weighted estimates H~i,t=1t∑s≤tgi,s1{Is=i}/pi,s\widetilde H_{i,t}=\frac1t\sum_{s\le t}g_{i,s}\mathbb 1_{\{I_s=i\}}/p_{i,s}Hi,t​=t1​∑s≤t​gi,s​1{Is​=i}​/pi,s​, the sample means H^i,t\widehat H_{i,t}Hi,t​, the averages Hi,t=1t∑s≤tgi,sH_{i,t}=\frac1t\sum_{s\le t}g_{i,s}Hi,t​=t1​∑s≤t​gi,s​, and the play counts Ti(t)T_i(t)Ti​(t).

SAO (Algorithm 1 of the paper) takes a parameter β>1\beta>1β>1. It keeps a set of active arms, initially all arms, and samples them uniformly at first. On each round it applies a test, (12), that deactivates an arm whose estimate H~i,t\widetilde H_{i,t}Hi,t​ falls far below the best active one. The probability of a deactivated arm then decays as qiτi/tq_i\tau_i/tqi​τi​/t, where τi\tau_iτi​ is the deactivation time and qiq_iqi​ the arm's probability at that moment. Three further tests, (13)–(15), check that the observations stay consistent with stochastic rewards. If any of them fails on round τ0\tau_0τ0​, SAO switches permanently to the adversarial algorithm Exp3.P (Bubeck & Cesa-Bianchi 2012, Fig. 3.1) for the remaining rounds.

Formalization targets

Goal: Theorem 4.1, high-probability form

For every δ∈(0,1)\delta\in(0,1)δ∈(0,1) let β=10Kn3δ−1\beta=10Kn^3\delta^{-1}β=10Kn3δ−1. With probability at least 1−δ1-\delta1−δ, SAO with parameter β\betaβ satisfies, in the stochastic model (whenever some arm has Δi>0\Delta_i>0Δi​>0),

R‾n≤260K(1+log⁡K)log⁡2(β)Δ,\overline R_n\le\frac{260K(1+\log K)\log^2(\beta)}{\Delta},Rn​≤Δ260K(1+logK)log2(β)​,

and, against every adaptive adversary with rewards in [0,1][0,1][0,1],

Rn≤60(1+log⁡K)(1+log⁡n)nKlog⁡(β)+5K2log⁡2(β)+200K2log⁡2(β).R_n\le60(1+\log K)(1+\log n)\sqrt{nK\log(\beta)+5K^2\log^2(\beta)}+200K^2\log^2(\beta).Rn​≤60(1+logK)(1+logn)nKlog(β)+5K2log2(β)​+200K2log2(β).

Milestones

The milestones follow the paper's proof in order:

  • Freedman's inequality (Theorem 4.3) in the paper's two-sided form, and its variance-adaptive form, Lemma 4.4.
  • The concentration lemmas for SAO's estimates (Lemmas 4.5, 4.6, 4.7) and the Exp3.P phase (Lemma 4.8).
  • The two good events of §4.1, (21)–(25).
  • The deterministic consequences on those events: Exp3.P is never started in the stochastic model; suboptimal arms are deactivated by time 260Klog⁡(β)/Δi2260K\log(\beta)/\Delta_i^2260Klog(β)/Δi2​; ∑iqi≤1+log⁡K\sum_iq_i\le1+\log K∑i​qi​≤1+logK, (27); and the adversarial regret bound of §4.3.
  • The two halves of Theorem 4.1.

Significance

The theorem shows that the stochastic and adversarial regret rates are not in conflict. A single algorithm, with no information about the model, gets O(Klog⁡Klog⁡2(n/δ)/Δ)O(K\log K\log^2(n/\delta)/\Delta)O(KlogKlog2(n/δ)/Δ) pseudo-regret on stochastic rewards and O~(nK)\tilde O(\sqrt{nK})O~(nK​) regret against adaptive adversaries. Each rate is within polylogarithmic factors of optimal for its model. Later algorithms improved the logarithmic factors and removed the explicit switching, but they are compared against this result.

The theorem is proved in the paper. It is not known to have a machine-checked proof. Formalizing it requires a precise model of an adaptive adversary interacting with a randomized algorithm, martingale concentration with random variance (Lemma 4.4), and an exact statement of SAO including its boundary cases. The pieces are reusable: the interaction model, the estimators, Exp3.P and its high-probability guarantee all apply to other adversarial bandit results.

Difficulty

Neither standard analysis carries over. In the stochastic model, SAO's sampling probabilities are random and depend on the past, and a deactivated arm's probability keeps changing. Hoeffding-type bounds for a fixed sampling scheme therefore do not apply to H~i,t\widetilde H_{i,t}Hi,t​. The variance of the importance-weighted estimate grows like ∑s1/pi,s\sum_s1/p_{i,s}∑s​1/pi,s​, which is controlled only through the algorithm's own schedule (16). This is why Lemma 4.5 has the two-part radius with max⁡(t−τi,0)/(qiτit)\max(t-\tau_i,0)/(q_i\tau_it)max(t−τi​,0)/(qi​τi​t). In the adversarial model, the deterministic argument has to show that whenever the consistency tests pass, the regret accumulated before the switch is already small, for an adversary that adapts to the arms played. A union bound over all quantities, all arms and all times (§4.1) is needed before any deterministic reasoning, so every constant in the event matters.

Formalization scope

All declarations live in the namespace BestBothWorlds.SAO.

  • Arms and paths. Arms are Fin K and rounds are 1,…,n1,\dots,n1,…,n. An arm path is Fin n → Fin K.
  • Algorithms and adversaries. An algorithm is a deterministic map from the observed history to a probability vector. A deterministic adaptive adversary is a map from the list of earlier arms to a reward vector; randomized adversaries are mixtures of these.
  • Probabilities. For a fixed adversary, the probability of an event is ∑I∈E∏tpIt,t\sum_{I\in E}\prod_tp_{I_t,t}∑I∈E​∏t​pIt​,t​. In the stochastic model this is integrated against the product law of the reward table.
  • Logarithms and constants. Real.log is the natural logarithm. All constants of Theorem 4.1 are explicit, with β=10Kn3δ−1\beta=10Kn^3\delta^{-1}β=10Kn3δ−1.
  • SAO. It is defined exactly as Algorithm 1. Arms are tested in order within a round, and the active set changes during the loop. Test (13) is false when Ti(t)=0T_i(t)=0Ti​(t)=0, and test (14) is false when τi=1\tau_i=1τi​=1.
  • Exp3.P. After the switch, Exp3.P runs from scratch for n−τ0n-\tau_0n−τ0​ rounds. Its parameters are those of Bubeck–Cesa-Bianchi Theorem 3.2 with confidence K/βK/\betaK/β, and γ\gammaγ and βP\beta_{\mathrm P}βP​ are clipped at 111.
  • §4 notation. τ0\tau_0τ0​, τi←min⁡(τi,τ0)\tau_i\leftarrow\min(\tau_i,\tau_0)τi​←min(τi​,τ0​) and qi=pi,min⁡(τi,τ0)q_i=p_{i,\min(\tau_i,\tau_0)}qi​=pi,min(τi​,τ0​)​ are computed from the run, never assumed.

A trivializing formalization is ruled out. The goal's hypotheses concern only the instance (KKK, nnn, δ\deltaδ, the distributions or the adversary). The algorithm's quantities (τ0\tau_0τ0​, τi\tau_iτi​, qiq_iqi​, the sampling probabilities) are computed by the definition of SAO and are never free variables or hypotheses. The adversarial half covers adaptive adversaries, not only oblivious reward tables.

The expectation form of Theorem 4.1 (O(⋅)O(\cdot)O(⋅) bounds with β=n4\beta=n^4β=n4), Theorem 1.1 and the two-armed warm-up of §3 are out of scope. Proofs of any milestone are welcome, as are alternative proofs of the concentration lemmas from Mathlib's martingale library.

Selected references

  • S. Bubeck and A. Slivkins, The best of both worlds: stochastic and adversarial bandits, COLT 2012; arXiv:1202.4473v1. https://arxiv.org/abs/1202.4473
  • S. Bubeck and N. Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems, Foundations and Trends in Machine Learning 5(1), 2012. https://doi.org/10.1561/2200000024
  • D. A. Freedman, On tail probabilities for martingales, Annals of Probability 3(1), 1975. https://doi.org/10.1214/aop/1176996452
  • P. Auer, N. Cesa-Bianchi and P. Fischer, Finite-time analysis of the multiarmed bandit problem, Machine Learning 47, 2002. https://doi.org/10.1023/A:1013689704352
  • P. Auer, N. Cesa-Bianchi, Y. Freund and R. E. Schapire, The nonstochastic multiarmed bandit problem, SIAM Journal on Computing 32(1), 2002. https://doi.org/10.1137/S0097539701398375
  • Y. Seldin and A. Slivkins, One practical algorithm for both stochastic and adversarial bandits, ICML 2014. https://proceedings.mlr.press/v32/seldinb14.html
  • J. Zimmert and Y. Seldin, Tsallis-INF: an optimal algorithm for stochastic and adversarial bandits, JMLR 22, 2021. https://jmlr.org/papers/v22/19-753.html
20 thms2 active usersReviewed
PreviousPage 12 of 45Next

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me