Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

∂r/∂t=∑iAiGi/(1+∑iGi)\partial r/\partial t=\sum_i A_iG_i/(1+\sum_i G_i)∂r/∂t=∑i​Ai​Gi​/(1+∑i​Gi​) for the root of (24)

Proved
PriceQualityService.Uniform.drdt

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

implicit-functionmultinomial-logitp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1service-duration

Let ci>0c_i>0ci​>0 for every product, and let R:R→RR:\mathbb R\to\mathbb RR:R→R satisfy R(t)=∑i∈NGi(R(t),t)R(t)=\sum_{i\in\mathcal N}G_i(R(t),t)R(t)=∑i∈N​Gi​(R(t),t) for every ttt, i.e. R(t)R(t)R(t) is the root of (24) at the uniform duration ttt. Then RRR is differentiable at every ttt and

∂r∂t=R′(t)=∑i∈NAi(t) Gi(R(t),t)1+∑i∈NGi(R(t),t),\frac{\partial r}{\partial t}=R'(t)=\frac{\sum_{i\in\mathcal N}A_i(t)\,G_i(R(t),t)}{1+\sum_{i\in\mathcal N}G_i(R(t),t)},∂t∂r​=R′(t)=1+∑i∈N​Gi​(R(t),t)∑i∈N​Ai​(t)Gi​(R(t),t)​,

where Gi(r,t)=exp⁡(bi2t2/(4ci)+(si−ai+αibi/(2ci))t+αi2/(4ci)−r−1)G_i(r,t)=\exp\big(b_i^2t^2/(4c_i)+(s_i-a_i+\alpha_ib_i/(2c_i))t+\alpha_i^2/(4c_i)-r-1\big)Gi​(r,t)=exp(bi2​t2/(4ci​)+(si​−ai​+αi​bi​/(2ci​))t+αi2​/(4ci​)−r−1) and Ai(t)=si−ai+αibi/(2ci)+tbi2/(2ci)A_i(t)=s_i-a_i+\alpha_ib_i/(2c_i)+tb_i^2/(2c_i)Ai​(t)=si​−ai​+αi​bi​/(2ci​)+tbi2​/(2ci​).

The sign of ∂r/∂t\partial r/\partial t∂r/∂t is the sign of its numerator, which is the quantity studied in the next step of the proof of Theorem 3.

Formalization Note RRR is any function solving (24) pointwise; by the uniqueness in (24) there is exactly one such function, so the statement is about the paper's r(t)r(t)r(t). Differentiability is part of the conclusion, not a hypothesis.

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

open Finset

/-- The implicit derivative of the root of (24) in the uniform duration, Proof of Theorem 3,
Wang, Ke & Cui, accepted manuscript (SSRN 3766191), p. 29. If `R t` is, for every `t`, a root of
`r = ∑_i G_i(r, t)` with
`G_i(r, t) = exp(b_i² t²/(4c_i) + (s_i − a_i + α_i b_i/(2c_i)) t + α_i²/(4c_i) − r − 1)`,
then `R` is differentiable at every `t` with `∂r/∂t = ∑_i A_i G_i / (1 + ∑_i G_i)`, where
`A_i = s_i − a_i + α_i b_i/(2c_i) + t b_i²/(2c_i)` and `G_i = G_i(R t, t)`. -/
theorem drdt {N : ℕ} (α a b c s : Fin N → ℝ) (hc : ∀ i, 0 < c i) (R : ℝ → ℝ)
    (hR : ∀ t, R t = ∑ i, gTerm α a b c s (R t) t i) (t : ℝ) :
    HasDerivAt R
      ((∑ i, aTerm α a b c s t i * gTerm α a b c s (R t) t i)
        / (1 + ∑ i, gTerm α a b c s (R t) t i)) t := 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, display after (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