Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Display (4), p. 11 — demand before the GDPR, D̂(p̂) = (1+x−p̂)²/2 on (x, 1+x) and 1 − (1−x+p̂)²/2 on [x−1, x]

Proved
GDPRPrivacy.PriceRise.eq4_demand_before

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

demandgdprmonopolyp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1pricingprivacy

Let 0<x<10 < x < 10<x<1 be the opt-in benefit. Before the GDPR a consumer of type (v,c)(v,c)(v,c), uniform on [0,1]2[0,1]^2[0,1]2, buys at price p^\hat pp^​ iff c≤v+x−p^c \le v + x - \hat pc≤v+x−p^​; let D^(p^)\widehat D(\hat p)D(p^​) be the mass of buyers. Then

D^(p^)={(1+x−p^)22if x<p^<1+x,1−(1−x+p^)22if x−1≤p^≤x.\widehat D(\hat p) = \begin{cases} \dfrac{(1 + x - \hat p)^2}{2} & \text{if } x < \hat p < 1 + x,\\[2mm] 1 - \dfrac{(1 - x + \hat p)^2}{2} & \text{if } x - 1 \le \hat p \le x. \end{cases}D(p^​)=⎩⎨⎧​2(1+x−p^​)2​1−2(1−x+p^​)2​​if x<p^​<1+x,if x−1≤p^​≤x.​

This is the demand curve the firm faces before the GDPR. Combined with Π^(p^)=(p^+α)D^(p^)\widehat\Pi(\hat p) = (\hat p + \alpha)\widehat D(\hat p)Π(p^​)=(p^​+α)D(p^​) it gives the two profit pieces Π^h\widehat\Pi_hΠh​, Π^l\widehat\Pi_lΠl​ that the paper maximizes.

Preamble
import Mathlib
import Definitions.Def_GDPRPrivacy_PriceRise_Model
Formal statement
namespace GDPRPrivacy.PriceRise

theorem eq4_demand_before (x p : ℝ) (hx0 : 0 < x) (hx1 : x < 1) :
    (x < p → p < 1 + x → demandBefore x p = (1 + x - p) ^ 2 / 2) ∧
    (x - 1 ≤ p → p ≤ x → demandBefore x p = 1 - (1 - x + p) ^ 2 / 2) := by sorry

end GDPRPrivacy.PriceRise
Source
Choe, Matsushima & Shekhar, The Bright Side of the GDPR, ISER DP No. 1246 (June 2024), p. 11, display (4)
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