Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6, p. 40 — in a CE, a trip that some driver takes without a rider has a non-positive price

Proved
STPRideshare.Mechanism.lemma_6

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

competitive-equilibriump2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1ridesharing

Let (x,z~,p)(x,\tilde z,p)(x,z~,p) be a plan with anonymous trip prices that forms a competitive equilibrium in a valid economy. If some driver iii takes the trip (a,b,t)(a,b,t)(a,b,t) as a relocation, i.e. without a rider, on her action path z~i\tilde z_iz~i​, then

pa,b,t≤0.p_{a,b,t}\le 0 .pa,b,t​≤0.

Trips with excess driver supply thus carry no positive price; the lemma is used to check complementary slackness in the proof of Lemma 3.

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

/-- Lemma 6, p. 40: in a CE `(x, z̃, p)`, every trip that some driver takes as a relocation
(without a rider) has a non-positive price. -/
theorem lemma_6 {L ι κ : Type} [Fintype L] [Fintype ι] [Fintype κ] (e : Econ L ι κ)
    (he : e.Valid) (d : Dispatch e) (p : Price L) (hce : d.IsCE p) :
    ∀ (i : ι) (tr : Trip L), (tr, none) ∈ d.z i → p tr ≤ 0 := by sorry

end STPRideshare.Mechanism
Source
Ma, Fang, Parkes, Spatio-Temporal Pricing for Ridesharing Platforms, arXiv:1801.04015v5, p. 40, Lemma 6 (Appendix B.3)
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