Choose a uniformly random permutation of and take its initial segments. This produces a Uniformly random maximal chain in a Boolean lattice. A fixed -set belongs to this chain with probability . An antichain meets the chain at most once, so taking the expected value of the number of meetings proves the LYM inequality:
In particular the Sperner theorem bound follows by multiplying each summand by at most the largest binomial coefficient.
For the vector request, an ordering by ordinary subset need not work: distinct vectors may cancel. Instead, write and construct a separated block decomposition for vector subset sums. A block is separated if distinct labeled members have subset sums at distance at least one. We prove that the labeled subsets of can be partitioned into separated blocks, with
blocks of size , for , with .
For the one subset forms one block. Suppose a block of sums has already been constructed for vectors, and let . Choose minimizing in the block. Replace the two copies of the block, with and without the new coordinate, by the following two blocks:
The old labels are retained, so these partition the two copies even if equal sums occur in different blocks. Translation preserves separation in the first translated portion, and the second block is a subset of the old separated block. For the new cross pairs, Cauchy-Schwarz inequality gives
Thus both new blocks are separated. Their sizes are and , omitting an empty block. The resulting size-profile recurrence is , and Pascal's identity verifies the displayed binomial-difference formula, including the even middle boundary. The total number of blocks telescopes to .
A signed sum associated with is . If two signed sums lie in the open ball of radius one, their difference has norm less than two, so their subset sums have distance less than one. At most one can therefore lie in any separated block. Hence the Littlewood-Offord inequality is
The counting is by sign choices, not by distinct numerical values of the sums. The open-ball condition handles the equality-distance boundary correctly.
For the last request take real coefficients. Absorb their signs into the choices , so all coefficients are positive and at least one. A signed-sum real interval of length four corresponds to a subset-sum real interval of length two. A strict three-member inclusion chain would have , which cannot occur in that open real interval. Thus its set family is a k-Sperner family with . Every maximal chain in a Boolean lattice meets it at most twice, yielding . Write , so and . If are the two largest binomial coefficients and is the fraction at a largest level, then . This proves the two-level Littlewood-Offord bound:
It is the greatest possible number uniformly over choices of coefficients and center. For even , take every coefficient equal to one and center : the real interval contains the sum levels , of multiplicities . For odd , take center zero, giving levels , each of multiplicity . These attain the bound. For the only sign choice gives the separate maximum one. Attainment here is at the exhibited centers; it need not hold at every prescribed center.
A k-Sperner family meets every maximal chain in a Boolean lattice in at most members. The random-chain calculation in part (a) therefore gives the generalized LYM inequality . Define the proportion of rank that is present by
Then and . This reduces the weighted theorem for k-Sperner families to allocating at most units of mass among ranks, each of capacity one.
To handle ties explicitly, let be the th largest value among the , let , and put . Then
The last expression is exactly the sum of the largest rank weights, with multiplicity. Writing those values in descending order as , the answer is
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 hypothesis says exactly that is a k-Sperner family with : it contains no three members forming a strict inclusion chain. Every maximal chain in a Boolean lattice consequently contains at most two members of , so the same random-chain argument gives . For a fixed amount of Lubell mass, cardinality is maximized by using the levels with the two largest binomial coefficients. The Erdős theorem on k-Sperner families therefore gives
The bound is attained by taking the union of two levels having those sizes.
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.