Abstract 1 Introduction 2 Proof outline 3 Algorithmic version of Lovász Local Lemma 4 Planting the seeds 5 Growing the trees References

Tiling Random Regular Graphs Efficiently

Sahar Diskin School of Mathematical Sciences, Tel Aviv University, Israel Ilay Hoshen School of Mathematical Sciences, Tel Aviv University, Israel Maksim Zhukovskii ORCID School of Computer Science, The University of Sheffield, UK
Abstract

We show that for every ϵ>0 there exists a sufficiently large d0∈ℕ such that for every d≥d0, whp the random d-regular graph G⁢(n,d) contains a T-factor for every tree T on at most (1−ϵ)⁢d/log⁡d vertices. This is best possible since, for large enough integer d, whp G⁢(n,d) does not contain a (1+ϵ)⁢dlog⁡d-star-factor. Our method gives a randomised algorithm which whp finds said T-factor and whose expected running time is O⁢(n1+o⁢(1)), as well as an efficient deterministic counterpart.

Keywords and phrases:
Random regular graphs, Tree tilings
Category:
Track A: Algorithms, Complexity and Games
Copyright and License:
[Uncaptioned image] © Sahar Diskin, Ilay Hoshen, and Maksim Zhukovskii; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Mathematics of computing → Random graphs
Related Version:
Full Version: https://arxiv.org/abs/2412.19756 [8]
Acknowledgements:
The authors thank Itai Benjamini for bringing the question to our attention. The authors wish to thank Michael Krivelevich and Noga Alon for fruitful discussions. In particular, we thank Michael Krivelevich for showing us the alternative argument from [9], after the first version of this paper was uploaded. It allowed us to improve the presentation significantly.
Editors:
Keren Censor-Hillel, Fabrizio Grandoni, Joël Ouaknine, and Gabriele Puppis

1 Introduction

Let G be an n-vertex graph and H be an s-vertex graph. An H-factor in G is a union of ⌊ns⌋ vertex-disjoint isomorphic copies of H in G.

There has been an extensive study into the threshold of appearance of H-factors in the binomial random graph G⁢(n,p). The case where H=K2 corresponds to finding a perfect matching in G⁢(n,p). The sharp threshold for appearence of a perfect matching was established by Erdős and Rényi [10]. Early results for general H were obtained by Alon and Yuster [2] and Ruciński [26]; they determined the threshold up to a constant factor for a specific family of graphs and gave bounds for the general case. For the case where H is a tree, Łuczak and Ruciński [19] characterised “pendant” structures, and proved that in the random graph process (that is, when edges are added one after the other uniformly at random), the hitting time of the appearance of an H-factor is the same as the hitting time of the disappearance of these forbidden “pendant” structures. In particular, one is able to infer the precise threshold for the appearance of an H-factor in this case. In 2008, Johansson, Kahn and Vu [16] determined the threshold (up to a multiplicative constant) for the existence of an H-factor for every strictly-1-balanced111A graph H is strictly-1-balanced if |E⁢(H)||V⁢(H)|−1>|E⁢(J)||V⁢(J)|−1 for every proper subgraph J⊊H with |V⁢(J)|≥2. graph H and determined the threshold up to a logarithmic factor for an arbitrary graph H. In the case of cliques Ks, Heckel (for s=3) [12] and Riordan (for s≥4) [24] determined the sharp threshold for the appearance of a Ks-factor. Recently, a hitting time result for the appearance of a Ks-factor was proved [13], and the sharp threshold for the appearance of an H-factor for every strictly-1-balanced graph H was determined [6].

Much less is known in the case of random d-regular graphs. The random d-regular graph G⁢(n,d) is a graph chosen uniformly at random among all simple d-regular graphs on the vertex set ⟦n⟧:={1,…,n} (throughout the paper, we treat d as fixed and consider the asymptotics in n). Since, for every pair of integers d≥2 and k≥3, the number of cycles of length k in G⁢(n,d) is asymptotically distributed as a Poisson random variable with mean (d−1)k/(2⁢k) (see [28]), whp222With high probability, that is, with probability tending to one as n tends to infinity. there are o⁢(n) cycles of length k in G⁢(n,d). Thus, we may (and will) restrict our attention to tree factors.

For the case of H=K2, Bollobás [4] proved that whp there exists an H-factor (that is, a perfect matching) in G⁢(n,d) for every d≥3. There has been some research on the more general case of stars. Naturally, one cannot hope for a K1,t-factor for t>d, since the graph is d-regular. For d≥3, using a first moment argument, one can show that whp G⁢(n,d) does not contain a K1,d-factor (see [3, Corollary 2]). Robinson and Wormald [25] showed that for d≥3, whp G⁢(n,d) contains a Hamilton cycle, and thus a K1,2-factor. In a subsequent work, Assiyatun and Wormald [3] showed that for d≥4, whp G⁢(n,d) contains a K1,3-factor. One may then suspect that for any d≥3, typically G⁢(n,d) contains a K1,d−1-factor. However, using first moment calculations, one can show that this is not the case for d≥5.

There are then two natural avenues to venture into: first, for sufficiently large d, to determine all k such that whp G⁢(n,d) contains a factor of stars on k vertices; second, more ambitiously, one could try to find all trees T for which whp G⁢(n,d) contains a T-factor.

Considering a related but slightly different problem, Alon and Wormald [1] showed that for any d-regular graph G, there exists an absolute constant c′, such that G contains a star-factor, in which every star has at least c′⁢d/log⁡d vertices (not necessarily all of the same size). They further noted that this is optimal up the choice of the constant c′>0. Indeed, the existence of a factor of stars on at least k vertices implies the existence of a dominating set of size at most nk−1, and for any ϵ>0 and sufficiently large d, whp the smallest dominating set in G⁢(n,d) is of size at least (1−ϵ)⁢n⁢log⁡dd (see [1, page 3]). Let us note here that if one only assumes that G is d-regular, then one cannot hope to obtain a factor of stars of size exactly k for any 3≤k=O⁢(d/log⁡d). Indeed, consider for example a d-regular graph G formed by a collection of vertex disjoint copies of Kd+1 and vertex disjoint copies of complete bipartite graphs Kd,d. Then, since gcd⁢(d+1,2⁢d)∈{1,2}, for any choice of k>2, one cannot find a factor of stars of size k.

Our first main result shows that typically a random d-regular graph G contains a star-factor with the asymptotically optimal possible size. In fact, we extend this result to factors of any tree (not necessarily a star).

Theorem 1.

For every constant 0<ϵ<1, there exists a sufficiently large integer d0 such that the following holds for any d≥d0. Whp, for every tree T on at most (1−ϵ)⁢dlog⁡d vertices, there exists a T-factor in G⁢(n,d).

We note that throughout the paper, we will assume that |V⁢(G)| is divisible by |V⁢(T)|, to avoid unnecessary technical details, however all proofs can be directly extended to the general case. Further, we note that we may fix the tree T and show that whp there is a T-factor in G⁢(n,d); since there are at most d2⋅4d such trees (see [22]) and d is fixed, by the union bound the statement then holds for every tree T.

A detailed sketch of the proof of Theorem 1 is presented in Section 2. Let us briefly recap the main strategy here. We show that whp, there exists a balanced partition of |V⁢(G)| into |V⁢(T)| parts so that, for every pair of parts Vi,Vj where {i,j}∈E⁢(T), every vertex in Vi∪Vj has the number of neighbours in the other part concentrated around the mean d/|V⁢(T)|. We say that such a partition is nice. We obtain this nice partition through four different applications of the algorithmic version of the Lovász Local Lemma, due to Moser and Tardos [21]. In particular, this allows us to find such a nice partition which is close to a random partition; further, this gives us a randomised algorithm to find this partition whose average running time is O~⁢(n) whp (see Theorem 4 and Corollary 5). In fact, we show that, in any d-regular graph, which does not have short cycles close to each other, a fraction of the possible partitions are close to nice partitions. Utilising a description of the distribution of edges in random graphs with specified degree sequences ([11], see also [20, Theorem 2.2]), we conclude that whp almost all partitions of a random regular graph induce multipartite graphs with good expansion properties. This allows us to find a partition with such expansion properties which is also close to a nice partition, ensuring the existence of a perfect matching between pairs of sets. Using an algorithm as in [7], we can find these perfect matchings in time n1+o⁢(1). This gives us our second main result.

Theorem 2.

For every constant 0<ϵ<1, there exists a sufficiently large integer d0 such that the following holds for any d≥d0. There is a randomised algorithm that whp finds a T-factor in G⁢(n,d) in expected time n1+o⁢(1), for every tree T on at most (1−ϵ)⁢dlog⁡d vertices.

Since the events that we consider in our applications of the algorithmic version of the Lovász Local Lemma are determined by poly⁢(d) random variables over domains of size at most d, [21, Theorem 1.4] shows that there exists a deterministic algorithm that whp finds these T-factors in polynomial in n time in G⁢(n,d).

Let us make some additional remarks.

  • ■

    It is not hard to verify that our proof follows through for a uniformly chosen graph on n vertices with a given degree sequence, whose degrees lie in the interval [d,(1+δ)⁢d] for some small δ>0. We believe slight modifications of our technique, specifically in Section 5, should allow us to obtain the same result for such graphs whose degrees are between d and O⁢(d).

  • ■

    We stress that in order to show the existence of a perfect matching between relevant sets in the partition, we need our partition to be close to a random partition, and thus the application of the algorithmic version of the Lovász Local Lemma is crucial, even if we do not aim to get Theorem 2.

A possible simplification, which allows using a non-constructive version of the Lovász Local Lemma, is applying “sprinkling” due to the contiguity result from [15] instead of applying the direct estimation of probabilities in G⁢(n,d). As soon as a nice partition is obtained, we add independently edges of G⁢(n,ϵ′⁢d), where ϵ′≪ϵ. Although it simplifies the proof, it does not allow deriving Theorem 2 and the generalisation to non-regular random graphs with specified degree sequences. Moreover, this does not allow obtaining any probability bounds, in contrast to our approach. Indeed, our proof gives that the probability a random d-regular graph has a T-factor (for any tree T with |V⁢(T)|≤(1−ϵ)⁢d/log⁡d) is at least 1−n−Θd⁢(1). In fact, the latter probability bound is tight. Indeed, consider the vertices {1,…,10d}∈⟦n⟧, say. The probability they form a connected component without a T-factor in G⁢(n,d) is at least n−100⁢d2. We thus obtain the following corollary.

Corollary 3.

For every constant 0<ϵ<1, there exists a sufficiently large integer d0 such that the following holds for any d≥d0. For any tree T on at most (1−ϵ)⁢dlog⁡d vertices, the probability that G⁢(n,d) contains a T-factor is 1−n−Θd⁢(1).

One key complication that arises when using any variant of the Lovász Local Lemma to prove Theorem 1 is that it is impossible to directly apply it, as every “bad” event has too many dependencies. A similar issue was addressed independently in the paper by Draganić and Krivelevich [9] on connected dominating sets, where they proposed a (significantly different and shorter) proof strategy to show that a d-regular graph without short close cycles has a nice partition. Notably, their method requires Θ⁢(n) applications of the Lovász Local Lemma (and consequently O⁢(n2) resamples in the algorithmic version), which precludes a linear time reduction to finding perfect matchings. In contrast, our approach applies the Lovász Local Lemma only a constant number of times, enabling such a reduction.

Let us finish this section with several avenues for future research. While in this general setting Theorem 1 is asymptotically best possible, there are specific cases (such as when T is a path [25], or in fact any T of bounded degree [23, 14]) where one can whp obtain a T-factor for trees of size significantly larger than dlog⁡d in G⁢(n,d). It would be interesting to try characterising for every value of k=k⁢(n) families of trees T on k vertices for which one can whp obtain a T-factor in G⁢(n,d). Another possible direction would be to consider (n,d,λ)-graphs, with λ≪d, instead of G⁢(n,d) – see [17] for background, and [18, 23, 14] for related results on spanning subgraphs in such graphs that, in particular, imply the existence of T-factors for trees T of bounded maximum degree.

1.1 Organisation

In Section 1.2 we set out some notation which will be of use throughout the paper. We then discuss the proof’s structure and strategy in Section 2. In Section 3 we set out how we will utilise the algorithmic version of Lovász Local Lemma. Section 4 is devoted to the key proposition (Proposition 6), and is perhaps the most involved and novel part of the paper. Finally, in Section 5 we present two typical properties of G⁢(n,d) and show how to deduce Theorem 1 from these properties and Proposition 6. All missing proofs appear in the full version on ArXiv [8].

1.2 Notation

Given a graph H, a vertex v∈V⁢(H), and a set A⊆V⁢(H), we denote by dH⁢(v) the degree of v and by dH⁢(v,A) the number of neighbours of v in A (in H). When the graph in question is clear we may omit the subscript. We write d⁢(A)=∑v∈Ad⁢(v). Given A,B⊆V⁢(H), we denote by e⁢(A,B) the number of edges with one endpoint in A and the other endpoint in B, and by e⁢(A) the number of edges with both endpoints in A (each edge counted only once). We denote by N⁢(A,B) the neighbourhood of A in B, that is, the set of vertices in B which are adjacent to some vertex in A. All logarithms are with the natural base. Moreover, for every positive integer n, define ⟦n⟧≔{1,2,…,n}. We use the fairly standard notation that given sequences a=(an) and b=(bn)≥0, a=o⁢(b) if, for every ε>0, |an|≤ε⁢bn for all large enough n. Given sequences a′=(ad′=ad′⁢(n)) and b′=(bd′=bd′⁢(n))≥0, we sometimes also use a=od⁢(b) to say that, for every ε>0, |ad′|≤ε⁢bd′ for all large enough d and n. We systematically ignore rounding signs when it does not affect computations.

2 Proof outline

Unsurprisingly, finding a tree factor is much harder when the size of the tree is close to the optimal size (that is, d/log⁡d). In this section, we will present the proof outline for Theorem 1 in the case when k≥d10⁢log⁡d. We will further point out the steps where the proof becomes simpler for trees of smaller size.

Let T be a tree on k vertices and let us label these vertices by V(T)≔⟦k⟧. The overall strategy for finding a T-factor in G∼G⁢(n,d) is quite intuitive. We will find k disjoint sets V1,…,Vk⊆V⁢(G) of equal size and show that whp there exists a perfect matching between every Vi and Vj such that {i,j}∈E⁢(T). To do so, our proof proceeds in two main steps. In the first step, we find “good” sets V1,…,Vk (in fact, we show such a partition typically exists in any d-regular graph G without two short cycles close to each other). In the second step, we show the typical existence of a perfect matching between every relevant pair of these sets. The properties achieved in the first step facilitate the execution of the second step.

The first step of the proof, presented in Section 4, is perhaps the most involved and novel part. In this step, we establish key properties of the sets V1,…,Vk which will be crucial in verifying the typical existence of perfect matchings in the second step. First, we show that for every {i,j}∈E⁢(T), the degree of every v∈Vi into Vj is around d/k. Notice that, this property alone does not suffice to establish the existence of a perfect matching between Vi and Vj. To that end, we will also make sure that the sets V1,…,Vk are “close” to uniformly chosen sets. More specifically, we will require that a large proportion of each set satisfies a few typical properties.

In the second step (Section 5), we show that whp, for every {i,j}∈E⁢(T), there exists a perfect matching between Vi and Vj by showing that Hall’s condition is satisfied. That is, we will show that whp, for every W⊆Vi, we have |N⁢(W,Vj)|≥|W|. To that end, we utilise a useful bound given by Gao and Ohapkin (see [11, Corollary 8], and also [20]). First, we will show that whp for every two “small” sets U,W⊆V⁢(G) with |U|=|W|, there are not too many edges going from U to W. Moreover, since the sets V1,…,Vk were constructed in the first step in a way such that the degree of every vertex v∈Vi to appropriate Vj’s is not too small, we obtain a lower bound on e⁢(W,Vj) for every W⊆Vi. In particular, if |N⁢(W,Vj)|<|W|, we will get a contradiction for small sets W⊆Vi. In the same spirit, [11, Corollary 8] together with the properties of the sets V1,…,Vk allows us to bound |N⁢(W,Vj)| for every “large” W⊆Vi if the sets V1,…,Vk were chosen uniformly at random. Indeed, given randomly chosen disjoint sets A and B (that is, sets formed without first exposing G⁢(n,d)), the graph G⁢[A,B], given its degree sequence, has a uniform distribution. Our first step ensures that these sets behave similarly to uniformly chosen sets.

Let us return to the first step of the proof and describe the strategy of showing the typical existence of the “good” sets V1,…,Vk. We begin with a random partition of the vertices into k parts, S1,…,Sk. A key tool in establishing the existence of such sets V1,…,Vk is the Lovász Local Lemma. Since we want our sets to be close to the initial random sets S1,…,Sk (so that we may later be able to apply [11, Corollary 8], we will in fact utilise the algorithmic version of the Lovász Local Lemma, due to Moser and Tardos (see Theorem 4 in Section 3). Utilising the algorithmic version of the Lovász Local Lemma, we can show that in each step of the algorithm we resample a small number of random variables assigned to vertices, and thus the initial random sets S1,…,Sk will not be “far” from V1,…,Vk. Let us note here that when applying the algorithmic version of the Lovász Local Lemma, in the initial step of the algorithm one evaluates all “bad” events (requires O~⁢(n) time), and then, at each “resampling” step, one re-evaluates only those O⁢(1)=Od⁢(1) events that depend on the resampled random variables. Since the expected number of steps of the algorithm of Moser and Tardos is O⁢(n), this gives the overall expected running time O~⁢(n).

Now, for every vertex v∈V⁢(G), denote by Xv a uniform random variable on ⟦k⟧. For every i∈⟦k⟧, set Si≔{v∈V⁢(G):Xv=i}. Moreover, for every vertex v∈V⁢(G), denote by Bv the event that there exists {i,j}∈E⁢(T) such that v∈Si and d⁢(v,Sj)∉[δ⁢d/k,C⁢d/k] where δ>0 is a sufficiently small constant and C>0 is a sufficiently large constant. Notice that if ¬Bv occurs for every v∈V⁢(G), then we get the desired bounds on the degrees which is the first key point in the first step.

Note that, for every vertex v∈V⁢(G) and j∈⟦k⟧, we have d⁢(v,Sj)∼Bin⁢(d,1/k). This distribution is the heart of the obstacle concerning “large” trees. The reason for it is that whenever k≤d10⁢log⁡d, then the probability that the degree of v into Sj, for some j∈⟦k⟧, is not in the interval [δ⁢d/k,C⁢d/k] is at most d−8. Furthermore, the event Bv is determined by d+1 random variables Xu, and Bv is independent of all but at most d2 other events Bu. Therefore, we can apply the Lovász Local Lemma. It is worth noting here that if k≤d10⁢log⁡d, we may omit the requirement that {i,j}∈E⁢(T) in the definition of Bv. Then, if for every vertex v∈V⁢(G) we have that ¬Bv holds, then d⁢(v,Sj)∈[δ⁢d/k,C⁢d/k] for every vertex v∈V⁢(G) and index j∈⟦k⟧.

However, as k gets closer to (1−ϵ)⁢dlog⁡d, the probability that Bin⁢(d,1/k)<δ⁢d/k is not smaller than d−1−ϵ′, for some ϵ′>0 tending to zero as ϵ tends to zero. Thus, the treatment of this case is much more delicate and involves several rounds of applications of the algorithmic version of the Lovász Local Lemma, in order to refine the initial random partition. In the rest of this section, we describe these rounds.

Notice that, for every i∈⟦k⟧, the event Bv conditioned on v∈Si is more likely to occur as the degree of the i-th vertex in T gets larger. For this reason, we will treat vertices of small degree and vertices of large degree in T differently (this treatment is in Section 4.1). Assume that ⟦h⟧ is the set of vertices of T with “large” degrees. We slightly decrease the probability that Xv=i, for every i∈⟦h⟧. Then, after one application of the Lovász Local Lemma we will be able to get rid of vertices which have more than C⁢d/k neighbours into Sj, for some j∈⟦h⟧. Next, we consider the neighbourhood of the vertices which have degree less than δ⁢d/k into Sj, for some j∈⟦h⟧. We “resample” the vertices in this neighbourhood outside of S1,…,Sh into S1,…,Sh, that is, we move them into one of the sets S1,…,Sh uniformly at random. In this way, once again using the Lovász Local Lemma, we will have that d⁢(v,Sj)∈[δ⁢d/k,C⁢d/k] for every v∈V⁢(G) and j∈⟦h⟧.

Next, in Section 4.2, we partition the remaining vertices among Sh+1,…,Sk. In this third application of the Lovász Local Lemma, we will ensure that after the resampling we have the property that, for every vertex v∈V⁢(G) and for all but at most ϵ−2 indices j∈⟦k⟧, we have d⁢(v,Sj)∈[δ⁢d/k,C⁢d/k]. At this point, there will still be vertices v∈Si which have less than δ⁢d/k neighbours into some Sj where {i,j}∈E⁢(T). After the fourth application of the Lovász Local Lemma, we will be able to obtain a partition with no such vertices (that is, d⁢(v,Sj)∈[δ⁢d/k,C⁢d/k] for every v∈Si and {i,j}∈E⁢(T)).

Finally, in Section 4.4, we adjust the sets S1,…,Sk to be of size n/k each. This is the purpose of the fifth and final round of the Lovász Local Lemma. In this round, we will move vertices from sets of size bigger than nk to sets of size smaller than nk in a random manner. We will do so while ensuring the vertices v we move satisfy that d⁢(v,Sj)∈[δ⁢d/k,C⁢d/k] for every j∈⟦k⟧. After this round, while keeping the bounds over the degrees of the vertices, we will be able to make each set Si to be close to n/k up to and additive n/d100 error term. Finally, to make the sets exactly of size nk, we introduce a deterministic argument adjusting the sets S1,…,Sk while changing the degree of every vertex to every set Si by at most one. We thus obtain the required sets V1,…,Vk.

3 Algorithmic version of Lovász Local Lemma

We will make extensive use of the algorithmic version of the Lovász Local Lemma, due to Moser and Tardos [21].

Theorem 4 (Theorem 1.2 of [21], rephrased).

Let U be a finite set. Let X=(ξu)u∈U be a tuple of mutually independent random variables. Let ℱ be a finite set of events determined by X. Suppose that there exists q such that for every event F∈ℱ, ℙX⁢(F)≤q. Moreover, suppose that every F∈ℱ depends on at most Δ other events F′∈ℱ. Suppose that β∈(0,1) satisfies q≤β⁢(1−β)Δ. Then, there exists an evaluation of X which does not satisfy any event in ℱ.

Furthermore, let (Xn)n∈ℕ be a sequence of mutually independent copies of X, that is, for every n∈ℕ, Xn∼X. Initially, we sample X0 and let Z0≔X0. At step t≥1, we pick one F∈ℱ satisfied by Zt−1 (if one exists) in an arbitrary manner. Then, we consider all u∈U such that this witness F depends on the u-th coordinate of Zt−1, and set (Zt)u=(Xt)u for all such u and (Zt)u=(Zt−1)u for all other u. If no such F∈ℱ exists, the process halts and we set τ≔t. Then, 𝔼⁢[τ]≤|ℱ|⁢β1−β.

In fact, we will utilise the following corollary, whose proof appears in [8].

Corollary 5.

Let U be a finite set. Let m∈ℕ. Let X=(ξu)u∈U be a set of mutually independent random variables, supported on ⟦m⟧. Let S1,…,Sm be a partition of U satisfying Si={u∈U:ξu=i} for every i∈⟦m⟧. Let ℱ be a finite set of events determined by S1,…,Sm. Suppose that there exists q such that ℙX⁢(F)≤q for every event F∈ℱ. Moreover, suppose that every F∈ℱ is determined by at most Δ1 random variables ξu, and depends on at most Δ2 other events F′∈ℱ. Furthermore, suppose that β∈(0,1) satisfies that q≤β⁢(1−β)Δ2. Then, the probability (under the measure of X) that there exists a partition of U into U1,…,Um which does not satisfy any event in ℱ and |Si⁢△⁢Ui|≤2⁢Δ1⁢|ℱ|⁢β1−β for every i∈⟦m⟧, is at least 12.

4 Planting the seeds

As mentioned in Section 2, the proof of Theorem 1 consists of two main steps. In order to find a T-factor in G⁢(n,d), we will partition the vertices of G⁢(n,d) into |V⁢(T)| sets of the same size, each set represents a different vertex in the tree T, and find a perfect matching between the i-th set and the j-th set for every {i,j}∈E⁢(T). In this section, we prove the first step of the proof. That is, we find a partition of the vertices into |V⁢(T)| sets which satisfies two crucial properties, which in turn will allow us to find the desired perfect matchings in the second step in Section 5.

For every pair of integers d and n, let 𝒢d be the family of all d-regular graphs on n vertices, such that there are no two cycles of length at most 10 at distance less than 10 from each other. Recall that we treat d as fixed, and consider the asymptotic as n→∞. Note that whp G⁢(n,d)∈𝒢d (see, for example, [27]).

The main result of this section, which is the first step in the proof of Theorem 1, is the following.

Proposition 6.

For every ϵ>0, there exist a sufficiently small constant δ≔δ⁢(ϵ)>0, a sufficiently large constant C≔C⁢(ϵ)>0, and a sufficiently large integer d0 such that the following holds for any d≥d0.

Let T be a tree on k≤(1−ϵ)⁢dlog⁡d vertices. Let G∈𝒢d and suppose that n is divisible by k. Let S1,…,Sk be a uniformly random partition of V⁢(G): ℙ⁢(v∈Si)=1k for every i∈⟦k⟧, v∈V⁢(G) and the random choice of i∈⟦k⟧ for v∈V⁢(G) is performed independently of all the other vertices. Then, with probability bounded away from zero, there are disjoint sets V1,…,Vk⊆V⁢(G), each of size nk, with the following properties:

  1. (A)

    |Si⁢△⁢Vi|=od⁢(n/k) for every i∈⟦k⟧.

  2. (B)

    d⁢(v,Vj)∈[δ⁢dk,C⁢dk] for every {i,j}∈E⁢(T) and v∈Vi.

The proof of Proposition 6 is composed of four steps. Let us present here the overview of the proof and the organisation of this section.

In the first step of the proof of Proposition 6, appearing in Section 4.1, we construct the sets in the partition of V⁢(G) which correspond to vertices of high degree in T, where our treatment of vertices of high degree in T will be separate from those of low degree.

In the second step of the proof of Proposition 6, appearing in Section 4.2, we construct the remaining sets in the partition of V⁢(G) (that is, the sets corresponding to vertices of low degree in T). After this step, for every {i,j}∈E⁢(T), we will no longer have vertices in the i-th set in the partition whose degree into the j-th set is greater than C⁢d/k. However, we may still have a small amount of vertices with degree less than δ⁢d/k. In the third step of the proof of Proposition 6, appearing in Section 4.3, we get rid of all such vertices. Lastly, in the final step of the proof of Proposition 6, appearing in Section 4.4, we will balance the sets of the partition to be of size exactly n/k while we ensure that the requested properties are kept.

As discussed in Section 2, the proof is much simpler whenever one assumes k≤d10⁢log⁡d. Indeed, then some of the above steps may be skipped. We focus on the case where k≥d10⁢log⁡d. In Sections 4.1–4.4, we let T be a tree on ⟦k⟧ and assume that k≥d10⁢log⁡d.

4.1 Vertices of high degree in the tree

In this section, we build the sets in the partition of V⁢(G) that correspond to vertices of high degree in the tree. Let β≔β⁢(ϵ)>0 be a sufficiently small constant. Denote by Hd⁢e⁢g⁢(T) the set of vertices of T whose degree is at least d1−β, and let h≔|Hd⁢e⁢g⁢(T)|, noting that h<dβ, since k=|V⁢(T)|<d. Assume WLOG that ⟦h⟧⊆V(T)=⟦k⟧ is exactly the set Hd⁢e⁢g⁢(T). We construct the first h sets of the partition, ensuring that every v∈V⁢(G) will have degree between δ⁢d/k and C⁢d/k into each one of these sets.

A key tool here is the algorithmic version of the Lovász Local Lemma. We build the first h sets in two rounds. First, we construct random h sets by assigning each vertex into each one of them with probability (1−α)/k for a suitable choice of α. After this sample, whp we will not have vertices with degree larger than C⁢d/k into any of the sets. However, we will have a small amount of vertices of degree smaller than δ⁢d/k into some of the sets. We denote this set of vertices by B. In the next round, we will resample the neighbourhood of B outside of the first h sets in the partition, and put each vertex into each one of the first h sets with an appropriate probability, ensuring the expected size of the sets is n/k. As we will see, this probability will be at least 900/k. This, in turn, will allow us to get rid of vertices with less than δ⁢d/k neighbours into any of the first h sets in the partition.

The next lemma determines the value of α which should be considered.

Lemma 7.

There exists c∈[ϵ/4,5] such that α=d−c satisfies

ℙ⁢(Bin⁢(d,1−αk)≤δ⁢log⁡d)=α2d⋅h.

In relation to Theorem 2, we note that for the proof to follow, it is sufficient to n−3-approximate α. As we know that c∈[ϵ/4,5], the bisection method (see, for example, [5]) gives us an algorithm of finding an n−3-approximation of α within Oϵ⁢(log⁡n) steps.

Throughout the rest of the section, we let α be as in the statement of Lemma 7. For every vertex v∈V⁢(G), define the random variable Xv with the following distribution.

ℙ⁢(Xv=i)={1−αk,i∈⟦h⟧1−(1−α)⁢hk,i=0.

For every i∈⟦h⟧, let Si≔{v∈V⁢(G):Xv=i}. Given vertex disjoint sets U1,…,Uh, let

B⁢(U1,…,Uh) ≔{v∈V(G):∃i∈⟦h⟧,d(v,Ui)≤δlogd},
W⁢(U1,…,Uh) ≔{v∈V(G):∃i∈⟦h⟧,d(v,Ui)≥Clogd}.

Set B1≔B⁢(S1,…,Sh) and W1≔W⁢(S1,…,Sh).

Let us first estimate several probabilities (which are proved in [8]) that will be useful for us in the proof.

Lemma 8.

For every v∈V⁢(G), we have the following.

  1. 1.

    ℙ⁢(v∈W1)≤d−100.

  2. 2.

    ℙ⁢(v∈B1)≤α2d.

  3. 3.

    ℙ⁢(v∈N⁢(B1)∖⋃i⁣∈⁣⟦h⟧Si)≤2⁢(1−h⁢(1−α)k)⁢α2.

We are now ready for the first (out of several) key step in the proof.

Lemma 9.

With probability at least 12−o⁢(1), there exist disjoint sets A1(1),…,Ah(1)⊆V⁢(G) which satisfy the following. Let B2=B⁢(A1(1),…,Ah(1)) and let W2=W⁢(A1(1),…,Ah(1)). Then,

  1. 1.

    |Si⁢△⁢Ai(1)|≤nd50 and ||Ai(1)|−(1−α)⁢nk|≤nd50 for every i∈⟦h⟧.

  2. 2.

    W2=∅.

  3. 3.

    |N⁢(B2)∖⋃i⁣∈⁣⟦h⟧Ai(1)|≤3⁢α2⁢n.

Proof.

For every v∈V⁢(G), let Fv be the event that v∈W1. Let ℱ≔{Fv}v∈V⁢(G). By Lemma 8, for every v∈V⁢(G), we have ℙ⁢(Fv)≤d−100≕q. Observe that every Fv is determined by Δ1≔d random variables (its neighbours). Furthermore, every Fv depends on at most Δ2≔d2 other events (revealing whether a vertex v satisfies Fv may only affect the probability that u satisfies Fu for u which is in the second neighbourhood of v). Furthermore, note that β≔4⁢d−100 satisfies

β⁢(1−β)Δ2 =4⁢d−100⁢(1−4⁢d−100)d2≥4⁢d−100⁢e−d−90≥d−100=q. (1)

By Corollary 5, we obtain that with probability at least 12, there exist sets A1(1),…,Ah(1) such that W2=∅ and |Si⁢△⁢Ai(1)|≤2⋅d⋅n⋅4⁢d−1001−4⁢d−100≤nd51 for every i∈⟦h⟧. Let A1(1),…,Ah(1) be these sets (if they do not exist, set Ai(1)=Si for every i∈⟦h⟧). By the Chernoff bound, whp ||Si|−(1−α)⁢nk|≤n2/3 for every i∈⟦h⟧, and thus we obtain the first and second items of the lemma.

As for the third item, by Lemma 8,

𝔼⁢[|N⁢(B1)∖⋃i⁣∈⁣⟦h⟧Si|]≤2⁢(1−h⁢(1−α)k)⁢α2⁢n.

Moreover, the event that v∈N⁢(B1)∖⋃i⁣∈⁣⟦h⟧Si depends on at most d4 other events u∈N⁢(B1)∖⋃i⁣∈⁣⟦h⟧Si. Thus,

Var⁢(|N⁢(B1)∖⋃i⁣∈⁣⟦h⟧Si|) =∑u,vCov⁢(v∈N⁢(B1)∖⋃i⁣∈⁣⟦h⟧Si,u∈N⁢(B1)∖⋃i⁣∈⁣⟦h⟧Si)
≤n⁢d4.

Thus, by Chebyshev’s inequality, whp

|N⁢(B1)∖⋃i⁣∈⁣⟦h⟧Si|≤2⁢(1−h⁢(1−α)k)⁢α2⁢n+n2/3. (2)

Furthermore, whenever we change the location of a vertex (that is, move it from Si to Sj), we change the size of B1 by at most d. Hence,

||B2|−|B1||≤d⋅∑i⁣∈⁣⟦h⟧|Si⁢△⁢Ai(1)|≤d⋅h⋅nd51,

and thus ||N⁢(B2)|−|N⁢(B1)||<nd40. Together with (2), we obtain that

|N⁢(B2)∖⋃i⁣∈⁣⟦h⟧Ai(1)|≤3⁢α2⁢n,

where we used that α≥d−5. ◀

Recall that, in order to prove Proposition 6, we need to show that the sets V1,…,Vk exist with positive probability (bounded away from zero). We will actually prove that such sets exist with probability 1/4−o⁢(1). In particular, by Lemma 9, the sets A1(1),…,Ah(1) (satisfying the statement of the lemma) exist with probability 1/2−o⁢(1). For every possible tuple of disjoint sets (S1,…,Sh), if there exists a tuple of sets (A1(1),…,Ah(1)), satisfying the conclusion of Lemma 9, we fix such a tuple. Otherwise, we let Ai(1)=Si for all i∈⟦h⟧. Further in this section, we assume that the event from Lemma 9, that has probability at least 1/2−o⁢(1), actually occurs; we call the tuple (S1,…,Sh) nice in this case. Note that, under this assumption, the sets Ai(1) satisfy that no vertex has more than C⁢log⁡d neighbours in each one of them.

We turn to show that with probability bounded away from zero, there exist sets A1(2),…,Ah(2) that are “not far” from S1,…,Sh, and every vertex has between δ⁢log⁡d and 2⁢C⁢log⁡d neighbours in each one of A1(2),…,Ah(2). Let U be a set of size α⁢n1000 which contains N⁢(B2)∖⋃i⁣∈⁣⟦h⟧Ai(1) (note that by Lemma 9, |N⁢(B2)∖⋃i⁣∈⁣⟦h⟧Ai(1)|≤3⁢α2⁢n<α⁢n1000). We will make use of the following lemma.

Lemma 10.

There exist 900k≤p1,…,ph≤1100k such that, for every i∈⟦h⟧,

|Ai(1)|+pi⁢|U|=nk.

Let p1,…,ph be the probabilities from the statement of Lemma 10. Let us note that ∑i⁣∈⁣⟦h⟧pi≤1100⁢hk<1, since h<dβ and k≥d10⁢log⁡d. Further, for every v∈U we define a random variable Xv such that ℙ⁢(Xv=i)=pi for every i∈⟦h⟧. Similarly to the proof of Lemma 9, these random variables define a partition, for which we will apply the algorithmic version of Lovász Local Lemma (Corollary 5). Somewhat more explicitly, we will show that given this partition, the probability that a vertex has some set in which it has less than δ⁢log⁡d neighbours or more than 2⁢C⁢log⁡d neighbours is sufficiently small, so that a rather simple application of Corollary 5 obtains the required sets.

Lemma 11.

With probability at least 1/2−o⁢(1), there exist disjoint subsets A1(2),…,Ah(2)⊆V⁢(G) which satisfy the following.

  1. 1.

    |Si⁢△⁢Ai(2)|=od⁢(n/k) for every i∈⟦h⟧.

  2. 2.

    |Ai(2)−nk|=O⁢(n/d50) for every i∈⟦h⟧.

  3. 3.

    d⁢(v,Ai(2))∈[δ⁢log⁡d,2⁢C⁢log⁡d] for every i∈⟦h⟧ and v∈V⁢(G).

The complete proof of the above lemma appears in [8].

4.2 Vertices of low degree in the tree

We have proved that, if (S1,…,Sh) is nice (this happens with probability at least 1/2−o⁢(1)), then there exist sets A1(2),…,Ah(2) satisfying the properties as in the statement of Lemma 11. Throughout this section, we fix a nice tuple (S1,…,Sh) and a tuple (A1(2),…,Ah(2)), satisfying the conclusion of Lemma 11.

Recall that the sets A1(2),…,Ah(2) correspond to the high-degree vertices in T, and every vertex has between δ⁢log⁡d and 2⁢C⁢log⁡d neighbours in each of these sets. As described in the beginning of Section 4, in this section we aim to establish similar sets for low-degree vertices.

Let

U≔V⁢(G)∖⋃i⁣∈⁣⟦h⟧Ai(2). (3)

For every v∈U, let Xv be the random variable such that ℙ⁢(Xv=i)=1k−h, for every index i∈{h+1,…,k}. All Xv are independent. For every i∈{h+1,…,k}, set Si≔{v∈U:Xv=i}. This defines the random variable that we will consider, when applying Corollary 5. For convenience, let us also set Ai(2)≔Si for every i∈{h+1,…,k} (recall that Ai(2) is already defined for every i∈⟦h⟧).

Given a partition U1,…,Uk of V⁢(G), let B⁢(U1,…,Uk) be the set of vertices v∈V⁢(G) satisfying the following. There exist i∈⟦k⟧ and j∈{h+1,…,k} such that {i,j}∈E⁢(T),v∈Ui and d⁢(v,Uj)≤δ⁢log⁡d. Further, let W⁢(U1,…,Uk) be the set of vertices v∈V⁢(G) that satisfy at least one of the following.

  1. 1.

    There exists i∈⟦k⟧ such that d⁢(v,Ui)≥2⁢C⁢log⁡d.

  2. 2.

    There exist more than 1/ϵ2 indices i∈{h+1,…,k} such that d⁢(v,Ui)<δ⁢log⁡d.

  3. 3.

    There exists i∈⟦k⟧ such that d⁢(v,Ui∩B⁢(U1,…,Uk))>log⁡log⁡d.

In the following lemma, we show that there exists a “good” partition A1(3),…,Ak(3), which is not far from S1,…,Sk. Its complete proof is in [8]. The key element of the proof lies in yet another application of the algorithmic version of Lovász Local Lemma (Corollary 5), this time on the random partition A1(2),…,Ak(2).

Lemma 12.

With probability at least 1/2−o⁢(1), there exists a partition of V⁢(G) into A1(3),…,Ak(3) which satisfies the following. Let

B4=B⁢(A1(3),…,Ak(3)) and W4=W⁢(A1(3),…,Ak(3)).

Then,

  1. 1.

    |Ai(3)⁢△⁢Si|=od⁢(n/k) for every i∈⟦k⟧.

  2. 2.

    ||Ai(3)|−nk|=O⁢(n/d49) for every i∈⟦k⟧.

  3. 3.

    W4=∅.

  4. 4.

    |B4|≤n⁢d−1−ϵ/5.

  5. 5.

    For every i∈⟦k⟧, there are at least n4⁢k vertices v∈Ai(3) which satisfy that for every j∈⟦k⟧, d⁢(v,Aj(3))≥δ⁢log⁡d.

  6. 6.

    d⁢(v,Ai(3))∈[δ⁢log⁡d,2⁢C⁢log⁡d] for every i∈⟦h⟧ and v∈V⁢(G).

4.3 Eliminating bad vertices

A tuple (S1,…,Sk) is nice if (S1,…,Sh) is nice and there exist sets Ai(3), i∈⟦k⟧, satisfying the conclusion of Lemma 12. Due to Lemmas 9 and 12, with probability at least 1/4−o⁢(1), the considered random tuple of sets (S1,…,Sk) is nice. As in the previous section, for every nice tuple (S1,…,Sk), we fix the corresponding sets Ai(3), i∈⟦k⟧, satisfying the conclusion of Lemma 12. If (S1,…,Sk) is not nice, then we simply set Ai(3)=Si for all i∈⟦k⟧.

We assume that the event from Lemma 12 (that has probability at least 1/4−o⁢(1) due to Lemma 9), actually occurs; i.e. the tuple (S1,…,Sk) is nice. We recall that A1(3),…,Ak(3) satisfy that for every vertex v∈V⁢(G) and an index i∈⟦h⟧, we have d⁢(v,Ai(3))∈[δ⁢log⁡d,2⁢C⁢log⁡d]. Further, for every vertex v∈V⁢(G) and an index i∈⟦k⟧, we have d⁢(v,Ai(3))≤2⁢C⁢log⁡d. For every vertex v∈B5, denote by Iv⊆{h+1,…,k} the set of indices j∈{h+1,…,k} such that d⁢(v,Aj(3))≤δ⁢log⁡d. Set Γv≔{h+1,…,k}∖(Iv∪NT⁢(Iv)). For every vertex v∈B5, denote by Xv the uniform random variable over the set of integers Γv. This allows us to define a random partition, to which we apply the algorithmic version of Lovász Local Lemma and obtain the following sets.

Lemma 13.

There exist sets A1(4),…,Ak(4) such that the following holds:

  1. 1.

    |Ai(4)⁢△⁢Ai(3)|≤n⁢d−1−ϵ/5 for every i∈⟦k⟧.

  2. 2.

    d⁢(v,Aj(4))>δ⁢log⁡d2 for every {i,j}∈E⁢(T) and for every v∈Ai(4).

  3. 3.

    d⁢(v,Aj(4))<3⁢C⁢log⁡d for every vertex v∈V⁢(G) and every j∈⟦k⟧.

  4. 4.

    For every i∈⟦k⟧, there are at least n5⁢k vertices v∈Ai(4) which satisfy that for every j∈⟦k⟧, d⁢(v,Aj(4))≥δ⁢log⁡d2.

The complete proof of this lemma is in [8].

4.4 Balancing the sets

We have showed that, if (S1,…,Sk) is nice (this happens with probability at least 1/4−o⁢(1)), then there exist sets A1(4),…,Ak(4) satisfying the properties as in the statement of Lemma 13. Throughout this section, we fix a nice tuple (S1,…,Sk) and a tuple (A1(4),…,Ak(4)), satisfying the conclusion of Lemma 13.

Recall that the sets A1(4),…,Ak(4) have good degree distribution in between them, yet their size could be up to n⁢d−1−ϵ/5-far from n/k. We now turn to show that there exist sets A1(5),…,Ak(5), all “close” to A1(4),…,Ak(4), and all of size nk±O⁢(n⁢d−50), which still satisfy the “good degrees” assumption. This will, in turn, allow us to complete the balancing of the sets deterministically, and obtain sets of size exactly nk which satisfy the “good degrees” assumption.

To that end, let us reorder the sets such that A1(4),…,Am(4) are of size at least nk, and Am+1(4),…,Ak(4) are of size less than nk, for some m∈⟦k⟧. Further, for every i∈⟦k⟧, let Δi=||Ai(4)|−nk|, noting that by the first item in Lemma 13 and by the second item in Lemma 12, Δi≤n⁢d−1−ϵ/6. We have that for every i∈⟦k⟧, there are at least n5⁢k vertices v∈Ai(4) such that d⁢(v,Aj(4))∈[δ⁢log⁡d2,3⁢C⁢log⁡d] for every j∈⟦k⟧. For every i∈⟦m⟧, let Qi⊆Ai⁢(4) be a set of exactly n5⁢k such vertices, and set Q≔⋃i⁣∈⁣⟦m⟧Qi.

For every i∈⟦m⟧ and v∈Qi, set Mv∼Bernoulli⁢(pi) where pi=Δin/5⁢k. This Bernoulli random variable represents whether the vertex v is moved to the j-th set, for some j∈{m+1,…,k}, or not. In addition, let Zv be the random variable over the set {m+1,…,k} defined by ℙ⁢(Zv=j)=ΔjΔ1+…+Δm for every j∈{m+1,…,k}. Note that ∑j∈{m+1,…,k}ℙ⁢(Zv=j)=1 since Δ1+…+Δm=Δm+1+…+Δk. The random variable Zv represents the index j∈{m+1,…,k} for which the vertex v may move (it will indeed move to Aj(4) if and only if Mv=1). We stress that for every v∈Q, Mv and Zv are independent, and are also independent over different v. Let

A~i(4)≔{Ai(4)∖{v∈Qi:Mv=1},i∈⟦m⟧Ai(4)∪{v∈Q:Mv=1⁢ and ⁢Zv=i},i∈{m+1,…,k}.

Note that by the above construction, if Ai(4) is of size smaller than nk, then we may only move vertices into it, whereas when Ai(4) is of size larger than nk we may only move vertices outside of it. Further, if the set Ai(4) is of size exactly nk, then Δi=0, and thus the set will remain unchanged.

The proof of the following lemma then follows from some typical properties of the sets A~1(4),…,A~k(4), an application of Corollary 5, and bounding the probability a vertex v satisfies one of the following:

  • ■

    There exists {i,j}∈E⁢(T) such that v∈A~i(4) and d⁢(v,A~j(4))∉[δ⁢log⁡d3,4⁢C⁢log⁡d].

  • ■

    d⁢(v,Ai(4))>δ⁢log⁡d/2 for every i∈⟦k⟧; further, there is some i∈⟦k⟧ such that d⁢(v,A~i(4))≤δ⁢log⁡d/3.

See [8] for the full proof.

Lemma 14.

With probability at least 12−o⁢(1) (in the product measure induced by Mv and Zv, v∈Q), there exist disjoint sets A1(5),…,Ak(5) such that the following holds.

  1. 1.

    For every {i,j}∈E⁢(T) and for every v∈Ai(5), we have that d⁢(v,Aj(5))∈[δ⁢log⁡d3,4⁢C⁢log⁡d].

  2. 2.

    For every i∈⟦k⟧, we have |Ai(5)⁢△⁢A~i(4)|=O⁢(nd50).

  3. 3.

    For every i∈⟦k⟧, there are at least n6⁢k vertices v∈Ai(5) which satisfy that d⁢(v,Aj(5))∈[δ⁢log⁡d3,4⁢C⁢log⁡d] for every j∈⟦k⟧.

Fix sets A1(5),…,Ak(5) satisfying the properties as in the statement of Lemma 14. We are now ready to complete the proof of Proposition 6. To that end, we first show we can move the vertices between the sets A1(5),…,Ak(5) to obtain sets V1,…,Vk, each with exactly nk vertices, while maintaining the degree distribution between the sets.

Lemma 15.

There exists sets V1,…,Vk such that the following holds.

  1. 1.

    For every {i,j}∈E⁢(T) and for every v∈Vi, we have that d⁢(v,Vj)∈[δ⁢log⁡d4,5⁢C⁢log⁡d].

  2. 2.

    |Vi⁢△⁢Ai(5)|=od⁢(n/k) for every i∈⟦k⟧.

  3. 3.

    |Vi|=nk for every i∈⟦k⟧.

Proof.

It suffices to show that we can move vertices from sets of size larger than nk to sets of smaller size, without changing the degree of any vertex into any of the sets by more than one. Consider the following procedure. We start with the sets A1(5),…,Ak(5).

Recall that at least n6⁢k vertices v∈Ai(5) satisfy d⁢(v,Aj(5))∈[δ⁢log⁡d3,4⁢C⁢log⁡d] for every i,j∈⟦k⟧. Furthermore, by the second item in Lemma 14 together with typical properties of A1(4),…,Ak(4), ||Ai(5)|−nk|=O⁢(n/d50), for every i∈⟦k⟧.

We proceed inductively. Suppose we have already moved vertices v1,…,vt and that there still exists a set Ai(5) of size larger than n/k. In particular, t≤k⋅O⁢(n/d50)<n/d45. Note that n6⁢k−d2⁢t≥n7⁢k>0, and thus there exists a vertex v∈Ai(5) which satisfies the following two properties:

  • ■

    v is not in the second neighbourhood of any v1,…,vt, and,

  • ■

    for every j∈⟦k⟧, the number of neighbours of v in Aj(5) lies in the interval [δ⁢log⁡d3,5⁢C⁢log⁡d].

We move the vertex v to an arbitrary set of size smaller than nk. Observe that the above two properties guarantee that throughout the entire process, the degree of any vertex into any set will change by at most one. ◀

We are now ready to prove Proposition 6.

Proof of Proposition 6.

We have showed that, with probability 1/4−o⁢(1) (in the measure induced by (S1,…,Sk)), there exist sets V1,…,Vk that satisfy item 1 and item 3 from Lemma 15 and that |Vi⁢△⁢Si|=od⁢(n/k) for every i∈⟦k⟧, due to Lemmas 12(1), 13(1), 14(2), and 15(2).

Now, let S~1,…,S~k be a uniformly random partition of V⁢(G): every v∈V⁢(G) is assigned to S~i for an index i∈⟦k⟧ chosen uniformly at random, independently of all the other vertices. All that is left then is to observe that there is a coupling (Si′,S~i) such that (S1′,…,Sk′)=d(S1,…,Sk) and |Si′⁢△⁢S~i|=od⁢(n/k) for every i∈⟦k⟧ whp.

Indeed, consider the following coupling. Initially, for every i∈⟦k⟧, we set Si′=S~i. We then keep every vertex v∈Si′, for every i∈⟦h⟧, with probability 1−α, and with probability α we remove v from Si. Let N1 be the set of removed vertices. Recall that the choice of α is according to Lemma 7, thus we removed at most n/d1+ϵ/5 vertices from every set Si′ whp. Observe that (S1′,…,Sh′)=d(S1,…,Sh) and whp |Si′⁢△⁢S~i|=od⁢(n/k). However, sets Sh+1′,…,Sk′ should be still perturbed since the set U from (3) is obtained after two resamples due to Corollary 5. Thus, we now consider the first two applications of the algorithmic Lovász Local Lemma. By Lemmas 9 and 11 and since we defined Ai(1):=Si for partitions (S1,…,Sh) that do not satisfy the event from the statement of Lemma 9, for every i∈⟦h⟧, the number of vertices which are moved inside/outside of Si is od⁢(n/k). Denote by N2+ and N2− the sets of vertices which were moved in these first two applications of the algorithmic Lovász Local Lemma from outside of S1′∪…∪Sh′ to A1(2)∪…∪Ah(2) and from S1′∪…∪Sh′ outside of A1(2)∪…∪Ah(2), respectively. We have that |N2−|=od⁢(n) and |N2+|=od⁢(n). We then partition the set N1∪N2−∖N2+ that has size od⁢(n) whp uniformly at random into Sh+1′′,…,Sk′′. Letting Si′:=Si′∪Si′′, for every i∈⟦k⟧∖⟦h⟧, and recalling that k−h=(1−od⁢(1))⁢k, we get that (S1′,…,Sk′)=d(S1,…,Sk) and that |Si′⁢△⁢S~i|=od⁢(n/k) for every i∈⟦k⟧ whp, completing the proof. ◀

5 Growing the trees

In this section, we show how to construct the tree factor, given the vertex partition guaranteed by Proposition 6. Recall that whp, G⁢(n,d)∈𝒢d (see, for example, [27]). This enables us to apply Proposition 6.

The following two claims, whose proofs appear in [8], show that typically there are not “too many” edges between any two small sets of equal size, and bound the neighbourhoods of large sets as well.

Claim 16.

For every ϵ,δ>0, there exists η>0 such that, for sufficiently large d, whp the following holds in G∼G⁢(n,d). Let k≤(1−ϵ)⁢dlog⁡d be an integer. Then, for every two disjoint sets A,B⊆V⁢(G) satisfying |A|=|B|<η⋅nk, we have e⁢(A,B)<|A|⋅δ⋅dk.

Claim 17.

For every ϵ,η>0, there exist ϵ1,ϵ2>0 such that, for sufficiently large d, the following holds in G∼G⁢(n,d). Let 2≤k≤(1−ϵ)⁢dlog⁡d be an integer and let S1,…,Sk be a uniformly random partition of V⁢(G). Then, whp, for every i≠j∈⟦k⟧ and A⊂Si satisfying η⁢nk≤|A|≤0.5⁢(1+ϵ1)⁢nk, we have |N⁢(A,Sj)|≥(1+ϵ2)⁢|A|.

We are now ready to prove Theorem 1.

Proof of Theorem 1.

Let ϵ>0 be a constant and let d be a sufficiently large integer. Let T be a tree on k≤(1−ϵ)⁢dlog⁡d vertices. We will show that whp G∼G⁢(n,d) contains a T-factor. Let δ=δ⁢(ϵ)>0 and C=C⁢(ϵ)>0 be the constants guaranteed by Proposition 6. In addition, let η=η⁢(ϵ,δ) be the constant guaranteed by Claim 16 and let ϵ1=ϵ1⁢(η2,ϵ) and ϵ2=ϵ2⁢(η2,ϵ) be the constants guaranteed by Claim 17.

Now, let S1,…,Sk be such that every v∈V⁢(G) is assigned to Si for an index i∈⟦k⟧ chosen uniformly at random, independently from all the other vertices. Note that whp G⁢(n,d)∈𝒢d and the statements of Claims 16 and 17 are satisfied. We then fix a deterministic G∈𝒢d that satisfies conclusions of both claims.

Let Σ be the set of all partitions of V⁢(G) into k ordered sets. Let Σ′⊂Σ be the set of all nice (S1,…,Sk), i.e. those that satisfy the conclusion of Proposition 6. Due to Proposition 6, there exists a constant γ>0 such that |Σ′|/|Σ|≥γ. On the other hand, let Σ′′⊂Σ be the set of all good (S1,…,Sk), i.e. those that satisfy the conclusion of Claim 17. We know that |Σ′′|/|Σ|=1−o⁢(1). We immediately get that there exists a tuple (S1,…,Sk) which is simultaneously nice and good. Since this tuple is nice, there exist sets V1,…,Vk which satisfy all the desired requirements. Under these assumptions, we will be able to show deterministically that there exists a perfect matching between Vi and Vj for every {i,j}∈E⁢(T) which implies the existence of a T-factor. One way to show the latter implication is, for example, by induction on k. Assume without loss of generality that k∈V⁢(T) is a leaf and that, by induction assumption, we have a T′-factor in ∪i=1k−1Vi where T′=T∖{k}. We may then complete T′ to a T-factor via the perfect matching between Vk and Vi where i is the only neighbour of k in T.

Fix {i,j}∈E⁢(T). We will show that Hall’s condition is satisfied between Vi and Vj in G. Let W⊆Vi. We will prove that |N⁢(W,Vj)|≥|W|. By Proposition 6, for every v∈Vi, we have d⁢(v,Vj)∈[δ⋅dk,C⋅dk]. Hence, e⁢(W,Vj)≥|W|⋅δ⋅dk. We split the proof into three parts depending on the size of |W|.

First of all, we show that if |W|<η⋅nk, then |N⁢(W,Vj)|>|W|. Assume towards contradiction that this is false. Then, there exists a set B⊆Vj satisfying N⁢(W,Vj)⊆B and |B|=|W|. By Claim 16, we have e⁢(W,B)=e⁢(W,Vj)<|W|⋅δ⋅dk, a contradiction.

Next, assume that η⋅nk≤|W|≤0.5⁢(1+ϵ1)⁢nk. We have

|W∩Si|≥|W|−|Vi∖Si|≥η⋅nk−|Vi∖Si|≥η2⋅nk,

where the last inequality is true since |Vi∖Si|=od⁢(n/k) by Proposition 6. Thus,

|NVj⁢(W)| ≥|NSj⁢(W∩Si)∩Vj|
≥(1+ϵ2)⁢|W∩Si|−|Vj∖Sj|
≥(1+ϵ2)⁢(|W|−|Vi∖Si|)−|Vj∖Sj|>|W|,

where the second inequality is true by Claim 17 and the last inequality is true since |Vi∖Si|,|Vj∖Sj|=od⁢(n/k) and |W|=Ω⁢(n/k).

Finally, assume that 0.5⁢(1+ϵ1)⁢nk<|W|≤nk. Assume towards contradiction that |N⁢(W,Vj)|<|W|. Let B⊆Vj∖N⁢(W,Vj) be an arbitrary set of size |Vi∖W|. Notice that N⁢(B,Vi)⊆Vi∖W, otherwise there exists v∈B which is adjacent to u∈W. This in turn implies that v∈N⁢(W,Vj) and, in particular, v∉B – a contradiction. Moreover,

|B|=|Vi|−|W|<|Vi|−0.5⁢(1+ϵ1)⁢nk=0.5⁢(1−ϵ1)⁢nk.

Therefore, by the previous argument (with i and j reversed), |N⁢(B,Vi)|>|B|. However, since N⁢(B,Vi)⊆Vi∖W, we have |N⁢(B,Vi)|≤|Vi∖W|=|B| – contradiction. ◀

References

  • [1] Noga Alon and Nicholas Wormald. High degree graphs contain large-star factors. In Fete of Combinatorics and Computer Science, pages 9–21. Springer, 2010.
  • [2] Noga Alon and Raphael Yuster. Threshold functions for H-factors. Combinatorics, Probability and Computing, 2(2):137–144, 1993. doi:10.1017/S0963548300000559.
  • [3] Hilda Assiyatun and Nicholas Wormald. 3-star factors in random d-regular graphs. European Journal of Combinatorics, 27(8):1249–1262, 2006. doi:10.1016/J.EJC.2006.05.003.
  • [4] Béla Bollobás. Random graphs. In Combinatorics (Swansea, 1981), volume 52 of London Math. Soc. Lecture Note Ser., pages 80–102. Cambridge Univ. Press, Cambridge-New York, 1981.
  • [5] Richard L. Burden and J. Douglas Faires. Numerical analysis. Boston, MA: PWS Publishing Company; London: ITP International Thomson Publishing, 5th ed. edition, 1993.
  • [6] Fabian Burghart, Annika Heckel, Marc Kaufmann, Noela Müller, and Matija Pasch. Sharp thresholds for factors in random graphs. arXiv preprint, arXiv:2411.14138, 2024.
  • [7] Li Chen, Rasmus Kyng, Yang P Liu, Richard Peng, Maximilian Probst Gutenberg, and Sushant Sachdeva. Maximum flow and minimum-cost flow in almost-linear time. In 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS), pages 612–623. IEEE, 2022. doi:10.1109/FOCS54457.2022.00064.
  • [8] Sahar Diskin, Ilay Hoshen, and Maksim Zhukovskii. Tree tilings in random regular graphs. arXiv preprint, arXiv:2412.19756, 2024.
  • [9] Nemanja Draganić and Michael Krivelevich. Disjoint connected dominating sets in pseudorandom graphs. Proceedings of the 57th Symposium on Theory of Computing (STOC’25), accepted.
  • [10] P. Erdős and A. Rényi. On the existence of a factor of degree one of a connected random graph. Acta Math. Acad. Sci. Hungar., 17:359–368, 1966. doi:10.1007/BF01894879.
  • [11] Pu Gao and Yuval Ohapkin. Subgraph probability of random graphs with specified degrees and applications to chromatic number and connectivity. Random Structures & Algorithms, 62(4):911–934, 2023. doi:10.1002/RSA.21123.
  • [12] Annika Heckel. Random triangles in random graphs. Random Struct. Algorithms, 59(4):616–621, 2021. doi:10.1002/rsa.21013.
  • [13] Annika Heckel, Marc Kaufmann, Noela Müller, and Matija Pasch. The hitting time of clique factors. Random Structures & Algorithms, 65:275–312, 2024. doi:10.1002/RSA.21218.
  • [14] Joseph Hyde, Natasha Morrison, Alp Müyesser, and Matías Pavez-Signé. Spanning trees in pseudorandom graphs via sorting networks. arXiv preprint arXiv:2311.03185, 2023.
  • [15] Svante Janson. Random regular graphs: asymptotic distributions and contiguity. Combin. Probab. Comput., 4:369–405, 1995. doi:10.1017/S0963548300001735.
  • [16] Anders Johansson, Jeff Kahn, and Van Vu. Factors in random graphs. Random Structures & Algorithms, 33(1):1–28, 2008. doi:10.1002/RSA.20224.
  • [17] M. Krivelevich and B. Sudakov. Pseudo-random graphs. In More sets, graphs and numbers, volume 15 of Bolyai Soc. Math. Stud., pages 199–262. Springer, Berlin, 2006. doi:10.1007/978-3-540-32439-3_10.
  • [18] Michael Krivelevich. Crowns in pseudo-random graphs and hamilton cycles in their squares. arXiv preprint arXiv:2305.08442, 2023.
  • [19] Tomasz Łuczak and Andrzej Ruciński. Tree-matchings in graph processes. SIAM J. Discrete Math., 4(1):107–120, 1991. doi:10.1137/0404011.
  • [20] Brendan D. McKay. Subgraphs of random graphs with specified degrees. Congr. Numer., 33:213–223, 1981.
  • [21] Robin A. Moser and Gábor Tardos. A constructive proof of the general Lovász local lemma. J. ACM, 57(2):15, 2010. Id/No 11. doi:10.1145/1667053.1667060.
  • [22] R. Otter. The number of trees. Annals of Mathematics, 2(49):583–599, 1948.
  • [23] Matías Pavez-Signé. Spanning trees in the square of pseudorandom graphs. arXiv preprint arXiv:2307.00322, 2023.
  • [24] Oliver Riordan. Random cliques in random graphs and sharp thresholds for F-factors. Random Struct. Algorithms, 61(4):619–637, 2022. doi:10.1002/rsa.21111.
  • [25] Robert W. Robinson and Nicholas C. Wormald. Almost all regular graphs are hamiltonian. Random Structures & Algorithms, 5(2):363–374, 1994. doi:10.1002/RSA.3240050209.
  • [26] Andrzej Ruciński. Matching and covering the vertices of a random graph by copies of a given graph. Discrete Math., 105(1-3):185–197, 1992. doi:10.1016/0012-365X(92)90141-2.
  • [27] N. C. Wormald. Models of random regular graphs. In Surveys in Combinatorics, 1999, volume 267 of London Math. Soc. Lecture Note Ser., pages 239–298. Cambridge Univ. Press, Cambridge, 1999.
  • [28] Nicholas C. Wormald. The asymptotic distribution of short cycles in random regular graphs. J. Combin. Theory Ser. B, 31(2):168–182, 1981. doi:10.1016/S0095-8956(81)80022-6.