Large deviations of empirical neighborhood distribution in sparse random graphs

Charles Bordenave, Pietro Caputo

Introduction and main results

Consider the Erdős-Renyi ensemble G(n,p)\mathcal{G}(n,p), where a random graph is obtained from the vertex set [n]={1,…,n}[n]=\{1,\dots,n\} by adding each edge independently with probability pp. In the sparse regime with p=λ/np=\lambda/n, for a fixed λ>0\lambda>0, it is well known that, for large nn, a typical graph from G(n,p)\mathcal{G}(n,p) locally looks like a Galton-Watson tree with Poisson offspring distribution with mean λ\lambda. In this work we study large deviations from this typical behavior. The problem is intimately related to the question: conditioned on having a certain neighborhood distribution, what does a typical element of G(n,p)\mathcal{G}(n,p) locally look like ? The same questions can be asked for other commonly studied random graph ensembles such as the uniform random graphs with fixed number of edges growing linearly with the number of vertices, or with given degree sequence. We formulate the problem within the theory of local weak convergence of graph sequences that was recently introduced by Benjamini and Schramm and Aldous and Steele . The associated local weak topology has now become a common tool for studying sparse graphs, see Aldous and Lyons and Bollobàs and Riordan . A surprising large variety of graph functionals are continuous for this topology. In Section 2 below, we will give more details on local weak convergence. In order to present our result, here we first introduce the main terminology.

For a finite graph G=(V,E)G=(V,E) and v∈Vv\in V, one writes G(v)G(v) for the connected component of GG at vv. The empirical neighborhood distribution U(G)U(G) of GG is the law of the equivalence class of the rooted graph (G(o),o)(G(o),o) where the root oo is sampled uniformly at random from VV, i.e. U(G)∈P(G∗)U(G)\in\mathcal{P}(\mathcal{G}^{*}) is defined by

where (G,o)(G,o) is the canonical rooted graph whose equivalence class g∈G∗g\in\mathcal{G}^{*} has law ρ\rho. It is not hard to check that if GG is a finite graph then its neighborhood distribution U(G)U(G) is unimodular. In particular, all sofic measures are unimodular. The converse is open; see . We denote by Pu(G∗)\mathcal{P}_{u}(\mathcal{G}^{*}) the set of unimodular probability measures. Similarly, we write Pu(T∗)\mathcal{P}_{u}(\mathcal{T}^{*}) for unimodular probability measures supported by trees.

2. Unimodular Galton-Watson trees with given neighborhood

If G=(V,E)G=(V,E) is a graph and {u,v}∈E\{u,v\}\in E then define G(u,v)G(u,v) as the rooted graph (G′(v),v)(G^{\prime}(v),v), where G′=(V,E\{u,v})G^{\prime}=(V,E\backslash\{u,v\}), i.e. G(u,v)G(u,v) is the rooted graph obtained from GG by removing the edge {u,v}\{u,v\} and taking the connected component at the root vv. Next, given a rooted graph (G,o)(G,o), and g,g′∈Gh−1∗g,g^{\prime}\in\mathcal{G}_{h-1}^{*}, define

As an example, consider the the rooted graph α\alpha from Figure 1. Fix h=2h=2, and call g1,g2g_{1},g_{2} the elements of Gh−1∗\mathcal{G}^{*}_{h-1} consisting respectively of a rooted single edge and a rooted triangle. Then one has Eh(g1,g2)=2E_{h}(g_{1},g_{2})=2 and Eh(g2,g1)=0E_{h}(g_{2},g_{1})=0. Similarly, if the reference graph is β\beta from Figure 1, then Eh(g1,g2)=0E_{h}(g_{1},g_{2})=0 while Eh(g2,g1)=1E_{h}(g_{2},g_{1})=1.

Here it is understood that (G,o)(G,o) represents the canonical rooted graph whose equivalence class in Gh∗\mathcal{G}_{h}^{*} has law PP. By applying the definition of unimodularity (2) to the function

For t,t′∈Th−1∗t,t^{\prime}\in\mathcal{T}^{*}_{h-1} such that eP(t,t′)≠0e_{P}(t,t^{\prime})\neq 0 define, for all τ∈Th∗\tau\in\mathcal{T}^{*}_{h},

where τ∪t+′\tau\cup t^{\prime}_{+} denotes the tree obtained from τ\tau by adding a new neighbor of the root whose rooted subtree is t′t^{\prime}; see Figure 2 for an example. The subtree τ(o,v)\tau(o,v) is defined before Eq. (3) with the graph GG replaced by τ\tau.

It can be checked that P^t,t′\widehat{P}_{t,t^{\prime}} is a probability, i.e. P^t,t′∈P(Th∗)\widehat{P}_{t,t^{\prime}}\in\mathcal{P}(\mathcal{T}^{*}_{h}); see Section 3. We may now define the random rooted tree (T,o)(T,o). First, (T,o)h(T,o)_{h} is sampled according to PP. Next, for each vertex vv in the first generation of (T,o)h(T,o)_{h}, consider the subtree t=T(o,v)h−1t=T(o,v)_{h-1} with depth h−1h-1 rooted at vv obtained by removing the edge {o,v}\{o,v\} and retaining the connected component up to distance h−1h-1 from vv. We add a layer to tt by replacing tt with a new tree τ\tau with depth hh that coincides with tt in the first h−1h-1 generations. The new tree τ\tau is sampled according to P^t,t′\widehat{P}_{t,t^{\prime}} where tt is as above while t′t^{\prime} denotes the subtree T(v,o)h−1T(v,o)_{h-1} rooted at oo obtained from (T,o)h(T,o)_{h} by removing the edge {o,v}\{o,v\} and retaining the connected component up to distance h−1h-1 from oo. This operation is repeated for each vv in the first generation independently. After this step, we have overall added one layer to (T,o)h(T,o)_{h}, and thus we have sampled (T,o)h+1(T,o)_{h+1}.

an application of Stirling’s formula shows that

If ρ∈P(G∗)\rho\in\mathcal{P}(\mathcal{G}^{*}), define

where B(ρ,ε)B(\rho,\varepsilon) denotes the open ball with radius ε\varepsilon around ρ\rho with respect to the Lévy metric on P(G∗)\mathcal{P}(\mathcal{G}^{*}). For ε>0\varepsilon>0, define

Since ε↦Σ‾(ρ,ε)\varepsilon\mapsto\overline{\Sigma}(\rho,\varepsilon) is non-decreasing, one defines

The extended real numbers Σ‾(ρ,ε)\underline{\Sigma}(\rho,\varepsilon) and Σ‾(ρ)\underline{\Sigma}(\rho) are defined as above, with lim sup⁡\limsup replaced by lim inf⁡\liminf. If ρ\rho is such that Σ‾(ρ)=Σ‾(ρ)\underline{\Sigma}(\rho)=\overline{\Sigma}(\rho), we set Σ(ρ):=Σ‾(ρ)=Σ‾(ρ)\Sigma(\rho):=\overline{\Sigma}(\rho)=\underline{\Sigma}(\rho). The number Σ(ρ)\Sigma(\rho) can be interpreted, up to an overall constant, as a microcanonical entropy associated to the state ρ\rho. From (7), one has that Σ(ρ)∈[−∞,s(d)]\Sigma(\rho)\in[-\infty,s(d)], whenever it is well defined.

Fix d>0d>0 and choose a sequence m=m(n)m=m(n) such that m/n→d/2m/n\to d/2. For any ρ∈P(G∗)\rho\in\mathcal{P}(\mathcal{G}^{*}), the entropy Σ(ρ)∈  [−∞,s(d)]\Sigma(\rho)\in\;\left[-\infty,s(d)\right] is well defined, it is upper semi-continuous, and it does not depend on the choice of the sequence m(n)m(n). Moreover, Σ(ρ)=−∞\Sigma(\rho)=-\infty if at least one of the following is satisfied:

Let us introduce some additional notation. For any P∈P(Th∗)P\in\mathcal{P}(\mathcal{T}^{*}_{h}), define the Shannon entropy

defines a function Jh:Ph↦[−∞,s(d)]J_{h}:\mathcal{P}_{h}\mapsto[-\infty,s(d)], satisfying

In Remark 5.13 below we provide an alternative expression for Jh(P)J_{h}(P) in terms of relative entropies. Specializing to the case h=1h=1, we obtain the following corollary of Theorem 1.3.

As a byproduct of our analysis, we will also obtain an alternative proof of the Bowen-Elek Theorem .

If ρ∈Pu(T∗)\rho\in\mathcal{P}_{u}(\mathcal{T}^{*}), then ρ\rho is sofic.

4. Large deviations of uniform graphs with given degrees

max⁡1⩽v⩽nd(n)(v)⩽θ\max_{1\leqslant v\leqslant n}d^{(n)}(v)\leqslant\theta,

1n∑v∈[n]δd(n)(v)⇝P\frac{1}{n}\sum_{v\in[n]}\delta_{d^{(n)}(v)}\rightsquigarrow P,

where B∘B^{\circ} denotes the interior of BB and B‾\overline{B} denotes the closure of BB.

Let d(n)\mathbf{d}^{(n)} be a sequence satisfying conditions (C1)−(C3)(C1)-(C3) above. Let GnG_{n} be uniformly distributed on G(d(n))\mathcal{G}(\mathbf{d}^{(n)}). Then U(Gn)U(G_{n}) satisfies the LDP in P(G∗)\mathcal{P}(\mathcal{G}^{*}) with speed nn and good rate function

It follows from Theorem 1.3 that for any integer h⩾1h\geqslant 1, and Q∈PhQ\in\mathcal{P}_{h} with Q1=PQ_{1}=P, then

We note finally Theorem 1.6 establishes a large deviations principle with speed nn. Other interesting large deviation events occur at higher speed. For example, for the proportion of vertices in a triangle in GnG_{n}, the speed would be nlog⁡nn\log n.

5. Large deviations of Erdős-Rényi graphs

Fix d>0d>0 and a sequence m=m(n)m=m(n) such that m/n→d/2m/n\to d/2, as n→∞n\to\infty. Let GnG_{n} be uniformly distributed in Gn,m\mathcal{G}_{n,m}. Then U(Gn)U(G_{n}) satisfies the LDP in P(G∗)\mathcal{P}(\mathcal{G}^{*}) with speed nn and good rate function

Fix λ>0\lambda>0 and take GnG_{n} with law G(n,λ/n)\mathcal{G}(n,\lambda/n). Then U(Gn)U(G_{n}) satisfies the LDP in P(G∗)\mathcal{P}(\mathcal{G}^{*}) with speed nn and good rate function

6. Plan and methods

The proof of the main results discussed above is organized as follows. In Section 2 we review some basic facts about local weak convergence in the context of multi-graphs. We also establish a compactness criterion which parallels recent results of Benjamini, Lyons and Schramm . In Section 3 we introduce the unimodular Galton Watson trees with given hh-neighborhood distribution and prove the properties stated in Proposition 1.1 . In Section 5 we prove our main results concerning the entropy Σ(ρ)\Sigma(\rho), cf. Theorem 1.2 and Theorem 1.3. These are crucially based on the possibility of counting asymptotically the number of graphs in Gn,m\mathcal{G}_{n,m} which have a certain hh-neighborhood distribution. To compute such things, we introduce what we call a generalized configuration model. The standard configuration model, introduced in Bollobas , allows one to compute asymptotically the number of graphs with a given degree sequence. Since here we want to uncover the hh-neighborhood of a vertex and not only its degree, we need to generalize the usual construction. To keep track of the hh-neighborhood structure, we introduce directed multigraphs with colored edges and analyze the associated configuration model; see Section 4. This will allow us to sample a random graph with a given sequence of hh-neighborhoods, as long as these neighborhoods are rooted trees. As an application, we prove Corollary 1.5 at the end of Section 4. It seems to us that this new configuration model may turn out to be a natural tool in other applications as well. Finally, Section 6 is devoted to the proof of large deviation principles in the classical random graphs ensembles. We stress that our methods allow in principle a much greater generality, since one could establish large deviation estimates for random graphs that are uniformly sampled from the class of all graphs with a given hh-neighborhood distribution and not only with given degree sequences; see Remark 6.1.

7. Related work

Large deviations in random graphs is a rapidly growing topic. For dense graphs, e.g. G(n,p)\mathcal{G}(n,p) with fixed p∈(0,1)p\in(0,1), a thorough treatment has been given recently by Chatterjee and Varadhan , in the framework of the cut topology introduced by Lovász and Szegedy , see also Borgs, Chayes, Lovász, Sós and Vesztergombi . In the sparse regime, only a few partial results are known. O’Connell , Biskup, Chayes and Smith and Puhalskii have proven large deviation asymptotics for the connectivity and for the size of the connected components. Large deviations for degree sequences of Erdős-Rényi graphs has been studied in Doku-Amponsah and Mörters and Boucheron, Gamboa and Léonard [13, Theorem 7.1]. Closer to our approach, large deviations in the local weak topology were obtained for critical multi-type Galton-Watson trees by Dembo, Mörters and Sheffield . Finally, large deviations for other models of statistical physics on Erdős-Rényi graphs have been considered in Rivoire and Engel, Monasson, and Hartmann .

As far as we know, this is the first time that large deviations of the neighborhood distribution are addressed in a systematic way. While our approach does not cover results on connectivity and the size of connected components such as , it does yield a simplification of some of the existing arguments concerning the large deviations for degree sequences. We point out that our Corollary 1.10 gives a corrected version of [18, Corollary 2.2]. Under a stronger sparsity assumption, large deviations of neighborhood distributions for random networks have been used in to study the large deviations of the spectral measure of certain random matrices.

Local weak convergence

In this section, we first recall the basic notions of local weak convergence in the more general context of rooted multi-graphs; see , , and . Then, we give a general tightness lemma.

Recall that a path π\pi from uu to vv of length kk is a sequence π=(u0,⋯ ,uk)\pi=(u_{0},\cdots,u_{k}) with u0=uu_{0}=u, uk=vu_{k}=v and, for 0⩽i⩽k−10\leqslant i\leqslant k-1, {ui,ui+1}∈E\{u_{i},u_{i+1}\}\in E. If such π:u→v\pi:u\to v exists, the distance D(u,v)D(u,v) in GG between uu and vv is defined as the minimal length of all paths from uu to vv. If there is no path π:u→v\pi:u\to v, then the distance D(u,v)D(u,v) is set to be infinite. A multi-graph is connected if D(u,v)<∞D(u,v)<\infty for any u≠v∈Vu\neq v\in V.

Below, a rooted multi-graph (G,o)=(V,ω,o)(G,o)=(V,\omega,o) is a locally finite and connected multi-graph (V,ω)(V,\omega) with a distinguished vertex o∈Vo\in V, the root. For t⩾0t\geqslant 0, we denote by (G,o)t(G,o)_{t} the induced rooted multi-graph with vertex set {u∈V: D(o,u)⩽t}\{u\in V:\,D(o,u)\leqslant t\}. Two rooted multi-graphs (Gi,oi)=(Vi,ωi,oi)(G_{i},o_{i})=(V_{i},\omega_{i},o_{i}), i∈{1,2}i\in\{1,2\}, are isomorphic if there exists a bijection σ:V1→V2\sigma:V_{1}\to V_{2} such that σ(o1)=o2\sigma(o_{1})=o_{2} and σ(G1)=G2\sigma(G_{1})=G_{2}, where σ\sigma acts on G1G_{1} through σ(u,v)=(σ(u),σ(v))\sigma(u,v)=(\sigma(u),\sigma(v)) and σ(ω)=ω∘σ\sigma(\omega)=\omega\circ\sigma. We will denote this equivalence relation by (G1,o1)≃(G2,o2)(G_{1},o_{1})\simeq(G_{2},o_{2}). The associated equivalence classes can be seen as unlabeled rooted multi-graphs. We call G^∗\widehat{\mathcal{G}}^{*} the set of all such equivalence classes.

We define the semi-distance dd between two rooted multi-graphs (G1,o1)(G_{1},o_{1}) and (G2,o2)(G_{2},o_{2}) as

where TT is the supremum of those t>0t>0 such that (G1,o1)t(G_{1},o_{1})_{t} and (G2,o2)t(G_{2},o_{2})_{t} are isomorphic. On the space G^∗\widehat{\mathcal{G}}^{*}, dd is a distance. The associated topology will be referred to as the local topology. The space (G^∗,d)(\widehat{\mathcal{G}}^{*},d) is Polish (i.e. separable and complete) .

Explicit compact subsets of G^∗\widehat{\mathcal{G}}^{*} can be constructed as follows. If g∈G^∗g\in\widehat{\mathcal{G}}^{*}, we define

is a compact subset of  G^∗\,\widehat{\mathcal{G}}^{*} for the local topology.

For each t⩾t0t\geqslant t_{0}, there is a finite number of elements in G^∗\widehat{\mathcal{G}}^{*}, say ft,1,⋯ ,ft,ntf_{t,1},\cdots,f_{t,n_{t}}, such that ∣g∣⩽φ(t)|g|\leqslant\varphi(t) and for any vertex the distance to the root is at most tt. Therefore, the collection At,1,⋯ ,At,ntA_{t,1},\cdots,A_{t,n_{t}} where At,k={g∈G^∗:gt=ft,k}A_{t,k}=\{g\in\widehat{\mathcal{G}}^{*}:g_{t}=f_{t,k}\} is a finite covering of KK of radius 1/(1+t)1/(1+t). ∎

The notions of local weak convergence introduced in §1.1 are immediately extended to the present setting of multi-graphs. The definitions of U(G)U(G) in (1) and unimodularity (2) easily carry over to P(G^∗)\mathcal{P}(\widehat{\mathcal{G}}^{*}). The next simple lemma is proved in .

The set Pu(G^∗)\mathcal{P}_{u}(\widehat{\mathcal{G}}^{*}) is closed in the local weak topology.

2. Compactness lemma for the local weak topology

Let GnG_{n} be a sequence of finite multi-graphs. We now give a condition which guarantees that the sequence U(Gn)U(G_{n}) is tight for the local weak topology. If G=(V,ω)G=(V,\omega) is a multi-graph, we define the degree of a subset S⊂VS\subset V as

The next lemma is a sufficient condition for tightness in Pu(G^∗)\mathcal{P}_{u}(\widehat{\mathcal{G}}^{*}). A similar result appears in Benjamini, Lyons and Schramm [3, Theorem 3.1]. We give an independent proof.

Considering a sequence U(Gn),n⩾1U(G_{n}),n\geqslant 1, condition (15) amounts to a uniform integrability of the degree sequences of the multi-graphs (Gn),n⩾1(G_{n}),n\geqslant 1. It may seem quite paradoxical that a sole condition on the degrees implies the tightness of the whole graph sequence. However, the unimodularity of U(G)U(G) yields enough uniformity for this result to hold.

Since G^∗\widehat{\mathcal{G}}^{*} is a Polish space, from Prohorov’s theorem, a set Π⊂P(G^∗)\Pi\subset\mathcal{P}(\widehat{\mathcal{G}}^{*}) is relatively compact if and only if for any ε>0\varepsilon>0, there exists a compact K⊂G^∗K\subset\widehat{\mathcal{G}}^{*} such that for all μ∈Π\mu\in\Pi, μ(Kc)⩽ε\mu(K^{c})\leqslant\varepsilon.

Set c=δ(1)c=\delta(1). Without loss of generality, we may assume c>1c>1. We consider the increasing function [0,c]↦[0,c]\mapsto

Now, for each ε>0\varepsilon>0, and integer t⩾1t\geqslant 1, we set

where the composition holds tt times. We now define Π\Pi as being the closure of the set of measures μ\mu in Pu(G^∗)\mathcal{P}_{u}(\widehat{\mathcal{G}}^{*}) such that for any ε>0\varepsilon>0, μ(Kεc)⩽ε\mu(K_{\varepsilon}^{c})\leqslant\varepsilon where

By Lemma 2.1, KεK_{\varepsilon} is a compact set of G^∗\widehat{\mathcal{G}}^{*}. Hence, Prohorov’s theorem asserts that Π\Pi is a compact set of Pu(G^∗)\mathcal{P}_{u}(\widehat{\mathcal{G}}^{*}).

We now check that ρ=U(G)∈Π\rho=U(G)\in\Pi. This will conclude the proof of our lemma. It is sufficient to prove that ρ(Kε)⩾1−ε\rho(K_{\varepsilon})\geqslant 1-\varepsilon for all ε>0\varepsilon>0. Let t⩾0t\geqslant 0 be an integer, for S⊂VS\subset V, B(S,t)B(S,t) denote the set of vertices at distance at most tt from a vertex in SS. In particular, if v∈Vv\in V and gg is the equivalence class of (G(v),v)(G(v),v) we have

Hence, using Markov inequality, we deduce that the set

has cardinality at most hε(t)nh_{\varepsilon}(t)n. From what precedes, the set

has cardinality at most 2−tεn2^{-t}\varepsilon n. So finally, from the union bound, the set

has cardinality at least (1−ε)n(1-\varepsilon)n. We have thus checked that ρ(Kε)⩾1−ε\rho(K_{\varepsilon})\geqslant 1-\varepsilon. ∎

Unimodular Galton-Watson trees with given neighborhood

First observe that if τ∈Th∗\tau\in\mathcal{T}^{*}_{h}, t′∈Th−1∗t^{\prime}\in\mathcal{T}^{*}_{h-1} and S=τ∪t+′S=\tau\cup t^{\prime}_{+}, then (recall the definition of τ∪t+′\tau\cup t^{\prime}_{+} and Figure 2)

Therefore, for any t,t′∈Th−1∗t,t^{\prime}\in\mathcal{T}^{*}_{h-1},

where, in the summand, S=τ∪t+′S=\tau\cup t^{\prime}_{+}. Now, (5) and (16) imply

Finally, the assumption eP(t,t′)=eP(t′,t)e_{P}(t,t^{\prime})=e_{P}(t^{\prime},t) yields

2. Consistency lemma

We turn to the second part of Proposition 1.1. The following lemma computes the law of the (h+1)(h+1)-neighborhood of a Galton-Watson tree with a given hh-neighborhood.

(ti∈Th∗,1⩽i⩽d)(t^{i}\in\mathcal{T}^{*}_{h},1\leqslant i\leqslant d) are the subtrees of τ\tau attached to the offspring of the root, and for 1⩽i⩽d1\leqslant i\leqslant d, si=(ti)h−1s^{i}=(t^{i})_{h-1} ;

{sa}a∈A\{s^{a}\}_{a\in\mathcal{A}} is set of distinct elements of (si,1⩽i⩽d)(s^{i},1\leqslant i\leqslant d), and, for each a∈Aa\in\mathcal{A}, {ta,b}b∈Ba\{t^{a,b}\}_{b\in\mathcal{B}_{a}} is the set the distinct elements of (ti,1⩽i⩽d)(t^{i},1\leqslant i\leqslant d), such that (ta,b)h−1=sa(t^{a,b})_{h-1}=s^{a} ;

nan_{a} is the cardinality of sis^{i}’s equal to sas^{a} and ka,bk_{a,b} is the cardinality of tit^{i}’s equal to ta,bt^{a,b} ;

s−a=(t−a)h−1s^{-a}=(t^{-a})_{h-1} and t−a∈Th∗t^{-a}\in\mathcal{T}^{*}_{h} is the tree obtained from τh\tau_{h} by removing one offsping with subtree equal to sas^{a}.

Using ρh=P\rho_{h}=P, for a fixed τ∈Th+1∗\tau\in\mathcal{T}^{*}_{h+1}, the above definitions allow us to write

Observe that T(o,v)h=ta,bT(o,v)_{h}=t^{a,b} implies that T(o,v)h−1=saT(o,v)_{h-1}=s^{a}. Moreover, given (T,o)h=t(T,o)_{h}=t, T(o,v)h−1=saT(o,v)_{h-1}=s^{a} implies that T(v,o)h−1=s−aT(v,o)_{h-1}=s^{-a}, i.e. the type of vertex vv is (sa,s−a)(s^{a},s^{-a}). The lemma is then a consequence of the conditional independence of the subtrees attached to the offspring of the root given (T,o)h(T,o)_{h}. ∎

By recursion, it suffices to prove the statement for k=h+1k=h+1. For s∈Th−1∗s\in\mathcal{T}^{*}_{h-1} such that eP(s,s′)>0e_{P}(s,s^{\prime})>0 for some s′∈Th−1∗s^{\prime}\in\mathcal{T}^{*}_{h-1}, we may define the probability measure

However, with n=\big{|}\big{\{}v\stackrel{{\scriptstyle t}}{{\sim}}o:t(o,v)=s^{\prime}\big{\}}\big{|}, we deduce from the unimodularity of ρ\rho and (16) that

where s′=th−1′s^{\prime}=t^{\prime}_{h-1}. Indeed, since ρ′\rho^{\prime} and ρ\rho have the same h+1h+1 neighborhood, this would prove that they have in fact the same h+2h+2 neighborhood and, by conditional independence, we would deduce that ρ=ρ′\rho=\rho^{\prime}.

where, as above, t=τht=\tau_{h} and s′=th−1′s^{\prime}=t^{\prime}_{h-1}. Since (τ∪t+′)h=t∪s+′(\tau\cup t^{\prime}_{+})_{h}=t\cup s^{\prime}_{+}, and ρh+1′=ρh+1\rho^{\prime}_{h+1}=\rho_{h+1}, we have

As in Lemma 3.2, let ti∈Th∗,1⩽i⩽dt^{i}\in\mathcal{T}^{*}_{h},1\leqslant i\leqslant d be the subtrees of τ\tau attached to the offspring of the root and call sis^{i} their restriction to Th−1∗\mathcal{T}^{*}_{h-1}. By construction, kk elements of the tit^{i}’s are equal to t′t^{\prime} and nn elements of the sis^{i}’s are equal to s′s^{\prime}. Let (sa)a(s^{a})_{a} be the set of distinct elements of the set {s′}∪{si,1⩽i⩽d}\{s^{\prime}\}\cup\{s^{i},1\leqslant i\leqslant d\}, and, for each aa, let (ta,b)b(t^{a,b})_{b} denote the distinct elements of {t′}∪{ti,1⩽i⩽d}\{t^{\prime}\}\cup\{t^{i},1\leqslant i\leqslant d\}, such that ta,bt^{a,b} restricted to Th−1∗\mathcal{T}^{*}_{h-1} is sas^{a}. We denote by nan_{a} the cardinality of sis^{i}’s equal to sas^{a} and ka,bk_{a,b} the cardinality of tit^{i}’s equal to ta,bt^{a,b}. We set na′=na+1(sa=s′)n^{\prime}_{a}=n_{a}+\mathbf{1}(s_{a}=s^{\prime}) and ka,b′=ka,b+1(ta,b=t′)k^{\prime}_{a,b}=k_{a,b}+\mathbf{1}(t_{a,b}=t^{\prime}). Then, Lemma 3.2 yields

where, s−a=[(t∪s+′)−a]h−1s^{-a}=[(t\cup s^{\prime}_{+})^{-a}]_{h-1} and (t∪s+′)−a∈Th∗(t\cup s^{\prime}_{+})^{-a}\in\mathcal{T}^{*}_{h} is the tree obtained from t∪s+′t\cup s^{\prime}_{+} by removing one of the offspring with subtree equal to sas^{a}. Thus, we find

Since ρh+1=ρh+1′\rho_{h+1}=\rho^{\prime}_{h+1}, one has

By sampling the hh-neighborhood (T,o)h(T,o)_{h} first, and using the number nn as above, one has

Next, we show that the right hand side in (19) equals the above expression. We have

where we have used unimodularity and (18). Now, by sampling first the hh-neighborhood (T,o)h(T,o)_{h}, one finds that

where, as before, k=k(t′)k=k(t^{\prime}) stands for the number of v∼τov\stackrel{{\scriptstyle\tau}}{{\sim}}o such that τ(o,v)=t′\tau(o,v)=t^{\prime}. Using Lemma 3.2 in the form (20), and the fact that ∑t′:th−1′=s′P^s′,s(t′)=1\sum_{t^{\prime}:t^{\prime}_{h-1}=s^{\prime}}\widehat{P}_{s^{\prime},s}(t^{\prime})=1, we find

The identity (19) follows from (24) and (23). ∎

Configuration model for directed graphs with colored edges

This section introduces a generalized configuration model, to be used later on to count the number of graphs with a given tree-like neighborhood distribution.

We are now going to define a family of directed multi-graphs with colored edges. Let LL be a fixed integer. Each pair (i,j)(i,j) with 1⩽i,j⩽L1\leqslant i,j\leqslant L is interpreted as a color. Define the sets of colors

Also, define C⩽=C<∪C=\mathcal{C}_{\leqslant}=\mathcal{C}_{<}\cup\mathcal{C}_{=}, C>=C∖C⩽\mathcal{C}_{>}=\mathcal{C}\setminus\mathcal{C}_{\leqslant} and C≠=C∖C=\mathcal{C}_{\neq}=\mathcal{C}\setminus\mathcal{C}_{=}. If c=(i,j)∈Cc=(i,j)\in\mathcal{C}, then set cˉ=(j,i)\bar{c}=(j,i) for the conjugate color.

If G∈G^(C)G\in\widehat{\mathcal{G}}(\mathcal{C}), one can define the colorblind multi-graph Gˉ=(V,ωˉ)\bar{G}=(V,\bar{\omega}), by setting

The multi-graph Gˉ=(V,ωˉ)\bar{G}=(V,\bar{\omega}) can be identified with an undirected multi-graph, in that by construction ωˉ(u,v)=ωˉ(v,u)\bar{\omega}(u,v)=\bar{\omega}(v,u) for all u,v∈Vu,v\in V. We say that GG is a simple graph if Gˉ\bar{G} has no loops and no multiple edges. Clearly, if L=1L=1 then there is only one color, so that any multi-graph G∈G^(C)G\in\widehat{\mathcal{G}}(\mathcal{C}) coincides with its own Gˉ\bar{G}.

If G∈G^(C)G\in\widehat{\mathcal{G}}(\mathcal{C}), c∈Cc\in\mathcal{C} and u∈Vu\in V, set

and write D(u)={Dc(u),c∈C}D(u)=\{D_{c}(u),c\in\mathcal{C}\}. Note that D(u)D(u) is an element of ML\mathcal{M}_{L}, defined as the set of L×LL\times L matrices with nonnegative integer valued entries. The vector D={D(u),u∈V}\mathbf{D}=\{D(u),u\in V\} of such matrices will be called the degree sequence of GG.

2. Directed colored multi-graphs with given degree sequence

G^(D)\widehat{\mathcal{G}}(\mathbf{D}) is the set of multi-graphs G∈G^(C)G\in\widehat{\mathcal{G}}(\mathcal{C}) with V=[n]V=[n] such that the degree sequence of GG defined by (26) coincides with D\mathbf{D}.

Fix a multi-graph G∈G^(D)G\in\widehat{\mathcal{G}}(\mathbf{D}). For a fixed c∈C=c\in\mathcal{C}_{=}, let GcG_{c} denote the subgraph of GG obtained by removing all edges but the ones with color cc. If c∈C<c\in\mathcal{C}_{<} instead, then define GcG_{c} as the subgraph of GG obtained by removing all edges but the ones with color cc or cˉ\bar{c}. Thus, every G∈G^(D)G\in\widehat{\mathcal{G}}(\mathbf{D}) is the result of the superposition of the multi-graphs GcG_{c}, c∈C⩽c\in\mathcal{C}_{\leqslant}. We may then analyze each color separately.

When c∈C=c\in\mathcal{C}_{=}, every pair u,vu,v satisfies ωc(u,v)=ωc(v,u)\omega_{c}(u,v)=\omega_{c}(v,u), so GcG_{c} is actually a multi-graph with undirected edges, and we may use the usual construction [8, Section 2.4]. We provide the details for completeness. The degrees of GcG_{c} are fixed by the sequence Dc(1),…,Dc(n)D_{c}(1),\dots,D_{c}(n). Let Wc=∪i=1nWc(i)W_{c}=\cup_{i=1}^{n}W_{c}(i), be a fixed set of Sc=∑i=1nDc(i)S_{c}=\sum_{i=1}^{n}D_{c}(i) points, with the subsets Wc(i)W_{c}(i) satisfying ∣Wc(i)∣=Dc(i)|W_{c}(i)|=D_{c}(i). Recall that ScS_{c} is even by assumption. Let Σc\Sigma_{c} be the set of all perfect matchings of the complete graph over the points of WcW_{c}, i.e. the set of all partitions of WcW_{c} into disjoint edges. Then,

Elements of Σc\Sigma_{c} are called configurations. For any configuration σc∈Σc\sigma_{c}\in\Sigma_{c}, call Γ(σc)\Gamma(\sigma_{c}) the multi-graph on [n][n] with undirected edges obtained by including an edge {i,j}\{i,j\} iff σc\sigma_{c} has a pair with one element in Wc(i)W_{c}(i) and the other in Wc(j)W_{c}(j). Notice that Γ(σc)\Gamma(\sigma_{c}) has the same degree sequence Dc(1),…,Dc(n)D_{c}(1),\dots,D_{c}(n) of GcG_{c}. Moreover, any multi-graph with that degree sequence equals Γ(σc)\Gamma(\sigma_{c}) for some σc∈Σc\sigma_{c}\in\Sigma_{c}.

Fix c∈C=c\in\mathcal{C}_{=}. Let HH be a multi-graph on [n][n] with undirected edges and with degree sequence Dc(1),…,Dc(n)D_{c}(1),\dots,D_{c}(n). The number of σc∈Σc\sigma_{c}\in\Sigma_{c} such that Γ(σc)=H\Gamma(\sigma_{c})=H is given by

where ωc(i,j)\omega_{c}(i,j) is the number of edges between nodes {i,j}\{i,j\} in HH, while ωc(i,i)/2\omega_{c}(i,i)/2 is the number of loops at node ii in HH.

We need to count the number of matchings σc∈Σc\sigma_{c}\in\Sigma_{c} such that for every i<ji<j one has ωc(i,j)\omega_{c}(i,j) edges between Wc(i)W_{c}(i) and Wc(j)W_{c}(j), and such that for all ii one has 12ωc(i,i)\frac{1}{2}\omega_{c}(i,i) edges within Wc(i)W_{c}(i). Fix i<ji<j. Once we choose the ωc(i,j)\omega_{c}(i,j) elements of Wc(i)W_{c}(i) and the ωc(i,j)\omega_{c}(i,j) elements of Wc(j)W_{c}(j) to be matched together to produce the ωc(i,j)\omega_{c}(i,j) edges, then there are ωc(i,j)!\omega_{c}(i,j)! distinct matchings that produce the same graph. Similarly, once we fix the ωc(i,i)\omega_{c}(i,i) elements of Wc(i)W_{c}(i) to be matched together to produce the 12ωc(i,i)\frac{1}{2}\omega_{c}(i,i) loops at ii, then there are (ωc(i,i)−1)!!(\omega_{c}(i,i)-1)!! distinct matchings that produce the same graph. On the other hand, for every node ii there are

distinct ways of choosing the elements of Wc(i)W_{c}(i) to be matched with Wc(1),…,Wc(n)W_{c}(1),\dots,W_{c}(n) respectively. Putting all together we arrive at the following expression for the total number of configurations producing the graph HH:

When c∈C<c\in\mathcal{C}_{<}, every pair u,vu,v satisfies ωc(u,v)=ωcˉ(v,u)\omega_{c}(u,v)=\omega_{\bar{c}}(v,u), so for the multi-graph GcG_{c}, Dc(i)D_{c}(i) represents the number of outgoing edges at node ii, which equals the number of incoming edges at that node. Here we use a bipartite version of the previous construction. Let Wc=∪i=1nWc(i)W_{c}=\cup_{i=1}^{n}W_{c}(i), be a fixed set of Sc=∑i=1nDc(i)S_{c}=\sum_{i=1}^{n}D_{c}(i) points, with the subsets Wc(i)W_{c}(i) satisfying ∣Wc(i)∣=Dc(i)|W_{c}(i)|=D_{c}(i). Similarly, set Wˉc=∪i=1nWˉc(i)\bar{W}_{c}=\cup_{i=1}^{n}\bar{W}_{c}(i), with ∣Wˉc(i)∣=Dcˉ(i)|\bar{W}_{c}(i)|=D_{\bar{c}}(i). Consider the set Σc\Sigma_{c} of all perfect matchings of the complete bipartite graph over the sets (Wc,Wˉc)(W_{c},\bar{W}_{c}), i.e. the set of perfect matchings containing only edges connecting an elements of WcW_{c} with an element of Wˉc\bar{W}_{c}. Since Sc=ScˉS_{c}=S_{\bar{c}}, one has ∣Wc∣=∣Wˉc∣|W_{c}|=|\bar{W}_{c}|, and Σc\Sigma_{c} can be identified with the set of permutations of ScS_{c} objects, or the set of bijective maps Wc↦WˉcW_{c}\mapsto\bar{W}_{c}, and ∣Σc∣=Sc!|\Sigma_{c}|=S_{c}!. A configuration is an element σc∈Σc\sigma_{c}\in\Sigma_{c}. For any configuration σc\sigma_{c}, let Γ(σc)\Gamma(\sigma_{c}) denote the directed multi-graph on [n][n] obtained by including the directed edge (i,j)(i,j) with color cc and the edge (j,i)(j,i) with color cˉ\bar{c} iff σc\sigma_{c} has a pair with one element in Wc(i)W_{c}(i) and the other in Wˉc(j)\bar{W}_{c}(j). Notice that Γ(σc)\Gamma(\sigma_{c}) has the same degree sequence Dc(1),…,Dc(n)D_{c}(1),\dots,D_{c}(n) of GcG_{c}, and any multi-graph with directed edges with colors with the same degree sequence equals Γ(σc)\Gamma(\sigma_{c}) for some σc∈Σc\sigma_{c}\in\Sigma_{c}.

Fix c∈C<c\in\mathcal{C}_{<}. Let HH be a multi-graph on [n][n] with directed edges with colors (c,cˉ)(c,\bar{c}) only and with degree sequence Dc(1),…,Dc(n)D_{c}(1),\dots,D_{c}(n). The number of σc∈Σc\sigma_{c}\in\Sigma_{c} such that Γ(σc)=H\Gamma(\sigma_{c})=H is given by

where ωc(i,j)=ωcˉ(j,i)\omega_{c}(i,j)=\omega_{\bar{c}}(j,i) is the number of edges from ii to jj with color cc in HH.

We have to count the number of bijective maps Wc↦WˉcW_{c}\mapsto\bar{W}_{c} such that for every i,j∈[n]i,j\in[n] (including the case i=ji=j), ωc(i,j)\omega_{c}(i,j) elements of Wc(i)W_{c}(i) are mapped to Wˉc(j)\bar{W}_{c}(j). We begin by choosing, for every fixed node ii, the subsets of Wc(i)W_{c}(i) that are mapped into Wˉc(k)\bar{W}_{c}(k), k=1,…,nk=1,\dots,n, and the subsets of Wˉc(i)\bar{W}_{c}(i) that are mapped into Wc(k)W_{c}(k), k=1,…,nk=1,\dots,n. This can be done in

distinct ways. Once these subsets are chosen there remain, for every i,ji,j, ωc(i,j)!\omega_{c}(i,j)! distinct bijections producing the same graph. Therefore, the total number of bijections from WcW_{c} to Wˉc\bar{W}_{c} which preserve the numbers ωc(i,j)=ωcˉ(j,i)\omega_{c}(i,j)=\omega_{\bar{c}}(j,i) is given by

The latter expression can be rewritten as (29). ∎

2.3. Generalized configuration model

where Sc=∑i=1nDc(i)S_{c}=\sum_{i=1}^{n}D_{c}(i), and b(H)b(H) is defined by

In particular, for any h⩾2h\geqslant 2, if G(D,h)\mathcal{G}(\mathbf{D},h) is not empty, the law of GG conditioned on G(D,h)\mathcal{G}(\mathbf{D},h) is the uniform distribution on G(D,h)\mathcal{G}(\mathbf{D},h).

The cardinality of Σ\Sigma is given by ∏c∈C<Sc!∏c∈C=(Sc−1)!!\prod_{c\in\mathcal{C}_{<}}S_{c}!\prod_{c\in\mathcal{C}_{=}}(S_{c}-1)!!. Thus, it suffices to check that Γ−1(H)\Gamma^{-1}(H) has cardinality b(H)−1∏c∈C∏iDc(u)!b(H)^{-1}\prod_{c\in\mathcal{C}}\prod_{i}D_{c}(u)!. This follows from Lemma 4.2 and Lemma 4.3 by observing that ∣Γ−1(H)∣=∏c∈C⩽nc(Hc)|\Gamma^{-1}(H)|=\prod_{c\in\mathcal{C}_{\leqslant}}n_{c}(H_{c}), where HcH_{c} denotes the multi-graph HH after all edges with color c′∉{c,cˉ}c^{\prime}\notin\{c,\bar{c}\} are removed. This proves (30). If H∈G(D,h)H\in\mathcal{G}(\mathbf{D},h), h⩾2h\geqslant 2, then ωc(i,i)=0\omega_{c}(i,i)=0 and ωc(i,j)∈{0,1}\omega_{c}(i,j)\in\{0,1\} for all i,j∈[n]i,j\in[n] and c∈Cc\in\mathcal{C}, so that b(H)=1b(H)=1. This proves the last assertion. ∎

for all u∈[n]u\in[n], D(n)(u)∈ML(θ)D^{(n)}(u)\in\mathcal{M}_{L}^{(\theta)} ;

as n→∞n\to\infty, 1n∑u=1nδD(n)(u)⇝P.\frac{1}{n}\sum_{u=1}^{n}\delta_{D^{(n)}(u)}\rightsquigarrow P.

The main result of this section is the following

The actual value of αh\alpha_{h} could be in principle computed in terms of PP (see proof of Theorem 4.5). We will however not need that.

In the setting of Theorem 4.5, writing Sc(n)=∑u∈[n]Dc(n)(u)S_{c}^{(n)}=\sum_{u\in[n]}D_{c}^{(n)}(u), for all h⩾2h\geqslant 2:

As in Lemma 4.4, for each H∈G(D(n),h)H\in\mathcal{G}(\mathbf{D}^{(n)},h), ∣Γ−1(H)∣=∏c∈C∏uDc(n)(u)!|\Gamma^{-1}(H)|=\prod_{c\in\mathcal{C}}\prod_{u}D^{(n)}_{c}(u)!. Hence the sum in the right hand side above equals ∣G(D(n),h)∣∏c∈C∏uDc(n)(u)!|\mathcal{G}(\mathbf{D}^{(n)},h)|\prod_{c\in\mathcal{C}}\prod_{u}D^{(n)}_{c}(u)!. The conclusion follows from Theorem 4.5 and ∣Σ∣=∏c∈C<Sc(n)!∏c∈C=(Sc(n)−1)!!|\Sigma|=\prod_{c\in\mathcal{C}_{<}}S^{(n)}_{c}!\prod_{c\in\mathcal{C}_{=}}(S^{(n)}_{c}-1)!!. ∎

where we use the notation BcH,G(u,v)B_{c}^{H,G}(u,v) for the binomial coefficient (ωcG(u,v)ωcH(u,v))\binom{\omega_{c}^{G}(u,v)}{\omega_{c}^{H}(u,v)}, with the convention that if u=vu=v and c∈C=c\in\mathcal{C}_{=}, then BcH,G(u,u)B_{c}^{H,G}(u,u) equals ((ωcG(u,u)/2)(ωcH(u,u)/2))\binom{(\omega_{c}^{G}(u,u)/2)}{(\omega_{c}^{H}(u,u)/2)}.

Next, for G∈G^nG\in\widehat{\mathcal{G}}_{n} and H∈G^kH\in\widehat{\mathcal{G}}_{k}, 1⩽k⩽n1\leqslant k\leqslant n, define X(H,G)X(H,G) as the number of distinct subgraphs of GG that are isomorphic to HH. If a(H)a(H) denotes the cardinality of the automorphism group of HH, i.e. the number of permutations of the vertex labels which leave HH invariant, then

where the sum is over all injective maps τ\tau from [k][k] to [n][n], and τ(H)\tau(H) represents the multi-graph obtained by embedding HH in [n][n] through τ\tau.

For H∈G^kH\in\widehat{\mathcal{G}}_{k}, the cc-degree at vertex uu is denoted

where D∈ML(θ)D\in\mathcal{M}^{(\theta)}_{L} has distribution PP and scH:=∑i=1kdcH(i)s^{H}_{c}:=\sum_{i=1}^{k}d_{c}^{H}(i).

Consider first the case c∈C<c\in\mathcal{C}_{<}. Set

where HcH_{c} is the graph HH with all edges removed except for edges of color cc or cˉ\bar{c}, and the condition G⊃HcG\supset H_{c} indicates that ωcG(u,v)⩾ωcH(u,v)\omega_{c}^{G}(u,v)\geqslant\omega_{c}^{H}(u,v) for all u,v∈[n]u,v\in[n]. Then, as in Lemma 4.4

On the other hand, applying (29) to the multi-graph G ⁣∖ ⁣HG\!\smallsetminus\!H defined by (ωcG(u,v)−ωcH(u,v))(\omega_{c}^{G}(u,v)-\omega_{c}^{H}(u,v)), one has

Next, consider the case c∈C=c\in\mathcal{C}_{=}. Here

where HcH_{c} is the graph HH with all edges removed except for edges of color cc. Then,

Applying (28) to the multi-graph G ⁣∖ ⁣HG\!\smallsetminus\!H and simplifying, one arrives at

Finally, taking products over c∈C<c\in\mathcal{C}_{<} of (36) together with products over c∈C=c\in\mathcal{C}_{=} of (37), we arrive at (35).

Summing over the injective maps τ:[k]↦[n]\tau:[k]\mapsto[n], we deduce that

where (M(1),⋯ ,M(k))(M(1),\cdots,M(k)) is uniformly sampled without replacement on (D(n)(1),…,D(n)(n))(\mathbf{D}^{(n)}(1),\dots,\mathbf{D}^{(n)}(n)). From assumptions (H1)-(H2), for every fixed kk and H∈G^kH\in\widehat{\mathcal{G}}_{k}, as n→∞n\to\infty:

where D∈ML(θ)D\in\mathcal{M}_{L}^{(\theta)} has law PP. Moreover, for c∈C<c\in\mathcal{C}_{<} and c∈C=c\in\mathcal{C}_{=} respectively,

The desired conclusion now follows by using these asymptotics in (38) together with (n)k∼nk(n)_{k}\sim n^{k} and

and, setting λ(h)=∑H∈L⩽hλH\lambda(h)=\sum_{H\in\mathcal{L}_{\leqslant h}}\lambda_{H}, one finds

We are going to prove that ZZ converges weakly to a Poisson random variable with mean λ(h)\lambda(h). This will prove (40) with αh=e−λ(h)\alpha_{h}=e^{-\lambda(h)}. To this end, by the well known moment method, it is sufficient to prove that for any integer p⩾1p\geqslant 1:

where (Z)p=Z!/(Z−p)!(Z)_{p}=Z!/(Z-p)!. The case p=1p=1 is (42). Below, we establish (43) for all p⩾2p\geqslant 2.

For any H∈L⩽hH\in\mathcal{L}_{\leqslant h}, let HH\mathcal{H}_{H} denote the set of multi-graphs F∈G^(C)F\in\widehat{\mathcal{G}}(\mathcal{C}) with vertex set VF⊂[n]V_{F}\subset[n] which are isomorphic to HH. If H=∪H∈L⩽hHH\mathcal{H}=\cup_{H\in\mathcal{L}_{\leqslant h}}\mathcal{H}_{H}, then one has

where YF:=Y(F,Gn)Y_{F}:=Y(F,G_{n}) is defined by (33). The proof of (43) uses two elementary topological facts:

where H⊕H′∈G^k+k′H\oplus H^{\prime}\in\widehat{\mathcal{G}}_{k+k^{\prime}} is the multigraph obtained from the disjoint union of HH and an isomorphic copy of H′H^{\prime} with vertex set {k+1,⋯ ,k+k′}\{k+1,\cdots,k+k^{\prime}\}. We also use two consequences of Lemma 4.7:

We start by showing that for all q⩾1q\geqslant 1, there exists c=c(q)>0c=c(q)>0 such that

By assumption (H1), YF⩽c0Y_{F}\leqslant c_{0} for some c0=c0(θ,h)c_{0}=c_{0}(\theta,h), and hence, for some c1=c1(θ,h,q)c_{1}=c_{1}(\theta,h,q), one has the crude bound

where the sum ∑∗\sum_{*} is over all choices of pairwise distinct F1,⋯ ,FkF_{1},\cdots,F_{k} in H\mathcal{H}. We now decompose ∑∗\sum_{*} into the sum ∑∗∗\sum_{**} over all choices of kk pairwise disjoint sets FiF_{i} in H\mathcal{H}, and the sum ∑∗∗∗\sum_{***} over all choices of kk pairwise distinct FiF_{i} in H\mathcal{H} such there exists i≠ji\neq j with Fi∩Fj≠∅F_{i}\cap F_{j}\neq\emptyset. Notice that this last summation satisfies

where the sum ∑∗\sum_{*} is over all choices of pp pairwise distinct FiF_{i} in H\mathcal{H}. By assumption (H1), YFY_{F} is uniformly bounded, and therefore

4. Unimodular Galton-Watson trees with colors

Let G^∗(C)\widehat{\mathcal{G}}^{*}(\mathcal{C}) denote the set of equivalence classes of rooted directed locally finite colored multi-graphs, i.e. the set of connected multi-graphs G∈G^(C)G\in\widehat{\mathcal{G}}(\mathcal{C}) with a distinguished vertex oo (the root) where two rooted multi-graphs are identified if they only differ by a relabeling of the vertices. An element of G^∗(C)\widehat{\mathcal{G}}^{*}(\mathcal{C}) is called a rooted directed colored tree if the corresponding colorblind multi-graph defined via (25) has no cycles. We now introduce a probability measure on G^∗(C)\widehat{\mathcal{G}}^{*}(\mathcal{C}) supported on rooted colored directed trees. Let P∈P(ML)P\in\mathcal{P}(\mathcal{M}_{L}) be a probability measure on ML\mathcal{M}_{L}, ∣C∣=L2|\mathcal{C}|=L^{2}, such that for all c∈Cc\in\mathcal{C},

where DD has distribution PP, and for any c∈Cc\in\mathcal{C}, EcE^{c} denotes the matrix with all entries equal to except for the entry at cc, which equals 11. Notice that P^c\widehat{P}^{c} is indeed a probability since

5. Local weak convergence

It is straightforward to extend the local topology introduced in Section 2 to the case of rooted directed multi-graphs with colored edges G^∗(C)\widehat{\mathcal{G}}^{*}(\mathcal{C}). The only difference is that the weight function ω\omega is now matrix-valued.

In the case of a single color L=1L=1, Theorem 4.8 is folklore; see e.g. the monographs . The proof of Theorem 4.8 in the general case is given in the appendix.

6. Graphs with given tree-like neighborhood

Here we show how the configuration model can be used to count the number of graphs with a given tree-like neighborhood structure.

where [G,u]h[G,u]_{h} stands for the equivalence class of the hh-neighborhood of GG at vertex uu. We say that GG is hh-tree-like if [G,u]h[G,u]_{h} is a tree for all u∈[n]u\in[n].

We describe now a procedure which turns the given graph GG into a directed colored graph G~\widetilde{G} in G(C)\mathcal{G}(\mathcal{C}). The color set C\mathcal{C} is defined as follows. Let F⊂Gh−1∗\mathcal{F}\subset\mathcal{G}^{*}_{h-1} denote the collection of all equivalence classes of the subgraphs G(u,v)h−1G(u,v)_{h-1}, where we recall that G(u,v)G(u,v) is the rooted graph obtained from GG by removing the edge {u,v}\{u,v\} and taking the root at vv. For simplicity, below we will identify G(u,v)h−1G(u,v)_{h-1} with its equivalence class. If L=∣F∣L=|\mathcal{F}| denotes the cardinality of F\mathcal{F}, we call C\mathcal{C} the set of L2L^{2} pairs (g,g′)(g,g^{\prime}), with g,g′∈Fg,g^{\prime}\in\mathcal{F}; see Figure 4 for an example. To construct the directed colored graph, for every pair u,vu,v such that {u,v}\{u,v\} is an edge of GG, we include a directed edge (u,v)(u,v) with color

Consider first the case h=1h=1. If Γ∈G(D,3)\Gamma\in\mathcal{G}(\mathbf{D},3), then for any node i∈[n]i\in[n], the 11-neighborhood (Γˉ,i)1(\bar{\Gamma},i)_{1} at ii is uniquely determined by the number of edges exiting node ii. By (25), this number equals ∑c∈CDc(i)\sum_{c\in\mathcal{C}}D_{c}(i), which is independent of Γ\Gamma. Thus, all Γ∈G(D,3)\Gamma\in\mathcal{G}(\mathbf{D},3) satisfy necessarily ψ1(Γˉ)=ψ1(G)\psi_{1}(\bar{\Gamma})=\psi_{1}(G).

Next, we assume that any Γ∈G(D,2h+1)\Gamma\in\mathcal{G}(\mathbf{D},2h+1) satisfies ψh−1(Γˉ)=ψh−1(G)\psi_{h-1}(\bar{\Gamma})=\psi_{h-1}(G), and show that ψh(Γˉ)=ψh(G)\psi_{h}(\bar{\Gamma})=\psi_{h}(G). Since G(D,2h+1)⊂G(D,2(h−1)+1)\mathcal{G}(\mathbf{D},2h+1)\subset\mathcal{G}(\mathbf{D},2(h-1)+1), by induction over hh this will prove the desired result.

Let (u,v)(u,v) be an edge in Γ\Gamma with color (t,t′)(t,t^{\prime}). Notice that in G~\widetilde{G}, uu must have an edge (u,v~)(u,\widetilde{v}) with color (t,t′)(t,t^{\prime}) going out of uu, and vv must have an edge (v,u~)(v,\widetilde{u}) with color (t′,t)(t^{\prime},t) going out of vv. Therefore, [G,u]h−1=t∪th−2,+′[G,u]_{h-1}=t\cup t^{\prime}_{h-2,+} and [G,v]h−1=t′∪th−2,+[G,v]_{h-1}=t^{\prime}\cup t_{h-2,+}. By assumption, (Γˉ,u)h−1=[G,u]h−1(\bar{\Gamma},u)_{h-1}=[G,u]_{h-1} and (Γˉ,v)h−1=[G,v]h−1(\bar{\Gamma},v)_{h-1}=[G,v]_{h-1}. Therefore, the rooted trees T:=Γˉ(v,u)h−1T:=\bar{\Gamma}(v,u)_{h-1} and T′:=Γˉ(u,v)h−1T^{\prime}:=\bar{\Gamma}(u,v)_{h-1} must satisfy

We need to show that t=Tt=T and t′=T′t^{\prime}=T^{\prime}. From (49), one has that it is sufficient to show that Th−2′=th−2′T^{\prime}_{h-2}=t^{\prime}_{h-2} and Th−2=th−2T_{h-2}=t_{h-2}. Truncating (49) at depth h−2h-2 one has

Thus, it is sufficient to show that Th−3′=th−3′T^{\prime}_{h-3}=t^{\prime}_{h-3} and Th−3=th−3T_{h-3}=t_{h-3}. Iterating this reasoning, one finds that it suffices to show that T1′=t1′T^{\prime}_{1}=t^{\prime}_{1} and T1=t1T_{1}=t_{1}. However, this is guaranteed by the fact that the degree of uu in GG and Γˉ\bar{\Gamma} is the same, for any u∈[n]u\in[n]. ∎

We turn to the problem of counting the number of graphs G′∈GnG^{\prime}\in\mathcal{G}_{n} whose hh-neighborhood distribution coincides with that of a given hh-tree-like graph GG. The following is an important corollary of Lemma 4.9.

Fix an arbitrary hh-tree-like graph G∈GnG\in\mathcal{G}_{n}, and define

where D=(D(1),…,D(n))\mathbf{D}=(D(1),\dots,D(n)) is the degree sequence associated to GG via (48), and n(D)n(\mathbf{D}) denotes the number of distinct vectors (D(π1),…,D(πn))∈Dn(D(\pi_{1}),\dots,D(\pi_{n}))\in\mathcal{D}_{n} as π:[n]↦[n]\pi:[n]\mapsto[n] ranges over permutations of the labels.

For a permutation π:[n]↦[n]\pi:[n]\mapsto[n], let Dπ=(D(π1),…,D(πn))\mathbf{D}^{\pi}=(D(\pi_{1}),\dots,D(\pi_{n})). Since the cardinality of G(Dπ,2h+1)\mathcal{G}(\mathbf{D}^{\pi},2h+1) does not depend on π\pi, n(D)∣G(Dπ,2h+1)∣n(\mathbf{D})|\mathcal{G}(\mathbf{D}^{\pi},2h+1)| coincides with the cardinality of ∪πG(Dπ,2h+1)\cup_{\pi}\mathcal{G}(\mathbf{D}^{\pi},2h+1). By Lemma 4.9, any two distinct elements Γ1,Γ2∈∪πG(Dπ,2h+1)\Gamma_{1},\Gamma_{2}\in\cup_{\pi}\mathcal{G}(\mathbf{D}^{\pi},2h+1) yield two distinct graphs Γˉ1,Γˉ2\bar{\Gamma}_{1},\bar{\Gamma}_{2} such that U(Γˉi)h=U(G)hU(\bar{\Gamma}_{i})_{h}=U(G)_{h}, i=1,2i=1,2. This proves that Nh(G)⩾n(D)∣G(D,2h+1)∣N_{h}(G)\geqslant n(\mathbf{D})|\mathcal{G}(\mathbf{D},2h+1)|. On the other hand, any two distinct elements G1,G2∈GnG_{1},G_{2}\in\mathcal{G}_{n} with U(Gi)h=U(G)hU(G_{i})_{h}=U(G)_{h}, i=1,2i=1,2, yield two distinct elements G~1,G~2∈∪πG(Dπ,2h+1)\widetilde{G}_{1},\widetilde{G}_{2}\in\cup_{\pi}\mathcal{G}(\mathbf{D}^{\pi},2h+1) with the map G↦G~G\mapsto\widetilde{G} defined by (48). This proves the other direction. ∎

A last modification is needed: we have Γˉn∈Gn,m~\bar{\Gamma}_{n}\in\mathcal{G}_{n,\widetilde{m}} and we need a graph Γn∈Gn,m\Gamma_{n}\in\mathcal{G}_{n,m}. However, since the number of vertices in (Γˉn,v)h(\bar{\Gamma}_{n},v)_{h} is bounded by κ\kappa, adding or removing one edge in Γˉn\bar{\Gamma}_{n} will change the value of (Γˉn,v)h(\bar{\Gamma}_{n},v)_{h} for at most 2κ2\kappa vertices. Let δ(n)=∣m~−m∣=o(n)\delta(n)=|\widetilde{m}-m|=o(n). Assume first that m~<m\widetilde{m}<m, then we need to add edges to Γˉn\bar{\Gamma}_{n}. We may add δ(n)\delta(n) new edges to Γˉn\bar{\Gamma}_{n} such that any vertex has a most one new adjacent edge. From what precedes, we obtain a graph Γn∈Gn,m\Gamma_{n}\in\mathcal{G}_{n,m} such that U(Γn)h⇝PU(\Gamma_{n})_{h}\rightsquigarrow P. Moreover the support U(Γn)hU(\Gamma_{n})_{h} is contained in Δh,θ+1\Delta_{h,\theta+1}. If m~>m\widetilde{m}>m, we need to remove edges. We remove an arbitrary subset of them of cardinality δ(n)\delta(n). We get a graph Γn∈Gn,m\Gamma_{n}\in\mathcal{G}_{n,m} such that U(Γn)h⇝PU(\Gamma_{n})_{h}\rightsquigarrow P and the support of U(Γn)hU(\Gamma_{n})_{h} is contained in Δh,θ\Delta_{h,\theta}. ∎

7. Proof of Corollary 1.5

Graph counting and Entropy

In this section we prove Theorem 1.2 and Theorem 1.3. The strategy will be as follows. We first establish the cases Σ(ρ)=−∞\Sigma(\rho)=-\infty in Theorem 1.2. We then prove Theorem 1.3, and later complete the proof of Theorem 1.2. In what follows, we fix d>0d>0 and a sequence m=m(n)m=m(n) such that m/n→d/2m/n\to d/2 as n→∞n\to\infty.

Since unimodular measures form a closed subset of P(G∗)\mathcal{P}(\mathcal{G}^{*}), if ρ∉Pu(G∗)\rho\notin\mathcal{P}_{u}(\mathcal{G}^{*}), then for some ε>0\varepsilon>0 one has B(ρ,ε)⊂P(G∗)∖Pu(G∗)B(\rho,\varepsilon)\subset\mathcal{P}(\mathcal{G}^{*})\setminus\mathcal{P}_{u}(\mathcal{G}^{*}). Since U(Gn)∈Pu(G∗)U(G_{n})\in\mathcal{P}_{u}(\mathcal{G}^{*}), then ∣Gn,m(ρ,ε)∣=0|\mathcal{G}_{n,m}(\rho,\varepsilon)|=0. Therefore Σ‾(ρ)=−∞\overline{\Sigma}(\rho)=-\infty for all ρ∉Pu(G∗)\rho\notin\mathcal{P}_{u}(\mathcal{G}^{*}).

From (7), it is sufficient to prove that, for any sequence εn→0\varepsilon_{n}\to 0,

Therefore, for some sequence tn→∞t_{n}\to\infty, one has

where [αnn]={1,…,αnn}[\alpha_{n}n]=\{1,\dots,\alpha_{n}n\}. Next, we check that

if nn is large enough, where we use m/n→d/2m/n\to d/2 and αn→0\alpha_{n}\to 0. Therefore, from Chernov’s bound, for any x>0x>0,

Taking e.g. x=−14log⁡αnx=-\frac{1}{4}\log{\alpha_{n}}, one obtains (54). Moreover, Stirling’s formula implies

We turn to the claim that Σ(ρ)=−∞\Sigma(\rho)=-\infty whenever ρ\rho is not supported on trees.

Suppose ρ∈Pu(G∗)\rho\in\mathcal{P}_{u}(\mathcal{G}^{*}) is such that ρ(T∗)<1\rho(\mathcal{T}^{*})<1. Then there exists ε0>0\varepsilon_{0}>0 such that if 0<ε<ε00<\varepsilon<\varepsilon_{0}, then

In particular, Σ‾(ρ,ε)=−∞\overline{\Sigma}(\rho,\varepsilon)=-\infty, for any 0<ε<ε00<\varepsilon<\varepsilon_{0}.

Since ρ\rho is unimodular, equation (2) applied to ff implies that for some η>0\eta>0,

Thus, if G∈Gn,m(ρ,ε)G\in\mathcal{G}_{n,m}(\rho,\varepsilon) and ε\varepsilon is small enough,

2. Proof of Theorem 1.3 and Theorem 1.2

Notice that if P∈PhP\in\mathcal{P}_{h}, then Jh(P)J_{h}(P) is a well defined extended real number in [−∞,∞)[-\infty,\infty). The fact that Jh(P)⩽s(d)J_{h}(P)\leqslant s(d) follows from Proposition 5.6 below and from the upper bound Σ‾(ρ)⩽s(d)\overline{\Sigma}(\rho)\leqslant s(d), cf. (7).

As before, we fix d>0d>0 and an integer sequence m=m(n)m=m(n) such that m/n→d/2m/n\to d/2 as n→∞n\to\infty. We start with three preliminary lemmas.

The function ρ↦Σ‾(ρ)\rho\mapsto\underline{\Sigma}(\rho) on Pu(G∗)\mathcal{P}_{u}(\mathcal{G}_{*}) is upper semi-continuous.

Consider a sequence (ρk)(\rho_{k}) converging to ρ\rho. We should check that Σ‾(ρ)⩾lim sup⁡Σ‾(ρk)\underline{\Sigma}(\rho)\geqslant\limsup\underline{\Sigma}(\rho_{k}). Observe that for any ε>0\varepsilon>0, for all kk large enough, B(ρ,ε)⊃B(ρk,ε/2)B(\rho,\varepsilon)\supset B(\rho_{k},\varepsilon/2). We get for kk large enough,

Letting kk tend to infinity and then ε\varepsilon to , we obtain the claim. ∎

Proof. A simple truncation argument shows that Aκ\mathcal{A}_{\kappa} is weakly closed. Let QnQ_{n} (resp. QQ) be the law of ∥X∥1=∑i=1p∣Xi∣\|X\|_{1}=\sum_{i=1}^{p}|X_{i}| where XX has law PnP_{n} (resp. PP). If PnkP_{n}^{k} (resp. PkP^{k}) is the conditional law of PnP_{n} (resp. PP) conditioned on ∥X∥1=k\|X\|_{1}=k, we have

and similarly for PP. Since PnkP_{n}^{k} is a probability measure on a finite set of size ck⩽(2k+1)pc_{k}\leqslant(2k+1)^{p}, we have for any kk, Qn(k)→Q(k)Q_{n}(k)\to Q(k), H(Pnk)→H(Pk)H(P_{n}^{k})\to H(P^{k}) as n→∞n\to\infty. Also, H(Pnk)⩽log⁡(ck)⩽plog⁡(2k+1)H(P^{k}_{n})\leqslant\log(c_{k})\leqslant p\log(2k+1). Since ∑kkQn(k)⩽κ\sum_{k}kQ_{n}(k)\leqslant\kappa, using that x/log⁡(2x+1)x/\log(2x+1) is increasing for x⩾1x\geqslant 1, it follows that for θ⩾1\theta\geqslant 1,

This proves the uniform integrability of k↦H(Pnk)k\mapsto H(P_{n}^{k}) for the measures QnQ_{n}. Hence letting first nn and then θ\theta tend to infinity, we get

It thus remains to prove that lim⁡n→∞H(Qn)=H(Q)\lim_{n\to\infty}H(Q_{n})=H(Q). The proof is similar. First, for any θ\theta,

Then, we need to upper bound −∑k⩾θQn(k)log⁡Qn(k)-\sum_{k\geqslant\theta}Q_{n}(k)\log Q_{n}(k), uniformly in nn. It can be done as follows. Observe that ∑k⩾θkQn(k)⩽κ/θ\sum_{k\geqslant\theta}\sqrt{k}Q_{n}(k)\leqslant\kappa/\sqrt{\theta}. We then compute

under the linear constraints, xk⩾0x_{k}\geqslant 0, ∑kxk⩽1\sum_{k}x_{k}\leqslant 1 and ∑k⩾0kxk=δ\sum_{k\geqslant 0}\sqrt{k}x_{k}=\delta. Using Lagrange multipliers denoted by λ\lambda and μ\mu, the solution of this convex optimization problem is of the form xk=e−μ−λkx_{k}=e^{-\mu-\lambda\sqrt{k}} for k⩾0k\geqslant 0 and ∑kxk=1\sum_{k}x_{k}=1. It is then easy to check that as δ→0\delta\to 0, λδ→0\lambda\delta\to 0 and μ→0\mu\to 0. It follows that L(δ)=μ+λδ→0L(\delta)=\mu+\lambda\delta\to 0. It implies that −∑k⩾θQn(k)log⁡Qn(k)⩽L(κ/θ)-\sum_{k\geqslant\theta}Q_{n}(k)\log Q_{n}(k)\leqslant L(\kappa/\sqrt{\theta}) goes to as θ→∞\theta\to\infty uniformly in nn. Letting nn tend to infinity and then θ\theta, it proves that lim⁡n→∞H(Qn)=H(Q)\lim_{n\to\infty}H(Q_{n})=H(Q). This concludes the proof of Lemma 5.5. □\Box

where αk=αk(n)\alpha_{k}=\alpha_{k}(n) stands for the probability of tkt_{k} under U(Γn)hU(\Gamma_{n})_{h}. Since αk→P(tk)\alpha_{k}\to P(t_{k}) as n→∞n\to\infty, Stirling’s formula yields

On the other hand, from Corollary 4.6 we have

where C\mathcal{C} denotes the set of all pairs c=(t,t′)∈Th−1∗×Th−1∗c=(t,t^{\prime})\in\mathcal{T}_{h-1}^{*}\times\mathcal{T}_{h-1}^{*} associated to Γn\Gamma_{n} as in (48), Sc=Scˉ=∑u∈[n]Dc(u)S_{c}=S_{\bar{c}}=\sum_{u\in[n]}D_{c}(u), cˉ=(t′,t)\bar{c}=(t^{\prime},t) if c=(t,t′)c=(t,t^{\prime}). Note that the size of C\mathcal{C} is finite and independent of nn. For a given c=(t,t′)c=(t,t^{\prime}), using the notation (3) one has Sc/n→eP(t,t′).S_{c}/n\to e_{P}(t,t^{\prime}). Also, writing 2m=∑c∈CSc2m=\sum_{c\in\mathcal{C}}S_{c}, (58) can be rewritten as

where GnG_{n} is uniformly distributed in G(D,2h+1)\mathcal{G}(\mathbf{D},2h+1) with D\mathbf{D} as above. From Theorem 4.8, for all ε>0\varepsilon>0 one has

First, the lower semi-continuity of the entropy gives lim inf⁡n→∞H(Pn)⩾H(P)\liminf_{n\to\infty}H(P_{n})\geqslant H(P). We now check that

For ease of notation, we write C=Th−1∗×Th−1∗\mathcal{C}=\mathcal{T}^{*}_{h-1}\times\mathcal{T}^{*}_{h-1}, c=(t,t′)∈Cc=(t,t^{\prime})\in\mathcal{C} and Eh(c)(τ)E_{h}(c)(\tau) to make explicit the dependence in τ∈Th∗\tau\in\mathcal{T}^{*}_{h}. As above, FnF_{n} is the forest obtained from (T,o)(T,o) with law ρ\rho, so that

where φ(τ)=∑clog⁡(Eh(c)(τ)!)\varphi(\tau)=\sum_{c}\log{{\left(E_{h}(c)(\tau)!\right)}} satisfies:

To conclude the proof of (62), it remains to check that lim sup⁡H(πPn)⩽H(πP)\limsup H(\pi_{P_{n}})\leqslant H(\pi_{P}), i.e.

By dominated convergence, for any c∈Cc\in\mathcal{C}, ePn(c)→eP(c)e_{P_{n}}(c)\to e_{P}(c). Since Cθ\mathcal{C}_{\theta} is finite, we find

Let Δ⊂Th∗\Delta\subset\mathcal{T}_{h}^{*} be the support of PP. Define F⊂Th−1∗\mathcal{F}\subset\mathcal{T}^{*}_{h-1} as the set of unlabeled rooted trees t∈Th−1∗t\in\mathcal{T}^{*}_{h-1} such that either T(o,v)h−1=tT(o,v)_{h-1}=t or T(v,o)h−1=tT(v,o)_{h-1}=t for some T∈ΔT\in\Delta. Set L=∣F∣L=|\mathcal{F}|. Also, by adding a fictitious point ⋆\star to F\mathcal{F}, define Fˉ=F∪{⋆}\bar{\mathcal{F}}=\mathcal{F}\cup\{\star\}, and call Cˉ\bar{\mathcal{C}} the associated set of (L+1)×(L+1)(L+1)\times(L+1) colors c=(t,t′)c=(t,t^{\prime}), t,t′∈Fˉt,t^{\prime}\in\bar{\mathcal{F}}. To any graph G∈Gn,mG\in\mathcal{G}_{n,m} we may associate a degree sequence Dˉ=(Dˉ(1),…,Dˉ(n))\bar{\mathbf{D}}=(\bar{D}(1),\dots,\bar{D}(n)), where Dˉ(i)\bar{D}(i) is a (L+1)×(L+1)(L+1)\times(L+1) matrix for each ii, obtained as in (48) by identifying with ⋆\star all neighborhoods that do not belong to F\mathcal{F}. The precise construction is defined as follows. Fix an edge {u,v}\{u,v\} of GG: if G(u,v)h−1=t′G(u,v)_{h-1}=t^{\prime} and G(v,u)h−1=tG(v,u)_{h-1}=t, with t,t′∈Ft,t^{\prime}\in\mathcal{F}, then we say that the oriented pair (u,v)(u,v) has color c=(t,t′)∈Cˉc=(t,t^{\prime})\in\bar{\mathcal{C}}; if either G(u,v)h−1G(u,v)_{h-1} or G(v,u)h−1G(v,u)_{h-1} are not in F\mathcal{F}, then we say that the oriented pair (u,v)(u,v) has color (⋆,⋆)∈Cˉ(\star,\star)\in\bar{\mathcal{C}}. This defines a directed colored graph G~\widetilde{G} with colors from the set Cˉ\bar{\mathcal{C}}. We call Dˉ\bar{\mathbf{D}} the corresponding degree sequence, i.e. Dˉc(i)\bar{D}_{c}(i) is the number of directed edges with color cc going out of vertex ii. Note that by construction, if (u,v)(u,v) has color cc, then (v,u)(v,u) has color cˉ\bar{c}, and that there is no edge with color (t,⋆)(t,\star) or (⋆,t)(\star,t) for any t∈Ft\in\mathcal{F}.

In this way a graph G∈Gn,mG\in\mathcal{G}_{n,m} yields an element G~\widetilde{G} of G^(Dˉ)\widehat{\mathcal{G}}(\bar{\mathbf{D}}). Let Qˉ(G)\bar{Q}(G) denote the empirical degree law

Thus Qˉ(G)\bar{Q}(G) is a probability measure on the set ML+1\mathcal{M}_{L+1}; see Eq. (26). Also, let Pˉ\bar{P} denote the probability measure on ML+1\mathcal{M}_{L+1} induced by PP. Namely, Pˉ\bar{P} is the law of the random matrix D∈ML+1\mathbf{D}\in\mathcal{M}_{L+1} defined as follows: for all c=(t,⋆)c=(t,\star), or c=(⋆,t)c=(\star,t) or c=(⋆,⋆)c=(\star,\star), set Dc=0D_{c}=0; and for c=(t,t′)c=(t,t^{\prime}) with t,t′∈Ft,t^{\prime}\in\mathcal{F}, set Dc=Eh(t′,t)D_{c}=E_{h}(t^{\prime},t), where Eh(t′,t)E_{h}(t^{\prime},t) is defined by (3) if the rooted graph (G,o)(G,o) has law PP. By contraction, one has H(Pˉ)⩽H(P)H(\bar{P})\leqslant H(P) and

Let Pn,m(P,ε)\mathcal{P}_{n,m}(P,\varepsilon) denote the set of probability measures Q∈P(ML+1)Q\in\mathcal{P}(\mathcal{M}_{L+1}) of the form (68), satisfying ∑i∈[n]∑c∈CˉDˉc(i)=2m\sum_{i\in[n]}\sum_{c\in\bar{\mathcal{C}}}\bar{D}_{c}(i)=2m, and such that dTV(Q,Pˉ)⩽εd_{TV}(Q,\bar{P})\leqslant\varepsilon. The above discussion shows that if G∈An,m(P,ε)G\in A_{n,m}(P,\varepsilon), there must exist Q∈Pn,m(P,ε)Q\in\mathcal{P}_{n,m}(P,\varepsilon) such that Qˉ(G)=Q\bar{Q}(G)=Q. Therefore, one obtains

where n(Dˉ)n(\bar{\mathbf{D}}) is defined as in Corollary 4.10, and Dˉ\bar{\mathbf{D}} is the degree vector associated to QQ as in (68).

Next, we claim that for each ε>0\varepsilon>0,

From (69) and (70), to prove (67), it remains to show that

where we use the notation η(ε)\eta(\varepsilon) for an arbitrary function satisfying η(ε)→0\eta(\varepsilon)\to 0 as ε→0\varepsilon\to 0. Since Cˉ\bar{\mathcal{C}} is finite, reasoning as in (57) and using Lemma 5.5, it is easily seen that

where Sˉc=∑i∈[n]Dˉc(i)\bar{S}_{c}=\sum_{i\in[n]}\bar{D}_{c}(i). Observe that

for all c∈Cˉc\in\bar{\mathcal{C}}. This, together with (72)-(73) and the argument in (59) allows us to conclude the proof of (71). This ends the proof of (67).

General case: We now come back to the case of arbitrary P∈PhP\in\mathcal{P}_{h}. For any finite set Δ⊂Th∗\Delta\subset\mathcal{T}^{*}_{h}, we associate the sets C=C(Δ)\mathcal{C}=\mathcal{C}(\Delta) and Cˉ\bar{\mathcal{C}} as above. The above argument establishes that

Assume first that Jh(P)>−∞J_{h}(P)>-\infty. Using (5.2) at the second line, one has

We may then consider a sequence (Δk)(\Delta_{k}) of finite subsets in Th∗\mathcal{T}^{*}_{h} such that P(T∉Δk)→0P(T\notin\Delta_{k})\to 0, and ∑c∉C(Δk)πP(c)log⁡πP(c)→0\sum_{c\notin\mathcal{C}(\Delta_{k})}\pi_{P}(c)\log\pi_{P}(c)\to 0, as k→∞k\to\infty. Then as k→∞k\to\infty, the above expression converges to Jh(P)J_{h}(P). This proves that (66) holds when P∈PhP\in\mathcal{P}_{h} and Jh(P)>−∞J_{h}(P)>-\infty.

The following statement is the extension of Lemma 5.7 to the case ρh∉Ph\rho_{h}\notin\mathcal{P}_{h}.

where J‾h(ρh)=Jh(ρh)\overline{J}_{h}(\rho_{h})=J_{h}(\rho_{h}) if ρh∈Ph\rho_{h}\in\mathcal{P}_{h}, and J‾h(ρh)=−∞\overline{J}_{h}(\rho_{h})=-\infty otherwise.

In view of Lemma 5.7 and Lemma 5.8, Proposition 5.9 is a consequence of the following lemma.

where Q(⋅∣γ)Q(\cdot|\gamma) stands for the conditional distribution of the (h+1)(h+1)-neighborhood given the hh-neighborhood γ\gamma. Also,

Now recall that τ∈Th+1∗\tau\in\mathcal{T}^{*}_{h+1} determines all the coefficients Eh+1(t,t′)E_{h+1}(t,t^{\prime}), (t,t′)∈Th∗×Th∗(t,t^{\prime})\in\mathcal{T}^{*}_{h}\times\mathcal{T}^{*}_{h}, and these can be partitioned according to the pairs (s,s′)∈Th−1∗×Th−1∗(s,s^{\prime})\in\mathcal{T}^{*}_{h-1}\times\mathcal{T}^{*}_{h-1} such that th−1=st_{h-1}=s, th−1′=s′t^{\prime}_{h-1}=s^{\prime}. With this notation, by definition of Q∗Q^{*}, one has, for τ∈Th+1∗\tau\in\mathcal{T}^{*}_{h+1} such that τh=γ\tau_{h}=\gamma:

where the terms {Eh+1(t,t′)}\{E_{h+1}(t,t^{\prime})\} in the multinomial coefficient are all such that th−1=st_{h-1}=s, th−1′=s′t^{\prime}_{h-1}=s^{\prime}, and we write kt,s′(τ):=∣{v∼τo: τ(o,v)h=t, τ(v,o)h−1=s′}∣k_{t,s^{\prime}}(\tau):=|\{v\stackrel{{\scriptstyle\tau}}{{\sim}}o:\,\tau(o,v)_{h}=t,\,\tau(v,o)_{h-1}=s^{\prime}\}|, with th−1=st_{h-1}=s. Therefore,

Now, by definition, if γ=t∪s+′\gamma=t\cup s^{\prime}_{+} and n_{t,s^{\prime}}=\big{|}\{v\stackrel{{\scriptstyle\gamma}}{{\sim}}o:\gamma(v,o)=t,\gamma(o,v)=s^{\prime}\}\big{|}, we have

Using Corollary 4.10, if G^n\widehat{G}_{n} denotes a random graph with uniform distribution in G(D(n),2h+1)\mathcal{G}(\mathbf{D}^{(n)},2h+1), D(n)\mathbf{D}^{(n)} being the degree vector associated to the hh-neighborhood of Γn\Gamma_{n}, one also has

The desired conclusion Jk(ρk)−Jh(ρh)<0J_{k}(\rho_{k})-J_{h}(\rho_{h})<0 now follows from (99) (in Appendix).

Suppose ρ∈Pu(T∗)\rho\in\mathcal{P}_{u}(\mathcal{T}^{*}). Then

The limit J‾∞(ρ)\overline{J}_{\infty}(\rho) is well defined by the monotonicity in Lemma 5.11. The upper bound in Proposition 5.9 shows that Σ‾(ρ)⩽J‾∞(ρ)\overline{\Sigma}(\rho)\leqslant\overline{J}_{\infty}(\rho). Thus, all we have to prove is

By diagonal extraction, there exist sequences hn→∞h_{n}\to\infty and εn→0\varepsilon_{n}\to 0 such that

Since ρhn⇝ρ\rho^{h_{n}}\rightsquigarrow\rho, for any fixed ε>0\varepsilon>0 and all nn large enough, B(ρhn,εn)⊂B(ρ,ε).B(\rho^{h_{n}},\varepsilon_{n})\subset B(\rho,\varepsilon). In particular, ∣Gn,m(ρ,ε)∣⩾∣Gn,m(ρhn,εn)∣{{\left|\mathcal{G}_{n,m}(\rho,\varepsilon)\right|}}\geqslant{{\left|\mathcal{G}_{n,m}(\rho^{h_{n}},\varepsilon_{n})\right|}}. It follows that Σ‾(ρ,ε)⩾J‾∞(ρ)−η.\underline{\Sigma}(\rho,\varepsilon)\geqslant\overline{J}_{\infty}(\rho)-\eta. The latter holding for all ε>0\varepsilon>0 and η>0\eta>0, we have checked that (81) holds. ∎

All the statements in Theorem 1.3 are contained in Proposition 5.6, Proposition 5.9, Lemma 5.11 and Lemma 5.12. Moreover, Lemma 5.12 implies that Σ(ρ)\Sigma(\rho) is well defined and equals J‾∞(ρ)\overline{J}_{\infty}(\rho) for every ρ∈Pu(T∗)\rho\in\mathcal{P}_{u}(\mathcal{T}^{*}), independently of the choice of the sequence m=m(n)m=m(n) with m/n→d/2m/n\to d/2. This completes the proof of Theorem 1.2 and Theorem 1.3 .

3. Proof of Corollary 1.4

where t∈Th∗t\in\mathcal{T}^{*}_{h} while (s,s′)∈Th−1∗×Th−1∗(s,s^{\prime})\in\mathcal{T}^{*}_{h-1}\times\mathcal{T}^{*}_{h-1}, we use the multinomial coefficients introduced in (76), and we define the conditional probability q(⋅∣s,s′)q(\cdot|s,s^{\prime}) on Th−1∗×Th−1∗\mathcal{T}^{*}_{h-1}\times\mathcal{T}^{*}_{h-1} by πQ(t,t′)=πP(s,s′)q(t,t′∣s,s′)\pi_{Q}(t,t^{\prime})=\pi_{P}(s,s^{\prime})q(t,t^{\prime}|s,s^{\prime}). Using (76) and (77), one finds

Next observe that if q∗(⋅∣s,s′):=P^s,s′(t)P^s′,s(t′)q^{*}(\cdot|s,s^{\prime}):=\widehat{P}_{s,s^{\prime}}(t)\widehat{P}_{s^{\prime},s}(t^{\prime}), then πQ∗(t,t′)=πP(s,s′)q∗(⋅∣s,s′)\pi_{Q^{*}}(t,t^{\prime})=\pi_{P}(s,s^{\prime})q^{*}(\cdot|s,s^{\prime}), see Remark 3.4. Moreover, using

where (s,s′)∈Th−1∗×Th−1∗(s,s^{\prime})\in\mathcal{T}^{*}_{h-1}\times\mathcal{T}^{*}_{h-1}, while (t,t′)∈Th∗×Th∗(t,t^{\prime})\in\mathcal{T}^{*}_{h}\times\mathcal{T}^{*}_{h}. From (85) we then obtain the desired conclusion Jh(P)−Jh+1(Q)=Δh+1(ρ)J_{h}(P)-J_{h+1}(Q)=\Delta_{h+1}(\rho). Clearly, the monotonicity in Lemma 5.11 implies that Δh+1(ρ)⩾0\Delta_{h+1}(\rho)\geqslant 0. This yields the seemingly nontrivial inequality d2H(πQ ∣ πQ∗)⩽H(Q∣Q∗)\frac{d}{2}H(\pi_{Q}\,|\,\pi_{Q^{*}})\leqslant H(Q|Q^{*}).

4. Discontinuity of the entropy

However, we have the following discontinuity result:

where DD is the random variable with law P1P_{1}, P2P_{2} respectively, and H((p1,p2))=−∑i=12pilog⁡piH((p_{1},p_{2}))=-\sum_{i=1}^{2}p_{i}\log p_{i}.

Since P(0)=P(1)=0P(0)=P(1)=0 and P(2)<1P(2)<1, we have d>2d>2. ∎

Let us start by a remark. We denote by did_{i} and d^i\hat{d}_{i} the mean of PiP_{i} and P^i\widehat{P}_{i}. Since {0,1}∉S\{0,1\}\notin S, the support of P^i\widehat{P}_{i} is included in {1,⋯ ,θ}\{1,\cdots,\theta\} for some θ\theta. It follows that d^i⩾1\hat{d}_{i}\geqslant 1. Also, d^i=1\hat{d}_{i}=1 implies that P^i=δ1\widehat{P}_{i}=\delta_{1}, hence Pi=δ2P_{i}=\delta_{2}. Since P1≠P2P_{1}\neq P_{2}, we have that either P^1\widehat{P}_{1} or P^2\widehat{P}_{2} is different from δ1\delta_{1}. In particular,

Moreover α>1\alpha>1 implies that ρˇ\check{\rho}-a.s.

Indeed, we consider a tree T′T^{\prime} whose vertex set are the vertices at even distance (in TT) from the root. T′T^{\prime} is obtained by connecting vertices at distance 2h2h from the root to their grandchildren (the offspring of its own offspring), at distance 2(h+1)2(h+1). Then, by construction, all vertices have the same type in T′T^{\prime}. Moreover, conditioned on the root being of type ii, T′T^{\prime} is a Galton-Watson tree where the root has offspring distribution QiQ_{i}, the distribution of ∑k=1NNk\sum_{k=1}^{N}N_{k}, where NN has law PiP_{i}, independent of (Nk)k(N_{k})_{k} an i.i.d. sequence with law P^2\widehat{P}_{2} if i=1i=1 and P^1\widehat{P}_{1} if i=2i=2, and any other vertex in T′T^{\prime} has offspring distribution Qi′Q^{\prime}_{i}, the distribution of ∑k=1N^Nk\sum_{k=1}^{\widehat{N}}N_{k}, where N^\widehat{N} has law P^i\widehat{P}_{i}, independent of (Nk)k(N_{k})_{k} as above. By construction, Qi′Q^{\prime}_{i} has mean α2=d^1d^2\alpha^{2}=\hat{d}_{1}\hat{d}_{2} and T′T^{\prime} has extinction probability . Then (86) is a consequence of the Seneta-Heyde Theorem .

In the sequel, we fix δ>0\delta>0 and take hh large enough such that

Let aˉ=b\bar{a}=b, bˉ=a\bar{b}=a, θ=max⁡(s∈S)\theta=\max(s\in S) and Θ={0,⋯ ,θ}\Theta=\{0,\cdots,\theta\}. We also attach on the vertices of GG a new type in the set R={∙,(a,k),(b,k):k∈Θ}\mathcal{R}=\{\bullet,(a,k),(b,k):k\in\Theta\} defined, for c∈{a,b}c\in\{a,b\}, by τ(u)=(c,k)\tau(u)=(c,k) if

∑v∼Gu1(ω(v)=cˉ)=k\sum_{v\stackrel{{\scriptstyle G}}{{\sim}}u}\mathbf{1}(\omega(v)=\bar{c})=k.

Otherwise, ω(u)=∙\omega(u)=\bullet and we also set τ(u)=∙\tau(u)=\bullet. In words: a vertex has τ\tau-type (c,k)(c,k) if its ω\omega-type is cc and it has exactly kk of its neighbors having ω\omega-type cˉ\bar{c}. We may call this scalar kk the abab-degree of the vertex.

It follows that, for any k∈Sk\in S, c∈{a,b}c\in\{a,b\},

where i=1i=1 if c=ac=a and i=2i=2 if c=bc=b. Equation (87) shows that we can nearly reconstruct the types and the bipartite structure from 2h2h-neighborhoods.

Also, by construction, the maps (G,o)→ω(o)(G,o)\to\omega(o) and (G,o)→τ(o)(G,o)\to\tau(o) are continuous for the local topology. Hence, there exists η(ε)>0\eta(\varepsilon)>0 with η(ε)→0\eta(\varepsilon)\to 0, ε→0\varepsilon\to 0, such that μ∈B(ρ,ε)\mu\in B(\rho,\varepsilon) implies that

For all ε⩽ε(δ)\varepsilon\leqslant\varepsilon(\delta) small enough, η(ε)⩽δ\eta(\varepsilon)\leqslant\delta.

All ingredients are now in order. Consider a sequence m=m(n)m=m(n) such that m(n)/n→d/2m(n)/n\to d/2 where d=2p1d1=2p2d2=2d1d2/(d1+d2)d=2p_{1}d_{1}=2p_{2}d_{2}=2d_{1}d_{2}/(d_{1}+d_{2}). Let Gn∈Gn,m(ρ,ε)G_{n}\in\mathcal{G}_{n,m}(\rho,\varepsilon) with ε⩽ε(δ)\varepsilon\leqslant\varepsilon(\delta). For c∈{a,b,∙}c\in\{a,b,\bullet\} and r∈Rr\in\mathcal{R}, we set

From what precedes and (87), for c∈{a,b}c\in\{a,b\} and k∈Θk\in\Theta,

where i=1i=1 if c=ac=a and i=2i=2 if c=bc=b. We notice also that (na,nb,n∙)(n_{a},n_{b},n_{\bullet}) is an integer partition of nn of length 33 and (nr)r∈R(n_{r})_{r\in\mathcal{R}} is an integer partition of length ∣R∣=2(θ+1)+1|\mathcal{R}|=2(\theta+1)+1.

We now compute an upper bound for ∣Gn,m(ρ,ε)∣|\mathcal{G}_{n,m}(\rho,\varepsilon)|. Fix n=((nc)c∈{a,b},(Nr)r∈R)\mathbf{n}=((n_{c})_{c\in\{a,b\}},(N_{r})_{r\in\mathcal{R}}). We denote by A(n)A(\mathbf{n}) the set of vertex-labeled graphs G=([n],E,ω′,τ′)G=([n],E,\omega^{\prime},\tau^{\prime}) such that for any c∈{a,b}c\in\{a,b\}, r∈Rr\in\mathcal{R} and v∈[n]v\in[n],

ω′(v)∈{a,b,∙}\omega^{\prime}(v)\in\{a,b,\bullet\} and τ′(v)∈R\tau^{\prime}(v)\in\mathcal{R} ;

τ′(v)=(c,k)\tau^{\prime}(v)=(c,k) iif ω′(v)=c\omega^{\prime}(v)=c and ∑u∼Gv1(ω′(u)=cˉ)=k\sum_{u\stackrel{{\scriptstyle G}}{{\sim}}v}\mathbf{1}(\omega^{\prime}(u)=\bar{c})=k ;

nc=∑v1(ω′(v)=c)n_{c}=\sum_{v}\mathbf{1}(\omega^{\prime}(v)=c) and Nr=∑v=1n1(τ′(v)=r)N_{r}=\sum_{v=1}^{n}\mathbf{1}(\tau^{\prime}(v)=r).

where the maximum is over all pairs of integer partitions ((nc)c∈{a,b,∙},(Nr)r∈R)((n_{c})_{c\in\{a,b,\bullet\}},(N_{r})_{r\in\mathcal{R}}) satisfying (88).

In words, m∘m_{\circ} is the number of abab-edges (i.e. adjacent to a vertex of ω′\omega^{\prime}-type aa and a vertex of ω′\omega^{\prime}-type bb), m∙m_{\bullet} counts all the other edges. Summing (88) over c∈{a,b}c\in\{a,b\}, k∈Θk\in\Theta, yields

Since m=m∙+m∘=nd/2+o(n)m=m_{\bullet}+m_{\circ}=nd/2+o(n). It follows that

where O(⋅)O(\cdot) depends only on θ\theta.

where: the first term counts the number of ways to partition [n][n] into three blocks of sizes na,nbn_{a},n_{b} and n∙n_{\bullet}; the second and third terms subdivide each of the blocks in terms of the abab-degrees of the vertices; the fourth term upper bounds the number of ways to realize the abab-degree sequence (reasoning as in Lemma 4.3); the last term bounds the number of ways to put the remaining m∙m_{\bullet} edges.

We set p=(pa,pb,p∙)p=(p_{a},p_{b},p_{\bullet}) with pc=nc/np_{c}=n_{c}/n and for r=(c,k)∈Rr=(c,k)\in\mathcal{R}, Pc(k)=N(c,k)/ncP_{c}(k)=N_{(c,k)}/n_{c}. Using Stirling’s approximation, we obtain

where o(⋅)o(\cdot) depends only on θ\theta. Using our estimates in terms of δ\delta, we get

Letting n→∞n\to\infty and then δ→0\delta\to 0, the lemma follows. ∎

Large deviation principles

so that m/n→d/2m/n\to d/2 as n→∞n\to\infty, and define the set

Each element of G(dn)\mathcal{G}(\mathbf{d}_{n}) is isomorphic to exactly n(d)n(\mathbf{d}) graphs in GPn\mathcal{G}_{P_{n}}, i.e. n(d)∣G(d)∣=∣GPn∣n(\mathbf{d})|\mathcal{G}(\mathbf{d})|=|\mathcal{G}_{P_{n}}|, where n(d)n(\mathbf{d}) denotes the number of distinct vectors (d(π1),…,d(πn))(d(\pi_{1}),\dots,d(\pi_{n})) as π:[n]↦[n]\pi:[n]\mapsto[n] ranges over permutations of the vertex labels. Since U(G)U(G) is invariant under isomorphisms, Theorem 1.6 is equivalent to the same statement where GnG_{n} is a random graph uniformly distributed in GPn\mathcal{G}_{P_{n}} rather than in G(d)\mathcal{G}(\mathbf{d}). Thus, for the rest of this proof GnG_{n} will denote a uniform graph in GPn\mathcal{G}_{P_{n}}.

Since U(Gn)U(G_{n}) is unimodular, we may restrict to the closed subspace Pu(G∗)\mathcal{P}_{u}(\mathcal{G}^{*}). Let K⊂Pu(G∗)\mathcal{K}\subset\mathcal{P}_{u}(\mathcal{G}^{*}) denote the compact set of unimodular probability measures supported by graphs with degree bounded by θ\theta. Unimodularity implies that ρ∈K\rho\in\mathcal{K} is equivalent to ρ\rho being supported by graphs such that the degree at the root is bounded by θ\theta. By construction, U(Gn)∈KU(G_{n})\in\mathcal{K} and P∈KP\in\mathcal{K}. Therefore, if ρ∈Pu(G∗)\rho\in\mathcal{P}_{u}(\mathcal{G}^{*}) is such that ρ1=P\rho_{1}=P, then ρ∈K\rho\in\mathcal{K}. From general principles, see e.g. [17, Ch. 4], the theorem follows if we prove that: (i) for any ρ∈K\rho\in\mathcal{K} with ρ1=P\rho_{1}=P, δ>0\delta>0,

On the other hand, the lower bound in Proposition 5.6 proves that for fixed δ>0\delta>0, one has

2. Proof of Theorem 1.7

We start with a proof of exponential tightness. Let c⩾1c\geqslant 1 and let GnG_{n} be a random graph sampled uniformly on Gn,m\mathcal{G}_{n,m}, where m=m(n)m=m(n) is an arbitrary sequence satisfying

The random probability measure ρn:=U(Gn)\rho_{n}:=U(G_{n}) is an element of Pu(G∗)\mathcal{P}_{u}(\mathcal{G}^{*}).

The sequence of random variables ρn\rho_{n} is exponentially tight in Pu(G∗)\mathcal{P}_{u}(\mathcal{G}^{*}), i.e. for any z⩾1z\geqslant 1, there exists a compact set Πz⊂Pu(G∗)\Pi_{z}\subset\mathcal{P}_{u}(\mathcal{G}^{*}) such that

For y⩾1y\geqslant 1 and x∈(0,1)x\in(0,1), we define

In view of Lemma 2.3, (92) implies the lemma.

To prove (92), we may restrict ourself to subsets S⊂[n]S\subset[n] of cardinality at most ∣S∣⩽nε0|S|\leqslant n\varepsilon_{0}, with ε0=δy−1(1)=e−2y/c⩽e−2y\varepsilon_{0}=\delta_{y}^{-1}(1)=e^{-2y}/c\leqslant e^{-2y}. From the union bound,

Taking x=−12log⁡(cε)x=-\frac{1}{2}\log(c\varepsilon) one finds

On the other hand, from Stirling’s formula, there exists a constant CC such that

where H(ε)=−εlog⁡ε−(1−ε)log⁡(1−ε)H(\varepsilon)=-\varepsilon\log\varepsilon-(1-\varepsilon)\log(1-\varepsilon). Since ε⩽ε0=e−2y\varepsilon\leqslant\varepsilon_{0}=e^{-2y}, these bounds imply the desired conclusion (92). ∎

We turn to the proof of Theorem 1.7. Fix d>0d>0 and a sequence m=m(n)m=m(n) such that m/n→d/2m/n\to d/2, as n→∞n\to\infty. Thanks to Lemma 6.2, from general principles, see e.g. [17, Ch. 4], it is sufficient to establish: (i) for any ρ∈Pu(G∗)\rho\in\mathcal{P}_{u}(\mathcal{G}^{*}) and δ>0\delta>0,

and (ii) for any ρ∈Pu(G∗)\rho\in\mathcal{P}_{u}(\mathcal{G}^{*})

However, both the lower bound (93) and the upper bound (94) follow immediately from the definition of Σ(ρ)\Sigma(\rho), Theorem 1.2 and (7). This ends the proof.

3. Proof of Theorem 1.8

The sequence 2M(n)/n2M(n)/n satisfies the LDP in [0,∞)[0,\infty) with speed nn and good rate function

We need to prove that ρn=U(Gn)\rho_{n}=U(G_{n}) satisfies a LDP on Pu(G∗)\mathcal{P}_{u}(\mathcal{G}^{*}) with speed nn and good rate function

4. Proof of Corollary 1.9 and Corollary 1.10

Appendix A Local convergence for generalized configuration model

The proof of Proposition A.1 is based on an exploration process of the neighborhood of a vertex. We shall use the notation of Section 4. For ease of notation, we will often omit the dependence on nn from our notation. Let D=(D(1),⋯ ,D(n))∈Dn\mathbf{D}=(D(1),\cdots,D(n))\in\mathcal{D}_{n}, σ∈Σ\sigma\in\Sigma and G=Γ(σ)G=\Gamma(\sigma) the associated multigraph. To be precise, we specify the set W=∪c∈CWcW=\cup_{c\in\mathcal{C}}W_{c} to be Wc={(c,i,j):i∈[n],1⩽j⩽Dc(i)}W_{c}=\{(c,i,j):i\in[n],1\leqslant j\leqslant D_{c}(i)\} and W(i)={(c,i,j):c∈C,1⩽j⩽Dc(i)}W(i)=\{(c,i,j):c\in\mathcal{C},1\leqslant j\leqslant D_{c}(i)\} the set of half-edges of all colors starting from ii. With a slight abuse of notation, we will sometimes write for e=(c,i,j)∈We=(c,i,j)\in W, σ(e)\sigma(e) in place of σc(i,j)\sigma_{c}(i,j).

If σ(et+1)∉A(t)\sigma(e_{t+1})\notin A(t), we also set ϕ((it,jt))=vt+1\phi((\mathbf{i}_{t},j_{t}))=v_{t+1}. Finally, if A(t)=∅A(t)=\emptyset, then the exploration process stops.

We now define X(0)=D(v)X(0)=D(v) and for integer t⩾1t\geqslant 1, Xc(t+1)=∣{(i,j):(c,i,j)∈It+1}∣X_{c}(t+1)=|\{(i,j):(c,i,j)\in I_{t+1}\}|. Hence X(t)∈MLX(t)\in\mathcal{M}_{L} gives the new colored half-edges attached to vtv_{t}. For ease of notation, we also set

Setting Ac=A∩WcA_{c}=A\cap W_{c}, Uc=U∩WcU_{c}=U\cap W_{c} and Cc=C∩WcC_{c}=C\cap W_{c}, we get

Note that ∣Cc(t)∣=∣Ccˉ(t)∣|C_{c}(t)|=|C_{\bar{c}}(t)| and, if c∈C=c\in\mathcal{C}_{=}, ∣Cc(t)∣|C_{c}(t)| is even.

The hitting time τ\tau is a stopping time for this filtration. Also, given Ft\mathcal{F}_{t}, if {t<τ}\{t<\tau\} and ct=c∈C≠c_{t}=c\in\mathcal{C}_{\neq}, then σ(et+1)\sigma(e_{t+1}) is uniformly distributed on Ucˉ(t)∪Acˉ(t)U_{\bar{c}}(t)\cup A_{\bar{c}}(t). It follows that for u∈[n]u\in[n],

Similarly, given Ft\mathcal{F}_{t}, if {t<τ}\{t<\tau\} and ct=c∈C=c_{t}=c\in\mathcal{C}_{=}, σ(et+1)\sigma(e_{t+1}) is uniformly distributed on Uc(t)∪Ac(t)\{et+1}U_{c}(t)\cup A_{c}(t)\backslash\{e_{t+1}\}. We find in this case,

In either case , for c∈Cc\in\mathcal{C}, if σ(et+1)∈U(t)\sigma(e_{t+1})\in U(t), then X(t+1)=D(vt+1)−EcˉX(t+1)=D(v_{t+1})-E^{\bar{c}} otherwise, σ(et+1)∈A(t)\sigma(e_{t+1})\in A(t) and X(t+1)=0X(t+1)=0. We recall also that ∣Uc(t)∣+∣Ac(t)∣=∣Wc∣−∣Cc(t)∣=∣Wcˉ∣−∣Ccˉ(t)∣|U_{c}(t)|+|A_{c}(t)|=|W_{c}|-|C_{c}(t)|=|W_{\bar{c}}|-|C_{\bar{c}}(t)|. We get, for M∈MLM\in\mathcal{M}_{L}, if ct=cc_{t}=c then

Observe that, from (96) and assumption (H1), we find for any c∈Cc\in\mathcal{C},

The next lemma computes the limiting marginals of the exploration process.

Under the assumption of Proposition A.1, let oo be uniformly distributed on [n][n], independently of GnG_{n}, and consider the exploration process on the rooted graph (Gn(o),o)(G_{n}(o),o). For any integer t⩾0t\geqslant 0, as n→∞n\to\infty:

Since X(0)=D(o)X(0)=D(o), statement (i) is simply a restatement of the assumption (H2).

For statement (ii), we first note that the set {i∈[n]:i∉U(t)}\{i\in[n]:i\notin U(t)\} has cardinality bounded by 1+θL2t1+\theta L^{2}t. It follows by (97) that, if {t<τ}\{t<\tau\} and ct=cc_{t}=c hold, for any M∈MLM\in\mathcal{M}_{L},

The latter follows from statement (ii) (recall that cˉ∈C0\bar{c}\in\mathcal{C}_{0}). ∎

We introduce a variable that counts the number of times that two elements in the active sets are matched by step tt:

Under the assumption of Proposition A.1, let oo be uniformly distributed on [n][n], independently of GnG_{n}, and consider the exploration process on the rooted graph (Gn(o),o)(G_{n}(o),o). For every integer t⩾0t\geqslant 0, we have

If t⩽τt\leqslant\tau and E(t)=0E(t)=0, the subgraph of GnG_{n} spanned by the vertices with all their half-edges in C(t)C(t) is an directed colored tree.

If E(t∧τ)≠0E(t\wedge\tau)\neq 0, there exists an integer 1⩽s⩽t∧τ1\leqslant s\leqslant t\wedge\tau such that σ(es)∈A(s−1)\sigma(e_{s})\in A(s-1). Using (97), it follows from the union bound and the fact that {s<τ}∈Fs\{s<\tau\}\in\mathcal{F}_{s},

All ingredients of the proof of Proposition A.1 are now gathered.

For some m=∑k=0t−1(θL2)km=\sum_{k=0}^{t-1}(\theta L^{2})^{k}, (Gn(o),o)t(G_{n}(o),o)_{t} has at most mm vertices. However, by Lemma A.3, with high probability, Em∧τ=0E_{m\wedge\tau}=0 and (Gn(o),o)t(G_{n}(o),o)_{t} is a rooted directed colored tree. Applying now Lemma A.2, we deduce that

A.2. Concentration Inequalities

We are going to state a concentration inequality for the configuration model. We use the notation of Section 4. We fix an integer L⩾1L\geqslant 1 and consider a set of colors C={(i,j):1⩽i,j⩽L}\mathcal{C}=\{(i,j):1\leqslant i,j\leqslant L\}, D=(D(1),⋯ ,D(n))∈Dn\mathbf{D}=(D(1),\cdots,D(n))\in\mathcal{D}_{n} and Σ=Σ(D)\Sigma=\Sigma(\mathbf{D}) be the set of configurations. We shall say that m∈Σm\in\Sigma and m′∈Σm^{\prime}\in\Sigma differ by at most one switch if there exists c∈C⩽c\in\mathcal{C}_{\leqslant} such that for all c′≠cc^{\prime}\neq c, mc′=mc′′m_{c^{\prime}}=m^{\prime}_{c^{\prime}} and a set J⊂WcJ\subset W_{c}, with ∣J∣⩽2|J|\leqslant 2 if c∈C≠c\in\mathcal{C}_{\neq} or ∣J∣⩽4|J|\leqslant 4 if c∈C=c\in\mathcal{C}_{=}, and for all x∈Wc\Jx\in W_{c}\backslash J, m(x)=m′(x)m(x)=m^{\prime}(x). In other words, if c∈C≠c\in\mathcal{C}_{\neq}, mc′∘mc−1m^{\prime}_{c}\circ m_{c}^{-1} is either the identity (∣J∣=0|J|=0) or a transposition (∣J∣=2|J|=2). Similarly, for c∈C=c\in\mathcal{C}_{=}, mc′∘mc−1m^{\prime}_{c}\circ m_{c}^{-1} is either the identity (∣J∣=0|J|=0) or the composition of two disjoint transpositions (∣J∣=4|J|=4).

In the special case L=1L=1, the next proposition appears in Wormald [32, Theorem 2.19].

Then, if σ\sigma is uniformly sampled from Σ\Sigma, for any t>0t>0,

The proof will be given in Section A.2.2 below.

By assumption we have for any c∈Cc\in\mathcal{C}, i∈[n]i\in[n], Dc(i)⩽θD_{c}(i)\leqslant\theta. We may thus assume without loss of generality that γ\gamma has degrees bounded by θ\theta. We set

The number of vertices in GnG_{n} which are at distance at most kk from both endpoints of any given edge is bounded by κ=2∑s=0k−1(θL2)s\kappa=2\sum_{s=0}^{k-1}(\theta L^{2})^{s}. If two configurations m,m′m,m^{\prime} in Σ\Sigma differ by at most one switch then ∣f(m)−f(m′)∣⩽4κ|f(m)-f(m^{\prime})|\leqslant 4\kappa. Indeed, a switch changes the status at most 44 edges and the addition or the removal of an edge can modify for at most κ\kappa vertices the value of 1((Gn(i),i)k≃γk)\mathbf{1}((G_{n}(i),i)_{k}\simeq\gamma_{k}). It remains to apply Proposition A.4, with F(σ)=f(σ)/nF(\sigma)=f(\sigma)/n and N=O(n)N=O(n). ∎

It remains to apply again Borel-Cantelli’s lemma and Proposition A.1. □\Box

where ρn=U(Gn)\rho_{n}=U(G_{n}) and ρ^n=U(G^n)\widehat{\rho}_{n}=U(\widehat{G}_{n}).

A.2.2. Proof of Proposition A.4

The proof is a consequence of Azuma-Hoeffding’s inequality.

If AA is a finite set, we denote by M(A)\mathbf{M}(A) the set of perfect matchings on AA. With our previous notation Σ=M(W)\Sigma=\mathbf{M}(W). For 1⩽k⩽N/21\leqslant k\leqslant N/2, an element σ\sigma of M(W)\mathbf{M}(W) can be uniquely decomposed into (σk−1−,σk+)(\sigma^{-}_{k-1},\sigma^{+}_{k}) where σk−1−\sigma^{-}_{k-1} is the restriction of σ\sigma to the k−1k-1 smallest pairs and σk+\sigma^{+}_{k} is the rest. Let Wk−1W^{k-1} denote the subset of WW such that σk−1−\sigma^{-}_{k-1} is a perfect matching on Wk−1W^{k-1}.

If vkv_{k} is the smallest element of W\Wk−1W\backslash W^{k-1}, we set wk=σ(vk)∈W\Wk−1w_{k}=\sigma(v_{k})\in W\backslash W^{k-1}, so that Wk=Wk−1∪{vk,wk}W^{k}=W^{k-1}\cup\{v_{k},w_{k}\}. Now, for w∈W\(Wk−1∪{vk})w\in W\backslash(W^{k-1}\cup\{v_{k}\}), let Mw\mathbf{M}_{w} denote the set of matchings of W\Wk−1W\backslash W^{k-1} such that m(vk)=wm(v_{k})=w. Then for any w,w′∈W\(Wk−1∪{vk})w,w^{\prime}\in W\backslash(W^{k-1}\cup\{v_{k}\}), each m∈Mwm\in\mathbf{M}_{w} corresponds to a unique m′∈Mw′m^{\prime}\in\mathbf{M}_{w^{\prime}} through the switch {{vk,w},{w′,z}}→{{vk,w′},{w,z}}\{\{v_{k},w\},\{w^{\prime},z\}\}\to\{\{v_{k},w^{\prime}\},\{w,z\}\}, where m(w′)=zm(w^{\prime})=z. This gives a bijection between Mw\mathbf{M}_{w} and Mw′\mathbf{M}_{w^{\prime}}, and we set Nk=∣Mw∣N_{k}=|\mathbf{M}_{w}|. By assumption, we deduce that for any w,w′w,w^{\prime},

Applying the above inequality to wkw_{k}, we deduce that

We may then apply Azuma-Hoeffding’s inequality to the martingale ZkZ_{k}. We obtain that for any t>0t>0,

With minor modifications, the above argument shows that, for 1⩽k⩽N1\leqslant k\leqslant N, ∣Zk−1−Zk∣⩽κ|Z_{k-1}-Z_{k}|\leqslant\kappa. Then, by Azuma-Hoeffding’s inequality, we find for t⩾0t\geqslant 0,

Acknowledgments

We thank Justin Salez for bringing reference to our attention and Bálint Virág for a discussion on the discontinuity of the entropy. This work was supported by the GDRE GREFI-MEFI CNRS-INdAM. Partial support of the European Research Council through the Advanced Grant PTRELSS 228032 and ANR-11-JS02-005-01 is also acknowledged.

References