Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(EC.6), Online Supplement pp. 5–6 — profit as a function of the nest markups, and ρx−μ1=r\rho_x-\mu_1=rρx​−μ1​=r at the optimal markups

Proved
PriceQualityService.NestedLogit.ec6_markup_problem

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

nested-logitoperations-researchp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1pricing

Consider the two-stage nested logit model with μ1≥1\mu_1\ge 1μ1​≥1 and cxi>0c_{xi}>0cxi​>0, and fix a quality vector q\mathbf qq.

  1. If every product of nest xxx carries the same markup ρx\rho_xρx​, that is pxi−cxiqxi2−tx(axi−bxiqxi)=ρxp_{xi}-c_{xi}q_{xi}^2-t_x(a_{xi}-b_{xi}q_{xi})=\rho_xpxi​−cxi​qxi2​−tx​(axi​−bxi​qxi​)=ρx​ for all xxx and iii, then the profit (9) equals the markup profit (EC.6):
ΠM(p,q)=ΠM(ρ,q)=∑x∈{s,l}ρx⋅dx(ρ,q).\Pi_M(\mathbf p,\mathbf q)=\Pi_M(\boldsymbol\rho,\mathbf q)=\sum_{x\in\{s,l\}}\rho_x\cdot d_x(\boldsymbol\rho,\mathbf q).ΠM​(p,q)=ΠM​(ρ,q)=x∈{s,l}∑​ρx​⋅dx​(ρ,q).
  1. If the markup vector ρ=(ρs,ρl)\boldsymbol\rho=(\rho_s,\rho_l)ρ=(ρs​,ρl​) maximizes ΠM(⋅,q)\Pi_M(\cdot,\mathbf q)ΠM​(⋅,q) over R2\mathbb R^2R2, then for every nonempty nest xxx,
ρx−μ1=ΠM(ρ,q).\rho_x-\mu_1=\Pi_M(\boldsymbol\rho,\mathbf q).ρx​−μ1​=ΠM​(ρ,q).

This is the second dimension reduction of the proof of Theorem 4: at the optimum the nest-level markup is the same for both nests and equals the optimal profit plus μ1\mu_1μ1​, the reciprocal of the nest coefficient.

Formalization Note. The paper obtains part 2 from the first-order condition ∂ΠM(ρ,q)/∂ρx=0\partial\Pi_M(\boldsymbol\rho,\mathbf q)/\partial\rho_x=0∂ΠM​(ρ,q)/∂ρx​=0; here it is stated for a global maximizer. An empty nest is never chosen, so its markup is not determined by optimality; part 2 is therefore stated for nonempty nests only.

Preamble
import Mathlib
import Definitions.Def_PriceQualityService_NestedLogit_MarkupProblem
Formal statement
namespace PriceQualityService.NestedLogit

/-- (EC.6), Online Supplement pp. 5–6 (proof of Theorem 4).
1. If every product of nest `x` carries the same markup `ρ_x`, the profit (9) equals the
   two-dimensional markup profit `Π_M(ρ, q) = ∑_x ρ_x d_x(ρ, q)`.
2. For a fixed quality vector `q`, if the nest markups `ρ = (ρ_s, ρ_l)` maximize `Π_M(·, q)`,
   then `ρ_x − μ₁ = Π_M(ρ, q)` for every nonempty nest `x`.
The paper obtains (2) from the first-order condition in `ρ_x`; here it is stated as a property of
a maximizer. An empty nest has `d_x = 0`, so its markup is not determined, whence `0 < m_x`. -/
theorem ec6_markup_problem (M : Model) (hμ : 1 ≤ M.μ₁) (hc : ∀ x i, 0 < M.c x i) (q : Vec M) :
    (∀ (p : Vec M) (ρ : Nest → ℝ), (∀ (x : Nest) (i : Fin (M.m x)), markup M p q x i = ρ x) →
        profit M p q = markupProfit M ρ q) ∧
      (∀ ρ : Nest → ℝ, (∀ ρ' : Nest → ℝ, markupProfit M ρ' q ≤ markupProfit M ρ q) →
        ∀ x : Nest, 0 < M.m x → ρ x - M.μ₁ = markupProfit M ρ q) := by sorry

end PriceQualityService.NestedLogit
Source
Wang, Ke & Cui, Product Price, Quality and Service Decisions under Consumer Choice Models, accepted manuscript (SSRN 3766191), Online Supplement pp. 5–6 (PDF pp. 38–39), proof of Theorem 4, (EC.6)
Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

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