A COUNTEREXAMPLE TO A HEREDITARY TRIANGLE RAMSEY COMPACTNESS PROBLEM BRIAN SATURNINO Abstract. We disprove a hereditary compactness problem for finite triangle-Ramsey graphs. We construct a hereditary class of finite graphs, closed under ordinary subgraphs, which contains finite graphs Ramsey for monochromatic triangles under every finite number of edge-colours, but which admits no infinite-cardinal triangle-Ramsey graph whose age is contained in the class. We also prove the analogous counterexample for hereditary classes under induced subgraphs. The only external input is the Neˇ setˇ ril–R ̈ odl sparse clique-copy Ramsey theorem. 1. Introduction All graphs in this paper are simple. A copy of a graph always means an ordinary, not necessarily induced, copy unless explicitly stated otherwise. Subgraphs are allowed to retain isolated vertices. For a cardinal κ , we write G → ( K 3 ) 2 κ to mean that every κ -colouring of E ( G ) contains a monochromatic ordinary copy of K 3 The problem considered here asks whether the following finite-to-infinite principle holds. Let S be a hereditary family of finite graphs, closed under isomorphism and ordinary finite subgraphs. Suppose that for every positive integer n there is some G n ∈ S such that G n → ( K 3 ) 2 n Must it follow that for every infinite cardinal κ there is a graph G such that Age( G ) ⊆ S and G → ( K 3 ) 2 κ ? We show that the answer is no. We also prove the corresponding negative result for hereditary classes under finite induced subgraphs. The proof uses the sparse clique-copy Ramsey theorem of Neˇ setˇ ril and R ̈ odl as a black box. After this input, the construction is self-contained. 1 2 BRIAN SATURNINO 2. The main theorem Main Theorem 1. There exists a class S ord of finite graphs, closed under isomorphism and ordinary finite subgraphs, such that: (1) for every positive integer n , some graph in S ord satisfies G → ( K 3 ) 2 n ; (2) for no infinite cardinal κ is there a graph G such that Age( G ) ⊆ S ord and G → ( K 3 ) 2 κ There also exists a class S ind of finite graphs, closed under isomorphism and finite induced subgraphs, such that: (1) for every positive integer n , some graph in S ind satisfies G → ( K 3 ) 2 n ; (2) for no infinite cardinal κ is there a graph G such that Age ind ( G ) ⊆ S ind and G → ( K 3 ) 2 κ Here Age( G ) denotes the class of finite ordinary subgraphs of G , up to isomorphism, and Age ind ( G ) denotes the class of finite induced subgraphs of G , up to isomorphism. 3. The sparse clique-copy Ramsey input We use the following standard theorem of Neˇ setˇ ril and R ̈ odl, in the copy- hypergraph formulation for 3-chromatically connected graphs; see [1, Theo- rem 1.7] for a modern statement of this form, and [2] for the original source. Theorem 2 (Neˇ setˇ ril–R ̈ odl sparse triangle-copy Ramsey theorem) For all integers r ≥ 2 , ℓ ≥ 3 , there exists a finite simple graph G such that: (1) every r -colouring of E ( G ) contains a monochromatic ordinary tri- angle; (2) the hypergraph K 3 ( G ) , whose vertex set is E ( G ) and whose hyper- edges are the edge-sets of ordinary triangles in G , has Berge-girth greater than ℓ Equivalently, G → ( K 3 ) 2 r and bgirth( K 3 ( G )) > ℓ. HEREDITARY TRIANGLE RAMSEY CLASSES 3 Here bgirth( K 3 ( G )) is the hypergraph girth of K 3 ( G ) in the sense of the cited sparse Ramsey theorem, that is, its Berge-girth. This is the only external input used in the paper, and only its H = K 3 case is needed here. 4. Triangle hypergraphs Definition 3. For a graph G , define its triangle hypergraph T ( G ) by V ( T ( G )) = E ( G ) , and { e 1 , e 2 , e 3 } ∈ E ( T ( G )) if and only if e 1 , e 2 , e 3 are exactly the three graph edges of an ordinary triangle in G A Berge cycle of length m in a hypergraph H is a sequence v 0 , F 0 , v 1 , F 1 , . . . , v m − 1 , F m − 1 , v 0 where the v i are distinct vertices of H , the F i are distinct hyperedges of H , and v i , v i +1 ∈ F i for all i , with indices modulo m . The Berge-girth of H , denoted bgirth( H ), is the least length of a Berge cycle in H , or + ∞ if no Berge cycle exists. Lemma 4. For every graph G and every cardinal κ , G → ( K 3 ) 2 κ if and only if χ ( T ( G )) > κ. Proof. A κ -colouring of E ( G ) is exactly a κ -colouring of the vertex set of T ( G ), since V ( T ( G )) = E ( G ) A monochromatic ordinary triangle in G is exactly a monochromatic hyper- edge of T ( G ). Thus a κ -colouring of E ( G ) with no monochromatic triangle is exactly a proper κ -colouring of T ( G ). Therefore such a colouring exists if and only if χ ( T ( G )) ≤ κ. Equivalently, G → ( K 3 ) 2 κ if and only if χ ( T ( G )) > κ. □ 4 BRIAN SATURNINO Proposition 5 (Finite triangle-girth Ramsey principle) For every n ≥ 2 , g ≥ 3 , there exists a finite simple graph W such that χ ( T ( W )) > n and bgirth( T ( W )) > g. Proof. Apply Theorem 2 with r = n, ℓ = g. We obtain a finite simple graph W such that W → ( K 3 ) 2 n and bgirth( K 3 ( W )) > g. By definition, K 3 ( W ) has vertex set E ( W ) and hyperedges the edge-sets of ordinary copies of K 3 in W Since an ordinary copy of K 3 in a simple graph is exactly an ordinary triangle, we have K 3 ( W ) = T ( W ) Therefore bgirth( T ( W )) > g. Also, by Lemma 4, W → ( K 3 ) 2 n implies χ ( T ( W )) > n. □ 5. Minimal cores Definition 6. An ordinary minimal 2-Ramsey core is a finite graph M such that M → ( K 3 ) 2 2 , but no proper ordinary subgraph of M has this property. Lemma 7. Every finite Berge-acyclic hypergraph whose hyperedges all have size at least 2 is 2 -colourable. Proof. Let H be such a hypergraph. Its incidence graph I ( H ) is the bipartite graph with one part V ( H ) and the other part E ( H ), with an edge joining v ∈ V ( H ) to F ∈ E ( H ) exactly when v ∈ F A Berge cycle in H is exactly a cycle in I ( H ). Hence I ( H ) is a forest. Consider one connected component of I ( H ). If it consists of a single vertex-node, then it corresponds to an isolated vertex of H , which may be coloured arbitrarily. Otherwise choose any vertex-node as a root. We define colours on the vertex-nodes recursively away from the root. HEREDITARY TRIANGLE RAMSEY CLASSES 5 Give the root either colour. Now let F be a hyperedge-node whose parent in the rooted tree is a vertex v Since F has size at least 2, the node F has at least one child vertex. Choose one child vertex w of F and give it the colour opposite to that of v ; assign arbitrary colours to the other child vertices of F . Continue recursively from each child vertex. When this process terminates, every hyperedge F contains its parent ver- tex v and the chosen child vertex w with opposite colours, so F is not monochromatic. Performing this construction independently on each com- ponent gives a 2-colouring of H □ Lemma 8. If M is an ordinary minimal 2 -Ramsey core, then T ( M ) con- tains a Berge cycle. Proof. By Lemma 4, M → ( K 3 ) 2 2 is equivalent to χ ( T ( M )) > 2 Thus T ( M ) is not 2-colourable. The hypergraph T ( M ) is finite and 3-uniform. By Lemma 7, if T ( M ) were Berge-acyclic, then it would be 2-colourable. This is impossible. Hence T ( M ) contains a Berge cycle. □ 6. The finite avoidance principle Proposition 9 (STAR) Let F be a finite family of ordinary minimal 2 - Ramsey cores, and let n ≥ 2 . Then there exists a finite simple graph W such that W → ( K 3 ) 2 n and no member of F occurs as an ordinary subgraph of W Proof. If F = ∅ , the result follows immediately from Proposition 5. Assume F = { M 1 , . . . , M s } By Lemma 8, each T ( M i ) contains a Berge cycle. Choose one such cycle in each T ( M i ), and let its length be ℓ i . Choose g > max i ℓ i with g ≥ 3. By Proposition 5, there exists a finite simple graph W such that χ ( T ( W )) > n and bgirth( T ( W )) > g. By Lemma 4, W → ( K 3 ) 2 n 6 BRIAN SATURNINO Suppose some M i occurred as an ordinary subgraph of W Then every triangle of M i is a triangle of W , so T ( M i ) ⊆ T ( W ) as a subhypergraph. The chosen Berge cycle in T ( M i ) would then be a Berge cycle in T ( W ) of length ℓ i < g , contradicting bgirth( T ( W )) > g. Therefore no member of F occurs as an ordinary subgraph of W □ 7. The ordinary hereditary counterexample We recursively construct finite graphs W 2 , W 3 , W 4 , . . . as follows. Suppose that W 2 , . . . , W n − 1 have already been chosen. Let F n be the finite family of all ordinary minimal 2-Ramsey cores that occur as ordinary subgraphs of one of W 2 , . . . , W n − 1 This family is finite because the earlier blocks are finite. By Proposition 9, choose a finite simple graph W n such that W n → ( K 3 ) 2 n and no member of F n occurs as an ordinary subgraph of W n Define S ord = ⋃ n ≥ 2 Sub( W n ) , where Sub( W n ) denotes the class of all finite ordinary subgraphs of W n , closed under isomorphism. Lemma 10. The class S ord is hereditary under ordinary finite subgraphs. Proof. If H ∈ S ord , then H is isomorphic to an ordinary subgraph of some W n . Every ordinary subgraph of H is therefore isomorphic to an ordinary subgraph of W n , hence belongs to S ord □ Lemma 11. For every positive integer n , some graph in S ord satisfies G → ( K 3 ) 2 n Proof. For n ≥ 2, the graph W n belongs to S ord and satisfies W n → ( K 3 ) 2 n For n = 1, the graph W 2 works. □ We shall use the following standard compactness principle. HEREDITARY TRIANGLE RAMSEY CLASSES 7 Lemma 12 (de Bruijn–Erd ̋ os compactness for hypergraph colourings) Let H be a hypergraph all of whose hyperedges are finite, and let k be a positive integer. If every finite subhypergraph of H is k -colourable, then H is k - colourable. Proof. Consider the compact product space { 1 , . . . , k } V ( H ) For each hyperedge F ∈ E ( H ), let C F be the set of colourings in which F is not monochromatic. Since F is finite, the set C F is closed. The hypothesis says that every finite intersection of the sets C F is nonempty. By compact- ness, the total intersection is nonempty. Any colouring in this intersection is a proper k -colouring of H □ Lemma 13. If G is a graph with Age( G ) ⊆ S ord , then χ ( T ( G )) < ω. Proof. There are two cases. First suppose that G contains no ordinary minimal 2-Ramsey core. We claim that every finite subhypergraph of T ( G ) is 2-colourable. If not, let H 0 be a finite subhypergraph of T ( G ) which is not 2-colourable. Let F be the finite set of graph edges of G appearing as vertices of H 0 , and let G F be the finite ordinary subgraph of G with edge set F and with vertex set consisting of the endpoints of edges in F . Then H 0 is a subhypergraph of T ( G F ). Hence T ( G F ) is not 2-colourable, and by Lemma 4, G F → ( K 3 ) 2 2 Since G F is finite, it contains an ordinary subgraph minimal with respect to the property of arrowing ( K 3 ) 2 2 . This is an ordinary minimal 2-Ramsey core in G , a contradiction. Thus every finite subhypergraph of T ( G ) is 2-colourable. By Lemma 12, χ ( T ( G )) ≤ 2 Now suppose that G contains an ordinary minimal 2-Ramsey core M Since Age( G ) ⊆ S ord , the graph M belongs to S ord . Therefore M occurs as an ordinary subgraph of at least one block W j . Let j be the least such index. No earlier block contains M by the minimality of j . Also, no later block contains M : if i > j , then at stage i the core M belonged to F i , since it occurred in the earlier block W j , and therefore W i was chosen to avoid M Hence M occurs as an ordinary subgraph only in W j 8 BRIAN SATURNINO Let Y be any finite vertex set of G containing V ( M ). The induced finite subgraph G [ Y ] contains M as an ordinary subgraph. Since Age( G ) ⊆ S ord , the graph G [ Y ] is isomorphic to an ordinary subgraph of some W i That block W i therefore contains an ordinary copy of M Hence i = j Conse- quently, | Y | ≤ | V ( W j ) | Since this holds for every finite Y ⊇ V ( M ), the graph G is finite. Therefore T ( G ) is finite, and χ ( T ( G )) < ω. □ Proposition 14. The ordinary-subgraph hereditary version is false. Proof. By Lemmas 10 and 11, the class S ord is hereditary under ordinary fi- nite subgraphs and contains finite n -colour triangle-Ramsey graphs for every positive integer n Let κ be an infinite cardinal, and let G be any graph with Age( G ) ⊆ S ord By Lemma 13, χ ( T ( G )) < ω. Since κ is infinite, χ ( T ( G )) ≤ κ. By Lemma 4, G ↛ ( K 3 ) 2 κ Thus no such G can satisfy G → ( K 3 ) 2 κ □ 8. The induced hereditary counterexample Use the same block sequence W 2 , W 3 , W 4 , . . . constructed in the previous section. Define S ind = ⋃ n ≥ 2 Ind( W n ) , where Ind( W n ) denotes the class of all finite induced subgraphs of W n , closed under isomorphism. Lemma 15. The class S ind is hereditary under finite induced subgraphs. Proof. If H ∈ S ind , then H is isomorphic to an induced subgraph of some W n Every induced subgraph of H is therefore isomorphic to an induced subgraph of W n , and hence belongs to S ind □ HEREDITARY TRIANGLE RAMSEY CLASSES 9 Lemma 16. For every positive integer n , some graph in S ind satisfies G → ( K 3 ) 2 n Proof. For n ≥ 2, the graph W n belongs to S ind and satisfies W n → ( K 3 ) 2 n For n = 1, again W 2 works. □ Lemma 17. If G is a graph with Age ind ( G ) ⊆ S ind , then χ ( T ( G )) < ω. Proof. There are two cases. First suppose that G contains no ordinary minimal 2-Ramsey core. The same argument as in the first case of Lemma 13 shows that every finite subhypergraph of T ( G ) is 2-colourable. Hence, by Lemma 12, χ ( T ( G )) ≤ 2 Now suppose that G contains an ordinary minimal 2-Ramsey core M . The induced subgraph G [ V ( M )] contains M as an ordinary subgraph. Since Age ind ( G ) ⊆ S ind , the graph G [ V ( M )] is isomorphic to an induced subgraph of some W j Therefore W j contains M as an ordinary subgraph. Let j be the least index such that W j contains M as an ordinary subgraph. As in the ordinary case, no earlier block contains M by minimality of j , and no later block contains M by the recursive construction. Thus M occurs as an ordinary subgraph only in W j Let Y be any finite vertex set of G containing V ( M ). Then G [ Y ] contains M as an ordinary subgraph. Since Age ind ( G ) ⊆ S ind , the graph G [ Y ] is isomorphic to an induced subgraph of some W i . Therefore W i contains M as an ordinary subgraph, so i = j . Hence | Y | ≤ | V ( W j ) | Since this holds for every finite Y ⊇ V ( M ), the graph G is finite. Therefore T ( G ) is finite, and χ ( T ( G )) < ω. □ Proposition 18. The induced-subgraph hereditary version is false. 10 BRIAN SATURNINO Proof. By Lemmas 15 and 16, the class S ind is hereditary under finite in- duced subgraphs and contains finite n -colour triangle-Ramsey graphs for every positive integer n Let κ be an infinite cardinal, and let G be any graph with Age ind ( G ) ⊆ S ind By Lemma 17, χ ( T ( G )) < ω. Since κ is infinite, χ ( T ( G )) ≤ κ. By Lemma 4, G ↛ ( K 3 ) 2 κ Thus no such G can satisfy G → ( K 3 ) 2 κ □ Proof of the Main Theorem. The ordinary-subgraph statement follows from Proposition 14. The induced-subgraph statement follows from Proposi- tion 18. □ 9. Remarks on the Ramsey input The only external input is the H = K 3 case of the Neˇ setˇ ril–R ̈ odl sparse Ramsey theorem for 3-chromatically connected graphs; see again [1, Theo- rem 1.7]. In that formulation, H ( G ) denotes the hypergraph whose vertices are E ( G ) and whose hyperedges are the edge-sets of copies of H in G . For H = K 3 , this hypergraph is exactly T ( W ). No assertion is made that an analogous sparse theorem holds for arbitrary finite graphs A with copy hypergraphs whose vertices are graph edges. Such a statement is false in general; for example, taking A = P 3 gives a line-graph- type copy hypergraph whose chromatic number is bounded under large girth assumptions. This broader statement is not used anywhere above. References [1] A. Gir ̃ ao and R. Hancock, Two Ramsey problems in blowups of graphs , European Journal of Combinatorics 120 (2024), 103984. [2] J. Neˇ setˇ ril and V. R ̈ odl, Sparse Ramsey graphs , Combinatorica 4 (1984), 71–78.