Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6, proof of Theorem 4, p. 19 — case C>2C>2C>2: max⁡∑Kc=K∑cpcKc/(Nc+Kc−1+Mc)≥K/(N+K−1+M)\max_{\sum K_c=K}\sum_cp_cK_c/(N_c+K_c-1+M_c)\ge K/(N+K-1+M)max∑Kc​=K​∑c​pc​Kc​/(Nc​+Kc​−1+Mc​)≥K/(N+K−1+M)

Proved
VehicleSharePricing.MultiNet.case_general

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

combinatoricsinequalitiesp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1vehicle-sharing

Let ι\iotaι be a finite index set of networks. For each c∈ιc\in\iotac∈ι let pc≥0p_c\ge0pc​≥0 with ∑cpc=1\sum_cp_c=1∑c​pc​=1, let Nc≥1N_c\ge1Nc​≥1 be a natural number and Mc≥0M_c\ge0Mc​≥0 a real number, and put N=∑cNcN=\sum_cN_cN=∑c​Nc​, M=∑cMcM=\sum_cM_cM=∑c​Mc​. Then for every K∈NK\in\mathbb NK∈N there is an allocation (Kc)c∈ι(K_c)_{c\in\iota}(Kc​)c∈ι​ of natural numbers with ∑cKc=K\sum_cK_c=K∑c​Kc​=K and

∑cpcKcNc+Kc−1+Mc ≥ KN+K−1+M.\sum_c\frac{p_cK_c}{N_c+K_c-1+M_c}\ \ge\ \frac{K}{N+K-1+M}.c∑​Nc​+Kc​−1+Mc​pc​Kc​​ ≥ N+K−1+MK​.

Equivalently, max⁡∑cKc=K∑cpcKc/(Nc+Kc−1+Mc)≥K/(N+K−1+M)\max_{\sum_cK_c=K}\sum_cp_cK_c/(N_c+K_c-1+M_c)\ge K/(N+K-1+M)max∑c​Kc​=K​∑c​pc​Kc​/(Nc​+Kc​−1+Mc​)≥K/(N+K−1+M).

This is the inequality the paper establishes in the case C>2C>2C>2 of Theorem 4 by induction on the number of networks, starting from the case C=2C=2C=2. Together with the reduction R(qs,K∗)/Rs(qs)≥max⁡∑Kc=K∑cpcKc/(Nc+Kc−1+Mc)R(q^s,\mathbf K^*)/R_s(q^s)\ge\max_{\sum K_c=K}\sum_cp_cK_c/(N_c+K_c-1+M_c)R(qs,K∗)/Rs​(qs)≥max∑Kc​=K​∑c​pc​Kc​/(Nc​+Kc​−1+Mc​) it gives Theorem 4.

Formalization Note The statement covers every number of networks C=∣ι∣≥1C=|\iota|\ge1C=∣ι∣≥1 (the condition ∑cpc=1\sum_cp_c=1∑c​pc​=1 forces ι≠∅\iota\neq\emptysetι=∅); C=1C=1C=1 is immediate and C=2C=2C=2 is the previous milestone. A summand with Kc=0K_c=0Kc​=0 is pc⋅0/(Nc−1+Mc)=0p_c\cdot0/(N_c-1+M_c)=0pc​⋅0/(Nc​−1+Mc​)=0. At K=0K=0K=0 the right-hand side is 000.

Preamble
import Mathlib
Formal statement
namespace VehicleSharePricing.MultiNet

/-- §6, proof of Theorem 4, p. 19 (the case `C > 2`, reduced form, concluded by induction on the
number of networks): for any finite family of networks `c ∈ ι` with weights `p_c ≥ 0`,
`∑_c p_c = 1`, location counts `N_c ≥ 1` and workloads `M_c ≥ 0`, with `N = ∑_c N_c` and
`M = ∑_c M_c`, some allocation `∑_c K_c = K` satisfies
`∑_c p_c K_c / (N_c + K_c - 1 + M_c) ≥ K / (N + K - 1 + M)`.
A summand with `K_c = 0` is `p_c · 0 / (…) = 0`. -/
theorem case_general {ι : Type*} [Fintype ι] (p : ι → ℝ) (hp0 : ∀ c, 0 ≤ p c)
    (hp1 : ∑ c, p c = 1) (N : ι → ℕ) (hN : ∀ c, 1 ≤ N c) (M : ι → ℝ) (hM : ∀ c, 0 ≤ M c)
    (K : ℕ) :
    ∃ k : ι → ℕ, ∑ c, k c = K ∧
      (K : ℝ) / ((∑ c, (N c : ℝ)) + (K : ℝ) - 1 + ∑ c, M c) ≤
        ∑ c, p c * (k c : ℝ) / ((N c : ℝ) + (k c : ℝ) - 1 + M 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. 19, §6, proof of Theorem 4, case C > 2
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