Graph removal lemma explained

In graph theory, the graph removal lemma states that when a graph contains few copies of a given subgraph, then all of the copies can be eliminated by removing a small number of edges.The special case in which the subgraph is a triangle is known as the triangle removal lemma.

The graph removal lemma can be used to prove Roth's theorem on 3-term arithmetic progressions, and a generalization of it, the hypergraph removal lemma, can be used to prove Szemerédi's theorem. It also has applications to property testing.

Formulation

Let

H

be a graph with

h

vertices. The graph removal lemma states that for any

\epsilon>0

, there exists a constant

\delta=\delta(\epsilon,H)>0

such that for any

n

-vertex graph

G

with fewer than

\deltanh

subgraphs isomorphic to

H

, it is possible to eliminate all copies of

H

by removing at most

\epsilonn2

edges from

G

.

An alternative way to state this is to say that for any

n

-vertex graph

G

with

o(nh)

subgraphs isomorphic to

H

, it is possible to eliminate all copies of

H

by removing

o(n2)

edges from

G

. Here, the

o

indicates the use of little o notation.

In the case when

H

is a triangle, resulting lemma is called triangle removal lemma.

History

The original motivation for the study of triangle removal lemma was Ruzsa–Szemerédi problem. Initial formulation due to Imre Z. Ruzsa and Szemerédi from 1978 was slightly weaker than the triangle removal lemma used nowadays and can be roughly stated as follows: every locally linear graph on

n

vertices contains

o(n2)

edges. This statement can be quickly deduced from a modern triangle removal lemma. Ruzsa and Szemerédi provided also an alternative proof of Roth's theorem on arithmetic progressions as a simple corollary.

In 1986 during their work on generalizations of Ruzsa–Szemerédi problem to arbitrary

r

-uniform graphs, Erdős, Frankl, and Rödl provided statement for general graphs very close to the modern graph removal lemma: if graph

H2

is a homomorphic image of

H2

, then any

H1

-free graph

G

on

n

vertices can be made

H2

-free by removing

o(n2)

edges.

The modern formulation of graph removal lemma was first stated by Füredi in 1994. The proof generalized earlier approaches by Ruzsa and Szemerédi and Erdős, Frankl, and Rödl, also utilizing Szemerédi regularity lemma.

Graph counting lemma

A key component of the proof of graph removal lemma is the graph counting lemma about counting subgraphs in systems of regular pairs. Graph counting lemma is also very useful on its own. According to Füredi, it is used "in most applications of regularity lemma".

Heuristic argument

Let

H

be a graph on

h

vertices, whose vertex set is

V=\{1,2,\ldots,h\}

and edge set is

E

. Let

X1,X2,\ldots,Xh

be sets of vertices of some graph

G

such that for all

ij\inE

pair

(Xi,Xj)

is

\epsilon

-regular (in the sense of regularity lemma). Let also

dij

be the density between sets

Xi

and

Xj

. Intuitively, regular pair

(X,Y)

with density

d

should behave like a random Erdős–Rényi-like graph, where every pair of vertices

(x,y)\in(X x Y)

is selected to be an edge independently with probability

d

. This suggests that the number of copies of

H

on vertices

x1,x2,\ldots,xh

such that

xi\inXi

should be close to the expected number from Erdős–Rényi model:\prod_d_\prod_|X_i|where

E(H)

and

V(H)

are the edge set and the vertex set of

H

.

Precise statement

The straightforward formalization of above heuristic claim is as follows. Let

H

be a graph on

h

vertices, whose vertex set is

V=\{1,2,\ldots,h\}

and edge set is

E

. Let

\delta>0

be arbitrary. Then there exists

\epsilon>0

such that for any

X1,X2,\ldots,Xh

as above, satisfying

dij>\delta

for all

ij\inE

, the number of graph homomorphisms from

H

to

G

such that vertex

i\inV(H)

is mapped to

Xi

is not smaller than(1-\delta)\prod_(d_-\delta)\prod_|X_i|

Blow-up Lemma

One can even find bounded degree subgraphs of blow-ups of

H

in a similar setting. The following claim appears in the literature under name of the blow-up lemma and was first proven by Komlós, Sárközy and Szemerédi. Precise statement here is a slightly simplified version due to Komlós, who referred to it also as the key lemma, as it is used in numerous regularity-based proofs.

Let

H1

be an arbitrary graph and

t\inZ+

. Construct

H(t)

by replacing each vertex

i

of

H

by independent set

Vi

of size

t

and replacing every edge

ij

of

H

by complete bipartite graph on

(Vi,Vj)

. Let

\epsilon,\delta>0

be arbitrary reals,

N

be a positive integer and let

H2

be a subgraph of

H(t)

with

h

vertices and with maximum degree

\Delta

. Define
\Delta/(2+\Delta)
\epsilon
0=\delta
. Finally, let

G

be a graph and

X1,X2,\ldots,Xh

be disjoint sets of vertices of

G

such that whenever

ij\inE(H2)

then

(Xi,Xj)

is a

\epsilon

-regular pair with density at least

\epsilon+\delta

. Then if

\epsilon\leq\epsilon0

and

1-t\leqN\epsilon0

, the number of injective graph homomorphisms from

H2

to

G

is at least
h
(\epsilon
0N)
.

In fact, one can only restrict to counting homomorphisms such that any vertex

k\in[h]

of

H2

such that

k\inVi

is mapped to a vertex in

Xi

.

Proof

We will provide proof of the counting lemma in the case when

H

is a triangle (triangle counting lemma). The proof of the general case, as well as the proof of the blow-up lemma, are very similar and do not require different techniques.

Take

\epsilon=\delta/2

. Let

X1'\subsetX1

be the set of those vertices in

X1

which have at least

(d12-\epsilon)|X2|

neighbors in

X2

and at least

(d13-\epsilon)|X3|

neighbors in

X3

. Note that if there were more than

\epsilon|X1|

vertices in

X1

with less than

(d12-\epsilon)|X2|

neighbors in

X2

, then these vertices together with whole

X2

would witness

\epsilon

-irregularity of the pair

(X1,X2)

. Repeating this argument for

X3

shows that we must have

|X1'|>(1-2\epsilon)|X1|

. Now take arbitrary

x\inX1'

and define

X2'

and

X3'

as neighbors of

x

in

X2

and

X3

respectively. By definition

|X2'|\geq(d12-\epsilon)|X2|\geq\epsilon|X2|

and

|X3'|\geq\epsilon|X3|

so by regularity of

(X2,X3)

we obtain existence of at least(d_-\epsilon)|X_2'||X_3'|\geq (d_-\epsilon)(d_-\epsilon)(d_-\epsilon)|X_2||X_3|triangles containing

x

. Since

x

was chosen arbitrarily from the set

X1'

of size at least

(1-2\epsilon)|X1|

, we obtain a total of at least(1-2\epsilon)(d_-\epsilon)|X_2'||X_3'|\geq (d_-\epsilon)(d_-\epsilon)(d_-\epsilon)|X_1||X_2||X_3|which finishes the proof as

\epsilon=\delta/2

.

Proof

Proof of the triangle removal lemma

To prove the triangle removal lemma, consider an

\epsilon/4

-regular partition

V1\cup\cupVM

of the vertex set of

G

. This exists by the Szemerédi regularity lemma. The idea is to remove all edges between irregular pairs, low-density pairs, and small parts, and prove that if at least one triangle still remains, then many triangles remain. Specifically, remove all edges between parts

Vi

and

Vj

if This procedure removes at most

\epsilonn2

edges. If there exists a triangle with vertices in

Vi,Vj,Vk

after these edges are removed, then the triangle counting lemma tells us there are at least\left(1-\frac\right)\left(\frac\right)^3\left(\frac\right)^3\cdot n^3triples in

Vi x Vj x Vk

which form a triangle. Thus, we may take\delta < \frac \left(1-\frac\right)\left(\frac\right)^3\left(\frac\right)^3.

Proof of the graph removal lemma

The proof of the case of general

H

is analogous to the triangle case, and uses graph counting lemma instead of triangle counting lemma.

Induced Graph Removal Lemma

A natural generalization of the Graph Removal Lemma is to consider induced subgraphs. In property testing it is often useful to consider how far a graph is from being induced H-free. A graph

G

is considered to contain an induced subgraph

H

if there is an injective map

f:V(H)V(G)

such that

(f(u),f(v))

is an edge of

G

if and only if

(u,v)

is an edge of

H

. Notice that non-edges are considered as well.

G

is induced

H

-free if there is no induced subgraph

G

. We define

G

as

\epsilon

-far from being induced

H

-free if we cannot add or delete

\epsilonn2

edges to make

G

induced

H

-free.

Formulation

A version of the Graph Removal for induced subgraphs was proved by Alon, Fischer, Krivelevich, and Szegedy in 2000. It states that for any graph

H

with

h

vertices and

\epsilon>0

, there exists a constant

\delta>0

such that if an

n

-vertex graph

G

has fewer than

\deltanh

induced subgraphs isomorphic to

H

, then it is possible to eliminate all induced copies of

H

by adding or removing fewer than

\epsilonn2

edges.

The problem can be reformulated as follows: Given a red-blue coloring

H'

of the complete graph

Kh

(Analogous to the graph

H

on the same

h

vertices where non-edges are blue, edges are red), and a constant

\epsilon>0

, then there exists a constant

\delta>0

such that for any red-blue colorings of

Kn

has fewer than

\deltanh

subgraphs isomorphic to

H'

, then it is possible to eliminate all copies of

H

by changing the colors of fewer than

\epsilonn2

edges. Notice that our previous "cleaning" process, where we remove all edges between irregular pairs, low-density pairs, and small parts, only involves removing edges. Removing edges only corresponds to changing edge colors from red to blue. However, there are situations in the induced case where the optimal edit distance involves changing edge colors from blue to red as well. Thus, the Regularity Lemma is insufficient to prove Induced Graph Removal Lemma. The proof of the Induced Graph Removal Lemma must take advantage of the strong regularity lemma.

Proof

Strong Regularity Lemma

The strong regularity lemma is a strengthened version of Szemerédi's Regularity Lemma. For any infinite sequence of constants

\epsilon0\ge\epsilon1\ge...>0

, there exists an integer

M

such that for any graph

G

, we can obtain two (equitable) partitions

l{P}

and

l{Q}

such that the following properties are satisfied:

l{Q}

refines

l{P}

, that is every part of

l{P}

is the union of some collection of parts in

l{Q}

.

l{P}

is

\epsilon0

-regular and

l{Q}

is

\epsilon|l{P|}

-regular.

q(l{Q})<q(l{P})+\epsilon0

|l{Q}|\leM

The function

q

is defined to be the energy function defined in Szemerédi regularity lemma. Essentially, we can find a pair of partitions

l{P},l{Q}

where

l{Q}

is regular compared to

l{P}

, and at the same time

l{P},l{Q}

are close to each other. (This property is captured in the third condition)
Corollary of the Strong Regularity Lemma

The following corollary of the strong regularity lemma is used in the proof of the Induced Graph Removal Lemma. For any infinite sequence of constants

\epsilon0\ge\epsilon1\ge...>0

, there exists

\delta>0

such that there exists a partition

l{P}={V1,...,Vk}

and subsets

Wi\subsetVi

for each

i

where the following properties are satisfied:

|Wi|>\deltan

(Wi,Wj)

is

\epsilon|l{P|}

-regular for each pair

i,j

|d(Wi,Wj)-d(Vi,Vj)|\le\epsilon0

for all but

\epsilon0|l{P}|2

pairs

i,j

The main idea of the proof of this corollary is to start with two partitions

l{P}

and

l{Q}

that satisfy the Strong Regularity Lemma where
3/8
q(l{Q})<q(l{P})+\epsilon
0
. Then for each part

Vi\inl{P}

, we uniformly at random choose some part

Wi\subsetVi

that is a part in

l{Q}

. The expected number of irregular pairs

(Wi,Wj)

is less than 1. Thus, there exists some collection of

Wi

such that every pair is

\epsilon|l{P|}

-regular!

The important aspect of this corollary is that pair of

Wi,Wj

are

\epsilon|l{P|}

-regular! This allows us to consider edges and non-edges when we perform our cleaning argument.

Proof of Sketch of the Induced Graph Removal Lemma

With these results, we are able to prove the Induced Graph Removal Lemma. Take any graph

G

with

n

vertices that has less than

\deltanv(H)

copies of

H

. The idea is to start with a collection of vertex sets

Wi

which satisfy the conditions of the Corollary of the Strong Regularity Lemma. We then can perform a "cleaning" process where we remove all edges between pairs of parts

(Wi,Wj)

with low density, and we can add all edges between pairs of parts

(Wi,Wj)

with high density. We choose the density requirements such that we added/deleted at most

\epsilonn2

edges.

If the new graph has no copies of

H

, then we are done. Suppose the new graph has a copy of

H

. Suppose the vertex

vi\inv(H)

is embedded in

Wf(i)

. Then if there is an edge connecting

vi,vj

in

H

, then

Wi,Wj

does not have low density. (Edges between

Wi,Wj

were not removed in the cleaning process) Similarly, if there is not an edge connecting

vi,vj

in

H

, then

Wi,Wj

does not have high density. (Edges between

Wi,Wj

were not added in the cleaning process)

Thus, by a similar counting argument to the proof of the triangle counting lemma, that is the graph counting lemma, we can show that

G

has more than

\deltanv(H)

copies of

H

.

Generalizations

The graph removal lemma was later extended to directed graphs and to hypergraphs.

Quantitative bounds

Usage of regularity lemma in the proof of graph removal lemma forces

\delta

to be extremely small, bounded by tower function of height polynomial in

\epsilon-1

that is

\delta=1/tower(\epsilon-O(1))

(here

tower(k)

is the tower of twos of height

k

). Tower function of height

\epsilon-O(1)

is necessary in all regularity proofs as is implied by results of Gowers on lower bounds in regularity lemma. However, in 2011 Fox provided a new proof of graph removal lemma which does not use regularity lemma, improving the bound to

\delta=1/tower(5h2log\epsilon-1)

(here

h

is number of vertices of removed graph

H

). His proof, however, uses regularity-related ideas such as energy increment, but with different notion of energy, related to entropy. This proof can be also rephrased using Frieze-Kannan weak regularity lemma as noted by Conlon and Fox. In the special case of bipartite

H

it was shown that

\delta=\epsilonO(1)

is sufficient.

There is a large gap between upper and lower bounds for

\delta

in the general case. The current best result true for all graphs

H

is due to Alon and states that for each nonbipartite

H

there exists constant

c>0

such that

\delta<(\epsilon/c)clog

is necessary for the graph removal lemma to hold while for bipartite

H

the optimal

\delta

has polynomial dependence on

\epsilon

, which matches the lower bound. Construction for nonbipartite case is a consequence of Behrend construction of large Salem-Spencer set. Indeed, as triangle removal lemma implies Roth's theorem, existence of large Salem-Spencer set may be translated to an upper bound for

\delta

in the triangle removal lemma. This method can be leveraged for arbitrary nonbipartite

H

to give aforementioned bound.

Applications

Property testing

See also