Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2, Step 2, part (ii), p. 54 — Φ^(t)_{a,t}(s_t) ≥ Φ^(t+1)_{b,t+δ(a,b)}(s_{t+1}) − c_{a,b,t}

Proved
STPRideshare.Mechanism.step2_part_ii

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

dynamic-mechanismp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1ridesharingsubgame-perfect-equilibrium

Fix an optimal selector and a valid economy, and consider the STP mechanism. Let hth_tht​ be a reachable history with t≤T−1t\le T-1t≤T−1 and state sts_tst​; let t′≤tt'\le tt′≤t be the time at which the current plan was computed, so that nobody has deviated since t′t't′, and let st′s_{t'}st′​ be the state at t′t't′. Let driver iii be available at (a,t)(a,t)(a,t). Write st+1s_{t+1}st+1​ for the state at t+1t+1t+1 if every driver follows the dispatch at ttt, and s~t+1\tilde s_{t+1}s~t+1​ for the state at t+1t+1t+1 if every driver but iii follows the dispatch and iii relocates to bbb. Here Φa,t2(t1)(s)=W(D(t1)(s)∪{(1,a,t2−t1)})−W(D(t1)(s))\Phi^{(t_1)}_{a,t_2}(s)=W(\mathcal D^{(t_1)}(s)\cup\{(1,a,t_2-t_1)\})-W(\mathcal D^{(t_1)}(s))Φa,t2​(t1​)​(s)=W(D(t1​)(s)∪{(1,a,t2​−t1​)})−W(D(t1​)(s)) is the replica gain (56) in the time-shifted economy E(t1)(s)E^{(t_1)}(s)E(t1​)(s).

Then for every location bbb with t+δ(a,b)≤Tt+\delta(a,b)\le Tt+δ(a,b)≤T,

Φa,t(t)(st) ≥ Φb,t+δ(a,b)(t+1)(st+1)−ca,b,t.\Phi^{(t)}_{a,t}(s_t)\ \ge\ \Phi^{(t+1)}_{b,t+\delta(a,b)}(s_{t+1})-c_{a,b,t}.Φa,t(t)​(st​) ≥ Φb,t+δ(a,b)(t+1)​(st+1​)−ca,b,t​.

An additional driver at (a,t)(a,t)(a,t) is worth at least as much as one at (b,t+δ(a,b))(b,t+\delta(a,b))(b,t+δ(a,b)) net of the cost of driving there. This is part (ii) of the three inequalities that show a relocation is not a useful deviation.

Preamble
import Mathlib
import Definitions.Def_STPRideshare_Mechanism_STP
Formal statement
namespace STPRideshare.Mechanism

/-- Proof of Theorem 2, Step 2, part (ii), p. 54: in the same setting, with `s_{t+1}` the state at
`t + 1` if every driver follows the dispatch at `t`,
`Φ^{(t)}_{a,t}(s_t) ≥ Φ^{(t+1)}_{b,t+δ(a,b)}(s_{t+1}) − c_{a,b,t}` for every `b` with
`t + δ(a, b) ≤ T`. -/
theorem step2_part_ii {L : Type} [Fintype L] (sel : Selector L) (hsel : IsOptimalSelector sel)
    {ι κ : Type} [Fintype ι] [Fintype κ] (e : Econ L ι κ) (he : e.Valid)
    (h : Hist L ι κ) (hh : (stp sel).Reachable e h) (ht : h.length < e.P.T)
    (i : ι) (β : Bool) (a : L) (hs : stateAt e h i = .wait β a h.length) :
    ∀ b : L, h.length + e.P.δ a b ≤ e.P.T →
      PhiShift e (h.length + 1) (stateAt e ((fun k => (stp sel).dispatch e h k) :: h)) b
          (h.length + e.P.δ a b) - e.P.c a b h.length ≤
        PhiShift e h.length (stateAt e h) a h.length := by sorry

end STPRideshare.Mechanism
Source
Ma, Fang, Parkes, Spatio-Temporal Pricing for Ridesharing Platforms, arXiv:1801.04015v5, p. 54, proof of Theorem 2, Step 2, part (ii) (proof pp. 54–55)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

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