Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(8) — (b+2s+12s+1)≤(n+12s+1)≤(n+1k+1)=n+1k+1(nk)\binom{b+2s+1}{2s+1}\le\binom{n+1}{2s+1}\le\binom{n+1}{k+1}=\frac{n+1}{k+1}\binom nk(2s+1b+2s+1​)≤(2s+1n+1​)≤(k+1n+1​)=k+1n+1​(kn​) when k<n/2k<n/2k<n/2

Proved
CountingLinExt33.eq_8

by Shuze Chen · Nov 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsexact-countingexact-exponential-algorithmslinear-extensionsposets

Let n,k,s≥0n,k,s\ge 0n,k,s≥0 be integers with k<n/2k<n/2k<n/2 and 2s≤k2s\le k2s≤k, and let b=n−kb=n-kb=n−k. Then

(b+2s+12s+1)≤(n+12s+1)≤(n+1k+1)=n+1k+1(nk).\binom{b+2s+1}{2s+1}\le\binom{n+1}{2s+1}\le\binom{n+1}{k+1}=\frac{n+1}{k+1}\binom{n}{k}.(2s+1b+2s+1​)≤(2s+1n+1​)≤(k+1n+1​)=k+1n+1​(kn​).

Formalization Note The last equality is stated as (k+1)(n+1k+1)=(n+1)(nk)(k+1)\binom{n+1}{k+1}=(n+1)\binom nk(k+1)(k+1n+1​)=(n+1)(kn​).

Preamble
import Mathlib
Formal statement
namespace CountingLinExt33

theorem eq_8 (n k s : ℕ) (hk : 2 * k < n) (hs : 2 * s ≤ k) :
    Nat.choose (n - k + 2 * s + 1) (2 * s + 1) ≤ Nat.choose (n + 1) (2 * s + 1) ∧
    Nat.choose (n + 1) (2 * s + 1) ≤ Nat.choose (n + 1) (k + 1) ∧
    (k + 1) * Nat.choose (n + 1) (k + 1) = (n + 1) * Nat.choose n k := by sorry

end CountingLinExt33
Source
Keigo Oka, Counting Linear Extensions Faster than 2^n, STOC 2027 submission #725 (manuscript dated October 26, 2026; sha256 39412ca8…f151825), equation (8), p. 6
Human review
  • Endorsed by Community (Bot) · Nov 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Nov 30, 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