1 Set Systems

Definition 1 (Set system). Let X be a set. A set system on X (or a family of subsets of X) is a family A⊂P(X).

Notation. We will use the notation

X(r)={A⊂X:|A|=r}.

We call an element of X(r) an r-set. We will usually be using X=[n]={1,…,n}, so |X(r)|=nr.

Example.

[4](2)={12,13,14,23,24,34}.

Definition 2 (Discrete cube). Make P(X) into a graph by joining A and B if |AΔB|=1, i.e. if A=B∪{i} for some i, or vice versa. We call this ths discrete cube Qn (if X=[n]).

Example. Q3:

PIC

In general:

PIC

Alternatively, can view Qn as an n-dimensional unit cube {0,1}n, by identifying e.g. {1,3} with 1010000…0 (i.e. identify A with 𝟙A, the characteristic function of A).

Example.

PIC

Definition 3 (Chain). Say A⊂P(X) is a chain if ∀⁡A,B∈A, either A⊂B or B⊂A.

PIC

Example. For example,

A={23,12357,123567}

is a chain.

Definition 4 (Antichain). Say A is an antichain if ∀⁡A,B∈A, A≠B, we have A⁄⊂B.

PIC

How large can a chain be? Can achieve |A|=n+1, for example using

A={∅,1,12,123,…,[n]}.

Cannot beat this: for each 0≤r≤n, A contains ≤1 r-set.

How large can an antichain be? Can achieve |A|=n, for example A={1,2,…,n}. More generally, can take A=X(r), for any r – best out of these is X(⌊n2⌋).

Can we beat this?

Theorem 5 (Sperner’s Lemma). Assuming that:

Then |A|≤n⌊n2⌋.

Idea: Motivated by “a chain meets each layer in ≤1 point, because a layer is an antichain”, we will try to decompose the cube into chains.

PIC

Proof. We’ll decompose P(X) into n12n chains – then done. To achieve this, it is sufficient to find:

We then put these together to form our chains, each passing through X(⌊n2⌋).

PIC

By taking complements, it is enough to prove (i).

Let G be the (bipartite) subgraph of Qn spanned by X(r)∪X(r+1): we seek a matching from X(r) to X(r+1). For any S⊂X(r), the number of S−Γ(S) edges in G is |S|(n−r) (counting from below) and ≤|Γ(S)|(r+1) (counting from above).

PIC

Hence, as r<n2,

|Γ(S)|≥|S|(n−r)r+1≥|S|.

Thus by Hall’s Marriage theorem, there exists a matching. □

Equality in Sperner’s Lemma? Proof above tells us nothing.

Aim: If A is an antichain then

∑r=0n|A∩X(r)|nr≤1.

PIC

“The percentages of each layer occupied add up to ≤1.”

Trivially implies Sperner’s Lemma (think about it).

Definition 6 (Shadow). For A⊂X(r) (1≤r≤n), the shadow of A is ∂A=∂−A⊂X(r−1) defined by, ∂A={B∈X(r−1):∃⁡A∈A,B⊂A}.

Example. If A={123,124,134,137}⊂X(3), then ∂A={12,13,23,14,24,34,17,37}⊂X(2).

Proposition 7 (Local LYM). Assuming that:

  • A⊂X(r)

  • 1≤r≤n

Then
|∂A|nr−1≥|A|nr.

“The fraction of the level occupied by ∂A is ≥ the fraction for A”.

Remark. LYM = Lubell, Meshalkin, Yamamoto.

Proof. The number of A−∂A edges in Qn is |A|r (counting from above) and is ≤|∂A|(n−r+1) (counting from above). So

|∂A||A|≥rn−r+1.

But nr−1nr=rn−r+1, so done. □

Equality in Local LYM? Must have that ∀⁡A∈A, ∀⁡i∈A, ∀⁡j∉A have A−{i}∪{j}∈A. So A=∅ or X(r).

Theorem 8 (LYM Inequality). Assuming that:

Then
∑r=0n|A∩X(r)|nr≤1.

Notation. We will now start writing Ar for A∩X(r).

Proof 1. “Bubble down with Local LYM”.

Have |An|nn≤1. Now, ∂An and An−1 disjoint (as A is an antichain), so

|∂An|nn−1+|An−1|nn−1=|∂An∪An−1|nn−1≤1,

whence

|An|nn+|An−1|nn−1≤1

by Local LYM.

Now, note ∂(∂An∪An−1) is disjoint from An−2 (since A is an antichain), so

|∂(∂An∪An−1)|nn−2+|An−2|nn−2≤1,

whence

|∂An∪An−1|nn−1+|An−2|nn−2.

(Local LYM) so

|An|nn+|An−1|nn−1+|An−2|nn−2≤1.

Continue inductively. □

Equality in LYM Inequality? Must have had equality in each use of Local LYM. Hence equality in LYM Inequality needs: max r with Ar≠∅ has Ar=X(r).

So: equality in Local LYM ⟺ A=X(r) for some r.

Hence: equality in Sperner’s Lemma if and only if A=X(r)n2 (if n even), and A=X(⌊n2⌋) or A=X(⌈n2⌉).

Proof 2. Choose, uniformly at random, a maximal chain C (i.e. C0⊂C1⊂C2⊂⋯⊂Cn, with |Cr|=r for all r).

PIC

For any r-set A, ℙ(A∈C)=1nr (all r-sets are equally likely). So ℙ(C meets Ar)=|Ar|nr (as events are disjoint) and hence

1≥ℙ(C meets A)=∑r=0n|Ar|nr.□

Equivalently: (if you want to lose the intuition about how this works) then: #maximal chains=n!, and #through any fixed r-set=r!(n−r)!, hence

∑r|Ar|r!(n−r)!≤n!.

1.1 Shadows

For A⊂X(r), know |∂A|rn−r+1. Equality is rare – only for A=∅ or X(r). What happens in between?

PIC

In other words, given |A|, how should we choose A⊂X(r) to minimise |∂A|?

Believable that if |A|=kr then we sholud take A=[k](r).

What if kr<|A|<k+1r?

Believable that should take [k](r) plus some r-sets in [k+1](r). For example, for A⊂X(r) with |A|=83+42, take A=[8](3)∪{9∪B:B∈[4](2)}.

1.2 Two total orders on X(r)

Let A and B be distinct r-sets: say A=a1,…,ar, B=b1,…,br where a1<⋯<ar and b1<⋯<br.

Say that A<B in the lexicographic (or lex) ordering if for some j we have ai=bi for i<j and aj<bj.

Slogan: “Use small elements” (“dictionary order”).

Example. lexicographic on [4](2): 12,13,14,23,24,34.

lexicographic on [6](3): 123,124,125,126,134,135,136,145,146,156,234,235,236,245,256,345, 346,356,456.

Say that A<B in the colexicographic (or colex) ordering if for some j we have ai=bi for all i>j and aj<bj.

Slogan: “Avoid large elements” (note that this is not quite the same as “use small elements”, which is what we had before).

Example. colexicographic on [4](2): 12,13,23,14,24,34.

colexicographic on [6](3): 123,124,134,234,125,135,235,145,245,345,126,136,236,146,246,346, 156,256,356,456.

Note that, in colexicographic, [n−1](r) is an initial segment (first t elements, for some t) of [n](r).

This is false for lex.

So we could view colexicographic as an enumeration of ℕ(r).

Remark. A<B in colexicographic if and only if Ac<Bc in “lexicographic with ground set order reversed”.

Aim: colexicographic initial segments are best for ∂, i.e. if A⊂X(r) and C⊂X(r) is the initial segment of colexicographic with |C|=|A|, then |∂C|≤|∂A|.

In particular, |A|=kr⟹|∂A|≥kr−1.

1.3 Compressions

Idea: try to transform A⊂X(r) into some A′⊂X(r) such that:

Ideally, we’d like a family of such ‘compressions’: A→A′→A″→A‴→⋯→B such that either B=C or B is so similar to C that we can directly check that |∂B|≥|∂C|.

“colexicographic prefers 1 to 2” inspires:

Definition 9 (ij-compression). Fix 1≤i<j≤n. The ij-compression Cij is defined as follows:

For A∈X(r), set

Cij(A)={A∪i−jif j∈A, i∉AAotherwise,

and for A⊂X(r), set

Cij(A)={Cij(A):A∈A}∪{A∈A:Cij(A)∈A}.

Note that the second part of the union in Cij(A) is because we need to make sure that we “replace j by i where possible”.

PIC

Example. If A={123,134,234,235,146,567} then C12(A)={123,134,234,135,146,567}.

So Cij(A)⊂X(r), and |Cij(A)|=|A|.

Say A is ij-compressed if Cij(A)=A.

Lemma 10. Assuming that:

  • A⊂X(r)

  • 1≤i<j≤n

Then |∂Cij(A)|≤|∂A|.

Proof. Write A′ for Cij(A). Let B∈∂A′−∂A. We’ll show that i∈B, j∉B and B∪j−i∈∂A−∂A′. [Then done].

PIC

Have B∪x∈A′ for some x, with B∪x∉A (as B∉∂A). So i∈B∪x, j∉B∪x, and (B∪x)∪j−i∈A.

Cannot have x=i, else (B∪x)∪j−i=B∪j, giving B∈∂A, contradiction.

Hence we have i∈B, j∉B.

Also, B∪j−i∈∂A, since (B∪x)∪j−i∈A.

Suppose B∪j−i∈∂A′: so (B∪j−i)∪y∈A′ for some y. Cannot have y=i, else B∪j∈A′ – so B∪j∈A (as j∈B∪j), contradicting B∉∂A. Hence j∈(B∪j−i)∪y and i∉(B∪j−i)∪y.

Whence both (B∪j−i)∪y and B∪y belong to A (by definition of A′), contradicting B∉∂A. □

Remark. Actually showed that ∂Cij(A)⊂Cij∂A.

Definition 11 (Left-compressed). Say A⊂X(r) is left-compressed if Cij(A)=A for all i<j.

Corollary 12. Assuming that:

  • A⊂X(r).

Then there exists a left-compressed B⊂X(r) with |B|=|A| and |∂B|≤|∂A|.

Proof. Define a sequence A0,A1,… as follows. Set A0=A. Having defined A0,…,Ak, if Ak left-compressed then stop the sequence with Ak.

If not, choose i<j such that Ak is not ij-compression, and set Ak+1=Cij(Ak).

This must terminate, because for example ∑⁡A∈Ak∑i∈A is strictly decreasing in k.

Final term B=Ak satisfies |B|=|A|, and |∂B|≤|∂A| (by Lemma 10) □

Remark.

These compressions only encode the idea “colexicographic prefers i to j (i<j)”, but this is also true for lexicographic.

So we try to come up with more compressions that encode more of what colexicographic likes.

“colexicographic prefers 23 to 14” inspires:

Definition 13 (UV-compression). Let U,V⊂X with |U|=|V|, U∩V=∅ and max⁡V>max⁡U. We define the UV-compression as follows: for A⊂X,

CUV(A)={A∪U−Vif V⊂A, U∩A=∅Aotherwise,

and for A⊂X(r), set

CUV(A)={CUV(A):A∈A}∪{A∈A:CUV∈A}.

Example. If

A={123,124,147,237,238,149},

then

C23,14(A)={123,124,147,237,238,239}.

So CUV(A)⊂X(r), and |CUV(A)|=|A|.

Say A is UV-compressed if CUV(A)=A.

Sadly, we can have |∂CUV(A)|>|∂A|:

Example. A={147,157} has |∂A|=5, but C23,14(A)={237,147} has |∂C23,14(A)|=6.

Despite this, we at least we do have the following:

Lemma 14. Assuming that:

  • A⊂X(r) is UV-compression for all U,V with |U|=|V|, U∩V=∅, max⁡V>max⁡U

Then A is an initial segment of colexicographic.

Proof. Suppose not. So there exists A,B∈X(r) with B<A, in colexicographic but A∈A, B∉A.

PIC

Put V=A∖B, U=B∖A.

Then |V|=|U|, and U,V disjoint, and max⁡V>max⁡U (since max⁡(AΔB)∈A, by definition of colexicographic).

So CUV(A)=B, contradicting A is UV-compression. □

Lemma 15. Assuming that:

  • U,V⊂X

  • |U|=|V|

  • U∩V=∅

  • max⁡U<max⁡V

  • A⊂X(r)

  • ∀⁡u∈U ∃⁡v∈V such that A is (U−u,V−v)-compressed(∗)

Then |∂CUV(A)|≤|∂A|.

Proof. Let A′=CUV(A). For B∈∂A′−∂A, we’ll show U⊂B, V∩B=∅, and B∪V−U∈∂A−∂A′. (Then done).

PIC

Have B∪x∈A′ for some x, and B∪x∉A, so U⊂B∪x, V∩(B∪x)=∅, and (B∪x)∪V−U∈A (by definition of CUV).

If x∈U: there exists y∈V such that A is (U−x,V−y)-compressed, so from (B∪x)∪V−U∈A we have B∪y∈A – contradicting B∉∂A, contradiction.

Thus x∉U, and so U⊂B, V∩B=∅. Certainly B∪V−U∈∂A (because (B∪x)∪V−U∈A), so just need to show that B∪V−U∉∂A′.

Suppose B∪V−U∈∂A′: so (B∪V−U)∪w∈A′, for some w. Also have (B∪V−U)∪w∈A (for example, as V contained in it).

If w∈U: know A is (U−w,V−z)-compressed for some z∈V, so B∪z∈A – contradicting B∉∂.

If w∉U: have V⊂(B∪V−U)∪w, U∩((B∪V−U)∪w)=∅, so by definition of CUV we must have that both (B∪V−U)∪w and B∪w∈A – contradicting B∉∂A, a contradiction. □

Theorem 16 (Kruskal-Katona). Assuming that:

  • A⊂X(r), 1≤r≤n

  • C is the initial segment of colexicographic on X(r) with |C|=|A|

Then |∂C|≤|∂A|. In particular: if |A|=kr, then |∂A|≥kr−1.

Proof. Let Γ={(U,V):|U|=|V|>0,U∩V=∅,max⁡U<max⁡V}∪{(∅,∅)}. Define a sequence A0,A1,… of set systems in X(r) as follows:

Must terminate, as ∑⁡A∈Ak∑i∈A2i is strictly decreasing. The final term B=Ak satisfies |B|=|A|, |∂B|≤|∂A| and is UV-compressed for all (U,V)∈Γ.

So B=C by Lemma 14. □

Remark.

For A⊂X(r), 0≤r≤n, the upper shadow of A is

∂+A={A∪x:A∈A,x∉A}⊂X(r+1).

Corollary 17. Assuming that:

  • A⊂X(r), where 0≤r≤n

  • C be the initial segment of lexicographic on X(r) with |C|=|A|

Then |∂+A|≥|∂+C|.

Proof. From Kruskal-Katona, since A<B in colexicographic if and only if Ac<Bc in lexicographic with ground-set order reversed. □

Note that the shadow of an initial segment of colexicographic on X(r) is an initial segment of colexicographic on X(r−1) – as if C={A∈X(r):A≤a1…ar in colexicographic} then ∂C={B∈X(r−1):B≤a2…ar in colexicographic}.

PIC

This fact gives:

Corollary 18. Assuming that:

  • A⊂X(r), and C is the initial segment of colexicographic on X(r) with |C|=|A|

Then |∂tC|≤|∂tA| for all 1≤t≤r.

Proof. If |∂tC≤|∂tA|, then |∂t+1C|≤|∂t+1A|, because ∂tC is an initial segment of colexicographic. Done by induction. □

Note. If |A|=kr, then |∂tA|≥kr−t.

Remark. Proof of Kruskal-Katona used Lemma 14 and Lemma 15, but not Lemma 10 or Corollary 12.

1.4 Intersecting Families

Say A⊂P(X) intersecting if A∩B≠∅ for all A,B∈A.

How large can an intersecting family be? Can have |A|=2k−1, by taking A={A:1∈A}.

Proposition 19. Assuming that:

Then |A|≤2k−1.

Proof. For any A⊂X, at most one of A,Ac can belong to A. □

Note. Many other extremal examples. For example, for n odd take {A:|A|>k2}.

What if A⊂X(r)?

If r>n2, take A=X(r).

If r=n2: just choose one of A,Ac for all A∈X(r): gives |A|=12nr.

So interesting case is r<n2.

Could try A={A∈X(r):1∈A}. Has size n−1r−1=rnnr (while this identity can be verified by writing out factorials, a more useful way of observing it is by noting that ℙ(random r-set contains 1)=rn).

Could also try B={A∈X(r):|A∩{1,2,3}|≥2}.

Example. n=8, r=3. Then |A|=72=21 and

|B|=1⏟|B∩[3]|=3+3251⏟|B∩[3]|=2=16<21.

Theorem 20 (Erdos-Ko-Rado Theorem). Assuming that:

Then |A|≤n−1r−1.

Proof 1 (“Bubble down with Kruskal-Katona”). Note that A∩B≠∅⟺A⁄⊂Bc.

PIC

Let A¯={Ac:A∈A}⊂X(n−r). Have ∂n−2rA¯ and A are disjoint families of r-sets.

Suppose |A|>n−1r−1. Then |A¯|=|A|>n−1r−1=n−1n−r. Whence by Kruskal-Katona we have |∂n−2rA¯|≥n−1r.

So |A|+|∂n−2rA¯|>n−1r−1+n−1r=nr, a contradiction. □

Remark. Calculation at the end had to give the right answer, as the ∂ calculations would all be exact if A={A∈X(r):1∈A}.

Proof 2. Pick a cyclic ordering of [n] i.e. a bijection c:[n]→ℤn.

PIC

How many sets in A are intervals (r consecutive elements) in this ordering?

Answer: ≤r. Because say C1,…,Cr∈A. Then for each 2≤i≤1, at most one of the two intervals CiCi+1…Ci+r−1 and Ci−rCi−r+1…Ci−1 can belong to A (subscrpits are modulo n).

For each r-set A, in how many of the n! cyclic orderings is it an interval?

Answer: nr!(n−r)! (n= where, r!= order inside A, (n−r)!= order outside A).

Hence  A|nr!(n−r)!≤n!r, i.e. |A|≤n!rnr!(n−r)!=n−1r−1. □

Remark.