Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6, proof of Theorem 4, pp. 18–19 — case C=2C=2C=2: max⁡K1+K2=K∑i=12piKi/(Ni+Ki−1+Mi)≥K/(N+K−1+M)\max_{K_1+K_2=K}\sum_{i=1}^2p_iK_i/(N_i+K_i-1+M_i)\ge K/(N+K-1+M)maxK1​+K2​=K​∑i=12​pi​Ki​/(Ni​+Ki​−1+Mi​)≥K/(N+K−1+M)

Proved
VehicleSharePricing.MultiNet.case_two

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

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

Let p1,p2≥0p_1,p_2\ge0p1​,p2​≥0 with p1+p2=1p_1+p_2=1p1​+p2​=1, let N1,N2≥1N_1,N_2\ge1N1​,N2​≥1 be natural numbers, M1,M2≥0M_1,M_2\ge0M1​,M2​≥0 real numbers, N=N1+N2N=N_1+N_2N=N1​+N2​, M=M1+M2M=M_1+M_2M=M1​+M2​, and K∈NK\in\mathbb NK∈N. Then there are natural numbers K1,K2K_1,K_2K1​,K2​ with K1+K2=KK_1+K_2=KK1​+K2​=K and

p1K1N1+K1−1+M1+p2K2N2+K2−1+M2 ≥ KN+K−1+M.\frac{p_1K_1}{N_1+K_1-1+M_1}+\frac{p_2K_2}{N_2+K_2-1+M_2}\ \ge\ \frac{K}{N+K-1+M}.N1​+K1​−1+M1​p1​K1​​+N2​+K2​−1+M2​p2​K2​​ ≥ N+K−1+MK​.

Equivalently,

max⁡K1,K2≥0, K1+K2=K(p1K1N1+K1−1+M1+p2K2N2+K2−1+M2) ≥ KN+K−1+M.\max_{K_1,K_2\ge0,\ K_1+K_2=K}\left(\frac{p_1K_1}{N_1+K_1-1+M_1}+\frac{p_2K_2}{N_2+K_2-1+M_2}\right)\ \ge\ \frac{K}{N+K-1+M}.K1​,K2​≥0, K1​+K2​=Kmax​(N1​+K1​−1+M1​p1​K1​​+N2​+K2​−1+M2​p2​K2​​) ≥ N+K−1+MK​.

With pip_ipi​, NiN_iNi​, MiM_iMi​ the reward share, number of locations and workload of the two networks, this is the case C=2C=2C=2 of Theorem 4 after the reduction of p. 18; the paper concludes it as "R(qs,K∗)/Rs(qs)≥K/(N+K−1+M)R(q^s,\mathbf K^*)/R_s(q^s)\ge K/(N+K-1+M)R(qs,K∗)/Rs​(qs)≥K/(N+K−1+M) is true when C=2C=2C=2".

Formalization Note The maximum over the finite set of allocations is written as the existence of an allocation achieving the bound. A summand with Ki=0K_i=0Ki​=0 is pi⋅0/(Ni−1+Mi)=0p_i\cdot0/(N_i-1+M_i)=0pi​⋅0/(Ni​−1+Mi​)=0; when Ki≥1K_i\ge1Ki​≥1 its denominator is at least 111. At K=0K=0K=0 the right-hand side is 000.

Preamble
import Mathlib
Formal statement
namespace VehicleSharePricing.MultiNet

/-- §6, proof of Theorem 4, pp. 18–19 (the case `C = 2`, reduced form): for weights
`p₁, p₂ ≥ 0` with `p₁ + p₂ = 1`, location counts `N₁, N₂ ≥ 1` and workloads `M₁, M₂ ≥ 0`, with
`N = N₁ + N₂` and `M = M₁ + M₂`,
`max_{K₁,K₂ ≥ 0, K₁+K₂=K} (p₁K₁/(N₁+K₁-1+M₁) + p₂K₂/(N₂+K₂-1+M₂)) ≥ K/(N+K-1+M)`.
A summand with `K_i = 0` is `p_i · 0 / (…) = 0`. -/
theorem case_two (p₁ p₂ : ℝ) (hp₁ : 0 ≤ p₁) (hp₂ : 0 ≤ p₂) (hp : p₁ + p₂ = 1)
    (N₁ N₂ : ℕ) (hN₁ : 1 ≤ N₁) (hN₂ : 1 ≤ N₂) (M₁ M₂ : ℝ) (hM₁ : 0 ≤ M₁) (hM₂ : 0 ≤ M₂)
    (K : ℕ) :
    ∃ K₁ K₂ : ℕ, K₁ + K₂ = K ∧
      (K : ℝ) / ((N₁ : ℝ) + (N₂ : ℝ) + (K : ℝ) - 1 + (M₁ + M₂)) ≤
        p₁ * (K₁ : ℝ) / ((N₁ : ℝ) + (K₁ : ℝ) - 1 + M₁) +
          p₂ * (K₂ : ℝ) / ((N₂ : ℝ) + (K₂ : ℝ) - 1 + M₂) := 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), pp. 18–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