Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 17, p. 18 — base case s = k: T(i,k) = Σ_j C(n−i,j)(1/j) j! ∏_{t=i}^{n−j−1}(k+t)

Proved
SecretaryAdvice.SamplesDual.key_identity_base

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

binomial-coefficientscombinatorial-identityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let n,kn,kn,k be natural numbers and 1≤i<n1\le i<n1≤i<n, and let T(i,s′)T(i,s')T(i,s′) be the quantity of the proof of Theorem 17 (p. 17). Then

T(i,k)=∑j=1n−i(n−ij)1j j!∏t=in−j−1(k+t).T(i,k)=\sum_{j=1}^{n-i}\binom{n-i}{j}\frac1j\,j!\prod_{t=i}^{n-j-1}(k+t).T(i,k)=j=1∑n−i​(jn−i​)j1​j!t=i∏n−j−1​(k+t).

This is the key identity at s=ks=ks=k (where ∏ℓ=1j(k−k+ℓ)=j!\prod_{\ell=1}^{j}(k-k+\ell)=j!∏ℓ=1j​(k−k+ℓ)=j!), the base of the backward induction over sss.

Preamble
import Mathlib
import Definitions.Def_SecretaryAdvice_SamplesDual_ClosedForm

open Finset
Formal statement
namespace SecretaryAdvice.SamplesDual

/-- Proof of Theorem 17, p. 18, base case `s = k` of the key identity:
`T(i,k) = Σ_{j=1}^{n−i} C(n−i,j) · (1/j) · j! · ∏_{t=i}^{n−j−1} (k+t)`. -/
theorem key_identity_base (n k i : ℕ) (hi : 1 ≤ i) (hin : i < n) :
    T n k i k =
      ∑ j ∈ Icc 1 (n - i),
        ((n - i).choose j : ℝ) * (1 / (j : ℝ)) * (j.factorial : ℝ) *
          (∏ t ∈ Icc i (n - j - 1), ((k : ℝ) + t)) := by sorry

end SecretaryAdvice.SamplesDual
Source
Dütting et al., Secretaries with Advice, arXiv:2011.06726v1, p. 18, proof of Theorem 17, base case s = k
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