Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3, p. 27 — the consumer's expected shopping surplus is Eu_p = ∫_{q̲}^{q̂} (1 − te) q v dF(q) for te > t̂e, else 0

Proved
Shoppertainment.OptimalBandwidth.lemma_3

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

consumer-surpluslive-streamingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let v>0v > 0v>0 and 0≤q‾<10 \le \underline q < 10≤q​<1, with qualities uniform on [q‾,1][\underline q, 1][q​,1] (dF(q)=dq/(1−q‾)dF(q) = dq/(1-\underline q)dF(q)=dq/(1−q​)). Let Eup(te)Eu_p(t_e)Eup​(te​) be an attending consumer's expected surplus from shopping when every manufacturer prices according to Lemma 2. Then for every te∈[0,1]t_e \in [0,1]te​∈[0,1],

Eup(te)={11−q‾∫q‾q^(1−te) q v dqif te>t^e,0if te≤t^e,Eu_p(t_e) = \begin{cases} \displaystyle\frac{1}{1-\underline q}\int_{\underline q}^{\hat q} (1 - t_e)\,q\,v\,dq & \text{if } t_e > \hat t_e,\\[2mm] 0 & \text{if } t_e \le \hat t_e,\end{cases}Eup​(te​)=⎩⎨⎧​1−q​1​∫q​q^​​(1−te​)qvdq0​if te​>t^e​,if te​≤t^e​,​

where t^e=1/(2−q‾)\hat t_e = 1/(2-\underline q)t^e​=1/(2−q​) and q^=2−1/te\hat q = 2 - 1/t_eq^​=2−1/te​.

Consumers gain from shopping only through "deal prices" pLp_LpL​, which exist only when the entertainment bandwidth exceeds t^e\hat t_et^e​. This closed form feeds the attending traffic (13).

Formalization Note EupEu_pEup​ is defined from the consumer's ex-ante surplus qmax⁡(pH−p,0)+(1−q)max⁡(pL−p,0)q\max(p_H - p, 0) + (1-q)\max(p_L - p, 0)qmax(pH​−p,0)+(1−q)max(pL​−p,0) at the equilibrium price ppp of each manufacturer, averaged over the uniform law; the statement is therefore a genuine computation, not a definition. q‾<1\underline q < 1q​<1 is pinned for the uniform law.

Preamble
import Mathlib
import Definitions.Def_Shoppertainment_OptimalBandwidth_Model
Formal statement
namespace Shoppertainment.OptimalBandwidth

theorem lemma_3 (v ql : ℝ) (hv : 0 < v) (hql : 0 ≤ ql) (hql1 : ql < 1) :
    ∀ te ∈ Set.Icc (0:ℝ) 1, Eup v ql te =
      if teHat ql < te then (1 / (1 - ql)) * ∫ q in ql..qHat te, (1 - te) * q * v else 0 := by sorry

end Shoppertainment.OptimalBandwidth
Source
Gu, Zhao & Wu, A Model of Shoppertainment Live Streaming, accepted manuscript (Management Science, forthcoming, Oct. 2024), p. 27, Lemma 3, display (12); surplus derivation p. 26
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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