Density of rainbow triangles and properly colored $K_4$'s
József Balogh, Peter Bradshaw, Ramon I. Garcia, Bernard Lidický
TL;DR
This work resolves sharp extremal questions for rainbow triangles and properly colored $K_4$’s in edge-colored graphs with fixed color-edge counts. It delivers a computer-free flag-algebra proof of the bound $T^2 \le 2RGB$, together with elementary counting and entropy proofs, and proves the uniqueness of the extremal balanced blowup of a properly colored $K_4$. It extends the methodology to show sharp bounds for the number of properly colored $K_4$’s, $K \le \tfrac{1}{4}\min\{RG,GB,RB\}$ and $K \le \tfrac{1}{4}(RGB)^{2/3}$, with equality characterizing balanced blowups. The paper also bounds the number of rainbow copies of $K_4$ under a fixed rainbow coloring, establishing $H \le \prod_{i=1}^6 C_i$, and provides three parallel proofs. Across sections, the authors tie flag-algebra technology to counting and entropy methods, emphasize blowup-translation between finite graphs and density limits, and discuss stability and potential extensions in incidence geometry contexts.
Abstract
T.-W. Chao and H.-H. H. Yu showed in 2023 that a graph with $R$ red, $G$ green, and $B$ blue edges has at most $\sqrt{2 RGB}$ rainbow triangles. They proved this bound using the entropy method. We give a computer-free flag-algebra proof of this bound, and we also convert our proof into a classical counting proof. The ideas in our proof lead to an even shorter entropy proof. We also show uniqueness of the extremal construction. Additionally, we prove a similar result that gives a sharp upper bound on the number of properly $3$-edge-colored $K_4$'s in graphs with $R$ red, $G$ green and $B$ blue edges.
