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
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 .
For positive weights depending only on rank, put . The largest weight of a k-Sperner family in is the sum of the largest . Every maximizing family is a union of full rank levels. To see the equality assertion, its Lubell mass must be ; decomposing it into antichains by chain height and using equality in the LYM inequality forces each part to be a full level.