Sperner's theorem

Sperner's theorem, in discrete mathematics, describes the largest possible families of finite sets none of which contain any other sets in the family. It is one of the central results in extremal set theory. It is named after Emanuel Sperner, who published it in 1928.

This result is sometimes called Sperner's lemma, but the name "Sperner's lemma" also refers to an unrelated result on coloring triangulations. To differentiate the two results, the result on the size of a Sperner family is now more commonly known as Sperner's theorem.

Statement
A family of sets in which none of the sets is a strict subset of another is called a Sperner family, or an antichain of sets, or a clutter. For example, the family of k-element subsets of an n-element set is a Sperner family. No set in this family can contain any of the others, because a containing set has to be strictly bigger than the set it contains, and in this family all sets have equal size. The value of k that makes this example have as many sets as possible is n/2 if n is even, or either of the nearest integers to n/2 if n is odd. For this choice, the number of sets in the family is $$\tbinom{n}{\lfloor n/2\rfloor}$$.

Sperner's theorem states that these examples are the largest possible Sperner families over an n-element set. Formally, the theorem states that,
 * 1) for every Sperner family S whose union has a total of n elements, $$|S| \le \binom{n}{\lfloor n/2\rfloor},$$ and
 * 2) equality holds if and only if S consists of all subsets of an n-element set that have size $$\lfloor n/2\rfloor$$ or all that have size $$\lceil n/2\rceil$$.

Partial orders
Sperner's theorem can also be stated in terms of partial order width. The family of all subsets of an n-element set (its power set) can be partially ordered by set inclusion; in this partial order, two distinct elements are said to be incomparable when neither of them contains the other. The width of a partial order is the largest number of elements in an antichain, a set of pairwise incomparable elements. Translating this terminology into the language of sets, an antichain is just a Sperner family, and the width of the partial order is the maximum number of sets in a Sperner family. Thus, another way of stating Sperner's theorem is that the width of the inclusion order on a power set is $$\binom{n}{\lfloor n/2\rfloor}$$.

A graded partially ordered set is said to have the Sperner property when one of its largest antichains is formed by a set of elements that all have the same rank. In this terminology, Sperner's theorem states that the partially ordered set of all subsets of a finite set, partially ordered by set inclusion, has the Sperner property.

Proof
There are many proofs of Sperner's theorem, each leading to different generalizations (see ).

The following proof is due to. Let sk denote the number of k-sets in S. For all 0 ≤ k ≤ n,


 * $${n \choose \lfloor{n/2}\rfloor} \ge {n \choose k}$$

and, thus,


 * $${s_k \over {n \choose \lfloor{n/2}\rfloor}} \le {s_k \over {n \choose k}}.$$

Since S is an antichain, we can sum over the above inequality from k = 0 to n and then apply the LYM inequality to obtain


 * $$\sum_{k=0}^n{s_k \over {n \choose \lfloor{n/2}\rfloor}} \le \sum_{k=0}^n{s_k \over {n \choose k}} \le 1,$$

which means


 * $$ |S| = \sum_{k=0}^n s_k \le {n \choose \lfloor{n/2}\rfloor}.$$

This completes the proof of part 1.

To have equality, all the inequalities in the preceding proof must be equalities. Since
 * $${n \choose \lfloor{n/2}\rfloor} = {n \choose k}$$

if and only if $$k = \lfloor{n/2}\rfloor$$ or $$\lceil{n/2}\rceil,$$ we conclude that equality implies that S consists only of sets of sizes $$\lfloor{n/2}\rfloor$$ or $$\lceil{n/2}\rceil.$$ For even n that concludes the proof of part 2.

For odd n there is more work to do, which we omit here because it is complicated. See, pp. 3–4.

Generalizations
There are several generalizations of Sperner's theorem for subsets of $$\mathcal P(E),$$ the poset of all subsets of E.

No long chains
A chain is a subfamily $$\{S_0,S_1,\dots,S_r\} \subseteq \mathcal P(E)$$ that is totally ordered, i.e., $$S_0 \subset S_1\subset \dots\subset S_r$$ (possibly after renumbering). The chain has r + 1 members and length r. An r-chain-free family (also called an r-family) is a family of subsets of E that contains no chain of length r. proved that the largest size of an r-chain-free family is the sum of the r largest binomial coefficients $$\binom{n}{i}$$. The case r = 1 is Sperner's theorem.

p-compositions of a set
In the set $$\mathcal P(E)^p$$ of p-tuples of subsets of E, we say a p-tuple $$(S_1,\dots,S_p)$$ is &le; another one, $$(T_1,\dots,T_p),$$ if $$S_i \subseteq T_i$$ for each i = 1,2,...,p. We call $$(S_1,\dots,S_p)$$ a p-composition of E if the sets $$S_1,\dots,S_p$$ form a partition of E. proved that the maximum size of an antichain of p-compositions is the largest p-multinomial coefficient $$\binom{n}{n_1\ n_2\ \dots\ n_p},$$ that is, the coefficient in which all ni are as nearly equal as possible (i.e., they differ by at most 1). Meshalkin proved this by proving a generalized LYM inequality.

The case p = 2 is Sperner's theorem, because then $$S_2 = E \setminus S_1$$ and the assumptions reduce to the sets $$S_1$$ being a Sperner family.

No long chains in p-compositions of a set
combined the Erdös and Meshalkin theorems by adapting Meshalkin's proof of his generalized LYM inequality. They showed that the largest size of a family of p-compositions such that the sets in the i-th position of the p-tuples, ignoring duplications, are r-chain-free, for every $$i = 1,2,\dots,p-1$$ (but not necessarily for i = p), is not greater than the sum of the $$r^{p-1}$$ largest p-multinomial coefficients.

Projective geometry analog
In the finite projective geometry PG(d, Fq) of dimension d over a finite field of order q, let $$\mathcal L(p,F_q)$$ be the family of all subspaces. When partially ordered by set inclusion, this family is a lattice. proved that the largest size of an antichain in $$\mathcal L(p,F_q)$$ is the largest Gaussian coefficient $$\begin{bmatrix} d+1 \\ k\end{bmatrix};$$ this is the projective-geometry analog, or q-analog, of Sperner's theorem.

They further proved that the largest size of an r-chain-free family in $$\mathcal L(p,F_q)$$ is the sum of the r largest Gaussian coefficients. Their proof is by a projective analog of the LYM inequality.

No long chains in p-compositions of a projective space
obtained a Meshalkin-like generalization of the Rota–Harper theorem. In PG(d, Fq), a Meshalkin sequence of length p is a sequence $$(A_1,\ldots,A_p)$$ of projective subspaces such that no proper subspace of PG(d, Fq) contains them all and their dimensions sum to $$d-p+1$$. The theorem is that a family of Meshalkin sequences of length p in PG(d, Fq), such that the subspaces appearing in position i of the sequences contain no chain of length r for each $$i = 1,2,\dots,p-1,$$ is not more than the sum of the largest $$r^{p-1}$$ of the quantities
 * $$\begin{bmatrix} d+1 \\ n_1\ n_2\ \dots\ n_p \end{bmatrix} q^{s_2(n_1,\ldots,n_p)},$$

where $$\begin{bmatrix} d+1 \\ n_1\ n_2\ \dots\ n_p \end{bmatrix}$$ (in which we assume that $$d+1 = n_1+\cdots+n_p$$) denotes the p-Gaussian coefficient
 * $$\begin{bmatrix} d+1 \\ n_1 \end{bmatrix} \begin{bmatrix} d+1-n_1 \\ n_2 \end{bmatrix} \cdots \begin{bmatrix} d+1-(n_1+\cdots+n_{p-1} )\\ n_p \end{bmatrix}$$

and
 * $$s_2(n_1,\ldots,n_p) := n_1n_2 + n_1n_3 + n_2n_3 + n_1n_4 + \cdots + n_{p-1}n_p,$$

the second elementary symmetric function of the numbers $$n_1, n_2, \dots, n_p.$$