Flag algebras are an important computational tool in the field of graph theory which have a wide range of applications in homomorphism density and related topics. Roughly, they formalize the notion of adding and multiplying homomorphism densities and set up a framework to solve graph homomorphism inequalities with computers by reducing them to semidefinite programming problems. Originally introduced by Alexander Razborov in a 2007 paper, the method has since come to solve numerous difficult, previously unresolved graph theoretic questions. These include the D2,3 question regarding the region of feasible edge density, triangle density pairs and the maximum number of pentagons in triangle free graphs.
Motivation The motivation of the theory of flag algebras is credited to John Adrian Bondy and his work on the Caccetta-Haggkvist conjecture, where he illustrated his main ideas via a graph homomorphism flavored proof to Mantel's Theorem. This proof is an adaptation on the traditional proof of Mantel via double counting, except phrased in terms of graph homomorphism densities and shows how much information can be encoded with just density relationships.
Theorem (Mantel): The edge density in a triangle-free graph G is at most 12. In other words, ex(K2,{K3})≤12. As the graph is triangle-free, among 3 vertices in G, they can either form an independent set, a single induced edge P3~, or a path of length 2 P3. Denoting d(H,G) as the induced density of a subgraph H in G, double counting gives: (n3)(d(P3~,G)+2d(P3,G))=(n2)(n−2)d(K2,G)⟹d(P3~,G)+2d(P3,G)=3d(K2,G). Intuitively, d(P3,G)≈3d(K2,G)2 since a P3 just consists of two K2s connected together, and there are 3 ways to label the common vertex among a set of 3 points. In fact, this can be rigorously proven by double counting the number of induced P3s. Letting |G| denote the number of vertices of G, we have:
d(P3,G)=(|G|3)−1∑v∈V(G)(d(v)2)=(|G|3)−1(|G|−12)∑v∈V(G)d(P3b,Gv)=3|G|∑v∈V(G)d(P3b,Gv), where P3b is the path of length 2 with its middle vertex labeled, and d(P3b,Gv) represents the density of P3bs subject to the constraint that the labeled vertex is used, and that P3b is counted as a proper induced subgraph only when its labeled vertex coincides with v. Now, note that d(P3b,Gv)≈d(K2b,Gv)2 since the probability of choosing two K2bs where the unlabeled vertices coincide is small (to be rigorous, a limit as |G|→∞ should be taken, so d(H,G) acts as a limit function on a sequence of larger and larger graphs G. This idea will be important for the actual definition of flag algebras.) To finish, apply the Cauchy–Schwarz inequality to get
∑v∈V(G)d(P3b,Gv)≈∑v∈V(G)d(K2b,Gv)2≥1|G|(∑v∈V(G)d(K2b,Gv))2=1|G|(1|G|−1(|G|2)2d(K2,G))2=|G|d(K2,G)2. Plugging this back into our original relation proves what was hypothesized intuitively. Finally, note that d(P3~,G)≥0 so
6d(K2,G)2≤2d(P3,G)≤3d(K2,G)⟹d(K2,G)≤12. The important ideas from this proof which will be generalized in the theory of flag algebras are substitutions such as d(P3,G)→3d(K2,G)2, the use of labeled graph densities, considering only the "limit case" of the densities, and applying Cauchy at the end to get a meaningful result.
Definition Fix a collection of forbidden subgraphs ℋ and consider the set of graphs 𝒢 of ℋ-free graphs. Now, define a type of size k to be a graph σ∈𝒢 with labeled vertices V(σ)=[k]. The type of size 0 is typically denoted as ∅. First, we define a σ-flag, a partially labeled graph which will be crucial for the theory of flag algebras:
Definition: A σ-flag is a pair (F,θ) where F∈𝒢 is an underlying, unlabeled, ℋ-free graph, while θ:[k]→V(F) defines a labeled graph embedding of σ onto the vertices F. Denote the set of σ-flags to be ℱσ and the set of σ-flags of size n to be ℱnσ. As an example, P3b from the proof of Mantel's Theorem above is a σ-flag where σ is a type of size 1 corresponding to a single vertex. For σ-flags F1,F2,…,Ft,(G,θ) satisfying |G|−|σ|≥∑i=1t|Fi|−|σ|, we can define the density of the σ-flags onto the underlying graph G in the following way:
Definition: The density p(F1,F2,…,Ft;G) of the σ-flags F1,…,Ft in G is defined to be the probability of successfully randomly embedding F1,…,Ft into V(G) such that they are nonintersecting on V(G)∖im(θ) and are all labeled in the exact same way as G on im(θ). More precisely, choose pairwise disjoint U1,U2,…,Ut⊆V(G)∖im(θ) at random and define p(F1,…,Ft;G) to be the probability that the σ-flag (G[Ui∪im(θ)],θ) is isomorphic to Fi for all i∈[t]. Note that, when embedding F into G, where F,G are σ-flags, it can be done by first embedding F into a σ-flag F′ of size n∈[|F|,|G|] and then embedding F′ into G, which gives the formula: p(F;G)=∑F′∈ℱnσp(F;F′)p(F′;G). Extending this to sets of σ-flags gives the Chain Rule:
Theorem (Chain Rule): If F1,F2,…,Ft,G are σ-flags, s,n are naturals such that F1,…,Ft fit in G, F1,…,Fs fit in a σ-flag of size n, and a σ-flag of size n combined with Fs+1,…,Ft fit in G, then p(F1,F2,…,Ft;G)=∑F∈ℱnσp(F1,…,Fs;F)p(F,Fs+1,…,Ft;G). Recall that the previous proof for Mantel's involved linear combinations of terms of the form d(H,G). The relevant ideas were slightly imprecise with letting |G| tend to infinity, but explicitly there is a sequence G1,G2,… such that d(H,Gi) converges to some ϕ(H) for all H, where ϕ is called a limit functional. Thus, all references to d(H,G) really refer to the limit functional. Now, graph homomorphism inequalities can be written as linear combinations of ϕ with different Hs, but it would be convenient to express them as a single term. This motivates defining ℝℱσ, the set of formal linear combinations of σ-flags over ℝ, and now ϕ can be extended to a linear function over ℝℱσ. However, using the full space ℝℱσ is wasteful when investigating just limit functionals, since there exist nontrivial relations between densities of certain σ-flags. In particular, the Chain Rule shows that
ϕ(F)=ϕ(∑F′∈ℱnσp(F;F′)F′)⟹F−∑F′∈ℱnσp(F;F′)F′∈kerϕ is always true. Rather than dealing with all of these elements of the kernel, let the set of expressions of the above form (i.e. those obtained from Chain Rule with a single σ-flag) as 𝒦σ and quotient them out in our final analysis. These ideas combine to form the definition for a flag algebra:
… excerpt ends here. Continue reading the full article.