Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

y(t)=∑iexp⁡(φi(t))y(t)=\sum_i\exp(\varphi_i(t))y(t)=∑i​exp(φi​(t)) is convex in the uniform duration ttt

Proved
PriceQualityService.Uniform.y_convex

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

convexitymultinomial-logitp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1service-duration

Let ci>0c_i>0ci​>0 for every product. The function

y(t)=∑i∈Nexp⁡(bi2t24ci+(si−ai+αibi2ci)t+αi24ci)y(t)=\sum_{i\in\mathcal N}\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}\Big)y(t)=i∈N∑​exp(4ci​bi2​t2​+(si​−ai​+2ci​αi​bi​​)t+4ci​αi2​​)

is convex on R\mathbb RR.

With (25), convexity of yyy gives Theorem 3: the maximum of yyy, and hence of the optimal profit, over [ts,tl][t_s,t_l][ts​,tl​] is attained at an endpoint.

Formalization Note The paper computes ∂y/∂t\partial y/\partial t∂y/∂t and ∂2y/∂t2\partial^2y/\partial t^2∂2y/∂t2, with a stray −r−1-r-1−r−1 in the printed exponents and a claim ">0>0>0"; neither is needed, and only convexity (Mathlib's ConvexOn ℝ Set.univ) is stated.

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

/-- Proof of Theorem 3 (alternative proof), Wang, Ke & Cui, accepted manuscript (SSRN 3766191),
p. 30: `y(t) = ∑_i exp(b_i² t²/(4c_i) + (s_i − a_i + α_i b_i/(2c_i)) t + α_i²/(4c_i))` is a
convex function of the service duration `t` on `ℝ`. -/
theorem y_convex {N : ℕ} (α a b c s : Fin N → ℝ) (hc : ∀ i, 0 < c i) :
    ConvexOn ℝ Set.univ (yTotal α a b c s) := by sorry

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