Online Ramsey theory for a triangle on $F$-free graphs
Hojin Choi, Ilkyoo Choi, Jisu Jeong, and Sang-il Oum

TL;DR
This paper studies the online Ramsey game for triangles on classes of graphs that exclude certain subgraphs, characterizing when Painter can avoid creating monochromatic triangles and extending known results to minor-free graphs.
Contribution
It characterizes all graphs F for which Painter wins the online Ramsey game for triangles on F-free graphs, except one case, and extends results to K4-minor-free graphs.
Findings
Characterization of graphs F where Painter wins for C3 on F-free graphs.
Extension of results to K4-minor-free graphs.
Identification of a unique exceptional graph F.
Abstract
Given a class of graphs and a fixed graph , the online Ramsey game for on is a game between two players Builder and Painter as follows: an unbounded set of vertices is given as an initial state, and on each turn Builder introduces a new edge with the constraint that the resulting graph must be in , and Painter colors the new edge either red or blue. Builder wins the game if Painter is forced to make a monochromatic copy of at some point in the game. Otherwise, Painter can avoid creating a monochromatic copy of forever, and we say Painter wins the game. We initiate the study of characterizing the graphs such that for a given graph , Painter wins the online Ramsey game for on -free graphs. We characterize all graphs such that Painter wins the online Ramsey game for on the class of -free graphs, except when…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
11footnotetext: Supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (No. NRF-2017R1A2B4005020).22footnotetext: Corresponding author. Supported by the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (NRF-2018R1D1A1B07043049), and also by Hankuk University of Foreign Studies Research Fund. 33footnotetext: Emails: [email protected], [email protected], [email protected], [email protected]
Online Ramsey theory for a triangle on -free graphs
Hojin Choi
Ilkyoo Choi
Jisu Jeong
Sang-il Oum
Abstract
Given a class of graphs and a fixed graph , the online Ramsey game for on is a game between two players Builder and Painter as follows: an unbounded set of vertices is given as an initial state, and on each turn Builder introduces a new edge with the constraint that the resulting graph must be in , and Painter colors the new edge either red or blue. Builder wins the game if Painter is forced to make a monochromatic copy of at some point in the game. Otherwise, Painter can avoid creating a monochromatic copy of forever, and we say Painter wins the game.
We initiate the study of characterizing the graphs such that for a given graph , Painter wins the online Ramsey game for on -free graphs. We characterize all graphs such that Painter wins the online Ramsey game for on the class of -free graphs, except when is one particular graph. We also show that Painter wins the online Ramsey game for on the class of -minor-free graphs, extending a result by Grytczuk, Hałuszczak, and Kierstead.
1 Introduction
All graphs in this paper are finite. For a host graph and a target graph , let mean that there exists a monochromatic copy of for every (not necessarily proper) -edge-coloring of . For a graph parameter , let denote the minimum where . When counts the number of vertices in a graph, is the Ramsey number of and it is often denoted . The well-known Ramsey’s Theorem [22] from 1930 states that is finite for every graph .
Burr, Erdős, and Lovász [3] introduced the chromatic Ramsey number and the degree Ramsey number, which arises when is the chromatic number and the maximum degree, respectively. Erdős et al. [9] introduced the size Ramsey number, denoted , which arises when is the number of edges in a graph . We redirect the readers to a thorough survey by Conlon, Fox, and Sudakov [6] for more history regarding these parameters.
Another variant of Ramsey theory is online Ramsey theory, introduced by Beck [2] in 1993. Given a class of graphs and a fixed graph , an online Ramsey game for on is a game between two players Builder and Painter with the following rules: an unbounded set of vertices is given as an initial state, and on each turn Builder introduces a new edge with the constraint that the resulting graph must be in , and Painter colors the new edge either red or blue. Builder wins if Painter is forced to make a monochromatic copy of at some point of the game, and we say Builder wins the online Ramsey game for on . Otherwise, Painter can avoid creating a monochromatic copy of forever, and we say Painter wins the online Ramsey game for on .
If no graph in contains as a subgraph, then Painter wins the online Ramsey game for on since a copy of cannot be created, let alone a monochromatic one. Therefore it must be that is a subgraph of at least one graph in for a result to be nontrivial. If is the class of graphs with bounded maximum degree, then this is the online version of the degree Ramsey number; see [4, 23, 24] for results regarding this topic.
This paper concerns the online version of the size Ramsey number. For a graph , the online (size) Ramsey number of , denoted , is the minimum number of rounds required for Builder to win, assuming that both Builder and Painter play optimally. When there are no restrictions on the graphs Builder can create, it is an easy consequence of Ramsey’s theorem [22] that Builder always wins the online Ramsey game for every target graph , so . For a fixed graph , studying the ratio of and was initiated in [2, 10, 14] and has drawn much attention since then [11, 12, 13, 20]. There is also a line of research trying to determine some exact online Ramsey numbers [5, 7, 8, 12, 20, 21]. Additionally, there are some results on the behavior of in various random settings [1, 15, 16, 17, 19].
The investigation of online (size) Ramsey theory on specific graph classes was initiated in 2004 by Grytczuk, Hałuszczak, and Kierstead [11]. They studied online Ramsey theory on forests, -colorable graphs, outerplanar graphs, and planar graphs. In particular, they conjectured that Builder wins the online Ramsey game for on planar graphs if and only if is an outerplanar graph. This conjecture was recently disproved by Petříčková [18]; she showed that one direction of the conjecture is true while the other direction is not.
Proposition 1.1** ([18]).**
For every outerplanar graph , Builder wins the online Ramsey game for on planar graphs.
Proposition 1.2** ([18]).**
Builder wins the online Ramsey game for on planar graphs.
In [11], it is shown that Painter wins the online Ramsey game for on outerplanar graphs, and the graphs containing as a subgraph are the only known graphs where Painter wins the online Ramsey game on outerplanar graphs. On the other hand, they also demonstrate that Builder wins the online Ramsey game for on -degenerate planar graphs.
Theorem 1.3** ([11]).**
*Painter wins the online Ramsey game for on outerplanar graphs. *
Proposition 1.4** ([11]).**
Builder wins the online Ramsey game for on -degenerate planar graphs.
We extend the class of graphs where Painter wins the online Ramsey game for from outerplanar graphs to -minor-free graphs. Our proof is a generalization of the proof of Theorem 1.3 in [11].
Theorem 2.4.
Painter wins the online Ramsey game for on -minor-free graphs.
We initiate the study of characterizing the graphs such that for a given graph , Painter wins the online Ramsey game for on -free graphs. A graph class is -free if every graph in the class does not contain as a subgraph. We characterize all graphs such that Painter wins the online Ramsey game for on -free graphs, except when is one special graph. We put the constraint that has no isolated vertices because the game is defined to have infinitely many isolated vertices as the initial state. The following theorem is our main result.
Theorem 3.1.
Let be the graphs in Figure 1, and let be a graph with no isolated vertices. Given that is not isomorphic to , Painter wins the online Ramsey game for on -free graphs if and only if is isomorphic to a subgraph of a graph in .
This paper is organized as follows. In Section 2, we prove Theorem 2.4 and in Section 3, we prove Theorem 3.1. Section 3 is further divided into three subsections. Subsection 3.1 and Subsection 3.2 deals with the classes of graphs where Builder and Painter wins, respectively. Subsection 3.3 concludes Section 3.
For an edge , we say that “Painter cannot color ” if there is a monochromatic copy of whether Painter colors red or blue; in other words, Builder wins the game no matter what color Painter uses on . In particular, we say that “Painter cannot color red (blue)” or “Painter must color blue (red)”, if we already observed that Painter will eventually lose (a monochromatic copy of will appear) when Painter colors red (blue).
2 The online Ramsey game for on -minor-free graphs
Grytczuk, Hałuszczak, and Kierstead [11] proved that Builder wins the online Ramsey game for on -degenerate planar graphs, but Painter wins the online Ramsey game for on outerplanar graphs. We extend the class the graphs on which Painter is known to win the online Ramsey game for . Since a graph is outerplanar if and only if it does not contain and as a minor, we focus on -minor-free graphs and -minor-free graphs. We show that Painter wins the online Ramsey game for on -minor-free graphs, but Builder still wins the online Ramsey game for on -minor-free graphs.
The following proposition shows that Builder wins the online Ramsey game for on -minor-free graphs. Builder will use Strategy 2.1.
Strategy 2.1**.**
Builder draws a copy of . Let be the vertex of degree . By the pigeonhole principle, Painter will color at least three edges with the same color, say . Builder draws the edges , , and .
Proposition 2.2**.**
Builder wins the online Ramsey game for on -minor-free graphs.
Proof.
Builder uses Strategy 2.1. Assume are colored red. If Painter colors one of red, then this creates a red . Therefore Painter must color all of blue, but then this creates a blue with vertices , , and .
The graph resulting from Strategy 2.1 has no as a minor. Thus Builder wins the online Ramsey game for on -minor-free graphs. ∎
Now, we will prove that Painter wins the online Ramsey game for on -minor-free graphs. The key idea of this proof stemmed from the proof of Theorem 1.3 in [11].
Recall that a graph contains as a minor if there exists a set of pairwise disjoint subsets of satisfying the following:
- •
For every vertex of , there is an element such that is connected.
- •
For every edge of , there is an edge between and .
We call the branch set of in an -minor of for every vertex of . When the branch set has one vertex, we also call it a branch vertex. For two vertices in , an -path is a path in from to .
Lemma 2.3**.**
*Let be an edge of a -minor-free graph , and let and be two -paths in . For an integer , if are the common vertices of and , then these vertices are in the same order on both and . *
Proof.
The claim is trivial when , so we may assume . By reordering the indices, let be the order of these vertices on .
We claim that for , if there is a -path in that is internally disjoint with , then there is no path from to that is internally disjoint with . Suppose not. Take an -path where and . If and share a vertex , then has a -minor where the branch vertices are . If and are vertex disjoint, then has a -minor where the branch vertices are .
Thus, if is a subpath of , then can never visit because otherwise will contain a subpath from to or . This is a problem since is an -path and must go through all of . Therefore, we conclude that are in the same order on both and . ∎
Given two vertices on a path , let denote the subpath of from to . For a -edge-colored graph , let denote the number of red edges minus the number of blue edges in modulo . A -edge-colored graph is zero, positive, and negative if is [math], , and , respectively. Given a -edge-colored graph , a zero cycle is good if there exist two vertices on such that an -path on is zero and there exists an -path in whose internal vertices are disjoint from .
Theorem 2.4**.**
Painter wins the online Ramsey game for on -minor-free graphs.
Proof.
Assume Builder drew the edge to the previous graph to obtain the current graph , which is -edge-colored except for . Since the initial graph has no edges, it suffices to show that if has a -edge-coloring such that every zero cycle is good, then this coloring can be extended to so that every zero cycle is good. Note that if every zero cycle is good, then there cannot be a monochromatic , since a monochromatic is a zero cycle and cannot have a zero path as a subgraph.
Suppose whenever Painter tries to color red and blue in , there arises a zero cycle and , respectively, that is not good. Let and . Since and are zero cycles, is negative and is positive. Let be the common vertices of and . By Lemma 2.3, they are in the same order on and . Without loss of generality, let be the ordering of these vertices on and . Note that might happen for some , but there must exist an where , since is negative and is positive. Fix such an , and note that and are internally disjoint.
We claim that both and are not zero. Without loss of generality, assume was zero. Since is a path from to whose internal vertices are disjoint from , this implies that is a good cycle, which is a contradiction.
Now we claim that and are either both positive or both negative. Without loss of generality assume is positive and is negative. Since the cycle formed by and is zero even before Builder drew , we know that is a good cycle by the induction hypothesis. Therefore, there are two vertices on where an -path on is zero and (also, ) has an -path whose internal vertices are disjoint from . Note that this latter -path cannot share its internal vertices with and since this would create a -minor. If both are on the same for some , then because there are two zero -paths (on ) and another internally disjoint -path, we can conclude is good, which is a contradiction. If are on different paths of , then contains as a minor where the branch vertices are , which is again a contradiction.
Now we know that and are both positive or both negative for every , which implies that and are both positive or both negative, which contradicts that is negative and is positive.
Thus, Painter can color so that every zero cycle in is good, and hence there is no monochromatic in the coloring Painter produces. ∎
We remark that the proof of Theorem 2.4 works for not only -minor-free graphs, but also -topological-minor-free graphs.
3 The online Ramsey game for on -free graphs
In this section, we attempt to characterize all graphs such that Painter wins the online Ramsey game for on -free graphs. We determine the winner of the game in all cases except when is the graph , which is in Figure 1. Recall that we put the constraint that has no isolated vertices because the game is defined to have infinitely many isolated vertices as the initial state. Here is our main result.
Theorem 3.1**.**
Let be the graphs in Figure 1. Suppose that is a graph with no isolated vertices that is not isomorphic to . Painter wins the online Ramsey game for on -free graphs if and only if is isomorphic to a subgraph of a graph in .
3.1 When does Builder win the online Ramsey game for on -free graphs?
In this subsection, we provide three different classes where Builder wins the online Ramsey game for . We start by proving Lemma 3.2, which shows that we only need to consider to be a subgraph of the graph , which is in Figure 2. Then we investigate the classes of (1) -free graphs, (2) -free graphs, and (3) -free graphs where is the graph in Figure 5.
Lemma 3.2**.**
Let be the graph in Figure 2. If a graph is not isomorphic to a subgraph of , then Builder wins the online Ramsey game for on -free graphs.
Proof.
Builder uses Strategy 2.1. Assume are colored red. If Painter colors one of red, then this creates a red . Therefore Painter must color all of blue, but then this creates a blue with vertices , , and .
There is no as a subgraph at every step of the game since the resulting graph is and is not isomorphic to any of the subgraphs of . Hence, Builder wins the online Ramsey game for on -free graphs. ∎
The following Proposition 3.3 is a special case of a result in [11], and a more general theorem is proved in [13]. For the sake of completeness, we include a proof of Proposition 3.3.
Proposition 3.3**.**
Builder wins the online Ramsey game for on -free graphs.
Proof.
We will present a winning strategy for Builder.
Given a forest , it is known that Builder wins the online Ramsey game for on the class of all forests by [11]. Thus, we may assume that Builder has forced Painter to create a monochromatic path of length six while drawing a forest. We label the seven vertices on the path by and suppose that these vertices on the path are in this order. Without loss of generality, assume the edges of the path are colored red. Note that there might be more edges incident with for , but since the whole graph is a forest, it is -free.
Next, Builder draws and . We claim that Painter must color both and red. Without loss of generality assume that is colored blue. Now Builder draws both and . Painter must color blue, otherwise there is a red with three vertices . Now Painter cannot color . Therefore, both and must be colored red.
Finally, Builder draws three edges , , and . If Painter colors any of them red, then a red is created. Otherwise, Painter colors all of them blue, and this creates a blue with three vertices , and . See Figure 3.
Four vertices of degree at least 3 appear only in the previous paragraph. It is easy to check that does not appear as a subgraph in this case, so does not appear as a subgraph at every step of the game. Hence, Builder wins the online Ramsey game for on -free graphs. ∎
The following proposition is implied by a result in [4] (see Proposition 4.2). For completeness, we provide a proof here as well.
Proposition 3.4**.**
Builder wins the online Ramsey game for on -free graphs.
Proof.
We will present a winning strategy for Builder.
Builder draws five pairwise disjoint induced copies of . We claim that Painter must not create a monochromatic copy of . Otherwise, without loss of generality, assume that there is a red . Now, Builder draws containing the red as a subgraph. If Painter colors any of the newly drawn edges red, then a red is created. Otherwise, Painter colors all of the newly drawn edges blue, and a blue is created.
Therefore, since there is no monochromatic copy of , we may assume that at least three of the five pairwise disjoint induced copies of contain two red edges and one blue edge; let these copies of be where and for while , and are blue, and all other edges in are red.
Next, Builder draws , and . We claim that Painter must color all these edges blue. Suppose without loss of generality that Painter colors red. Then Builder draws , and . If Painter colors any of them red, then a red is created. If Painter colors all of them blue, then this creates a blue with vertices , and .
Therefore we may assume that Painter colors , and blue. Finally, Builder draws , and . If Painter colors any of them blue, then a blue is created. If Painter colors all of them red, then this creates a red with vertices , and . See Figure 4.
It is easy to check that does not appear as a subgraph at every step of the game. Hence, Builder wins the online Ramsey game for on -free graphs. ∎
Lemma 3.5**.**
Let be the graph in Figure 5. While playing the online Ramsey game for on -free graphs, Builder can force Painter to create either a monochromatic copy of or a blue edge with and .
Proof.
This can be proven by letting Builder draw an edge and extend it to a path of length . At any moment, if Painter colors any of these edges blue, then that creates the blue edge we seek. Otherwise, we may assume Painter produced a red path of length . Let be such a red path with vertices , and in this order on .
Now, Builder draws two edges and with a new vertex . We claim that Painter must color both and with the color blue. Without loss of generality, suppose Painter colors red. Now, Builder draws , and . If Painter colors any of these edges red, then there is a red . If Painter colors all of these edges blue, then this creates a blue . Therefore, Painter must color and blue.
Finally, Builder draws . Whenever Painter colors red or blue, this creates a monochromatic copy of .
It is easy to check that does not appear as a subgraph at every step of the game. Hence, Builder can force Painter to create either a monochromatic copy of or a blue edge with , , while playing the online Ramsey game for on -free graphs. ∎
Proposition 3.6**.**
Let be the graph in Figure 5. Builder wins the online Ramsey game for on -free graphs.
Proof.
We will present a winning strategy for Builder.
Builder draws seven pairwise disjoint edges. By the pigeonhole principle, Painter colors at least four edges with the same color. Without loss of generality, assume , , , and are red edges.
Next, Builder draws the four edges for with a new vertex . We claim that Painter must color two of them red and the other two blue. Suppose Painter colors , , and red. Now Builder draws , and . If Painter colors any of them red, then a red is created. If Painter colors all of these edges blue, then this creates a blue with vertices , and . Therefore, we may assume that are red and are blue.
Next, Builder draws . Suppose Painter colors blue. Now, Builder draws and . If Painter colors any of these edges red, then a red is created. If Painter colors both and blue, then a blue with vertices , and is created. Therefore we may assume that Painter colors red.
Now, Builder forces Painter to create a blue edge with and , which is possible by Lemma 3.5. Next, Builder draws and . We claim that Painter must color these edges blue. Without loss of generality, suppose is colored red. Then Builder draws two more edges and . If Painter colors any of , and red, then there is a red . If Painter colors all of them blue, then this creates a blue with vertices , and . Therefore, Painter must color and blue.
Finally, Builder draws and . If Painter colors any of them blue, then there is a blue . If Painter colors all of them red, then this creates a red with vertices and . See Figure 6.
It is easy to check that never appears as a subgraph at every step of the game. Hence, Builder wins the online Ramsey game for on -free graphs. ∎
3.2 When does Painter win the online Ramsey game for on -free graphs?
In this section, we will prove that Painter wins the online Ramsey game for on -free graphs for various . Recall that by Lemma 3.2, we only need to consider to be a subgraph of the graph , which is in Figure 2. For a fixed , it is sufficient to provide a strategy for Painter so that a monochromatic does not appear forever on -free graphs. We will provide three different winning strategies for Painter for three different .
Strategy 3.7**.**
Painter colors each new edge red, unless doing so creates a red , a red , or a red , in which case the new edge is colored blue.
Proposition 3.8**.**
Let be the graph in Figure 1. Painter wins the online Ramsey game for on -free graphs.
Proof.
Painter will use Strategy 3.7. We claim that Painter can always color the new edge with Strategy 3.7. Let be the new graph when Builder draws . We will use induction on the number of edges. The base case is trivial.
By the induction hypothesis, we may assume that there is no red , no red , no red , and no blue in . The strategy fails when coloring blue results in a blue and coloring red results in a red , a red , or a red . Let be the vertices of the blue when is colored blue. We will prove that if the strategy fails, then has as a subgraph, which is a contradiction, and thus the strategy does not fail. We will divide the cases according to which red subgraph appears when Painter colors red.
Case 1
Assume a red is created when Painter colors red, and let be the third vertex of this red . Since Painter colored neither nor red, coloring each of and red must have created a red , a red , or a red in . We will show that a red or a red cannot be created by coloring either or red. Without loss of generality, let us consider .
If coloring red resulted in a red with vertices in cyclic order, then and , since in , the edge is blue and does not exist. We also know that , since otherwise has a red as a subgraph, which is a contradiction to the induction hypothesis. If , then it must be that in order for to not have a red , but this contradicts that . This implies that , which means has as a subgraph, which is a contradiction.
If coloring red resulted in a red with vertices , then , since otherwise has a red as a subgraph, which contradicts the induction hypothesis. This implies that . Now, and cannot have neighbors outside of since that would create a copy of in . There is no red edge between and because that would create a red in . Since either a red or a red would create a red , neither nor can have more incident red edges, which means could have been colored red, which is a contradiction.
This boils down to the case where both and were colored blue because coloring either one red would create a red . Since cannot be a red edge (creates a red in ) and cannot have two neighbors outside of (creates a copy of in ), each of and have a neighbor and , respectively, such that and are red. It cannot be that , since this creates a red with vertices in . If , then this creates a copy of in . In either case, we obtain a contradiction.
Case 2
Assume a red is created when Painter colors red, and without loss of generality let be the vertices of the red so that are red edges. Now, and cannot have neighbors outside of since that would create a copy of . This implies that each of and cannot have two red edges incident to it, since that would create a red , with vertices . Also, cannot be a red edge since would have a red , with vertices . Since was not colored with red, coloring with red must create a red , a red , or a red in . The only possible case is when coloring with red creates a red , which implies that either or is a vertex of this red , which implies the existence of a red in , which is a contradiction.
Case 3
Assume a red is created when Painter colors red, and let be the red edges of this red other than . Now, neither nor can have a neighbor outside of since this would create a copy of in . Also, and cannot have a neighbor where and is red, respectively, since this would create a red copy of in . Since Painter colored neither nor red, coloring each of and red must create a red , a red , or a red . The only possible case is when there is a red centered at when Painter colors or red. In particular, must have two neighbors outside of where and are red edges. Yet, this creates a copy of , which is a contradiction.
Therefore, Strategy 3.7 works and thus Painter wins the online Ramsey game for on -free graphs. ∎
Before starting the proof for the case of -free graphs, we define some “good” subgraphs of a graph. We say a subgraph of that is isomorphic to either or is good if is red, and there exists a subgraph of where is a subgraph of in such a way that is isomorphic to one of the graphs in Figures 7 and 8, where the thick edges correspond to the edges of ; moreover, for , we say is good by property (or ) to mean that the corresponding is isomorphic to the graph labeled (or ) in Figures 7 and 8. We also say is good if is good because of multiple properties. For example, if satisfies the property , then is isomorphic to and the vertex of degree of has degree at least in . We say that a red subgraph of that is isomorphic to either or is bad if it is not good. Note that if a subgraph is bad, then all of its edges are red.
The idea is that we want to forbid and in the graph as much as we can, but we allow copies of and if we can guarantee that there is some structure we can utilize.
Lemma 3.9**.**
Let be the graph in Figure 1. Let be a graph that has a good with vertices where is the vertex of degree . If , , and are edges in , then contains as a subgraph.
Proof.
See Figure 9. It is easy to check that has as a subgraph in each case. ∎
Strategy 3.10**.**
Painter colors each new edge red, unless doing so creates a red , a bad , or a bad , in which case the new edge is colored blue.
Proposition 3.11**.**
Let be the graph in Figure 1. Painter wins the online Ramsey game for on -free graphs.
Proof.
Painter will use Strategy 3.10. We claim that Painter can always color the new edge with Strategy 3.10. Let be the new graph when Builder draws . We will use induction on the number of edges. The base case is trivial.
By the induction hypothesis, we may assume that none of a red , a bad , or a bad exists in . The strategy fails when coloring blue results in a blue and coloring red results in a red , a bad , or a bad . Let be the vertex of the blue so that and are blue. Note that every blue edge has at least two red edges incident with it in while Painter uses Strategy 3.10. We will prove that if the strategy fails, then has as a subgraph, which is a contradiction, and thus the strategy does not fail. We will divide the cases according to which red graph appears when Painter colors red.
Case 1
Assume a red is created when Painter colors red, and let be the third vertex of this red . Since Painter did not color and red, coloring any of and red must have created a red , a bad , or a bad . By Lemma 3.9, we may assume that there is no red edge between and . Now, we consider three subcases where coloring red creates one of a red , a bad , or a bad .
Subcase 1-1
Assume that coloring red creates a red with vertices , and . Since we assumed that there is no red edge between and , we know that . By Lemma 3.9, we may assume that there is no red edge between and . Moreover, and cannot have neighbors outside of , since cannot have as a subgraph. However, this is a contradiction because Painter must have colored red (instead of blue) since this does not create any of a bad , a bad , or a red . Note that although there can be an edge in , Painter could not color red since this creates a red in .
Subcase 1-2
Assume that coloring red creates a bad , say , with vertices , and in cyclic order. Since there is no red edge between and , we know that .
Suppose . Note that , and cannot have neighbors outside of and has none of , and , otherwise has as a subgraph. Therefore, there was no red when Painter colored red.
If there was a bad when Painter colored red, then the only possible case is when the bad consists of vertices , and since , and has no neighbor outside of . Note that there is a red with vertices , and . If has no neighbors outside of , then this red must be bad, which is a contradiction. Therefore, whenever is drawn later than or is drawn later than , the later one must be colored red since the corresponding red is actually good.
The only remaining reason that Painter colored blue is that there are two red edges incident with so that coloring red creates a bad , say . There are two cases: when there is a red edge between and so that and when there is no red edge between and but there is a red edge with a new vertex so that .
- •
When there is a red edge between and so that .
- –
Suppose Builder drew later than . Then is good by property , which is a contradiction.
- –
Suppose Builder drew later than . Then is good by property , which is a contradiction.
- •
When there is no red edge between and but there is a red edge with a new vertex so that .
- –
Suppose Builder drew later than . Then is good by property , which is a contradiction.
- –
Suppose Builder drew later than . Then is good by property , which is a contradiction.
Note that for both cases, may not be drawn at each step of the game.
Now suppose . It is easy to check that , and cannot have neighbors outside of , since otherwise has as a subgraph. Since a red with vertices must be good, must have at least one neighbor outside of . Note that this is only true for those steps of the game in which the red has already been drawn.
- •
Suppose that is drawn later than .
- –
Coloring red cannot create a red since cannot have neighbors outside of .
- –
Coloring red cannot create a bad since the only possible red is of vertices , and . Since there is a red , must have at least one neighbor outside of and this implies that the red is good.
- –
Coloring red cannot create a bad since cannot have neighbors outside of . Even if there are two red edges and for vertices and (one of and may be equal to , but not to or ), the red with vertices , and is good by property .
Note that there are no red edges between and , between and , between and , or between and .
- •
Suppose that is drawn later than . Now, there are two cases: when coloring red created a bad or when coloring red created a bad . Note that coloring red cannot create a red .
- –
If coloring red would have created a bad , then the vertices of this must be , and , since , and cannot have neighbors outside of and is not a red edge. Hence, must have been drawn before .
- –
If coloring red would have created a bad , then there must have been two vertices such that and are red, and these are drawn earlier than . Whenever or not, is good, which is a contradiction.
Note that there are no red edges between and or between and .
Subcase 1-3
We may assume that coloring red creates a bad , say . If is the center of , then since there is no red edge between and , has as a subgraph, which is a contradiction. Therefore, we may assume that is a center of , and , and are the three edges of with new vertices and . By symmetry, we may assume that coloring red creates a bad , with the center . We may also assume that , and are the three edges of with new vertices and . Note that is not necessarily distinct from .
- •
If , then it is easy to check that Painter can color one of and red since or must be good by property , which is a contradiction.
- •
If , then it is easy to check that Painter can color one of and red since or must be good by property , which is a contradiction.
- •
If , then let and . We may assume that is drawn later than , by symmetry. Then right before Builder draws , each of cannot have neighbors outside of , since otherwise becomes good when Painter colors red. However, this is a contradiction since the red with vertices , is bad in . This is because a red in a component of at most five vertices is always bad.
Case 2
Assume a bad , say , is created when Painter colors red, and without loss of generality let , and be the vertices of so that are red edges. Now, cannot have neighbors outside of in since otherwise is good by property when is colored red in . If there is a red edge between and and between and , then this case is covered by Case . Therefore, we may assume that there is no red edge between and and between and in . Since the blue edge must have two incident red edges in , we may assume that the two red edges are incident with , say . We can check that , since otherwise is good by property when is colored red in . Since has a red with vertices , say , by the induction hypothesis, must be good. This implies that the component containing must have at least six vertices, thus, one of , and has a neighbor outside of . However, this implies that is good when is colored red, which is a contradiction.
Case 3
Assume a bad , say , is created when Painter colors red, and let be the red edges of . Now each of cannot have neighbors outside of , since otherwise is good in . This also implies that there is no red in this component since in a component of at most five vertices must be bad. Then the blue edge has no two red edges incident with it in , which is a contradiction.
Therefore, Strategy 3.10 works, and thus Painter wins the online Ramsey game for on -free graphs. ∎
We present a winning strategy for Painter that can be used for the following proposition covering two cases.
Strategy 3.12**.**
When Builder draws an edge , if a blue is made when Painter colors blue or there is no red edge incident to , then Painter colors red. Otherwise, Painter colors blue.
Proposition 3.13**.**
Let and be the graphs in Figure 1. Painter wins the online Ramsey game for on -free graphs and Painter wins the online Ramsey game for on -free graphs.
Proof.
We will prove both statements at the same time. Painter will use Strategy 3.12. We claim that Painter can always color the new edge with Strategy 3.12. Let be the new graph when Builder draws . We will use induction on the number of edges. The base case is trivial.
By the induction hypothesis, we may assume that every blue edge is incident with at least one red edge and that there is no monochromatic in . The strategy fails when coloring blue and red results in a blue and a red , respectively. Let be vertices such that and are vertices of the blue and the red , respectively. We will prove that if the strategy fails, then has both and as subgraphs, which is a contradiction, and thus the strategy does not fail in either game.
Without loss of generality, we may assume that Builder has drawn later than . Consider the graph right after Builder drew . Note that is incident to a red edge . Since Painter uses Strategy 3.12 and Painter colored red, there must be a blue when Painter colors blue. Let be the vertices of the blue . Note that and are drawn earlier than . If , then contains both and as a subgraph, and thus must be the same as .
Now consider the graph right before Builder drew . Since Builder has already drawn and Painter colored it blue, must have at least one incident red edge in . This red edge is incident with either or , but in both cases contains both and as a subgraph, which is a contradiction, and thus the strategy works.
Therefore, Strategy 3.12 works, and thus Painter wins the online Ramsey game for on both -free graphs and -free graphs. ∎
3.3 The final touch
In this subsection we prove Theorem 3.1. We need two additional lemmas to prove Theorem 3.1.
Lemma 3.14**.**
If Builder wins the online Ramsey game for on -free graphs for a graph , then Builder wins the online Ramsey game for on -free graphs for every graph that has as a subgraph.
Proof.
Since the set of -free graphs is a subset of the set of -free graphs, Builder can use the same strategy used in the case of -free graphs. ∎
Lemma 3.15**.**
If Painter wins the online Ramsey game for on -free graphs for a graph , then Painter wins the online Ramsey game for on -free graphs for every graph that is a subgraph of .
Proof.
Since the set of -free graphs is a subset of the set of -free graphs, Painter can use the same strategy used in the case of -free graphs.∎
Finally, we prove Theorem 3.1.
Proof of Theorem 3.1.
By Lemma 3.2, it is enough to consider when is a subgraph of .
By Propositions 3.8, 3.11, and 3.13, along with Lemma 3.15, Painter wins the online Ramsey game for on -free graphs if is isomorphic to a subgraph of a graph in . By Propositions 3.3, 3.4, and 3.6, along with Lemma 3.14, Builder wins the online Ramsey game for on -free graphs if contains a graph in as a proper subgraph.
It is easy to check that all graphs without isolated vertices are covered by the above paragraph except for the graph . Figure 10 shows subgraphs of . Moreover, “Builder” and “Painter” written under some graph in Figure 10 means that Builder and Painter, respectively, wins the online Ramsey game for on -free graphs. ∎
We end this section with the only case that is unsolved.
Question 3.16**.**
Let be the graph in Figure 1. Who wins the online Ramsey game for on -free graphs?
Acknowledgments
We thank the anonymous referee for helping us improve the readability of the paper.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Balogh and J. Butterfield. Online Ramsey games for triangles in random graphs. Discrete Math. , 310(24):3653–3657, 2010.
- 2[2] J. Beck. Achievement games and the probabilistic method. In Combinatorics, Paul Erdős is eighty, Vol. 1 , Bolyai Soc. Math. Stud., pages 51–78. János Bolyai Math. Soc., Budapest, 1993.
- 3[3] S. A. Burr, P. Erdős, and L. Lovasz. On graphs of Ramsey type. Ars Combinatoria , 1(1):167–190, 1976.
- 4[4] J. Butterfield, T. Grauman, W. B. Kinnersley, K. G. Milans, C. Stocker, and D. B. West. On-line Ramsey theory for bounded degree graphs. Electron. J. Combin. , 18(1):Paper 136, 17, 2011.
- 5[5] D. Conlon. On-line Ramsey numbers. SIAM J. Discrete Math. , 23(4):1954–1963, 2009/10.
- 6[6] D. Conlon, J. Fox, and B. Sudakov. Recent developments in graph Ramsey theory. In Surveys in combinatorics 2015 , volume 424 of London Math. Soc. Lecture Note Ser. , pages 49–118. Cambridge Univ. Press, Cambridge, 2015.
- 7[7] J. Cyman and T. Dzido. A note on on-line Ramsey numbers for quadrilaterals. Opuscula Math. , 34(3):463–468, 2014.
- 8[8] J. Cyman, T. Dzido, J. Lapinskas, and A. Lo. On-line Ramsey numbers of paths and cycles. Electron. J. Combin. , 22(1):Paper 1.15, 32, 2015.
