Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem B1, p. 21 — if ℙ{‖ẑ−z‖ ≥ ϵ} ≤ K₁₄e^{−nK₁₅ϵ²} + K₁₆/n then G*(z) − 𝔼[G(p̂*, ŷ*, z)] ≤ K₁₇/n

Proved
LimitedPriceChanges.AlgorithmI.theorem_B1

by mikedeng1 · Oct 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

estimationlarge-deviationsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1parametric-optimizationregret

Let P=[pl,ph]\mathcal P=[p^l,p^h]P=[pl,ph], let Y\mathcal YY be a nonempty finite set of nonnegative integers, and let Z⊂Rk\mathcal Z\subset\mathbb R^kZ⊂Rk be compact and convex. Let G(p,y,z)G(p,y,\mathbf z)G(p,y,z) be an objective with a price selection py∗(z)p^*_y(\mathbf z)py∗​(z) on Z\mathcal ZZ, let z∈Z\mathbf z\in\mathcal Zz∈Z be the true parameter, and suppose Assumption A holds at z\mathbf zz. Let y^(⋅)\hat y(\cdot)y^​(⋅) be a level selection, so that y^(z′)∈Y∗(z′)\hat y(\mathbf z')\in\mathcal Y^*(\mathbf z')y^​(z′)∈Y∗(z′) for every z′∈Z\mathbf z'\in\mathcal Zz′∈Z.

On a probability space, let z^n\hat{\mathbf z}_nz^n​ (n≥1n\ge1n≥1) be Z\mathcal ZZ-valued estimators of z\mathbf zz such that, for constants K14,K15,K16>0K_{14},K_{15},K_{16}>0K14​,K15​,K16​>0, every n≥1n\ge1n≥1 and every ϵ>0\epsilon>0ϵ>0,

P{∥z^n−z∥≥ϵ}≤K14e−nK15ϵ2+K16n.(10)\mathbb P\{\|\hat{\mathbf z}_n-\mathbf z\|\ge\epsilon\}\le K_{14}e^{-nK_{15}\epsilon^2}+\frac{K_{16}}{n}. \tag{10}P{∥z^n​−z∥≥ϵ}≤K14​e−nK15​ϵ2+nK16​​.(10)

Set y^∗=y^(z^n)∈Y∗(z^n)\hat y^*=\hat y(\hat{\mathbf z}_n)\in\mathcal Y^*(\hat{\mathbf z}_n)y^​∗=y^​(z^n​)∈Y∗(z^n​) and p^∗=py^∗∗(z^n)∈Py^∗∗(z^n)\hat p^*=p^*_{\hat y^*}(\hat{\mathbf z}_n)\in\mathcal P^*_{\hat y^*}(\hat{\mathbf z}_n)p^​∗=py^​∗∗​(z^n​)∈Py^​∗∗​(z^n​). Then there is a constant K17>0K_{17}>0K17​>0 such that for all large enough nnn,

G∗(z)−E[G(p^∗,y^∗,z)]≤K17n.(11)G^*(\mathbf z)-\mathbb E\big[G(\hat p^*,\hat y^*,\mathbf z)\big]\le\frac{K_{17}}{n}. \tag{11}G∗(z)−E[G(p^​∗,y^​∗,z)]≤nK17​​.(11)

The theorem converts a large-deviation bound on a parameter estimate into a 1/n1/n1/n bound on the expected optimality gap of the plug-in decision; it does not require the optimal decision to be unique.

Formalization Note The continuous and discrete decisions are scalar (r1=r2=1r_1=r_2=1r1​=r2​=1, the paper's own setting in §2). p^∗\hat p^*p^​∗ is the value of the price selection of Assumption A(iii) at (y^∗,z^n)(\hat y^*,\hat{\mathbf z}_n)(y^​∗,z^n​), the decision the printed proof analyses ((19)–(21)); for an arbitrary other maximizer in Py^∗∗(z^n)\mathcal P^*_{\hat y^*}(\hat{\mathbf z}_n)Py^​∗∗​(z^n​) the proof's Lipschitz step has no support. (10) is assumed for every n≥1n\ge1n≥1. The estimators and the plug-in profit ω↦G(p^∗,y^∗,z)\omega\mapsto G(\hat p^*,\hat y^*,\mathbf z)ω↦G(p^​∗,y^​∗,z) are assumed measurable, which the expectation presupposes. The expectation of the nonnegative gap G∗(z)−G(p^∗,y^∗,z)G^*(\mathbf z)-G(\hat p^*,\hat y^*,\mathbf z)G∗(z)−G(p^​∗,y^​∗,z) is a lower Lebesgue integral in [0,∞][0,\infty][0,∞], and probabilities are compared in [0,∞][0,\infty][0,∞].

Preamble
import Mathlib
import Definitions.Def_LimitedPriceChanges_AlgorithmI_DataBasedOptimization
Formal statement
namespace LimitedPriceChanges.AlgorithmI

open MeasureTheory

/-- **Theorem B1** (p. 21), for a scalar continuous decision `p ∈ 𝒫 = [pl, ph]` and a scalar
discrete decision `y ∈ 𝒴` (a nonempty finite set of naturals), with parameter
`z ∈ 𝒵 ⊂ ℝᵏ`, `𝒵` compact and convex, under Assumption A at `z`. Let `ẑₙ` (`n ≥ 1`) be
`𝒵`-valued estimators of `z` on a probability space with
`ℙ{‖ẑₙ − z‖ ≥ ϵ} ≤ K₁₄ e^{−n K₁₅ ϵ²} + K₁₆ / n` (10) for every `n ≥ 1` and `ϵ > 0`, for some
`K₁₄, K₁₅, K₁₆ > 0`. Let `ŷ* = ysel(ẑₙ) ∈ 𝒴*(ẑₙ)` and `p̂* = p*_{ŷ*}(ẑₙ)`. Then there is
`K₁₇ > 0` such that for all large enough `n`, `G*(z) − 𝔼[G(p̂*, ŷ*, z)] ≤ K₁₇ / n` (11). -/
theorem theorem_B1 {k : ℕ} (pl ph : ℝ) (Y : Finset ℕ) (hY : Y.Nonempty)
    (Z : Set (EuclideanSpace ℝ (Fin k))) (hZc : IsCompact Z) (hZv : Convex ℝ Z)
    (G : ℝ → ℕ → EuclideanSpace ℝ (Fin k) → ℝ) (pstar : ℕ → EuclideanSpace ℝ (Fin k) → ℝ)
    (hsel : IsPriceSelection pl ph Y Z G pstar)
    (z : EuclideanSpace ℝ (Fin k)) (hz : z ∈ Z) (hA : AssumptionA pl ph Y hY Z G pstar z)
    (ysel : EuclideanSpace ℝ (Fin k) → ℕ) (hysel : IsLevelSelection Y Z G pstar ysel)
    {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (zhat : ℕ → Ω → EuclideanSpace ℝ (Fin k)) (hmeas : ∀ n, Measurable (zhat n))
    (hzZ : ∀ n ω, zhat n ω ∈ Z)
    (hGmeas : ∀ n, Measurable (fun ω => G (pstar (ysel (zhat n ω)) (zhat n ω)) (ysel (zhat n ω)) z))
    (K₁₄ K₁₅ K₁₆ : ℝ) (hK₁₄ : 0 < K₁₄) (hK₁₅ : 0 < K₁₅) (hK₁₆ : 0 < K₁₆)
    (h10 : ∀ n : ℕ, 1 ≤ n → ∀ ϵ : ℝ, 0 < ϵ →
      P {ω | ϵ ≤ ‖zhat n ω - z‖} ≤
        ENNReal.ofReal (K₁₄ * Real.exp (-((n : ℝ) * K₁₅ * ϵ ^ 2)) + K₁₆ / (n : ℝ))) :
    ∃ K₁₇ : ℝ, 0 < K₁₇ ∧ ∃ n₀ : ℕ, ∀ n ≥ n₀,
      ∫⁻ ω, ENNReal.ofReal (optValue Y hY G pstar z -
          G (pstar (ysel (zhat n ω)) (zhat n ω)) (ysel (zhat n ω)) z) ∂P ≤
        ENNReal.ofReal (K₁₇ / (n : ℝ)) := by sorry

end LimitedPriceChanges.AlgorithmI
Source
Chen, Chao and Wang, Data-Based Dynamic Pricing and Inventory Control with Censored Demand and Limited Price Changes, SSRN 2700747 (revision of 2020-02-10), pp. 20–21, Appendix B, Theorem B1, (10)–(11)
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me