Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (17) — the price-optimized profit is the root rrr

Proved
PriceQualityService.price_optimized_profit

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

multinomial-logitoperations-managementpricing

The products are N={1,…,N}\mathcal N=\{1,\dots,N\}N={1,…,N}. Product iii has quality sensitivity αi\alpha_iαi​, service utility per unit time sis_isi​, production-cost coefficient cic_ici​ and service-cost coefficients ai,bia_i,b_iai​,bi​; the firm chooses its price pip_ipi​, quality qiq_iqi​ and service duration tit_iti​.

Fix quality and duration vectors q,t\mathbf q,\mathbf tq,t, and let rrr satisfy

r=∑i∈Nexp⁡(αiqi−ciqi2+ti(si−(ai−biqi))−r−1).r=\sum_{i\in\mathcal N}\exp\Bigl(\alpha_iq_i-c_iq_i^2+t_i\bigl(s_i-(a_i-b_iq_i)\bigr)-r-1\Bigr).r=i∈N∑​exp(αi​qi​−ci​qi2​+ti​(si​−(ai​−bi​qi​))−r−1).

Then

  1. Π(p,q,t;N)≤r\Pi(\mathbf p,\mathbf q,\mathbf t;\mathcal N)\le rΠ(p,q,t;N)≤r for every price vector p∈RN\mathbf p\in\mathbb R^Np∈RN, and
  2. the equal-markup prices p^i=1+r+ciqi2+ti(ai−biqi)\hat p_i=1+r+c_iq_i^2+t_i(a_i-b_iq_i)p^​i​=1+r+ci​qi2​+ti​(ai​−bi​qi​) attain Π(p^,q,t;N)=r\Pi(\hat{\mathbf p},\mathbf q,\mathbf t;\mathcal N)=rΠ(p^​,q,t;N)=r.

So max⁡pΠ(p,q,t;N)=r\max_{\mathbf p}\Pi(\mathbf p,\mathbf q,\mathbf t;\mathcal N)=rmaxp​Π(p,q,t;N)=r: the price-optimized MNL profit is the root of eq. (17), and it is attained at the equal-markup prices.

Differences from the source:

  • encoding: "problem max_p Π(p,q,t;N) becomes r = Σ exp(…)" → for r solving (17): Π(p, q, t) ≤ r for all p, and Π(optPrice, q, t) = r; reason: this is what "the maximum over prices equals r" means, stated without a supremum; the root exists by root_exists_unique
  • generalization: α_i > 0, s_i > 0, c_i > 0 (pp. 7–8), qualities in the domain of pp. 8–9, t_i ∈ [t_s, t_l] → arbitrary real parameters, qualities and durations; reason: the statement is algebra/calculus that uses none of these assumptions; it specializes to the paper's setting
  • encoding: products 𝒩 = {1, …, N} → Fin N (N = 0 allowed); reason: Lean convention; N = 0 gives empty sums and changes no instance with N ≥ 1
Preamble
import Mathlib
import Definitions.Def_PriceQualityService_profit
import Definitions.Def_PriceQualityService_netValue
import Definitions.Def_PriceQualityService_optPrice
Formal statement
namespace PriceQualityService

/-- **Eq. (17): the price-optimized profit is the root `r`.**
Wang, Ke & Cui, *Product Price, Quality and Service Decisions under Consumer Choice Models*,
accepted manuscript, SSRN 3766191 (MSOM 2020, doi:10.1287/msom.2020.0947), proof of Theorem 1 (App. B), eq. (17), p. 26: "Immediately, problem `max_p Π(p,q,t;𝒩)`
becomes `r = Σ_{i∈𝒩} exp(α_i q_i − c_i q_i² + t_i(s_i − (a_i − b_i q_i)) − r − 1)`."

Fix qualities `q` and (vector) durations `t`, and let `r` solve
`r = Σ_i exp(netValue_i − r − 1)`. Then `Π(p, q, t) ≤ r` for every price vector `p`, and the
equal-markup price `p_i = 1 + r + c_i q_i² + t_i(a_i − b_i q_i)` attains `Π = r`. So
`max_p Π(p, q, t) = r`.

**Formalization Note.** Prices range over all of `ℝ^N`. The root enters as a hypothesis; it
exists and is unique by `root_exists_unique`. No sign assumptions. -/
theorem price_optimized_profit {N : ℕ} (α s a b c q t : Fin N → ℝ) (r : ℝ)
    (hr : r = ∑ i, Real.exp (netValue α s a b c q t i - r - 1)) :
    (∀ p : Fin N → ℝ, profit α s a b c p q t ≤ r) ∧
      profit α s a b c (optPrice a b c q t r) q t = r := by sorry

end PriceQualityService
Source
Wang, Ke & Cui, Product Price, Quality and Service Decisions under Consumer Choice Models, accepted manuscript, SSRN 3766191 (MSOM 2020, doi:10.1287/msom.2020.0947), proof of Theorem 1 (App. B), p. 26, eq. (17)

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