Degree sequences of random digraphs and bipartite graphs

Brendan D. McKay, Fiona Skerman

Introduction

We will study the joint distributions of the vertex degrees for three different models of random bipartite graphs. In each case, we construct simpler probability spaces which match these distributions to high precision. The new probability spaces are based on independent binomial distributions and allow asymptotic calculations of any random variable which is a function of the degrees and has maximum at most polynomially greater than its expectation. In Section 2.1 we will show an example of such a calculation. Note that our results are much stronger than contiguity or decreasing total variation distance. These results are similar to those obtained by McKay and Wormald for the case of ordinary (not necessarily bipartite) graphs.

We prefer to use graph terminology, but will also describe the problem in the matrix and other settings. Consider a probability space of m×nm\times n matrices over {0,1}\{0,1\}. Three probability spaces will be considered. In the first case, which we call Gp{\mathcal{G}}_{p}, some number p∈(0,1)p\in(0,1) is specified and each entry of the matrix is independently equal to 1 with probability pp and equal to 0 otherwise. In the second case, which we call Gk{\mathcal{G}}_{k}, some integer kk is specified, and all m×nm\times n binary matrices with exactly kk ones have the same probability, and no other matrices are allowed. In the third case, which we call Gt{\mathcal{G}}_{\textit{{t}}}, a list of nn integers t1,…,tnt_{1},\ldots,t_{n} is specified, and all m×nm\times n binary matrices with column sums t1,…,tnt_{1},\ldots,t_{n}, respectively, are equally likely and no others are allowed.

We can interpret the matrix as a bipartite graph in the standard fashion. Associate distinct vertices U={u1,…,um}U=\{u_{1},\ldots,u_{m}\} with the rows, and V={v1,…,vn}V=\{v_{1},\ldots,v_{n}\} with the columns, and place an edge between uiu_{i} and vjv_{j} exactly when the matrix entry in position (i,j)(i,j) equals 1. The row and column sums of the matrix correspond to the degrees of the vertices.

These probability models have also appeared in other settings. Given mm bins, at each stage j=1,…,nj=1,\ldots,n throw tjt_{j} balls into distinct bins with all (mtj)\binom{m}{t_{j}} possible placings equally likely. Then the distribution of the number of balls in each bin S=(S1,…,Sm){\textit{{S}}}=(S_{1},\ldots,S_{m}) can be studied. This model is referred to as allocation by complexes and is precisely our Gt{\mathcal{G}}_{\textit{{t}}} model. If we allow the number of balls thrown to be a random variable TjT_{j}, binomially distributed with parameters (m,p)(m,p), we attain the Gp{\mathcal{G}}_{p} model.

Similarly, in the coupon collection problem a customer repeatedly buys a random number, TT, of distinct coupons from a set of mm possible different coupons. This covers both our Gp{\mathcal{G}}_{p} case when TT is binomially distributed with parameters (m,p)(m,p) and our Gt{\mathcal{G}}_{\textit{{t}}} case where Tj=tjT_{j}=t_{j} with probability 1. (Here, our vector s describes the number of each coupon collected and t the number of coupons collected at each stage.)

Finally, consider a hypergraph on mm vertices. At each stage j=1,…,nj=1,\ldots,n, choose at random a hyperedge of size tjt_{j}, allowing multi-edges. Then if we set SiS_{i} to be the number of hyperedges which contain the iith vertex, we obtain the Gt{\mathcal{G}}_{\textit{{t}}} model.

If m=nm=n, we can also associate the matrix with a directed graph. There are nn vertices {w1,…,wn}\{w_{1},\ldots,w_{n}\}. A matrix entry equal to 1 in position (i,j)(i,j) corresponds to a directed edge from wiw_{i} to wjw_{j}. The case i=ji=j is permitted, so these directed graphs can have loops. The row and column sums of the matrix correspond to the out-degrees and in-degrees, respectively, of the directed graph. We will also treat the case of loop-free digraphs, which correspond to square matrices with zero diagonal. Our methods would also work if some other limited set of matrix entries are required to be zero, but we have not applied them in that case.

We now continue using the bipartite graph formulation. For each of the three probability spaces of random bipartite graphs, we seek to examine the (m+n)(m{+}n)-dimensional joint distribution of the vertex degrees. If GG is a bipartite graph on U∪VU\cup V (respecting the partition into UU and VV), then s=s(G)=(s1,…,sm){\textit{{s}}}={\textit{{s}}}(G)=(s_{1},\ldots,s_{m}) is the list of degrees of u1,…,umu_{1},\ldots,u_{m}, and t=t(G)=(t1,…,tn){\textit{{t}}}={\textit{{t}}}(G)=(t_{1},\ldots,t_{n}) is the list of degrees of v1,…,vnv_{1},\ldots,v_{n}. We call the pair (s,t)({\textit{{s}}},{\textit{{t}}}) the degree sequence of GG.

Define In={0,1,…,n}I_{n}=\{0,1,\ldots,n\} and Im,n=Inm×ImnI_{m,n}=I_{n}^{m}\times I_{m}^{n}. Also let G(s,t)G({\textit{{s}}},{\textit{{t}}}) be the number of (labelled) bipartite graphs on U∪VU\cup V with degree sequence (s,t)({\textit{{s}}},{\textit{{t}}}). In the case of m=nm=n, we also define \mathaccent382G(s,t)\mathaccent 382{G}({\textit{{s}}},{\textit{{t}}}) to be the number of loop-free digraphs with in-degrees s and out-degrees t.

For precision we need to distinguish between random variables (written in uppercase) and the values they may take (written in lowercase). For each probability space of random graphs, as determined by the context, S=(S1,…,Sm){\textit{{S}}}=(S_{1},\ldots,S_{m}) will denote the random variable given by the degrees in UU and T=(T1,…,Tn){\textit{{T}}}=(T_{1},\ldots,T_{n}) will denote the random variable given by the the degrees in VV. We will take S to have range InmI_{n}^{m} and T to have range ImnI_{m}^{n}. Also define random variables

As usual, qq is an abbreviation for 1−p1-p.

The Gt{\mathcal{G}}_{\textit{{t}}} model has received wide ranging attention, in particular the distribution of the number of isolated vertices. This is also a natural question in the alternative (non-graph) wordings of the model. It corresponds to the number of empty bins in the allocation model , the number of uncollected coupons in the collector’s problem , the number of isolated vertices in the hypergraph model and the number of zero rows in the binary matrix model . More generally, the number of vertices with a particular degree (or range of degrees) in Gt{\mathcal{G}}_{\textit{{t}}} has been studied in allocation , graph and matrix models . A different extension on this theme is to study the distribution of the number of draws required to go from ii to jj non-empty bins . In a similar direction, Khakimullin and Enatskaya studied the distribution of the number of draws to exceed a particular lineup in the bins in the Gt{\mathcal{G}}_{\textit{{t}}} model and in the i.i.d. case which includes the Gp{\mathcal{G}}_{p} model as well . The monograph by Kolchin gives many results on Gt{\mathcal{G}}_{\textit{{t}}} phrased as the balls and bins model .

We are interested in asymptotic results as we take m,nm,n roughly equal as they tend to infinity, but another natural option is to fix mm, the number of vertices in one part, and let nn, the number of vertices in the other part, tend to infinity. There seems to be a consistent divide in the literature that when considered as a graph the asymptotics of Gt{\mathcal{G}}_{\textit{{t}}} are studied with m,nm,n both tending towards infinity while the balls and bins and coupon collection articles (including those cited above) fix mm and take nn tending toward infinity. The latter corresponds to fixing the number of bins and taking the number of balls to infinity or having a fixed number of coupons and letting the number of sampling rounds tend to infinity.

In the other two probability models on bipartite graphs, Gp{\mathcal{G}}_{p} and Gk{\mathcal{G}}_{k}, two types of results are known: those on the minimum and maximum degrees and those on the number of vertices with a given degree . For results in the digraph counterpart \mathaccent382Gp\mathaccent 382{\mathcal{G}}_{p} see (and below). The model Gp{\mathcal{G}}_{p} also appears in papers on ball and bin models. Sometimes the numbers of balls thrown at each stage are allowed to be i.i.d. random variables . If we then set these random variables to be binomially distributed with parameters m,pm,p we recover the Gp{\mathcal{G}}_{p} model. Godbole et. al. study the number of sets of rr mutually threatening rooks. This corresponds to the number of vertices with h≥rh\geq r weighted by (hr)\binom{h}{r} in our Gp{\mathcal{G}}_{p} and Gk{\mathcal{G}}_{k} models.

Palka and Sperling showed that if we fix pp such that np=w(n)log⁡n=o(n)np=w(n)\log n=o(n), then any fixed number of the smallest and largest degrees are unique in \mathaccent382Gp\mathaccent 382{\mathcal{G}}_{p} and in the uniform Gt{\mathcal{G}}_{\textit{{t}}} model . A similar result for the \mathaccent382Gt\mathaccent 382{\mathcal{G}}_{\textit{{t}}} model is shown by Palka in , where t=(d,d,…,d){\textit{{t}}}=(d,d,\ldots,d) and d=w(n)log⁡n=o(n)d=w(n)\log n=o(n). There is also some work on the degrees in random digraphs by Jaworski and Karoński who showed, in the case that t=(d,d,…,d){\textit{{t}}}=(d,d,\ldots,d) and d=o(n)d=o(n), that the minimum vertex degree in Gt{\mathcal{G}}_{\textit{{t}}} is almost surely the same as that in \mathaccent382Gt\mathaccent 382{\mathcal{G}}_{\textit{{t}}}.

2 Asymptotic notation

As we are dealing with asymptotics of functions of many variables, we must be careful to define our asymptotic notation.

3 Graph models

We now define a sequence of finite probability spaces that we call “models”, with sample space either I(m,n)=Inm×ImnI(m,n)=I^{m}_{n}\times I^{n}_{m} or InmI^{m}_{n}. The probability measure for each model will be defined using random variables (S,T)({\textit{{S}}},{\textit{{T}}}) or S, respectively, whose distribution equals the respective probability measure. In general our notation will not distinguish between each probability space and its probability measure.

We first consider six models whose probability measures are derived from the degrees of a random bipartite graph or digraph GG.

(pp-models Gp,\mathaccent382Gp{\mathcal{G}}_{p},\mathaccent 382{\mathcal{G}}_{p}, for 0<p<10<p<1) Generate GG by choosing each of the mnmn possible edges uivju_{i}v_{j} with probability pp, such choices being independent. The probability distribution Gp=Gp(m,n){\mathcal{G}}_{p}={\mathcal{G}}_{p}(m,n) on Im,nI_{m,n} is that of the degree sequence (S,T)({\textit{{S}}},{\textit{{T}}}) of GG. If m=nm=n and the edges {uivi}\{u_{i}v_{i}\} are forbidden, we obtain the probability distribution \mathaccent382Gp\mathaccent 382{\mathcal{G}}_{p} instead, corresponding to the degree sequences of a loop-free digraph where each possible directed edge is chosen independently with probability pp. Note that G(s,t)=0G({\textit{{s}}},{\textit{{t}}})=0 for many pairs (s,t)({\textit{{s}}},{\textit{{t}}}). We have

where q=1−pq=1-p and k=∑i=1msik=\sum_{i=1}^{m}s_{i}.

(kk-models Gk,\mathaccent382Gk{\mathcal{G}}_{k},\mathaccent 382{\mathcal{G}}_{k}, for integer k≥0k\geq 0) Generate GG by choosing each of the bipartite graphs on U∪VU\cup V having kk edges, with equal probability. The probability distribution Gk=Gk(m,n){\mathcal{G}}_{k}={\mathcal{G}}_{k}(m,n) on Im,nI_{m,n} is that of the degree sequence (S,T)({\textit{{S}}},{\textit{{T}}}) of GG. If m=nm=n and the edges {uivi}\{u_{i}v_{i}\} are forbidden, we obtain the distribution \mathaccent382Gk=\mathaccent382Gk(n)\mathaccent 382{\mathcal{G}}_{k}=\mathaccent 382{\mathcal{G}}_{k}(n) of the degree-sequences for the uniform probability space of all loop-free digraphs with kk edges. We have

(t-models Gt,\mathaccent382Gt{\mathcal{G}}_{\textit{{t}}},\mathaccent 382{\mathcal{G}}_{\textit{{t}}}, for t∈Imn{\textit{{t}}}\in I_{m}^{n}) Generate GG by choosing each of the bipartite graphs on U∪VU\cup V having t(G)=t{\textit{{t}}}(G)={\textit{{t}}}, with equal probability. For consistency we can define the random variable T to have the value t, but since this is constant we will define our probability spaces using S only. The probability distribution Gt=Gt(m){\mathcal{G}}_{\textit{{t}}}={\mathcal{G}}_{\textit{{t}}}(m) on InmI_{n}^{m} is that of the degree sequence S of GG in UU. If m=nm=n and the edges {uivi}\{u_{i}v_{i}\} are forbidden, we obtain the distribution \mathaccent382Gt=\mathaccent382Gt(n)\mathaccent 382{\mathcal{G}}_{\textit{{t}}}=\mathaccent 382{\mathcal{G}}_{\textit{{t}}}(n) of the in-degrees for the uniform probability distribution of all loop-free digraphs with fixed out-degrees t. For a given t∈Imn{\textit{{t}}}\in I_{m}^{n}, we have

The probability spaces Gp{\mathcal{G}}_{p}, Gk{\mathcal{G}}_{k} and Gt{\mathcal{G}}_{\textit{{t}}} are clearly related, by mixing and conditioning. In particular, for any event E⊆Im,nE\subseteq I_{m,n} or E′⊂InmE^{\prime}\subset I_{n}^{m}, the following hold. Note that the first relationships on lines (2) and (3) are independent of pp and assume 0<p<10<p<1.

with similar relations between \mathaccent382Gp\mathaccent 382{\mathcal{G}}_{p}, \mathaccent382Gk\mathaccent 382{\mathcal{G}}_{k} and \mathaccent382Gt\mathaccent 382{\mathcal{G}}_{\textit{{t}}}.

Note that the separate distributions of S and T in Gp{\mathcal{G}}_{p} and Gk{\mathcal{G}}_{k} are elementary. In Gp{\mathcal{G}}_{p}, the components of S have independent binomial distributions, while in the Gk{\mathcal{G}}_{k} model S has a multivariate hypergeometric distribution. The difficulty is in quantifying the dependence between S and T when all m+nm+n components are considered together.

4 Binomial models

Our aim is to compare the degree sequence distributions defined above to some distributions derived from independent binomials. Our motivating observation is the known marginal distributions of S and T in the models Gp{\mathcal{G}}_{p} and Gk{\mathcal{G}}_{k}.

(Independent models Ip,\mathaccent382Ip{\mathcal{I}}_{p},\mathaccent 382{\mathcal{I}}_{p}, for 0<p<10<p<1) Generate mm components distributed Bin⁡(n,p)\operatorname{Bin}(n,p) and nn components distributed Bin⁡(m,p)\operatorname{Bin}(m,p), all m+nm+n components being independent. The joint distribution on Im,nI_{m,n} is Ip=Ip(m,n){\mathcal{I}}_{p}={\mathcal{I}}_{p}(m,n). If instead we have m=nm=n and the 2n2n components are all distributed Bin⁡(n−1,p)\operatorname{Bin}(n{-}1,p), the joint distribution on In,nI_{n,n} is \mathaccent382Ip=\mathaccent382Ip(n)\mathaccent 382{\mathcal{I}}_{p}=\mathaccent 382{\mathcal{I}}_{p}(n). We have

(Binomial pp-models Bp,\mathaccent382Bp{\mathcal{B}}_{p},\mathaccent 382{\mathcal{B}}_{p}, for 0<p<10<p<1) The distribution Bp=Bp(m,n){\mathcal{B}}_{p}={\mathcal{B}}_{p}(m,n) on Im,nI_{m,n} is the conditional distribution of Ip{\mathcal{I}}_{p} subject to ∑i=1mSi=∑j=1nTj\sum_{i=1}^{m}S_{i}=\sum_{j=1}^{n}T_{j}. For m=nm=n, the distribution \mathaccent382Bp=\mathaccent382Bp(n)\mathaccent 382{\mathcal{B}}_{p}=\mathaccent 382{\mathcal{B}}_{p}(n) on In,nI_{n,n} is obtained from \mathaccent382Ip\mathaccent 382{\mathcal{I}}_{p} by the same conditioning. We have

and similarly for \mathaccent382Bp\mathaccent 382{\mathcal{B}}_{p}.

(Binomial kk-models Bk,\mathaccent382Bk{\mathcal{B}}_{k},\mathaccent 382{\mathcal{B}}_{k}, for integer k≥0k\geq 0) The distribution Bk=Bk(m,n){\mathcal{B}}_{k}={\mathcal{B}}_{k}(m,n) on Im,nI_{m,n} is the conditional distribution of Ip{\mathcal{I}}_{p} subject to ∑i=1mSi=∑j=1nTj=k\sum_{i=1}^{m}S_{i}=\sum_{j=1}^{n}T_{j}=k. For m=nm=n, \mathaccent382Bk=\mathaccent382Bk(m,n)\mathaccent 382{\mathcal{B}}_{k}=\mathaccent 382{\mathcal{B}}_{k}({m,n}) is derived from \mathaccent382Ip\mathaccent 382{\mathcal{I}}_{p} in the same way. In both cases, the distribution doesn’t depend on pp. We have

In each case S and T have independent multivariate hypergeometric distributions.

(Binomial t-models Bt,\mathaccent382Bt{\mathcal{B}}_{\textit{{t}}},\mathaccent 382{\mathcal{B}}_{\textit{{t}}}, for t∈Imn{\textit{{t}}}\in I_{m}^{n}) The distribution Bt=Bt(m,n){\mathcal{B}}_{\textit{{t}}}={\mathcal{B}}_{\textit{{t}}}(m,n) on InmI_{n}^{m} is the distribution of S when (S,T)({\textit{{S}}},{\textit{{T}}}) has distribution Bk{\mathcal{B}}_{k} for k=∑j=1ntjk=\sum_{j=1}^{n}t_{j}. For m=nm=n, \mathaccent382Bt=\mathaccent382Bt(n)\mathaccent 382{\mathcal{B}}_{\textit{{t}}}=\mathaccent 382{\mathcal{B}}_{\textit{{t}}}(n) is derived from \mathaccent382Bk\mathaccent 382{\mathcal{B}}_{k} in the same way. For a given t∈Imn{\textit{{t}}}\in I_{m}^{n}, we have

In each case, S has a multivariate hypergeometric distribution.

(Integrated pp-models Vp,\mathaccent382Vp{\mathcal{V}}_{p},\mathaccent 382{\mathcal{V}}_{p}, for 0<p<10<p<1) The distribution Vp=Vp(m,n){\mathcal{V}}_{p}={\mathcal{V}}_{p}(m,n) on Im,nI_{m,n} is a mixture of Bp′{\mathcal{B}}_{p^{\prime}} distributions, while for m=nm=n the distribution \mathaccent382Vp=\mathaccent382Vp(n)\mathaccent 382{\mathcal{V}}_{p}=\mathaccent 382{\mathcal{V}}_{p}(n) on In,nI_{n,n} is a mixture of \mathaccent382Bp′\mathaccent 382{\mathcal{B}}_{p^{\prime}} distributions. Let

Our main theorems will show that, under certain conditions, Gp{\mathcal{G}}_{p} is very close to Vp{\mathcal{V}}_{p}, Gk{\mathcal{G}}_{k} to Bk{\mathcal{B}}_{k}, and Gt{\mathcal{G}}_{\textit{{t}}} to Bt{\mathcal{B}}_{\textit{{t}}}. Similar relationships hold for the digraph models.

5 The main theorems

Note that (4) implies x(1-x)=\Omega\bigl{(}(\log n)^{-1}\bigr{)}.

For ε>0\varepsilon>0, a vector (x1,x2,…,xN)(x_{1},x_{2},\ldots,x_{N}) will be called ε\varepsilon-regular if

uniformly for i=1,…,Ni=1,\ldots,N. We say that (s,t)({\textit{{s}}},{\textit{{t}}}) is ε\varepsilon-regular if ∑i=1msi=∑j=1ntj\sum_{i=1}^{m}s_{i}=\sum_{j=1}^{n}t_{j} and s,t{\textit{{s}}},{\textit{{t}}} are both ε\varepsilon-regular.

Finally, define λm(t)=(mn)−1∑j=1ntj\lambda_{m}({\textit{{t}}})=(mn)^{-1}\sum_{j=1}^{n}t_{j}. If ∑i=1msi=∑j=1ntj\sum_{i=1}^{m}s_{i}=\sum_{j=1}^{n}t_{j}, the common value of λn(s)\lambda_{n}({\textit{{s}}}) and λm(t)\lambda_{m}({\textit{{t}}}) will be denoted by λ\lambda. Note that λ\lambda is the value in $thatgivesthedensityofabipartitegraphwithdegreesthat gives the density of a bipartite graph with degrees({\textit{{s}}},{\textit{{t}}}),relativeto, relative toK_{m,n}.Inthecaseofloop−freedigraphs,. In the case of loop-free digraphs,\lambda\in[0,1-1/n]$.

We now state the theorems that are the main contribution of this paper. Their proofs will be given in Section 4, after some preliminary lemmas are proved in Section 3.

Let constants a,b>0a,b>0 satisfy a+b<12a+b<\tfrac{1}{2}. Then there is a constant ε=ε(a,b)>0\varepsilon=\varepsilon(a,b)>0 such that the following holds. Let D{\mathcal{D}} and D′{\mathcal{D}}^{\prime} be probability spaces on Im,nI_{m,n} in one of the following cases.

(m,n,p)(m,n,p) is (a,ε)(a,\varepsilon)-acceptable and (D,D′)=(Gp,Vp)({\mathcal{D}},{\mathcal{D}}^{\prime})=({\mathcal{G}}_{p},{\mathcal{V}}_{p}),

m=nm=n, (n,n,p)(n,n,p) is (a,ε)(a,\varepsilon)-acceptable and (D,D′)=(\mathaccent382Gp,\mathaccent382Vp)({\mathcal{D}},{\mathcal{D}}^{\prime})=(\mathaccent 382{\mathcal{G}}_{p},\mathaccent 382{\mathcal{V}}_{p}),

(m,n,k/mn)(m,n,k/mn) is (a,ε)(a,\varepsilon)-acceptable and (D,D′)=(Gk,Bk)({\mathcal{D}},{\mathcal{D}}^{\prime})=({\mathcal{G}}_{k},{\mathcal{B}}_{k}),

m=nm=n, (n,n,k/n2)(n,n,k/n^{2}) is (a,ε)(a,\varepsilon)-acceptable and (D,D′)=(\mathaccent382Gk,\mathaccent382Bk)({\mathcal{D}},{\mathcal{D}}^{\prime})=(\mathaccent 382{\mathcal{G}}_{k},\mathaccent 382{\mathcal{B}}_{k}),

Let E⊆Im,nE\subseteq I_{m,n} be an event. Then, under the conditions of Theorem 1,

In particular, Gp{\mathcal{G}}_{p} and Bp{\mathcal{B}}_{p} are contiguous; i.e., Prob⁡Gp(E)→0\operatorname{Prob}_{{\mathcal{G}}_{p}}(E)\to 0 if and only if Prob⁡Bp(E)→0\operatorname{Prob}_{{\mathcal{B}}_{p}}(E)\to 0, and similarly for \mathaccent382Gp\mathaccent 382{\mathcal{G}}_{p} and \mathaccent382Bp\mathaccent 382{\mathcal{B}}_{p}.

Let constants a,b>0a,b>0 satisfy a+b<12a+b<\tfrac{1}{2}. Then there is a constant ε=ε(a,b)>0\varepsilon=\varepsilon(a,b)>0 such that the following holds whenever (m,n,λm(t))(m,n,\lambda_{m}({\textit{{t}}})) is (a,ε)(a,\varepsilon)-acceptable and t is ε\varepsilon-regular. Let D{\mathcal{D}} and D′{\mathcal{D}}^{\prime} be probability spaces on InmI_{n}^{m} in one of the following cases.

(D,D′)=(Gt,Bt)({\mathcal{D}},{\mathcal{D}}^{\prime})=({\mathcal{G}}_{\textit{{t}}},{\mathcal{B}}_{\textit{{t}}}),

m=nm=n and (D,D′)=(\mathaccent382Gt,\mathaccent382Bt)({\mathcal{D}},{\mathcal{D}}^{\prime})=(\mathaccent 382{\mathcal{G}}_{\textit{{t}}},\mathaccent 382{\mathcal{B}}_{\textit{{t}}}).

A weak corollary of these theorems is that each of the distribution pairs (Gp,Vp)({\mathcal{G}}_{p},{\mathcal{V}}_{p}), (\mathaccent382Gp,\mathaccent382Vp)(\mathaccent 382{\mathcal{G}}_{p},\mathaccent 382{\mathcal{V}}_{p}), (Gk,Bk)({\mathcal{G}}_{k},{\mathcal{B}}_{k}), (\mathaccent382Gk,\mathaccent382Bk)(\mathaccent 382{\mathcal{G}}_{k},\mathaccent 382{\mathcal{B}}_{k}), (Gt,Bt)({\mathcal{G}}_{\textit{{t}}},{\mathcal{B}}_{\textit{{t}}}) and (\mathaccent382Gt,\mathaccent382Bt)(\mathaccent 382{\mathcal{G}}_{\textit{{t}}},\mathaccent 382{\mathcal{B}}_{\textit{{t}}}) have total variation distance O(n−b)O(n^{-b}) under the stated conditions.

The proofs of the theorems will be presented in Sections 3 and 4. Meanwhile, we will give an example that illustrates how the theorems can be applied.

Some useful lemmas and an example

We first record a few elementary properties.

If ∑i=1msi=∑j=1ntj=k\sum_{i=1}^{m}s_{i}=\sum_{j=1}^{n}t_{j}=k and pqmn→∞pqmn\to\infty, then

uniformly over s,t{\textit{{s}}},{\textit{{t}}}.

In Ip{\mathcal{I}}_{p}, both ∑i=1mSi\sum_{i=1}^{m}S_{i} and ∑j=1nTj\sum_{j=1}^{n}T_{j} have the distribution Bin⁡(mn,p)\operatorname{Bin}(mn,p). Therefore

For the last step we use that the central part of the sum is approximately normal and sum it with the Euler-Maclaurin formula, while the two tails of the sum are negligible in comparison. The first claim now follows from the formulas for Prob⁡Bp(S=s∧T=t)\operatorname{Prob}_{{\mathcal{B}}_{p}}({\textit{{S}}}={\textit{{s}}}\wedge{\textit{{T}}}={\textit{{t}}}) and Prob⁡Ip(S=s∧T=t)\operatorname{Prob}_{{\mathcal{I}}_{p}}({\textit{{S}}}={\textit{{s}}}\wedge{\textit{{T}}}={\textit{{t}}}). The second claim is proved in the same manner. ∎

Kp(p′)K_{p}(p^{\prime}) is a normal density with mean pp and variance pq/(2mn)pq/(2mn), so we just need to apply standard normal tail bounds to the definition of V(p)V(p). ∎

The next lemma demonstrates how statistics of variables in Bp{\mathcal{B}}_{p} can be converted into statistics in Vp{\mathcal{V}}_{p}. Note that XX can be the indicator variable of an event, so the lemma applies to probabilities as well.

Let XX be a random variable on Im,nI_{m,n}. Then

We now provide an example of how Theorem 1(b) can be applied to random digraphs. Since this is only an illustration, we will not attempt to treat all values of the parameters or to obtain the best possible error terms.

Let GG be a random loop-free digraph on nn vertices and edge probability p=12p=\tfrac{1}{2}. For convenience we will assume that nn is even, though treatment of the odd case would be much the same. As usual, S1,…,SnS_{1},\ldots,S_{n} are the out-degrees of the vertices, and T1,…,TnT_{1},\ldots,T_{n} are the in-degrees. Let X,YX,Y be random variables which count the vertices with out-degree at most n2−1\tfrac{n}{2}-1, and the vertices with in-degree at most n2−1\tfrac{n}{2}-1, respectively. It is easy to see that each of XX and YY has a distribution exactly Bin⁡(n,12)\operatorname{Bin}(n,\tfrac{1}{2}), but that XX and YY are not independent. Our aim will be to find their asymptotic joint distribution.

We will first calculate some properties of binomial distributions truncated at the centre. Application of model \mathaccent382V1/2\mathaccent 382{\mathcal{V}}_{1/2} requires us to consider probabilities close to 12\tfrac{1}{2}.

The following hold when ε>0\varepsilon>0 is sufficiently small. Let nn be even and let p=12+δp=\tfrac{1}{2}+\delta where δ=O(n−1+ε)\delta=O(n^{-1+\varepsilon}). For 0≤k≤n2−10\leq k\leq\frac{n}{2}-1 define

and P(δ)=∑k=0n/2−1b(p,k)P(\delta)=\sum_{k=0}^{n/2-1}b(p,k). Then

Now define two random variables, Zδ−Z^{-}_{\delta} by truncating Bin⁡(n−1,p)\operatorname{Bin}(n-1,p) to [0,12n−1][0,\tfrac{1}{2}n-1], and Zδ+Z^{+}_{\delta} by truncating Bin⁡(n−1,p)\operatorname{Bin}(n-1,p) to [12n,n−1][\tfrac{1}{2}n,n-1]. Then

Define sj=b(p,12n−1−j)s_{j}=b(p,\frac{1}{2}n-1-j). From we have for j=O(n1/2+ε)j=O(n^{1/2+\varepsilon}) that

Suppose nn is even and x,yx,y are integers with x,y=O(n−1/2+ε)x,y=O(n^{-1/2+\varepsilon}) for sufficiently small ε>0\varepsilon>0. Then

Theorem 1(b) tells us to calculate the probability in \mathaccent382V1/2\mathaccent 382{\mathcal{V}}_{1/2}, for which we need the probability in \mathaccent382Bp\mathaccent 382{\mathcal{B}}_{p} when p≈12p\approx\tfrac{1}{2}. For integers x,yx,y, define events

Recall that \mathaccent382Bp\mathaccent 382{\mathcal{B}}_{p} is \mathaccent382Ip\mathaccent 382{\mathcal{I}}_{p} conditioned on event EΣE_{\Sigma} so, applying Bayes’ rule twice,

We have already computed Prob⁡\mathaccent382Ip(EΣ)\operatorname{Prob}_{\mathaccent 382{\mathcal{I}}_{p}}(E_{\Sigma}) in (5); for p=12+o(1)p=\tfrac{1}{2}+o(1) it is

Now consider Prob⁡\mathaccent382Ip(EΣ∣E(x,y))\operatorname{Prob}_{\mathaccent 382{\mathcal{I}}_{p}}(E_{\Sigma}\mid E(x,y)). Under this conditioning, symmetry implies that ∑iSi\sum_{i}S_{i} has the same distribution as the sum of 12n+x\tfrac{1}{2}n+x copies of Zδ−Z^{-}_{\delta} and 12n−x\tfrac{1}{2}n-x copies of Zδ+Z^{+}_{\delta}, all of these being independent. A similar fact holds for ∑jTj\sum_{j}T_{j}, which is in addition independent of ∑iSi\sum_{i}S_{i} since we are operating in \mathaccent382Ip\mathaccent 382{\mathcal{I}}_{p}. Also recall that the binomial distribution and therefore its truncations and their convolutions are log-concave, so we know from that Δ=∑iSi−∑jTj\varDelta=\sum_{i}S_{i}-\sum_{j}T_{j}, in \mathaccent382Ip\mathaccent 382{\mathcal{I}}_{p} conditioned on E(x,y)E(x,y), satisfies a local central-limit theorem. Using Lemma 7, we calculate

Finally, consider Prob⁡\mathaccent382Ip(E(x,y))\operatorname{Prob}_{\mathaccent 382{\mathcal{I}}_{p}}(E(x,y)). Since the 2n2n events Si≤12n−1,Tj≤12n−1S_{i}\leq\tfrac{1}{2}n-1,T_{j}\leq\tfrac{1}{2}n-1 are independent in \mathaccent382Ip\mathaccent 382{\mathcal{I}}_{p}, XX and YY are independent Binomial variables Bin⁡(n,P(δ))\operatorname{Bin}(n,P(\delta)). Using (6) and the normal approximation for the binomial distribution, we have

Applying this to (9) together with (10) and (11), we find that

Now we apply Lemma 6 to pass the result to \mathaccent382V1/2\mathaccent 382{\mathcal{V}}_{1/2}. Multiplying by K1/2(12+δ)K_{1/2}(\tfrac{1}{2}+\delta) and integrating, we obtain the formula in the theorem, which holds for \mathaccent382G1/2\mathaccent 382{\mathcal{G}}_{1/2} on account of Theorem 1(b). ∎

A corollary of the theorem is that X−YX-Y and X+YX+Y have asymptotically independent normal distributions, apart from necessarily having the same parity.

Under the conditions of the theorem, let α,β\alpha,\beta be integers of the same parity such that α,β=O(n1/2+ε)\alpha,\beta=O(n^{1/2+\varepsilon}). Then

More complex information could also be obtained, such as the distributions of all the order statistics of the degrees, but the calculations would be considerably more intricate. See for similar calculations for ordinary graphs.

Properties of likely degree sequences

Another consequence of Theorem 10 is the following.

We start by reminding the reader of a classical algorithm called “reservoir sampling”, attributed by Knuth to Alan G. Waterman [24, p. 144]. Let Yai+1(i),…,Y∣Ai∣(i)Y^{(i)}_{a_{i}+1},\ldots,Y^{(i)}_{\lvert A_{i}\rvert} be independent random variables, where Yj(i)Y^{(i)}_{j} has the discrete uniform distribution on {1,2,…,j}\{1,2,\ldots,j\}. Now suppose Ai={w1,…,w∣Ai∣}A_{i}=\{w_{1},\ldots,w_{\lvert A_{i}\rvert}\}. Execute the following algorithm:

Define Xi=Xi(Yai+1(i),…,Y∣Ai∣(i))X_{i}=X_{i}(Y^{(i)}_{a_{i}+1},\ldots,Y^{(i)}_{\lvert A_{i}\rvert}) to be the value of {x1,…,xai}\{x_{1},\ldots,x_{a_{i}}\} when the algorithm finishes. The raison d’être of the algorithm, which is easy to check, is that XiX_{i} has distribution (Aiai)\binom{A_{i}}{a_{i}}; i.e., it is uniform. It is also easy to check that the maximum change to XiX_{i} resulting from a change in a single Yj(i)Y^{(i)}_{j} is that one element is replaced by another.

Therefore, we can apply Theorem 10 if we consider f(X)f({\textit{{X}}}) as a function of all the independent variables {Yj(i)}\{Y^{(i)}_{j}\}. If ai<∣Ai∣/2a_{i}<\lvert A_{i}\rvert/2, we can represent XiX_{i} by its complement; this justifies the term min⁡{ai,∣Ai∣−ai}\min\{a_{i},\lvert A_{i}\rvert-a_{i}\} in the theorem statement. ∎

We next apply these concentration inequalities to show that certain events are very likely in our probability spaces.

The following are true for sufficiently small ε>0\varepsilon>0.

Suppose that (m,n,p)(m,n,p) and (m,n,k/mn)(m,n,k/mn) are (a,ε)(a,\varepsilon)-acceptable. Then

for D{\mathcal{D}} being any of Gp{\mathcal{G}}_{p}, Gk{\mathcal{G}}_{k}, Ip{\mathcal{I}}_{p}, Bp{\mathcal{B}}_{p}, Bk{\mathcal{B}}_{k}, or Vp{\mathcal{V}}_{p}. The same is true for m=nm=n when D{\mathcal{D}} is any of \mathaccent382Gp\mathaccent 382{\mathcal{G}}_{p}, \mathaccent382Gk\mathaccent 382{\mathcal{G}}_{k}, \mathaccent382Ip\mathaccent 382{\mathcal{I}}_{p}, \mathaccent382Bp\mathaccent 382{\mathcal{B}}_{p}, \mathaccent382Bk\mathaccent 382{\mathcal{B}}_{k}, or \mathaccent382Vp\mathaccent 382{\mathcal{V}}_{p}.

If t∈Imn{\textit{{t}}}\in I_{m}^{n} is ε\varepsilon-regular, and (m,n,λm(t))(m,n,\lambda_{m}({\textit{{t}}})) is (a,ε)(a,\varepsilon)-acceptable, then

for D{\mathcal{D}} being Gt{\mathcal{G}}_{\textit{{t}}} or Bt{\mathcal{B}}_{\textit{{t}}}. The same is true for m=nm=n when D{\mathcal{D}} is either of \mathaccent382Gt\mathaccent 382{\mathcal{G}}_{\textit{{t}}} or \mathaccent382Bt\mathaccent 382{\mathcal{B}}_{\textit{{t}}}.

By symmetry, we need only show that S is almost always ε\varepsilon-regular.

In the case that D{\mathcal{D}} is Gp{\mathcal{G}}_{p} or Ip{\mathcal{I}}_{p}, each SiS_{i} has the binomial distribution Bin⁡(n,p)\operatorname{Bin}(n,p), and KK has the distribution Bin⁡(mn,p)\operatorname{Bin}(mn,p). Therefore, by Corollary 11,

The cases that D{\mathcal{D}} is Gk{\mathcal{G}}_{k}, Bp{\mathcal{B}}_{p}, or Bk{\mathcal{B}}_{k} follow, since these are the same as slices of Gp{\mathcal{G}}_{p} or Ip{\mathcal{I}}_{p} of size n−O(1)n^{-O(1)}, using p=k/mnp=k/mn. Also, the distribution of S in Bt{\mathcal{B}}_{\textit{{t}}} is the same as in Bk{\mathcal{B}}_{k} for k=∑j=1ntjk=\sum_{j=1}^{n}t_{j}, so that case follows too.

For D=Gt{\mathcal{D}}={\mathcal{G}}_{\textit{{t}}}, note that each SiS_{i} is the sum of independent variables X1,…,XnX_{1},\ldots,X_{n}, where XjX_{j} is a Bernoulli random variable with mean tj/mt_{j}/m. The theorem thus follows using the same argument as we used for Gp{\mathcal{G}}_{p}.

Finally consider D=Vp{\mathcal{D}}={\mathcal{V}}_{p}. Taking XX to be the indicator of the event that S is not ε\varepsilon-regular, Lemmas 5–6 give

For the digraph models, the proofs are essentially the same. ∎

The following concentration results will form a key part of the proof of Theorem 1.

The following are true for sufficiently small ε>0\varepsilon>0.

Suppose that (m,n,p)(m,n,p) and (m,n,k/mn)(m,n,k/mn) are (a,ε)(a,\varepsilon)-acceptable. Then

when D{\mathcal{D}} is Gp{\mathcal{G}}_{p} or Gk{\mathcal{G}}_{k}. When m=nm=n, the same bounds hold when D{\mathcal{D}} is \mathaccent382Gp\mathaccent 382{\mathcal{G}}_{p} or \mathaccent382Gk\mathaccent 382{\mathcal{G}}_{k}.

If t∈Imn{\textit{{t}}}\in I_{m}^{n} is ε\varepsilon-regular, and (m,n,λm(t))(m,n,\lambda_{m}({\textit{{t}}})) is (a,ε)(a,\varepsilon)-acceptable, then (13) holds when D{\mathcal{D}} is Gt{\mathcal{G}}_{\textit{{t}}}, and when m=nm=n and D{\mathcal{D}} is \mathaccent382Gt\mathaccent 382{\mathcal{G}}_{\textit{{t}}}.

If m=nm=n, (n,n,p)(n,n,p) and (n,n,k/n2)(n,n,k/n^{2}) are (a,ε)(a,\varepsilon)-acceptable, then

when D{\mathcal{D}} is \mathaccent382Gp\mathaccent 382{\mathcal{G}}_{p} or \mathaccent382Gk\mathaccent 382{\mathcal{G}}_{k}.

If m=nm=n, (n,n,λn(t))(n,n,\lambda_{n}({\textit{{t}}})) is (a,ε)(a,\varepsilon)-acceptable and t∈Inn{\textit{{t}}}\in I_{n}^{n} is ε\varepsilon-regular, then (15) holds when T=t{\textit{{T}}}={\textit{{t}}} and D{\mathcal{D}} is \mathaccent382Gt\mathaccent 382{\mathcal{G}}_{\textit{{t}}}.

Write R=∑i=1m(Si−nΛ)2R=\sum_{i=1}^{m}(S_{i}-n\varLambda)^{2}. For i=1,…,mi=1,\ldots,m and j=1,…,nj=1,\ldots,n, let XijX_{ij} be the indicator for an edge from uiu_{i} to vjv_{j}. Define Δii′jj′=(Xij−Xi′j)(Xij′−Xi′j′)\varDelta_{ii^{\prime}jj^{\prime}}=(X_{ij}-X_{i^{\prime}j})(X_{ij^{\prime}}-X_{i^{\prime}j^{\prime}}). Then we have

Now define R∗=∑i=1mmin⁡{(Si−nΛ)2,m1+2ε}R^{*}=\sum_{i=1}^{m}\min\{(S_{i}-n\varLambda)^{2},m^{1+2\varepsilon}\}. If S is ε\varepsilon-regular and SjS_{j} is changed by 1 for some jj, which changes Λ\varLambda by 1/mn1/mn, then min⁡{(Si−nΛ)2,m1+2ε}\min\{(S_{i}-n\varLambda)^{2},m^{1+2\varepsilon}\} changes by O(m1/2+ε)O(m^{1/2+\varepsilon}) for i=ji=j and by O(m−1/2+ε)O(m^{-1/2+\varepsilon}) for i≠ji\neq j. Consequently, R∗R^{*} changes by O(m1/2+ε)O(m^{1/2+\varepsilon}). Applying Theorem 10, we find that

for D=Gp{\mathcal{D}}={\mathcal{G}}_{p}. It also holds for D=Gt{\mathcal{D}}={\mathcal{G}}_{\textit{{t}}}, using Theorem 12 in the same way.

We also have that Λ\varLambda is fixed at the value λm(t)=(mn)−1∑j=1ntj\lambda_{m}({\textit{{t}}})=(mn)^{-1}\sum_{j=1}^{n}t_{j} in Gt{\mathcal{G}}_{\textit{{t}}} and that

by (12). From these bounds, inequality (13) follows for Gp{\mathcal{G}}_{p} and Gt{\mathcal{G}}_{\textit{{t}}}, and (14) follows for Gp{\mathcal{G}}_{p} by symmetry. By choosing p=k/mnp=k/mn and noting that Gk{\mathcal{G}}_{k} is a slice of size n−O(1)n^{-O(1)} of Gp{\mathcal{G}}_{p}, the theorem is proved for Gk{\mathcal{G}}_{k} too.

We now prove part (d); take D=\mathaccent382Gt{\mathcal{D}}=\mathaccent 382{\mathcal{G}}_{\textit{{t}}}, with t being ε\varepsilon-regular and (n,n,λn(t))(n,n,\lambda_{n}({\textit{{t}}})) being (a,ε)(a,\varepsilon)-acceptable. We have

In the notation of Theorem 12 set Aj=[n]∖{j}A_{j}=[n]\setminus\{j\} and aj=tja_{j}=t_{j} for each j∈[n]j\in[n]. Then in the probability space X, XjX_{j} is the set of indices of vertices incident with vjv_{j} in \mathaccent382Gt\mathaccent 382{\mathcal{G}}_{\textit{{t}}}. Note Si=∣{j:ui∈Xj}∣S_{i}=|\{j:u_{i}\in X_{j}\}| and two sets being minimally different in the jj-th component corresponds to two graphs in which one of the tjt_{j} edges incident with vertex vjv_{j} is incident with different vertices in UU. This means, as t is ε\varepsilon-regular, cj=O(n1/2+ε)c_{j}=O(n^{1/2+\varepsilon}) for each jj and we can apply Theorem 12 to conclude that (d) holds.

Proofs of the main theorems

In this section we will give the proofs of the theorems and corollary stated in Section 1.5. The bases for our analysis are the following enumerative results of Canfield, Greenhill and McKay . Also see Barvinok and Hartigan for an overlapping result.

Let a,b>0a,b>0 be constants such that a+b<12a+b<\frac{1}{2}. Then there is a constant ε0=ε0(a,b)>0\varepsilon_{0}=\varepsilon_{0}(a,b)>0 such that the following is true for any fixed ε\varepsilon with 0<ε≤ε00<\varepsilon\leq\varepsilon_{0}. If (s,t)({\textit{{s}}},{\textit{{t}}}) is ε\varepsilon-regular, then

for ∑isi=∑jtj=k\sum_{i}s_{i}=\sum_{j}t_{j}=k, where the last step follows by Stirling’s formula and, as always, we are assuming that ε\varepsilon is sufficiently small.

We wish to show that (18) closely matches the probability in Vp{\mathcal{V}}_{p}. Define P(p,s,t)=Prob⁡Bp(S=s∧T=t)P(p,{\textit{{s}}},{\textit{{t}}})=\operatorname{Prob}_{{\mathcal{B}}_{p}}({\textit{{S}}}={\textit{{s}}}\wedge{\textit{{T}}}={\textit{{t}}}). By the definition of Vp{\mathcal{V}}_{p}, we have

We will divide the integral into three parts. Define Jp=[p−n−1+3ε,p+n−1+3ε]J_{p}=[p-n^{-1+3\varepsilon},p+n^{-1+3\varepsilon}]. By Lemma 4 and (17), for p′∈Jpp^{\prime}\in J_{p} and (s,t)∉B({\textit{{s}}},{\textit{{t}}})\notin B, we have

which matches (18) when the value of P(p,s,t)P(p,{\textit{{s}}},{\textit{{t}}}) given by Lemma 4 is substituted. This completes the proof of the first claim of Theorem 1(a). The next two claims follow on summing the first claim over all (s,t)({\textit{{s}}},{\textit{{t}}}). For the variance, we can apply the formula for the expectation to argue

For the third line we have used the obvious fact that the minimum in the first line occurs somewhere in the interval [min⁡X,max⁡X][\min X,\max X].

which matches Prob⁡Bk(S=s∧T=t)\operatorname{Prob}_{{\mathcal{B}}_{k}}({\textit{{S}}}={\textit{{s}}}\wedge{\textit{{T}}}={\textit{{t}}}) up to the error term. Similarly for Theorem 1(d).

Theorem 3 follows from a similar argument, on noting that the ε\varepsilon-regularity of t implies

Finally, we prove Corollary 2 for D=Gp{\mathcal{D}}={\mathcal{G}}_{p}, which is representative of the four cases. In view of Theorem 1, it will suffice to prove that

if Prob⁡Bp(E)→0\operatorname{Prob}_{{\mathcal{B}}_{p}}(E)\to 0. Define

Now note that, by (20), for ∣p′−p∣≤ypq/2mn\lvert p^{\prime}-p\rvert\leq y\sqrt{pq/2mn} and ∣k−pmn∣≤ypqmn\lvert k-pmn\rvert\leq y\sqrt{pqmn} we have

Since ∫Kp(p′) dp<1\int K_{p}(p^{\prime})\,dp<1, we have proved that

which gives (21) when the value of yy is substituted. To prove the statement for the case D=Bp{\mathcal{D}}={\mathcal{B}}_{p}, redefine yy and E^\hat{E} by replacing each instance of Bp{\mathcal{B}}_{p} with Vp{\mathcal{V}}_{p}. and then proceed in the same fashion (although in this case because of the direction of the inequality it is enough to note that the tails of the integral in (22) are positive; we do not need to show an upper bound as in the above proof for D=Gp{\mathcal{D}}={\mathcal{G}}_{p}).

Concluding remarks

A theorem similar to Theorem 15 holds also in the sparse domain. This was shown by Greenhill, McKay and Wang in the case that (\max_{i}s_{i})(\max_{j}t_{j})=o\bigl{(}(\sum_{i}s_{i})^{2/3}\bigr{)} . That theorem can be used to develop a parallel theory of degree sequences in that domain, though some of the methods used in this paper must be replaced. However the lack of a precise enumeration in the gap between the sparse domain and the dense domain of Theorem 15 currently thwarts a theory which spans both the sparse and dense domains.

References