Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2: which extreme service duration is optimal for each product

Proved
PriceQualityService.Joint.proposition_2

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

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

Assume ci>0c_i>0ci​>0 for every product and ts≤tlt_s\le t_lts​≤tl​. For each product iii define the duration ti∗t_i^*ti∗​ by:

  1. if bi≠0b_i\ne0bi​=0: ti∗=tst_i^*=t_sti∗​=ts​ when (2(ai−si)ci−αibi)/bi2≥(ts+tl)/2\bigl(2(a_i-s_i)c_i-\alpha_ib_i\bigr)/b_i^2\ge(t_s+t_l)/2(2(ai​−si​)ci​−αi​bi​)/bi2​≥(ts​+tl​)/2, and ti∗=tlt_i^*=t_lti∗​=tl​ otherwise;
  2. if bi=0b_i=0bi​=0: ti∗=tst_i^*=t_sti∗​=ts​ when ai>sia_i>s_iai​>si​, and ti∗=tlt_i^*=t_lti∗​=tl​ otherwise.

Then t∗\mathbf t^*t∗ is an optimal duration vector for the joint problem (4): there are prices p\mathbf pp and qualities q\mathbf qq such that

Π(p′,q′,t′;N)≤Π(p,q,t∗;N)\Pi(\mathbf p',\mathbf q',\mathbf t';\mathcal N)\le\Pi(\mathbf p,\mathbf q,\mathbf t^*;\mathcal N)Π(p′,q′,t′;N)≤Π(p,q,t∗;N)

for all prices p′\mathbf p'p′, all qualities q′\mathbf q'q′ and all durations t′∈[ts,tl]N\mathbf t'\in[t_s,t_l]^Nt′∈[ts​,tl​]N. Moreover, when ts<tlt_s<t_lts​<tl​, every optimal solution (p,q,t)(\mathbf p,\mathbf q,\mathbf t)(p,q,t) of (4) has ti=ti∗t_i=t_i^*ti​=ti∗​ for every product iii whose case is strict: bi≠0b_i\ne0bi​=0 and (2(ai−si)ci−αibi)/bi2≠(ts+tl)/2\bigl(2(a_i-s_i)c_i-\alpha_ib_i\bigr)/b_i^2\ne(t_s+t_l)/2(2(ai​−si​)ci​−αi​bi​)/bi2​=(ts​+tl​)/2, or bi=0b_i=0bi​=0 and ai≠sia_i\ne s_iai​=si​.

The proposition tells the firm which products receive the shortest and which the longest service, using only each product's own parameters.

Formalization Note At the threshold (2(ai−si)ci−αibi)/bi2=(ts+tl)/2\bigl(2(a_i-s_i)c_i-\alpha_ib_i\bigr)/b_i^2=(t_s+t_l)/2(2(ai​−si​)ci​−αi​bi​)/bi2​=(ts​+tl​)/2 both endpoints are optimal; the statement says that the paper's choice is an optimal duration, and that it is the only optimal duration of product iii outside the tie cases (threshold equality when bi≠0b_i\ne0bi​=0; ai=sia_i=s_iai​=si​ when bi=0b_i=0bi​=0) and when ts<tlt_s<t_lts​<tl​. ci>0c_i>0ci​>0 is the paper's convex production cost (p. 8). Qualities range over R\mathbb RR.

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

/-- Proposition 2, p. 11: choose for each product `i` the duration
`t*_i = t_s` if `b_i ≠ 0` and `(2(a_i − s_i)c_i − α_i b_i)/b_i² ≥ (t_s + t_l)/2`, or if `b_i = 0` and
`a_i > s_i`; and `t*_i = t_l` otherwise. Then `t*` is an optimal duration vector of problem (4): for
some prices `p` and qualities `q`, `(p, q, t*)` maximizes the profit (3) over all prices, all
qualities and all durations in `[t_s, t_l]^N`. Moreover, when `t_s < t_l`, every optimal solution
`(p, q, t)` of (4) has `t_i = t*_i` for every product `i` whose case is strict (`b_i ≠ 0` and
`(2(a_i − s_i)c_i − α_i b_i)/b_i² ≠ (t_s + t_l)/2`, or `b_i = 0` and `a_i ≠ s_i`); in the tie cases both
endpoints are optimal, so the page's "the optimal service duration" is read as "an optimal
duration", and as "the only optimal duration" outside the ties. -/
theorem proposition_2 {N : ℕ} (α a b c s : Fin N → ℝ) (hc : ∀ i, 0 < c i) (ts tl : ℝ)
    (hst : ts ≤ tl) :
    let tstar : Fin N → ℝ := fun i =>
      if b i ≠ 0 then
        (if (2 * (a i - s i) * c i - α i * b i) / b i ^ 2 ≥ (ts + tl) / 2 then ts else tl)
      else (if a i > s i then ts else tl)
    (∃ p q : Fin N → ℝ, ∀ p' q' t' : Fin N → ℝ, (∀ i, t' i ∈ Set.Icc ts tl) →
      profit α a b c s p' q' t' ≤ profit α a b c s p q tstar) ∧
    (ts < tl → ∀ p q t : Fin N → ℝ, (∀ i, t i ∈ Set.Icc ts tl) →
      (∀ p' q' t' : Fin N → ℝ, (∀ i, t' i ∈ Set.Icc ts tl) →
          profit α a b c s p' q' t' ≤ profit α a b c s p q t) →
      ∀ i, ((b i ≠ 0 ∧ (2 * (a i - s i) * c i - α i * b i) / b i ^ 2 ≠ (ts + tl) / 2) ∨
          (b i = 0 ∧ a i ≠ s i)) →
        t i = tstar i) := by sorry

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