2 The Ramsey numbers R(3,k)

Theorem (Erdos-Szekeres, 1935). R(l,k)k+l2l1.

Proof. Induction. See e.g. GT.

Note. R(k)=R(k,k)2(k1)k1c4kk.

Corollary. R(3,k)k2.

Idea 1: If randomly colour Kn, we have 18n3 triangles  :(

Idea 2: We want to bias our distribution in favour of Kk – colour “red”. Say GG(n,p). Sad news: if p1n then G contains a K3 with high probability.  :(

Theorem (Erdos, 1960s). R(3,k)c(klogk)32 for some c>0.

Proof sketch. Sample GG(n,p), then define G~=G(a vertex from each triangle). For this to work we need #vertices2>#triangles. So n2>p3n3. So take pn23.

Remark. This is called the “deletion method”.

Fact (Markov). Let X be a non-negative random variable. Let t>0. Then

(Xt)𝔼Xt.

That is

(Xs𝔼X)1s,

for any s>0.

Fact. For 1kn we have

nk(enk)k

and

nk(nk)k.

Definition 2.1 (Independence number). Let G be a graph. Then IV(G) is independent if xy in G for all x,yI.

We use α(G)=size of the largest independent set.

PIC

Note. We are trying to construct a triangle free graph on k32o(1) vertices with α(G)<k.

Lemma 2.2. Assuming that:

  • 1np12

  • GG(n,p)

Then
α(G)(2+o(1))lognpp,

with probability tending to 1 as n (known as “with high probability (w.h.p.)”).

Remark. We actually have = in this lemma.

Proof. Let k=(2+δ)lognpp, for some δ>0. Let X be the random variable that counts the number of independent k sets in G.

𝔼X=𝔼I[n](k)𝟙I is independent=I[n](k)(I is independent)=nk(1p)k2(enk)kepk2(enke(k12)p)k0

by plugging in k. So by Markov

(X1)𝔼X0.

We have a method for bounding the probability that X is large: Markov says that (X>t)𝔼Xt. What about bounding the probability that it is small?

Fact: Let X be a random variable with 𝔼X, VarX finite. Then for all t>0,

(|X𝔼X|t)VarXt2.

Reminder:

VarX=𝔼X2(𝔼X)2=𝔼(X𝔼X)2.

Lemma 2.3. Assuming that:

  • 1np1

  • GG(n,p)

Then
#triangles in G=(1+o(1))p3n3

with high probability.

Proof. Let X be the random variable counting the number of triangles in G. Note

X=T[n](3)𝟙T(2)G.

Mean is straightforward:

𝔼X=p3n3.

Variance is a little more tricky. First:

X2=S,T[n](3)𝟙S(2),T(2)G.

We can write

𝔼X2=S,T[n](2)(T(2),S(2)G)(𝔼X)2=S,T[n](2)(T(2)G)(S(2)G)

Since the pairs of events are independent whenever |S(2)T(2)|=0, we have

PIC

VarXS,T[n](2)|S(2)T(2)|=1p5n4+𝔼X Now note (|X𝔼X|δ𝔼X)VarXδ2(𝔼X)2p5n4δ2(𝔼X)2+1δ2𝔼XCp5n4(n3p3)2+1δ2𝔼XC1n2p+1δ2𝔼X0

Recall that before we showed that for GG(n,p), 1np12, we have

α(G)(2+o(1))log(np)p

with high probability.

Proof of lower bound on R(3,k). Set n=(klogk)32, p=n23. Let GG(n,p) and let G~ with a vertex deleted from each triangle. Then with high probability we have

α(G~)α(G)(2+o(1))lognpp(23+o(1))n23logn(23+o(1))klogk(logk32)(1+o(1))k(

We also have with high probability:

|V(G~)|n(#of triangles in G)n(1+o(1))p3n36=n(1+o(1))n6n2(

So with high probability () and () hold. So there must exist a graph G~ on n2=12(klogk)32 with no triangles and independence number <k (actually not quite, but would have worked if we multiply one of the parameters by a constant or something).

Definition (Chromatic number). Let G be a graph. The chromatic number of G is the minimum k such that there exists χ:V(G)[k]such that no edge has both ends in the same colour.

PIC

χ(G) denotes the chromatic number.

Similar to the above lower bound on R(3,k), Erdős proved:

Theorem (Erdős). There exist graphs G with arbitrarily large chromatic number and arbitrarily large girth, i.e. for all g,k there exists G with girth >g and χ(G)>k.

PIC

Idea: let’s delete an edge from each triangle, instead of a vertex (we have a lot more edges to spend than we have vertices!).

For this we need

p3n3pn2

so p=γn. For some small γ>0.

Danger: when we delete an edge from each triangle, we need to ensure that we don’t hurt α(G).

Theorem 2.4 (Erdos, 1960s). R(3,k)ck2(logk)2 for some c>0.

To prove this, it is enough to prove for sufficiently large n that there exists a triangle free graph on n vertices with

α(G)Cn12logn

for some C>0.

This is because we can set k=Cnlogn, and then get n=ck2(logk)2.

More sketching of the idea: we know α(G)2lognp.

What if k>2lognpp? Then there must be an edge (because α(G)<k.

PIC

Not very impressive.

What if k>100lognpp? Then we actually get a lot of edges: expect pk2, and can guarantee pk216.

Lemma 2.5. Assuming that:

  • 1np12

  • GG(n,p)

  • k>Clognp

Then with high probability every set of size k in G induces pk216 edges.

Proof. Fix t=pk216 and fix a set S with size |S|=k.

(e(G[S])<t)i=0tk2ipi(1p)k2itk2tpt(1p)k2tt[(ek22t)tpt]ep[k2t]t(e8)pk216epk22k2[(e8)1e4+o(1)]pk216eαpk2

for some α>0.

We now union bound on all S[n](k).

(S[n](k) such that e([S])<t)nk(e(G[S])<t)(enk)keαk2p=(enkeαkp)k(enp(1pn)αC)k

(using kpClogn) which 0 for C>1α.

Lemma 2.6. Assuming that:

  • F={Ai}i be a collection of events

  • Et, for t, be the event that t independent events of F occur

Then
(Et)1t!(i(Ai))t.

PIC

Remark. t!=ttet2πt(1+o(1)).

We will use t!ttet2 for large t in the above lemma to get:

(Et)2(e𝔼(# of Ai that holdt)t.

Proof. Let I={(Ai1,,Aik):Ai1,,Aik are independent}.

𝟙Et1t!(Ai1,,AikI𝟙Ai1Aik(Et)(Ai1,,Aik)I(Ai1Aik)1t!i1,,it(Ai1)(Aik)=1t!(i(Ai))t

Theorem. Assuming that:

  • n2

Then there exists a triangle-free graph G on n vertices with
α(G)Cnlogn.

Proof. Let n be large. Let p=γn for some γ>0. Let GG(n,p), and let G~ be G with a maximal collection of edge disjoint triangles T removed, i.e. G~=GT.

Clearly G~ is triangle-free. We let Q be the event that every set of size k, where k=Cnlogn contains at least pk216 edges. We now consider

(α(G~)k)=(α(G~)kQ)+(α(G~)kQc).

So

(α(G~)k)(α(G~)kQ)()+o(1).

We now union-bound

()nk(I independent in G~Q)=nk(T intersects I in pk216 edges)

PIC

Define {Ti} to be the collection of all triangles that meet I in at least one edge, and define the event Ai={TiG}.

Note that the event Et, where t=pk216, from the lemma holds on the event that T meets I in pk216 edges. This is where we use the fact that we only choose edge-disjoint triangles! By Lemma 2.6, we have

(Et)2(ek2np3t)t(16ek2np3pk2)pk216=(16eγ2)pk216

So

()(16eγ2)pk216(enk)k0,

if γ is chosen to be small and C large.

2.1 Lovasz-Erdős Local Lemma

Lemma 2.7 (Erdos-Lovasz, 70s). Assuming that:

  • F={Ai} is a family of events in a probability space

  • (Ai)1e(Δ+1), where Δ=Δ(G) is the max degree of G

Then
(iAic)>0.

Definition 2.8 (Dependency graph). If F={Ai} is a family of events, a dependency graph G is a graph with vertex set F, with the property that: for all i, the event Ai is independent from {Aj:AjAi}.

Picture:

PIC

Reminder: Ai is independent from {Aj:AjAi} if E is formed by taking intersections of Aj,AjcAi, we have

(AiE)=(Ai)(E).

Theorem (Spencer). R(k)(1+o(1))2ke2k2.

Proof. Let δ>0 and let n=(1δ)2ke2k2. Choose a colouring uniformly at random. For every S[n](k), define the event

AS=S(2) are monochromatic”.

We clearly have (AS)=2k2+1.

Let G be the dependency graph on {AS}S where ASAT if S(2)T(2).

Δ=Δ(G)k2n2k2k4(1n2)nk

We now check:

Δ2k2+12k4(1n2)(enk)k2k2=[(1+o(1))1n2k(ennk2k2)]k.

This 0. So the condition in Local Lemma holds for sufficiently large k.

Remark. This is the best known lower bound for diagonal Ramsey.

Definition 2.9 (k-uniform hypergraph). Say H is a k-uniform hypergraph on vertex set X if HX(k).

Definition 2.10 (Colourable k-uniform hypergraph). Say a k-uniform hypergraph is 2-colourable if there exists χ:X{red,blue} such that there is no monochromatic eH.

PIC

Theorem 2.11. Assuming that:

Then H is 2-colourable.

Proof. We choose our colouring of the ground set X uniformly at random. For each eH, define the event

Ae=e monochromatic”.

We have (Ee)=2k+1. We want 2k+11e(Δ+1). Note if we define our dependency graph G by AeAf if ef, then

Δ(G)dk.

Now just use the bound on d in the hypothesis.

Remark. Actually, our second application implies the first on R(k): just let H be the k2-uniform hypergraph on X=[n](2), defined by

H={S(2):S[n](k)}.

Theorem 2.12 (Lopsided Local Lemma). Assuming that:

  • F={Ai} a family of events

  • x1,,xn(0,1) be such that i,

    (Ai)xiAiAj(1xj)

    (where AiAj denotes adjacency in the dependency graph).

Then
(i=1nAic)i=1n(1xi).

Proof. We use

(AB)=(A|B)(B).

Applying this many times, we have

(i=1nAic)=i=1n(Aic|A1cAi1c)=i=1n(1(Ai|A1cAi1c)xi?)

We will prove that this term is xi by instead proving the more general statement:

()=(Ai | jSAjc)xi,

where S[n]{j}. We prove by induction on |S|.

If S=, then done by hypothesis.

If S, then define

D=jSjiAjc,I=jSjiAjc.

Note that

()=(Ai|DI)=(AiDI)(DI)(AiI)(DI)=(Ai)(I)(DI)=(Ai)(D|I)

Let {Ai1,,Ais} be the events in the intersection D. Then

(D|I)=j=1s(Aijc|IAi1cAij1c)=j=1s(1(Aij|IAi1cAij1c))

If no events in the intersection, then we are already done. Otherwise, we may apply the induction hypothesis to each term to get

(Ai)(D|I)xiji(1xj)j=1s(1xij)xi.

Proof of Local Lemma. Apply Lopsided Local Lemma with weights xi=1Δ+1 for all i. We just need to check that the probability upper bounds in Lopsided Local Lemma hold.

By calculus, we have

(ΔΔ+1)Δ1e.

Hence

(Ai)1e(Δ+1)1Δ+1(ΔΔ+1)Δ=1Δ+1(11Δ+1)Δ1Δ+1AiAj(11Δ+1)

Now we will see another proof of R(3,k)ck2(logk)2, in order to give some intuition as to what kind of situations are good for Local Lemma.

Proof of R(3,k)ck2(logk)2 using Local Lemma. Recall that it is enough to show that for sufficiently large n, there exists a triangle -free graph on n vertices with α(G)Cnlogn.

Set k=Cnlogn, and sample GG(n,p) where p=γn, with γ>0 is chosen later.

Define the events:

  • For each T[n](3), define

    AT=T(2)G.
  • For each I[n](k), define

    BI=I(k) independent in G.

Define the dependency graph G:

  • ATAS for S,T[n](3) if S(2)T(2).

  • ATBI for T[n](3),I[n](k) if S(2)I(2).

  • BIBJ for I,J[n](k) if I(2)J(2).

Now note:

  • The event AT is to 3n AS, S[n](3).

  • The event AT is to 3nk2 BI, I[n](k).

  • The event BI is to k2n AS, S[n](3).

  • The event BI is to k2nk2 BJ, J[n](k).

PIC

We choose xT=2p3 for all T[n](3) (“we want to make it a bit bigger than the probability of it occuring so that we can afford the product stuff”) and xI=n10k for all I[n](k).

Then

xTS[n](3)TS(1xS)I[n](k)IT(1xI)2p3(12p3)3n(1n10k)3nk22p3exp((1+o(1))[2p3(3n)+3n10knk2])=2p3(1+o(1))p3

for large enough n. We have (BI)=(1p)k2epk2, so

xI(12p3)k2n(1n10k)k2nk2n10kexp((1+o(1))[2p3k2n+n10kk2nk2])=n10kexp((1+o(1))(2γ2)pk2)

Note

epk2=exp(γnkCn( log n))=nγCk.

First choose γ small so e2γ2pkepk212, and then choose C1γ, then done.

2.2 Upper bounds on R(3,k)

Theorem 2.13 (Ajtai-Komlos-Szemeredi, 1980s + Shearer 80s). R(3,k)(1+o(1))k2logk.

Theorem 2.14 (Shearer, 1980s). Assuming that:

  • G a triangle-free graph on n vertices

  • max degree d

Then
α(G)(1+o(1))nd(logd),

where o(1)0 as d.

Remark. If we take GG(n,dn) and modify, for dn, one can show that there exist graphs with no triangles and

α(G)(2+o(1))ndlogd.