Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma I.A (ii), Internet Appendix p. 27 — Σ_{l=r}^{n} C(l, r)(n − l) = C(n+1, r+1)(n − r)/(r + 2)

Proved
RiskExposure.RingComplete.lemma_IA_ii_hockey_stick

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

binomial-coefficientscombinatoricshockey-stickp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

For natural numbers r<nr<nr<n,

∑l=rn(lr)(n−l)=(n+1r+1) n−rr+2.\sum_{l=r}^{n}\binom{l}{r}(n-l)=\binom{n+1}{r+1}\,\frac{n-r}{r+2}.l=r∑n​(rl​)(n−l)=(r+1n+1​)r+2n−r​.

This is the second, weighted half of the paper's Hockey-stick Lemma I.A; the first half is the classical identity ∑l=rn(lr)=(n+1r+1)\sum_{l=r}^n\binom lr=\binom{n+1}{r+1}∑l=rn​(rl​)=(r+1n+1​). In the proof of Proposition 4 it evaluates the mean number of failed upstream neighbours in the ring, which is what turns the ring's received payment into the complete network's.

Formalization Note. The sum ranges over Finset.Icc r n and the identity is stated in R\mathbb RR, so n−ln-ln−l, n−rn-rn−r and the division by r+2r+2r+2 are real operations. Part (i) of Lemma I.A is not restated: it is the published, proved theorem FamousTheorems.hockey_stick_identity (Mathlib's Nat.sum_Icc_choose; also the second conjunct of ProofsInTheBook.Chapter32.chapter32).

Preamble
import Mathlib
Formal statement
namespace RiskExposure.RingComplete

theorem lemma_IA_ii_hockey_stick (n r : ℕ) (h : r < n) :
    ∑ l ∈ Finset.Icc r n, (l.choose r : ℝ) * ((n : ℝ) - l) =
      ((n + 1).choose (r + 1) : ℝ) * (((n : ℝ) - r) / ((r : ℝ) + 2)) := by sorry

end RiskExposure.RingComplete
Source
Shu, Endogenous Risk Exposure and Systemic Instability, Management Science, doi:10.1287/mnsc.2022.01519 (accepted manuscript, 17 Sep 2024), Internet Appendix p. 27, Lemma I.A, part (ii)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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