Mathlib theorem · Existing formal mathematics

Existing in Mathlib · Combinatorics

Kruskal–Katona Theorem

Take a finite r-uniform family 𝒜 and a colex initial segment 𝒞 of r-element subsets with no more members than 𝒜. Form every distinct set obtained by deleting exactly one element from a member of each family. The colex family produces no more such one-step deletions than 𝒜.

Exact theorem

Exact Mathlib statement

theorem Finset.kruskal_katona {n r : ℕ} {𝒜 𝒞 : Finset (Finset (Fin n))} (h𝒜r : (𝒜 : Set (Finset (Fin n))).Sized r) (h𝒞𝒜 : #𝒞 ≤ #𝒜) (h𝒞 : Finset.Colex.IsInitSeg 𝒞 r) : #(∂ 𝒞) ≤ #(∂ 𝒜)

The theorem at a glance

Kruskal–Katona Theorem at a glance

A visual guide to the theorem's hypotheses, structure, and conclusion; the exact statement gives the formal detail.

Among the compared finite r-uniform families, a colex initial segment of no greater cardinality has no larger immediate shadow. Explanatory diagram.
Detailed visual description

Unlabelled three-bead family tiles and two-bead shadow tiles introduce one-element deletion without pretending to enumerate the general theorem. The dominant panel separates the size premise from the immediate-shadow conclusion. The source-bound ribbon then matches cardinality, compresses without growing the shadow, decreases a terminating family measure, and identifies the fully compressed endpoint with the colex initial segment.

Statement structure

From hypotheses to conclusion

Statement map for Kruskal–Katona TheoremIf a colex initial segment 𝒞 of r-subsets has no more members than an r-uniform family 𝒜, then 𝒞 has no larger immediate shadow. The pinned upstream declaration is Finset.kruskal_katona. The exact checked statement is theorem Finset.kruskal_katona {n r : ℕ} {𝒜 𝒞 : Finset (Finset (Fin n))} (h𝒜r : (𝒜 : Set (Finset (Fin n))).Sized r) (h𝒞𝒜 : #𝒞 ≤ #𝒜) (h𝒞 : Finset.Colex.IsInitSeg 𝒞 r) : #(∂ 𝒞) ≤ #(∂ 𝒜).Mathematical readingIf a colex initialsegment 𝒞 of r-subsetshas no more members thanan r-uniform family 𝒜,then 𝒞 has no largerimmediate shadow.Pinned declarationmathlib ·Finset.kruskal_katonaExact checked formtheoremFinset.kruskal_katona {nr : ℕ} {𝒜 𝒞 : Finset(Finset (Fin n))} (h𝒜r :(𝒜 : Set (Finset (Finn))).Sized r) (h𝒞𝒜 : #𝒞≤ #𝒜) (h𝒞 :Finset.Colex.IsInitSeg 𝒞r) : #(∂ 𝒞) ≤ #(∂ 𝒜)Statement map for Kruskal–Katona TheoremIf a colex initial segment 𝒞 of r-subsets has no more members than an r-uniform family 𝒜, then 𝒞 has no larger immediate shadow. The pinned upstream declaration is Finset.kruskal_katona. The exact checked statement is theorem Finset.kruskal_katona {n r : ℕ} {𝒜 𝒞 : Finset (Finset (Fin n))} (h𝒜r : (𝒜 : Set (Finset (Fin n))).Sized r) (h𝒞𝒜 : #𝒞 ≤ #𝒜) (h𝒞 : Finset.Colex.IsInitSeg 𝒞 r) : #(∂ 𝒞) ≤ #(∂ 𝒜).Mathematical readingIf a colex initialsegment 𝒞 of r-subsetshas no more members thanan r-uniform family 𝒜,then 𝒞 has no largerimmediate shadow.Pinned declarationmathlib ·Finset.kruskal_katonaExact checked formtheoremFinset.kruskal_katona {nr : ℕ} {𝒜 𝒞 : Finset(Finset (Fin n))} (h𝒜r :(𝒜 : Set (Finset (Finn))).Sized r) (h𝒞𝒜 : #𝒞≤ #𝒜) (h𝒞 :Finset.Colex.IsInitSeg 𝒞r) : #(∂ 𝒞) ≤ #(∂ 𝒜)

This map summarizes the statement's structure; the exact Mathlib declaration remains authoritative.

The symbolic families C and A pass through their immediate-shadow arrows: the premise |C| ≤ |A| leads to |∂C| ≤ |∂A|. Explanatory scientific diagram.
Detailed visual description

This page indexes Mathlib’s colex-initial-segment form of the Kruskal–Katona theorem for finite families of subsets of Fin n. The comparison family 𝒜 is r-uniform, 𝒞 is a colex initial segment of the r-subsets, and #𝒞 may be smaller than #𝒜. The selected endpoint compares only the cardinalities of their immediate one-element-deletion shadows. It is not the later iterated-shadow theorem, the Lovász/binomial formulation, an equality-case classification, a uniqueness theorem, or an algorithm.

Why it matters

A mathematical landmark

Kruskal–Katona is a foundational sharp extremal theorem for uniform set families. It identifies colex initial segments as canonical shadow minimizers and its Mathlib source exposes a particularly teachable route through compressions, a strictly decreasing family measure, and a terminal colex family.

ProofAtlas record

What has been checked

Upstream indexedPinned source bytes verified locally
Locally reproducedExact upstream declaration replayed
Reviewed pageCurrent public presentation reviewed
Accepted Atlas resultNot recorded for the preferred artifact

Mathlib is the source of the theorem; the local Lean replay and page review are separate.

Claim boundary

No new theorem is claimed

This page indexes Mathlib’s colex-initial-segment form of the Kruskal–Katona theorem for finite families of subsets of Fin n. The comparison family 𝒜 is r-uniform, 𝒞 is a colex initial segment of the r-subsets, and #𝒞 may be smaller than #𝒜. The selected endpoint compares only the cardinalities of their immediate one-element-deletion shadows. It is not the later iterated-shadow theorem, the Lovász/binomial formulation, an equality-case classification, a uniqueness theorem, or an algorithm.

Source and local evidence

Where the theorem comes from

Existing declaration
Finset.kruskal_katona in mathlib
Relationship
The checked artifact is the upstream declaration itself
Local Lean evidence
artifact.library.mathlib.kruskal-katona-theorem.v001
Source
Open the pinned upstream reference