1 Introduction
In this article we focus on the problem of distinguishing between two independent random (simple) graphs by first-order (FO) sentences. The vocabulary of FO language of graphs contains the adjacency and the equality relations.
Given two graphs
$G_1,G_2$
and an FO sentence
$\varphi $
, we say that
$\varphi $
distinguishes between
$G_1$
and
$G_2$
if
$G_{1}\models \varphi $
and
$G_{2}\not \models \varphi $
, or vice versa. We say that
$G_1,G_2$
are k-distinguishable if there exists an FO sentence
$\varphi $
with quantifier depth at most k that distinguishes between them. Recall that the quantifier depth of a sentence
$\varphi $
is, roughly speaking, the maximum number of nested quantifiers in
$\varphi $
(for a formal definition, see [Reference Leonid15]). We call the minimum k such that
$G_1,G_2$
are k-distinguishable the FO distinguishability, and denote it by
$k(G_1,G_2)$
. The FO distinguishability was first studied by Spencer and St. John for random sequences [Reference Spencer and St. John23]. Tight worst-case upper bounds on
$k(G_1,G_2)$
for deterministic graphs
$G_1,G_2$
were obtained in [Reference Pikhurko, Veith and Verbitsky17] by Pikhurko, Veith, and Verbitsky. In this article we study the FO distinguishability of random graphs. Before stating our results, we discuss some motivation of this problem as well as give an overview of its history.
Distinguishability of random graphs is closely related to zero-one laws, an important phenomenon in finite model theory. We say that a sequence of random graphs
$\left \{ \mathbf {G}_n\right \}_{n=1}^\infty $
satisfies the FO zero-one law if, for every FO sentence
$\varphi $
, the limiting probability
$\lim _{n\rightarrow \infty }\mathbb {P}(\mathbf {G}_n\models \varphi )$
is either
$0$
or
$1$
. In other words, either
$\varphi $
holds with high probability (w.h.p., in what follows) or
$\neg \varphi $
holds w.h.p. The celebrated theorem of Glebskii, Kogan, Liogon’kii, and Talanov [Reference Glebskii, Kogan, Liogon’kii and Talanov8] and Fagin [Reference Fagin7] says that the FO zero-one law holds when
$\mathbf {G}_{n}\sim G(n,1/2)$
, that is, when
$\mathbf {G}_{n}$
is distributed uniformly on the set of all labelled graphs on
$[n]:=\{1,\ldots ,n\}$
.
The Bridge Theorem (see [Reference Spencer22, Theorems 2.5.1 and 2.3.1]) implies the following relation between zero-one laws and distinguishability: a sequence of random graphs
$\left \{ \mathbf {G}_n\right \}_{n=1}^\infty $
satisfies the FO zero-one law if and only if the respective FO distinguishability is unbounded, that is, for every
$k\in \mathbb {N}$
,
In [Reference Kim, Pikhurko, Spencer and Verbitsky13] Kim, Pikhurko, Spencer, and Verbitsky proved a more precise estimation: w.h.p.
$k\left (\mathbf {G}_{n}^1,\mathbf {G}_{n}^2\right )=\log _2 n+O(\log \log n)$
. In [Reference Benjamini and Zhukovskii4] Benjamini and the second author of the article obtained a tight bound: w.h.p.
$k\left (\mathbf {G}_{n}^1,\mathbf {G}_{n}^2\right )=\log _2 n-2\log _2\ln n+O(1)$
and is concentrated in three consecutive points. They also observed that the same result holds true for the number of variables in infinitary logic
$\mathcal {L}^{\omega }_{\infty ,\omega }$
.
FO distniguishability is also related to the graph isomorphism problem. Note that two finite graphs are isomorphic if and only if there is no FO sentence that distinguishes between them. Since the truth value of an FO sentence of quantifier depth k on an n-vertex graph can be tested in time
$O(n^k)$
[Reference Leonid15], upper bounds on the FO distinguishability of graphs imply upper bounds on the time complexity of deciding whether or not the graphs are isomorphic. From this perspective, the problem of distinguishing between two independent copies
$\mathbf {G}_{n}^1,\mathbf {G}_{n}^2\sim G(n,1/2)$
arises naturally from the average case analysis of the graph isomorphism problem. However, this approach gives a bound that is far from being optimal: it only shows that
$\mathbf {G}_{n}^1,\mathbf {G}_{n}^2$
can be distinguished in quasi-polynomial time w.h.p. A much more efficient algorithm can be obtained by considering FO logic with counting. Indeed, the results of Babai and Kučera [Reference Babai and Kučera2] and Babai, Erdős, and Selkow [Reference Babai, Erdős and Selkow1] (combined with Immerman and Lander’s [Reference Immerman and Lander10] logical characterization of color refinement) imply that w.h.p.
$\mathbf {G}_n\sim G(n,1/2)$
can be defined by an FO sentence with counting quantifiers of quantifier depth 4. This implies a polynomial (actually, even linear) time algorithm that distinguishes between
$\mathbf {G}_{n}$
and any non-isomorphic graph w.h.p.
In sparse random graphs, however, the situation is strikingly different. The FO distinguishability can be significantly smaller, and therefore provide much more efficient algorithms for random graphs distinguishing. To state the relevant results, recall the general definition of the binomial random graph:
$\mathbf {G}_{n}\sim G(n,p)$
is a random graph on
$[n]$
, in which edges between pairs of vertices appear independently with probability p. In [Reference Shelah and Spencer21], Shelah and Spencer studied the validity of the FO zero-one law for
$\mathbf {G}_n\sim G(n,n^{-\alpha })$
where
$\alpha $
is a positive constant.
Theorem 1.1 (S. Shelah and J. Spencer [Reference Shelah and Spencer21]).
Let
$\alpha \in (0,1)$
. Then
$\mathbf {G}_n\sim G(n,n^{-\alpha })$
obeys an FO zero-one law if and only if
$\alpha $
is irrational.
It follows that, for rational
$\alpha \in (0,1)$
and two independent copies
$\mathbf {G}_n^1,\mathbf {G}_n^2\sim G(n,n^{-\alpha })$
we have
$k(\mathbf {G}_n^1,\mathbf {G}_n^2)=O(1)$
with probability bounded away from 0. Furthermore, it can be even derived that, for every
$\varepsilon>0$
,
$\mathbb {P}(k(\mathbf {G}_n^1,\mathbf {G}_n^2)<C)>1-\varepsilon $
for a certain constant
$C=C(\alpha ,\varepsilon )$
.
For irrational
$\alpha $
, the asymptotic behavior of
$k(\mathbf {G}_n^1,\mathbf {G}_n^2)$
is more complicated. Authors of [Reference Benjamini and Zhukovskii4] suspected that similar methods to those that were applied for dense random graphs might imply
$k(\mathbf {G}_n^1,\mathbf {G}_n^2)=O(\ln n)$
w.h.p. for irrational
$\alpha $
as well and it was, however, conjectured that actually
$k(\mathbf {G}_n^1,\mathbf {G}_n^2)=o(\ln n)$
w.h.p. Our first result shows that this conjecture is true.
For an irrational
$\alpha \in (0,1)$
, we let
$\mathbf {k}_{\alpha }=k(\mathbf {G}_n^1,\mathbf {G}_n^2)$
for two independent
$\mathbf {G}_n^1,\mathbf {G}_n^2\sim G(n,n^{-\alpha })$
. For a sequence of random variables
$\xi _n$
and a sequence of non-zero constants
$a_n$
, we write
$\xi _n=O_p(a_n)$
when
$\xi _n/a_n$
is stochastically bounded, that is, for every
$\varepsilon>0$
, there exists
$C>0$
such that
$\mathbb {P}(|\xi _n/a_n|<C)>1-\varepsilon $
for all n.
Theorem 1.2. Let
$\alpha \in (0,1)$
be irrational. Then
$\mathbf {k}_{\alpha }=O_{p}\left (\frac {\ln n}{\ln \ln n}\right )$
.
On the other hand, our second result shows that it is impossible to get a uniform lower bound approaching infinity:
$\mathbf {k}_{\alpha }$
may grow arbitrarily slow.
Theorem 1.3. For every function
$f(n)\stackrel {n\rightarrow \infty }{\rightarrow }\infty $
there exists an irrational
$\alpha \in (0,1)$
and an increasing sequence of positive integers
$\{n_{t}\}_{t=1}^{\infty }$
such that w.h.p. (as
$t\to \infty $
)
$\mathbf {k}_{\alpha }(n_t)\leq f(n_{t})$
.
We observe that FO distinguishability
$\mathbf {k}_{\alpha }$
depends on how well an irrational
$\alpha $
can be approximated by rational numbers: the better
$\alpha $
is approximable, the closer the behavior of
$\mathbf {k}_{\alpha }$
to the case of rational
$\alpha $
is. This allows us to prove our third result: in contrast to Theorem 1.3, for almost all
$\alpha \in (0,1)$
,
$\mathbf {k}_{\alpha }$
is at least
$\frac {1-o(1)}{\ln 2}\ln \ln \ln n$
w.h.p. Let us recall that the Liouville–Roth irrationality measure of an irrational number
$\alpha $
is the infimum (which can be infinite) of the set of all
$d>0$
such that at most finitely many integers p and q satisfy
$|\alpha -p/q|\leq q^{-d}$
. Due to Roth’s Theorem [Reference Roth18],
$d=2$
if
$\alpha $
is algebraic (while for transcendental numbers
$d\geq 2$
or
$d=\infty $
—in the latter case
$\alpha $
is called Liouville number).
Theorem 1.4. Let
$d_0>2$
and
$\alpha \in (0,1)$
be an irrational number with the Liouville–Roth irrationality measure strictly smaller than
$d_0$
. Then w.h.p.
$\mathbf {k}_{\alpha }\geq \frac {1}{\ln d_0}\ln \ln \ln n$
. In particular, for almost all irrational
$\alpha \in (0,1)$
(in the Lebesgue measure), w.h.p.
$\mathbf {k}_{\alpha }\geq \frac {1-o(1)}{\ln 2}\ln \ln \ln n$
.
The second assertion follows from the fact that the set of
$\alpha $
with Liouville–Roth irrationality measure strictly bigger than 2 has Lebesgue measure 0 due to Khinchin’s Theorem [Reference Khinchin12]. In particular, the lower bound
$\frac {1-o(1)}{\ln 2}\ln \ln \ln n$
holds true for all algebraic irrational
$\alpha \in (0,1)$
due to Roth’s Theorem. In contrast, in our proof of Theorem 1.3, for a given growing
$f(n)$
, the corresponding irrational
$\alpha $
is defined as a suitable Liouville number.
To prove Theorem 1.2 we distinguish
$\mathbf {G}_{n}^1$
from
$\mathbf {G}_{n}^2$
via an existential sentence. The strategy is to find a large family of graphs
$\mathcal {F}$
with the property that w.h.p. there exists
$H\in \mathcal {F}$
which appears as an induced subgraph in
$\mathbf {G}_{n}^1$
but not in
$\mathbf {G}_{n}^2$
. Commonly, in order to verify that a representative of a given isomorphism class H appears as an induced subgraph of a random graph, the second moment of the random variable
$\mathbf {X}_H$
that counts the number of such appearances is computed. When H has subgraphs that are at least as dense as H itself (i.e., H is not strictly balanced), the variance of this random variable becomes large and does not allow to apply a concentration inequality. Moreover, symmetries of H negatively affect the expectation of
$\mathbb {E}\mathbf {X}_H$
. Therefore, we require
$\mathcal {F}$
to be a large family of asymmetric strictly balanced graphs with a given density.
Our last contribution is the existence of a large family of asymmetric strictly balanced graphs as well as a randomized algorithm for sampling such graphs, that we have used to prove Theorem 1.2. We prove that for every density
$\rho \geq 1+2/n$
(this restriction is tight), bounded from above by a constant, there exists a family of
$n^{(\rho -o(1))n}$
strictly balanced asymmetric graphs on
$[n]$
(see Theorem 2.1 in Section 2). The novel algorithm of sampling random balanced graphs that are w.h.p. asymmetric that we present in Section 2.1 is inspired by the proof of Ruciński and Vince [Reference Ruciński and Vince20] of the existence of a strictly balanced graph for every fixed density
$\rho \geq 1$
. In order to prove that the random balanced graph is asymmetric w.h.p., we develop a new approach for proving asymmetry of randomly perturbed graphs, based on the concept of alternating cycles, that is, cycles whose edges alternate between the edges of a fixed deterministic graph and the random edges. We believe that these results are interesting in their own right—strictly balanced graphs and their generalizations (as well as their automorphisms) naturally arise in different contexts in random graphs theory (see, e.g., [Reference Hoshen and Samotij9, Reference Ruciński19, Reference Ruciński and Vince20] and [Reference Janson, Łuczak and Ruciński11, Chapter 3]).
The article is organized as follows. In Section 2 we define the random balanced graph, study its properties, and then show that it can be used to prove the existence of a large family of strictly balanced asymmetric graphs. The crucial property of the random balanced graph—asymmetry—is proved in Section 6. The existence of a large family of strictly balanced asymmetric graphs is used in Section 3 to prove Theorem 1.2. Sections 4 and 5 are devoted to proofs of Theorems 1.3 and 1.4, respectively. Note that the proof of Theorem 1.4 requires the random balanced graph and its asymmetry as well.
Notations and conventions:
Throughout the text, we often maintain a convention of denoting random variables in boldface letters.
For a graph G, we denote by
$v(G)$
and
$e(G)$
the number of vertices and edges in G, respectively. In addition,
$\delta (G)$
is the minimum degree of G and
$\Delta (G)$
is the maximum degree of G. For a set of vertices U, let
$G[U]$
denote the subgraph of G induced by U.
We will sometimes need to work with multigraphs. We often use asterisks to distinguish multigraphs from simple graphs, unless the distinction is clear from the context. Recall that a multigraph is a pair
$G^{*}=(V,E^{*})$
where V is a set of vertices and
$E^{*}$
is a multiset of edges (loops are allowed).
$e(G^{*})$
is the number of edges counted with multiplicities. Given two multisets
$E_{1}^{*},E_{2}^{*}$
, we define their sum
$E_{1}^{*}+E_{2}^{*}$
as the multiset
$E^{*}$
with the property
$m_{E^{*}}(e)=m_{E_{1}^{*}}(e)+m_{E_{2}^{*}}(e)$
for every e, where
$m_{E^{*}}(e)$
denotes the multiplicity of e in
$E^{*}$
. For two multigraphs on the same vertex set
$G_{1}^{*}=(V,E_{1}^{*})$
,
$G_{2}^{*}=(V,E_{2}^{*})$
we define their sum as
$G_{1}^{*}+G_{2}^{*}=(V,E_{1}^{*}+E_{2}^{*})$
. Note that
$e(G_{1}^{*}+G_{2}^{*})=e(G_{1}^{*})+e(G_{2}^{*})$
. When we talk about (multi)graphs on n vertices, we always refer to labelled graphs with vertex set
$[n]$
.
We use the asymptotic notations
$f(n)\sim g(n)$
for
$f(n)=(1+o(1))g(n)$
and
$f(n)\lesssim g(n)$
for
$f(n)\leq (1+o(1))g(n)$
.
Note that the symbol
$\sim $
is also used to denote sampling from a distribution, for example,
$\mathbf {G}\sim G(n,p)$
. The two meanings of the symbol are distinguished by the context.
2 The random balanced graph
In this section we introduce a random graph model, denoted
$\mathbf {H}(n,m)$
, which we call the random balanced graph (with n vertices and m edges). We then use it to generate a large family of asymmetric, strictly balanced graphs on
$[n]$
with a given density. This will be the key ingredient in our proof of Theorems 1.2 and 1.3
Recall that a non-empty graph H is balanced if
$d(H)\geq d(H_{0})$
for every non-empty subgraph
$H_{0}\subseteq H$
, where
$d(H)=\frac {e(H)}{v(H)}$
is the density of H. Furthermore, H is strictly balanced if
$d(H)>d(H_{0})$
for every proper subgraph
$H_{0}\subset H$
. Also recall that a graph H is asymmetric if its group of automorphisms is trivial. The same definitions apply for multigraphs.
In Sections 3 and 4 we will be interested in the case where the density
$\frac {m}{n}$
approaches
$\frac {1}{\alpha }$
as
$n\rightarrow \infty $
. Here we consider a more general setting of a bounded density. The main goal of this section is to prove the following theorem.
Theorem 2.1. Fix a constant
$c>1$
and let
$m=m(n)$
satisfy
$n+2\leq m\leq cn$
. Then, for every even positive integer n, there exists a family
$\mathcal {H}(n,m)$
of strictly balanced and asymmetric graphs on
$[n]$
with m edges such that
$\left |\mathcal {H}(n,m)\right |=\exp (-O(n))n^{m}$
.
Remark 2.2. It makes sense to consider only connected graphs since a disconnected graph is not strictly balanced, and so m should be at least
$n-1$
. On the other hand, any tree is strictly balanced. Up to isomorphism, there is only one connected graph with
$m=n$
edges which is strictly balanced—a cycle
$C_n$
, though it is not asymmetric. Finally, every strictly balanced graph with
$m=n+1$
edges is either a cycle with a path between its two vertices, or two cycles joined by a path. Clearly, both graphs are not asymmetric. Thus, the condition
$m\geq n+2$
is necessary unless the graph is a tree.
Remark 2.3. Although we believe that the assertion of Theorem 2.1 is true for odd n as well, we state it in this weaker form since an adaptation of our approach to odd n requires a more complicated case analysis to prove strict balancedness. As for our purposes it is enough to consider even n, we omit these technical complications.
In Section 2.1 we define
$\mathbf {H}(n,m)$
, in Section 2.2 we study its properties, and in Section 2.3 we complete the proof of Theorem 2.1.
2.1 Definition
From now on fix
$m=m(n)$
and assume that n is even and
$n+2\leq m\leq cn$
, where
$c>1$
is a constant. We begin with a definition of the random balanced multigraph
$\mathbf {H}^{*}(n,m)$
. It is inspired by Ruciński and Vince’s construction of a strictly balanced graph [Reference Ruciński and Vince20]. Write
$m=q\cdot \frac {n}{2}+r$
where
$q\geq 2$
and
$0\leq r<\frac {n}{2}$
are integers.
$\mathbf {H}^{*}(n,m)$
is defined as the sum of three different (multi)graphs, which we call components: the regular component
$\mathbf {H}_{r}$
with
$(q-2)\frac {n}{2}$
edges, the Hamiltonian component
$\mathbf {H}_{h}$
with n edges, and the balancing component
$\mathbf {H}_{b}$
with r edges.
Let C be a cycle of order n; write it as
$(v_{1},v_{2},\dots ,v_{n},v_{1})$
. For a given
$0\leq r\leq n$
, define the following set of r almost equidistributed vertices around C:
Note that indeed
$\left |R\right |=r$
. In addition, for any sequence of k consecutive vertices in C, less than
$k\cdot \frac {r}{n}+1$
of them belong to R. Indeed, a sequence of vertices
$v_{i+1},\dots ,v_{i+k}$
(with indices taken modulo n) has
$\left \lfloor (i+k)\cdot \frac {r}{n}\right \rfloor -\left \lfloor i\cdot \frac {r}{n}\right \rfloor $
vertices from R, and this is less than
$k\cdot \frac {r}{n}+1$
. This property shows that the vertices of R are distributed almost equally, which is useful for proving balancedness.
Definition 2.4. The random balanced multigraph with n vertices and m edges
$\mathbf {H}^{*}=\mathbf {H}^{*}(n,m)$
is defined as follows:
-
• Let $\mathbf {H}_{r}=\left ([n],\mathbf {E}_{r}\right )$
be a uniformly distributed
$(q-2)$
-regular (simple) graph on
$[n]$
.Footnote
1
-
• Let $\mathbf {H}_{h}=\left ([n],\mathbf {E}_{h}\right )$
be a uniformly random Hamilton cycle, independent of
$\mathbf {H}_{r}$
. -
• Let $\mathbf {H}_{b}=\left ([n],\mathbf {E}_{b}\right )$
be defined as follows. For every
$x\in \mathbf {R}:=R\left (\mathbf {H}_{h},r\right )$
choose a random vertex
$\mathbf {y}[x]\in [n]$
, such that these r vertices are chosen independently of
$\mathbf {H}_{r}$
and
$\mathbf {H}_{h}$
, and are uniformly distributed over all possible sequences of r distinct vertices. Now define
$\mathbf {E}_{b}=\left \{ \left \{ x,\mathbf {y}[x]\right \} :x\in \mathbf {R}\right \} $
. We regard
$\mathbf {E}_{b}$
as a multiset: edges may have multiplicity
$2$
and loops are allowed. Thus
$\mathbf {H}_{b}$
may be a multigraph.
Finally, define
$\mathbf {H}^{*}=\mathbf {H}_{r}+\mathbf {H}_{h}+\mathbf {H}_{b}$
. Edges of
$\mathbf {H}_{r}$
are called regular, edges of
$\mathbf {H}_{h}$
are called Hamiltonian, and edges of
$\mathbf {H}_{b}$
are called balancing.
Remark 2.5. The requirement that the vertices
$\{\mathbf {y}[x]:x\in \mathbf {R}\}$
are all distinct is introduced in order to restrict the maximum degree of
$\mathbf {H}^{*}$
. Indeed, note that
$\mathbf {H}_{r}\cup \mathbf {H}_{h}$
is a q-regular multigraph, and that degrees in
$\mathbf {H}_{b}$
are
$0$
,
$1$
or
$2$
. Therefore,
Remark 2.6. Let
$N^{*}=N^{*}(n,m)$
denote the number of possible values
$\left (H_{r},H_{h},H_{b}\right )$
of
$\left (\mathbf {H}_{r},\mathbf {H}_{h},\mathbf {H}_{b}\right )$
. By definition,
$N^{*}=N_{r}N_{h}N_{b}$
, where
$N_{r}=\exp (-O(n))n^{\left (\frac {q}{2}-1\right )n}$
is the number of
$(q-2)$
-regular graphs on n vertices (see [Reference Janson, Łuczak and Ruciński11, Corollary 9.8]);
$N_{h}=(n-1)!/2$
is the number of cycles on
$[n]$
;
$N_{b}=(n)_{r}$
is the number of sequences of r distinct vertices. Note that
$\left (\mathbf {H}_{r},\mathbf { H}_{h},\mathbf {H}_{b}\right )$
is uniformly distributed over all
$N^{*}$
possible values. However,
$\mathbf {H}^{*}$
itself is not uniformly distributed. This is because different multigraphs
$H^{*}$
may be represented as a sum
$H_{r}+H_{h}+H_{b}$
in a different number of ways.
Definition 2.7. The random balanced graph
$\mathbf {H}=\mathbf {H}(n,m)$
is defined as a random (simple) graph whose distribution is the distribution of
$\mathbf {H}^{*}(n,m)$
conditioned on being simple.
Remark 2.8. Let
$N=N(n,m)$
be the number of possible values
$\left (H_{r},H_{h},H_{b}\right )$
of
$\left (\mathbf {H}_{r},\mathbf {H}_{h},\mathbf {H}_{b}\right )$
such that
$H_{r}+H_{h}+H_{b}$
is a simple graph. Conditioning on the event that
$\mathbf {H}^{*}$
is simple,
$\left (\mathbf {H}_{r},\mathbf {H}_{h},\mathbf {H}_{b}\right )$
is uniformly distributed over all N possible values.
2.2 Properties
In this section we list several important properties of
$\mathbf {H}$
. The main three properties are strict balancedness (Proposition 2.9), a bound on the probability that
$\mathbf {H}$
contains a given set of edges (Proposition 2.13), and asymmetry (Theorem 2.15).
Proposition 2.9. Suppose H is a graph such that
$\mathbb {P}\left (\mathbf {H}=H\right )>0$
. Then H is strictly balanced.
Although the proof of Proposition 2.9 resembles the proof of Ruciński and Vince that the graphs that they construct in [Reference Ruciński and Vince20] are strictly balanced, below we present the full proof for completeness.
Proof. We actually prove a stronger statement: if
$\mathbb {P}\left (\mathbf {H}^{*}=H^*\right )>0$
then
$H^*$
is strictly balanced.
Consider a possible value of
$\left (H_{r},H_{h},H_{b}\right )$
of
$\left (\mathbf {H}_{r},\mathbf {H}_{h},\mathbf {H}_{b}\right )$
and let
$H^*=H_{r}+H_{h}+H_{b}$
. We shall prove that
$H^*$
is strictly balanced. That is, we show that every proper sub-multigraph
$H_{0}\subset H^*$
satisfies
We now follow a sequence of reductions.
First, we claim that it suffices to prove strict balancedness of
$H'=H_{h}+H_{b}$
. Indeed, suppose that
$H'$
is strictly balanced. Consider a set
$V_{0}\subset [n]$
and denote
$v_{0}=\left |V_{0}\right |$
,
$H_{0}=H[V_{0}]$
, and
$H_{0}'=H'[V_{0}]$
. Since
$H'$
is strictly balanced,
Now,
$H_{0}$
is obtained from
$H_{0}'$
by adding some edges of the
$(q-2)$
-regular graph
$H_{r}$
, which increases the degree of each vertex by at most
$q-2$
. Therefore at most
$\left (\frac {q}{2}-1\right )v_{0}$
edges are added. Overall,
which proves strict balancedness of
$H^*$
.
Second, we claim that it suffices to prove strict balancedness of
$H"$
, which is obtained from
$H'$
by replacing its balancing edges with loops: each edge
$\{x,y[x]\}$
is replaced with a loop at x. Indeed, suppose that
$H"$
is strictly balanced. Consider a set
$V_{0}\subset [n]$
and denote
$v_{0}=\left |V_{0}\right |$
,
$H_{0}'=H'[V_{0}]$
, and
$H_{0}"=H"[V_{0}]$
. It is easy to see that
$e\left (H_{0}'\right )\leq e\left (H_{0}"\right )$
. From strict balancedness of
$H"$
and that
$e(H')=e(H")$
,
which proves strict balancedness of
$H'$
.
Third, we claim that to prove strict balancedness of
$H"$
, it suffices to check only
$V_{0}$
which are segments of the Hamiltonian component
$H_{h}$
; that is, sequences of consecutive vertices on the cycle. Indeed, assume that we have verified strict balancedness for segments. Consider a set
$V_{0}\subset [n]$
and denote
$v_{0}=\left |V_{0}\right |$
and
$e_{0}=e\left (H_{0}"\right )$
. Notice that
$V_{0}$
can be written as the union of mutually disjoint segments
$\tau _{1}\sqcup \tau _{2}\sqcup \dots \sqcup \tau _{t}$
with no Hamiltonian edge between them. Let
$v_{i},e_{i}$
denote the number of vertices and edges in
$H"[\tau _{i}]$
. From the assumption,
$e_{i}<\left (1+\frac {r}{n}\right )v_{i}$
for every i. Then
which proves strict balancedness.
Finally, it remains to check strict balancedness of
$H"$
for segments. Take any segment
$\tau $
with
$v_{0}<n$
vertices. The subgraph
$H"[\tau ]$
contains
$v_{0}-1$
Hamiltonian edges and less than
$v_{0}\cdot \frac {r}{n}+1$
loops (since the loops are almost equidistributed). Therefore,
That finishes the proof.
Proposition 2.10. There exists a positive constant
$p_{0}$
such that
$\mathbb {P}(\mathbf {H}^{*}\;\mathrm {is}\;\mathrm {simple})\geq p_{0}$
.
Remark 2.11. Following our notation from Remark 2.6 and Definition 2.7, let us note that
$\mathbb {P}(\mathbf {H}^{*}\;\mathrm {is}\;\mathrm {simple})=N/N^{*}$
, so we can rewrite the inequality as
$N\geq p_{0}N^{*}$
.
Proof of Proposition 2.10.
Let A be the event that
$\mathbf {H}^{*}$
is simple. Then
$A=A_{1}\cap A_{2}$
, where
-
1. $A_{1}$
is the event that
$\mathbf {H}_{r}$
and
$\mathbf {H}_{h}$
do not share common edges. -
2. $A_{2}$
is the event that
$\mathbf {H}_{b}$
does not contain loops or edges with multiplicity
$2$
and does not share edges with
$\mathbf {H}_{r}$
or with
$\mathbf {H}_{h}$
.
We write
$\mathbb {P}(A)=\mathbb {P}(A_{1})\mathbb {P}\left (A_{2}\bigm |A_{1}\right )$
and prove that there are positive constants
$p_{1},p_{2}$
such that
$\mathbb {P}\left (A_{1}\right )\geq p_{1}$
,
$\mathbb {P}\left (A_{2}\big |A_{1}\right )\geq p_{2}$
.
$\mathbb {P}(A_{1})$
is equal to the probability that the random
$(q-2)$
-regular graph
$\mathbf {H}_{r}$
does not contain any edges of a given Hamilton cycle. When
$q=2$
it is clearly
$1$
, so assume
$q\geq 3$
. We apply [Reference McKay16, Theorem 1.1], which bounds the probability that a random graph with specified degrees does not contain any edges of a given subgraph. For the special case of regular graphs it yields the following statement.
Theorem 2.12 (B. McKay [Reference McKay16]).
Let
$1\leq d=d(n)\ll n$
be an integer and let
$X=X(n)$
be a graph on vertex set
$[n]$
and maximum degree
$\Delta :=\Delta (X)=o(n)$
. For every even n let
$G_{d,X}(n)$
denote the number of labelled d-regular graphs on
$[n]$
that do not contain any edge of X. Then
Here
$E=\frac {nd}{2}$
is the number of edges in a d-regular graph on n vertices.
In our case, let
$d=q-2$
(which is a constant) and let X be a Hamiltonian cycle, so
$e(X)=n$
and
$\Delta =2$
. Also let
$\emptyset $
denote the empty graph (on n vertices), so
$G_{d,\emptyset }(n)$
is the number of labelled d-regular graphs. Then
Hence
$\mathbb {P}\left (A_{1}\right )$
is bounded from below by a positive constant.
Now let us bound
$\mathbb {P}\left (A_{2}\bigm |A_{1}\right )$
. We fix values
$\mathbf {H}_{r}=H_{r}$
and
$\mathbf {H}_{h}=H_{h}$
such that
$A_{1}$
holds, and prove the existence of a constant
$p_{2}$
(independent of
$H_{r},H_{h}$
) such that
Let
$R=\{x_{1},x_{2},\dots ,x_{r}\}$
(the labeling may be chosen arbitrarily) be the set of r equidistributed vertices around
$H_{h}$
. Since
$A_{1}$
holds,
$H_{r}+H_{h}$
is a simple q-regular graph. The sequence of values
$\mathbf {y}[x_{1}],\mathbf {y}[x_{2}]\dots ,\mathbf {y}[x_{r}]$
is drawn uniformly from all the
$(n)_{r}$
sequences of r distinct vertices. We provide a lower bound on the number of choices which satisfy
$A_{2}$
.
Let us sequentially choose the values
$y[x_{1}],y[x_{2}]\dots ,y[x_{r}]$
, making sure that
$A_{2}$
is satisfied at every step. When we get to
$y[x_{j}]$
, there are at least
$n-q-j$
possible choices which assure that
$A_{2}$
is still satisfied. We deduce
Here
$(*)$
follows from
$q\leq \frac {2m}{n}\leq 2c$
,
$(**)$
follows from
$r<\frac {n}{2}$
, and
$(***)$
holds since
$\frac {n-2c-i-1}{n-i}$
decreases as a function of i.
Proposition 2.13. There exists a positive constant
$c_{0}$
such that, for every set
$E_{0}\subseteq \binom {[n]}{2}$
, we have
$\mathbb {P}\left (E_{0}\subseteq E\left (\mathbf {H}\right )\right )\leq \left (c_0/n\right )^{\left |E_{0}\right |}$
.
Proof. The idea is to partition
$E_{0}$
into three disjoint sets and separately bound the probability that they are subsets of
$\mathbf {E}_{r},\mathbf {E}_{h},\mathbf {E}_{b}$
. It will be simpler to work with
$\mathbf {H}^{*}$
, and for that we will rely on Proposition 2.10.
Formally, fix
$E_{0}\subseteq \binom {[n]}{2}$
and let
$\mathcal {P}$
be the set of triplets
$(E_{r},E_{h},E_{b})$
which form a partition of
$E_{0}$
. Note that
$\left |\mathcal {P}\right |=3^{\left |E_{0}\right |}$
. For every
$P=\left (E_{r},E_{h},E_{b}\right )\in \mathcal {P}$
let
$A_{P}$
denote the event that in
$\mathbf {H}^{*}$
we have
$E_{r}\subseteq \mathbf {E}_{r}$
,
$E_{h}\subseteq \mathbf { E}_{h}$
, and
$E_{b}\subseteq \mathbf {E}_{b}$
. Then, from Proposition 2.10,
We will now prove that there exists a constant
$c_{1}$
such that
$\mathbb {P}\left (A_{P}\right )\leq \left (c_1/n\right )^{\left |E_{0}\right |}$
for every
$P\in \mathcal {P}$
. Then, taking
$c_{0}=\frac {1}{p_{0}}\cdot 3c_{1}$
finishes the proof.
So, let us fix a partition
$P=\left (E_{r},E_{h},E_{b}\right )$
of
$E_{0}$
. Let
$\ell _{0}=\left |E_{0}\right |$
and similarly define
$\ell _{r},\ell _{h},\ell _{b}$
.
Step 1. We apply the following proposition from [Reference Bollobás5].
Proposition 2.14 [Reference Bollobás5, Equation (2)].
Fix a constant
$d\geq 1$
and let
$\mathbf {G}_{n,d}$
be a random d-regular graph on
$[n]$
vertices. Then there exists a constant
$c>0$
(depending on d but not on n) such that, for every set
$E\subseteq \binom {[n]}{2}$
,
$\mathbb {P}\left (E\subseteq E(\mathbf { G}_{n,d})\right )\leq \left (\frac {c}{n}\right )^{|E|}$
.
In our case, it follows that there exists a positive constant
$c_r$
such that
$\mathbb {P}\left (E_{r}\subseteq \mathbf {E}_{r}\right )\leq \left (\frac {c_{r}}{n}\right )^{\ell _{r}}$
.
Step 2. Let us bound
$\mathbb {P}\left (E_{h}\subseteq \mathbf {E}_{h}\right )$
. Recall that
$\mathbf {E}_{h}$
is the set of edges of a random Hamilton cycle. If
$E_{h}$
is not contained in any Hamilton cycle, this probability is trivially
$0$
, so assume that it is not the case.
If
$\ell _{h}=n$
, then
$E_{h}$
is already the set of edges of a Hamilton cycle, and then
$\mathbb {P}\left (E_{h}\subseteq \mathbf {E}_{h}\right )=\frac {2}{(n-1)!}$
.
If
$\ell _{h}<n$
, then the graph
$([n],E_{h})$
has exactly
$n-\ell _{h}$
connected components, all of them are either paths or isolated vertices (which are not considered as paths for now). Let s be the number of paths. Then the number of Hamilton cycles containing
$E_{h}$
equals
$2^{s-1}(n-\ell _{h}-1)!$
. Therefore,
Note that the last bound also holds when
$\ell _{h}=n$
.
Step 3. Finally, let us bound
$\mathbb {P}\left (E_{b}\subseteq \mathbf {E}_{b}\right )$
. We shall prove that for every possible value
$H_{h}$
of
$\mathbf {H}_{h}$
That will prove
$\mathbb {P}\left (E_{b}\subseteq \mathbf {E}_{b}\right )\leq \left (\frac {2\mathrm { e}}{n}\right )^{\ell _{b}}.$
Fix a value
$\mathbf {H}_{h}=H_{h}$
. It determines the set of equidistributed vertices
$R=R(H_{h},r)$
. Again, we arbitrarily enumerate it:
$R=\{x_{1},x_{2},\dots ,x_{r}\}$
. Recall that
$\mathbf {E}_{b}$
is defined as the (multi)set of edges of the form
$\{x_{j},\mathbf {y}[x_{j}]\}$
, where
$\mathbf {y}[x_{1}],\dots ,\mathbf {y}[x_{r}]$
are drawn uniformly from all possible sequences of r distinct vertices. The number of ways to choose the vertices
$y[x]$
such that
$E_{b}\subseteq \mathbf {E}_{b}$
holds is at most
$2^{\ell _{b}}(n-\ell _{b})_{r-\ell _{b}}$
. Indeed, there are at most
$2^{\ell _{b}}$
ways to choose a direction
$x_{j}\rightarrow y[x_{j}]$
for every edge of
$E_{b}$
and at most
$(n-\ell _{b})_{r-\ell _{b}}$
ways to choose the remaining
$y[x_{j}]$
. Overall,
In conclusion, the three steps and the independence between the different components of
$\mathbf {H}^{*}$
show that indeed there exists a constant
$c_{1}$
such that
$\mathbb {P}\left (A_{P}\right )\leq \left (\frac {c_{1}}{n}\right )^{\ell _{0}}$
. That finishes the proof.
Finally, we address the asymmetry of
$\mathbf {H}$
.
Theorem 2.15.
$\mathbf {H}$
is asymmetric w.h.p.
Proof. We consider two separate cases
$m\geq \frac {3}{2}n$
and
$m<\frac {3}{2}n$
.
Dense case:
$m\geq \frac {3}{2}n$
. In this case we follow an argument due to Bollobás [Reference Bollobás5], which proves asymmetry of the random regular graph
$G(n,r)$
with
$r\geq 3$
fixed. This argument directly generalizes to the following result.
Theorem 2.16 (Bollobás [Reference Bollobás5]).
Fix an integer constant
$\Delta \geq 3$
. Let
$\{\mathbf { G}_{n}=([n],\mathbf {E}_n)\}_{n=1}^{\infty }$
be a sequence of random graphs with
$\delta (\mathbf {G}_{n})\geq 3$
and
$\Delta (\mathbf {G}_{n})\leq \Delta $
. Assume that there exists a constant
$c_{0}>0$
such that
$\mathbb {P}\left (E_{0}\subseteq E\left (\mathbf { G}_{n}\right )\right )\leq \left (\frac {c_{0}}{n}\right )^{\left |E_{0}\right |}$
for every
$E_{0}\subseteq \binom {[n]}{2}$
. Then
$\mathbf {G}_{n}$
is asymmetric w.h.p.
For the sake of completeness, we give the full proof of Theorem 2.16 in Appendix A.
Equation (2) and Proposition 2.13 show that the random balanced graph
$\mathbf {H}$
satisfies the last two properties—that the maximum degree is bounded and that the probability that the given set of edges
$E_0$
belongs to the random graph is at most
$(c_0/n)^{|E_0|}$
. When
$m\geq \frac {3}{2}n$
it also satisfies the first property that the minimum degree is at least 3, and therefore it is asymmetric w.h.p.
Sparse case:
$m<\frac {3}{2}n$
. In this case
$\delta (\mathbf {G}_n)=2$
and Bollobás’s argument does not apply. Instead, we develop an entirely different approach for proving asymmetry, generally applicable to randomly perturbed cycles. Indeed, in the sparse case, the regular component vanishes and
$\mathbf {H}=\mathbf {H}_{h}+\mathbf {H}_{b}$
. That is,
$\mathbf {H}$
is a Hamilton cycle with additional
$2\leq r<\frac {n}{2}$
randomly scattered edges. Our approach is based on the observation that non-trivial automorphisms give rise to certain configurations which are very rare in the sparse case. A key concept in the proof is that of an alternating cycle: a cycle which alternates between Hamiltonian edges and balancing edges. Since this proof may be of its own interest and since it is long enough to interrupt the flow of the article, we present it in the separate Section 6.
2.3 The family
$\mathcal {H}(n,m)$
We are now ready to prove Theorem 2.1. Given
$m=m(n)$
which satisfies
$n+2\leq m\leq cn$
, define
$\mathcal {H}(n,m)$
as the set of all asymmetric graphs which are possible values of
$\mathbf {H}=\mathbf {H}(n,m)$
. That is,
$\mathcal {H}(n,m)$
is indeed a family of strictly balanced and asymmetric graphs with n vertices and m edges (by the definition and from Proposition 2.9). Note that it is closed under isomorphism (since so is the family of all possible values of
$\mathbf {H}$
).
It remains to prove that
$\left |\mathcal {H}(n,m)\right |=\exp (-O(n))n^{m}$
. We start with an estimation of
$N^{*}=N^{*}(n,m)$
. Recall that
From Proposition 2.10 we have
$N=\Theta (N^{*})$
. Combining that with Theorem 2.15, we deduce that the number of possible
$(H_{r},H_{h},H_{b})$
such that
$H_{r}+H_{h}+H_{b}$
is an asymmetric (simple) graph is at least
$\exp (-O(n))n^{m}$
. The only remaining issue is that we may overcount graphs: different values
$(H_{r},H_{h},H_{b})$
may have the same sum. To handle this, the following simple lemma bounds the number of ways to express a given (simple) graph as
$H_{r}+H_{h}+H_{b}$
. We allow very coarse estimations since we only care that the bound is exponential.
Claim 2.17. There is a function
$B(n)=\exp \left (O(n)\right )$
such that, for every graph
$H\in \mathcal {H}(n,m)$
, the number of possible values
$(H_{r},H_{h},H_{b})$
of
$(\mathbf {H}_{r},\mathbf {H}_{h},\mathbf {H}_{b})$
such that
$H=H_{r}+H_{h}+H_{b}$
is at most
$B(n)$
.
Proof. From (2) we know that
$\Delta (H)\leq q+2$
. Therefore
$(q+2)^{n}$
is a trivial (and very coarse) bound on the number of Hamilton cycles in H. The Hamiltonian component
$H_{h}$
must be one of them.
Now fix
$H_{h}$
, which also fixes the set R. For every
$x\in R$
,
$y[x]$
must be its neighbor in H and can therefore be chosen in at most
$q+2$
ways. So the number of choices for
$H_{b}$
is at most
$(q+2)^{r}$
.
The values
$H_{h},H_{b}$
uniquely determine
$H_{r}$
(as the graph with all the remaining edges). Overall, the number of choices is at most
where we used the inequalities
$q\leq 2c$
and
$r<\frac {n}{2}$
. That finishes the proof.
From the claim we immediately get
and so Theorem 2.1 follows.
3 The general upper bound
In this section we prove Theorem 1.2. Let us fix an irrational
$\alpha \in (0,1)$
and a function
$\omega =\omega (n)\rightarrow \infty $
, and let
$\mathbf {G}_{n}^{1},\mathbf {G}_{n}^{2}\sim G(n,n^{-\alpha })$
be independent. We prove that there exists a purely existential FO-sentence
$\varphi =\varphi (\mathbf {G}_{n}^{1},\mathbf { G}_{n}^{2})$
, of quantifier depth at most
$\omega \frac {\ln n}{\ln \ln n}$
, that distinguishes between
$\mathbf {G}_{n}^{1},\mathbf {G}_{n}^{2}$
w.h.p. To do that, it is sufficient to find a family of graphs
$\mathcal {F}$
on
$[v]$
where
$v=\left \lfloor \omega \frac {\ln n}{\ln \ln n}\right \rfloor $
is even and satisfies the following two properties:
-
(A) W.h.p., $\mathbf {G}_{n}^{1}$
contains an induced subgraph which is isomorphic to some
$H\in \mathcal {F}$
. -
(B) For any specific graph $H\in \mathcal {F}$
, w.h.p.
$\mathbf {G}_{n}^{2}$
does not contain an induced subgraph isomorphic to H.
Indeed, suppose we have found
$\mathcal {F}$
with these properties. Let
$H=H(\mathbf {G}_{n}^{1})$
be the minimum graph from
$\mathcal {F}$
(with respect to some arbitrary ordering) such that
$\mathbf {G}_{n}^{1}$
contains an induced subgraph isomorphic to H. From (A), such a graph H exists w.h.p. Now let
$\varphi =\varphi (\mathbf {G}_{n}^{1})$
be an FO-sentence expressing the property of containing an induced subgraph isomorphic to H, with quantifier depth at most v. From (B), it distinguishes between
$\mathbf {G}_{n}^{1},\mathbf {G}_{n}^{2}$
w.h.p.
Our approach is to define
$\mathcal {F}$
as a set of typical graphs from the family
$\mathcal {H}(v,e)$
from Theorem 2.1, with e around
$\frac {1}{\alpha }v$
. More precisely, we set
$e=\left \lceil \frac {1}{\alpha }v\right \rceil +1$
: the additional
$1$
makes the subgraphs dense enough to assure Property (B). We get Property (A) in the usual way using Chebyshev’s inequality. To make it work, we need asymmetry and strict balancedness that are provided by Theorem 2.1. For technical reasons, we need to further refine the latter property and make sure that our family comprises graphs that are enhancely balanced, that is, small subgraphs of
$H\in \mathcal {F}$
have density slightly below
$\frac {1}{\alpha }$
. We will make use of the following proposition.
Proposition 3.1 (Enhanced balancedness).
Consider
$\mathbf {H}=\mathbf {H}(v,e)$
with even
$v=\left \lfloor \omega \frac {\ln n}{\ln \ln n}\right \rfloor $
and
$e=\left \lceil \frac {1}{\alpha }v\right \rceil +1$
. Then there exist positive constants
$\delta _{0},\beta _{0}>0$
(depending only on
$\alpha $
) such that the following holds. W.h.p., for every subgraph
$H_{0}$
of
$\mathbf {H}$
with
$v(H_{0})\leq \delta _{0}v$
, we have
$e(H_{0})<\frac {1}{\alpha }v(H_{0})-\beta _{0}$
.
The proof of Proposition 3.1 is postponed to Section 3.2. In Section 3.1 we use it to construct a family
$\mathcal {F}$
with Properties (A) and (B) and thus complete the proof of Theorem 1.2.
3.1 A suitable family of subgraphs
Let
$\mathcal {H}=\mathcal {H}(v,e)$
be the family of graphs from Theorem 2.1 with
$v=\left \lfloor \omega \frac {\ln n}{\ln \ln n}\right \rfloor $
,
$e=\left \lceil \frac {1}{\alpha }v\right \rceil +1.$
Without loss of generality we may assume that v is even. We define
$\mathcal {F}=\mathcal {F}(v,e)$
as the family of graphs
$H\in \mathcal {H}$
which additionally satisfy the enhanced balancedness property from Proposition 3.1. Like
$\mathcal {H}$
, the family
$\mathcal {F}$
is closed under isomorphism. Moreover, from Theorem 2.1, Proposition 3.1, and Claim 2.17, we have the following bound on
$\left |\mathcal {F}\right |$
.
Claim 3.2.
$ \left |\mathcal {F}\right |=\exp (-O(v) )\left |\mathcal {H}\right |=\exp (-O(v) )v^{e}. $
Proof. The second equality follows directly from the lower bound on
$\left |{\cal H}\right |$
from Theorem 2.1, so it remains to prove the first equality. Let N be the number of possible values
$(H_{r},H_{h},H_{b})$
such that
$H_{r}+H_{h}+H_{b}$
is simple, and let
$N_{{\cal F}}$
be the number of possible values
$(H_{r},H_{h},H_{b})$
such that
$H_{r}+H_{h}+H_{b}\in {\cal F}$
. Proposition 3.1 implies
$\frac {N_{{\cal F}}}{N}=1-o(1)$
. Claim 2.17 implies
$N_{{\cal F}}=\exp \left (O(v)\right )\left |{\cal F}\right |$
. Therefore
$\left |{\cal F}\right |=\exp (-O(v))N_{{\cal F}}=\exp (-O(v))N$
, implying
$\left |{\cal F}\right |=\exp (-O(v) )\left |{\cal H}\right |.$
The last equality follows from the fact that
$|\mathcal {H}|=\exp (O(v))N$
and
$|\mathcal {F}|\leq |\mathcal {H}|$
. Note that the equality
$\left |\mathcal {F}\right |=\exp (-O(v) )\left |\mathcal {H}\right |$
does not exclude the possibility that
$|\mathcal {F}|=\exp (-o(v))\left |\mathcal {H}\right |$
.
Lemma 3.3.
$\mathcal {F}$
satisfies Property (B).
Proof. Fix
$H\in \mathcal {F}$
and let
$\mathbf {X}_{H}$
be the number of induced copies of H in
$\mathbf {G}_{2}$
. Then
since
$v,e=O(\ln n)$
and
$p=n^{-\alpha }$
. From the definition of e we have
$v-\alpha e\leq -\alpha $
, so overall
$\mathbb {E}\left (\mathbf {X}_{H}\right )=O\left (n^{-\alpha }\right )$
. From Markov’s inequality,
$\mathbb {P}\left (X_{H}\geq 1\right )=o(1)$
.
Lemma 3.4.
$\mathcal {F}$
satisfies property (A).
Proof. Let
$\mathbf {X}_{\mathcal {F}}$
count the number of induced subgraphs
$H\subseteq \mathbf {G}_{n}^{1}$
with
$H\in \mathcal {F}$
. We need to prove
$\mathbb {P}(\mathbf {X}_{\mathcal {F}}=0)=o(1)$
. From Chebyshev’s inequality, it suffices to prove
$\frac {\mathrm { Var}(\mathbf {X}_{\mathcal {F}})}{\left [\mathbb {E}\left (\mathbf {X}_{\mathcal {F}}\right )\right ]^{2}}=o(1).$
Write
$\mathbf {X}_{\mathcal {F}}=\sum _{H}\mathbb {1}_{H\subseteq \mathbf {G}_1}$
, where the sum is over all subgraphs H of the complete graph
$K_{n}$
with
$H\in \mathcal {F}$
. The expected value is
The variance is
We decompose the sum in (3) by considering different possible intersection patterns of
$H,H'$
. For every non-negative integers
$v_{0},e_{0}$
let
$S_{v_{0},e_{0}}$
denote the sum in (3), but only over the pairs
$H,H'$
which share exactly
$v_{0}$
common vertices and
$e_{0}$
common edges. Then
$\mathrm { Var}(\mathbf {X}_{\mathcal {F}})=\sum _{v_{0},e_{0}}S_{v_{0},e_{0}}$
. When
$v_{0}\leq 1$
, the indicators
$\mathbb {1}_{H},\mathbb {1}_{H'}$
are independent and the corresponding summand is
$0$
. Taking enhanced balancedness into account, we may therefore sum over the set
$\mathcal {I}$
of pairs
$(v_{0},e_{0})$
such that
$v_0\geq 2$
,
$e_0\leq \frac {e}{v}v_0$
and, moreover,
$e_0\leq \frac {1}{\alpha }v_0-\beta _0$
whenever
$v_{0}\leq \delta _{0}v$
. Each
$S_{v_{0},e_{0}}$
can be written as follows:
Here
$T_{v_{0},e_{0}}$
denotes the number of possible choices of a pair of induced subgraphs
$H,H'$
on two given sets of v vertices with
$v_{0}$
common vertices, such that
$H,H'\in \mathcal {F}$
and they share exactly
$e_{0}$
edges. Simple estimations yield
The following claim bounds the term
$T_{v_{0},e_{0}}/\left |\mathcal {F}\right |{}^{2}$
.
Claim 3.5. For every
$(v_{0},e_{0})\in \mathcal {I}$
,
$T_{v_{0},e_{0}}/\left |\mathcal {F}\right |{}^{2}=\exp (O(v))(\frac {c_{0}}{v})^{e_{0}}$
, where
$c_{0}$
is the constant from Proposition 2.13, and the term
$O(v)$
does not depend on
$(v_{0},e_{0})$
.
Proof. Let us fix two sets of vertices
$V_{1},V_{2}$
with
$\left |V_{1}\right |=\left |V_{2}\right |=v$
and
$V_{0}=V_{1}\cap V_{2}$
having
$\left |V_{0}\right |=v_{0}$
. We need to bound
$T_{v_{0},e_{0}}$
, the number of pairs
$H_{1},H_{2}$
such that each
$H_{i}$
is a graph on
$V_{i}$
with
$H_{i}\in \mathcal {F}$
,
$H_{1}[V_{0}]=H_{2}[V_{0}]$
, and the common induced subgraph contains exactly
$e_{0}$
edges.
First choose
$H_{1}\in \mathcal {F}$
on
$V_{1}$
such that
$H_{1}\left [V_{0}\right ]$
contains exactly
$e_{0}$
edges. The number of choices is trivially bounded by
$\left |\mathcal {F}\right |$
. Now, given
$H_{1}$
, we must choose
$H_{2}\in \mathcal {F}$
on
$V_{2}$
which contains a given set of
$e_{0}$
edges. The number of choices is bounded by the number of graphs from
$\mathcal {H}$
that contain the same set of edges which is, due to Proposition 2.13, at most
$\left (\frac {c_{0}}{v}\right )^{e_{0}}N$
, where
$N=N(v,e)$
is again the number of possible values
$(H_{r},H_{h},H_{b})$
such that
$H_{r}+H_{h}+H_{b}$
is simple. By Claim 3.2,
$\left |\mathcal {F}\right |=\exp (-O(v))N$
. Therefore,
We now return to the proof of Lemma 3.4. It suffices to prove that the right-hand side in (4) is
$o\left (v^{-2}\right )$
(uniformly), since the number of summands is
$\Theta \left (v^{2}\right )$
. We have
Notice that the last expression is monotonically increasing with respect to
$e_{0}$
. Therefore we may bound it for every
$2\leq v_{0}\leq v$
only with
$e_{0}^{*}$
, defined as the maximal
$e_{0}$
such that
$(v_{0},e_{0})\in \mathcal {I}$
. Note that
$e_{0}^{*}=\frac {1}{\alpha }v_{0}+O(1)$
, so
We bound (5) separately for small
$v_{0}$
and for large
$v_{0}$
. Intuitively, for small subgraphs the enhanced balancedness property promises that
$(**)$
is sufficiently small, while for large subgraphs it is
$(*)$
which becomes small.
Small subgraphs. In this case we assume
$v_{0}\leq \frac {c}{\omega }v$
where
$c=\frac {\alpha \beta _{0}}{2}$
. By definition of v,
Of course, this implies
$v_{0}\leq \delta _{0}v$
, so enhanced balancedness applies:
$e_{0}^{*}\leq \frac {1}{\alpha }v_{0}-\beta _{0}$
and therefore
$\frac {1}{n^{v_{0}-\alpha e_{0}^{*}}}\leq n^{-\alpha \beta _{0}}$
.
As for
$(*)$
, we use the simple bound
Without loss of generality, we may assume
$\omega =o(\ln \ln n)$
, so
$v=o(\ln n)$
and
Overall,
$S_{v_{0},e_{0}}/\mathbb {E}[\left (\mathbf {X}_{\mathcal {F}}\right )]^{2}\leq n^{-\frac {\alpha \beta _{0}}{2}+o(1)}$
uniformly. In particular it is
$o\left (v^{-2}\right )$
.
Large subgraphs. Now assume
$v_{0}\geq \frac {c}{\omega }v$
. In this case we only know
$e_{0}^{*}\leq \frac {e}{v}v_{0}\leq \left (\frac {1}{\alpha }+\frac {2}{v}\right )v_{0}$
, so
As for
$(*)$
, we have
where
$\xi =\frac {1}{\alpha }-1$
is a positive constant. Combining both bounds,
for some constant
$C>1$
. Note that
Again, without loss of generality we may assume
$\omega =o(\ln \ln n)$
, so
Overall,
$S_{v_{0},e_{0}}/\mathbb {E}[\left (\mathbf {X}_{\mathcal {F}}\right )]^{2}\leq \left (v^{-\xi +o(1)}\right )^{v_{0}}$
which is again
$o(v^{-2})$
. We have therefore completed the proof of Lemma 3.4.
3.2 Proof of Proposition 3.1
It remains to prove Proposition 3.1 about enhanced balancedness. We have
$\mathbf {H}=\mathbf {H}(v,e)$
with
$v\rightarrow \infty $
and
$e=\left \lceil \frac {1}{\alpha }v\right \rceil +1$
. Write
$\frac {1}{\alpha }=\frac {q}{2}+\xi $
where
$q\geq 2$
is an integer and
$0<\xi <\frac {1}{2}$
. Then
$e=q\cdot \frac {v}{2}+r$
where
$r=\left \lceil \xi v\right \rceil +1< \frac {v}{2}$
.
Definition 3.6. Let
$\mathbf {H}=\mathbf {H}_{r}+\mathbf {H}_{h}+\mathbf {H}_{b}$
be a random balanced (simple) graph. Let
$\mathbf {H}'=\mathbf {H}_{h}+\mathbf {H}_{b}$
be obtained by deleting the regular edges from
$\mathbf {H}$
. Let
$\mathbf {H}"$
be obtained from
$\mathbf {H}'$
by replacing every balancing edge
$\{x,y[x]\}$
with a loop at x. That is,
$\mathbf {H}"$
is simply the Hamilton cycle
$\mathbf {H}_{h}$
with a loop at every vertex of
$\mathbf {R}$
.
Definition 3.7. For a given set of vertices
$V_{0}\subseteq [v]$
, its segment decompositionis
$V_{0}=\tau _{1}\sqcup \dots \sqcup \tau _{t}$
, where
$\tau _{1},\dots ,\tau _{t}$
are mutually disjoint segments of the Hamiltonian component
$\mathbf {H}_{h}$
with no Hamiltonian edge between them.
We shall use the following technical claim.
Claim 3.8. For every positive integer M there exists a positive constant
$\beta $
such that the following holds. Let
$V_{0}\subseteq [v]$
be a set of
$v_{0}$
vertices and let
$H_{0}"=\mathbf {H}"[V_{0}]$
. If the segment decomposition of
$V_{0}$
contains a segment of length at most M, then
Proof. Fix a positive integer M. Define
where the minimum is over all integers
$v_{0},e_{0}$
with
$1\leq v_{0}\leq M$
and
$1\leq e_{0}<\left (1+\xi \right )v_{0}$
. This is a minimum over a finite, fixed set, and thus
$\beta $
is a positive constant. Note that
$\beta <1$
by definition.
First let
$V_{0}=\tau \subseteq [v]$
be a segment with
$v_{0}\leq M$
vertices. Let
$e_{0}$
be the number of edges in the induced subgraph
$\mathbf {H}"[\tau ]$
. Recall that
$\mathbf {H}"$
is strictly balanced and its density is
$1+\frac {r}{v}$
(see the proof of Proposition 2.9). Also recall that
$r=\left \lceil \xi v\right \rceil +1$
, therefore,
Since M is a constant, for a sufficiently large v, the inequality
$e_{0}<\left (1+\frac {r}{v}\right )v_{0}$
implies
$e_{0}<(1+\xi )v_{0}$
(whenever
$1\leq v_{0}\leq M$
). In turn,
$e_{0}<(1+\xi )v_{0}$
implies
$e_{0}\leq (1+\xi )v_{0}-\beta $
by the definition of
$\beta $
.
Now let
$\tau $
be a segment of any length. Again, let
$v_{0}$
be its number of vertices and let
$e_{0}$
be the number of edges in
$\mathbf {H}"[\tau ]$
. In this case we can only use strict balancedness to claim that
Finally, let
$V_{0}\subseteq [v]$
be an arbitrary set of vertices. Let
$V_{0}=\tau _{1}\cup \dots \cup \tau _{t}$
be the segment decomposition. By definition,
$\mathbf {H}"$
contains no edges between any pair
$\tau _{i},\tau _{j}$
. Let
$v_{0},e_{0}$
denote the number of vertices and edges in
$\mathbf {H}"[V_{0}]$
and let
$v_{i},e_{i}$
denote the number of vertices and edges in
$\mathbf {H}"[\tau _{i}]$
. If at least one of the segments is of length
$\leq M$
,
That finishes the proof of the claim.
Let us now finish the proof of Proposition 3.1. Set
$M=\left \lceil \frac {4}{\xi }\right \rceil $
and let
$\beta $
be the corresponding constant from Claim 3.8. We prove Proposition 3.1 for
$\beta _{0}=\frac {1}{3}\beta $
and
$\delta _{0}=\frac {1}{4}\min \left \{ \beta ,\mathrm {e}^{-\frac {2}{\xi }}\right \} $
. These choices will be justified soon; for now, notice that
$\beta _{0}+2\delta _{0}<\beta <1$
.
Let
$V_{0}\subseteq [v]$
be a subset with
$\left |V_{0}\right |=v_{0}\leq \delta _{0}v$
and let
$H_{0}=\mathbf {H}[V_{0}]$
. We begin by identifying several cases in which the desired inequality
$e(H_{0})<\frac {1}{\alpha }v_{0}-\beta _{0}$
holds. The lost edges of
$V_0$
are the balancing edges
$\{x,\mathbf {y}[x]\}$
with
$x\in V_{0}$
and
$\mathbf {y}[x]\not \in V_{0}$
.
Fact 1. Suppose that
$V_{0}$
has a lost edge. Then, from Claim 3.8,
Here, the first inequality follows from that fact that
$H_{0}$
is obtained from
$\mathbf {H}'[V_0]$
by adding some edges of the
$(q-2)$
-regular graph
$\mathbf {H}_{r}$
, and therefore
$e(H_{0}) \leq \left (\frac {q}{2}-1\right )v_{0}+e(\mathbf {H}'[V_0])$
, while
$H_{0}"$
is obtained from
$\mathbf {H}'[V_0]$
by replacing its balancing edges with loops, and adding a loop for every lost edge of
$V_{0}$
.
Fact 2. Suppose that the segment decomposition of
$V_{0}$
contains a segment of length at most M. Then, from Claim 3.8,
Fact 3. Denote
$r_{0}=\left |V_{0}\cap R\right |$
. Then
$e(H_{0})\leq \frac {q}{2}v_{0}+r_{0}$
. In particular, if
$r_{0}<\xi v_{0}-\beta _{0}$
, we again have
These three facts show that in order to finish the proof, it is sufficient to prove the following statement. W.h.p., for every subset
$V_{0}\subseteq [v]$
with
$\left |V_{0}\right |\leq \delta _{0}v$
, if it is composed only of segments of length at least M and satisfies
$\left |V_{0}\cap R\right |\geq \xi v_{0}-\beta _{0}$
, then it has a lost edge.
For
$V_{0}\subseteq [v]$
with
$v_{0}=\left |V_{0}\right |$
and
$r_{0}=\left |V_{0}\cap R\right |$
, the probability that it has no lost edges is precisely
$\frac {(v_{0})_{r_{0}}}{(v)_{r_{0}}}$
in
$\mathbf {H}^{*}$
, and
$\leq \frac {1}{p_{0}}\frac {(v_{0})_{r_{0}}}{(v)_{r_{0}}}$
in
$\mathbf {H}$
(see Proposition 2.10). Assuming
$r_{0}\geq \xi v_{0}-\beta _{0}$
,
Now consider the number of subsets
$V_{0}\subseteq [v]$
with
$v_{0}$
vertices which are composed only of segments of length at least M. It is bounded by the number of subsets which are composed of at most
$\frac {v_{0}}{M}$
segments, which is
$O(1)\cdot \binom {v}{2v_{0}/ M}$
. By the union bound, the probability that no relevant
$V_{0}$
has a lost edge is
It remains to show that the last sum is
$o(1)$
. The standard bound
$\binom {n}{k}\leq \left (\frac {\mathrm {e}n}{k}\right )^{k}$
yields
The last inequality
$(*)$
follows from the inequality
$\left (\mathrm {e}x\right )^{\frac {1}{x}}\leq \mathrm {e}$
(applied for
$x=\frac {M}{2}$
) and the fact that
$\frac {2}{M}<\frac {\xi }{2}$
(which follows from the definition of M).
We divide the above sum into two: the sum over
$M\leq v_{0}\leq \sqrt {v}$
and the sum over
$\sqrt {v}\leq v_{0}\leq \delta _{0}v$
. First,
Finally,
since
$\mathrm {e}\delta _{0}^{\xi / 2}<1$
by the definition of
$\delta _{0}$
. That finishes the proof.
4 Low upper bounds for well-approximable
$\alpha $
In this section we prove Theorem 1.3. Recall that for a given function
$f(n)\underset {n\rightarrow \infty }{\rightarrow }\infty $
(which can grow arbitrarily slowly), our goal is to find an irrational
$\alpha \in (0,1)$
and an increasing sequence of positive integers
$\{n_{t}\}_{t=1}^{\infty }$
such that w.h.p. two independent copies
$\mathbf {G}_{n_t}^{1},\mathbf {G}_{n_t}^{2}\sim G(n_{t},n_{t}^{-\alpha })$
can be distinguished by an FO sentence of quantifier depth at most
$f(n_{t})$
. For the rest of this section, let us denote these copies by
$\mathbf {G}_{1},\mathbf {G}_{2}$
for notational convenience.
The construction of a suitable irrational
$\alpha $
is explicit. The idea is to take
$\alpha $
which is very well-approximable by rational numbers; the slower
$f(n)$
grows, the better the approximations must be. Then, along a subsequence
$\left \{ n_{t}\right \} _{t=1}^{\infty }$
(which is determined by the sequence of approximations of
$\alpha $
), distinguishing between
$\mathbf {G}_{1},\mathbf {G}_{2}$
is essentially the same as in the rational case. This idea naturally leads to the theory of Diophantine approximations, and specifically to the concept of Liouville numbers.
4.1 Diophantine approximations
The theory of Diophantine approximations studies approximations of real numbers by rational numbers. One of its well-known applications is the celebrated Liouville’s Theorem, which was used to establish the existence of transcendental numbersFootnote
2
for the first time. A Liouville number is an irrational number x such that for every
$d\in \mathbb {N}$
, there exists a rational
$\frac {p}{q}$
with
$q>1$
such that
$\left |x-\frac {p}{q}\right |<\frac {1}{q^{d}}$
. Liouville’s Theorem implies that Liouville numbers are transcendental. For a comprehensive survey on this subject, see [Reference Baker3]. Liouville provided
$x=\sum _{n=1}^{\infty }\frac {1}{2^{n!}}$
as an example of a Liouville number. For our purposes, however, we will need Liouville numbers which are much better approximated. From now on, when we write a rational number as
$\frac {p}{q}$
, we always assume that
$q>0$
and that
$\mathrm {gcd}(p,q)=1$
.
Definition 4.1. Let
$\varphi :\mathbb {N}\rightarrow (0,\infty )$
be a decreasing function. An irrational number x is called
$\varphi $
-approximable if, for infinitely many rational numbers
$\frac {p}{q}$
,
$\left |x-\frac {p}{q}\right |<\varphi (q)$
.
Lemma 4.2. For every decreasing function
$\varphi :\mathbb {N}\rightarrow (0,\infty )$
there exists an irrational
$x\in (0,1)$
which is
$\varphi $
-approximable.
Proof. First notice that if
$\varphi ,\psi :\mathbb {N}\rightarrow (0,\infty )$
satisfy
$\varphi \leq \psi $
and x is
$\varphi $
-approximable, then x is also
$\psi $
-approximable. Therefore, without loss of generality, we may assume
$\varphi <1$
. Recursively define a sequence of natural numbers as follows:
$U_{1} = 1$
,
$U_{t+1} = \left \lceil -\log _{2}\varphi \left (2^{U_{t}}\right )\right \rceil +1$
. Now define
$x=\sum _{i=1}^{\infty }2^{-U_{i}}$
. Without loss of generality, we may assume that
$\varphi $
is decreasing sufficiently fast such that
$U_{t+1}-U_{t}$
is a strictly increasing sequence. In that case, x is an irrational number because its binary expansion is aperiodic. For every
$t\in \mathbb {N}$
, consider the rational approximation
$\sum _{i=1}^{t}2^{-U_{i}}$
of x, which can be written as
$\frac {p_{t}}{q_{t}}$
for
$q_{t}=2^{U_{t}}$
and
$p_{t}=\sum _{i=1}^{t}2^{U_{t}-U_{i}}$
. Then
As in Section 3, we distinguish between two independent
$\mathbf {G}_{1},\mathbf {G}_{2}\sim G(n_{t},n_{t}^{-\alpha })$
through their subgraphs; however, some details are different. First, here we count (all) subgraphs instead of induced subgraphs. We consider subgraphs with densities that approximate
$\frac {1}{\alpha }$
well so that the variables counting copies of these subgraphs asymptotically behave like independent Poisson variables (as in the case of a rational
$\alpha $
). In particular, a single subgraph suffices to distinguish
$\mathbf {G}_{1}$
from
$\mathbf {G}_{2}$
with positive probability. To distinguish w.h.p., we shall consider
$\ell \rightarrow \infty $
different subgraphs and approximate their joint distribution.
4.2 Asymptotic Poisson behavior
We now return to the proof of Theorem 1.3. Let
$g:\mathbb {N}\rightarrow \mathbb {N}$
be the inverse of f, that is,
$g(k)=\min \left \{ n\in \mathbb {N}:f(n)\geq k\right \}$
. Without loss of generality, (1)
$f:\mathbb {N}\to \mathbb {N}$
is non-decreasing and surjective, (2)
$f(n)=o\left (\sqrt {\ln n}/\ln \ln n\right )$
, and (3)
$n/g(n)$
strictly decreases with n. Let
$\alpha \in (0,1)$
be an irrational number which is
$\varphi $
-approximable for
$\varphi (q)=1/g(q)$
; its existence is guaranteed by Lemma 4.2. Let
$\left \{ p_{t}\right \} _{t=1}^{\infty },\left \{ q_{t}\right \} _{t=1}^{\infty }$
be the suitable sequences from the proof of the lemma: increasing sequences of natural numbers such that, for every
$t\in \mathbb {N}$
,
$p_t,q_t$
are coprime and
Write
$v_{t}=p_{t}$
and
$e_{t}=q_{t}$
and also define
$n_{t}=g(v_{t})$
. Our first assumption on f implies that
$v_{t}=f(n_{t})$
. From now on we focus on the subsequence
$\{n_{t}\}_{t=1}^{\infty }$
, so the underlying parameter is now t. For convenience, we often omit the dependency on t from the notation; all quantities implicitly depend on t unless we explicitly state that they are fixed.
Let
$\mathcal {H}=\mathcal {H}(v,e)$
be the set of graphs from Theorem 2.1. Recall that
$\mathcal {H}$
is a family of asymmetric graphs which is closed under isomorphism. Therefore it contains
$\ell =\frac {1}{v!}\left |\mathcal {H}\right |$
isomorphism classes. From the asymptotic estimation on
$\left |\mathcal {H}\right |$
given in Theorem 2.1 it follows that
$\ell \underset {t\rightarrow \infty }{\rightarrow }\infty $
. Let
$H^{(1)},H^{(2)},\dots ,H^{(\ell )}$
be representatives of the
$\ell $
isomorphism classes. For every
$1\leq i\leq \ell $
let
$\mathbf {X}^{(i)}$
count copies of
$H^{(i)}$
in
$\mathbf {G}_{1}$
and let
$\mathbf {Y}^{(i)}$
count copies of
$H^{(i)}$
in
$\mathbf {G}_{2}$
. In order to complete the proof, it is sufficient to prove the following.
Proposition 4.3. W.h.p. as
$t\rightarrow \infty $
, there exists
$1\leq i\leq \ell $
such that either
$\mathbf {X}^{(i)}\geq 1$
and
$\mathbf {Y}^{(i)}=0$
, or
$\mathbf {X}^{(i)}=0$
and
$\mathbf {Y}^{(i)}\geq 1$
.
We postpone the proof of Proposition 4.3 to the very end of this section since first we have to prove several auxiliary assertions.
First of all, let us show that
$\mathbf {X}^{(1)},\mathbf {X}^{(2)},\dots ,\mathbf {X}^{(\ell )}$
asymptotically behave like independent Poisson random variables. We do that using the method of moments (see [Reference Janson, Łuczak and Ruciński11, Section 6.1]). Note that the method of moments applies only when the number of variables is fixed, so we start by fixing some
$k\in \mathbb {N}$
and considering only the first k variables
$\mathbf {X}^{(1)},\mathbf {X}^{(2)},\dots ,\mathbf {X}^{(k)}$
(assuming that the underlying t is sufficiently large such that
$k\leq \ell $
).
Recall that for summations of Bernoulli random variables, it is easier to deal with factorial moments rather than usual moments. For a random variable
$\mathbf {Z}$
, its m-th factorial moment is
$\mathbb {E}\left ((\mathbf {Z})_{m}\right )$
, where
$(\mathbf {Z})_{m}=\mathbf {Z}(\mathbf {Z}-1)\dots (\mathbf {Z}-m+1)$
. For a k-tuple of variables
$\mathbf {Z}_{1},\dots ,\mathbf {Z}_{k}$
, its
$(m_{1},\dots ,m_{k})$
-th joint factorial moment equals to
$\mathbb {E}\big((\mathbf {Z}_{1}){}_{m_{1}}\ldots (\mathbf {Z}_{k})_{m_{k}}\big).$
Lemma 4.4. Fix
$k\in \mathbb {N}$
and non-negative integers
$m_{1},m_{2},\dots ,m_{k}$
. Then, with the above definitions, we have
Proof. Let us denote
$(\vec {\mathbf {X}})_{\vec {m}}=(\mathbf {X}^{(1)}){}_{m_{1}}\ldots (\mathbf {X}^{(k)})_{m_{k}}$
and
$m=m_{1}+\dots +m_{k}$
. Then, by decomposing
$(\vec {\mathbf {X}})_{\vec {m}}$
into a sum of indicator random variables, we can write
where the sum is over all m-tuples
such that
$H_{1}^{(i)},\dots ,H_{m_{i}}^{(i)}$
are distinct copies of
$H^{(i)}$
in the complete graph
$K_{n}$
for every
$1\leq i\leq k$
. Let us divide the sum in the right-hand side of (7) into two parts:
$\mathbb {E}(\vec {\mathbf {X}})_{\vec {m}}=S_{1}+S_{2}$
where
$S_{1}$
is the sum over the m-tuples
$\vec {H}$
which do not share any vertices with each other, and
$S_{2}$
is the remaining part of the sum.
We first estimate
$S_{1}$
. Since
$H^{(1)},\dots ,H^{(k)}$
are asymmetric, it is easy to see that
By the definition of
$v,e$
, we have
$\left |\alpha -v/e\right |\leq 1/g(e)$
, which can also be written as
$\left |v-\alpha e\right |\leq e/g(e)$
. Since
$n/g(n)$
decreases and
$v<e$
, we get
$\left |v-\alpha e\right |\leq v/g(v)=f(n)/n$
. Since
$f=o(\sqrt {\ln n}/\ln \ln n)$
,
It remains to prove
$S_{2}=o(1)$
. Let
$\mathcal {F}^*$
be the family of all graphs (up to isomorphism) which are the result of a union of
$m_{i}$
distinct copies of
$H^{(i)}$
for every
$1\leq i\leq m$
, with at least one shared vertex. For every
$F\in \mathcal {F}^*$
, let
$S_{F}$
be the sum from (7) but only over the m-tuples
$\vec {H}$
whose union is isomorphic to F. Then
$S_{2}=\sum _{F\in \mathcal {F}^*}S_{F}$
.
Fix
$F\in \mathcal {F}^*$
. Let
$C_{F}$
denote the number of m-tuples
$\vec {H}$
as in (8) such that
$H_{1}^{(i)},\dots ,H_{m_{i}}^{(i)}$
are distinct copies of
$H^{(i)}$
and
$H_{1}^{(1)}\cup \dots \cup H_{m_{k}}^{(k)}=F$
. Then
Since
$v(H^{(i)})-\alpha e(H^{(i)})<0$
for all
$i\in [k]$
, then following the usual argument that is used to prove that the union of intersecting strictly balanced graphs with the same density has higher density, we derive the following claim.
Claim 4.5. For every
$F\in \mathcal {F}^*$
, the inequality
$v(F)-\alpha e(F)\leq -\frac {c}{v}$
holds for any constant
$c<\alpha $
.
Proof. For a graph F we define
$\xi (F)=v(F)-\alpha e(F)$
. We begin with a few simple observations.
Observation 1. If H is isomorphic to one of
$H^{(1)},\dots ,H^{(k)}$
, we have
$\xi \left (H\right )=v-\alpha e<0$
. This is because
$\frac {v}{e}<\alpha $
by definition.
Observation 2.For every two graphs
$F_{1},F_{2}$
,
Observation 3. Suppose H is isomorphic to one of
$H^{(1)},\dots ,H^{(k)}$
and let
$H_{0}\subset H$
be a proper subgraph with
$v_{0}$
vertices and
$e_{0}$
edges. Since H is strictly balanced, we have
$\frac {e_{0}}{v_{0}}<\frac {e}{v}.$
Furthermore,
Denote
$\varepsilon =\frac {e}{v}-\frac {1}{\alpha }$
(which is positive). Then
Since
$\varepsilon =O\left (\frac {1}{g(v)}\right )$
, we get that
$\xi (H_{0})\geq \frac {c}{v}$
for any constant
$c<\alpha $
(of course, this becomes true when the underlying t is sufficiently large).
With these observations, we now prove Claim 4.5 by induction on
$m\geq 2$
.
We start with the induction base
$m=2$
. Suppose
$F=H_{1}\cup H_{2}$
where
$H_{1},H_{2}$
are both from
$\mathcal {H}$
and share a vertex. Then
$H_{1}\cap H_{2}$
is isomorphic to some proper subgraph
$H_{0}$
of
$H_{1}$
, therefore,
Now, suppose the statement is true for
$m\geq 2$
and prove it for
$m+1$
. Let
$F=\bigcup _{i=1}^{m+1}H_{i}$
be the union of certain copies of graphs from
$\mathcal {H}$
such that, without loss of generality,
$H_{1},H_{2}$
share a vertex. Let
$F'=\bigcup _{i=1}^{m}H_{i}$
. Then
$F'\cap H_{m+1}$
is isomorphic to a subgraph
$H_{0}$
of
$H_{m+1}$
(not necessarily proper this time). If
$H_{0}=H_{m+1}$
then
$\xi (F)=\xi (F')$
. If
$H_{0}\subset H_{m+1}$
then the third observation shows that
$\xi (H_{0})>0$
, but
$\xi (H_{m+1})<0$
and therefore
$\xi (F)<\xi (F')$
. From the inductive assumption, in both cases
$\xi (F)\leq \xi (F')<-\frac {c}{v}$
and that finishes the proof.
From Claim 4.5, we can write
$S_{F}\leq C_{F}n^{-\frac {c}{v}}$
for any constant
$c<\alpha $
. Finally,
$\sum _{F\in \mathcal {F}^*}C_{F}$
is trivially bounded by
$\left ((mv)_{v}\right )^{m}$
. Overall,
where the last estimation follows from the assumption
$v=f(n)=o\left (\frac {\sqrt {\ln n}}{\ln \ln n}\right )$
. That finishes the proof.
From Lemma 4.4 and the method of moments [Reference Janson, Łuczak and Ruciński11, Theorem 6.2] we get the following corollary.
Corollary 4.6. Fix
$k\in \mathbb {N}$
; then
$\vec {\mathbf {X}}=(\mathbf {X}^{(1)},\dots ,\mathbf {X}^{(k)})$
converges in distribution to
$\vec {\mathbf {P}}=(\mathbf {P}^{(1)},\dots ,\mathbf {P}^{(k)})$
where
$\mathbf {P}^{(1)},\dots ,\mathbf {P}^{(k)}\sim \mathrm {Pois}(1)$
are independent.
We are now ready to prove Proposition 4.3.
Proof of Proposition 4.3.
Let
$\vec {\mathbf {I}}=(\mathbb {1}_{\mathbf {X}^{(1)}\geq 1},\dots ,\mathbb {1}_{\mathbf {X}^{(\ell )}\geq 1})$
and
$\vec {\mathbf {J}}=(\mathbb {1}_{\mathbf {Y}^{(1)}\geq 1},\dots ,$
$\mathbb {1}_{\mathbf {Y}^{(\ell )}\geq 1})$
. We need to prove
$\mathbb {P}(\vec {\mathbf {I}}=\vec {\mathbf {J}})=o(1)$
. For every fixed
$k\in \mathbb {N}$
, let
$\vec {\mathbf {I}}_{k}$
and
$\vec {\mathbf {J}}_{k}$
consist of the first k coordinates of
$\vec {\mathbf {I}}$
and
$\vec {\mathbf {J}}$
, respectively. Then
$\mathbb {P}(\vec {\mathbf {I}}=\vec {\mathbf {J}})\leq \mathbb {P}(\vec {\mathbf {I}}_{k}=\vec {\mathbf {J}}_{k})$
. From Corollary 4.6,
$\mathbb {P}(\vec {\mathbf {I}}_{k}=\vec {\mathbf {J}}_{k})\rightarrow \lambda ^{k}$
, where
Since this is true for every
$k\in \mathbb {N}$
, we deduce
$\mathbb {P}(\vec {\mathbf {I}}=\vec {\mathbf {J}})=o(1)$
and that finishes the proof.
5 A lower bound for almost every
$\alpha $
In this section we prove Theorem 1.4. That is, we fix
$d_0>2$
and an irrational
$\alpha \in (0,1)$
with Liouville–Roth irrationality measure strictly smaller than
$d_0$
and show that w.h.p. there is no FO-sentence of quantifier depth less than
$\frac {1}{\ln d_0}\ln \ln \ln n$
distinguishing between two independent copies
$\mathbf {G}_{n}^{1},\mathbf { G}_{n}^{2}\sim G(n,n^{-\alpha })$
. To prove this, we present a generalization of Theorem 1.1. The proof of the zero-one law for irrational
$\alpha $
relies on the existence of a winning strategy of the second player in the Ehrenfeucht–Fraïssé game with a bounded number of rounds. We show that a similar winning strategy can be used by the second player when the number of rounds grows with n sufficiently slowly, provided that
$\alpha $
is not too well-approximable by rational numbers.
From now on we fix
$\alpha \in (0,1)$
with Liouville–Roth irrationality measure strictly smaller than
$d_0$
. Let
$d\in (2,d_0)$
be such that
$\alpha $
is not
$q^{-d}$
-approximable, that is,
$\left | x-\frac {p}{q} \right |\geq \frac {1}{q^d}$
for all but finitely many
$\frac {p}{q}$
.
5.1 The Ehrenfeucht–Fraïssé game
We begin with a brief overview of the Ehrenfeucht–Fraïssé game (see Chapter 2 of [Reference Spencer22] for a more detailed exposition). Given two graphs
$G_{1},G_{2}$
(with disjoint vertex sets) and
$k\in \mathbb {N}$
, the Ehrenfeucht–Fraïssé game
$\mathrm {EF}(G_{1},G_{2};k)$
is described as follows. The game has two players, called Spoiler and Duplicator, and consists of k rounds. The graphs
$G_{1},G_{2}$
are the “board” on which the players make their moves. In the i-th round, Spoiler selects a vertex in either graph (to his choice) and marks it i. Duplicator responds by selecting a vertex in the other graph, and also marks it i. At the end of the game, let
$x_{1},\dots ,x_{k}$
be the vertices of
$G_{1}$
marked
$1,\dots ,k$
(regardless of who marked them) and let
$y_{1},\dots ,y_{k}$
be the vertices of
$G_{2}$
marked
$1,\dots ,k$
. Duplicator wins if there exists a partial isomorphism from
$G_{1}$
to
$G_{2}$
which maps
$x_{i}$
to
$y_{i}$
for every
$1\leq i\leq k$
. That is, Duplicator wins if
$x_{i}=x_{j}\iff y_{i}=y_{j}$
and
$x_{i}\sim x_{j}\iff y_{i}\sim y_{j}$
for every
$1\leq i,j\leq k$
. The importance of the Ehrenfeucht–Fraïssé game comes from the following key result, relating it to the FO distinguishability.
Theorem 5.1 (Ehrenfeucht [Reference Ehrenfeucht6]).
Let
$G_{1},G_{2}$
be two graphs and let
$k\in \mathbb {N}$
. Then Duplicator has a winning strategy in
$\mathrm {EF}(G_{1},G_{2};k) \iff k(G_{1},G_{2})>k$
.
From this result we see that, in order to prove Theorem 1.4, it suffices to prove that w.h.p. Duplicator has a winning strategy in
$\mathrm {EF}\left (\mathbf {G}_{n}^{1},\mathbf { G}_{n}^{2};k=\frac {1}{\ln d_0}\ln \ln \ln n\right )$
. Below, we show that the winning strategy of Duplicator introduced by Shelah and Spencer (look-ahead strategy) can be used for k rounds as well. We present the strategy and explain the main properties of the random graph that allow Duplicator to use it. Proofs of these properties are postponed to Appendix B since they resemble the proof in the case of constant number of rounds. For the original argument, we refer to [Reference Spencer22, Chapters 4–6].
5.2 Extensions and the closure
The look-ahead strategy is based on the validity of certain
$\forall \exists $
-sentences known as extension statements. The original argument considers statements with a constant number of variables, but now we allow it to grow with n. We begin by generalizing the concept of safe extensions and their main feature: they w.h.p. exist over any tuple of root vertices.
A rooted graph is a graph H with a designated subset of root vertices R. It is denoted by the pair
$(R,H)$
. We allow
$R=\emptyset $
but not
$R=V(H)$
. Rooted graphs can be used to define graph extensions as follows. Let
$(R,H)$
be a rooted graph and label its vertices
$a_{1},\dots ,a_{r},b_{1},\dots ,b_{v}$
where
$a_{i}$
are the roots and
$b_{j}$
are the non-roots. Let G be any graph and let
$\vec {x}=(x_{1},\dots ,x_{r})$
be an r-tuple of distinct vertices of G. An
$(R,H)$
-extension of
$\vec {x}$
is defined as a v-tuple
$\vec {y}=(y_{1},\dots ,y_{v})$
of distinct vertices of G such that: (1)
$x_{i}\sim y_{j}$
in G whenever
$a_{i}\sim b_{j}$
in H; (2)
$y_{i}\sim y_{j}$
in G whenever
$b_{i}\sim b_{j}$
in H. Note that this definition does not consider edges between root vertices, and allows for additional edges except those specified by H. Also note that the definition implicitly assumes an underlying labeling of the vertices of H. From now on, whenever a rooted graph
$(R,H)$
is introduced, we always implicitly assume that it is equipped with a predetermined labeling.
A rooted graph has three parameters: the number of root vertices r, the number of non-root vertices v, and the number of edges (excluding edges between root vertices) e. We call
$(v,e)$
the type of the rooted graph. The following definitions depend on the fixed
$\alpha $
, and are designed to be used in studying extensions in
$\mathbf {G}\sim G(n,n^{-\alpha })$
.
Definition 5.2. Let
$(R,H)$
be a rooted graph of type
$(v,e)$
. If
$v-\alpha e>0$
we say that
$(R,H)$
is sparse. If
$v-\alpha e<0$
we say that
$(R,H)$
is dense.
Since
$\alpha $
is irrational, every rooted graph is either sparse or dense.
Definition 5.3. Let
$(R,H)$
be a rooted graph and let
$R\subseteq S\subseteq V(H)$
. If
$R\neq S$
, then we call
$\left (R,H[S]\right )$
a subextension of
$(R,H)$
. If
$S\neq V(H)$
, then we call
$(S,H)$
a nailextensionof
$(R,H)$
.
Note that
$(R,H)$
is always a subextension and a nailextension of itself.
Definition 5.4. A rooted graph
$(R,H)$
is called safe if all its subextensions are sparse, and rigid if all its nailextensions are dense.
The next step is to generalize the Finite Closure Theorem [Reference Spencer22, Theorem 4.3.2] (we rename it as Finite Closure Lemma). We first recall the definition of the t-closure of a set of vertices.
Definition 5.5. For a graph G, a subset
$U\subseteq V(G)$
, and
$t\in \mathbb {Z}_{\geq 0}$
, we define the t-closure of U, denoted
$\mathrm {cl}_{t}(U)$
, as follows:
$\mathrm {cl}_{t}(U)$
is the minimum set of vertices which contains U and is closed with respect to taking rigid extensions with at most t non-roots.
Now consider
$\mathbf {G}\sim G(n,n^{-\alpha }).$
In what follows, we deal with rooted graphs
$(R,H)$
of type
$(v,e)$
with r roots. Importantly, we now allow
$(R,H)$
to depend on n, so
$r=r(n)$
,
$v=v(n)$
, and
$e=e(n)$
. As we shall see, the original argument can be stretched up to
$r,v,e$
which grow as
$(\ln n)^{1/(10d)}$
. Thus, we denote
$M=M(n)=(\ln n)^{1/(10d)}$
and always assume that
$r,v,e=O(M)$
.
Lemma 5.6 (Bounded Closure Lemma).
There exists a constant C such that w.h.p. in
$\mathbf {G}$
, for every
$r,t\leq M$
, the t-closure of every r-tuple
$\vec {x}$
has size at most
$r+Crt^{d}$
.
Finally, we generalize [Reference Spencer22, Theorem 5.3.1] about the existence of generic extensions.
Definition 5.7. Let
$(R,H)$
be a rooted graph of type
$(v,e)$
with r roots. Fix a non-negative integer t. For tuples
$\vec {x}=(x_{1},\dots ,x_{r})$
and
$\vec {y}=(y_{1},\dots ,y_{v})$
, we say that an
$(R,H)$
-extension
$\vec {y}$
of
$\vec {x}$
is t-generic if: (1) There are no additional edges between the vertices of
$\vec {y}$
or from
$\vec {y}$
to
$\vec {x}$
other than those specified by H. (2) If any
$\vec {z}=(z_{1},\dots ,z_{s})$
with
$s\leq t$
forms a rigid extension over
$\vec {x}\cup \vec {y}$
, then there are no edges between
$\vec {z}$
and
$\vec {y}$
.
Lemma 5.8. W.h.p. in
$\mathbf {G}$
, for every safe rooted graph
$(R,H)$
with
$r\leq M$
roots and
$v\leq M$
non-roots and for every
$t\leq M$
, we have that every r-tuple of vertices
$\vec {x}$
has a t-generic
$(R,H)$
-extension
$\vec {y}$
.
5.3 Look-ahead strategy
The look-ahead strategy guarantees a win for Duplicator in the Ehrenfeucht–Fraïssé game. The previous results allow us to apply the look-ahead strategy in
$\mathrm {EF}(\mathbf {G}_{n}^{1},\mathbf {G}_{n}^{2},\frac {1}{\ln d_0}\ln \ln \ln n)$
where
$\mathbf {G}_{n}^{1},\mathbf {G}_{n}^{2}\sim G(n,n^{-\alpha })$
are independent. Let us recall relevant definitions.
Definition 5.9. Let
$\vec {x}=(x_{1},\dots ,x_{r})$
be a tuple of vertices in a graph
$G_{1}$
and let
$\vec {y}=(y_{1},\dots ,y_{r})$
be a tuple of vertices in a graph
$G_{2}$
. Also let
$t\in \mathbb {Z}_{\geq 0}$
. We say that the t-closures
$\mathrm {cl}_{t}(\vec {x})$
and
$\mathrm {cl}_{t}(\vec {y})$
are isomorphic, and write
$\mathrm {cl}_{t}(\vec {x})\cong \mathrm {cl}_{t}(\vec {y})$
, if there exists a graph isomorphism from
$\mathrm {cl}_{t}\left (\left \{ x_{1},\dots ,x_{r}\right \} \right )$
to
$\mathrm {cl}_{t}\left (\left \{ y_{1},\dots ,y_{r}\right \} \right )$
that sends
$x_{i}$
to
$y_{i}$
for every
$1\leq i\leq r$
. The t-type of a tuple
$\vec {x}$
is the isomorphism class of
$\mathrm {cl}_{t}(\vec {x})$
with fixed
$\vec {x}$
.
Definition 5.10. Given a sequence of non-negative integers
$0=t_{0},t_{1},\dots ,t_{k-1}$
, a look-ahead
$(t_{0},t_{1},\dots ,t_{k-1})$
-strategy for Duplicator in
$\mathrm {EF}(G_{1},G_{2},k)$
is a strategy that satisfies the following condition. For every
$0\leq i\leq k-1$
, when there are i rounds remaining in the game, the
$t_{i}$
-types of the already marked vertices are the same in both graphs.
The following lemma (see [Reference Spencer22, Chapter 6]) summarizes the deterministic part of the original argument about the existence of a look-ahead strategy.
Lemma 5.11 [Reference Spencer22].
Let
$G_{1},G_{2}$
be two graphs and let
$\ell ,t$
be non-negative integers. Let
$x_{1},\dots ,x_{\ell }\in G_{1}$
and
$y_{1},\dots ,y_{\ell }\in G_{2}$
be two tuples with the same t-type. Assume that
$u\geq t$
is an integer such that t-closure of any
$(\ell +1)$
-tuple in
$G_{1}$
has at most
$u-1$
non-roots (so at most
$\ell +u$
vertices overall). Also assume that for every rooted graph
$(R,H)$
with
$r\leq \ell +u$
roots and
$v\leq \ell +u$
non-roots, every r-tuple in
$G_{2}$
has a u-generic
$(R,H)$
-extension. Then, for every
$x_{\ell +1}\in G_{1}$
(representing Spoiler’s move) there exists
$y_{\ell +1}\in G_{2}$
such that
$x_{1},\dots ,x_{\ell +1}\in G_{1}$
and
$y_{1},\dots ,y_{\ell +1}\in G_{2}$
have the same u-type.
We can now prove the existence of a look-ahead strategy in
$\mathrm {EF}(\mathbf {G}_{n}^{1},\mathbf {G}_{n}^{2},k)$
, and thus complete the proof of Theorem 1.4.
Proof of Theorem 1.4.
Let
$\mathbf {G}_{n}^{1},\mathbf {G}_{n}^{2}\sim G(n,n^{-\alpha })$
be independent and set
$k=\frac {1}{\ln d_0}\ln \ln \ln n$
. Let
$\mathcal {A}$
be the event that the conclusions of Bounded Closure Lemma and Lemma 5.8 hold in both
$\mathbf {G}_{n}^{1}$
and
$\mathbf {G}_{n}^{2}$
. Then
$\mathbb {P}\left (\mathcal {A}\right )=1-o(1)$
. We show that, given the event
$\mathcal {A}$
, Duplicator has a winning strategy in
$\mathrm {EF}(\mathbf {G}_{n}^{1},\mathbf {G}_{n}^{2},k)$
.
Construct a sequence
$t_{0}\leq t_{1}\leq \dots \leq t_{k-1}$
inductively as follows:
$t_{0}=0$
, and given
$t_{i}$
, we take
$t_{i+1}\geq t_i$
such that the
$t_{i}$
-closure of any
$(k-i)$
-tuple in both
$\mathbf {G}_{n}^{1}$
and
$\mathbf {G}_{n}^{2}$
has at most
$t_{i+1}-1$
non-roots. Note that these are the conditions from Lemma 5.11 with
$t=t_{i}$
,
$\ell =k-i-1$
and
$u=t_{i+1}$
. From the Bounded Closure Lemma, a suitable
$t_{i+1}$
exists, and can be taken to be
$t_{i+1}=C(k-i)t_{i}^{d}+1$
where
$C=C_{\alpha }$
is a constant (note that it also promises
$t_{i+1}\geq t_{i}$
as long as we take
$C\geq 1$
). From Theorem 5.8 (with M replaced by
$2M$
), for every rooted graph
$(R,H)$
with
$r\leq 2M$
roots and
$v\leq 2M$
non-roots and for every
$t\leq 2M$
, we have that in both
$\mathbf {G}_{n}^{1}$
and
$\mathbf {G}_{n}^{2}$
, every r-tuple has a t-generic
$(R,H)$
-extension.
Note that if
$t_{i+1}\leq M$
then the assumptions of Lemma 5.11 apply with
$t,\ell ,u$
as above. Indeed, we have
$\ell \leq k$
and
$k=o(M)$
, so
$\ell +u\leq 2M$
and
$u\leq M$
, and so for every rooted graph
$(R,H)$
with
$r\leq \ell +u$
roots and
$v\leq \ell +u$
non-roots, every r-tuple has a u-generic
$(R,H)$
-extension. We deduce that Duplicator can follow a look-ahead
$(t_{0},t_{1},\dots ,t_{k-1})$
-strategy, provided that
$t_{k-1}\leq M$
. To show that
$t_{k-1}\leq M$
we consider the recurrence relation defining
$t_{i}$
. We have
$t_{0}=0$
,
$t_{1}=1$
, and for every
$1\leq i\leq k-1$
,
where
$\tilde {C}=2C$
. We deduce
$t_{i}\leq (\tilde {C}k)^{n_{i}}$
where
$n_{1}=0$
and
$n_{i+1}=1+dn_{i}$
, implying
$n_{i}\leq d^{i}$
. Overall we have
where we used the assumption
$d<d_0$
. That finishes the proof.
6 Asymmetry: Sparse case
In this section we prove the asymmetry of the random balanced graph for the sparse case
$m<\frac {3}{2}n$
, thus completing the proof of Theorem 2.15.
Fix
$m=m(n)$
with
$n+2\leq m<\frac {3}{2}n$
and let
$\mathbf {H}=\mathbf {H}(n,m)$
. Write
$m=2\cdot \frac {n}{2}+r$
where
$2\leq r<\frac {n}{2}$
. The regular component of
$\mathbf {H}$
is therefore empty and
$\mathbf {H}=\mathbf {H}_{h}+\mathbf {H}_{b}$
. That is,
$\mathbf {H}$
is a random n-cycle with additional r random balancing edges. Note that the lower bound
$m\geq n+2$
cannot be improved: a cycle with one additional edge has a single non-trivial isomorphism.
We first expose the edges of
$\mathbf {H}_{h}$
. Due to symmetry, it is sufficient to prove that w.h.p.
$\mathbf {H}$
is asymmetric subject to
$\mathbf {H}_{h}=H_{h}:=(1,2,\ldots ,n,1)$
. Let
$R=R(H_{h},r)$
be the set of almost equidistributed vertices. The only random component is therefore the endpoints
$\left \{ \mathbf {y}[x]:x\in R\right \} $
, which determine the balancing edges
$\{x,\mathbf {y}[x]\}$
.
For a more convenient description of the proof, let us color the Hamiltonian edges in black and the balancing edges in gray. Since we are working with the simple graph
$\mathbf {H}$
, every edge is assigned with exactly one color. The black edges are deterministic while the gray edges are random (see Figure 1).
A sample of
$\mathbf {H}$
with
$n=16$
and
$r=5$
. Vertices of R are marked by big black circles.

The rest of the section is organized as follows. In Section 6.1 we list several configurations which occur in
$\mathbf {H}$
with probability
$o(1)$
. A key concept in the proof is that of an alternating cycle, which is a cycle with edges of alternating colors. We show that w.h.p.
$\mathbf {H}$
contains no two large alternating cycles with equal degree sequences, no two small alternating cycles which are connected by an alternating path, no small alternating cycles with additional internal edges, and does not contain some other rare configurations. In Section 6.2 we first show deterministically that every automorphism that does not preserve colors generates a rare configuration and then we show that w.h.p.
$\mathbf {H}$
does not have non-trivial color-preserving automorphisms. This completes the proof as Section 6.1 establishes the absence of the rare configurations w.h.p.
6.1 Rare configurations
Definition 6.1. An alternating walk in
$\mathbf {H}$
is a walk
$v_{1},v_{2},\dots ,v_{k}$
such that colors of the edges
$\{v_{1},v_{2}\},\{v_{2},v_{3}\},\dots ,\{v_{k-1},v_{k}\}$
alternate between black and gray. An alternating path is an alternating walk without repeated vertices. An alternating cycle is an alternating walk with
$v_{1}=v_{k}$
and no other repetitions. Note that an odd alternating cycle contains two adjacent edges of the same color.
Let us call labeled cycles
$C=(x_1,\ldots ,x_{\ell }),\,C'=(x^{\prime }_1,\ldots ,x^{\prime }_{\ell })$
equipotent in
$\mathbf {H}$
, if, for every i, vertices
$x_i$
and
$x^{\prime }_i$
have equal degrees, and for every
$i\in [\ell ]$
, edges
$\{x_i,x_{i+1}\}$
and
$\{x^{\prime }_i,x^{\prime }_{i+1}\}$
have different colors. Here,
$\ell +1:=1$
.
Proposition 6.2. W.h.p.
$\mathbf {H}$
does not contain two different (though their sets of vertices may coincide) equipotent alternating cycles of length at least
$\ln ^2n$
. In particular, if
$r=o(n)$
, then w.h.p. there are no alternating cycles.
Remark 6.3. We make two simple observations:
-
• Since $r<\frac {n}{2}$
, every black edge has at most one endpoint from R. -
• By definition, every gray edge has at least one endpoint from R.
Proof of Proposition 6.2.
Let us first assume that
$0\leq r\leq \xi n$
for a positive constant
$\xi <\frac {1}{2}$
and prove an even stronger statement: either
$r=o(n)$
, and then w.h.p.
$\mathbf {H}$
contains no alternating cycles, or
$r=\Theta (n)$
, and then w.h.p.
$\mathbf {H}$
contains no alternating cycles of length greater than
$\ln n$
.
We apply Markov’s inequality. Let
$\mathbf {X}_{\ell }$
be the number of alternating cycles of length
$\ell $
in
$\mathbf {H}$
. Write it as the sum of indicators:
$\mathbf {X}_{\ell }=\sum _{C}\mathbb {1}_{\left \{ C\subseteq \mathbf {H}\right \} }$
where the sum is over all possible alternating cycles of length
$\ell $
.
First, assume that
$\ell \geq 4$
is even. An alternating cycle C of length
$\ell $
must consist of
$\frac {\ell }{2}$
black edges and
$\frac {\ell }{2}$
gray edges. From Remark 6.3 it follows that C contains exactly
$\frac {\ell }{2}$
vertices from R. Every edge in C has exactly one endpoint from R. It can be therefore written as
where
$u_{i}\in R$
and
$w_{i}\in R^{c}$
.
Claim 6.4. Given R, the number of possible alternating cycles of length
$\ell $
is at most
$2^{\frac {\ell }{2}}(r)_{\frac {\ell }{2}}$
.
Proof. Consider the following procedure:
-
1. Choose a sequence $u_{1},u_{2},\dots ,u_{\frac {\ell }{2}}$
of distinct vertices from R. -
2. For every $1\leq i\leq \frac {\ell }{2}$
, choose one of the two black edges incident to
$u_{i}$
, denote it
$\{u_{i},w_{i}\}$
.
This procedure defines a single possible alternating cycle (9) of length
$\ell $
. Every possible alternating cycle can be obtained from the procedure (perhaps in more than one way). The number of possible choices is
$2^{\frac {\ell }{2}}(r)_{\frac {\ell }{2}}$
. This proves the claim.
Given a possible alternating cycle C, the probability of
$C\subseteq \mathbf {H}$
is the probability that given
$\frac {\ell }{2}$
edges, each with exactly one endpoint from R, appear as gray edges in
$\mathbf {H}$
. This event can be interpreted as determining the values of
$\frac {\ell }{2}$
out of the r random vertices
$\left \{ \mathbf {y}[x]:x\in R\right \} $
. In
$\mathbf {H}^{*}$
, the probability of this event is
$\frac {1}{(n)_{\frac {\ell }{2}}}$
. Therefore, by Proposition 2.10, in
$\mathbf {H}$
the probability of this event is at most
$\frac {p_{0}}{(n)_{\frac {\ell }{2}}}$
where
$p_{0}$
is a constant. Overall,
Now assume that
$\ell \geq 3$
is odd. Write
$\mathbf {X}_{\ell }=\mathbf {X}_{\ell }^{[b]}+\mathbf {X}_{\ell }^{[r]}$
where
$\mathbf {X}_{\ell }^{[b]}$
is the number of alternating cycles with
$\frac {\ell +1}{2}$
gray edges (g-cycles) and
$\mathbf {X}_{\ell }^{[r]}$
is the number of alternating cycles with
$\frac {\ell +1}{2}$
black edges (b-cycles).
We start with
$\mathbf {X}_{\ell }^{[b]}$
. Let C be a possible g-cycle of length
$\ell $
. It has a single vertex
$u_{0}$
incident to two (potentially) gray edges. From Remark 6.3 it follows that C contains exactly
$\frac {\ell +1}{2}$
vertices from R. Without loss of generality, we can express any g-cycle of length
$\ell $
as
where
$u_{i}\in R$
,
$w_{i}\in R^{c}$
. Indeed, since all
$y[x]$
have to be distinct, the only common vertex
$u_{0}$
of two gray edges have to be in R. Then, exactly one of the two gray edges adjacent to
$u_{0}$
must have both endpoints from R. Now we can similarly claim that the number of possible g-cycles of length
$\ell $
is at most
$2^{\frac {\ell -1}{2}}(r)_{\frac {\ell +1}{2}}$
. Moreover, the event
$C\subseteq \mathbf {H}$
now determines the values of
$\frac {\ell +1}{2}$
random vertices
$\mathbf {y}[x]$
, therefore its probability in
$\mathbf {H}$
is
$\leq \frac {p_{0}}{(n)_{\frac {\ell +1}{2}}}$
. Overall,
It remains to estimate the expectation of
$\mathbf {X}_{\ell }^{[r]}$
. Let C be a possible b-cycle of length
$\ell $
. From Remark 6.3 it follows that the number of R-vertices in C is either
$\frac {\ell -1}{2}$
or
$\frac {\ell +1}{2}$
. Moreover, C contains a black
$2$
-path, and at least one of its endpoints must be from R (otherwise there cannot be at least
$\frac {\ell -1}{2} R$
-vertices in C). Let
$xyz$
be the black
$2$
-path, where
$x\in R$
. It is possible that
$z\in R$
as well. If
$z\not \in R$
then necessarily C contains exactly
$\frac {\ell -1}{2} R$
-vertices. Overall we have three different types of possible b-cycles; we bound the expected number of cycles of each type separately. The three types are demonstrated in Figure 2.
Three types of b-cycles,
$\ell =9$
. In types 2 and 3, an arrow points at the “special edge” whose choice adds a factor of
$\Theta (\ell )$
to the bound. The cycles are drawn such the black edges are fixed, thus emphasizing the process of choosing the gray edges.

Figure 2 Long description
The diagram consists of three circular graphs labeled (a) Type 1, (b) Type 2, and (c) Type 3.
* Panel (a) Type 1: A circle of alternating black and gray edges. Nodes are labeled clockwise starting from the top as w sub 1, w sub 0, u sub 1, w sub 4, u sub 4, w sub 3, u sub 3, w sub 2, and u sub 2. Black edges connect w sub 1 to w sub 0, u sub 1 to w sub 4, u sub 4 to w sub 3, and u sub 3 to w sub 2.
* Panel (b) Type 2: The circular structure is modified. A black edge connects u sub 2 to w sub 2. A gray edge curves from u sub 2 to w sub 3. A black edge connects w sub 3 to a new node w prime sub 3. An arrow points to this black edge, identifying it as the special edge. Other nodes u sub 1, w sub 1, u sub 0, w sub 4, and u sub 4 maintain their relative positions with black edges between u sub 1 and w sub 1, and u sub 0 and w sub 4.
* Panel (c) Type 3: Similar to Type 2, but the gray edge from u sub 2 curves inward to connect to the edge between u sub 3 and w sub 3. An arrow points to this curved gray edge, identifying it as the special edge. The nodes u sub 1, w sub 1, u sub 0, w sub 4, u sub 4, w sub 3, u sub 3, w sub 2, and u sub 2 are present, with black edges connecting u sub 1 to w sub 1, u sub 0 to w sub 4, and u sub 3 to w sub 3.
Type 1. There are
$\frac {\ell -1}{2} R$
-vertices and
$z\not \in R$
. Cycles of these type behave exactly like even alternating cycles, with one black edge is replaced by a black
$2$
-path. In this case we relabel
$x=u_{1},y=w_{0},z=w_{1}$
, and then C can be written as
where
$u_{i}\in R$
and
$w_{i}\in R^{c}$
. The number of possible cycles of this type is bounded by
$2^{\frac {\ell -1}{2}}(r)_{\frac {\ell -1}{2}}$
. Since
$\mathbb {P}\left (C\subseteq \mathbf {H}\right )\leq \frac {p_{0}}{(n)_{\frac {\ell -1}{2}}}$
, the expected number of b-cycles of type 1 is at most
$p_{0}\left (\frac {2r}{n}\right )^{\frac {\ell -1}{2}}$
.
Type 2. There are
$\frac {\ell -1}{2} R$
-vertices and
$z\in R$
. Then there exists a single black edge which has no endpoints in R. Let
$e_{0},e_{1},e_{2},\dots ,e_{\frac {\ell -1}{2}}$
be the sequence of black edges in C, starting from
$e_{0}=\{x,y\},e_{1}=\{y,z\}$
, and going in the cyclic order. Let
$2\leq j\leq \frac {\ell -1}{2}$
be such that
$e_{j}$
is the black edge with no endpoint from R. Write
$e_{j}=\{w_{j},w_{j}'\}$
. For
$1\leq i\leq \frac {\ell -1}{2}$
,
$i\neq j$
write
$e_{i}=\{u_{i},w_{i}\}$
where
$u_{i}\in R,w_{i}\in R^{c}$
(so in particular
$y=w_{1}$
and
$z=u_{1}$
) and also let
$x=u_{0}$
. The gray neighbors of
$w_{j},w_{j}'$
in C must be
$u_{j-1},u_{j+1}$
; without loss of generality, assume that the gray edges are
$\{u_{j-1},w_{j}\}$
and
$\{w_{j}',u_{j+1}\}$
. We get the following cycle:
The conclusion of this analysis is that the number of possible cycles of type 2 is at most the number of choices in the following procedure:
-
1. Choose an index $2\leq j\leq \frac {\ell -1}{2}$
. -
2. Choose a sequence of $\frac {\ell -3}{2}$
distinct vertices from R and denote them
$u_{i}$
for
$i\in \{0\}\cup \left \{ 2,3,\dots \frac {\ell -1}{2}\right \} \setminus \{j\}.$
-
3. For $u_{0}$
choose one of the two black 2-paths starting from it, denote it
$\{u_{0},w_{1},u_{1}\}$
. If
$u_{1}\not \in R$
, halt. -
4. For every other $u_{i}$
choose one of the two black edges incident to it, denote it
$\{u_{i},w_{i}\}$
. -
5. Choose an additional black edge with no endpoints in R. Also choose one of its vertices to be denoted $w_{j}$
, and denote the second one
$w_{j}'$
.
The procedure indeed uniquely defines a possible cycle of type 2: the one described in (11). As explained, every possible cycle of type 2 can be obtained from it. The number of choices in the procedure, which bounds the number of possible cycles of type 2, is at most
$\ell \cdot (r)_{\frac {\ell -3}{2}}\cdot 2^{\frac {\ell -3}{2}}\cdot 2n$
. Like before, we still have
$\mathbb {P}\left (C\subseteq \mathbf { H}\right )\leq \frac {p_{0}}{(n)_{\frac {\ell -1}{2}}}$
. In conclusion, the expected number of b-cycles of type 2 is at most
Type 3. There are
$\frac {\ell +1}{2} R$
-vertices and
$z\in R$
. In this case all black edges have exactly one endpoint from R. Moreover, there is a single gray edge which has both endpoints from R. The analysis is now similar to the previous type. Again, let
$e_{0},e_{1},e_{2},\dots ,e_{\frac {\ell -1}{2}}$
be the sequence of black edges in C, starting from
$e_{0}=\{x,y\},e_{1}=\{y,z\}$
, and going in cyclic order. For
$1\leq i\leq \frac {\ell -1}{2}$
write
$e_{i}=\{u_{i},w_{i}\}$
where
$u_{i}\in R,w_{i}\in R^{c}$
, and also let
$x=u_{0}$
. There exists
$1\leq j\leq \frac {\ell -1}{2}$
such that the gray edge connecting
$e_{j}$
with
$e_{j+1}$
has both endpoints from R (here we let
$e_{\frac {\ell +1}{2}}=e_{0}$
). We get the following cycle:
So the number of possible cycles of type 3 is at most
$\ell \cdot (r)_{\frac {\ell -1}{2}}\cdot 2^{\frac {\ell -1}{2}}$
. As for
$\mathbb {P}\left (C\subseteq \mathbf {H}\right )$
, it is now bounded by
$\frac {2p_{0}}{(n)_{\frac {\ell -1}{2}}}$
; the extra factor of
$2$
comes from the gray edge
$\{u_{j},u_{j+1}\}$
, which could come from
$u_{j+1}=y[u_{j}]$
or from
$u_{j}=y[u_{j+1}]$
. In conclusion, the expected number of b-cycles of type 3 is at most
In summary, we have proved the following bound for every
$\ell \geq 3$
:
Assume
$r=\Theta (n)$
. Then the expected number of alternating cycles of length
$\geq \ln n$
is
since
$2\xi <1$
. Then we are done by Markov’s inequality.
Now assume
$r=o(n)$
. Then b-cycles of type 2 or 3 are impossible, because there is no black path of length
$2$
with both endpoints in R. In that case we can improve (13) and write
$\mathbb {E}\left (\mathbf { X}_{\ell }\right )=O\left (\ell \left (\frac {2r}{n}\right )^{\frac {\ell -1}{2}}\right )$
. Then the expected number of alternating cycles is
Again, we apply Markov’s inequality and complete the proof in the case when r is bounded away from
$n/2$
.
Finally, assume that
$r<n/2$
and
$r=(\frac {1}{2}-o(1))n$
. We apply the bound (13), noting that its proof does not use the fact that r is bounded away from
$\frac {n}{2}$
. The bound can now be written more neatly as
Let us first prove that w.h.p. there are no alternating cycles of size at least
$2n/7$
. It immediately follows from the union bound and (14). Note that the power of
$(2r/n)$
in this bound is, in particular, due to the inequality
$(r)_{\lfloor \ell /2\rfloor }/(n)_{\lfloor \ell /2\rfloor }\leq (r/n)^{\lfloor \ell /2\rfloor }$
. When
$\ell $
is linear n a much stronger inequality holds true:
where
$x=\lfloor \ell /2\rfloor /n\in [1/7,1/2)$
. Note that the function of x in the above bound decreases with x, and so it is at most
$(7/5)^{5/2}(6/7)^6:=\alpha <1$
. Eventually, we get the following refined bound:
and then Markov’s inequality and the union bound over
$\ell \geq \frac {2}{7}n$
implies that indeed w.h.p. there are no alternating cycles of length at least
$2n/7$
. This implies that w.h.p. any union of two alternating cycles has at most
$\frac {3}{7}n+O(1)$
vertices from R.
Assume that different alternating
$C=(x_1,\ldots ,x_{\ell })$
and
$C'=(x^{\prime }_1,\ldots ,x^{\prime }_{\ell })$
are equipotent in
$\mathbf {H}$
. Let us assume that, for a certain
$i\in [\ell ]$
,
$x_i=x^{\prime }_{i}\in R$
and, at the same time,
$x_{i+2}=x^{\prime }_{i+2}\in R$
as well. Due to the description of types of alternating cycles, it may only happen when
$x_i$
and
$x_{i+2}$
are joined in C by the path
$x_ix_{i+1}x_{i+2}$
with edges of different color, and the same is true in
$C'$
. Indeed, otherwise, since colors in equipotent cycles are swapped, without loss of generality
$x_ix_{i+1}x_{i+2}$
is entirely gray, but then might have two consecutive vertices from R, and the third vertex should not belong to R. Moreover, both
$x_i$
and
$x_{i+2}$
should be incident to at least one gray edge, both in C and
$C'$
. Since colors of
$\{x_i,x_{i+1}\}$
and
$\{x^{\prime }_i,x^{\prime }_{i+1}\}$
are different,
$x_{i+1}\neq x^{\prime }_{i+1}$
. This may only happen when either
$x_i$
or
$x_{i+2}$
belongs to two gray edges in
$C\cup C'$
. But then one of these two gray edges joins two vertices from R. There can be only constantly many such i due to the description of types of alternating cycles.
Then there exists a set
$\mathcal {J}\subset [\ell ]$
of size at least
$\frac {1-o(1)}{4}\ell $
such that, for every
$i\in \mathcal {J}$
,
$x_i\in R$
, and
$x_i\neq x^{\prime }_i$
. From this it immediately follows that there exists
$\mathcal {\tilde J}\subset \mathcal {J}$
of size at least
$\frac {1-o(1)}{8}\ell $
such that sets
$\mathcal {R}:=\{x_i,i\in \mathcal {\tilde J}\}$
and
$\mathcal {R}':=\{x^{\prime }_i,i\in \mathcal {\tilde J}\}$
are disjoint and
$\mathcal {R}\subset R$
.
Let us now finish the proof. Consider two (not necessarily disjoint) sets
$\{x_1,\ldots ,x_{\ell }\}$
and
$\{x^{\prime }_1,\ldots ,x^{\prime }_{\ell }\}$
. Assume that the event saying that
$C=(x_1,\ldots ,x_{\ell })$
and
$C'=(x^{\prime }_1,\ldots ,x^{\prime }_{\ell })$
are alternating cycles in
$\mathbf {H}$
holds. We may assume that at least
$(1-o(1))\frac {n}{14}$
vertices of R do not belong to
$C\cup C'$
. Denote the set of these vertices of R that do not belong to any of the cycles by
$R'$
. Almost all (but constantly many) vertices of R that belong to the union of the cycles still can play the role of
$y[x]$
for
$x\in R'$
(unless they do not belong to gray edges with both endpoints from R). We let
$\tilde R$
be the set of such vertices from
$R\cap (V(C)\cup V(C'))$
. Moreover, let
$\mathcal {\tilde R}=\tilde R\cap \mathcal {R}$
,
$\mathcal {\tilde R}'=\tilde R\cap \mathcal {R}'$
. Recall that
$|\mathcal {\tilde R}|=\frac {1-o(1)}{8}\ell $
.
Note that the set
$\mathcal {Y}$
of
$y[x]$
,
$x\in R'$
, is a uniformly random subset of
$[n]\setminus (V(C)\cup V(C'))\cup \tilde R$
of size
$|R'|$
. Let X be the number of vertices in
$\mathcal {\tilde R}\cap \mathcal {Y}$
. Due to the Hoeffding tail bounds for the hypergeometric distribution (see, e.g., [Reference Janson, Łuczak and Ruciński11, Theorem 2.10]), X is at least
$\frac {1-o(1)}{112}\ell $
with probability
$1-\exp (-\Omega (\ell ))$
. Let
$\varphi $
be the bijection from
$\mathcal {R}$
to
$\mathcal {R}'$
that sends
$x_i$
to
$x^{\prime }_i$
. If, for a certain
$x\in \mathcal {Y}\cap \mathcal {\tilde R}$
,
$\varphi (x)\notin \mathcal {\tilde R}'$
, then cycles C and
$C'$
cannot be equipotent. Thus, we get that the event that C and
$C'$
are equipotent implies that
$\varphi |_{\mathcal {Y}\cap \mathcal {\tilde R}}$
is a bijection between
$\mathcal {Y}\cap \mathcal {\tilde R}$
and
$\mathcal {Y}\cap \mathcal {\tilde R}'$
. Since the probability that
$\mathcal {Y}\cap \mathcal {\tilde R}'$
coincides with a fixed subset of
$\mathcal {\tilde R}'$
is
$\exp (-\Omega (\ell ))$
, we get the statement of Proposition 6.2 due to the bound (14) and the union bound over the choices of
$\ell $
,
$x_1$
,
$x_1'$
, and the directions in both cycles
$C,C'$
.
In the case
$r=o(n)$
, Proposition 6.2 rules out the existence of alternating cycles, which is already sufficient for a proof that
$\mathbf {H}$
is asymmetric w.h.p. (as would be clear from the rest of the proof). In the case
$r=\Theta (n)$
, however, we must consider more specific configurations. Thus, for the rest of this section, let us assume that
$r\geq cn$
where c is a positive constant.
Definition 6.5. For two non-empty sets
$U_{1},U_{2}\subseteq [n]$
, the black distance between them is the minimal length of a black path connecting a vertex from
$U_{1}$
to a vertex from
$U_{2}$
.
Definition 6.6. For a set
$U\subseteq [n]$
,
$\left |U\right |\geq 2$
, a black segment of U of length t is a black path with endpoints
$x_{0},x_{t}\in U$
and internal vertices
$x_{1},\dots ,x_{t-1}\not \in U$
.
Proposition 6.7. W.h.p. in
$\mathbf {H}$
, there are no alternating cycles of length at most
$\ln ^2n$
satisfying at least one of the following properties:
-
1. with an additional alternating path of length between $2$
and
$\ln ^2 n$
connecting two (not necessarily distinct) vertices of the cycle; -
2. with additional internal edges;
-
3. with another alternating cycle of length at most $\ln ^2n$
at black distance less than
$\sqrt {n}$
; -
4. with a black segment of length between $2$
and
$\sqrt {n}$
.
We will need the following claim.
Claim 6.8. Fix two distinct vertices
$x,y$
and let
$t\geq 2$
. Let
$\mathbf {X}_{t}[x,y]$
be the number of alternating paths of length t which have
$x,y$
as the two endpoints. Then
Proof. The proof involves case analysis very similar to that of the previous proof. We avoid a repetition of the same details, and instead only briefly describe the different possible types of alternating paths (see also Figure 3).
All possible types of alternating paths connecting a given pair of vertices
$x,y$
. Vertices of R are marked by big black circles (excluding the endpoints in the black cases, as described in the proof). An arrow marks the “special edge,” which is again either a black edge with no R-endpoints or a gray edge with two R-endpoints.

Figure 3 Long description
The diagram consists of eight panels labeled a through h, each showing a different configuration of alternating paths between two endpoints, x on the left and y on the right.
* Panel a Type E 1. A linear path starting with a gray edge from x, followed by alternating black and gray segments. Large black circles mark internal vertices.
* Panel b Type E 2. Features a gray arc connecting x to a later vertex. A vertical arrow points down to a black edge in the middle of the path.
* Panel c Type E 3. Similar to panel b, but a vertical arrow points up to a gray edge intersection.
* Panel d Type B 1. Shows a series of overlapping gray arcs beneath a sequence of black edges.
* Panel e Type B 2. A variation of the B type path with a vertical arrow pointing down to a central black edge.
* Panel f Type B 3. A variation of the B type path with a vertical arrow pointing up to a gray edge intersection.
* Panel g Type R 2. Starts with a black edge from x, followed by overlapping gray arcs. A vertical arrow points down to a black edge.
* Panel h Type R 3. Similar to panel g, but the vertical arrow points up to a gray edge intersection.
In all panels, black edges are represented by thick horizontal lines, gray edges by thin lines or arcs, and R-vertices are indicated by large black circular nodes.
Again, we distinguish between three cases: even paths, odd g-paths, and odd b-paths. Each case can be subdivided into types analogous to the types of b-cycles from the previous proof.
-
Even path P consists of $\frac {t}{2}$
black edges and
$\frac {t}{2}$
gray edges. Without loss of generality x is incident to a gray edge.-
Type E1. $x\not \in R$
and
$\left |V(P)\cap R\right |=\frac {t}{2}$
. -
Type E2. $x\in R$
and
$\left |V(P)\cap R\right |=\frac {t}{2}$
. -
Type E3. $x\in R$
and
$\left |V(P)\cap R\right |=\frac {t}{2}+1$
.
-
-
G-path P consists of $\frac {t-1}{2}$
black edges and
$\frac {t+1}{2}$
gray edges. At least one endpoint of P must be in R, due to Remark 6.3. Without loss of generality assume
$x\in R$
.-
Type B1. $y\not \in R$
and
$\left |V(P)\cap R\right |=\frac {t+1}{2}$
. -
Type B2. $y\in R$
and
$\left |V(P)\cap R\right |=\frac {t+1}{2}$
. -
Type B3. $y\in R$
and
$\left |V(P)\cap R\right |=\frac {t+3}{2}$
.
-
-
B-path P consists of $\frac {t+1}{2}$
black edges and
$\frac {t-1}{2}$
gray edges. In this case we exclude the endpoints of P from the count of R-vertices, since they are not incident to any gray edge in the path.-
Type R2. $\left |\left (V(P)\cap R\right )\setminus \left \{ x,y\right \} \right |=\frac {t-1}{2}$
. -
Type R3. $\left |\left (V(P)\cap R\right )\setminus \left \{ x,y\right \} \right |=\frac {t+1}{2}$
.
-
For all types, the expected number of paths is determined (up to a
$\Theta (1)$
-factor) by combining a factor of
$2r$
for every internal black edge, a factor of
$\frac {1}{n}$
for every gray edge, and an additional factor of t in types numbered
$2$
and
$3$
(coming from the choice of one “special edge,” indicated by an arrow in Figure 3).
Proof of Proposition 6.7.1.
Let
$\mathbf {X}_{\ell ,t}$
be the number of pairs
$(C,P)$
, where C is an alternating cycle of length
$\ell \leq \ln ^2 n$
and P is an alternating path of length
$t\leq \ln ^2 n$
which shares its two endpoints with C (internally disjoint from C). A pair
$(C,P)$
can be chosen by first choosing an alternating cycle C, then two vertices
$x,y$
from C, and then an alternating path connecting
$x,y$
. From (14) and Claim 6.8, we get
Summing over
$3\leq \ell \leq \ln ^2 n$
and
$t\leq \ln ^2 n$
, and using the inequality
$\frac {2r}{n}<1$
, we deduce
$\sum _{\ell ,t}\mathbb {E}\left (\mathbf {X}_{\ell ,t}\right )=o(1)$
. We then apply Markov’s inequality and finish the proof.
Proof of Proposition 6.7.2.
For every
$4\leq \ell \leq \ln ^2 n$
, let
$\mathbf {X}_{\ell }^{[r]}$
be the number of pairs
$(C,e)$
where C is an alternating cycle of length
$\ell $
and e is an additional internal black edge. Similarly let
$\mathbf {X}_{\ell }^{[b]}$
be the number of
$(C,e)$
where now e is an additional internal gray edge. The idea is that an additional black edge reduces the number of possible choices by a factor of
$\ell /r$
, and an additional gray edge reduces the probability of the existence in
$\mathbf {H}$
by a factor of
$\ell /n$
.
We begin with
$\mathbf {X}_{\ell }^{[b]}$
. First notice that an additional gray edge in C is possible only when
$\ell $
is odd and C is a b-cycle of type 3 (as defined in the proof of Proposition 6.2). Indeed, in all other cases, the number of gray edges in C equals the number of R-vertices in C, and therefore no additional gray edges may exist. The general form of a b-cycle of type 3 is described in (12). Using that notation, the additional gray edge e must have either
$u_{j}$
or
$u_{j+1}$
as one of its endpoints. The number of possible choices for
$(C,e)$
is therefore at most
$2\ell \cdot \ell \cdot (r)_{\frac {\ell -1}{2}}\cdot 2^{\frac {\ell -1}{2}}$
(an extra factor of
$2\ell $
is added due to e). However, the probability that
$(C,e)$
exists in
$\mathbf {H}$
is now
$\frac {1}{(n)_{\frac {\ell +1}{2}}}$
. Overall,
Now consider
$\mathbf {X}_{\ell }^{[r]}$
. We focus on the case where
$\ell $
is even; the odd case is handled similarly and gives an additional factor of
$\ell $
.
In any pair
$(C,e)$
the cycle can be labelled as in C as in (9) in a way such that e has
$u_{1}$
as an endpoint. There are at most
$\ell $
ways to choose the other endpoint of e. Moreover, e determines a black path of length 3 which contains two black edges of C, and reduces the number of choices by a factor of r. Therefore, a bound on
$\mathbb {E}\left (\mathbf {X}_{\ell }^{[r]}\right )$
can be obtained by multiplying (10) by
$\frac {\ell }{r}$
, which yields
Recalling that
$\frac {2r}{n}<1$
and combining the above,
We apply Markov’s inequality and finish the proof.
Proof of Proposition 6.7.3.
We have already proved that there are no two overlapping alternating cycles w.h.p. Fix
$3\leq \ell ,\ell '\leq \ln ^2 n$
, and
$t\leq \sqrt {n}$
. Let
$\mathbf {X}_{\ell ,\ell ',t}$
be the number of triplets
$(C,C',P)$
where
$C,C'$
are disjoint alternating cycles of lengths
$\ell ,\ell '$
, respectively, and P is a black path connecting them. The idea is that the black path P eliminates one degree of freedom in the choice of cycles, therefore reduces the number of choices by a factor of r. Let us handle the case when
$\ell ,\ell '$
are both even; the odd case is handled similarly, and gives an additional factor of
$\ell \ell '$
.
Note that P together with two black edges from C and
$C'$
produce a black path
$P'$
of length
$t+2$
, with two vertices from
$R\cap (V(C)\cup V(C'))$
in it. There are
$O(r)$
ways to choose the path
$P'$
, and this choice determines a black edge of C and a black edge of
$C'$
. The number of choices of C and of
$C'$
are then reduced by a factor of r each. Combining these factors with (10), we obtain the bound
Summing over
$\ell ,\ell ',t$
, and adding a factor of
$\ell \ell '$
for the odd case, we have
Proof of Proposition 6.7.4.
Fix
$\ell \leq \ln ^2 n$
and
$2\leq t\leq \sqrt {n}$
. Let
$\mathbf {X}_{\ell ,t}$
count pairs
$(C,P)$
where C is an alternating cycle of length
$\ell $
and P is a black segment of C of length t. As above, we only consider the case when
$\ell $
is even; the odd case is handled similarly, and gives an additional factor of
$\ell $
.
Note that the endpoints of P are not adjacent by a black edge—otherwise this edge would form with P the entire Hamilton cycle. We apply the usual argument: P together with the two black edges from C produce a black path
$P'$
of length
$t+2$
with two vertices from
$R\cap V(C)$
in it. There are
$O(r)$
ways to choose the path
$P'$
, and this choice determines two black edges of C. There are
$O(\ell )$
ways to choose their relative position in C. The number of choices of C is therefore multiplied by a factor of
$\frac {\ell }{r^{2}}$
. Combining with (10), we obtain the bound
Summing over
$\ell ,t$
, and adding a factor of
$\ell \ell '$
for the odd case, we have
Finally, we will need the following property.
Proposition 6.9. W.h.p. in
$\mathbf {H}$
, there exist no two disjoint black paths
$P=(x_{1},x_{2},\dots ,x_{t})$
and
$P'=(x_{1}',x_{2}',\dots ,x_{t}')$
of length
$t\geq \sqrt {n}$
such that
$\mathrm {deg}_{\mathbf {H}}(x_{i})=\mathrm {deg}_{\mathbf {H}}(x_{i}')$
for every
$1\leq i\leq t$
.
Proof. We prove the proposition in the random multigraph
$\mathbf {H}^{*}$
. Then, from Proposition 2.10 it is also true in
$\mathbf {H}$
. Moreover, it is sufficient to prove the proposition only for
$t=\sqrt {n}$
due to monotonicity.
The number of disjoint labelled black paths
$P=(x_{1},x_{2},\dots ,x_{t})$
and
$P'=(x_{1}',x_{2}',\dots ,x_{t}')$
is at most
$(2n)^{2}=4n^{2}$
. Let us fix such a pair
$(P,P')$
and bound
$\mathbb {P}(\mathcal {D})$
, where
Note that
$\mathrm {deg}(x)$
refers to the degree in
$\mathbf {H}^{*}$
.
We begin by defining some notation. Let
$\mathbf {Y}=\left \{ y[x]:x\in R\right \} $
. In
$\mathbf {H}^{*}$
, by definition,
$\mathbf {Y}$
is distributed uniformly over all subsets of
$[n]$
of size r. For every
$v\in [n]$
,
$\mathrm {deg}(v)=2+\mathbb {1}_{v\in \mathbf {Y}}+\mathbb {1}_{v\in R}$
. Let
$\mathbf {z}=\left (\mathbb {1}_{x_1\in \mathbf {Y}},\dots ,\mathbb {1}_{x_t\in \mathbf {Y}}\right )$
be a random binary vector, whose value precisely determines the intersection of P with
$\mathbf {Y}$
. We bound
$\mathbb {P}\left (\mathcal {D}\right )$
by conditioning by the value of
$\mathbf {z}$
.
So, let
$z=\left (I_{x_{1}},I_{x_{2}},\dots ,I_{x_{t}}\right )$
be a binary vector and consider
$\mathbb {P}\left (\mathcal {D}\bigm |\mathbf {z}=z\right )$
. Let
$j=\sum _{i=1}^{t}I_{x_{i}}$
(the number of
$1$
-entries in z). Then, given
$\mathbf {z}=z$
, the subset
$\tilde {\mathbf {Y}}=\mathbf {Y}\setminus P$
is distributed uniformly over all subsets of
$[n]\setminus P$
of size
$r-j$
. The event
$\mathcal {D}$
is saying that
$\mathbb {1}_{x^{\prime }_i\in \mathbf {Y}}=I_{x_{i}}+\mathbb {1}_{x_i\in R}-\mathbb {1}_{x^{\prime }_i\in R}$
for every
$1\leq i\leq t$
. If there exists i such that
$\mathbb {1}_{x^{\prime }_i\in \mathbf { Y}}=I_{x_{i}}+\mathbb {1}_{x_i\in R}-\mathbb {1}_{x^{\prime }_i\in R}\not \in \{0,1\}$
, then of course
$\mathbb {P}\left (\mathcal {D}\bigm |\mathbf {z}=z\right )=0$
. Otherwise, we can partition the vertices of
$P'$
into
Then
$\mathcal {D}$
is the event that
$B\subseteq \tilde {\mathbf {Y}}$
and
$\tilde {\mathbf {Y}}\cap C=\emptyset $
:
Now, since
$r\geq cn$
for a positive c,
We deduce
This bound is true for every value z (uniformly), therefore it also holds for
$\mathbb {P}\left (\mathcal {D}\right )$
. Now, taking a union bound over the pairs
$(P,P')$
, we have
and that finishes the proof.
6.2 Proof of asymmetry
Let
$\Sigma _{n}$
be the group of permutations of
$[n]$
. We need to prove that w.h.p., for every
$\sigma \in \Sigma _{n}\setminus \{\mathrm {id}\}$
,
$\sigma $
is not an automorphism of
$\mathbf {H}$
.
Let
$\Sigma _{n}^{[h]}\subset \Sigma _{n}$
be the subgroup of
$2n$
automorphisms of
$H_{h}=(1,2,\dots ,n,1).$
Note that these are exactly the permutations which preserve edge colors. The first part of the argument here is deterministic: we prove that if
$\sigma \in \Sigma _{n}\setminus \Sigma _{n}^{[h]}$
is an automorphism of
$\mathbf {H}$
, then
$\mathbf {H}$
has a rare configuration, excluded by one of the propositions from the previous section.
Suppose there exists
$\sigma \in \Sigma _{n}\setminus \Sigma _{n}^{[h]}$
which is an automorphism of
$\mathbf {H}$
. Then there exists a black edge
$\{x_1,x_2\}$
such that
$\sigma (\{x_1,x_2\})$
is gray. Consider the two black edges incident to
$\sigma (x_{2})$
; write them as
$\{\sigma (x_{2}),\sigma (x_3)\}$
and
$\{\sigma (x_{2}),\sigma (x^{\prime }_3)\}$
. Since
$x_{2}$
is also incident to exactly two black edges, and
$\{x_{1},x_{2}\}$
is black, one of
$\{x_{2},x_{3}\},\{x_{2},x_{3}'\}$
must be gray. Assuming that
$\{x_2,x_3\}$
is gray, and applying the same argument but for
$\sigma ^{-1}$
applied to
$\{\sigma (x_2),\sigma (x_3)\}$
, we would get that there exists a black edge
$\{x_3,x_4\}$
such that
$\{\sigma (x_3),\sigma (x_4)\}$
is gray. Proceeding by induction, we obtain an alternating walk such that its image under
$\sigma $
is also an alternating walk, with colors switched. Since the graph is finite, at some point the walk meets itself, and we would get an alternating cycle C such that
$\sigma (C)$
is also an alternating cycle, with edge colors switched by
$\sigma $
. If
$r=o(n)$
, we are done: from Proposition 6.2 we know that w.h.p.
$\mathbf {H}$
contains no alternating cycles. So assume
$r\geq cn$
for a positive constant c. Since labeled C and
$\sigma (C)$
are different, due to Proposition 6.2, we may assume that C has length at most
$\ln ^2n$
.
Let
$u_{1}$
be a vertex in C, incident to a black edge and a gray edge in C, such that
$\sigma (u_{1})\neq u_{1}$
. It is obvious that such a vertex exists when C is even. If C is odd, then it has a unique vertex adjacent to two edges of the same color. If all other vertices are fixed, then there exists an edge in C that maps to itself, and so its image has the same color—a contradiction.
Let
$\{u_{1},v\}$
be the black edge incident to
$u_{1}$
in C. Let
$\{u_{1},u_{2}\}$
be the second black edge incident to
$u_{1}$
. From Proposition 6.7, we may assume that
$u_{2}\not \in C$
,
$\{\sigma (u_{1}),\sigma (u_{2})\}$
is black, and all four vertices
$u_{1},u_{2},\sigma (u_{1}),\sigma (u_{2})$
must be distinct. We can now continue inductively, constructing two disjoint black paths
$(u_{1},u_{2},u_{3},\dots )$
and
$(\sigma (u_{1}),\sigma (u_{2}),\sigma (u_{3}),\dots )$
. Since Proposition 6.7 forbids any black distances or black segments of length at most
$\sqrt {n}$
, in particular we can proceed until the black paths are of length
$t\geq \sqrt {n}$
. We get two directed disjoint black paths of length at least
$\sqrt {n}$
with the same sequence of degrees, so Proposition 6.9 applies. We see that the assumption that
$\mathbf {H}$
is
$\sigma $
-symmetric leads to the existence of one of the rare configurations from the previous section in
$\mathbf {H}$
, which happens with probability
$o(1)$
.
Finally, it remains to show that w.h.p., no permutation
$\sigma \in \Sigma _{n}^{[h]}\setminus \left \{ \mathrm { id}\right \} $
is an automorphism of
$\mathbf {H}$
. Recall that these are the permutations which preserve edge colors. This time we separately consider the cases
$r\geq 30\ln n$
and
$r\leq 30\ln n$
.
Start with
$r\geq 30\ln n$
. We show that for a given
$\sigma \in \Sigma _{n}^{[h]}\setminus \left \{ \mathrm { id}\right \} $
, the probability that it is an automorphism of
$\mathbf {H}$
is
$o\left (1/n\right )$
. Then, it would only remain to take a union bound over
$2n-1$
possible
$\sigma $
.
We construct a set of vertices S (depending only on
$\sigma $
) with
$\left |S\right |=\left \lfloor \frac {n}{3}\right \rfloor $
and
$\left |\sigma (S)\cap R\right |\geq \left \lfloor \frac {r}{3}\right \rfloor $
and
$S\cap \sigma (S)=\emptyset $
. The construction is done with the following algorithm:
-
1. Start with $S=\emptyset $
. -
2. Choose a vertex $x\in \sigma ^{-1}(R)$
such that
$\sigma (x)\neq x$
and
$x\not \in S\cup \sigma (S)\cup \sigma ^{-1}(S)$
. Update
$S\leftarrow S\cup \{x\}$
. Repeat this step
$\left \lfloor \frac {r}{3}\right \rfloor $
times. -
3. Choose a vertex $x\in [n]$
such that
$\sigma (x)\neq x$
and
$x\not \in S\cup \sigma (S)\cup \sigma ^{-1}(S)$
. Update
$S\leftarrow S\cup \{x\}$
. Repeat this step
$\left \lfloor \frac {n}{3}\right \rfloor -\left \lfloor \frac {r}{3}\right \rfloor $
times.
Since
$\sigma $
is either a rotation or a reflection of the Hamiltonian cycle
$H_{h}$
, it has at most
$2$
fixed points. Therefore, at the i-th step there are at most
$2+3(i-1)=3i-1$
forbidden vertices. This shows that indeed we can repeat the second step
$\left \lfloor \frac {r}{3}\right \rfloor $
times, and then repeat the third step
$\left \lfloor \frac {n}{3}\right \rfloor -\left \lfloor \frac {r}{3}\right \rfloor $
times. By construction
$S\cap \sigma (S)=\emptyset $
,
$\left |\sigma (S)\cap R\right |\geq \left \lfloor \frac {r}{3}\right \rfloor \geq \left \lfloor 10\ln n\right \rfloor $
and
$\left |S\right |=\left \lfloor \frac {n}{3}\right \rfloor $
. Also let
$T\subseteq S$
such that
$\sigma (T)\subseteq \sigma (S)\cap R$
and
$\left |T\right |=\left \lfloor 10\ln n\right \rfloor $
.
Let
$\mathbf {B}\left [T,S\right ]$
denote the set of gray edges with an endpoint in T and the other endpoint in S. If
$\sigma $
is an automorphism of
$\mathbf {H}$
then the event
$\sigma \left (\mathbf {B}[T,S]\right )=\mathbf {B}[\sigma (T),\sigma (S)]$
holds. So it remains to show that, for every possible value B of
$\mathbf {B}[T,S]$
,
uniformly over B.
Consider the vertices
$\left \{ \mathbf {y}[x]:x\in \sigma (T)\right \} $
. Given
$\mathbf {B}[T,S]=B$
, each
$\mathbf {y}[x]$
can still be any vertex from
$\sigma (S)$
(since
$S\cap \sigma (S)=\emptyset $
). However, the event
$\mathbf {B}[\sigma (T),\sigma (S)]=\sigma (B)$
restricts
$\mathbf {y}[x]$
to at most
$2$
possible values from
$\sigma (S)$
(since there are at most two gray edges between x and S). Recall that
$\left |S\right |=\left \lfloor \frac {n}{3}\right \rfloor $
and that
$\left |T\right |=\lfloor 10\ln n\rfloor $
, so given
$\mathbf {B}[T,S]=B$
, the event
$\mathbf {B}[\sigma (T),\sigma (S)]=\sigma (B)$
restricts the number of values of each
$\mathbf {y}[x]$
by a factor of
$\frac {2}{3}+o(1)$
. We therefore get the following coarse bound:
In the case
$r\leq 30\ln n$
we use a different argument. Fix
$\sigma \in \Sigma _{n}^{[h]}\setminus \left \{ \mathrm { id}\right \} $
. If
$\sigma $
is an automorphism of
$\mathbf {H}$
, one of the following events must hold:
-
1. $E_{\sigma }^{(1)}$
, the event that
$\sigma (e)=e$
for every gray edge e. -
2. $E_{\sigma }^{(2)}$
, the event that there exist two gray edges
$e_{1}\neq e_{2}$
such that
$\sigma (e_{1})=e_{2}$
.
The first event fully determines the values
$\mathbf {y}[x]$
for every
$x\in R$
(necessarily
$\mathbf {y}[x]=\sigma (x)$
, except when
$\sigma $
is a reflection and there are two fixed points
$x_{1},x_{2}$
, in which case
$\mathbf {y}[x_{1}]=x_{2}$
and
$\mathbf {y}[x_{2}]=x_{1}$
). Therefore
$\mathbb {P}\left (E_{\sigma }^{(1)}\right )\leq p_{0}/(n)_{r}$
.
The second event implies the following event E (which is not dependent on
$\sigma $
). For every
$x\in R$
let
$\mathbf {d}(x)$
measure the black distance between x and
$\mathbf {y}[x]$
. Let E be the event that there exist two distinct vertices
$x_{1},x_{2}\in R$
such that
$\mathbf {d}(x_{1})=\mathbf {d}(x_{2})$
. It is easy to see that
$\mathbb {P}\left (E\right )=\binom {r}{2}\cdot O\left (1/n\right ).$
Overall, by the union bound, the probability that
$\mathbf {H}$
is
$\sigma $
-symmetric in this case is
$o(1)$
since
$r\geq 2$
and
$r=O\left (\ln n\right )$
. That finishes the proof of Theorem 2.15 for the case
$m<\frac {3}{2}n$
.
7 Final remarks
In this article, we study distinguishability of sparse random graphs by FO sentences. We proved a general upper bound on the minimum quantifier depth of a sentence that distinguishes between independent samples of
$G(n,n^{-\alpha })$
that answers the question from [Reference Benjamini and Zhukovskii4], developed a new tool—random balanced graph—and studied its properties. We observed a new phenomenon: the FO distinguishability between independent samples of
$G(n,n^{-\alpha })$
depends on how well
$\alpha $
can be approximated by rational numbers. In particular, from Theorem 1.4 it follows that the lower bound
$\mathbf {k}_{\alpha }\geq \frac {1-o(1)}{\ln 2}\ln \ln \ln n$
w.h.p. holds true for almost all
$\alpha \in (0,1)$
—in particular, for all algebraic irrational
$\alpha \in (0,1)$
.
We believe that the general upper bound on
$\mathbf {k}_{\alpha }$
in Theorem 1.2 can be improved. A possible way to do it is to consider existential sentences that describe existence of a tuple of graphs with a common set of roots defined in such a way that, as soon as, intersections between these graphs become large, the density of their union becomes non-typical. We suspect that a further increase of the width of syntax trees of existential sentences by branching would improve the bound up to
$O(\ln \ln n)$
, but we do not see a promising way to reach the lower bound in Theorem 1.4.
A more general and involved problem that is very interesting to address is to get a tight dependency between typical values of
$\mathbf {k}_{\alpha }$
and an accuracy of approximations of
$\alpha $
by rational numbers.
A Asymmetry: Dense case
In this section we prove Theorem 2.16. From now on, suppose that
$\{\mathbf {G}_{n}\}_{n=1}^{\infty }$
is a sequence of random graphs with the following three properties:
-
(P1) $\delta (\mathbf {G}_{n})\geq 3$
. -
(P2) There exists a constant $\Delta \geq 3$
such that
$\Delta (\mathbf {G}_{n})\leq \Delta $
for every n. -
(P3) There exists a constant $c_{0}>0$
such that
$\mathbb {P}\left (E_{0}\subseteq E\left (\mathbf { G}_{n}\right )\right )\leq \left (\frac {c_{0}}{n}\right )^{\left |E_{0}\right |}$
for every
$E_{0}\subseteq \binom {[n]}{2}$
and every n.
We need to show that
$\mathbf {G}_{n}$
is asymmetric w.h.p.
A.1 Orbits analysis
Let
$\Sigma _{n}$
denote the group of permutations on
$[n]$
. For every
$\sigma \in \Sigma _{n}$
let
$P_{\sigma }$
denote the probability that
$\sigma $
is an automorphism of
$\mathbf {G}_{n}$
. Then it suffices to show that
To bound
$P_{\sigma }$
for a given permutation
$\sigma \in \Sigma _{n}$
, we shall analyze the orbits of edges under the action of
$\sigma $
.
Definition A.1. Let
$E_{n}=\binom {[n]}{2}$
. We define a group action of
$\Sigma _{n}$
on
$E_{n}$
as follows: for every
$\sigma \in \Sigma _{n}$
and
$\{x,y\}\in E_{n}$
,
Given a permutation
$\sigma \in \Sigma _{n}$
and a pair
$e\in E_{n}$
, we define
$\mathrm {Orb}_{\sigma }(e)$
as the orbit of e under the action of the subgroup
$\left \langle \sigma \right \rangle $
generated by
$\sigma $
. That is, the
$\sigma $
-orbit
$\mathrm {Orb}_{\sigma }(e)=\left \{ \sigma ^{k}(e):k\in \mathbb {Z}\right \} \subseteq E_{n}$
.
Note that for every
$\sigma $
, the quotient set is
defines a partition of
$E_{n}$
.
The relation between asymmetry of a graph and orbits is given in the following simple claim.
Claim A.2.
$\sigma $
as an automorphism of a graph
$G=([n],E) \iff E$
does not split
$\sigma $
-orbits (i.e., for every
$\sigma $
-orbit O, either
$O\subseteq E$
or
$O\cap E=\emptyset $
).
The
$\sigma $
-orbits in the set of edges
$E_{n}$
are closely related to the
$\sigma $
-orbits in the vertex set
$[n]$
, which are simply sets of vertices of cycles in the cycle decomposition of
$\sigma $
. The following proposition is straightforward.
Proposition A.3. Let
$e=\{x_{1},x_{2}\}\in E_{n}$
,
$x_{1}\in C_{1}$
and
$x_{2}\in C_{2}$
where
$C_{1},C_{2}$
are cycles from the cycle decomposition of
$\sigma $
. Denote
$\ell _{1}=\left |C_{1}\right |$
and
$\ell _{2}=\left |C_{2}\right |$
.
-
• If $C_{1}\neq C_{2}$
then
$\left |\mathrm {Orb}_{\sigma }(e)\right |=\mathrm {lcm}(\ell _{1},\ell _{2})$
. -
• Now suppose $C_{1}=C_{2}$
and let
$\ell =\ell _{1}=\ell _{2}$
. Then
$\left |\mathrm {Orb}_{\sigma }(e)\right |=\ell $
, unless
$\ell $
is even and
$x,y$
are opposite in the cycle; in that case
$\left |\mathrm {Orb}_{\sigma }(e)\right |=\frac {\ell }{2}$
.
Proposition A.3 motivates us to classify vertices according to their cycle length in
$\sigma $
. As it turns out, to properly bound
$P_{\sigma }$
for
$\sigma \in \Sigma _{n}\setminus \{\mathrm {id}\}$
we must consider
$2$
-cycles and
$3$
-cycles separately from the longer cycles.
From now on let us fix a permutation
$\sigma \in \Sigma _{n}$
; all the following definitions are with respect to the action of
$\left \langle \sigma \right \rangle $
.
Definition A.4. We define a partition
$[n]=S_{1}\cup S_{2}\cup S_{3}\cup S_{4}$
as follows.
$S_{1},S_{2},S_{3}$
are the sets of vertices in
$1$
-cycles (fixed points),
$2$
-cycles and
$3$
-cycles of
$\sigma $
, respectively.
$S_{4}$
is the set of remaining vertices: vertices in
$\ell $
-cycles for
$\ell \geq 4$
. We also write
$S=S_{2}\cup S_{3}\cup S_{4}$
,
$s_{i}=\left |S_{i}\right |$
for
$i\in \{1,2,3,4\}$
and
$s=\left |S\right |$
.
Note that
$\sigma \neq \mathrm {id}$
is equivalent to
$S\neq \emptyset $
.
Definition A.5. We classify pairs
$e\in E_{n}$
as follows. Suppose
$e=\left \{ x,y\right \} $
where
$x\in S_{i}$
and
$y\in S_{j}$
for some
$i,j\in \{1,2,3,4\}$
.
-
• If $x,y$
are not opposite vertices in an even cycle, we say that e is a pair of type (i,j) (and also of type
$(j,i)$
). -
• Now suppose that $x,y$
are opposite vertices in an even cycle of length
$\ell $
. Note that then
$i=j={\scriptscriptstyle \begin {cases} 2 & \ell =2\\ 4 & \ell \geq 4 \end {cases}}$
. In this case we say that e is a pair of type (i,0) (and also of type
$(0,i)$
).
A pair of type
$(i,j)$
is also called an (i,j)-pair.
Remark A.6. We make several remarks about the last definition.
-
• The types $(i,j)$
and
$(j,i)$
are identical. -
• Two pairs in $E_{n}$
from the same
$\sigma $
-orbit have the same type. An orbit of an
$(i,j)$
-pair is called an (i,j)-orbit. -
• There are 12 distinct possible types, arranged in the table below.
$$\begin{align*}\begin{array}{cccc} & (0,2), & & (0,4),\\ (1,1), & (1,2), & (1,3), & (1,4),\\ & (2,2), & (2,3), & (2,4),\\ & & (3,3), & (3,4),\\ & & & (4,4). \end{array} \end{align*}$$
Definition A.7. Following the last definitions and remarks, we introduce some additional notations.
-
• For every type $(i,j)$
let
$T_{ij}$
be the set of
$(i,j)$
-pairs. Also denote
$t_{ij}=\left |T_{ij}\right |$
. -
• For every type $(i,j)$
, let
$h_{ij}$
denote the minimum possible size of an
$(i,j)$
-orbit. The values of
$h_{ij}$
for all distinct possible types are arranged in the table below. $$\begin{align*}\begin{array}{cccc} & h_{02}=1, & & h_{04}=2,\\ h_{11}=1, & h_{12}=2, & h_{13}=3, & h_{14}=4,\\ & h_{22}=2, & h_{23}=6, & h_{24}=4,\\ & & h_{33}=3, & h_{34}=6,\\ & & & h_{44}=4. \end{array} \end{align*}$$
A.2 Lists of parameters
We shall bound
$P_{\sigma }$
by taking into account the number of edges of each type in
$\mathbf {G}_{n}$
; we call these numbers the parameters of the graph. Actually, our definition excludes the trivial type
$(1,1)$
from the list of parameters, since it will not contribute anything to the bound. The following definitions are still with respect to a given
$\sigma \in \Sigma _{n}$
.
Definition A.8. Let
${\cal I}$
be the set of all
$11$
non-trivial distinct types:
Definition A.9. Let
$G=(V,E)$
be a graph. Its list of parameters is the
$11$
-tuple
$(k_{ij})_{(i,j)\in {\cal I}}$
where
$k_{ij}=\left |E\cap T_{ij}\right |$
for every
$(i,j)\in {\cal I}$
. That is,
$k_{ij}$
is the number of edges of type
$(i,j)$
in G.
For convenience, lists of parameters are denoted
$(k_{ij})$
. We also let
$k_{ji}=k_{ij}$
for every
$(i,j)$
. At this point we slightly deviate from Bollobás’s original definitions, in order to adjust to the non-regular case.
Proposition A.10. Let
$G=(V,E)$
be a graph with the list of parameters
$(k_{ij})$
. For every
$i\in \{2,3,4\}$
let
$r_{i}$
be the average degree of vertices from
$S_{i}$
in G. Then the following equations hold:
Proof. The three equations come from counting the sum of degrees of
$S_{i}$
for
$i=2,3,4$
. From the definition of
$r_{i}$
this sum is
$r_{i}s_{i}$
. For the right-hand side, note that it indeed counts all the edges incident to
$S_{i}$
, with edges with both endpoints in
$S_{i}$
counted twice. The counting is done by considering the different possible types of the edges.
A.3 Bounding
$P_{\sigma }$
We are now ready for the main part of the proof: bounding
$P_{\sigma }$
, the probability that
$\sigma $
is an automorphism of
$\mathbf {G}_{n}$
. We shall prove a bound which implies Equation (A.1), and that will finish the proof.
Let
$(\mathbf {k}_{ij})$
be the list of parameters of the random graph
$\mathbf {G}_{n}$
.
Definition A.11. A list
$(k_{ij})$
is called
$\sigma $
-valid if
By definition,
$P_{\sigma }=\sum _{(k_{ij})}P_{\sigma ,(k_{ij})}$
where the sum is over all
$\sigma $
-valid lists. To bound
$P_{\sigma }$
, we first bound
$P_{\sigma ,(k_{ij})}$
for a given
$\sigma $
-valid list
$(k_{ij})$
.
We fix a
$\sigma $
-valid list
$(k_{ij})$
. Then
$P_{\sigma ,(k_{ij})}$
is the probability that, for every
$(i,j)\in {\cal I}$
,
$\mathbf {G}_{n}$
contains exactly
$k_{ij}$
edges of type
$(i,j)$
, and also does not split
$(i,j)$
-orbits by Claim A.2.
-
• Let $f_{ij}$
denote the number of sets
$E_{ij}$
of size
$k_{ij}$
which can be written as unions of
$(i,j)$
-orbits. -
• Let $k=\sum _{(i,j)\in {\cal I}}k_{ij}$
be the number of edges of non-trivial types. Equivalently, k is the number of edges incident to S.
Proposition A.12. Following the above definitions, we have
where
$c_{0}$
is the constant from property (P3).
Proof. There are
$\prod _{(i,j)\in {\cal I}}f_{ij}$
ways to choose, for every
$(i,j)\in {\cal I}$
, a set
$E_{ij}\subseteq T_{ij}$
of size
$k_{ij}$
which is a union of
$(i,j)$
-orbits. Given such a choice of sets
$E_{ij}$
, let
$E_{0}=\bigcup _{(i,j)\in {\cal I}}E_{ij}$
. From (P3) we have
The union bound completes the proof.
The following simple combinatorial lemma allows us to bound the terms
$f_{ij}$
.
Lemma A.13. Let
${\cal A}$
be a finite collection of mutually disjoint finite sets, which contains exactly
$m_{i}$
sets of size i for every
$i\geq 1$
. Suppose there exists a positive integer h such that
$m_{i}=0$
for every
$i<h$
. Let
$f(k;{\cal A})$
denote the number of sets of size k which are unions of some of the sets from
${\cal A}$
. Then
where
$t=\sum _{i}im_{i}$
is the total size of all sets from
${\cal A}$
.
The proof is fairly straightforward and is given in (Reference Bollobás5, Equation (5)).
To effectively bound the terms
$f_{ij}$
with Lemma A.13, in a way which applies generally for all lists
$(k_{ij})$
, we must separate “large”
$k_{ij}$
from “small”
$k_{ij}$
, which motivates the use of
$\varepsilon _{ij}$
below.
Proposition A.14. For every
$(i,j)\in {\cal I}$
let
$\ell _{ij}=\frac {k_{ij}}{h_{ij}}$
and
Then
$\prod _{(i,j)\in {\cal I}}f_{ij}\leq n^{\sum _{j=2}^{4}\varepsilon _{1j}\ell _{1j}}\cdot s^{\sum _{2\leq i\leq j\leq 4}\varepsilon _{ij}\ell _{ij}}\cdot c_{1}^{k}\cdot n^{\frac {s}{1000}}$
for some positive constant
$c_{1}$
.
Proof. For every
$(i,j)\in {\cal I}$
, Lemma A.13 applies where
${\cal A}$
is the set of
$(i,j)$
-orbits,
$k=k_{ij}$
,
$h=h_{ij}$
and
$t=t_{ij}$
. Therefore,

When
$\varepsilon _{ij}=0$
, we are satisfied with the very coarse bound

When
$\varepsilon _{ij}=1$
, we apply the bound

where
$c_{1}=22000\mathrm {e}$
. The bound on
$t_{ij}$
itself depends on the type
$(i,j)$
. We have three cases:
-
• $2\leq i\leq j\leq 4$
. In this case
$t_{ij}\leq s_{i}s_{j}\leq s^{2}$
and
$f_{ij}\leq \left (c_{1}s\right )^{\ell _{ij}}$
. -
• $i=1$
and
$2\leq j\leq 4$
. In this case
$t_{1j}\leq s_{1}s_{j}\leq ns$
and
$f_{ij}\leq \left (c_{1}n\right )^{\ell _{ij}}$
. -
• $i=0$
and
$j\in \{2,4\}$
. In this case
$t_{0j}=\frac {s_{j}}{2}\leq \frac {s}{2}$
and
$f_{ij}\leq \left (\frac {c_{1}}{2}\right )^{\ell _{ij}}$
.
Overall,
Corollary A.15. For large enough n,
Proof. Due to Proposition A.14, we get
In addition,
for large enough n. Inequality
$(*)$
follows from Property (P2) of the model (and our assumption that
$(k_{ij})$
is
$\sigma $
-valid). Indeed, recall that k is the number of edges incident to S; in a graph with maximum degree at most
$\Delta $
, this number is at most
$\Delta s$
. In Equality
$(**)$
we simply define
$c_{2}=(c_{0}c_{1})^{\Delta }$
.
The next assertion is the main technical part of the proof.
Lemma A.16. For every
$\sigma $
-valid list
$(k_{ij})$
,

Note that the bound depends only on
$\sigma $
, and not on
$(k_{ij})$
.
Proof. From Corollary A.15, it suffices to prove
Let us denote
Then we need to prove
$n^{\frac {s}{100}}A\leq n^{-\frac {s}{100}}$
. Equivalently, we need to prove
Let us bound
$-\frac {\ln A}{\ln n}$
from below. Denote
$\alpha =\frac {\ln s}{\ln n}$
; then
At this point we invoke Equation (A.2). Then
In addition,
As for
$\frac {1}{2}s_{2}\frac {\ln s_{2}}{\ln n}$
, we have
and similarly,
Again, we apply Equation (A.2) to write
Overall, putting everything back into (A.4), we have the following lower bound on
$-\frac {\ln A}{\ln n}$
. We use colors to help keeping track of the terms:

We write simpler lower bounds on the terms in the brackets. In negative summands with
$\varepsilon _{ij}$
we replace it with
$1$
. In addition, we omit some positive black!50!white and black!40!white summands:

In
$k_{22},k_{23},k_{24},k_{33},k_{34},k_{44}$
there are summands involving
$\alpha $
. In all six cases, the sum of these summands is of the form
$\alpha x$
where
$x\leq 0$
. This is because
$r_{2},r_{3},r_{4}\geq 3$
(unless the respective set
$S_i$
is empty, but in that case the corresponding k-factor equals 0), which follows from Property (P1) of the model (and our assumption that
$(k_{ij})$
is
$\sigma $
-valid). Also note that
$\alpha \leq 1$
by definition. Therefore, replacing every appearance of
$\alpha $
with
$1$
can only decrease the sum. By doing so (and simplifying) we obtain
The right-hand side can be equivalently rewritten as
Since
$r_{2},r_{3},r_{4}\geq 3$
(unless the respective
$k_i$
equals 0), all the numerators in all the fractions above are
$\geq 1$
, so replacing them with
$1$
only decreases the sum. By doing so, and rearranging summands, we obtain
In conclusion, we have proved Inequality (A.3), and as explained this completes the proof.
Corollary A.17.

Proof. We have
$P_{\sigma }=\sum _{(k_{ij})}P_{\sigma ,(k_{ij})}$
where the sum is over all
$\sigma $
-valid lists
$(k_{ij})$
. Due to Lemma A.16, it only remains to explain why there at most
$(\Delta s+1)^{11} \sigma $
-valid lists
$(k_{ij})$
.
Every
$\sigma $
-valid list is a list of
$11$
non-negative integers, and their sum k must satisfy
$k\leq \Delta s$
(due to Property (P2) of the model). Therefore, the number of
$\sigma $
-valid lists is bounded by the number of
$11$
-tuples of integers, each between
$0$
and
$\Delta s$
, which is
$(\Delta s+1)^{11}$
.
We are now ready to prove the asymmetry of
$\mathbf {G}_{n}$
.
Proof of Theorem 2.16.
As previously explained, it suffices to prove Equation (A.1). Let
$M(s,s_{2},s_{3})$
be the set of permutations
$\sigma $
with s non-fixed vertices,
$s_{2}$
vertices in
$2$
-cycles and
$s_{3}$
vertices in
$3$
-cycles. Then we shall use the following fairly coarse bound:
From Corollary A.17 we deduce

where
$c_{3}$
is some positive constant, since
$s>1$
provided by
$\sigma \neq \mathrm {id}$
. Every
$\sigma \neq \mathrm {id}$
belongs to some set
$M(s,s_{2},s_{3})$
with
$2\leq s\leq n$
, and for every
$2\leq s\leq n$
there at most
$s^{2}$
choices for
$s_{2},s_{3}$
such that
$M(s,s_{2},s_{3})$
is non-empty. Overall,
Thus the proof is completed.
B Properties of extensions in random graphs.
The following properties of safe and rigid extensions will be useful. For their proofs, see (Reference Spencer22, Chapter 4).
Proposition B.1. Let
$(R,H)$
be a rooted graph.
-
1. If $(R,H)$
is not safe then it has a rigid subextension. -
2. Assume that $(R,H)$
is rigid, H is a subgraph of some larger graph G, and
$X\subseteq V(G)$
. If
$R\cup X\neq V(H)\cup X$
then
$(R\cup X,G[V(H)\cup X])$
is rigid.
Recall that
$\mathbf {G}\sim G(n,n^{-\alpha })$
,
$M=M(n)=(\ln n)^{1/(10d)}$
, and
$r,v,e=O(M)$
.
Given an r-tuple of vertices
$\vec {x}$
, we let
$\mathbf {N}_{\vec {x}}^{(R,H)}$
denote the random variable which counts
$(R,H)$
-extensions of
$\vec {x}$
in
$\mathbf {G}$
. By definition,
where a is the number of automorphisms of the rooted graph
$(R,H)$
which preserve the root vertices.
Theorem B.2. W.h.p. in
$\mathbf {G}$
, for every safe
$(R,H)$
with
$r\leq M$
roots and
$v\leq M$
non-roots, and for every r-tuple of vertices
$\vec {x}$
, we have
$\mathbf {N}_{\vec {x}}^{(R,H)}\sim \mathbb {E}\mathbf { N}_{\vec {x}}^{(R,H)}$
uniformly. More explicitly, there exists
$\delta =o(1)$
(which is uniform w.r.t.
$(R,H)$
and
$\vec {x}$
) such that w.h.p.
Proof. To prove the theorem, we shall prove that there exists
$\delta =o(1)$
such that for any
$(R,H)$
with
$r\leq M$
roots and
$v\leq M$
non-roots and any r-tuple
$\vec {x}$
, (B.1) holds with probability
$1-\exp (-\lambda )$
, where
$\lambda =\exp \left (\Omega \left (\frac {\ln n}{M^{d}}\right )\right )$
. Then it would only remain to apply the union bound over
$(R,H)$
and
$\vec {x}$
. Indeed, the number of possible safe rooted graphs with
$r\leq M$
roots and
$v\leq M$
non-roots is trivially bounded by
$\exp \left (O(M^{2})\right )$
. The number of r-tuples of vertices
$\vec {x}$
is
$O(n^{r})=\exp \left (O(M)\ln n\right )$
. So the probability of having
$(R,H)$
and
$\vec {x}$
such that
$N_{\vec {x}}^{(R,H)}$
does not satisfy (B.1) is
So, from now on let us fix a safe rooted graph
$(R,H)$
of type
$(v,e)$
with
$r\leq M$
roots and
$v\leq M$
, and also fix an r-tuple of vertices
$\vec {x}$
. Denote
$\mathbf {N}=\mathbf {N}_{\vec {x}}^{(R,H)}$
. We prove concentration of
$\mathbf {N}$
via Kim and Vu’s powerful concentration result (see Reference Kim and Van14). Note that for the rest of the proof, e denotes the number of edges in the rooted graph (not the Napier’s constant).
Let
$\mathcal {Y}$
be the set of all
$\frac {1}{a}(n-r)_{v} v$
-tuples
$\vec {y}$
which are potential
$(R,H)$
-extensions of
$\vec {x}$
. Let
$\mathcal {E}$
be the set of all
$\binom {n}{2}-\binom {r}{2}$
pairs of vertices which do not connect two vertices of
$\vec {x}$
. For every
$\vec {y}\in \mathcal {Y}$
, let
$P_{\vec {y}}$
be the set of all edges required by the
$(R,H)$
-extension
$(\vec {x},\vec {y})$
. This is a subset of
$\mathcal {E}$
of size e. Finally, for every
$i\in \mathcal {E}$
let
$\mathbf {I}_{i}$
be the indicator of the event
$i\in E(\mathbf {G})$
. Then we can write
$\mathbf {N}$
as the value of a multivariate polynomial on
$E(\mathbf {G})$
as follows:
For a set of edges
$A\subseteq \mathcal {E}$
with
$\left |A\right |=e_{0}\leq e$
, we define
For every
$0\leq e_{0}\leq e$
let
Also define
Notice that
$E_{0}=\mathbb {E}\mathbf {N}$
, thus
$E=\max \left \{ E',\mathbb {E}\mathbf {N}\right \} $
. Kim–Vu’s concentration result asserts that for every
$\lambda>1$
,
To make use of this result we first bound
$\mathbb {E}(\mathbf {N}_{A})$
for every set A of
$e_{0}\leq e$
edges. It is easy to see that
$\mathbb {E}(\mathbf {N}_{A})=\left |\mathcal {Y}_{A}\right |p^{e-e_{0}}$
; let us bound
$\left |\mathcal {Y}_{A}\right |$
. Consider the set of vertices incident to the edges of A, excluding the vertices of
$\vec {x}$
; denote it
$V_{0}$
and its size
$v_{0}$
. We can bound
$\left |\mathcal {Y}_{A}\right |$
by the number of v-tuples
$\vec {y}$
which contain all the vertices of
$V_{0}$
(in any positions), which is
If the vertices of
$V_{0}$
and the edges of A cannot be completed into an
$(R,H)$
-extension of
$\vec {x}$
, then actually
$\mathcal {Y}_{A}$
is empty and
$\mathbb {E}(\mathbf {N}_{A})=0$
trivially. Otherwise, from safeness of
$(R,H)$
we deduce
$v_{0}-\alpha e_{0}>0$
. Overall
$\mathbb {E}(\mathbf {N}_{A})\leq v!\cdot \frac {n^{v-\alpha e}}{n^{v_{0}-\alpha e_{0}}}$
.
Comparing
$\mathbb {E}(\mathbf {N}_{A})$
to
$\mathbb {E}(\mathbf {N})$
yields
Maximizing over all non-empty sets A of at most e edges, we obtain the bound
where
$\beta =\min _{v_{0},e_{0}}(v_{0}-\alpha e_{0})$
, with the minimum taken over
$1\leq v_{0}\leq v$
and
$e_{0}<\frac {v_{0}}{\alpha }$
.
It is at this point that we encounter the main difference from the original argument: since v may now grow with n, we get that
$\beta $
is no longer constant, but approaches
$0$
in a way that reflects the behavior of rational approximations of
$\alpha $
. To provide a lower bound on
$\beta $
we invoke the assumption that
$\left |\alpha -\frac {p}{q}\right |\geq \frac {1}{q^{d}}$
for all but finitely many rationals
$\frac {p}{q}$
. Taking any
$1\leq v_{0}\leq v$
and
$e_{0}<\frac {v_{0}}{\alpha }$
(with a finite number of possible exceptions) we have
Overall, this proves the lower bound
$\beta \geq \frac {c}{e^{d-1}}$
where c is a constant (which comes from the finite number of exceptions). For convenience, we rewrite this lower bound in terms of v: since
$e<\frac {v}{\alpha }$
, we have
$\beta \geq \frac {c}{v^{d-1}}$
(where now c might be a different constant).
We now return to Equation (B.2). Let us first take care of the left-hand side. From what we have seen so far,
Since
$v=O(M)=O\left ((\ln n)^{\frac {1}{10d}}\right )$
, we have
We can also trivially bound
$\frac {8^{e}}{\sqrt {e!}}$
from above by a constant, and for every
$\lambda>1$
, we have
$\lambda ^{e}\leq \lambda ^{\frac {1}{\alpha }v}$
. Let us take
$\lambda =\exp \left (\frac {\alpha c}{4}\cdot \frac {\ln n}{v^{d}}\right ).$
This choice guarantees
In particular
$\frac {8^{e}}{\sqrt {e!}}\sqrt {E\cdot E'}\cdot \lambda ^{e}\leq \delta \mathbb {E}\mathbf {N}$
for
$\delta =o(1)$
which does not depend on the specific
$(R,H)$
or
$\vec {x}$
.
Finally, from Equation (B.2) with
$\lambda ,\delta $
as above, we have
with
$\lambda =\exp \left (\Omega \left (\frac {\ln n}{M^{d}}\right )\right ).$
That finishes the proof.
Remark B.3. For technical reasons, we also need the following straightforward generalization of Theorem B.2. Following the same notation, w.h.p. for every tuple
$\vec {x}$
and every set
$U_{\vec {x}}$
of “forbidden” vertices of size
$O(M^{d+1})$
the conclusion of Theorem B.2 holds for the random variable
$\mathbf {P}_{\vec {x}}^{(R,H)}$
counting only (R,H)-extensions
$\vec {y}$
of
$\vec {x}$
which do not use any vertices from
$U_{\vec {x}}$
. This generalization can be proved as a direct corollary of Theorem B.2, by adding the forbidden vertices
$U_{\vec {x}}$
to the rooted graph as roots, without any edges. Technically, this generalization requires the replacement of
$r\leq M$
with
$r=O(M^{d})$
, but it has negligible effect on computations since d is a constant.
B.1 Proof of bounded closure lemma
The proof is similar to the proof of the Finite Closure Theorem from Reference Spencer22. For convenience, we present the full argument.
We start by fixing
$0\leq r,t\leq M$
. As in the original argument, set
where the minimum is over all
$1\leq v_{0}\leq t$
and
$e_{0}>\frac {1}{\alpha }v_{0}$
. Again, this is no longer a positive constant; we now have
$\beta \geq \frac {c}{t^{d}}$
where
$c=c_{\alpha }$
is a positive constant.
Define
$K=\left \lceil \frac {r}{\beta }\right \rceil +1$
and let us show that with probability
$1-o(M^{-2})$
, the t-closure of any r-tuple contains at most
$r+K$
vertices. Then, taking a union bound over all possible
$0\leq r,t\leq M$
will finish the proof.
Assume that a set R of r vertices has
$\left |\mathrm {cl}_{t}(R)\right |>r+K$
. This means there exists a sequence
$R=S_{0}\subsetneq S_{1}\subsetneq S_{2}\subsetneq \dots \subsetneq S_{u}\subseteq \mathrm {cl}_{t}(R)$
where each
$(S_{i-1},S_{i})$
is a dense rooted graph of type
$(v_{i},e_{i})$
with
$v_{i}\leq t$
and also the number of non-roots of
$(R,S_{u})$
satisfies
$\sum _{i=1}^{u}v_{i}\in [K,K+t]$
.
The induced subgraph on
$S_{u}$
has
$v_{*}=r+\sum _{i=1}^{u}v_{i}$
vertices and at least
$e_{*}=\sum _{i=1}^{u}e_{i}$
edges. Notice that
It is therefore sufficient to prove the following statement. W.h.p., there exists no subgraph H of
$\mathbf {G}$
such that
$v(H)\in [r+K,r+K+t]$
and
$v(H)-\alpha e(H)\leq -\beta $
. Fix a graph H which satisfies the above conditions. Its expected number of copies is
since
$\beta \geq \frac {c}{t^{d}}$
and
$t=O(M)$
. Let us recall that
$r=O(M)$
and
$K=O\left (rt^{d}\right )=O\left (M^{d+1}\right )$
. It is sufficient to take the union bound only over those H with minimal number of edges; that is, we may assume
$e(H)=\frac {1}{\alpha }v(H)+O(1)$
. Therefore, the probability of existence of a subgraph H of
$\mathbf {G}$
as above is at most
This is
$o(M^{-2})$
since
$M=(\ln n)^{\frac {1}{10d}}$
.
B.2 Proof of Lemma 5.8
The idea is to use Theorem B.2 to claim that there are many
$(R,H)$
-extensions, and also that the majority of them must be generic.
From Theorem B.2, Remark B.3, and the Bounded Closure Lemma (with M replaced by
$2M$
), w.h.p. the following properties hold true in
$\mathbf {G}$
:
-
1. For every safe rooted graph $(R',H')$
with
$r'\leq 2M$
roots and
$v'\leq 2M$
non-roots, and for every
$r'$
-tuple
$\vec {x}'$
, (B.3) $$ \begin{align} \mathbf{N}_{\vec{x}'}^{(R',H')}\sim\mathbb{E}\left(\mathbf{ N}_{\vec{x}'}^{(R',H')}\right). \end{align} $$
-
2. For every r-tuple $\vec {x}$
,
$r\leq M$
, letting
$U_{\vec {x}}=\mathrm { cl}_{2M}(\vec {x})\setminus \vec {x}$
, we have
$\left |U_{\vec {x}}\right |=O\left (M^{d+1}\right )$
. -
3. For every safe rooted graph $(R,H)$
with
$r\leq M$
roots and
$v\leq M$
non-roots, and for every r-tuple
$\vec {x}$
of vertices, $$\begin{align*}\mathbf{P}_{\vec{x}}^{(R,H)}\sim\mathbb{E}\left(\mathbf{P}_{\vec{x}}^{(R,H)}\right), \end{align*}$$where $\mathbf {P}_{\vec {x}}^{(R,H)}$
counts
$(R,H)$
-extensions
$\vec {y}$
which do not use any vertex from
$U_{\vec {x}}$
(we call such
$(R,H)$
-extensions good).
Let
$\mathcal {A}$
be the event that the three conditions above hold; then
$\mathbb {P}\left (\mathcal {A}\right )=1-o(1)$
. We now fix a safe rooted graph
$(R,H)$
with
$r\leq M$
roots and
$v\leq M$
non-roots, a non-negative integer
$t\leq M$
and an r-tuple of vertices
$\vec {x}$
. To complete the proof, it suffices to show that given the event
$\mathcal {A}$
,
$\vec {x}$
has a t-generic
$(R,H)$
-extension
$\vec {y}$
.
Let
$(v,e)$
denote the type of
$(R,H)$
. Since
$\mathcal {A}$
holds, we know that
where a is the number of automorphisms of
$(R,H)$
which preserve the roots. We prove that, given that
$\mathcal {A}$
holds, the number of good
$(R,H)$
-extensions
$\vec {y}$
of
$\vec {x}$
which fail to be t-generic is
$o\left (\frac {n^{v-\alpha e}}{a}\right )$
. First, let us bound the number of good
$(R,H)$
-extensions
$\vec {y}$
which violate the first part of Definition 5.7, meaning that they contain additional edges except those specified by H. Assume that
$\vec {y}$
is such an extension; then it forms an
$(R,H^{+})$
-extension of
$\vec {x}$
of type
$(v,e^{+})$
with
$e^{+}>e$
. This extension cannot have any rigid subextensions, because
$\vec {y}$
shares no vertices with
$U_{\vec {x}}$
. From part 1 of Proposition B.1 it is safe. The number of
$(R,H^{+})$
-extensions of
$\vec {x}$
is therefore
The last equality follows from the bound
$a\leq v!=n^{o(1)}$
. Summing over
$\exp \left (O(M^{2})\right )$
possibilities for the rooted graph
$(R,H^{+})$
, we obtain a bound of
$o\left (\frac {n^{v-\alpha e}}{a}\right )$
on the number of
$(R,H)$
-extensions of
$\vec {x}$
which violate the first part of Definition 5.7.
Now we bound the number of good
$(R,H)$
-extensions
$\vec {y}$
which violate the second part of Definition 5.7. Assume that
$\vec {y}$
is such an extension, and let
$\vec {z}$
be a rigid extension of
$\vec {x}\cup \vec {y}$
with at most t non-roots and at least one edge between
$\vec {z}$
and
$\vec {y}$
. Let
$(V(H),H_{1})$
denote the rooted graph corresponding to this extension, and let
$(v_{1},e_{1})$
denote its type. Without loss of generality, we may assume that
$\vec {z}$
is minimal rigid extension of
$\vec {x}\cup \vec {y}$
, in the sense that
$(V(H),H_{1})$
has no non-trivial rigid subextensions. Note that
$\vec {z}\cup \vec {y}$
is an
$(R,H_{1})$
-extension of
$\vec {x}$
, which is of type
$(v+v_{1},e+e_{1})$
, with
$v+v_{1}\leq v+t\leq 2M$
. We then consider cases.
Case 1.
$(R,H_{1})$
is safe. The number of
$(R,H_{1})$
-extensions of
$\vec {x}$
is
$(V(H),H_{1})$
is rigid, so
$v_{1}-\alpha e_{1}<0$
. Actually, we have
$v_{1}-\alpha e_{1}=-\Omega \left (\frac {1}{M^{d-1}}\right )$
. Therefore,
Summing over
$\exp \left (O(M^{2})\right )$
possibilities for
$(V(H),H_{1})$
, we obtain a bound of
$o\left (\frac {n^{v-\alpha e}}{a}\right )$
on the number of
$\vec {y}$
which violate the second part of Definition 5.7.
Case 2.
$(R,H_{1})$
is not safe. We first show that in this case,
$\vec {z}$
is a rigid extension of
$\vec {x}$
. Since
$(R,H_{1})$
is not safe, from part 1 of Proposition B.1 it has a rigid subextension
$(R,H_{2})$
. The vertices of
$\vec {y}\cup \vec {z}$
which form this
$(R,H_{2})$
-extension of
$\vec {x}$
are actually all in
$\vec {z}$
; we denote them by
$\vec {z}'$
. Indeed, by definition these vertices are contained in
$U_{\vec {x}}$
(as they form a rigid extension of
$\vec {x}$
with at most
$v+t\leq 2M$
vertices) but
$\vec {y}$
contains no vertices from
$U_{\vec {x}}$
. From part 2 of Proposition B.1 we deduce that
$\vec {x}\cup \vec {y}\cup \vec {z}'$
is a rigid extension of
$\vec {x}\cup \vec {y}$
. It corresponds to a rigid subextension of
$(V(H),H_{1})$
, but from minimality it must be
$(V(H),H_{1})$
itself, so
$\vec {z}'=\vec {z}$
. Therefore
$\vec {z}$
is a rigid extension of
$\vec {x}$
.
Now, since
$\vec {z}$
is a rigid extension of
$\vec {x}$
, its vertices are all in
$U_{\vec {x}}$
. Since
$\vec {z}$
has at most t vertices and
$\left |U_{\vec {x}}\right |=O(M^{d+1})$
, there are
$O\left (M^{(d+1)t}\right )=\exp \left (O(M\ln M)\right )$
possibilities for
$\vec {z}$
.
Fix a possible
$\vec {z}$
. Consider
$\vec {y}$
as an extension of
$\vec {x}\cup \vec {z}$
. It does not have a rigid subextension, since
$\vec {y}$
contains no vertex from
$U_{\vec {x}}$
, and from part 1 of Proposition B.1 it is safe. Let
$(R',H_1)$
denote the rooted graph corresponding to this extension. Its type is
$(v,e^{+})$
with
$e^{+}>e$
, because there is at least one edge between
$\vec {y}$
and
$\vec {z}$
. Its number of roots is at most
$r+t\leq 2M$
. Therefore the number of
$(R',H')$
-extensions of
$\vec {x}\cup \vec {z}$
is
Summing over
$\exp \left (O(M^{2})\right )$
possibilities for the rooted graph
$(R',H_1)$
and
$\exp \left (O(M\ln M)\right )$
possibilities for
$\vec {z}$
, we get a bound of
$o\left (\frac {n^{v-\alpha e}}{a}\right )$
on the number of
$\vec {y}$
which violate the second part of Definition 5.7. That completes the proof.
Acknowledgments
This is the full version of the extended abstract that appears in the proceedings of the Annual ACM/IEEE Symposium on Logic in Computer Science (LICS) 2024.




























