Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma D.1, p. 45 — |R̂(p) − R(p)| ≤ 3p̄²|b̂ − b| + α for all 0 ≤ p ≤ max{min{p̂~, p̃, p̄}, 0}, w.p. ≥ 1 − 2Ke^{−Nα²/((y+b̄p̄)²p̄²)}

Proved
OfflineCensoredPricing.Identifiability.lemma_D_1

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

concentration-inequalitydemand-censoringestimationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Fix an instance satisfying the standing assumptions, with data size N=min⁡iNiN = \min_i N_iN=mini​Ni​. Let R=RFξR = R_{F_\xi}R=RFξ​​ be the true expected revenue, p~=(λ−y)/b\tilde p = (\lambda - y)/bp~​=(λ−y)/b, and let R^\hat RR^, b^\hat bb^, p~^\hat{\tilde p}p~​^​ be the empirical revenue, sensitivity estimate and estimated threshold computed by D2ACD from the censored sales. For any α>0\alpha > 0α>0, with probability at least 1−2Ke−Nα2/((y+bˉpˉ)2pˉ2)1 - 2Ke^{-N\alpha^2/((y+\bar b\bar p)^2\bar p^2)}1−2Ke−Nα2/((y+bˉpˉ​)2pˉ​2),

∣R^(p)−R(p)∣≤3pˉ2∣b^−b∣+αfor all 0≤p≤max⁡{min⁡{p~^,p~,pˉ},0}.\big|\hat R(p) - R(p)\big| \le 3\bar p^2|\hat b - b| + \alpha \quad\text{for all } 0 \le p \le \max\{\min\{\hat{\tilde p}, \tilde p, \bar p\}, 0\}.​R^(p)−R(p)​≤3pˉ​2∣b^−b∣+αfor all 0≤p≤max{min{p~​^​,p~​,pˉ​},0}.

Below both thresholds no censoring distorts the empirical revenue, so it tracks the true revenue up to the error in b^\hat bb^. This is one of the two technical lemmas behind Lemma 2.

Formalization Note The failure event is {∃p, 0≤p≤max⁡{min⁡{p~^,p~,pˉ},0}, ∣R^(p)−R(p)∣>3pˉ2∣b^−b∣+α}\{\exists p,\ 0 \le p \le \max\{\min\{\hat{\tilde p},\tilde p,\bar p\},0\},\ |\hat R(p) - R(p)| > 3\bar p^2|\hat b - b| + \alpha\}{∃p, 0≤p≤max{min{p~​^​,p~​,pˉ​},0}, ∣R^(p)−R(p)∣>3pˉ​2∣b^−b∣+α}, whose outer probability is bounded. Here R^\hat RR^ uses the data of the pair i^∗\hat i^*i^∗ selected by D2ACD.

Preamble
import Mathlib
import Definitions.Def_OfflineCensoredPricing_Identifiability_Model
import Definitions.Def_OfflineCensoredPricing_Identifiability_D2ACD
Formal statement
namespace OfflineCensoredPricing.Identifiability

open MeasureTheory Set

/-- **Lemma D.1** (Convergence of empirical revenue, p. 45). For any `α > 0`, with probability at least
`1 − 2K e^{−Nα²/((y + b̄p̄)² p̄²)}`, `|R̂(q) − R(q)| ≤ 3p̄² |b̂ − b| + α` for all
`0 ≤ q ≤ max{min{p̂~, p̃, p̄}, 0}`, where `R = R_{F_ξ}` is the true expected revenue and `R̂`, `b̂`, `p̂~` are
computed by D2ACD from the censored data. -/
theorem lemma_D_1 {K : ℕ} [NeZero K] (I : Instance K) (hI : I.Standing) (Nv : Fin K → ℕ) {α : ℝ}
    (hα : 0 < α) :
    dataLaw I Nv {ω | ∃ q : ℝ, 0 ≤ q ∧
        q ≤ max (min (min (pTildeHat I.toPublic (sales I ω)) (pTilde I)) I.phi) 0 ∧
        3 * I.phi ^ 2 * |bHat I.toPublic (sales I ω) - I.b| + α <
          |RHat I.toPublic (sales I ω) q - RF I I.μξ q|} ≤
      ENNReal.ofReal (2 * K * Real.exp (-((Nmin Nv : ℝ) * α ^ 2 /
        ((I.y + I.bhi * I.phi) ^ 2 * I.phi ^ 2)))) := by sorry

end OfflineCensoredPricing.Identifiability
Source
Bu, Simchi-Levi & Wang, SSRN 3619625 (PDF of 2021-08-23), p. 45, Lemma D.1 (proof Appendix D.4, pp. 51–53)
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 22, 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