Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1, p. 12 — replacing CE prices p by p⁺ = max{p, 0} keeps a CE with the same payments and utilities

Proved
STPRideshare.Mechanism.lemma_1

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

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

Let (x,z~)(x,\tilde z)(x,z~) be a dispatching of a valid economy and ppp anonymous trip prices such that the plan (x,z~,p)(x,\tilde z,p)(x,z~,p) forms a competitive equilibrium. Let pa,b,t+=max⁡{pa,b,t,0}p^+_{a,b,t}=\max\{p_{a,b,t},0\}pa,b,t+​=max{pa,b,t​,0}. Then:

  1. the plan (x,z~,p+)(x,\tilde z,p^+)(x,z~,p+) also forms a competitive equilibrium;
  2. every rider pays the same amount under p+p^+p+ as under ppp, and every driver receives the same total payment;
  3. every rider and every driver has the same utility under both plans.

This shows that, when studying payments and utilities of CE outcomes, it is without loss to restrict to non-negative prices; it is used in the proofs of Lemmas 3 and 5.

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

/-- Lemma 1, p. 12: if `(x, z̃, p)` is a CE, then so is `(x, z̃, p⁺)`, with the same rider
payments, driver payments and utilities. -/
theorem lemma_1 {L ι κ : Type} [Fintype L] [Fintype ι] [Fintype κ] (e : Econ L ι κ)
    (he : e.Valid) (d : Dispatch e) (p : Price L) (hce : d.IsCE p) :
    d.IsCE (posPart p) ∧
    (∀ j, (d.withPrices (posPart p)).q j = (d.withPrices p).q j) ∧
    (∀ i, (d.withPrices (posPart p)).payTotal i = (d.withPrices p).payTotal i) ∧
    (∀ j, (d.withPrices (posPart p)).riderUtil j = (d.withPrices p).riderUtil j) ∧
    (∀ i, (d.withPrices (posPart p)).driverUtil i = (d.withPrices p).driverUtil i) := by sorry

end STPRideshare.Mechanism
Source
Ma, Fang, Parkes, Spatio-Temporal Pricing for Ridesharing Platforms, arXiv:1801.04015v5, p. 12, Lemma 1 (proof pp. 36–37)
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