Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2, p. 21 — from any history onward the STP outcome is envy-free for drivers

Open
STPRideshare.Mechanism.theorem_2_envy_free_drivers

by tianyipeng · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-mechanismridesharingsubgame-perfect-equilibrium

Let the spatio-temporal pricing (STP) mechanism of Definition 12 (p. 21) be run with a selector that, for every valid economy, picks a welfare-optimal integral dispatching (an optimal solution of the ILP (4)–(8), equivalently by Lemma 2 of the LP (9)). Then the STP mechanism is envy-free for drivers from any history onward: for every valid economy, every reachable history hth_tht​ with t≤T−1t\le T-1t≤T−1, and any two drivers i,i′i,i'i,i′ in the same state si,t=si′,ts_{i,t}=s_{i',t}si,t​=si′,t​,

∑t′=tT−1π^i,t′(σ∗,ht)  =  ∑t′=tT−1π^i′,t′(σ∗,ht),\sum_{t'=t}^{T-1}\hat\pi_{i,t'}(\sigma^*,h_t)\;=\;\sum_{t'=t}^{T-1}\hat\pi_{i',t'}(\sigma^*,h_t),t′=t∑T−1​π^i,t′​(σ∗,ht​)=t′=t∑T−1​π^i′,t′​(σ∗,ht​),

i.e. drivers in the same state get the same continuation utility when all drivers follow the dispatches.

This is one part of the main result (Theorem 2) of the paper.

Formalization Note. This is one of the nine conjuncts of STPRideshare.Mechanism.theorem_2 (Theorem 2, p. 21), stated with exactly the same definitions (Definitions.Def_STPRideshare_Mechanism_STP) and the same hypotheses: an arbitrary selector sel together with the hypothesis IsOptimalSelector sel.

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

/-- Theorem 2, p. 21 — from any history onward the STP outcome is envy-free for drivers. -/
theorem theorem_2_envy_free_drivers {L : Type} [Fintype L] (sel : Selector L) (hsel : IsOptimalSelector sel) :
    EnvyFreeDrivers (stp sel) := by sorry

end STPRideshare.Mechanism
Source
Ma, Fang, Parkes, Spatio-Temporal Pricing for Ridesharing Platforms, arXiv:1801.04015v5, p. 21, Theorem 2 (proof pp. 52–56); property defined in Definition 9, (25), p. 20

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