Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

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

Open
STPRideshare.Mechanism.theorem_2_envy_free_riders

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 riders: for every valid economy, every rider jjj, every rider j′j'j′ requesting the same trip (oj′,dj′,τj′)=(oj,dj,τj)(o_{j'},d_{j'},\tau_{j'})=(o_j,d_j,\tau_j)(oj′​,dj′​,τj′​)=(oj​,dj​,τj​) and every reachable history hτjh_{\tau_j}hτj​​, when all drivers follow the dispatches from hτjh_{\tau_j}hτj​​,

x^j′vj−q^j′  ≤  x^jvj−q^j.\hat x_{j'}v_j-\hat q_{j'}\;\le\;\hat x_j v_j-\hat q_j .x^j′​vj​−q^​j′​≤x^j​vj​−q^​j​.

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 riders. -/
theorem theorem_2_envy_free_riders {L : Type} [Fintype L] (sel : Selector L) (hsel : IsOptimalSelector sel) :
    EnvyFreeRiders (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, (26), 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