- Source: Flag algebra
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
D
2
,
3
{\displaystyle D_{2,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
{\displaystyle G}
is at most
1
2
{\displaystyle {\frac {1}{2}}}
. In other words,
e
x
(
K
2
,
{
K
3
}
)
≤
1
2
.
{\displaystyle \mathrm {ex} (K_{2},\{K_{3}\})\leq {\frac {1}{2}}.}
As the graph is triangle-free, among 3 vertices in
G
{\displaystyle G}
, they can either form an independent set, a single induced edge
P
3
~
{\displaystyle {\tilde {P_{3}}}}
, or a path of length 2
P
3
{\displaystyle P_{3}}
. Denoting
d
(
H
,
G
)
{\displaystyle d(H,G)}
as the induced density of a subgraph
H
{\displaystyle H}
in
G
{\displaystyle G}
, double counting gives:
(
n
3
)
(
d
(
P
3
~
,
G
)
+
2
d
(
P
3
,
G
)
)
=
(
n
2
)
(
n
−
2
)
d
(
K
2
,
G
)
⟹
d
(
P
3
~
,
G
)
+
2
d
(
P
3
,
G
)
=
3
d
(
K
2
,
G
)
.
{\displaystyle {\binom {n}{3}}\left(d({\tilde {P_{3}}},G)+2d(P_{3},G)\right)={\binom {n}{2}}(n-2)d(K_{2},G)\implies d({\tilde {P_{3}}},G)+2d(P_{3},G)=3d(K_{2},G).}
Intuitively,
d
(
P
3
,
G
)
≈
3
d
(
K
2
,
G
)
2
{\displaystyle d(P_{3},G)\approx 3d(K_{2},G)^{2}}
since a
P
3
{\displaystyle P_{3}}
just consists of two
K
2
{\displaystyle K_{2}}
s 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
P
3
{\displaystyle P_{3}}
s. Letting
|
G
|
{\displaystyle |G|}
denote the number of vertices of
G
{\displaystyle G}
, we have:
d
(
P
3
,
G
)
=
(
|
G
|
3
)
−
1
∑
v
∈
V
(
G
)
(
d
(
v
)
2
)
=
(
|
G
|
3
)
−
1
(
|
G
|
−
1
2
)
∑
v
∈
V
(
G
)
d
(
P
3
b
,
G
v
)
=
3
|
G
|
∑
v
∈
V
(
G
)
d
(
P
3
b
,
G
v
)
,
{\displaystyle d(P_{3},G)={\binom {|G|}{3}}^{-1}\sum _{v\in V(G)}{\binom {d(v)}{2}}={\binom {|G|}{3}}^{-1}{\binom {|G|-1}{2}}\sum _{v\in V(G)}d(P_{3}^{b},G^{v})={\frac {3}{|G|}}\sum _{v\in V(G)}d(P_{3}^{b},G^{v}),}
where
P
3
b
{\displaystyle P_{3}^{b}}
is the path of length 2 with its middle vertex labeled, and
d
(
P
3
b
,
G
v
)
{\displaystyle d(P_{3}^{b},G^{v})}
represents the density of
P
3
b
{\displaystyle P_{3}^{b}}
s subject to the constraint that the labeled vertex is used, and that
P
3
b
{\displaystyle P_{3}^{b}}
is counted as a proper induced subgraph only when its labeled vertex coincides with
v
{\displaystyle v}
. Now, note that
d
(
P
3
b
,
G
v
)
≈
d
(
K
2
b
,
G
v
)
2
{\displaystyle d(P_{3}^{b},G^{v})\approx d(K_{2}^{b},G^{v})^{2}}
since the probability of choosing two
K
2
b
{\displaystyle K_{2}^{b}}
s where the unlabeled vertices coincide is small (to be rigorous, a limit as
|
G
|
→
∞
{\displaystyle |G|\to \infty }
should be taken, so
d
(
H
,
G
)
{\displaystyle d(H,G)}
acts as a limit function on a sequence of larger and larger graphs
G
{\displaystyle 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
(
P
3
b
,
G
v
)
≈
∑
v
∈
V
(
G
)
d
(
K
2
b
,
G
v
)
2
≥
1
|
G
|
(
∑
v
∈
V
(
G
)
d
(
K
2
b
,
G
v
)
)
2
=
1
|
G
|
(
1
|
G
|
−
1
(
|
G
|
2
)
2
d
(
K
2
,
G
)
)
2
=
|
G
|
d
(
K
2
,
G
)
2
.
{\displaystyle \sum _{v\in V(G)}d(P_{3}^{b},G^{v})\approx \sum _{v\in V(G)}d(K_{2}^{b},G^{v})^{2}\geq {\frac {1}{|G|}}\left(\sum _{v\in V(G)}d(K_{2}^{b},G^{v})\right)^{2}={\frac {1}{|G|}}\left({\frac {1}{|G|-1}}{\binom {|G|}{2}}2d(K_{2},G)\right)^{2}=|G|d(K_{2},G)^{2}.}
Plugging this back into our original relation proves what was hypothesized intuitively. Finally, note that
d
(
P
3
~
,
G
)
≥
0
{\displaystyle d({\tilde {P_{3}}},G)\geq 0}
so
6
d
(
K
2
,
G
)
2
≤
2
d
(
P
3
,
G
)
≤
3
d
(
K
2
,
G
)
⟹
d
(
K
2
,
G
)
≤
1
2
.
{\displaystyle 6d(K_{2},G)^{2}\leq 2d(P_{3},G)\leq 3d(K_{2},G)\implies d(K_{2},G)\leq {\frac {1}{2}}.}
The important ideas from this proof which will be generalized in the theory of flag algebras are substitutions such as
d
(
P
3
,
G
)
→
3
d
(
K
2
,
G
)
2
{\displaystyle d(P_{3},G)\to 3d(K_{2},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
H
{\displaystyle {\mathcal {H}}}
and consider the set of graphs
G
{\displaystyle {\mathcal {G}}}
of
H
{\displaystyle {\mathcal {H}}}
-free graphs. Now, define a type of size
k
{\displaystyle k}
to be a graph
σ
∈
G
{\displaystyle \sigma \in {\mathcal {G}}}
with labeled vertices
V
(
σ
)
=
[
k
]
{\displaystyle V(\sigma )=[k]}
. The type of size 0 is typically denoted as
∅
{\displaystyle \varnothing }
.
First, we define a
σ
{\displaystyle \sigma }
-flag, a partially labeled graph which will be crucial for the theory of flag algebras:
Definition: A
σ
{\displaystyle \sigma }
-flag is a pair
(
F
,
θ
)
{\displaystyle (F,\theta )}
where
F
∈
G
{\displaystyle F\in {\mathcal {G}}}
is an underlying, unlabeled,
H
{\displaystyle {\mathcal {H}}}
-free graph, while
θ
:
[
k
]
→
V
(
F
)
{\displaystyle \theta :[k]\to V(F)}
defines a labeled graph embedding of
σ
{\displaystyle \sigma }
onto the vertices
F
{\displaystyle F}
. Denote the set of
σ
{\displaystyle \sigma }
-flags to be
F
σ
{\displaystyle {\mathcal {F}}^{\sigma }}
and the set of
σ
{\displaystyle \sigma }
-flags of size
n
{\displaystyle n}
to be
F
n
σ
{\displaystyle {\mathcal {F}}_{n}^{\sigma }}
. As an example,
P
3
b
{\displaystyle P_{3}^{b}}
from the proof of Mantel's Theorem above is a
σ
{\displaystyle \sigma }
-flag where
σ
{\displaystyle \sigma }
is a type of size 1 corresponding to a single vertex.
For
σ
{\displaystyle \sigma }
-flags
F
1
,
F
2
,
…
,
F
t
,
(
G
,
θ
)
{\displaystyle F_{1},F_{2},\ldots ,F_{t},(G,\theta )}
satisfying
|
G
|
−
|
σ
|
≥
∑
i
=
1
t
|
F
i
|
−
|
σ
|
{\displaystyle |G|-|\sigma |\geq \sum _{i=1}^{t}|F_{i}|-|\sigma |}
, we can define the density of the
σ
{\displaystyle \sigma }
-flags onto the underlying graph
G
{\displaystyle G}
in the following way:
Definition: The density
p
(
F
1
,
F
2
,
…
,
F
t
;
G
)
{\displaystyle p(F_{1},F_{2},\ldots ,F_{t};G)}
of the
σ
{\displaystyle \sigma }
-flags
F
1
,
…
,
F
t
{\displaystyle F_{1},\ldots ,F_{t}}
in
G
{\displaystyle G}
is defined to be the probability of successfully randomly embedding
F
1
,
…
,
F
t
{\displaystyle F_{1},\ldots ,F_{t}}
into
V
(
G
)
{\displaystyle V(G)}
such that they are nonintersecting on
V
(
G
)
∖
i
m
(
θ
)
{\displaystyle V(G)\setminus \mathrm {im} (\theta )}
and are all labeled in the exact same way as
G
{\displaystyle G}
on
i
m
(
θ
)
{\displaystyle \mathrm {im} (\theta )}
.
More precisely, choose pairwise disjoint
U
1
,
U
2
,
…
,
U
t
⊆
V
(
G
)
∖
i
m
(
θ
)
{\displaystyle U_{1},U_{2},\ldots ,U_{t}\subseteq V(G)\setminus \mathrm {im} (\theta )}
at random and define
p
(
F
1
,
…
,
F
t
;
G
)
{\displaystyle p(F_{1},\ldots ,F_{t};G)}
to be the probability that the
σ
{\displaystyle \sigma }
-flag
(
G
[
U
i
∪
i
m
(
θ
)
]
,
θ
)
{\displaystyle (G[U_{i}\cup \mathrm {im} (\theta )],\theta )}
is isomorphic to
F
i
{\displaystyle F_{i}}
for all
i
∈
[
t
]
{\displaystyle i\in [t]}
.
Note that, when embedding
F
{\displaystyle F}
into
G
{\displaystyle G}
, where
F
,
G
{\displaystyle F,G}
are
σ
{\displaystyle \sigma }
-flags, it can be done by first embedding
F
{\displaystyle F}
into a
σ
{\displaystyle \sigma }
-flag
F
′
{\displaystyle F'}
of size
n
∈
[
|
F
|
,
|
G
|
]
{\displaystyle n\in [|F|,|G|]}
and then embedding
F
′
{\displaystyle F'}
into
G
{\displaystyle G}
, which gives the formula:
p
(
F
;
G
)
=
∑
F
′
∈
F
n
σ
p
(
F
;
F
′
)
p
(
F
′
;
G
)
{\displaystyle p(F;G)=\sum _{F'\in {\mathcal {F}}_{n}^{\sigma }}p(F;F')p(F';G)}
. Extending this to sets of
σ
{\displaystyle \sigma }
-flags gives the Chain Rule:
Theorem (Chain Rule): If
F
1
,
F
2
,
…
,
F
t
,
G
{\displaystyle F_{1},F_{2},\ldots ,F_{t},G}
are
σ
{\displaystyle \sigma }
-flags,
s
,
n
{\displaystyle s,n}
are naturals such that
F
1
,
…
,
F
t
{\displaystyle F_{1},\ldots ,F_{t}}
fit in
G
{\displaystyle G}
,
F
1
,
…
,
F
s
{\displaystyle F_{1},\ldots ,F_{s}}
fit in a
σ
{\displaystyle \sigma }
-flag of size
n
{\displaystyle n}
, and a
σ
{\displaystyle \sigma }
-flag of size
n
{\displaystyle n}
combined with
F
s
+
1
,
…
,
F
t
{\displaystyle F_{s+1},\ldots ,F_{t}}
fit in
G
{\displaystyle G}
, then
p
(
F
1
,
F
2
,
…
,
F
t
;
G
)
=
∑
F
∈
F
n
σ
p
(
F
1
,
…
,
F
s
;
F
)
p
(
F
,
F
s
+
1
,
…
,
F
t
;
G
)
{\displaystyle p(F_{1},F_{2},\ldots ,F_{t};G)=\sum _{F\in {\mathcal {F}}_{n}^{\sigma }}p(F_{1},\ldots ,F_{s};F)p(F,F_{s+1},\ldots ,F_{t};G)}
.
Recall that the previous proof for Mantel's involved linear combinations of terms of the form
d
(
H
,
G
)
{\displaystyle d(H,G)}
. The relevant ideas were slightly imprecise with letting
|
G
|
{\displaystyle |G|}
tend to infinity, but explicitly there is a sequence
G
1
,
G
2
,
…
{\displaystyle G_{1},G_{2},\ldots }
such that
d
(
H
,
G
i
)
{\displaystyle d(H,G_{i})}
converges to some
ϕ
(
H
)
{\displaystyle \phi (H)}
for all
H
{\displaystyle H}
, where
ϕ
{\displaystyle \phi }
is called a limit functional. Thus, all references to
d
(
H
,
G
)
{\displaystyle d(H,G)}
really refer to the limit functional. Now, graph homomorphism inequalities can be written as linear combinations of
ϕ
{\displaystyle \phi }
with different
H
{\displaystyle H}
s, but it would be convenient to express them as a single term. This motivates defining
R
F
σ
{\displaystyle \mathbb {R} {\mathcal {F}}^{\sigma }}
, the set of formal linear combinations of
σ
{\displaystyle \sigma }
-flags over
R
{\displaystyle \mathbb {R} }
, and now
ϕ
{\displaystyle \phi }
can be extended to a linear function over
R
F
σ
{\displaystyle \mathbb {R} {\mathcal {F}}^{\sigma }}
.
However, using the full space
R
F
σ
{\displaystyle \mathbb {R} {\mathcal {F}}^{\sigma }}
is wasteful when investigating just limit functionals, since there exist nontrivial relations between densities of certain
σ
{\displaystyle \sigma }
-flags. In particular, the Chain Rule shows that
ϕ
(
F
)
=
ϕ
(
∑
F
′
∈
F
n
σ
p
(
F
;
F
′
)
F
′
)
⟹
F
−
∑
F
′
∈
F
n
σ
p
(
F
;
F
′
)
F
′
∈
ker
ϕ
{\displaystyle \phi (F)=\phi \left(\sum _{F'\in {\mathcal {F}}_{n}^{\sigma }}p(F;F')F'\right)\implies F-\sum _{F'\in {\mathcal {F}}_{n}^{\sigma }}p(F;F')F'\in \ker \phi }
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
σ
{\displaystyle \sigma }
-flag) as
K
σ
{\displaystyle {\mathcal {K}}^{\sigma }}
and quotient them out in our final analysis. These ideas combine to form the definition for a flag algebra:
Definition (Flag Algebras): A flag algebra is defined on the space of linear combinations of
σ
{\displaystyle \sigma }
-flags
A
σ
=
R
F
σ
/
K
σ
{\displaystyle {\mathcal {A}}^{\sigma }=\mathbb {R} {\mathcal {F}}^{\sigma }/{\mathcal {K}}^{\sigma }}
equipped with bilinear operator
F
⋅
G
=
∑
H
∈
F
n
σ
p
(
F
,
G
;
H
)
H
{\displaystyle F\cdot G=\sum _{H\in {\mathcal {F}}_{n}^{\sigma }}p(F,G;H)H}
for
F
,
G
∈
F
σ
{\displaystyle F,G\in {\mathcal {F}}^{\sigma }}
and any natural
n
{\displaystyle n}
such that
F
,
G
{\displaystyle F,G}
fit in a
σ
{\displaystyle \sigma }
-flag of size
n
{\displaystyle n}
, extending the operator linearly to
R
F
σ
{\displaystyle \mathbb {R} {\mathcal {F}}^{\sigma }}
.
It remains to check that the choice of
n
{\displaystyle n}
does not matter for a pair
F
,
G
{\displaystyle F,G}
provided it is large enough (this can be proven with Chain Rule) as well as that if
f
∈
K
σ
{\displaystyle f\in {\mathcal {K}}^{\sigma }}
then
f
⋅
g
∈
K
σ
{\displaystyle f\cdot g\in {\mathcal {K}}^{\sigma }}
, meaning that the operator respects the quotient and thus forms a well-defined algebra on the desired space.
One important result of this definition for the operator is that multiplication is respected on limit functionals. In particular, for a limit functional
ϕ
{\displaystyle \phi }
, the identity
ϕ
(
f
⋅
g
)
=
ϕ
(
f
)
⋅
ϕ
(
g
)
{\displaystyle \phi (f\cdot g)=\phi (f)\cdot \phi (g)}
holds true. For example, it was shown that
ϕ
(
P
3
b
)
=
ϕ
(
K
2
b
)
2
{\displaystyle \phi (P_{3}^{b})=\phi (K_{2}^{b})^{2}}
in our proof for Mantel's, and this result is just a corollary of this statement. More generally, the fact that
ϕ
{\displaystyle \phi }
is multiplicative means that all limit functionals are algebra homomorphisms between
A
σ
{\displaystyle {\mathcal {A}}^{\sigma }}
and
R
{\displaystyle \mathbb {R} }
.
The downward operator
The definition above provides a framework for dealing with
σ
{\displaystyle \sigma }
-flags, which are partially labeled graphs. However, most of the time, unlabeled graphs, or
∅
{\displaystyle \varnothing }
-flags, are of greatest interest. To get from the former to the latter, define the downward operator.
The downward operator is defined in the most natural way: given a
σ
{\displaystyle \sigma }
-flag
F
{\displaystyle F}
, let
↓
F
{\displaystyle \downarrow \!\!F}
to be the
∅
{\displaystyle \varnothing }
-flag resulting from forgetting the labels assigned to
σ
{\displaystyle \sigma }
. Now, to define a natural mapping between
σ
{\displaystyle \sigma }
-flags and unlabeled graphs, let
q
σ
(
F
)
{\displaystyle q_{\sigma }(F)}
be the probability that an injective map
θ
:
[
k
]
→
V
(
F
)
{\displaystyle \theta :[k]\to V(F)}
taken at random has image isomorphic to
σ
{\displaystyle \sigma }
, and define
[
[
F
]
]
σ
=
q
σ
(
F
)
↓
F
{\displaystyle [\![F]\!]_{\sigma }=q_{\sigma }(F)\downarrow \!\!F}
. Extending
[
[
⋅
]
]
{\displaystyle [\![\cdot ]\!]}
linearly to
R
F
σ
{\displaystyle \mathbb {R} {\mathcal {F}}^{\sigma }}
gives a valid linear map which sends combinations of
σ
{\displaystyle \sigma }
-flags to combinations of unlabeled ones.
The most important result regarding
[
[
⋅
]
]
{\displaystyle [\![\cdot ]\!]}
is its averaging properties. In particular, fix a
σ
{\displaystyle \sigma }
-flag
F
{\displaystyle F}
and unlabeled graph
G
{\displaystyle G}
with
|
G
|
≥
|
F
|
{\displaystyle |G|\geq |F|}
, then choosing an embedding
θ
{\displaystyle \theta }
of
σ
{\displaystyle \sigma }
on
G
{\displaystyle G}
at random defines random variable
p
(
F
;
(
G
,
θ
)
)
{\displaystyle p(F;(G,\theta ))}
. It can be shown that
E
[
p
(
F
;
(
G
,
θ
)
]
=
q
σ
(
F
)
p
(
↓
F
;
G
)
q
σ
(
σ
)
p
(
↓
σ
;
G
)
.
{\displaystyle \mathbb {E} [p(F;(G,\theta )]={\frac {q_{\sigma }(F)p(\downarrow \!\!F;G)}{q_{\sigma }(\sigma )p(\downarrow \!\!\sigma ;G)}}.}
Optimization with flag algebras
All linear functionals,
ϕ
{\displaystyle \phi }
are algebra homomorphisms
ϕ
:
A
σ
→
R
{\displaystyle \phi :{\mathcal {A}}^{\sigma }\to \mathbb {R} }
. Furthermore, by definition,
ϕ
(
F
)
≥
0
{\displaystyle \phi (F)\geq 0}
for any
σ
{\displaystyle \sigma }
-flag
F
{\displaystyle F}
since
ϕ
{\displaystyle \phi }
represents a density limit. Thus, say that a homomorphism
ψ
∈
Hom
(
A
σ
,
R
)
{\displaystyle \psi \in \operatorname {Hom} ({\mathcal {A}}^{\sigma },\mathbb {R} )}
is positive if and only if
ψ
(
F
)
≥
0
∀
F
∈
F
σ
{\displaystyle \psi (F)\geq 0\forall F\in {\mathcal {F}}^{\sigma }}
, and let
Hom
+
(
A
σ
,
R
)
{\displaystyle \operatorname {Hom} ^{+}(A^{\sigma },\mathbb {R} )}
be the set of positive homomorphisms. One can show that the set of limit functionals
Φ
{\displaystyle \Phi }
is exactly the set of positive homomorphisms
Hom
+
(
A
σ
,
R
)
{\displaystyle \operatorname {Hom} ^{+}(A^{\sigma },\mathbb {R} )}
, so it suffices to understand the latter definition of the set.
In order for a linear combination
f
∈
A
σ
{\displaystyle f\in {\mathcal {A}}^{\sigma }}
to yield a valid graph homomorphism inequality, it needs to be nonnegative over all possible linear functionals, which will then imply that it is true for all graphs. With this in mind, define the semantic cone of type
σ
{\displaystyle \sigma }
, a set
S
σ
⊂
A
σ
{\displaystyle {\mathcal {S}}^{\sigma }\subset {\mathcal {A}}^{\sigma }}
such that
S
σ
=
{
f
∈
A
σ
∣
ϕ
(
f
)
≥
0
∀
ϕ
∈
Hom
+
(
A
σ
,
R
)
}
.
{\displaystyle {\mathcal {S}}^{\sigma }=\{f\in {\mathcal {A}}^{\sigma }\mid \phi (f)\geq 0\,\,\,\forall \phi \in \operatorname {Hom} ^{+}({\mathcal {A}}^{\sigma },\mathbb {R} )\}.}
Once again,
σ
=
∅
{\displaystyle \sigma =\varnothing }
is the case of most interest, which corresponds to the case of unlabeled graphs. However, the downward operator has the property of mapping
S
σ
{\displaystyle {\mathcal {S}}^{\sigma }}
to
S
∅
{\displaystyle {\mathcal {S}}^{\varnothing }}
, and it can be shown that the image of
S
σ
{\displaystyle {\mathcal {S}}^{\sigma }}
under
[
[
⋅
]
]
σ
{\displaystyle [\![\cdot ]\!]_{\sigma }}
is a subset of
S
∅
{\displaystyle {\mathcal {S}}^{\varnothing }}
, meaning that any results on the type
σ
{\displaystyle \sigma }
semantic cone readily generalize to unlabeled graphs as well.
Just by naively manipulating elements of
A
σ
{\displaystyle {\mathcal {A}}^{\sigma }}
, numerous elements of the semantic cone
S
σ
{\displaystyle {\mathcal {S}}^{\sigma }}
can be generated. For example, since elements of
Hom
+
(
A
σ
,
R
)
{\displaystyle \operatorname {Hom} ^{+}({\mathcal {A}}^{\sigma },\mathbb {R} )}
are nonnegative for
σ
{\displaystyle \sigma }
-flags, any conical combination of elements of
F
σ
{\displaystyle {\mathcal {F}}^{\sigma }}
will yield an element of
S
σ
{\displaystyle {\mathcal {S}}^{\sigma }}
. Perhaps more non-trivially, any conical combination of squares of elements of
A
σ
{\displaystyle A^{\sigma }}
will also yield an element of the semantic cone.
Though one can find squares of flags which sum to nontrivial results manually, it is often simpler to automate the process. In particular, it is possible to adapt the ideas in sum-of-squares optimization for polynomials to flag algebras. Define the degree of a vector
f
∈
R
F
σ
{\displaystyle f\in \mathbb {R} {\mathcal {F}}^{\sigma }}
to be the largest flag with nonzero coefficient in the expansion of
f
{\displaystyle f}
, and let the degree of
f
∗
∈
A
σ
{\displaystyle f^{*}\in {\mathcal {A}}^{\sigma }}
to be the minimum degree of a vector over all choices in
f
∗
+
K
σ
{\displaystyle f^{*}+{\mathcal {K}}^{\sigma }}
. Also, define
v
σ
,
n
=
F
n
σ
→
A
σ
{\displaystyle v_{\sigma ,n}={\mathcal {F}}_{n}^{\sigma }\to {\mathcal {A}}^{\sigma }}
as the canonical embedding sending
F
{\displaystyle F}
to itself for all
F
∈
F
n
σ
{\displaystyle F\in {\mathcal {F}}_{n}^{\sigma }}
. These definitions give rise to the following flag-algebra analogue:
Theorem: Given
f
∈
A
σ
{\displaystyle f\in {\mathcal {A}}^{\sigma }}
,
n
≥
|
σ
|
{\displaystyle n\geq |\sigma |}
, then there exist
g
1
,
…
,
g
t
∈
A
σ
{\displaystyle g_{1},\ldots ,g_{t}\in {\mathcal {A}}^{\sigma }}
for some
t
≥
1
{\displaystyle t\geq 1}
if and only if there is a positive semidefinite matrix
Q
:
F
n
σ
×
F
n
σ
→
R
{\displaystyle Q:{\mathcal {F}}_{n}^{\sigma }\times {\mathcal {F}}_{n}^{\sigma }\to \mathbb {R} }
such that
f
=
v
σ
,
n
⊺
Q
v
σ
,
n
{\displaystyle f=v_{\sigma ,n}^{\intercal }Qv_{\sigma ,n}}
.
With this theorem, graph homomorphism problems can now be relaxed into semidefinite programming ones which can be solved via computer. For example, Mantel's Theorem can be rephrased as finding the smallest
λ
∈
R
{\displaystyle \lambda \in \mathbb {R} }
such that
λ
∅
−
K
2
∈
S
∅
{\displaystyle \lambda \varnothing -K_{2}\in S^{\varnothing }}
. As
S
∅
{\displaystyle S^{\varnothing }}
is poorly understood, it is difficult to make progress on the question in this form, but note that conic combinations of
∅
{\displaystyle \varnothing }
-flags and squares of vectors lie in
S
∅
{\displaystyle S^{\varnothing }}
, so instead take a semidefinite relaxation. In particular, minimize
λ
{\displaystyle \lambda }
under the constraint that
λ
∅
−
K
2
=
r
+
[
[
v
1
,
2
⊺
Q
v
1
,
2
]
]
{\displaystyle \lambda \varnothing -K_{2}=r+[\![v_{1,2}^{\intercal }Qv_{1,2}]\!]}
where
r
{\displaystyle r}
is a conic combination of
∅
{\displaystyle \varnothing }
-flags and
Q
{\displaystyle Q}
is positive semi-definite. This new optimization problem can be transformed into a semidefinite-programming problem which is then solvable with standard algorithms.
Generalizations
The method of flag algebras readily generalizes to numerous graph-like constructs. As Razborov wrote in his original paper, flags can be described with finite model theory instead. Instead of graphs, models of some nondegenerate universal first-order theory
T
{\displaystyle T}
with equality in a finite relational signature
L
{\displaystyle L}
with only predicate symbols can be used. A model
M
{\displaystyle M}
, which replaces our previous notion of a graph, has ground set
V
(
M
)
{\displaystyle V(M)}
, whose elements are called vertices.
Now, defining sub-models and model embeddings in an analogous way to subgraphs and graph embeddings, all of the definitions and theorems above can be nearly directly translated into the language of model theory. The fact that the theory of flag algebras generalizes well means that it can be used not only to solve problems in simple graphs, but also similar constructs such as, but not limited to, directed graphs and hypergraphs.
References
Kata Kunci Pencarian:
- Segitiga sama kaki
- Flag (linear algebra)
- Flag algebra
- Kac–Moody algebra
- Generalized flag variety
- Triangular matrix
- Algebraic notation (chess)
- Nest algebra
- List of algebraic geometry topics
- Flag (disambiguation)
- Term algebra