Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 22, p. 26 — approximation guarantee for supply redirection (corrected: strongly connected routing, denominator of r̃)

Open
SharedVehicleApprox.Pricing.Supplement.theorem_22

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximation-ratioclosed-queueing-networkp2o-batch-supp500p2o-correctedp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1pricingshared-vehicle-systems

Consider the mmm-unit system with instantaneous rides, arrival rates φij≥0\varphi_{ij}\ge0φij​≥0, reward curves concave on [0,1][0,1][0,1] and redirection costs cijc_{ij}cij​. Let (q~,z~)(\tilde q,\tilde z)(q~​,z~) be an optimum of Algorithm 3 and r~ij=z~ij/∑kφkiq~ki\tilde r_{ij}=\tilde z_{ij}/\sum_k\varphi_{ki}\tilde q_{ki}r~ij​=z~ij​/∑k​φki​q~​ki​. Assume that the induced demand φˉ\bar\varphiφˉ​ of (q~,r~)(\tilde q,\tilde r)(q~​,r~) has strongly connected support or that q~=0\tilde q=0q~​=0, and let π~\tilde\piπ~ be a stationary law under (q~,r~)(\tilde q,\tilde r)(q~​,r~). Then, for every state-dependent pricing and redirection policy (q,r)(q,r)(q,r) and every stationary law π\piπ of it,

Objm(q~,r~) ≥ mm+n−1 Objm(q,r),\mathrm{Obj}_m(\tilde q,\tilde r)\ \ge\ \frac{m}{m+n-1}\,\mathrm{Obj}_m(q,r),Objm​(q~​,r~) ≥ m+n−1m​Objm​(q,r),

where the objective is the rewards of rides minus cijc_{ij}cij​ for each unit redirected from iii to jjj. Thus empty-vehicle rebalancing can be added to pricing without loss in the guarantee of Theorem 15.

Formalization Note Page 25 prints the denominator of r~ij\tilde r_{ij}r~ij​ as ∑kφki\sum_k\varphi_{ki}∑k​φki​, a misprint with which the theorem fails; the proof of Lemma 21 uses the denominator above.

Differences from the source:

  • correction: no connectivity hypothesis → the support graph of φ̄ is strongly connected or q̃ = 0; reason: false without it: n = 2, m = 2, φ_ij = 1 for all pairs, I_11 = I_22 = 1, I_12 = I_21 = 0, c = 0; q̃ = identity, r̃ = 0, all units at node 1 earn 1 and one unit at each node earns 2, while 2/3 · 2 > 1. Excluded: nonzero q̃ with reducible routing
  • correction: Algorithm 3 prints r̃_ij = z̃_ij / Σ_k φ_ki → r̃_ij = z̃_ij / Σ_k φ_ki q̃_ki (0 when the denominator is 0); reason: misprint: the text before Algorithm 3 and the third equality of the proof of Lemma 21 use this denominator. With the printed one, n = 2, φ_12 = 2, φ_21 = 1, φ_ii = 0, c = 0, R_12(q) = q(3 − 2q), R_21(q) = q gives q̃_12 = 3/4, q̃_21 = 1, z̃_21 = 1/2, infinite-unit availabilities (8/9, 1), and for m = 30 an objective below 3, less than 30/31 times the 30/31 · 13/4 earned by the repaired policy
  • reading: Algorithm 3 lists no sign constraint on z → z_ij ≥ 0; reason: z are rates (§5.1), and a negative z would give negative probabilities
  • reading: a cost c_ij, with no sign stated → any real c_ij; reason: the reading covers every cost matrix, so it is not a weaker one
  • generalization: a policy r(X) redirects a unit whose trip ends at i to another node j → competitors use r_kij(x), which may depend on the origin k and the state before the trip, and may have j = i; reason: this includes every rule r_ij(x) and every rule of the state at arrival, so the bound specializes to the paper’s Opt_m
  • encoding: Opt_m, the objective of the optimal state-dependent policy → every admissible state-dependent policy and every stationary law of it; reason: a bound against every (policy, law) pair is a bound against their supremum, with no attainment needed; p. 7 measures upper bounds against the best possible steady-state distribution
  • encoding: the steady-state distribution, treated as unique (p. 7) → any probability vector on the finite state space that satisfies the balance equations; reason: the balance equations are the paper’s characterization of stationarity, and quantifying over all laws avoids assuming uniqueness
  • generalization: per-ride rewards of prices, with I_ij(q) := I_ij(F_ij^{-1}(1 − q)) (pp. 6–8) → arbitrary real functions I_ij of the quantile, with R_ij(q) = q · I_ij(q); no F_ij; reason: every reward induced by value distributions is such a function, so the statement specializes to the paper’s
  • encoding: the output of Algorithm 3 → any optimal solution of its relaxation; reason: the algorithm returns an optimum; the statement holds for each one and does not need existence
  • generalization: the positive population and node counts of the vehicle-system setting → natural-number counts, including zero where the other hypotheses are satisfiable; reason: every positive source instance is retained. At m = 0 the only state is the zero-count state and objectives and flows are zero; at n = 0 and m > 0 no normalized stationary law exists. The availability maximum is used only with an explicit nonempty node type
Preamble
import Mathlib
import Definitions.Def_QueueingFundamentals_Networks_ClosedJackson
import Definitions.Def_SharedVehicleApprox_Pricing_Model
import Definitions.Def_SharedVehicleApprox_Pricing_Supplement_SupplyRedirection
import Definitions.Def_SharedVehicleApprox_Pricing_Supplement_Algorithm3

open Finset QueueingFundamentals.Networks
Formal statement
namespace SharedVehicleApprox.Pricing.Supplement

/-- Theorem 22, p. 26 (corrected: the routing of `(q̃, r̃)` is strongly connected, unless `q̃ = 0`,
and the denominator misprint in `r̃` is repaired): the state-independent prices and redirection
probabilities returned by Algorithm 3 earn at least `m/(m+n−1)` times the objective of every
state-dependent pricing and redirection policy under every stationary law of it. -/
theorem theorem_22 {n m : ℕ} (φ : Fin n → Fin n → ℝ) (hφ : ∀ i j, 0 ≤ φ i j)
    (I : Fin n → Fin n → ℝ → ℝ)
    (hR : ∀ i j, ConcaveOn ℝ (Set.Icc (0 : ℝ) 1) (rewardCurve I i j))
    (c qt zt rt : Fin n → Fin n → ℝ) (hopt : IsAlg3Optimal φ I c qt zt)
    (hrt : rt = redirectProb φ qt zt)
    (hconn : SupportConnected (inducedDemand φ qt rt) (fun _ _ => 1) ∨ qt = 0)
    (πt : (Fin n → ℕ) → ℝ)
    (hπt : IsRedirectStationary n m φ (toPolicy qt) (toRedirect rt) πt)
    (q : (Fin n → ℕ) → Fin n → Fin n → ℝ) (r : (Fin n → ℕ) → Fin n → Fin n → Fin n → ℝ)
    (π : (Fin n → ℕ) → ℝ)
    (hqr : IsRedirectPolicy n m q r) (hπ : IsRedirectStationary n m φ q r π) :
    (m : ℝ) / ((m : ℝ) + n - 1) * redirectObj n m φ I c q r π ≤
      redirectObj n m φ I c (toPolicy qt) (toRedirect rt) πt := by sorry

end SharedVehicleApprox.Pricing.Supplement
Source
Banerjee, Freund & Lykouris, Pricing and Optimization in Shared Vehicle Systems: An Approximation Framework, arXiv:1608.06819v4, p. 26 (PDF 27), Theorem 22; Algorithm 3, p. 25 (PDF 26)

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