Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6, proof of Theorem 4, p. 18 — R(qs,K)/Rs(qs)=∑cα(qs,Kc,Nc) pcR(q^s,\mathbf K)/R_s(q^s)=\sum_c\alpha(q^s,K_c,N_c)\,p_cR(qs,K)/Rs​(qs)=∑c​α(qs,Kc​,Nc​)pc​ with ∑cpc=1\sum_cp_c=1∑c​pc​=1

Proved
VehicleSharePricing.MultiNet.ratio_mixture

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1static-pricingvehicle-sharing

In the setting of §6 of Benjaafar and Shen (qsq^sqs optimal for Problem (2) with Δ≥K\Delta\ge KΔ≥K, splitting the locations into connected networks ccc, and rrr a positive solution of (9)), assume Rs(qs)>0R_s(q^s)>0Rs​(qs)>0. Let K=(Kc)c\mathbf K=(K_c)_cK=(Kc​)c​ be any allocation of vehicles to the networks, and for each network ccc pick any location ic∈Nci_c\in\mathcal N_cic​∈Nc​. Write α(qs,Kc,Nc)\alpha(q^s,K_c,N_c)α(qs,Kc​,Nc​) for the availability at ici_cic​ when network ccc holds KcK_cKc​ vehicles, and

pc=∑(i,j)∈AcqijsΛijIij(qijs)∑(i,j)∈AqijsΛijIij(qijs).p_c=\frac{\sum_{(i,j)\in\mathcal A_c}q^s_{ij}\Lambda_{ij}I_{ij}(q^s_{ij})}{\sum_{(i,j)\in\mathcal A}q^s_{ij}\Lambda_{ij}I_{ij}(q^s_{ij})}.pc​=∑(i,j)∈A​qijs​Λij​Iij​(qijs​)∑(i,j)∈Ac​​qijs​Λij​Iij​(qijs​)​.

Then

R(qs,K)Rs(qs)=∑cα(qs,Kc,Nc) pcand∑cpc=1.\frac{R(q^s,\mathbf K)}{R_s(q^s)}=\sum_c\alpha(q^s,K_c,N_c)\,p_c\qquad\text{and}\qquad\sum_cp_c=1.Rs​(qs)R(qs,K)​=c∑​α(qs,Kc​,Nc​)pc​andc∑​pc​=1.

The identity rewrites the performance ratio as a mixture of the per-network availabilities, with weights the networks' shares of the fluid reward; the proof of Theorem 4 bounds each availability separately.

Formalization Note The paper states the identity for the optimal allocation K∗\mathbf K^*K∗; it is stated here for every allocation, which contains that case. The choice of representative ici_cic​ does not matter, since availability is the same at every location of a network. Rs(qs)>0R_s(q^s)>0Rs​(qs)>0 is added because the ratio and pcp_cpc​ divide by Rs(qs)R_s(q^s)Rs​(qs). The sums over Ac\mathcal A_cAc​ omit the pairs joining two different networks, whose accepted demand is zero.

Preamble
import Mathlib
import Definitions.Def_VehicleSharePricing_MultiNet_Model
Formal statement
namespace VehicleSharePricing.MultiNet

/-- §6, proof of Theorem 4, p. 18: for every allocation `Kv` of vehicles to the networks,
`R(q^s, Kv) / R_s(q^s) = ∑_c α(q^s, Kv_c, N_c) p_c` and `∑_c p_c = 1`, where
`α(q^s, Kv_c, N_c)` is the availability at any location `rep c` of network `c`. -/
theorem ratio_mixture {L ι : Type*} [Fintype L] [DecidableEq L] [Nonempty L] [Fintype ι] [DecidableEq ι]
    (Λ μ : L → L → ℝ) (I : L → L → ℝ → ℝ) (Δ : ℝ) (K : ℕ) (q : L → L → ℝ) (r : L → ℝ)
    (comp : L → ι) (h : SplitStaticSetting Λ μ I Δ K q r comp)
    (hRs : 0 < rewardS Λ I q) (Kv : ι → ℕ) (rep : ι → L) (hrep : ∀ c, comp (rep c) = c) :
    reward Λ μ q I r comp Kv / rewardS Λ I q =
        ∑ c, classAvail Λ μ q r comp c (Kv c) ⟨rep c, hrep c⟩ * classWeight Λ q I comp c ∧
      ∑ c, classWeight Λ q I comp c = 1 := by sorry

end VehicleSharePricing.MultiNet
Source
Benjaafar & Shen, Pricing in On-Demand (and One-Way) Vehicle Sharing Networks, SSRN abstract 3998297 (version of 2023-01-10), p. 18, §6, proof of Theorem 4 (rewriting of R(q^s,K*)/R_s(q^s), definition of p_c)
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 15, 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