Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix B, pp. 26–28 — inductive step: the key identity at s + 1 implies it at s

Proved
SecretaryAdvice.SamplesDual.key_identity_step

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, 1≤i<n1\le i<n1≤i<n and 0≤s<k0\le s<k0≤s<k, let T(i,s′)T(i,s')T(i,s′) be the quantity of the proof of Theorem 17, and write

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

If ∑s′=s+1kT(i,s′)=R(i,s+1)\sum_{s'=s+1}^{k}T(i,s')=R(i,s+1)∑s′=s+1k​T(i,s′)=R(i,s+1), then

∑s′=skT(i,s′)=R(i,s).\sum_{s'=s}^{k}T(i,s')=R(i,s).s′=s∑k​T(i,s′)=R(i,s).

Together with the base case s=ks=ks=k this proves the key identity by backward induction over the signal sss.

Preamble
import Mathlib
import Definitions.Def_SecretaryAdvice_SamplesDual_ClosedForm

open Finset
Formal statement
namespace SecretaryAdvice.SamplesDual

/-- Appendix B, pp. 26–28, inductive step of the key identity: if it holds at `s + 1`, it holds
at `s` (for `1 ≤ i < n` and `0 ≤ s < k`). -/
theorem key_identity_step (n k i s : ℕ) (hi : 1 ≤ i) (hin : i < n) (hs : s < k)
    (h : ∑ s' ∈ Icc (s + 1) k, T n k i s' = keyRHS n k i (s + 1)) :
    ∑ s' ∈ Icc s k, T n k i s' = keyRHS n k i s := by sorry

end SecretaryAdvice.SamplesDual
Source
Dütting et al., Secretaries with Advice, arXiv:2011.06726v1, pp. 26–28, Appendix B (Inductive Step in Proof of Theorem 17)
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