A cute proof of Rainbow Ramsey Theorem

Just saw this cute little proof of the Rainbow Ramsey Theorem (an Anti-Ramsey-type Theorem). But before that, a colouring χ:[ω]k→ω\chi:[\omega]^{k}\to\omega is called nn-bounded if |χ−1(c)|≤n|\chi^{-1}(c)|\leq n for all colours c∈ωc\in\omega. We say a set H∈[ω]ωH\in[\omega]^{\omega} is rainbow if χ|[H]k\chi|_{[H]^k} is an injection.

Rainbow Ramsey Theorem (𝖱𝖱𝖳nk\textsf{RRT}^k_n). Let k,n∈ωk,n\in\omega with n≥1n\geq 1, for any nn-bounded colouring χ:[ω]k→ω\chi:[\omega]^{k}\to\omega, there exists a set HH which is rainbow under χ\chi.

Proof. It’s a simple special case of the much general Canonical RT (∞\infty-version), but here is a sweet little application of Infinitary RT. Let ≺\prec be a well-ordering on [ω]k[\omega]^k. Consider the colouring COL:[ω]k→nCOL:[\omega]^{k}\to n defined by COL(x):=|{y∈[ω]k:,y≺x and χ(y)=χ(x)}|.COL(x):=|\{y\in[\omega]^k:, y\prec x\text{ and } \chi(y)=\chi(x)\}|.
By 𝖨𝖱𝖳\textsf{IRT}, ∃H∈[ω]ω\exists H\in[\omega]^{\omega} homogeneous under COLCOL. But notice that for distinct x,y∈[H]kx, y\in[H]^{k}, COL(x)=COL(y)COL(x)=COL(y) and either x≺yx\prec y or y≺xy\prec x forces χ(x)≠χ(y)\chi(x)\neq \chi(y) (FTSOC assume χ(x)=χ(y)\chi(x)=\chi(y), then x≺y⟹COL(y)>COL(x)x\prec y\implies COL(y)>COL(x) and y≺x⟹COL(x)>COL(y)y\prec x\implies COL(x)>COL(y), ⇒⇐\Rightarrow\Leftarrow). From this it follows that HH is rainbow under χ\chi.


On Hypergraph Compactness Principle

The proof of General-Finitary Ramsey Theorem as given in Graham et al. sirs’ book is great, but those technical subtleties really kind of clouds the beauty of the Induced-Colouring Method (ICM). I think in the proof of Infinitary Ramsey Theorem, the beauty of ICM is revealed in all its glory. So, the use of compactness principle to conclude the finite version as a corollary of the infinitary version is really sweet. So, in this first blog-post of mine, let’s try to prove the countable (and arbitrary) version of the compactness principle and see how it can be used to transfer the infinitary version to finitary version.

Theorem (Compactness Principle). Let H=(V,E)H=(V,E) be a hypergraph where all X∈EX\in E are finite, then χ(H)>r\chi(H)>r if and only if ∃W∈[V]<ω\exists W\in [V]^{<\omega} such that χ(HW)>r\chi(H_W)>r.

The above is mostly state in the contraposition: If for all finite W⊆VW\subseteq V, χ(HW)≤r\chi(H_W)\leq r (i.e. all finite subhypergraphs of HH are rr-colourable) then χ(H)≤r\chi(H)\leq r (i.e. the hypergraph HH is rr-colourable).

Let us see an alternative version (an enumerable version) of the principle form which the application is easy.

Theorem. Let k∈ℕk\in\mathbb{N} and let ℱ\mathcal{F} be a family of finite subsets of ℕ\mathbb{N}. If for any rr-colouring of [ℕ]k[\mathbb{N}]^k there exists a member FF of ℱ\mathcal{F} such that [F]k[F]^k is monochromatic (we call FF homogeneous), then there exists a least positive integer n0(ℱ,r)n_0(\mathcal{F},r) such that for n≥n0(ℱ,r)n\geq n_0(\mathcal{F},r), any rr-colouring of [n]k[n]^k contains a member of ℱ\mathcal{F} homogeneous under χ\chi.

Let us see how the first implies the second. Indeed, consider the hypergraph H=([ℕ]k,ℱ)H=([\mathbb{N}]^k,\mathcal{F}). As per the condition, for any rr-colouring of vertices of HH, there exists a monochromatic hyperedge, so χ(H)>r\chi(H)>r. So we get that ∃W∈[ℕ]<ω\exists W\in[\mathbb{N}]^{<\omega} such that χ(HW)>r\chi(H_W)>r. Now consider the set of elements of WW, it will contain a largest element, let it be n=n0(ℱ,r)n=n_0(\mathcal{F},r), then for any rr-colouring of HH restricted to vertices [n]k[n]^k, there exists a monochromatic hyperedge, i.e. a homogeneous member of ℱ\mathcal{F}.

Before seeing how the infinite version of Ramsey Theorem imply its finite version, let us first see two proofs of the countable version, and at the end we will see a proof of the arbitrary version, the one involving Zorn’s Lemma (𝖹𝖫\textsf{ZL}).

Proof 1 (Countable). (⇐\Leftarrow) is trivial, so we do the other direction. (⇒\Rightarrow) The case |V|<∞|V|<\infty is tautological, as taking W=VW=V suffices. So let V∼ℕV\sim \mathbb{N}, for simplicity let V=ℕV=\mathbb{N}. FTSOC suppose all finite subhypergraphs of HH are monochrome-avoiding, i.e. χ(HW)≤r\chi(H_W)\leq r for all finite W⊆VW\subseteq V. Now we will form an infinite, finitely branching rooted tree and use König’s lemma. We grow a tree TT as follows: Let ⌀\varnothing be the root, there is an edge between the root and all monochrome-avoiding rr-colourings [1]→[r][1]\to[r]. For n∈ℕn\in\mathbb{N}, there is an edge between a monochrome-avoiding rr-colouring cn:[n]→[r]c_n:[n]\to[r] and a monochrome-avoiding rr-colouring cn+1:[n+1]→[r]c_{n+1}:[n+1]\to[r] if cn+1|[n]=cnc_{n+1}|_{[n]}=c_n. Now it can easily be seen that TT is an infinite, finitely branching rooted tree. By König’s Lemma it follows that TT has an infinite branch, let it be (c1∘,c2∘,…)(c^{\circ}_1,c^{\circ}_2,\dots), this induces an rr-colouring on ℕ\mathbb{N} as c∗:ℕ→[r]c^*:\mathbb{N}\to[r] defined by c∗|[n]=cn∘c^*|_{[n]}=c^{\circ}_n for n∈ℕn\in\mathbb{N}. But for this colouring HH is monochrome-avoiding, i.e. it does not have any monochromatic hyperedges, indeed suppose it did have a monochromatic hyperedge, as the hyperedges are finite we may select the largest integer tt such that tt is in the monochromatic hyperedge, but then χ(ct∘)>r\chi(c^{\circ}_t)>r, which would be a contradiction. Thus we get that HH is monochrome-avoiding for the colouring, i.e. χ(H)≤r\chi(H)\leq r, contradiction. □\square

Proof 2 (Countable). Now a proof of essentially the same idea, only that it neatly avoids weak 𝖠𝖢\textsf{AC}. Again let V=ℕV=\mathbb{N}. FTSOC assume χ(HW)≤r\chi(H_W)\leq r for all W∈[ℕ]<ωW\in[\mathbb{N}]^{<\omega}. Then for all n∈ℕn\in\mathbb{N}, there exists a colouring χn:[n]→[r]\chi_n:[n]\to[r] so that no W∈EW\in E and W⊆[n]W\subseteq [n] is monochromatic. We then define a function χ∗:ℕ→[r]\chi^*:\mathbb{N}\to[r] by induction (a different way of defining this function which will avoid weak 𝖠𝖢\textsf{AC}). We have that among {χ1(1),χ2(1),…}\{\chi_1(1),\chi_2(1),\dots\}, by IPHP, there exists a colour c1∈[r]c_1\in[r] such that it occurs infinitely many times in the set, we set χ∗(1):=c1\chi^*(1):=c_1, and S1S_1 as all colourings χj\chi_j with χj(1)=c1\chi_j(1)=c_1. Now in the set of colours {χj(2):χj∈S1}\{\chi_j(2):\,\chi_j\in S_1\}, by IPHP, there exists a colour c2∈[r]c_2\in[r] which occurs infinitely many times, let χ∗(2):=c2\chi^*(2):=c_2 and S2S_2 be the set of colours χj∈S1\chi_j\in S_1 with χj(2)=c2\chi_j(2)=c_2. Continuing this way, suppose we have Si−1S_{i-1}, in the set of colours {χj(i):χj∈Sj−1}\{\chi_j(i):\,\chi_j\in S_{j-1}\}, by IPHP, there exists a colour ci∈[r]c_i\in[r] which occurs infinitely many times, let χ∗(i):=ci\chi^*(i):=c_i and SiS_i be the set of colours χj∈Si−1\chi_j\in S_{i-1} with χj∗(i)=ci\chi_j^*(i)=c_i. Notice how the idea of iteratively building χ∗\chi^* is same as the earlier proof, only that here we use a sequence of monochrome-avoiding colourings χn\chi_n instead of considering all monochrome-avoiding colourings for each [n][n], n∈ℕn\in\mathbb{N}. Now it’s clear that χ∗\chi^* is the desired rr-colouring of HH for which χ(H)≤r\chi(H)\leq r. Indeed, let S={v1,…,vm}<∈ES=\{v_1,\dots,v_m\}_<\in E, considering SvmS_{v_m}, we have that for i∈[vm],i\in[v_m], χ∗(i)=χj(i)\chi^*(i)=\chi_j(i) for all χj∈Svm\chi_j\in S_{v_m}, as SS is not monochromatic under χj\chi_j, so is it not monochromatic under χ∗\chi^*. As S∈ES\in E is any arbitrary finite edge, we get that χ∗\chi^* is a monochrome-avoiding rr-colouring of HH, i.e. χ(H)≤r\chi(H)\leq r, contradiction. □\square

Now let us see how infinitary Ramsey Theorem implies the finitary version. But before that, let us state the two theorems (or principles).

Theorem (Infinitary Ramsey Theorem). For k,r∈ℕk,r\in\mathbb{N}, any S∈[ℕ]ωS\in[\mathbb{N}]^{\omega}, and any rr-colouring χ:[S]k→[r]\chi:[S]^{k}\to[r], there exists H∈[S]ωH\in[S]^{\omega} such that HH is homogeneous under χ\chi.

Theorem (Finitary Ramsey Theorem). For r,k,m∈ℕr,k,m\in\mathbb{N}, there exists n∈ℕn\in\mathbb{N} such that for any rr-colouring χ:[n]k→[r]\chi:[n]^k\to[r], there exists H∈[n]mH\in[n]^m homogeneous under χ\chi.

We use the second version of compactness principle on the family ℱ:={[S]k:S∈[ℕ]m}\mathcal{F}:=\{[S]^k:\,S\in[\mathbb{N}]^m\}. It can easily be then seen that the infinitary version then implies the finitary version.

Now we give a proof of the arbitrary case, assume VV is not countable. Let us state 𝖹𝖥\textsf{ZF} for the sake of completeness.

Zorn’s Lemma (𝖹𝖫\textsf{ZL}). If PP is a non-empty poset and every chain of it has an upperbound, then PP contains a maximal element (an element x∈Px\in P such that x≤y⇒x=yx\leq y \Rightarrow x=y).

𝖹𝖫\textsf{ZL} is equivalent to 𝖠𝖢\textsf{AC}, but we don’t show it here and just use it.

Proof (Arbitrary). We prove the contraposition, i.e. for all W∈[V]<ωW\in[V]^{<\omega}, χ(HW)≤r⟹χ(H)≤r\chi(H_W)\leq r\implies \chi(H)\leq r. Suppose HH having the property that all its finite subhypergraphs are rr-colourable is denoted by P(H)P(H). Consider the set of extensions of HH all having the said property, i.e. S:={(V,F):F⊆E,P((V,F))}S:=\Big\{(V,F):\, F\subseteq E,\, P\big((V,F)\big)\Big\}. Consider the poset structure on SS by hyperedge-inclusion, 𝔖=(S,⊆hyperedge)\mathfrak{S}=(S,\subseteq_{\text{hyperedge}}). For any chain {Ai}i∈I\{A_i\}_{i\in I} in 𝔖\mathfrak{S}, we have that (V,⋃i∈IE(Ai))∈𝔖\bigg(V,\bigcup_{i\in I}E(A_i)\bigg)\in\mathfrak{S}, indeed suppose it was not, then some hyperedge of it is monochromatic, now the hyperedges are finite so taking large enough AiA_i gives us χ(Ai)>r\chi(A_i)>r, contradiction. So we get that every chain in 𝔖\mathfrak{S} has an upperbound. By 𝖹𝖫\textsf{ZL} it follows that 𝔖\mathfrak{S} contains a maximal element, let it be MM, and it satisfies P(M)P(M). So MM being maximal implies that any addition of hyperedge would hinder property PP. Now we consider the non-adjacency relation, denoted by ¬𝖺𝖽𝗃\neg\textsf{adj}, between the vertices as: distinct a,b∈Va,b\in V, then a¬𝖺𝖽𝗃b⟹a\,\neg\textsf{adj}\,b\implies a,ba,b don’t lie in any hyperedge in FF, we consider a¬𝖺𝖽𝗃aa\,\neg\textsf{adj}\, a (it will be clear soon why so). We will show that the non-adjacency relation is an equivalence relation. Indeed, reflexivity and symmetricity are trivial, so we show transitivity, a¬𝖺𝖽𝗃ba\,\neg\textsf{adj}\, b and b¬𝖺𝖽𝗃cb\,\neg\textsf{adj}\, c implies a¬𝖺𝖽𝗃ca\,\neg\textsf{adj}\, c. Indeed, assume a¬𝖺𝖽𝗃ba\,\neg\textsf{adj}\, b and b¬𝖺𝖽𝗃cb\,\neg\textsf{adj}\, c. Now consider all subhypergraphs of MM containing a,ba,b, we get that there must exist a subhypergraph MabM_{ab} which has in all its rr-colouring aa and bb of same colour, as otherwise if there are no such subhypergraphs, then there must be a colouring with aa and bb different, we may then add an hyperedge containing a,ba,b, contradicting the maximality of MM. Similarly we get the existence of a subhypergraph MbcM_{bc} which has in all its rr-colouring bb and cc of same colour. Now consider the subhypergraph Mab∪MbcM_{ab}\cup M_{bc}, it is finite and so is rr-colourable, and it contains subhypergraphs as MabM_{ab} and MbcM_{bc}, so by construction we get that (a,b)(a,b) and (b,c)(b,c) receives same colour for all rr-colouring of it, and hence a¬𝖺𝖽𝗃ca\,\neg\textsf{adj}\, c (this same colouring idea is why we defined a¬𝖺𝖽𝗃aa\,\neg\textsf{adj}\, a). As non-adjacency is an equivalence relation in MM, we get that adjacency is an equivalent relation in the hyperedge-complement of MM, say M∘M^{\circ}. So we get that M∘M^{\circ} comprises of disjoint complete subhypergraphs KjhK^h_j‘s. If there are more than rr many KihK^h_i‘s, then we may select r+1r+1 distinct vertices from V(Kih),V(K^h_i),they being non-adjacent in M∘M^{\circ} implies they being adjacent in MM, forcing MM to be not rr-colourable, contradiction (we have rr many colours but r+1r+1 many adjacent vertices). Thus we have at most rr many KihK^h_i‘s, we may colour each of them with different colours, then it is a proper rr-colouring of MM as they were all adjacent in M∘M^{\circ} and hence non-adjacent in MM, thus we get χ(M)≤r\chi(M)\leq r. As HH is but a subhypergraph of MM, so taking restriction gives us χ(H)≤r\chi(H)\leq r. □\square