Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

H(r)=∑ieki−r−1H(r)=\sum_i e^{k_i-r-1}H(r)=∑i​eki​−r−1 is decreasing and r=H(r)r=H(r)r=H(r) has a unique root

Proved
PriceQualityService.Joint.unique_root

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

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

Let (ki)i∈N(k_i)_{i\in\mathcal N}(ki​)i∈N​ be real numbers and

H(r)=∑i∈Nexp⁡(ki−r−1).H(r)=\sum_{i\in\mathcal N}\exp(k_i-r-1).H(r)=i∈N∑​exp(ki​−r−1).

Then HHH is non-increasing in rrr, strictly decreasing when N\mathcal NN is nonempty, and the equation

r=H(r)r=H(r)r=H(r)

has exactly one real solution r∗r^*r∗. Applied with ki=bi2ti∗24ci+(si−ai+αibi2ci)ti∗+αi24cik_i=\frac{b_i^2t_i^{*2}}{4c_i}+\bigl(s_i-a_i+\frac{\alpha_ib_i}{2c_i}\bigr)t_i^*+\frac{\alpha_i^2}{4c_i}ki​=4ci​bi2​ti∗2​​+(si​−ai​+2ci​αi​bi​​)ti∗​+4ci​αi2​​, this is the existence and uniqueness of the number r∗r^*r∗ in Theorem 1(c).

Formalization Note When N=0N=0N=0, H≡0H\equiv0H≡0 is not strictly decreasing and the unique root is r∗=0r^*=0r∗=0; the strict monotonicity is therefore stated under N>0N>0N>0, while the unique-root claim holds for all NNN.

Preamble
import Mathlib
import Definitions.Def_PriceQualityService_Joint_Model
Formal statement
namespace PriceQualityService.Joint

/-- Appendix B, Proof of Theorem 1, p. 27: for reals `k_i`, the map
`H(r) = ∑_{i∈𝒩} exp(k_i − r − 1)` is decreasing in `r`, strictly when `𝒩` is nonempty, and the
equation `r = H(r)` has exactly one real solution `r*`. -/
theorem unique_root {N : ℕ} (k : Fin N → ℝ) :
    Antitone (fun r : ℝ => ∑ i, Real.exp (k i - r - 1)) ∧
      (0 < N → StrictAnti (fun r : ℝ => ∑ i, Real.exp (k i - r - 1))) ∧
      ∃! r : ℝ, r = ∑ i, Real.exp (k i - r - 1) := by sorry

end PriceQualityService.Joint
Source
Wang, Ke & Cui, Product Price, Quality and Service Decisions under Consumer Choice Models, accepted manuscript (SSRN 3766191), p. 27, Appendix B, Proof of Theorem 1, last paragraph
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