Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3 — ξt(θ∗)\xi_t(\theta^*)ξt​(θ∗) is a conditionally zero-mean, σˉ2\bar\sigma^2σˉ2-sub-Gaussian increment

Proved
DynPricingCov.lemma_3

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

bandit-algorithmsdynamic-pricinggeneralized-linear-modelsoperations-researchp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

In the generalized linear demand model, let ξt(θ)=Dt−g(zt⊤θ)\xi_t(\theta)=D_t-g(z_t^\top\theta)ξt​(θ)=Dt​−g(zt⊤​θ) be the residual of period ttt at parameter θ\thetaθ. Under Assumption 3, for t=1,…,Tt=1,\dots,Tt=1,…,T,

E[ξt(θ∗)∣Ht−1]=0,\mathbb E\big[\xi_t(\theta^*)\mid\mathcal H_{t-1}\big]=0,E[ξt​(θ∗)∣Ht−1​]=0,

and ξt(θ∗)\xi_t(\theta^*)ξt​(θ∗) is σˉ2\bar\sigma^2σˉ2-sub-Gaussian conditionally on Ht−1\mathcal H_{t-1}Ht−1​: E[esξt(θ∗)∣Ht−1]≤eσˉ2s2/2\mathbb E[e^{s\xi_t(\theta^*)}\mid\mathcal H_{t-1}]\le e^{\bar\sigma^2s^2/2}E[esξt​(θ∗)∣Ht−1​]≤eσˉ2s2/2 for all s∈Rs\in\mathbb Rs∈R.

The residuals at the true parameter therefore form a sub-Gaussian martingale difference sequence, which is what the self-normalized bound for the score St=∑t′≤tξt′(θ∗)zt′/σˉS_t=\sum_{t'\le t}\xi_{t'}(\theta^*)z_{t'}/\bar\sigmaSt​=∑t′≤t​ξt′​(θ∗)zt′​/σˉ requires.

Formalization Note Ht−1\mathcal H_{t-1}Ht−1​ is Ft−1\mathcal F_{t-1}Ft−1​ for any filtration F\mathcal FF satisfying Assumption 3; the price process is arbitrary.

Differences from the source:

  • reading: any sequence {xₜ}ₜ₌₁,…,T, with Regπ_T(x₁, …, x_T) a function of that sequence, the expectation taken over the shocks and π only, and x₁, …, xₜ₊₁ listed in ℋₜ → x : ℕ → Fin d → ℝ a deterministic sequence, arbitrary (in 𝒳 on periods 1..T); reason: ℋₜ could suggest random covariates, but r*(aₜ, bₜ) sits outside the expectation and p.5 says "no expectation is taken for xₜ's in the regret definition" and seeks a bound "over all possible xₜ's", so the claim is for each fixed sequence; every sequence is covered, and the shock process may depend on it
  • generalization: a non-anticipatory pricing policy, under the standing Assumptions 1–3 → any price process, Assumption 3 only; reason: ξₜ(θ*) = εₜ by the definition of Dₜ, so the claim does not involve the prices or Assumptions 1–2; the source's setting is an instance
  • generalization: conditioning on the history ℋₜ₋₁ = σ(p₁..pₜ₋₁, ε₁..εₜ₋₁, x₁..xₜ) → any filtration ℱ with εₜ ℱₜ-measurable, pₜ ℱₜ₋₁-measurable, E[εₜ | ℱₜ₋₁] = 0 and the σ̄² conditional MGF bound given ℱₜ₋₁; reason: the paper's ℋ is such a filtration (an admissible policy's pₜ is ℋₜ₋₁-measurable; xₜ is deterministic), so the source's statement is an instance
  • encoding: θ = (α, β) ∈ ℝ^{2d}, zₜ = (xₜ, pₜxₜ), Assumption 3's conditional log-MGF bound, σ̄²-sub-Gaussian → Fin (d + d) → ℝ with θ = Fin.append α β; Mathlib's HasCondSubgaussianMGF with variance proxy σ̄² (which includes integrability of e^{sεₜ}); StandardBorelSpace Ω; σ̄ > 0; reason: Lean conventions; the bound E[e^{sεₜ} | ℋₜ₋₁] ≤ e^{σ̄²s²/2} already makes e^{sεₜ} integrable; the paper divides by σ̄ (Sₜ, p.25), so σ̄ = 0 is an undefined case
Preamble
import Mathlib
import Definitions.Def_DynPricingCov_Model

open MeasureTheory ProbabilityTheory
Formal statement
namespace DynPricingCov

/-- **Lemma 3**, Wang, Talluri & Li, On Dynamic Pricing with Covariates, arXiv:2112.13254v3, p.25:
for `t = 1, …, T`, `E[ξ_t(θ*) | ℋ_{t−1}] = 0`, and `ξ_t(θ*) | ℋ_{t−1}` is `σ̄²`-sub-Gaussian, where
`ξ_t(θ) = D_t − g(z_tᵀθ)`.

**Formalization Note** `ℋ` is any filtration `ℱ` satisfying Assumption 3 (in the shifted index
convention of `Assumption3`, `ℋ_{t−1}` is `ℱ (t − 1)`). The price process is arbitrary. -/
theorem lemma_3 {Ω : Type} {mΩ : MeasurableSpace Ω} [StandardBorelSpace Ω] {P : Measure Ω}
    [IsProbabilityMeasure P] {d T : ℕ} (g : ℝ → ℝ) (θstar : Fin (d + d) → ℝ)
    (x : ℕ → Fin d → ℝ) {ℱ : Filtration ℕ mΩ} {σbar : ℝ} {ε : ℕ → Ω → ℝ}
    (h3 : Assumption3 P ℱ σbar ε) (p : ℕ → Ω → ℝ) {t : ℕ} (ht : t ∈ Finset.Icc 1 T) :
    P[xi g θstar x ε p θstar t | ℱ (t - 1)] =ᵐ[P] 0 ∧
      HasCondSubgaussianMGF (ℱ (t - 1)) (ℱ.le (t - 1)) (xi g θstar x ε p θstar t)
        (σbar ^ 2).toNNReal P := by sorry

end DynPricingCov
Source
Wang, Talluri & Li, On Dynamic Pricing with Covariates, arXiv:2112.13254v3, Lemma 3, p.25
Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 1, 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