Zorn lemma states that a partially ordered set in which every chain in a partially ordered set has an upper bound has a maximal element. Include the empty chain in a partially ordered set, so the hypotheses imply that the set is nonempty. Suppose there were no maximal element. Every chain in a partially ordered set has an upper bound , and some ; therefore the set of elements strictly above every member of is nonempty. The axiom of choice selects one such element for each chain in a partially ordered set (and an element of when is empty).
By Hartogs theorem, there is an ordinal which does not inject into . Transfinite recursion defines for all : previous elements form a strictly increasing chain in a partially ordered set, including at limit ordinal stages. All are distinct, giving the forbidden injection. This proves Zorn lemma; the choice of is the use of the axiom of choice.
Apply Zorn lemma to linearly independent subsets of over , ordered by inclusion. A union along a chain in a partially ordered set is linearly independent because each finite linear relation occurs in one member of that chain in a partially ordered set. A maximal independent set spans , since a vector outside its span could be adjoined. Thus has a Hamel basis over .
For a finite basis, the Steinitz exchange lemma proves equality of basis sizes. This also rules out an infinite basis when a finite spanning set exists: write each member of the finite spanning set using finitely many elements of another basis; their finite union spans, and independence leaves no other basis elements. If a basis is infinite with cardinality , the finite-support description of every vector and countability of give
Here infinite cardinal arithmetic uses the axiom of choice. Thus any infinite basis has cardinality , proving all bases have the same cardinality. The zero space has its unique empty basis.
Choose a Uniformly random maximal chain in a Boolean lattice by taking a uniformly random permutation of and successively adjoining its elements. A fixed -element set occurs on this maximal chain in a Boolean lattice with probability . Because an antichain meets every such chain in a partially ordered set at most once, linearity of expectation gives the LYM inequality:
Here is the Lubell mass.
For equality in the LYM inequality, the integer must equal one for every maximal chain in a Boolean lattice, since every chain has positive probability. Choose of rank . If , take and , and choose a permutation with its first elements equal to , its th element , and its next element . Interchanging those two adjacent elements changes precisely the rank- member of the corresponding maximal chain in a Boolean lattice, replacing by . All other members are unchanged and none belongs to the antichain. The new chain must still meet , so .
Successive exchanges connect all -element subsets: exchange an element outside a desired target for an element missing from it, decreasing the number of differences each time. Thus contains the whole rank- level. Every set of another rank is comparable with some set in that level, so the antichain contains nothing else. If or , its sole possible member is already the whole corresponding level. Conversely, every full level meets every maximal chain in a Boolean lattice exactly once. Hence
Choose distinct ranks whose values are the largest, resolving any tie arbitrarily, and take the union of their full levels. Along a strict chain in a partially ordered set, cardinality strictly increases, so this set family is a k-Sperner family. Its weight is the sum of the selected rank weights because a full level of rank has members. Thus the bound in the weighted theorem for k-Sperner families is always attained:
First we need all equality cases, rather than just the examples from part (c). The threshold estimate in part (b), with , shows that any maximum-weight k-Sperner family has Lubell mass exactly .
For each , let be the largest number of members in a strict chain in a partially ordered set within ending at . Its values lie in . If then , so each height class is an antichain. Its Lubell mass is at most one by the LYM inequality, and
Consequently every height class has Lubell mass one. By equality in the LYM inequality, each is a full rank level. Since the classes are disjoint, the maximizing family is a union of exactly distinct full levels.
Let again be the th largest , let ranks have , and let ranks have . Equality in the threshold estimate requires all higher-weight levels, no lower-weight levels, and any of the tied levels. Thus the number of maximizing weighted k-Sperner families is
Conversely, every such is realizable. Assign on chosen ranks, on further ranks, and on all remaining ranks, then set . These weights are positive and have exactly the stated tie pattern.
Putting gives a concise classification of the possible integers:
Repeated values in this set are counted only once. The possible counts need not form an interval: for example, when they are .
The Hall marriage theorem states that a finite bipartite graph with vertex classes and has a matching in a graph saturating if and only if
Necessity is immediate: distinct vertices of must be matched to distinct vertices of .
For sufficiency, induct on . If every nonempty proper satisfies the strict bound , choose any edge and delete its endpoints. Every loses at most the neighbour , so Hall's condition remains true; induction supplies a matching of the smaller graph, to which is added.
Otherwise there is a nonempty proper tight set with . Hall's condition holds on the induced graph with parts , so induction matches . For , Hall's condition on gives
and hence . Induction therefore matches into . The two matchings are disjoint and together saturate , completing the proof through Hall induction through a tight set.
Identify a subset of with its binary characteristic vector. Then is the hypercube graph, and every edge changes set size by exactly one. The induced subgraph on is therefore bipartite with those two levels as its vertex classes.
Let . Every member of has neighbours in , obtained by adding one element, while every member of is incident with at most of these edges. Double-counting the edges between the two families gives
Since , we have , and hence . Hall's theorem yields the requested adjacent-level matching in a Boolean lattice, saturating .
Finally, every chain in a partially ordered set in the Boolean lattice contains at most one member of the middle level . Any chain partition therefore uses at least
chains.
For every , choose one of the matchings just constructed and orient its edges upward. These edges partition all levels at or below into chains ending at distinct middle-level sets. Taking complements gives, for every , a matching from into ; orienting its edges upward extends those chains through all upper levels. Every subset belongs to exactly one resulting chain and every chain meets exactly once. Thus this symmetric chain decomposition of a Boolean lattice has one chain per middle-level set, and the minimum is