Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Chu–Vandermonde identity with real parameters

Proved
VehShare.MultiNet.chu_vandermonde_real

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

markov-chainsoperations-researchqueueing-theoryvehicle-sharing

For all real numbers T,T1T,T_1T,T1​ and every integer K≥0K\ge0K≥0,

∑K1=0K(K+T−K1−T1−1K−K1)(T1+K1−1K1)=(K+T−1K),\sum_{K_1=0}^{K}\binom{K+T-K_1-T_1-1}{K-K_1}\binom{T_1+K_1-1}{K_1}=\binom{K+T-1}{K},K1​=0∑K​(K−K1​K+T−K1​−T1​−1​)(K1​T1​+K1​−1​)=(KK+T−1​),

where (xk)=∏i=0k−1(x−i)/k!\binom{x}{k}=\prod_{i=0}^{k-1}(x-i)/k!(kx​)=∏i=0k−1​(x−i)/k! is the generalized binomial coefficient.

In the proof of Theorem 4 (with Ti=Ni+MiT_i=N_i+M_iTi​=Ni​+Mi​, T=T1+T2T=T_1+T_2T=T1​+T2​) the identity makes the products (K+T−K1−T1−1K−K1)(T1+K1−1K1)/(K+T−1K)\binom{K+T-K_1-T_1-1}{K-K_1}\binom{T_1+K_1-1}{K_1}/\binom{K+T-1}{K}(K−K1​K+T−K1​−T1​−1​)(K1​T1​+K1​−1​)/(KK+T−1​) a probability distribution over the splits K=K1+K2K=K_1+K_2K=K1​+K2​, which is averaged against in the case of two networks.

Differences from the source:

  • generalization: T_i = N_i + M_i and T = T_1 + T_2 → arbitrary real T and T₁; reason: the identity holds for all real parameters; the paper's values are a special case
  • encoding: the binomial coefficient defined by Π_{i=0}^{K−1}(K+T−1−i)/K! if K ≥ 0 and 0 if K < 0 → Ring.choose x k for k ∈ ℕ; reason: the same product formula; the lower indices K − K1, K1, K are natural numbers here, so the case K < 0 never arises
Preamble
import Mathlib
Formal statement
namespace VehShare.MultiNet

/-- **Chu–Vandermonde identity with real parameters.**
Benjaafar, Shen, *Pricing in On-Demand (and One-Way) Vehicle Sharing Networks*, SSRN 3998297
(version of 2023-01-10), proof of Theorem 4, p. 18 (unnumbered display).

For all real `T, T₁` and every `K ∈ ℕ`:
`∑_{K₁=0}^{K} C(K+T−K₁−T₁−1, K−K₁) · C(T₁+K₁−1, K₁) = C(K+T−1, K)`,
where `C(x, k) = ∏_{i=0}^{k−1}(x − i)/k!` is the generalized binomial coefficient.

**Formalization Note.** `Ring.choose x k` is that coefficient. The paper has `T_i = N_i + M_i`; the
identity is stated for all real `T, T₁` (a generalization). -/
theorem chu_vandermonde_real (T T₁ : ℝ) (K : ℕ) :
    ∑ K₁ ∈ Finset.range (K + 1),
        Ring.choose ((K : ℝ) + T - K₁ - T₁ - 1) (K - K₁) * Ring.choose (T₁ + K₁ - 1) K₁ =
      Ring.choose ((K : ℝ) + T - 1) K := by sorry

end VehShare.MultiNet
Source
Benjaafar, Shen, Pricing in On-Demand (and One-Way) Vehicle Sharing Networks, SSRN 3998297 (version of 2023-01-10), https://ssrn.com/abstract=3998297, proof of Theorem 4, p. 18

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