Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(24): at a uniform duration ttt the optimal profit is the unique root of r=∑iGi(r,t)r=\sum_i G_i(r,t)r=∑i​Gi​(r,t)

Proved
PriceQualityService.Uniform.equation_24

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

multinomial-logitp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1pricingproduct-qualityservice-duration

Let ci>0c_i>0ci​>0 for every product and fix a common service duration t∈Rt\in\mathbb Rt∈R for all products, so that ti=tt_i=tti​=t for every i∈Ni\in\mathcal Ni∈N. Write

Gi(r,t)=exp⁡(bi2t24ci+(si−ai+αibi2ci)t+αi24ci−r−1).G_i(r,t)=\exp\Big(\frac{b_i^2t^2}{4c_i}+\Big(s_i-a_i+\frac{\alpha_ib_i}{2c_i}\Big)t+\frac{\alpha_i^2}{4c_i}-r-1\Big).Gi​(r,t)=exp(4ci​bi2​t2​+(si​−ai​+2ci​αi​bi​​)t+4ci​αi2​​−r−1).

Then:

  1. the equation r=∑i∈NGi(r,t)r=\sum_{i\in\mathcal N}G_i(r,t)r=∑i∈N​Gi​(r,t) has exactly one real solution rrr;
  2. for this rrr, every price vector p∈RN\mathbf p\in\mathbb R^Np∈RN and quality vector q∈RN\mathbf q\in\mathbb R^Nq∈RN satisfy Π(p,q,(t,…,t);N)≤r\Pi(\mathbf p,\mathbf q,(t,\dots,t);\mathcal N)\le rΠ(p,q,(t,…,t);N)≤r;
  3. the value rrr is attained at
qi=αi+tbi2ci,pi=1+r+ciqi2+t(ai−biqi)(i∈N).q_i=\frac{\alpha_i+tb_i}{2c_i},\qquad p_i=1+r+c_iq_i^2+t(a_i-b_iq_i)\qquad(i\in\mathcal N).qi​=2ci​αi​+tbi​​,pi​=1+r+ci​qi2​+t(ai​−bi​qi​)(i∈N).

This is the reduction (24) of the uniform-duration problem (7) to a single variable: for each uniform duration the optimal price–quality profit is the root of a scalar equation, so optimizing over ttt means optimizing that root.

Formalization Note The statement holds for every real ttt, not only t∈[ts,tl]t\in[t_s,t_l]t∈[ts​,tl​]. Prices and qualities range over all of RN\mathbb R^NRN; the model's normalization qi∈[0,ai/bi)q_i\in[0,a_i/b_i)qi​∈[0,ai​/bi​) (p. 8) is not imposed, as in the paper's first-order derivation. The uniform duration vector is the constant function fun _ => t.

Preamble
import Mathlib
import Definitions.Def_PriceQualityService_Joint_Model
import Definitions.Def_PriceQualityService_Uniform_Reduction
Formal statement
namespace PriceQualityService.Uniform

open Finset

/-- (24), Proof of Theorem 3, Wang, Ke & Cui, accepted manuscript (SSRN 3766191), p. 29. Fix a
common service duration `t` for all products. The equation
`r = ∑_i exp(b_i² t²/(4c_i) + (s_i − a_i + α_i b_i/(2c_i)) t + α_i²/(4c_i) − r − 1)` has exactly one
real root, and for that root `r` the optimal profit over all prices and qualities at the uniform
duration `t` equals `r`: every `(p, q)` earns at most `r`, and `r` is earned at
`q_i = (α_i + t b_i)/(2c_i)`, `p_i = 1 + r + c_i q_i² + t (a_i − b_i q_i)`.
Prices and qualities range over all of `ℝ^N`. -/
theorem equation_24 {N : ℕ} (α a b c s : Fin N → ℝ) (hc : ∀ i, 0 < c i) (t : ℝ) :
    (∃! r : ℝ, r = ∑ i, gTerm α a b c s r t i) ∧
    ∀ r : ℝ, r = ∑ i, gTerm α a b c s r t i →
      (∀ p q : Fin N → ℝ, PriceQualityService.Joint.profit α a b c s p q (fun _ => t) ≤ r) ∧
      PriceQualityService.Joint.profit α a b c s
        (fun i => 1 + r + c i * ((α i + t * b i) / (2 * c i)) ^ 2
          + t * (a i - b i * ((α i + t * b i) / (2 * c i))))
        (fun i => (α i + t * b i) / (2 * c i)) (fun _ => t) = r := by sorry

end PriceQualityService.Uniform
Source
Wang, Ke & Cui, Product Price, Quality and Service Decisions under Consumer Choice Models, accepted manuscript (SSRN 3766191), p. 29, Proof of Theorem 3, (24)
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