Counting lemma explained

The counting lemmas this article discusses are statements in combinatorics and graph theory. The first one extracts information from

\epsilon

-regular pairs of subsets of vertices in a graph

G

, in order to guarantee patterns in the entire graph; more explicitly, these patterns correspond to the count of copies of a certain graph

H

in

G

. The second counting lemma provides a similar yet more general notion on the space of graphons, in which a scalar of the cut distance between two graphs is correlated to the homomorphism density between them and

H

.

Graph embedding version of counting lemma

Whenever we have an

\epsilon

-regular pair of subsets of vertices

U,V

in a graph

G

, we can interpret this in the following way: the bipartite graph,

(U,V)

, which has density

d(U,V)

, is close to being a random bipartite graph in which every edge appears with probability

d(U,V)

, with some

\epsilon

error.

In a setting where we have several clusters of vertices, some of the pairs between these clusters being

\gamma

-regular, we would expect the count of small, or local patterns, to be roughly equal to the count of such patterns in a random graph. These small patterns can be, for instance, the number of graph embeddings of some

H

in

G

, or more specifically, the number of copies of

H

in

G

formed by taking one vertex in each vertex cluster.

The above intuition works, yet there are several important conditions that must be satisfied in order to have a complete statement of the theorem; for instance, the pairwise densities are at least

\varepsilon

, the cluster sizes are at least

\gamma-1

, and

\gamma\leq\varepsilonh/4h

. Being more careful of these details, the statement of the graph counting lemma is as follows:

Statement of the theorem

If

H

is a graph with vertices

1,,h

and

m

edges, and

G

is a graph with (not necessarily disjoint) vertex subsets

W1,,Wh

, such that

|Wi|\geq\gamma-1

for all

i=1,\ldots,h

and for every edge

(i,j)

of

H

the pair

(Wi,Wj)

is

\gamma

-regular with density

d(Wi,Wj)>\varepsilon

and

\gamma\leq\varepsilonh/4h

, then

G

contains at least

2-h\varepsilonm|W1|\ldots|Wh|

many copies of

H

with the copy of vertex

i

in

Wi

.
This theorem is a generalization of the triangle counting lemma, which states the above but with

H=K3

:

Triangle counting Lemma

Let

G

be a graph on

n

vertices, and let

X,Y,Z

be subsets of

V(G)

which are pairwise

\epsilon

-regular, and suppose the edge densities

dXY,dXZ,dYZ

are all at least

2\epsilon

. Then the number of triples

(x,y,z)\inX x Y x Z

such that

x,y,z

form a triangle in

G

is at least(1-2\epsilon)(d_-\epsilon)(d_-\epsilon)(d_-\epsilon)|X||Y||Z|.

Proof of triangle counting lemma:

Since

(X,Y)

is a regular pair, less than

\varepsilon|X|

of the vertices in

X

have fewer than

(dXY-\varepsilon)|Y|

neighbors in

Y

; otherwise, this set of vertices from

X

along with its neighbors in

Y

would witness irregularity of

(X,Y)

, a contradiction. Intuitively, we are saying that not too many vertices in

X

can have a small degree in

Y

.

By an analogous argument in the pair

(X,Z)

, less than

\varepsilon|X|

of the vertices in

X

have fewer than

(dXZ-\varepsilon)|Z|

neighbors in

Z

. Combining these two subsets of

X

and taking their complement, we obtain a subset

X'\subseteqX

of size at least

(1-2\varepsilon)|X|

such that every vertex

x\inX'

has at least

(dXY-\varepsilon)|Y|

neighbors in

Y

and at least

(dXZ-\varepsilon)|Z|

neighbors in

Z

.

We also know that

dXY,dXZ\geq2\varepsilon

, and that

(Y,Z)

is an

\varepsilon

-regular pair; therefore, the density between the neighborhood of

x

in

Y

and the neighborhood of

x

in

Z

is at least

(dYZ-\varepsilon)

, because by regularity it is

\varepsilon

-close to the actual density between

Y

and

Z

.

Summing up, for each of these at least

(1-2\varepsilon)|X|

vertices

x\inX'

, there are at least

(dXY-\epsilon)(dXZ-\epsilon)(dYZ-\epsilon)|Y||Z|

choices of edges between the neighborhood of

x

in

Y

and the neighborhood of

x

in

Z

. From there we can conclude this proof.

Idea of proof of graph counting lemma:The general proof of the graph counting lemma extends this argument through a greedy embedding strategy; namely, vertices of

H

are embedded in the graph one by one, by using the regularity condition so as to be able to keep a sufficiently large set of vertices in which we could embed the next vertex.[1]

Graphon version of counting lemma

The space

\tilde{l{W}}0

of graphons is given the structure of a metric space where the metric is the cut distance

\delta\Box

. The following lemma is an important step in order to prove that

(\tilde{l{W}}0,\delta\Box)

is a compact metric space. Intuitively, it says that for a graph

F

, the homomorphism densities of two graphons with respect to this graph have to be close (this bound depending on the number of edges

F

) if the graphons are close in terms of cut distance.

Definition (cut norm).

The cut norm of

W:[0,1]2\toR

is defined as

\|W\|\square=\supS,\left|\intS x W\right|

, where

S

and

T

are measurable sets.

Definition (cut distance).

The cut distance is defined as

\delta\square(U,W)=inf\phi||U-W\phi||\square

, where

W\phi(x,y)

represents

W(\phi(x),\phi(y))

for a measure-preserving bijection

\phi

.

Graphon Counting Lemma

For graphons

W,U

and graph

F

, we have

|t(F,W)-t(F,U)|\le|E(F)|\delta\square(W,U)

, where

|E(F)|

denotes the number of edges of graph

F

.

Proof of the graphon counting lemma:

It suffices to prove |t(F,W)-t(F,U)|\le|E(F)|\|W-U\|_.Indeed, by considering the above, with the right hand side expression having a factor

\|W-U\phi\|\Box

instead of

\|W-U\|\Box

, and taking the infimum of the over all measure-preserving bijections

\phi

, we obtain the desired result.

Step 1: Reformulation. We prove a reformulation of the cut norm, which is by definition the left hand side of the following equality. The supremum in the right hand side is taken among measurable functions

u

and

v

:\sup_\left|\int_W\right|=\sup_\left| \int_W(x,y)u(x)v(y)dxdy\right|.

Here's the reason for the above to hold: By taking

u=1S

and

u=1T

, we note that the left hand side is less than or equal than the right hand side. The right hand side is less than or equal than the left hand side by bilinearity of the integrand in

u,v

, and by the fact that the extrema are attained for

u,v

taking values at

0

or

1

.

Step 2: Proof for

F=K3

. In the case that

F=K3

, we observe that

\begint(K_3,W)-t(K_3,U)&=\int_((W(x,y)W(x,z)W(y,z)-U(x,y)U(x,z)U(y,z))dxdydz\\&=\int_(W-U)(x,y)W(x,z)W(y,z)dxdydz\\&\qquad+\int_ U(x,y)(W-U)(x,z)W(y,z)dxdydz\\&\qquad+\int_ U(x,y)U(x,z)(W-U)(y,z)dxdydz.\end

By Step 1, we have that for a fixed

z

that
\left|\int
[0,1]2

(W-U)(x,y)W(x,z)W(y,z)dxdy\right|\le\|W-U\|\square

Therefore, when integrating over all

z\in[0,1]

we get that
\left|\int
[0,1]3

(W-U)(x,y)W(x,z)W(y,z)dxdydz\right|\le\|W-U\|\square

Using this bound on each of the three summands, we get that the whole sum is bounded by

3\|W-U\|\square

.

Step 3: General case. For a general graph

F

, we need the following lemma to make everything more convenient:
Lemma.

The following expression holds:a_1a_2\cdots a_n-b_1b_2\cdots b_n=(a_1-b_1)a_2\cdots a_n+b_1(a_2-b_2)\cdots a_n+\cdotsb_1b_2\cdots (a_n-b_n).

The above lemma follows from a straightforward expansion of the right hand side. Then, by the triangle inequality of norm, we have the following\begin\left| t(F,W)-t(F,U)\right| &=\left| \int\left(\prod_W(u_i,v_i)-\prod_U(u_i,v_i)\right)\prod_dv\right|\\&\le\sum_^

\left| \int \left(\ \prod_^U(u_j,v_j)(W(u_i,v_i)-U(u_i,v_i))\prod_^
W(u_k,v_k)\right)\prod_dv\right|.\end

Here, each absolute value term in the sum is bounded by the cut norm

\|W-U\|\square

if we fix all the variables except for

ui

and

vi

for each

i

-th term, altogether implying that

|t(F,W)-t(F,U)|\le|E(F)|\delta\square(W,U)

. This finishes the proof.

See also

Notes and References

  1. Web site: Graph Removal Lemmas. Conlon, Fox. David, Jacob. David Conlon's webpage. live. https://web.archive.org/web/20131001060749/http://people.maths.ox.ac.uk:80/~conlond/RemSurvey.pdf . 2013-10-01 .