Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 1, p. 39 — without a time limit, ∂SW/∂θl vanishes at θl = θ̄/4 exactly when Λ = Λ1

Proved
ServTimeLimit.OptMech.lambda1_foc

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

discretionary-servicefirst-bestp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1time-limits

Assume Λ,c,θˉ>0\Lambda, c, \bar\theta > 0Λ,c,θˉ>0 and Λ<32/(15θˉ)\Lambda < 32/(15\bar\theta)Λ<32/(15θˉ). For x∈Rx \in \mathbb Rx∈R let SW(x)SW(x)SW(x) be the social welfare of the allocation that admits [x,θˉ][x, \bar\theta][x,θˉ] and gives every admitted customer her full need, t(θ)=θt(\theta) = \thetat(θ)=θ. Then

SW′(θˉ/4)=0  ⟺  Λ=Λ1=32(4c+5−2c(8c+7))3(26c+25)⋅1θˉ,SW'(\bar\theta/4) = 0 \iff \Lambda = \Lambda_1 = \frac{32\left(4c+5-\sqrt{2c(8c+7)}\right)}{3(26c+25)}\cdot\frac1{\bar\theta},SW′(θˉ/4)=0⟺Λ=Λ1​=3(26c+25)32(4c+5−2c(8c+7)​)​⋅θˉ1​,

where the left side means that SWSWSW is differentiable at θˉ/4\bar\theta/4θˉ/4 with derivative 000.

This is the defining property of Λ1\Lambda_1Λ1​: it is the arrival rate at which the first-best lower threshold without a time limit equals θˉ/4\bar\theta/4θˉ/4, the point beyond which a time limit becomes optimal.

Formalization Note The page writes ∂π/∂θl\partial\pi/\partial\theta_l∂π/∂θl​ for what is the derivative of social welfare (the first best has no revenue); the statement is for welfare. The hypothesis Λ<32/(15θˉ)\Lambda < 32/(15\bar\theta)Λ<32/(15θˉ) is added: at θl=θˉ/4\theta_l = \bar\theta/4θl​=θˉ/4 the load is Λ⋅15θˉ2/32\Lambda \cdot 15\bar\theta^2/32Λ⋅15θˉ2/32, so this is exactly the range where the waiting time at θˉ/4\bar\theta/4θˉ/4 is defined. The first-order equation has a second root, 32(4c+5+2c(8c+7))/(3(26c+25)θˉ)32(4c+5+\sqrt{2c(8c+7)})/(3(26c+25)\bar\theta)32(4c+5+2c(8c+7)​)/(3(26c+25)θˉ), which exceeds 32/(15θˉ)32/(15\bar\theta)32/(15θˉ) for every c>0c > 0c>0. The derivative is stated with HasDerivAt, so that a non-differentiable point does not count as a zero.

Preamble
import Mathlib
import Definitions.Def_ServTimeLimit_OptMech_Model
Formal statement
namespace ServTimeLimit.OptMech

open MeasureTheory

/-- The `Λ₁` first-order condition (proof of Theorem 1, p. 39): without a time limit
(admitted set `[θ_l, θ̄]`, `t(θ) = θ`), the derivative of social welfare in `θ_l` vanishes at
`θ_l = θ̄/4` exactly when `Λ = Λ₁`, on the range `Λ < 32/(15 θ̄)` where the queue with
`θ_l = θ̄/4` is stable. -/
theorem lambda1_foc (P : Params) (hP : P.Standing) (hstab : P.Lam < 32 / (15 * P.θbar)) :
    HasDerivAt (fun x : ℝ => welfare P (Set.Icc x P.θbar) (fun θ => θ)) 0 (P.θbar / 4) ↔
      P.Lam = lam1 P := by sorry

end ServTimeLimit.OptMech
Source
Feldman & Segev, The Important Role of Time Limits when Consumers Choose their Time in Service, SSRN 3424317 (version of 2021-10-07), p. 39, proof of Theorem 1, definition of Λ1
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 21, 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