Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Mechanism 1, p. 14 (PDF 15), as an inequality for every feasible planning — the grand-fee lottery earns at least the planning's revenue

Proved
SubscriptionPlanning.GrandOptimal.mechanism_1_revenue

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

grand-bundlingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1randomized-mechanismsubscription-pricing

Fix rental prices r≥0\mathbf r \ge 0r≥0 satisfying Condition 2 and a feasible subscription planning (p,S1,…,Sn)(p, S_1, \dots, S_n)(p,S1​,…,Sn​) (incentive constraints (3), p(∅)=0p(\emptyset) = 0p(∅)=0). Write Ak=λkT SubGain(k,M,r)A_k = \lambda_k T\,\mathrm{SubGain}(k,\mathcal M,\mathbf r)Ak​=λk​TSubGain(k,M,r) and gk=SubGain(k,Sk,r)/SubGain(k,M,r)g_k = \mathrm{SubGain}(k,S_k,\mathbf r)/\mathrm{SubGain}(k,\mathcal M,\mathbf r)gk​=SubGain(k,Sk​,r)/SubGain(k,M,r), and suppose the types are ordered so that both k↦Akk \mapsto A_kk↦Ak​ and k↦gkk \mapsto g_kk↦gk​ are nondecreasing. Let πk=gk−gk−1\pi_k = g_k - g_{k-1}πk​=gk​−gk−1​ with g0=0g_0 = 0g0​=0.

Mechanism 1 draws an index k∈{1,…,n}k \in \{1, \dots, n\}k∈{1,…,n} with probability πk\pi_kπk​, and offers only the grand set M\mathcal MM at fee AkA_kAk​, which is taken by exactly the types iii with Ak≤AiA_k \le A_iAk​≤Ai​; with the remaining probability 1−∑kπk1 - \sum_k \pi_k1−∑k​πk​ nobody subscribes (the phantom index n+1n+1n+1). Its expected revenue is at least the planning's:

∑iqi(p(Si)+λiT Rent(i,Si,r))≤∑kπk R(Ak)+(1−∑kπk)∑iqiλiT Rent(i,∅,r),\sum_{i} q_i\big(p(S_i) + \lambda_i T\,\mathrm{Rent}(i,S_i,\mathbf r)\big) \le \sum_{k} \pi_k\, R(A_k) + \Big(1 - \sum_k \pi_k\Big) \sum_i q_i \lambda_i T\,\mathrm{Rent}(i,\emptyset,\mathbf r),i∑​qi​(p(Si​)+λi​TRent(i,Si​,r))≤k∑​πk​R(Ak​)+(1−k∑​πk​)i∑​qi​λi​TRent(i,∅,r),

where R(Ak)=∑iqi[1{Ak≤Ai} (Ak+λiT Rent(i,M,r))+1{Ak>Ai} λiT Rent(i,∅,r)]R(A_k) = \sum_i q_i\big[\mathbf 1\{A_k \le A_i\}\,(A_k + \lambda_i T\,\mathrm{Rent}(i,\mathcal M,\mathbf r)) + \mathbf 1\{A_k > A_i\}\,\lambda_i T\,\mathrm{Rent}(i,\emptyset,\mathbf r)\big]R(Ak​)=∑i​qi​[1{Ak​≤Ai​}(Ak​+λi​TRent(i,M,r))+1{Ak​>Ai​}λi​TRent(i,∅,r)] is the revenue of the grand subscription at fee AkA_kAk​.

Since the right side is an average of the revenues of finitely many grand subscriptions, one of them earns at least the planning's revenue; this is the step from Mechanism 1 to Theorem 2.

Formalization Note The page claims, for an optimal planning, that each type's expected fee equals p(Si∗)p(S^*_i)p(Si∗​); that equality needs Lemma 4 and fails when the values AkA_kAk​ tie. The statement is the inequality the conclusion uses, for every feasible planning. The ordering by ggg within ties of AAA is added (the page sorts by AAA only and relies on Lemma 3 as printed); it makes π\piπ a probability vector. Fees carry the factor TTT of (3), which the page omits. The hypothesis r≥0\mathbf r \ge 0r≥0 is added.

Preamble
import Mathlib
import Definitions.Def_SubscriptionPlanning_GrandOptimal_Setting
Formal statement
namespace SubscriptionPlanning.GrandOptimal
theorem mechanism_1_revenue {n m : ℕ} {Ω : Type*} [MeasurableSpace Ω] (M : Model n m Ω)
    (hM : M.Valid) (r : Fin m → ℝ) (hr : ∀ j, 0 ≤ r j) (hC : Condition2 M r)
    (p : Finset (Fin m) → ℝ) (S : Fin n → Finset (Fin m)) (hF : IsFeasible M r p S)
    (hsortA : Monotone (fun k : Fin n => M.lam k * subGain M k Finset.univ r))
    (hsortG : Monotone (fun k : Fin n => relGain M k (S k) r)) :
    revenue M r p S ≤
      ∑ k, lotteryWeight M r S k *
          grandRevenue M r (grandFee M r k) (fun i => decide (grandFee M r k ≤ grandFee M r i)) +
        (1 - ∑ k, lotteryWeight M r S k) * ∑ i, M.q i * (M.lam i * M.T * rent M i ∅ r) := by sorry
end SubscriptionPlanning.GrandOptimal
Source
Alaei, Makhdoumi, Malekian, Optimal Subscription Planning for Digital Goods, working paper (SSRN 3476296; Operations Research, doi:10.1287/opre.2023.2468), p. 14, Mechanism 1 and the paragraph following it (proof pp. 33–34)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

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