Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6, proof of Theorem 4, p. 18 — recursion (5) on each network: α(qs,Kc,Nc)=Kc/(Nc+Kc−1+(1−α(qs,Kc−1,Nc))Mc)\alpha(q^s,K_c,N_c)=K_c/(N_c+K_c-1+(1-\alpha(q^s,K_c-1,N_c))M_c)α(qs,Kc​,Nc​)=Kc​/(Nc​+Kc​−1+(1−α(qs,Kc​−1,Nc​))Mc​)

Proved
VehicleSharePricing.MultiNet.component_recursion

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

mean-value-analysisp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1queueingvehicle-sharing

Work in the setting of §6 of Benjaafar and Shen: qsq^sqs is an optimal solution of Problem (2) with workload budget Δ≥K\Delta\ge KΔ≥K, it splits the locations into connected networks ccc (with location sets Nc\mathcal N_cNc​, Nc=∣Nc∣N_c=|\mathcal N_c|Nc​=∣Nc​∣ locations and pair sets Ac\mathcal A_cAc​), and rrr is a positive solution of the traffic equations (9). Let α(qs,Kc,Nc)\alpha(q^s,K_c,N_c)α(qs,Kc​,Nc​) denote the availability at a location i∈Nci\in\mathcal N_ci∈Nc​ when network ccc holds KcK_cKc​ vehicles, and let

Mc=∑(i,j)∈AcΛijμijqijs.M_c=\sum_{(i,j)\in\mathcal A_c}\frac{\Lambda_{ij}}{\mu_{ij}}q^s_{ij}.Mc​=(i,j)∈Ac​∑​μij​Λij​​qijs​.

Then for every network ccc, every location i∈Nci\in\mathcal N_ci∈Nc​ and every Kc≥1K_c\ge1Kc​≥1,

α(qs,Kc,Nc)=KcNc+Kc−1+(1−α(qs,Kc−1,Nc))Mc.\alpha(q^s,K_c,N_c)=\frac{K_c}{N_c+K_c-1+\big(1-\alpha(q^s,K_c-1,N_c)\big)M_c}.α(qs,Kc​,Nc​)=Nc​+Kc​−1+(1−α(qs,Kc​−1,Nc​))Mc​Kc​​.

This is Equation (5) of the paper applied to each network separately. Since α(qs,0,Nc)=0\alpha(q^s,0,N_c)=0α(qs,0,Nc​)=0, the recursion determines the availability of network ccc for every number of vehicles; in particular it is the same at every location of the network, which is what makes the notation α(qs,Kc,Nc)\alpha(q^s,K_c,N_c)α(qs,Kc​,Nc​) meaningful.

Formalization Note The availability is the BCMP product form of the network on its own (see the model file). The paper states (5) for a strongly connected network (p. 8) and proves it in the Appendix (pp. 23–24); here it is stated for each class of the split. Kc−1K_c-1Kc​−1 is natural-number subtraction, used only under Kc≥1K_c\ge1Kc​≥1. The hypothesis that qsq^sqs is optimal is the paper's; the identity itself uses only balance, the split and (9).

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

/-- §6, proof of Theorem 4, p. 18: Equation (5) on each connected network `c`.
For every location `i` of network `c` and every `Kc ≥ 1`,
`α(q^s, Kc, N_c) = Kc / (N_c + Kc - 1 + (1 - α(q^s, Kc - 1, N_c)) M_c)`. -/
theorem component_recursion {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)
    (c : ι) (i : ClassLoc comp c) (Kc : ℕ) (hKc : 1 ≤ Kc) :
    classAvail Λ μ q r comp c Kc i =
      (Kc : ℝ) / ((classSize comp c : ℝ) + (Kc : ℝ) - 1 +
        (1 - classAvail Λ μ q r comp c (Kc - 1) i) * classWorkload Λ μ q comp c) := 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 (recursive relationship for α(q^s,K_c,N_c)); Equation (5), p. 8; Appendix, pp. 23–24
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