Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 15, p. 15 — Σ_{s=u}^{v} ∏_{t=a+1}^{b} (s+t) = [∏_{t=a}^{b}(v+1+t) − ∏_{t=a}^{b}(u+t)]/(b−a+1)

Proved
SecretaryAdvice.Samples.lemma_15

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

combinatoricsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1rising-factorialtelescoping-sum

For integers a<ba<ba<b and u<vu<vu<v,

∑s=uv∏t=a+1b(s+t)=1b−a+1[∏t=ab(v+1+t)−∏t=ab(u+t)].\sum_{s=u}^{v}\prod_{t=a+1}^{b}(s+t)=\frac{1}{b-a+1}\left[\prod_{t=a}^{b}(v+1+t)-\prod_{t=a}^{b}(u+t)\right].s=u∑v​t=a+1∏b​(s+t)=b−a+11​[t=a∏b​(v+1+t)−t=a∏b​(u+t)].

This is a discrete integration formula for rising products. It evaluates the sums over signals that arise in the dual of the samples LP, in both claims of the proof of Theorem 16.

Formalization Note The sums and products range over integer intervals; both sides are computed in R\mathbb RR.

Preamble
import Mathlib
open Finset
Formal statement
namespace SecretaryAdvice.Samples

theorem lemma_15 (a b u v : ℤ) (hab : a < b) (huv : u < v) :
    ∑ s ∈ Icc u v, ∏ t ∈ Icc (a + 1) b, ((s + t : ℤ) : ℝ) =
      1 / ((b - a + 1 : ℤ) : ℝ) *
        (∏ t ∈ Icc a b, ((v + 1 + t : ℤ) : ℝ) - ∏ t ∈ Icc a b, ((u + t : ℤ) : ℝ)) := by sorry

end SecretaryAdvice.Samples
Source
Dütting et al., Secretaries with Advice, arXiv:2011.06726v1, p. 15, Lemma 15
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