Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Extremal bound for Katona's intersection theorem

Definition
katonaBound

by xbgxjack · Sep 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsextremal-set-theoryintersecting-familieskatona

For natural numbers nnn and ttt with 2∣(n+t)2 \mid (n+t)2∣(n+t), define

M(n,t)=∑i=(n+t)/2n(ni).M(n,t) = \sum_{i=(n+t)/2}^{n} \binom{n}{i}.M(n,t)=i=(n+t)/2∑n​(in​).

This is the size of a Hamming ball: viewing subsets of an nnn-element set as vertices of the nnn-cube, M(n,t)M(n,t)M(n,t) counts the sets of size at least (n+t)/2(n+t)/2(n+t)/2, equivalently (via (ni)=(nn−i)\binom{n}{i}=\binom{n}{n-i}(in​)=(n−in​)) the sets within Hamming distance (n−t)/2(n-t)/2(n−t)/2 of the full set [n][n][n]. Katona's intersection theorem identifies M(n,t)M(n,t)M(n,t) as the maximum possible size of a ttt-intersecting family of subsets of [n][n][n], attained by the family of all sets of size at least (n+t)/2(n+t)/2(n+t)/2.

Definition code
import Mathlib

namespace Katona

/-- The extremal bound in Katona's intersection theorem: the size of a Hamming ball
of the appropriate radius, i.e. the sum of the upper `Finset.Icc ((n + t) / 2) n`
range of binomial coefficients `n.choose i`. -/
noncomputable def katonaBound (n t : ℕ) : ℕ :=
  ∑ i ∈ Finset.Icc ((n + t) / 2) n, n.choose i

end Katona
Source
G. O. H. Katona, Intersection theorems for systems of finite sets, Acta Math. Acad. Sci. Hungar. 15 (1964), 329-337.

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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me