This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Gallai-Ramsey numbers for monochromatic K4+K_{4}^{+} or K3K_{3}

Xueli Su, Yan Liu
School of Mathematical Sciences, South China Normal University,
Guangzhou, 510631, P.R. China
This work is supported by the Scientific Research Fund of the Science and Technology Program of Guangzhou, China (authorized in 2019) and by the Qinghai Province Natural Science Foundation£¨No.2020-ZJ-924). Correspondence should be addressed to Yan Liu(e-mail:liuyan@scnu.edu.cn)
Abstract

A Gallai kk-coloring is a kk-edge coloring of a complete graph in which there are no rainbow triangles. For two given graphs H,GH,G and two positive integers k,sk,s with that sks\leq k, the kk-colored Gallai-Ramsey number grk(K3:sH,(ks)G)gr_{k}(K_{3}:s\cdot H,\leavevmode\nobreak\ (k-s)\cdot G) is the minimum integer nn such that every Gallai kk-colored KnK_{n} contains a monochromatic copy of HH colored by one of the first ss colors or a monochromatic copy of GG colored by one of the remaining ksk-s colors. In this paper, we determine the value of Gallai-Ramsey number in the case that H=K4+H=K_{4}^{+} and G=K3G=K_{3}. Thus the Gallai-Ramsey number grk(K3:K4+)gr_{k}(K_{3}:K_{4}^{+}) is obtained.

Key words: Gallai coloring, Rainbow triangle, Gallai-Ramsey number, Gallai partition.

1 Introduction

All graphs considered in this paper are finite, simple and undirected. For a graph GG, we use |G||G| to denote the number of vertices of GG, say the order of GG. The complete graph of order nn is denoted by KnK_{n}. For a subset SV(G)S\subseteq V(G), let G[S]G[S] be the subgraph of GG induced by SS. For two disjoint subsets AA and BB of V(G)V(G), EG(A,B)={abE(G)|aA,bB}E_{G}(A,B)=\{ab\in E(G)\leavevmode\nobreak\ |\leavevmode\nobreak\ a\in A,b\in B\}. Let G1=(V1,E1)G_{1}=(V_{1},E_{1}) and G2=(V2,E2)G_{2}=(V_{2},E_{2}) be two graphs. The union of G1G_{1} and G2G_{2}, denoted by G1+G2G_{1}+G_{2}, is the graph with the vertex set V1V2V_{1}\bigcup V_{2} and the edge set E1E2E_{1}\bigcup E_{2}. The join of G1G_{1} and G2G_{2}, denoted by G1G2G_{1}\vee G_{2}, is the graph obtained from G1+G2G_{1}+G_{2} by adding all edges joining each vertex of G1G_{1} and each vertex of G2G_{2}. For any positive integer kk, we write [k][k] for the set {1,2,,k}\{1,2,\cdots,k\}. An edge coloring of a graph is called monochromatic if all edges are colored by the same color. An edge-colored graph is called rainbow if no two edges are colored by the same color.

Given graphs H1H_{1} and H2H_{2}, the classical Ramsey number R(H1,H2)R(H_{1},H_{2}) is the smallest integer nn such that for any 2-edge coloring of KnK_{n} with red and blue, there exists a red copy of H1H_{1} or a blue copy of H2H_{2}. A sharpness example of the Ramsey number R(H1,H2)R(H_{1},H_{2}), denoted by C(H1,H2)C_{(H_{1},H_{2})}, is a 2-edge colored KR(H1,H2)1K_{R(H_{1},H_{2})-1} with red and blue such that there are neither red copies of H1H_{1} nor blue copies of H2H_{2}. Given graphs H1,H2,,HkH_{1},H_{2},\cdots,H_{k}, the multicolor Ramsey number R(H1,H2,,Hk)R(H_{1},H_{2},\cdots,H_{k}) is the smallest positive integer nn such that for every kk-edge colored KnK_{n} with the color set [k][k], there exists some i[k]i\in[k] such that KnK_{n} contains a monochromatic copy of HiH_{i} colored by ii. The multicolor Ramsey number is an obvious generalization of the classical Ramsey number. When H=H1==HkH=H_{1}=\cdots=H_{k}, we simply denote R(H1,,Hk)R(H_{1},\cdots,H_{k}) by Rk(H)R_{k}(H). The problem about computing Ramsey numbers is notoriously difficult. For more information on classical Ramsey number, we refer the readers to  [5, 6, 10]. In this paper, we study Ramsey number in Gallai-coloring. A Gallai-coloring is an edge coloring of a complete graph with no rainbow triangle. Gallai-coloring naturally arises in several areas including: information theory [14]; the study of partially ordered sets, as in Gallai’s original paper [9] (his result was restated in [12] in the terminology of graphs); and the study of perfect graphs [2]. More information on this topic can be found in [7, 8]. A Gallai kk-coloring is a Gallai-coloring that uses at most kk colors. Given a positive integer kk and graphs H1,H2,,HkH_{1},H_{2},\cdots,H_{k}, the Gallai-Ramsey number grk(K3:H1,H2,,Hk)gr_{k}(K_{3}:H_{1},H_{2},\cdots,H_{k}) is the smallest integer nn such that every Gallai kk-colored KnK_{n} contains a monochromatic copy of HiH_{i} in color ii for some i[k]i\in[k]. Clearly, grk(K3:H1,H2,,Hk)R(H1,H2,,Hk)gr_{k}(K_{3}:H_{1},H_{2},\cdots,H_{k})\leq R(H_{1},H_{2},\cdots,H_{k}) for any kk and gr2(K3:H1,H2)=R(H1,H2)gr_{2}(K_{3}:H_{1},H_{2})=R(H_{1},H_{2}). When H=H1==HkH=H_{1}=\cdots=H_{k}, we simply denote grk(K3:H1,H2,,Hk)gr_{k}(K_{3}:H_{1},H_{2},\cdots,H_{k}) by grk(K3:H)gr_{k}(K_{3}:H). When H=H1==Hs(0sk)H=H_{1}=\cdots=H_{s}(0\leq s\leq k) and G=Hs+1==HkG=H_{s+1}=\cdots=H_{k}, we use the following shorthand notation

grk(K3:sH,(ks)G)=grk(K3:H,,Hstimes,G,,G(ks)times).gr_{k}(K_{3}:s\cdot H,(k-s)\cdot G)=gr_{k}(K_{3}:\underbrace{H,\cdots,H}_{s\leavevmode\nobreak\ \text{times}},\underbrace{G,\cdots,G}_{(k-s)\leavevmode\nobreak\ \text{times}}).

The authors in [15] and [17] determined the Gallai-Ramsey number grk(K3:sK4,(ks)K3)gr_{k}(K_{3}:s\cdot K_{4},(k-s)\cdot K_{3}) and grk(K3:sK3,(ks)C4)gr_{k}(K_{3}:s\cdot K_{3},(k-s)\cdot C_{4}), respectively. In this paper, we investigate the Gallai-Ramsey number grk(K3:sK4+,(ks)K3),gr_{k}(K_{3}:s\cdot K_{4}^{+},(k-s)\cdot K_{3}), where K4+=K1(K3+K1)K_{4}^{+}=K_{1}\vee(K_{3}+K_{1}). We will prove the following result in Section 2.

Theorem 1.

Let kk be a positive integer and ss an integer such that 0sk0\leq s\leq k. Then

grk(K3:sK4+,(ks)K3)={17s25ks2+1,if s and (ks) are both even,217s25ks12+1,if s is even and (ks) is odd,417k12+1,if s=k and k is odd,817s125ks12+1,if s and (ks) are both odd,1617s125ks22+1,if s<k and s is odd and (ks) is even.gr_{k}(K_{3}:s\cdot K_{4}^{+},(k-s)\cdot K_{3})=\begin{cases}17^{\frac{s}{2}}\cdot 5^{\frac{k-s}{2}}+1,&\text{if $s$ and $(k-s)$ are both even,}\\ 2\cdot 17^{\frac{s}{2}}\cdot 5^{\frac{k-s-1}{2}}+1,&\text{if $s$ is even and $(k-s)$ is odd,}\\ 4\cdot 17^{\frac{k-1}{2}}+1,&\text{if $s=k$ and $k$ is odd,}\\ 8\cdot 17^{\frac{s-1}{2}}\cdot 5^{\frac{k-s-1}{2}}+1,&\text{if $s$ and $(k-s)$ are both odd,}\\ 16\cdot 17^{\frac{s-1}{2}}\cdot 5^{\frac{k-s-2}{2}}+1,&\text{if $s<k$ and $s$ is odd and $(k-s)$ is even.}\end{cases}

When s=ks=k and s=0s=0, we can get the following Theorem 2 and Theorem 3 from Theorem 1, respectively. So Theorem 2 and Theorem 3 can be seen as two corollaries obtained from Theorem 1.

Theorem 2.

For a positive integer kk,

grk(K3:K4+)={17k2+1,if k is even,417k12+1,if k is odd.gr_{k}(K_{3}:K_{4}^{+})=\begin{cases}17^{\frac{k}{2}}+1,&\text{if $k$ is even,}\\ 4\cdot 17^{\frac{k-1}{2}}+1,&\text{if $k$ is odd.}\end{cases}
Theorem 3.

[3, 11] For a positive integer kk,

grk(K3:K3)={5k2+1,if k is even,25k12+1,if k is odd.gr_{k}(K_{3}:K_{3})=\begin{cases}5^{\frac{k}{2}}+1,&\text{if $k$ is even,}\\ 2\cdot 5^{\frac{k-1}{2}}+1,&\text{if $k$ is odd.}\end{cases}

To prove Theorem 1, the following theorem is useful.

Theorem 4.

[9, 12, 1] (Gallai-partition) For any Gallai-coloring of a complete graph GG, there exists a partition of V(G)V(G) into at least two parts such that there are at most two colors on the edges between the parts and only one color on the edges between each pair of parts. The partition is called a Gallai-partition.

Given a Gallai-partition (V1,V2,,Vt)(V_{1},V_{2},\cdots,V_{t}) of a Gallai-colored complete graph GG, let Hi=G[Vi]H_{i}=G[V_{i}], hiVih_{i}\in V_{i} for each i[t]i\in[t] and R=G[{h1,h2,,ht}]R=G\left[\{h_{1},h_{2},\cdots,h_{t}\}\right]. Then RR is said to be the reduced graph of GG corresponding to the given Gallai-partition. By Theorem 4, all edges in the reduced graph RR are colored at most two colors.

2 Proof of Theorem 1

First, recall some known classical Ramsey numbers of K4+K_{4}^{+} and K3K_{3}.

Lemma 2.1.

[4, 13, 16]

R(K3,K3)=6,R(K4+,K3)=R(K3,K4+)=9,R(K4+,K4+)=18.\displaystyle R(K_{3},K_{3})=6,\leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ R(K_{4}^{+},K_{3})=R(K_{3},K_{4}^{+})=9,\leavevmode\nobreak\ \leavevmode\nobreak\ \leavevmode\nobreak\ R(K_{4}^{+},K_{4}^{+})=18.

For the sake of notation, now we define functions fif_{i} for i[5]i\in[5] as follows.

f1(k,s)\displaystyle f_{1}(k,s) =17s25ks2,\displaystyle=17^{\frac{s}{2}}\cdot 5^{\frac{k-s}{2}},
f2(k,s)\displaystyle f_{2}(k,s) =217s25ks12,\displaystyle=2\cdot 17^{\frac{s}{2}}\cdot 5^{\frac{k-s-1}{2}},
f3(k,s)\displaystyle f_{3}(k,s) =417k12,\displaystyle=4\cdot 17^{\frac{k-1}{2}},
f4(k,s)\displaystyle f_{4}(k,s) =817s125ks12,\displaystyle=8\cdot 17^{\frac{s-1}{2}}\cdot 5^{\frac{k-s-1}{2}},
f5(k,s)\displaystyle f_{5}(k,s) =1617s125ks22.\displaystyle=16\cdot 17^{\frac{s-1}{2}}\cdot 5^{\frac{k-s-2}{2}}.

Let

f(k,s)={f1(k,s),if s and (ks) are both even,f2(k,s),if s is even and (ks) is odd,f3(k,s),if s=k and k is odd,f4(k,s),if s and (ks) are both odd,f5(k,s),if s<ks is odd and (ks) is even.f(k,s)=\begin{cases}f_{1}(k,s),&\text{if $s$ and $(k-s)$ are both even,}\\ f_{2}(k,s),&\text{if $s$ is even and $(k-s)$ is odd,}\\ f_{3}(k,s),&\text{if $s=k$ and $k$ is odd,}\\ f_{4}(k,s),&\text{if $s$ and $(k-s)$ are both odd,}\\ f_{5}(k,s),&\text{if $s<k$, $s$ is odd and $(k-s)$ is even.}\end{cases}

It is easy to check that

2f(k1,s)\displaystyle 2f(k-1,s) =\displaystyle= {2f2(k1,s),if s and (ks) are both even,2f1(k1,s),if s is even and (ks) is odd,2f3(k1,s),if s=k1 and k is even,(1)2f5(k1,s),if s<k1s and (ks) are both odd,2f4(k1,s),if s is odd and (ks) is even\displaystyle\begin{cases}2f_{2}(k-1,s),&\text{if $s$ and $(k-s)$ are both even,}\\ 2f_{1}(k-1,s),&\text{if $s$ is even and $(k-s)$ is odd,}\\ 2f_{3}(k-1,s),&\text{if $s=k-1$ and $k$ is even,}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (1)\\ 2f_{5}(k-1,s),&\text{if $s<k-1$, $s$ and $(k-s)$ are both odd,}\\ 2f_{4}(k-1,s),&\text{if $s$ is odd and $(k-s)$ is even}\\ \end{cases}
\displaystyle\leq f(k,s),\displaystyle f(k,s),
5f(k2,s)\displaystyle 5f(k-2,s) =\displaystyle= {5f1(k2,s),if s and (ks) are both even,5f2(k2,s),if s is even and (ks) is odd,5f3(k2,s),if s=k2 and k is odd,(2)5f4(k2,s),if s and (ks) are both odd,5f5(k2,s),if s<k2 and s is odd and (ks) is even\displaystyle\begin{cases}5f_{1}(k-2,s),&\text{if $s$ and $(k-s)$ are both even,}\\ 5f_{2}(k-2,s),&\text{if $s$ is even and $(k-s)$ is odd,}\\ 5f_{3}(k-2,s),&\text{if $s=k-2$ and $k$ is odd,}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (2)\\ 5f_{4}(k-2,s),&\text{if $s$ and $(k-s)$ are both odd,}\\ 5f_{5}(k-2,s),&\text{if $s<k-2$ and $s$ is odd and $(k-s)$ is even}\\ \end{cases}
\displaystyle\leq f(k,s),\displaystyle f(k,s),

and the following inequations hold.

f(k1,s1)516f(k,s),f(k-1,s-1)\leq\frac{5}{16}f(k,s), (3)
f(k2,s1)18f(k,s),f(k-2,s-1)\leq\frac{1}{8}f(k,s), (4)
f(k,s1)+f(k1,s1)f(k,s).f(k,s-1)+f(k-1,s-1)\leq f(k,s). (5)

Now we prove Theorem 1.

Proof. We first prove that grk(K3:sK4+,(ks)K3)f(k,s)+1gr_{k}(K_{3}:s\cdot K_{4}^{+},(k-s)\cdot K_{3})\geq f(k,s)+1 by constructing a Gallai kk-colored complete graph with order f(k,s)f(k,s) which contains neither monochromatic copy of K4+K_{4}^{+} colored by one of the first ss colors nor monochromatic copy of K3K_{3} colored by one of the remaining ksk-s colors. For this construction, we use the sharpness example of classical Ramsey results. Let Q1=C(K3,K3)Q_{1}=C_{(K_{3},K_{3})}, Q2=C(K4+,K4+)Q_{2}=C_{(K_{4}^{+},K_{4}^{+})} and Q3=C(K4+,K3)Q_{3}=C_{(K_{4}^{+},K_{3})}. Then by Lemma 2.1, Q1Q_{1} is a 2-edge colored K5K_{5}, Q2Q_{2} is a 2-edge colored K17K_{17} and Q3Q_{3} is a 2-edge colored K8K_{8}. We construct our sharpness example by taking blow-ups of these sharpness examples Qi(i{1,2,3})Q_{i}\leavevmode\nobreak\ (i\in\{1,2,3\}). A blow-up of an edge-colored graph GG on a graph HH is a new graph obtained from GG by replacing each vertex of GG with HH and replacing each edge ee of GG with a monochromatic complete bipartite graph (V(H),V(H))(V(H),V(H)) in the same color with ee. By induction, suppose that we have constructed G0,G1,,GiG_{0},G_{1},\cdots,G_{i}, where G0G_{0} be a single vertex and GiG_{i} is colored by the color set [i][i] such that GiG_{i} has no monochromatic copy of K4+K_{4}^{+} colored by one of the first ss colors and no monochromatic copy of K3K_{3} colored by one of the remaining isi-s colors. If i=ki=k, then the construction is completed. Otherwise, we consider the following cases.

Case a. If is2i\leq s-2, then construct Gi+2G_{i+2} by a blow-up of Q2Q_{2} colored by the two colors i+1i+1 and i+2i+2 on GiG_{i}. Then Gi+2G_{i+2} has no monochromatic copy K4+K_{4}^{+} in the first i+2i+2 colors.

Case b. If i=s1i=s-1 and k=sk=s, then construct Gi+1G_{i+1} by a blow-up of K4K_{4} colored by the color i+1i+1 on GiG_{i}. Then Gi+1G_{i+1} has no monochromatic copy K4+K_{4}^{+} in the first i+1i+1 colors.

Case c. If i=s1i=s-1 and k>sk>s, then construct Gi+2G_{i+2} by a blow-up of Q3Q_{3} colored by the two colors i+1i+1 and i+2i+2 on GiG_{i}. Then Gi+2G_{i+2} contains neither monochromatic copy of K4+K_{4}^{+} colored by one of the first i+1i+1 colors nor monochromatic copy of K3K_{3} colored by the color i+2i+2.

Case d. If isi\geq s and i=k1i=k-1, then construct Gi+1G_{i+1} by a blow-up of K2K_{2} colored by the color i+1i+1 on GiG_{i}. Then Gi+1G_{i+1} contains neither monochromatic copy of K4+K_{4}^{+} colored by one of the first ss colors nor monochromatic copy of K3K_{3} colored by one of the remaining ksk-s colors.

Case e. If isi\geq s and ik2i\leq k-2, then construct Gi+2G_{i+2} by a blow-up of Q1Q_{1} colored by the two colors i+1i+1 and i+2i+2 on GiG_{i}. Then Gi+2G_{i+2} contains neither monochromatic copy of K4+K_{4}^{+} colored by one of the first ss colors nor monochromatic copy of K3K_{3} colored by one of the remaining i+2si+2-s colors.

By the above construction, it is clear that GkG_{k} is Gallai kk-colored and contains neither monochromatic copy of K4+K_{4}^{+} in any of the first ss colors nor monochromatic copy of K3K_{3} in any of the remaining ksk-s colors. If ss and ksk-s are both even, then by Case a, we can first construct GsG_{s} of order 17s217^{\frac{s}{2}}. Next by Case e, we continue to construct Gs+2,Gs+4,,GkG_{s+2},G_{s+4},\cdots,G_{k}. So we can get |Gk|=f1(k,s)|G_{k}|=f_{1}(k,s). If ss is even and ksk-s is odd, then by Case a, we can first construct GsG_{s} of order 17s217^{\frac{s}{2}}. Next by Case e, we continue to construct Gs+2,Gs+4,,Gk1G_{s+2},G_{s+4},\cdots,G_{k-1} and we can get |Gk1|=17s25ks12|G_{k-1}|=17^{\frac{s}{2}}\cdot 5^{\frac{k-s-1}{2}}. Finally by Case d, we can construct GkG_{k} of order f2(k,s)f_{2}(k,s). Similarly, we can get that |Gk|=f(k,s)|G_{k}|=f(k,s) in the remaining three cases. Therefore,

grk(K3:sK4+,(ks)K3)f(k,s)+1.gr_{k}(K_{3}:s\cdot K_{4}^{+},(k-s)\cdot K_{3})\geq f(k,s)+1.

Now we prove that grk(K3:sK4+,(ks)K3)f(k,s)+1gr_{k}(K_{3}:s\cdot K_{4}^{+},(k-s)\cdot K_{3})\leq f(k,s)+1 by induction on k+sk+s. Let n=f(k,s)+1n=f(k,s)+1 and GG be a Gallai kk-colored complete graph of order nn. The statement is trivial in the case that k=1k=1. The statement holds in the case that k=2k=2 by Lemma 2.1. The statement holds in the case that s=0s=0 by Theorem 3. So we can assume that s1s\geq 1 and k3k\geq 3, and the statement holds for any ss^{{}^{\prime}} and kk^{{}^{\prime}} such that s+k<s+ks^{{}^{\prime}}+k^{{}^{\prime}}<s+k. Then f(k,s)16f(k,s)\geq 16 and n17n\geq 17. Suppose, to the contrary, that GG contains neither monochromatic copy of K4+K_{4}^{+} in any of the first ss colors nor monochromatic copy of K3K_{3} in any of the remaining ksk-s colors. By Theorem 4, there exists a Gallai-partition of V(G)V(G). Choose a Gallai-partition with the smallest number of parts, say (V1,V2,,Vt)(V_{1},V_{2},\cdots,V_{t}) and let Hi=G[Vi]H_{i}=G[V_{i}] for i[t]i\in[t]. Then t2t\geq 2. Choose one vertex hiVih_{i}\in V_{i} and set R=G[{h1,h2,,ht}]R=G[\{h_{1},h_{2},\cdots,h_{t}\}]. Then RR is a reduced graph of GG colored by at most two colors.

We first consider the case that t=2t=2. W.L.O.G, suppose that the color on the edges between two parts is red. If red is in the last ksk-s colors (so s<ks<k), then H1H_{1} and H2H_{2} both have no red edges, otherwise, there exists a red K3K_{3}, a contradiction. Hence |Hi|grk1(K3:sK4+,(ks1)K3)1|H_{i}|\leq gr_{k-1}(K_{3}:s\cdot K_{4}^{+},(k-s-1)\cdot K_{3})-1 for each i[2]i\in[2]. By the induction hypothesis and (1),

|G|=|H1|+|H2|2f(k1,s)f(k,s)<n,|G|=|H_{1}|+|H_{2}|\leq 2f(k-1,s)\leq f(k,s)<n,

a contradiction. If red is in the first ss colors (W.L.O.G, suppose that red is the ssth color), then H1H_{1} has no red edges or H2H_{2} has no red edges, otherwise, there exists a red K4+K_{4}^{+} in GG, a contradiction. W.L.O.G, suppose that H1H_{1} has no red edges. Then |H1|grk1(K3:(s1)K4+,(ks)K3)1|H_{1}|\leq gr_{k-1}(K_{3}:(s-1)\cdot K_{4}^{+},(k-s)\cdot K_{3})-1. If H2H_{2} has a red K3K_{3}, then we can find a red K4+K_{4}^{+} in GG, a contradiction. Hence H2H_{2} contains no monochromatic copy of K4+K_{4}^{+} in any of the first s1s-1 colors and no monochromatic copy of K3K_{3} in any of the remaining (ks+1)(k-s+1) colors. Hence |H2|grk(K3:(s1)K4+,(ks+1)K3)1|H_{2}|\leq gr_{k}(K_{3}:(s-1)\cdot K_{4}^{+},(k-s+1)\cdot K_{3})-1. By the induction hypothesis and (5), we get that

|G|=|H1|+|H2|f(k1,s1)+f(k,s1)f(k,s)<n,|G|=|H_{1}|+|H_{2}|\leq f(k-1,s-1)+f(k,s-1)\leq f(k,s)<n,

a contradiction.

Then we can assume that t3t\geq 3 and since tt is smallest, RR is colored by exactly two colors. Suppose that the two colors appeared in the Gallai-partition (V1,V2,,Vt)(V_{1},V_{2},\cdots,V_{t}) are red and blue, that is, the reduced graph RR is colored by red and blue. If the edge hihjh_{i}h_{j} is red in RR, then hjh_{j} is said to be a red neighbor of hih_{i}. Let Nr(hi)={N_{r}(h_{i})=\{all red neighbors of hi}h_{i}\}, named the red neighborhood of hih_{i}, and Nb(hi)N_{b}(h_{i}) be the blue neighborhood of hih_{i} symmetrically. For each vertex hiV(R)h_{i}\in V(R) (i[t])(i\in[t]), let dr(hi)=|Nr(hi)|d_{r}(h_{i})=|N_{r}(h_{i})|, named the red degree of hih_{i} in RR, and db(hi)d_{b}(h_{i}) be the blue degree of hih_{i} in RR. Then dr(hi)+db(hi)=t1d_{r}(h_{i})+d_{b}(h_{i})=t-1. If there exists one part (say V1V_{1}) such that all edges joining V1V_{1} to the other parts are colored by the same color, then we can find a new Gallai-partition with two parts (V1,V2Vt)(V_{1},V_{2}\bigcup\cdots\bigcup V_{t}), which contradicts with that tt is smallest. It follows that t3t\neq 3 and the following fact holds.

Fact 1.

For any hiV(R)h_{i}\in V(R), we have that dr(hi)1d_{r}(h_{i})\geq 1 and db(hi)1d_{b}(h_{i})\geq 1.

Now we can assume that t4t\geq 4. We consider the following three cases.

Case 1.

Both red and blue are in the last ksk-s colors (so sk2s\leq k-2).

This means that there is neither red K3K_{3} nor blue K3K_{3} in GG. Since R(K3,K3)=6R(K_{3},K_{3})=6, we have t5t\leq 5. By Fact 1, HiH_{i} contains neither red edges nor blue edges for each ii. Then |Hi|grk2(K3:sK4+,(ks2)K3)1|H_{i}|\leq gr_{k-2}(K_{3}:s\cdot K_{4}^{+},(k-s-2)\cdot K_{3})-1 for 1it1\leq i\leq t. By the induction hypothesis and (2), we get that

|G|=i=1t|Hi|tf(k2,s)5f(k2,s)f(k,s)<n,\displaystyle|G|=\sum_{i=1}^{t}|H_{i}|\leq t\cdot f(k-2,s)\leq 5f(k-2,s)\leq f(k,s)<n,

a contradiction.

Now we only consider the case that red or blue are in the first ss colors in the following. Then we have the following Facts.

Fact 2.

If red is in the first ss colors, then for any p[t1]p\in[t-1] and any pp parts Vj1,,VjpV_{j_{1}},\cdots,V_{j_{p}}, G[Vj1Vjp]G[V_{j_{1}}\cup\cdots\cup V_{j_{p}}] has no red K4K_{4}, and the statement holds for blue symmetrically.

Otherwise, suppose that there is a red K4K_{4} in G[Vj1Vjp]G[V_{j_{1}}\cup\cdots\cup V_{j_{p}}]. If there exists one red edge in EG(Vj1Vjp,V(G)(Vj1Vjp))E_{G}(V_{j_{1}}\cup\cdots\cup V_{j_{p}},V(G)\setminus(V_{j_{1}}\cup\cdots\cup V_{j_{p}})), then GG contains a red K4+K_{4}^{+}, a contradiction. It follows that all edges in EG(Vj1Vjp,V(G)(Vj1Vjp))E_{G}(V_{j_{1}}\cup\cdots\cup V_{j_{p}},V(G)\setminus(V_{j_{1}}\cup\cdots\cup V_{j_{p}})) are blue. Then (Vj1Vjp,V(G)(Vj1Vjp))(V_{j_{1}}\cup\cdots\cup V_{j_{p}},V(G)\setminus(V_{j_{1}}\cup\cdots\cup V_{j_{p}})) is a new Gallai-partition which contradicts with that t4t\geq 4 and tt is smallest.

By Fact 1 and Fact 2, we have the following facts.

Fact 3.

If red is in the first ss colors, then every HiH_{i} has no red K3K_{3}, and the statement holds for blue symmetrically.

Fact 4.

If red is in the first ss colors and hih_{i} is contained in a red K3K_{3} of RR, then HiH_{i} has no red edge, and the statement holds for blue symmetrically.

Fact 5.

If red is in the first ss colors, and HiH_{i} and HjH_{j} both contain red edges, then the edges EG(Vi,Vj)E_{G}(V_{i},V_{j}) are blue, that is, edge hihjh_{i}h_{j} is blue in RR, and the statement holds for blue symmetrically.

Let Ir={hiV(R)I_{r}=\{h_{i}\in V(R) : HiH_{i} contains at least one red edge}\} and Ib={hiV(R)I_{b}=\{h_{i}\in V(R) : HiH_{i} contains at least one blue edge}\}. Clearly by Fact 5, if red is in the first ss colors, then the induced subgraph of RR by IrI_{r} is a blue complete graph and if blue is in the first ss colors, then the induced subgraph of RR by IbI_{b} is a red complete graph.

Fact 6.

If red and blue are both in the first ss colors, then |IbIr|1|I_{b}\cap I_{r}|\leq 1.

Suppose, to the contrary, that hih_{i}, hjh_{j}IbIr\in I_{b}\cap I_{r}. We know that hihjh_{i}h_{j} is either red or blue. Then we can find either a red K4K_{4} or a blue K4K_{4} in G[ViVj]G[V_{i}\cup V_{j}], which contradicts with Fact 2.

Suppose that |Hi|2|H_{i}|\geq 2 for each i[l]i\in[l] and |Hj|=1|H_{j}|=1 for each jj with l+1jtl+1\leq j\leq t. Then l1l\geq 1. Otherwise, R=GR=G. Then GG is 2-edge colored, which contradicts with that k3k\geq 3. Let p0p_{0} be the number of HiH_{i}(i[l]i\in[l]) which contains neither red nor blue edges, p1p_{1} the number of HiH_{i} which contains either red or blue edges and p2p_{2} the number of HiH_{i} which contains both red and blue edges. Then l=p0+p1+p2l=p_{0}+p_{1}+p_{2}, p2=|IbIr|p_{2}=|I_{b}\cap I_{r}| and p1+p2=|IbIr|p_{1}+p_{2}=|I_{b}\cup I_{r}|.

Case 2.

Exactly one of red and blue is in the first ss colors and the other is in the last ksk-s colors. (so sk1s\leq k-1).

W.L.O.G., suppose that red appears in the first ss colors, blue appears in the last ksk-s colors and red is the ssth color. This means that there is neither red K4+K_{4}^{+} nor blue K3K_{3} in GG. Then by Fact 1, we can get that every HiH_{i} contains no blue edge, which implies that p2=0p_{2}=0. Since R(K4+,K3)=9R(K_{4}^{+},K_{3})=9, we have that t8t\leq 8.

Claim 1.

p12p_{1}\leq 2.

Otherwise, suppose that p13p_{1}\geq 3. Then W.L.O.G., suppose that H1H_{1}, H2H_{2} and H3H_{3} are three corresponding subgraphs which contain red edges. By Fact 5, R[{h1,h2,h3}]R[\{h_{1},h_{2},h_{3}\}] is a blue K3K_{3}. So GG has a blue K3K_{3}, a contradiction.

Claim 2.
|G|(18p0+516p1)f(k,s)+(tl).|G|\leq\left(\frac{1}{8}p_{0}+\frac{5}{16}p_{1}\right)f(k,s)+(t-l).

Proof. First let i[l]i\in[l] and HiH_{i} contain no red edges. Then HiH_{i} is colored with exactly k2k-2 colors and satisfies that it contains neither monochromatic K4+K_{4}^{+} in one of the first s1s-1 color nor monochromatic K3K_{3} in one of the remaining ks1k-s-1 colors. Hence by the induction hypothesis and (4),

|Hi|\displaystyle|H_{i}| grk2(K3:(s1)K4+,(ks1)K3)1\displaystyle\leq gr_{k-2}(K_{3}:(s-1)\cdot K_{4}^{+},(k-s-1)\cdot K_{3})-1
=f(k2,s1)18f(k,s).\displaystyle=f(k-2,s-1)\leq\frac{1}{8}\leavevmode\nobreak\ f(k,s).

Next suppose that HiH_{i} contains a red edge. Then HiH_{i} is colored with exactly k1k-1 colors and by Fact 3, HiH_{i} contains neither monochromatic K4+K_{4}^{+} in one of the first s1s-1 colors nor monochromatic K3K_{3} in one of the remaining ksk-s colors. Hence by the induction hypothesis and (3),

|Hi|grk1(K3:(s1)K4+,(ks)K3)1=f(k1,s1)516f(k,s).\displaystyle|H_{i}|\leq gr_{k-1}(K_{3}:(s-1)\cdot K_{4}^{+},(k-s)\cdot K_{3})-1=f(k-1,s-1)\leq\frac{5}{16}\leavevmode\nobreak\ f(k,s).

Therefore by the above inequalities, we get that

|G|(18p0+516p1)f(k,s)+(tl).\displaystyle|G|\leq\left(\frac{1}{8}p_{0}+\frac{5}{16}p_{1}\right)f(k,s)+(t-l).

 

We now consider subcases based on the values of ll and tt.

Subcase 2.1.

t5t\leq 5.

By Claim 1, p12p_{1}\leq 2. Since p0+p1=ltp_{0}+p_{1}=l\leq t and by Claim 2, we have that

|G|(1×38+5×216)f(k,s)<n,\displaystyle|G|\leq\left(\frac{1\times 3}{8}+\frac{5\times 2}{16}\right)f(k,s)<n,

a contradiction.

Subcase 2.2.

l2l\leq 2 and 6t86\leq t\leq 8.

Then by Claim 1 and Claim 2, we can get that

|G|\displaystyle|G| \displaystyle\leq (1×08+5×216)f(k,s)+(t2)\displaystyle\left(\frac{1\times 0}{8}+\frac{5\times 2}{16}\right)f(k,s)+(t-2)
\displaystyle\leq 58f(k,s)+6\displaystyle\frac{5}{8}f(k,s)+6
\displaystyle\leq f(k,s)<n,\displaystyle f(k,s)<n,

a contradiction.

Subcase 2.3.

l3l\geq 3 and 6t86\leq t\leq 8.

Claim 3.

In this case, p11p_{1}\leq 1. Further, if t7t\geq 7, then p1=0p_{1}=0.

Proof. First, to the contrary, we can assume that H1H_{1} and H2H_{2} both contain a red edge, and each other HiH_{i} contains no red edge by Claim 1. Then by Fact 5, we have that the edges in EG(V1,V2)E_{G}(V_{1},V_{2}) are blue. If there are two blue edges in {h1hi| 3it}\{h_{1}h_{i}|\ \ 3\leq i\leq t\}, then we can find a blue triangle h1hphqh_{1}h_{p}h_{q}(2p<qt2\leq p<q\leq t) which contradicts with that GG has no blue K3K_{3} or find a red K3K_{3} which is h2hphqh_{2}h_{p}h_{q}(3p<qt3\leq p<q\leq t), which contradicts with Fact 4. So we can assume that all edges in {h1hi| 4it}\{h_{1}h_{i}|\ \ 4\leq i\leq t\} are red. It follows that either we can find a red triangle h1hphqh_{1}h_{p}h_{q}(4p<qt4\leq p<q\leq t) which contradicts with Fact 4, or we can find a blue K3K_{3} which is h4h5h6h_{4}h_{5}h_{6}, a contradiction. Secondly, let t7t\geq 7. To the contrary, we can assume that H1H_{1} contains a red edge and each other HiH_{i} contains no red edge. Then by Fact 4 and since GG has no blue K3K_{3}, there are at most two red edges in {h1hi| 2it}\{h_{1}h_{i}|\ \ 2\leq i\leq t\}. So we can assume that all edges in {h1hi| 4it}\{h_{1}h_{i}|\ \ 4\leq i\leq t\} are blue. It follows that either we can find a blue K3K_{3} which is h1hphqh_{1}h_{p}h_{q}, where 4p<qt4\leq p<q\leq t, a contradiction, or we can find a red K4K_{4} induced by {h4,h5,h6,h7}\{h_{4},h_{5},h_{6},h_{7}\}, which contradicts with Fact 2.  

Thus, if t=6t=6, then p11p_{1}\leq 1. By Claim 2, we have that

|G|\displaystyle|G| \displaystyle\leq (5×116+l18)f(k,s)+(6l)\displaystyle\left(\frac{5\times 1}{16}+\frac{l-1}{8}\right)f(k,s)+(6-l)
=\displaystyle= 2l+316f(k,s)+(6l)<f(k,s)<n,\displaystyle\frac{2l+3}{16}f(k,s)+(6-l)<f(k,s)<n,

a contradiction.

If t7t\geq 7, then by Claim 3 and Claim 2, we have that p1=0p_{1}=0 and

|G|l8f(k,s)+(tl)f(k,s)<n,\displaystyle|G|\leq\frac{l}{8}f(k,s)+(t-l)\leq f(k,s)<n,

a contradiction. The proof of Case 2 is completed.

Case 3.

Red and blue are both in the first ss colors (so s2s\geq 2).

This means that there exists neither red K4+K_{4}^{+} nor blue K4+K_{4}^{+} in GG. W.L.O.G., suppose that red and blue are the (s1)(s-1)th and ssth color, respectively. Since R(K4+,K4+)=18R(K_{4}^{+},K_{4}^{+})=18, we know that t17t\leq 17. Since s2s\geq 2 and k3k\geq 3, f(k,s)35f(k,s)\geq 35. First we prove some claims.

Claim 4.

For any hiV(R)h_{i}\in V(R), we have dr(hi)8d_{r}(h_{i})\leq 8 and db(hi)8d_{b}(h_{i})\leq 8 in RR.

W.L.O.G., suppose, to the contrary, that dr(hi)9d_{r}(h_{i})\geq 9. Since R(K3,K4+)=9R(K_{3},K_{4}^{+})=9, then the subgraph of RR induced by Nr(hi)N_{r}(h_{i}) contains either a red K3K_{3} or a blue K4+K_{4}^{+}. So RR contains a red K4+K_{4}^{+} or blue K4+K_{4}^{+}. Thus GG contains also, a contradiction.

Claim 5.

If dr(hi)4d_{r}(h_{i})\geq 4, then hiIrh_{i}\notin I_{r}, and if db(hi)4d_{b}(h_{i})\geq 4, then hiIbh_{i}\notin I_{b}.

Suppose that dr(hi)4d_{r}(h_{i})\geq 4. To the contrary, suppose that HiH_{i} contains a red edge. If the induced subgraph R[Nr(hi)]R[N_{r}(h_{i})] contains a red edge, say hphqh_{p}h_{q}, then we find a red K3K_{3} which is hihphqh_{i}h_{p}h_{q}, which contradicts with Fact 4. Otherwise, R[Nr(hi)]R[N_{r}(h_{i})] contains a blue K4K_{4}. So G[hpNr(hi)Vp]G[\bigcup_{h_{p}\in N_{r}(h_{i})}V_{p}] contains a blue K4K_{4}, which contradicts with Fact 2. So we have that hiIrh_{i}\notin I_{r}. The proof for blue is as same as the above one for red symmetrically.

Claim 6.

|Ib|+|Ir|4|I_{b}|+|I_{r}|\leq 4.

If there is a vertex hiIbIrh_{i}\in I_{b}\cap I_{r}, then by Fact 4, hih_{i} is contained in neither a red K3K_{3} nor a blue K3K_{3} in RR. By Fact 5, we know that the induced subgraph of RR by IrI_{r} is a blue complete graph and the induced subgraph of RR by IbI_{b} is a red complete graph. It follows that |Ib|2|I_{b}|\leq 2 and |Ir|2|I_{r}|\leq 2.

Now we can assume that IbIr=I_{b}\cap I_{r}=\emptyset by Fact 6. To the contrary, suppose that |Ib|+|Ir|5|I_{b}|+|I_{r}|\geq 5. If |Ib|4|I_{b}|\geq 4, then by Fact 5, the subgraph R[Ib]R[I_{b}] contains a red K4K_{4}, which contradicts with Fact 2. Then |Ib|3|I_{b}|\leq 3. By the same reasons, we know that |Ir|3|I_{r}|\leq 3. Then |Ib|=3|I_{b}|=3 or |Ir|=3|I_{r}|=3. W.L.O.G., suppose that |Ib|=3|I_{b}|=3. Then |Ir|2|I_{r}|\geq 2. Let Ib={h1,h2,h3}I_{b}=\{h_{1},h_{2},h_{3}\} and h4,h5Irh_{4},h_{5}\in I_{r}. By Fact 5, h1h2h3h_{1}h_{2}h_{3} is a red triangle and h4h5h_{4}h_{5} is a blue edge in RR. It is easy to check that there exists a red triangle hphihjh_{p}h_{i}h_{j} such that p{4,5}p\in\{4,5\} and i,j[3]i,j\in[3] or a blue K3=hih4h5K_{3}=h_{i}h_{4}h_{5} such that i[3]i\in[3], which contradicts with Fact 4.

Claim 7.
|G|(117p0+52×17p1+517p2)f(k,s)+(tl).|G|\leq\left(\frac{1}{17}p_{0}+\frac{5}{2\times 17}p_{1}+\frac{5}{17}p_{2}\right)f(k,s)+(t-l).

Proof. First suppose that HiH_{i}(ili\leq l) contains neither red nor blue edges. This means that HiH_{i} is colored with exactly k2k-2 colors and satisfies that it has neither monochromatic K4+K_{4}^{+} in one of the first s2s-2 colors nor monochromatic K3K_{3} in one of the remaining ksk-s colors. It is easy to check that

fj(k2,s2)fj(k,s)=117,\frac{f_{j}(k-2,s-2)}{f_{j}(k,s)}=\frac{1}{17},

for any 1j51\leq j\leq 5. Hence by the induction hypothesis,

|Hi|grk2(K3:(s2)K4+,(ks)K3)1=f(k2,s2)=117f(k,s).(6)\displaystyle|H_{i}|\leq gr_{k-2}(K_{3}:(s-2)\cdot K_{4}^{+},(k-s)\cdot K_{3})-1=f(k-2,s-2)=\frac{1}{17}f(k,s).\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (6)

Next suppose that HiH_{i} contains no red edges but contains blue edges. This means that HiH_{i} is colored with exactly k1k-1 colors and satisfies that it contains neither monochromatic K4+K_{4}^{+} in one of the first s2s-2 colors nor monochromatic K3K_{3} in one of the remaining ks+1k-s+1 colors by Fact 3. It is easy to check that

f2(k1,s2)f1(k,s)=f3(k1,s2)f3(k,s)=f5(k1,s2)f4(k,s)=217,\frac{f_{2}(k-1,s-2)}{f_{1}(k,s)}=\frac{f_{3}(k-1,s-2)}{f_{3}(k,s)}=\frac{f_{5}(k-1,s-2)}{f_{4}(k,s)}=\frac{2}{17},
f1(k1,s2)f2(k,s)=f4(k1,s2)f5(k,s)=52×17,\frac{f_{1}(k-1,s-2)}{f_{2}(k,s)}=\frac{f_{4}(k-1,s-2)}{f_{5}(k,s)}=\frac{5}{2\times 17},

So by the induction hypothesis,

|Hi|grk1(K3:(s2)K4+,(ks+1)K3)1=f(k1,s2)52×17f(k,s).(7)\displaystyle|H_{i}|\leq gr_{k-1}(K_{3}:(s-2)\cdot K_{4}^{+},(k-s+1)\cdot K_{3})-1=f(k-1,s-2)\leq\frac{5}{2\times 17}f(k,s).\ \ \ \ \ \ \ \ \ \ \ (7)

The same inequality holds if HiH_{i} contains no blue edges but contains red edges.

Finally suppose that HiH_{i} contains both red and blue edges. This means that HiH_{i} is colored with all kk colors and satisfies that it contains neither monochromatic K4+K_{4}^{+} in one of the first s2s-2 colors nor monochromatic K3K_{3} in one of the remaining ks+2k-s+2 colors by Fact 3. It is easy to check that f(k,s2)f(k,s)517,\frac{f(k,s-2)}{f(k,s)}\leq\frac{5}{17}, so by the induction hypothesis,

|Hi|grk(K3:(s2)K4+,(ks+2)K3)1=f(k,s2)517f(k,s).(8)\displaystyle|H_{i}|\leq gr_{k}(K_{3}:(s-2)\cdot K_{4}^{+},(k-s+2)\cdot K_{3})-1=f(k,s-2)\leq\frac{5}{17}f(k,s).\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (8)

Combining Inequalities(6)-(8), we have the following inequality

|G|(117p0+52×17p1+517p2)f(k,s)+(tl).\displaystyle|G|\leq\left(\frac{1}{17}p_{0}+\frac{5}{2\times 17}p_{1}+\frac{5}{17}p_{2}\right)f(k,s)+(t-l).

 

We now consider subcases based on the value of ll and tt.

Subcase 3.1.

13t1713\leq t\leq 17.

By Claim 4, dr(hi)8d_{r}(h_{i})\leq 8 and db(hi)8d_{b}(h_{i})\leq 8 in RR for any i[l]i\in[l]. Since dr(hi)+db(hi)=t1d_{r}(h_{i})+d_{b}(h_{i})=t-1, we have that db(hi)4d_{b}(h_{i})\geq 4 and dr(hi)4d_{r}(h_{i})\geq 4 in RR. Then by Claim 5, every HiH_{i} contains neither red nor blue edge. So p2=p1=0p_{2}=p_{1}=0. Thus p0=lp_{0}=l. By Claim 7, we have that

|G|l17f(k,s)+(tl)<f(k,s)+1=n,\displaystyle|G|\leq\frac{l}{17}\leavevmode\nobreak\ f(k,s)+(t-l)<f(k,s)+1=n,

a contradiction.

Next, we consider the case that 4t124\leq t\leq 12. By Fact 6, we have that p21p_{2}\leq 1.

Subcase 3.2.

l3l\leq 3.

Then p12p_{1}\leq 2 if p2=1p_{2}=1 and p13p_{1}\leq 3 if p2=0p_{2}=0. Hence by Claim 7, we get

|G|\displaystyle|G| \displaystyle\leq {1017f(k,s)+(t3),if p2=1 and p12,1534f(k,s)+(t3),if p2=0 and p13\displaystyle\begin{cases}\frac{10}{17}\leavevmode\nobreak\ f(k,s)+(t-3),&\text{if $p_{2}=1$ and $p_{1}\leq 2$,}\\ \frac{15}{34}\leavevmode\nobreak\ f(k,s)+(t-3),&\text{if $p_{2}=0$ and $p_{1}\leq 3$}\\ \end{cases}
\displaystyle\leq f(k,s)<n,\displaystyle f(k,s)<n,

a contradiction.

Subcase 3.3.

4l104\leq l\leq 10.

First suppose that p2=1p_{2}=1. It follows that t7t\leq 7. Otherwise, for any hiV(R)h_{i}\in V(R), we have that dr(hi)4d_{r}(h_{i})\geq 4 or db(hi)4d_{b}(h_{i})\geq 4 in RR since dr(hi)+db(hi)=t1d_{r}(h_{i})+d_{b}(h_{i})=t-1. Then by Claim 5, every HiH_{i} contains no red edge or contains no blue edge, which contradicts with the assumption that p2=1p_{2}=1. By Claim 6, we have that p12p_{1}\leq 2. Thus, by Claim 7, we have that

|G|1417f(k,s)<n,\displaystyle|G|\leq\frac{14}{17}\leavevmode\nobreak\ f(k,s)<n,

a contradiction.

Now we assume that p2=0p_{2}=0. By Claim 6, we have that p14p_{1}\leq 4. This means that

|G|[52×17p1+117(lp1)]f(k,s)+(tl)1617f(k,s)+2f(k,s)<n,\displaystyle|G|\leq\left[\frac{5}{2\times 17}p_{1}+\frac{1}{17}(l-p_{1})\right]f(k,s)+(t-l)\leq\frac{16}{17}\leavevmode\nobreak\ f(k,s)+2\leq f(k,s)<n,

a contradiction.

Subcase 3.4.

l11l\geq 11.

Then 11lt1211\leq l\leq t\leq 12. Hence dr(hi)4d_{r}(h_{i})\geq 4 or db(hi)4d_{b}(h_{i})\geq 4 for each i[t]i\in[t]. It follows that p2=0p_{2}=0 by Claim 5. If dr(hi)4d_{r}(h_{i})\geq 4 and db(hi)4d_{b}(h_{i})\geq 4 for each i[l]i\in[l], then p1=0p_{1}=0 by Claim 5. So p0=lp_{0}=l. By Claim 7, we have that

|G|l17f(k,s)+(tl)f(k,s)<n,|G|\leq\frac{l}{17}f(k,s)+(t-l)\leq f(k,s)<n,

a contradiction. So, W.L.O.G., we can assume that dr(h1)4d_{r}(h_{1})\geq 4 and db(h1)3d_{b}(h_{1})\leq 3. By Claim 4, we know that (dr(h1),db(h1),l,t){(7,3,11,11),(8,2,11,11),(8,3,11,12),(8,3,12,12)}(d_{r}(h_{1}),d_{b}(h_{1}),l,t)\in\{(7,3,11,11),(8,2,11,11),(8,3,11,12),(8,3,12,12)\}. Let dr~(h1)=|Nr(h1){h1,,hl}|\widetilde{d_{r}}(h_{1})=|N_{r}(h_{1})\cap\{h_{1},\cdots,h_{l}\}| and db~(h1)=|Nb(h1){h1,,hl}|\widetilde{d_{b}}(h_{1})=|N_{b}(h_{1})\cap\{h_{1},\cdots,h_{l}\}|. Then (dr~(h1),db~(h1),l){(7,3,11),(8,2,11),(8,3,12)}(\widetilde{d_{r}}(h_{1}),\widetilde{d_{b}}(h_{1}),l)\in\{(7,3,11),(8,2,11),(8,3,12)\}. Let FF be the subgraph of RR induced by Nr(h1){h1,,hl}N_{r}(h_{1})\cap\{h_{1},\cdots,h_{l}\}. So |F|7|F|\geq 7. Clearly, FF has no red K3K_{3}. Otherwise we can find a red K4K_{4} obtained by a red K3K_{3} in FF and h1h_{1}, which contradicts with Fact 2.

Claim 8.

V(F)Ib=V(F)\cap I_{b}=\emptyset, V(F)Ir=V(F)\cap I_{r}=\emptyset and h1Irh_{1}\notin I_{r}.

First we claim that the red degree of hih_{i} in FF is at most 3 for each hiV(F)h_{i}\in V(F). Otherwise, suppose that hih_{i} has at least four red neighbors in FF. Since FF has no red K3K_{3}, we can find a blue K4K_{4} induced by the red neighbors of hih_{i} in FF, which contradicts with Fact 2. Then the blue degree of hih_{i} in FF is at least 3 for each hiV(F)h_{i}\in V(F). It follows that every vertex hih_{i} of FF is contained in a blue triangle of FF. Thus, by Fact 4, for each hiV(F)h_{i}\in V(F), we have that hiIbh_{i}\notin I_{b}. Secondly, we claim that the blue degree of hih_{i} in FF is at most 5 for each hiV(F)h_{i}\in V(F). Otherwise, we find a blue K3K_{3} induced by the blue neighbors of hih_{i} in FF since R(K3,K3)=6R(K_{3},K_{3})=6 and FF has no red K3K_{3}. Then there exists a blue K4K_{4} in RR, which contradicts with Fact 2. It follows that the red degree of hih_{i} in FF is at least 1 for each hiV(F)h_{i}\in V(F). Hence h1h_{1} and hih_{i} are contained in the same red triangle of RR for each vertex hih_{i} of FF. Thus, by Fact 4, h1Irh_{1}\notin I_{r} and for each hiV(F)h_{i}\in V(F), we have that hiIrh_{i}\notin I_{r}.

By Claim 8, p0|F|p_{0}\geq|F|. Now we consider the case that (dr~(h1),db~(h1,l)=(8,2,11)(\widetilde{d_{r}}(h_{1}),\widetilde{d_{b}}(h_{1},l)=(8,2,11). Then p08p_{0}\geq 8. By Fact 6, p21p_{2}\leq 1.

If p2=0p_{2}=0, then by Claim 7, we get that

|G|[117p0+52×17(11p0)]f(k,s)+(tl)3134f(k,s)+1<f(k,s)<n,\displaystyle|G|\leq\left[\frac{1}{17}p_{0}+\frac{5}{2\times 17}(11-p_{0})\right]f(k,s)+(t-l)\leq\frac{31}{34}\leavevmode\nobreak\ f(k,s)+1<f(k,s)<n,

a contradiction. If p2=1p_{2}=1, we can assume that hpIrIbh_{p}\in I_{r}\cap I_{b}. Then by Claim 8, hpNb(h1)h_{p}\in N_{b}(h_{1}). By Fact 2, h1Ibh_{1}\notin I_{b}. Then by Claim 8, h1IrIbh_{1}\notin I_{r}\cup I_{b}. So p0|F|+1=9p_{0}\geq|F|+1=9. Then by Claim 7, we get that

|G|[917+52×17+517]f(k,s)+(tl)3334f(k,s)+1<f(k,s)+1=n,\displaystyle|G|\leq\left[\frac{9}{17}+\frac{5}{2\times 17}+\frac{5}{17}\right]f(k,s)+(t-l)\leq\frac{33}{34}\leavevmode\nobreak\ f(k,s)+1<f(k,s)+1=n,

a contradiction.

Now we consider the remaining cases that (dr~(h1),db~(h1),l){(7,3,11),(8,3,12)}(\widetilde{d_{r}}(h_{1}),\widetilde{d_{b}}(h_{1}),l)\in\{(7,3,11),(8,3,12)\}. Then we can assume that Nb(h1){h1,,hl}={ho,hp,hq}N_{b}(h_{1})\cap\{h_{1},\cdots,h_{l}\}=\{h_{o},h_{p},h_{q}\}. First consider the case that there is a blue edge spanned by vertices in {ho,hp,hq}\{h_{o},h_{p},h_{q}\}, say hphqh_{p}h_{q}. Then h1hphqh_{1}h_{p}h_{q} is a blue K3K_{3}. By Fact 4, we have that h1,hp,hqIbh_{1},h_{p},h_{q}\notin I_{b}. Then by Claim 8, h1IrIbh_{1}\notin I_{r}\cup I_{b}. So p0|F|+1p_{0}\geq|F|+1. If p2=0p_{2}=0, then by Claim 7, we get that

|G|[117p0+52×17(lp0)]f(k,s)+(tl)3334f(k,s)+1<f(k,s)+1=n,\displaystyle|G|\leq\left[\frac{1}{17}p_{0}+\frac{5}{2\times 17}(l-p_{0})\right]f(k,s)+(t-l)\leq\frac{33}{34}\leavevmode\nobreak\ f(k,s)+1<f(k,s)+1=n,

a contradiction. If p2=1p_{2}=1, then hoIrIbh_{o}\in I_{r}\cap I_{b} and hohp,hohqh_{o}h_{p},h_{o}h_{q} are red. Then by Fact 2, hp,hqIrIbh_{p},h_{q}\notin I_{r}\cup I_{b}. So p0=|F|+3p_{0}=|F|+3. Then by Claim 7, we get that

|G|[1117+517]f(k,s)+tl<f(k,s)+1=n,\displaystyle|G|\leq\left[\frac{11}{17}+\frac{5}{17}\right]f(k,s)+t-l<f(k,s)+1=n,

a contradiction.

Secondly, we consider the case that hohphqh_{o}h_{p}h_{q} is a red K3K_{3}. By Fact 4, ho,hp,hqIrh_{o},h_{p},h_{q}\notin I_{r}. Then p2=0p_{2}=0. By Fact 2, for each vertex hih_{i} in FF, there is at least one blue edge in ER(hi,{ho,hp,hq})E_{R}(h_{i},\{h_{o},h_{p},h_{q}\}). This means that there are at least 7 blue edges between V(F)V(F) and {ho,hp,hq}\{h_{o},h_{p},h_{q}\}. By the pigeonhole principle, there is a vertex in {ho,hp,hq}\{h_{o},h_{p},h_{q}\}, say hoh_{o}, such that |Nb(ho)V(F)|3|N_{b}(h_{o})\cap V(F)|\geq 3. If the subgraph induced by Nb(ho)V(F)N_{b}(h_{o})\cap V(F) contains no blue edge, then Nb(ho)V(F)N_{b}(h_{o})\cap V(F) along with h1h_{1} induce a red K4K_{4} in RR, which contradicts with Fact 2. Then the subgraph induced by Nb(ho)V(F)N_{b}(h_{o})\cap V(F) contains a blue edge. So hoh_{o} is contained in both a red K3K_{3} and a blue K3K_{3}. Thus hoIbIrh_{o}\notin I_{b}\cup I_{r} by Fact 4. So p0|F|+1p_{0}\geq|F|+1. By Claim 7, we have that

|G|[117p0+52×17(lp0)]f(k,s)+(tl)3334f(k,s)+1<f(k,s)+1=n,|G|\leq\left[\frac{1}{17}p_{0}+\frac{5}{2\times 17}(l-p_{0})\right]f(k,s)+(t-l)\leq\frac{33}{34}\leavevmode\nobreak\ f(k,s)+1<f(k,s)+1=n,

a contradiction.

Complete the proof of Case 3 and then the proof of Theorem 1.

 

References

  • [1] K. Cameron and J. Edmonds. Lambda composition. J. Graph Theory, 26(1):9–16, 1997.
  • [2] K. Cameron, J. Edmonds, and L. Lovász. A note on perfect graphs. Period. Math. Hungar., 17:173–175, 1986.
  • [3] F. R. K. Chung and R. L. Graham. Edge-colored complete graphs with precisely colored subgraphs. Combinatorica, 3:315–324, 1983.
  • [4] M. Clancy. Some small ramsey numbers. J. Graph Theory, pages 89–91, 1977.
  • [5] P. Erdős, R. Faudree, C. Rousseau, and R. Schelp. The size ramsey number. Period. Math. Hungar., 9 (1–2):145–161, 1978.
  • [6] R. Faudree and Schelp R. A survey of results on the size ramsey number. in: Paul Erdős and his mathematics, II (Budapest, 1999), in: Bolyai Soc. Math. Stud., vol. 11, János Bolyai Math. Soc., Budapest, pages 291–309, 2002.
  • [7] J. Fox, A. Grinshpun, and Pach J. The erdos-hajnal conjecture for rainbow triangles. J. Combin. Theory Ser. B, 111:75–125, 2015.
  • [8] S. Fujita, C. Magnant, and K. Ozeki. Rainbow generalizations of ramsey theory: a survey. Graphs and Combin., 26:1–30, 2010.
  • [9] T. Gallai. Transitiv orientierbare graphen. volume 18, pages 25–66. 1967.
  • [10] R. Graham, B. Rothschild, and J. Spencer. Ramsey theory. Wiley, New York, 1990.
  • [11] A. Gyárfás, G. Sárközy, A. Sebő, and S. Selkow. Ramsey-type results for gallai-colorings. J. Graph Theory, 64:233–243, 2010.
  • [12] A. Gyárfás and G. Simonyi. Edge colorings of complete graphs without tricolored triangles. J. Graph Theory, 46(3):211–216, 2004.
  • [13] H. Harborth and I. Mengersen. All ramsey number for five vertices and seven or eight edges. Discrete Math., pages 91–98, 1988.
  • [14] J. Körner and G. Simonyi. Graph pairs and their entropies: modularity problems. Combinatorica, 20:227–240, 2000.
  • [15] H. Liu, Magnant C., Saito A., I. Schiermeyer, and Y. Shi. Gallai-ramsey number for k4k_{4}. J. Graph Theory, pages 1–14, 2019.
  • [16] S. P. Radziszowski. Small ramsey numbers. Electron. J. Combin., 1994.
  • [17] H. Wu and Magnant C. Gallai-ramsey numbers for monochromatic trangles or 4-cycles. Graphs Combin., 34:1315–1324, 2018.