Very fast construction of bounded-degree spanning graphs via the semi-random graph process
Omri Ben-Eliezer, Lior Gishboliner, Dan Hefetz, Michael Krivelevich

TL;DR
This paper demonstrates that in a semi-random graph process, any bounded-degree graph can be constructed with high probability in linear time, providing tight bounds and highlighting differences between adaptive and non-adaptive strategies.
Contribution
It proves that any bounded-degree graph can be built efficiently in the semi-random process, answering a question by N. Alon, and establishes tight bounds for spanning forests and other structures.
Findings
Bounded-degree graphs constructed in $(3 ext{Δ}/2 + o( ext{Δ})) n$ rounds w.h.p.
Spanning forests of maximum degree Δ constructed in $O(n ext{log} ext{Δ})$ rounds w.h.p.
Non-adaptive strategies require $ ext{Ω}(n ext{√log} n)$ rounds to eliminate all isolated vertices.
Abstract
Semi-random processes involve an adaptive decision-maker, whose goal is to achieve some predetermined objective in an online randomized environment. They have algorithmic implications in various areas of computer science, as well as connections to biological processes involving decision making. In this paper, we consider a recently proposed semi-random graph process, described as follows: we start with an empty graph on vertices, and in each round, the decision-maker, called Builder, receives a uniformly random vertex , and must immediately (in an online manner) choose another vertex , adding the edge to the graph. Builder's end goal is to make the constructed graph satisfy some predetermined monotone graph property. We consider the property of containing a spanning graph as a subgraph. It was asked by N. Alon whether for any bounded-degree , Builder can…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Very fast construction of bounded-degree spanning graphs
via the semi-random graph process
Omri Ben-Eliezer Blavatnik School of Computer Science, Raymond and Beverly Sackler Faculty of Exact Sciences, Tel Aviv University, Tel Aviv, 6997801, Israel. Email: [email protected].
Lior Gishboliner School of Mathematical Sciences, Raymond and Beverly Sackler Faculty of Exact Sciences, Tel Aviv University, Tel Aviv, 6997801, Israel. Email: [email protected]. Supported in part by ERC Starting Grant 633509.
Dan Hefetz Department of Computer Science, Ariel University, Ariel 40700, Israel. Email: [email protected]. Research supported by ISF grant 822/18.
Michael Krivelevich School of Mathematical Sciences, Raymond and Beverly Sackler Faculty of Exact Sciences, Tel Aviv University, Tel Aviv, 6997801, Israel. Email: [email protected]. Partially supported by USA-Israel BSF grants 2014361 and 2018267, and by ISF grant 1261/17.
Semi-random processes involve an adaptive decision-maker, whose goal is to achieve some predetermined objective in an online randomized environment. In this paper, we consider a recently proposed semi-random graph process, defined as follows: we start with an empty graph on vertices, and in each round, the decision-maker, called Builder, receives a uniformly random vertex , and must immediately (in an online manner) choose another vertex , adding the edge to the graph. Builder’s end goal is to make the constructed graph satisfy some predetermined monotone graph property. There are also natural offline and non-adaptive modifications of this setting.
We consider the property of containing a spanning graph as a subgraph. It was asked by N. Alon whether for every bounded-degree , Builder can construct a graph satisfying with high probability in rounds. We answer this question positively in a strong sense, showing that any graph with maximum degree can be constructed with high probability in rounds, where the term tends to zero as . This is tight (even for the offline case) up to a multiplicative factor of . Furthermore, for the special case where is a forest of maximum degree , we show that can be constructed with high probability in rounds. This is tight up to a multiplicative constant, even for the offline setting. Finally, we show a separation between adaptive and non-adaptive strategies, proving a lower bound of on the number of rounds necessary to eliminate all isolated vertices w.h.p. using a non-adaptive strategy. This bound is tight, and in fact there are non-adaptive strategies for constructing a Hamilton cycle or a -factor, which are successful w.h.p. within rounds.
1 Introduction
Recently, the following semi-random graph process was proposed by Peleg Michaeli, and analyzed by Ben-Eliezer, Hefetz, Kronenberg, Parczyk, Shikhelman, and Stojaković [3]. A single adaptive player, called Builder, starts with an empty graph on a set of vertices. The process then proceeds in rounds, where in each round Builder is offered a uniformly random vertex , and chooses an edge of the form to add to the graph . Builder’s objective is typically to construct a graph that satisfies some predetermined monotone graph property; for example, to make an expander with certain parameters, or to have contain a Hamilton cycle. The natural question arising in this context is the following:
Given a monotone graph property , how many rounds of the semi-random graph process are required for Builder to construct (with high probability111With probability that tends to one as ; abbreviated w.h.p. henceforth.) a graph which satisfies ?
Semi-random problems of this type, involving both randomness and intelligent choices made by a “decision-maker”, have been widely studied in the algorithmic literature. One of the first (and most famous) results on such processes, established by Azar et al. [2], concerns sequential allocation of balls into bins, where the goal is to minimize the number of balls in the fullest bin. It is well-known that if each ball is simply assigned to a bin uniformly at random, then w.h.p., the fullest bin will contain balls at the end of the process. However, as was shown in [2], very limited “intelligent intervention” substantially improves the above bound: if, instead of the random assignment, for any ball we are given two (random) choices of bins to pick from, then the trivial strategy of always choosing the least loaded bin out of the two offered, results w.h.p. in the maximum bin load dropping to – an exponential improvement. This idea has inspired many subsequent theoretical and practical results in various contexts within computer science, see e.g. [8, 22, 25] for a small sample of these.
In a sense, semi-random processes can be viewed as settings where an online algorithm aims to achieve a predetermined objective in a randomized environment. As opposed to the “standard” setting where online algorithms are measured in terms of their worst-case performance, in the semi-random setting the task is to design online algorithms that achieve their goal with high (or at least constant) probability, and require as few rounds as possible. Further discussion of related semi-random graph models, such as the so-called Achlioptas model, can be found in Section 1.1.
In this paper we continue the investigation into the semi-random graph process. The first work on this topic [3] proved upper and lower bounds on the number of rounds required to w.h.p. satisfy various properties of interest. Among the upper bounds were a bound for the property of containing a copy of any fixed graph (here depends on ), a bound for containing a perfect matching or a Hamilton cycle, and a bound for the property of having minimum degree , as well as for the property of -vertex-connectivity. These results prompted Noga Alon to ask whether it is the case that every given (spanning) graph of bounded maximum degree can be constructed w.h.p. in rounds in this model. Formally, define as the property of containing an (unlabeled) copy of , i.e., as the property that there exists an injection (where is the graph constructed by Builder), so that for every .
Question 1.1** (Alon, Question 6.2 in [3]).**
Consider the semi-random graph process over vertices. Is it true that for every graph on vertices with bounded maximum degree, there exists a strategy which enables Builder to w.h.p. construct a copy of in rounds?
The main result of this paper gives a positive answer to the above question (see Theorem 1.3).
The offline setting
Before addressing Question 1.1, let us consider the easier offline setting, where Builder is provided in advance with the full sequence of vertices offered throughout the process. In other words, in this setting Builder does not need to make his decisions online, but can rather choose all edges at once after seeing the sequence of random vertices.
As an example, consider the case where Builder’s goal is to construct a triangle-factor222For a graph and an integer divisible by , the -vertex -factor is the graph which consists of vertex-disjoint copies of .. Observe that if at some point of the process, at least different vertices have been offered, among which at least vertices have been offered at least twice, then Builder can already construct a triangle-factor (in the offline setting). Indeed, Builder simply partitions the vertices into triples , where was offered at least twice and was offered at least once, and chooses the edges and at rounds when was offered, and the edge at a round when was offered. It is easy to check that rounds suffice w.h.p. to have at least different vertices offered, and moreover to have at least vertices offered at least twice. Thus, in the offline setting Builder can construct a triangle-factor in rounds. This bound can in fact be generalized in a strong sense to any bounded-degree target graph . Proposition 4.1 in [3] – which presents necessary and sufficient general winning conditions for Builder in the offline setting – implies that Builder wins the game as soon as the list of offered vertices allows the construction of a suitable orientation of . In Section 3.1 we show how this can be used to get the following general offline result.
Proposition 1.2**.**
Let be integers, and let be an -vertex graph of maximum degree . In the offline version of the semi-random process on vertices, Builder has a strategy allowing him to construct a copy of in rounds w.h.p.
The term here is a function of satisfying as . Proposition 1.2 substantially extends Theorem 1.9 in [3], which showed a similar result for the property of having minimum degree at least (with an explicit dependence on ). Proposition 1.2 is clearly optimal up to the term, since -regular graphs on vertices have exactly edges (and hence trivially require at least this number of rounds). More interestingly, it turns out that the -term is unavoidable; it follows from [3, Theorem 1.9] that at least rounds are required for Builder to construct a graph of minimum degree at least , where (and as ).
Main result: online strategy for constructing bounded-degree spanning graphs
We now return to the more challenging online setting, where Builder is offered vertices one-by-one and must (irrevocably) decide which edge to add immediately after being offered a vertex. Our main result in this paper, Theorem 1.3, asserts that Builder can construct any given bounded-degree spanning graph in rounds w.h.p.
Theorem 1.3**.**
Let be integers and let be an -vertex graph of maximum degree . In the online version of the semi-random graph process on vertices, Builder has a strategy guaranteeing that w.h.p., after
[TABLE]
rounds of the process, the constructed graph will contain a copy of .
As before, the term here is a function of satisfying as . Note that is allowed to depend on arbitrarily. Theorem 1.3 answers Question 1.1 in a strong sense: not only can any bounded-degree graph be constructed w.h.p. in a linear number of rounds, but in fact, the dependence on the maximum degree is very modest. This result clearly illustrates the power of semi-random algorithms compared to their truly random counterparts; see the discussion below on the appearance of various spanning structures in the random graph process.
The notion of competitive ratio [6] refers to the performance of an online algorithm compared to the best offline algorithm for the same problem. In view of the trivial lower bound and Proposition 1.2, our algorithm is -competitive for general , where the term tends to zero as tends to infinity. As an open question, it will be very interesting to determine the optimal competitive ratio of an online algorithm for this problem.
Problem 1.4**.**
In the online version of the semi-random process on vertices, is it true that for every -vertex graph of maximum degree , Builder has a strategy to construct a copy of w.h.p. in rounds?
We end this discussion with two additional problems, which ask for tight bounds on the number of rounds required to construct some specific graphs of particular interest.
Problem 1.5** (Tight bounds for constructing a Hamilton cycle).**
Is there a number such that in the online version of the semi-random process on vertices, Builder can w.h.p. construct a Hamilton cycle in rounds, but w.h.p. cannot accomplish this in rounds? If so, what is the value of ?
Problem 1.6** (Tight bounds for constructing a -factor).**
For each , is there a number such that in the online version of the semi-random process on vertices, for which is divisible by , Builder can w.h.p. construct a -factor in rounds, but w.h.p. cannot accomplish this in rounds? If so, what is the value of ?
We note that Problem 1.6 is open even for , in which case Builder’s goal is to construct a perfect matching. Both the perfect matching problem and the Hamilton cycle problem were already considered in [3], where some bounds for these problems were obtained.
Constructing a bounded-degree spanning forest
Theorem 1.3 establishes that the (typical) number of rounds needed to construct a general spanning graph of maximum degree is . This is clearly tight for graphs whose average degree is . It is now natural to ask if we can break the barrier for graphs with a much smaller average degree, such as trees. The next result answers this question positively.
Theorem 1.7**.**
Let be integers and let be an -vertex forest of maximum degree . In the online version of the semi-random process on vertices, Builder has a strategy guaranteeing that w.h.p., after rounds of the process, the constructed graph will contain a copy of .
The next proposition shows that the dependence on and in Theorem 1.7 is tight even for the offline version of the semi-random process.
Proposition 1.8**.**
For every and for every , there exists a forest with vertices and maximum degree satisfying the following. In the offline version of the semi-random graph process, w.h.p. Builder needs rounds in order to construct a copy of .
We conclude this section by proposing the following problem:
Problem 1.9**.**
How many rounds are required to construct -vertex -degenerate graphs of maximum degree ?
An answer to Problem 1.9 would generalize Theorem 1.7, as forests are exactly the -degenerate graphs.
Non-adaptive strategies
It is fairly natural to inquire whether imposing the restriction of non-adaptivity handicaps Builder, and if so, to which extent exactly. Here, by non-adaptivity we mean that, in a sense, Builder’s choices are decided upon beforehand, and do not depend on the situation at any given round of the process. The precise definition that we use is as follows. A non-adaptive strategy consists of a family of adjacency lists , where for each , the list is a permutation of . The lists are specified in advance (i.e., before the sequence of random vertices starts being exposed). Playing according to such a strategy means that during the vertex exposure process , if in a given round vertex appears for the th time, , then Builder is obliged to connect to the th vertex on its list. (To avoid ambiguities, let us assume that if has already been connected to , then Builder simply skips his move. This assumption will not change much in our analysis.)
It turns out that the non-adaptivity assumption indeed hampers Builder — it takes him typically rounds to get rid of isolated vertices, as stated in Theorem 1.10 below. This is in rather sharp contrast with the situation for general (i.e. adaptive) strategies. Indeed, it is easy to see that Builder can construct a connected graph in rounds (with probability ); constructing a graph with no isolated vertices can be done w.h.p. even faster, in rounds (see [3]); and finally, Theorem 1.3 shows that in fact every bounded-degree graph can be constructed in rounds. The three theorems below are for the online version of the semi-random graph process.
Theorem 1.10**.**
In the semi-random process on vertices, any non-adaptive strategy requires w.h.p. rounds to construct a graph in which none of the vertices is isolated.
It turns out that the lower bound of Theorem 1.10 is tight in a strong sense: by executing an appropriate non-adaptive strategy for rounds, Builder can construct w.h.p. several important spanning structures, such as a Hamilton cycle and a -factor (for fixed ). This is expressed in the following two theorems.
Theorem 1.11**.**
In the semi-random process on vertices, there is a non-adaptive strategy allowing Builder to construct a Hamilton cycle in rounds w.h.p.
Theorem 1.12**.**
For every there is such that for every which is divisible by , there is a non-adaptive strategy allowing Builder to construct a -factor in rounds w.h.p.
We remark that while the above definition of non-adaptivity is deterministic in nature (in the sense that the lists are predetermined), the proof of Theorem 1.10 can be easily adapted (with the same asymptotic lower bound) to apply also to “random non-adaptive strategies”, i.e. strategies in which for every and , the vertex which Builder connects to at the th time that is sampled is drawn from some predetermined probability distribution on .
The situation in the (“purely”-)random graph process
A common theme in our results is that introducing “intelligent choices” into a random setting can allow for a dramatic improvement. (Perhaps the first appearance of this theme is in the aforementioned work of Azar et al. [2].) To illustrate this phenomenon in the setting of random graph processes, let us compare our Theorem 1.3 with the situation in which all edge-choices are made completely randomly. Recall that the random graph process is defined by choosing a random permutation of all edges of , and letting be the graph whose edge-set is . We refer the reader to [9, 11] for an overview of this classical object, as well as the standard random graph models and , which are mentioned below. Note that for each , the graph is distributed as the Erdős-Rényi graph , i.e. as a random graph chosen uniformly among all graphs with edges and (labeled) vertices.
The appearance of bounded-degree spanning graphs in the random graph process (or equivalently, in ) has been thoroughly investigated333We note that the results surveyed here were actually proved for the binomial random graph , which is the graph obtained by selecting each of the edges of with probability and independently. It is well known — see e.g. [11, Section 1.4] or [9, Section 1.1] — that is closely related to when , allowing the transfer of results between the two models.. For starters, a standard first moment argument (see e.g. [11]) shows that a copy of only appears in the random graph process after roughly rounds. Thus, obtaining even a single -copy (let alone a -factor) requires much more than a linear number of rounds. Determining the typical time of the appearance of a -factor turned out to be a difficult problem. Following a long line of research, this problem was settled by (a special case of) a celebrated result by Johansson, Kahn and Vu [12], which states that a -factor appears in the random graph process at around . A more general discussion on the appearance of bounded-degree graphs other than clique-factors (and on the closely-related notion of universality) can be found in the recent work of Ferber, Kronenberg, and Luh [7]; see in particular Conjecture 1.5 there.
Similar superlinear lower bounds (on the number of edges required in order to typically contain a -factor, or even a single ) are known or can be shown for various other random graph models, such as the random regular graph, or the model (where one connects each vertex to exactly other randomly chosen vertices, discarding repetitions). Thus, while it was shown in [3] that the semi-random graph process can simulate the random models , , and , the above discussion indicates that these cannot help in solving Question 1.1, and we must utilize the power of the intelligent player, Builder, in a more imaginative way.
A similar comparison can be made between Theorem 1.7 and the emergence of (bounded-degree) spanning trees in the random graph process. It is well known that in the random graph process, w.h.p. the last isolated vertex disappears only at around . Thus, a superlinear number of rounds is required in order to contain a spanning tree w.h.p. Again, we observe here that intelligent choices speed up the time required to reach the given goal: it takes rounds for the random graph process to contain even a single spanning tree, whilst in our semi-random graph process, the number of rounds required to contain a prescribed bounded-degree spanning tree is only .
It is worth mentioning that a recent breakthrough of Montgomery [18], which confirms a conjecture of Kahn [13], shows that for a fixed , w.h.p. all spanning trees with maximum degree appear in after rounds (where is a large enough constant). We refer the reader to [18] for further references to many other related works on this subject.
1.1 Related Work : Semi-Random Processes
Perhaps the most studied semi-random graph process is now known as the Achlioptas process, and was proposed by Dimitris Achlioptas in 2000. Similarly to our semi-random process, the Achlioptas process is a one-player game in which the player, Builder, gradually constructs a graph. The process runs in rounds, where in each round, two uniformly random edges are picked from the set of all edges of the -vertex complete graph, or alternatively (depending on the version of the process) from all edges untaken at this point. These two edges are offered to Builder, who then must choose exactly one of them and add it to the graph.
While in our random graph process Builder’s goal is always to make his graph satisfy some given graph property, in the context of the Achlioptas process the goal is often to avoid satisfying a given property for as long as possible. In fact, Achlioptas’s original question was whether Builder can delay the appearance of a giant component beyond its typical time of appearance in the (“purely”-)random graph process. This question was answered positively by Bohman and Frieze [4], see also [1, 5, 14, 23, 24]. Similar problems have also been studied for other properties or objectives; for example, the problem of avoiding a fixed subgraph [15, 20], or the problem of speeding up the appearance of a Hamilton cycle [16]. Achlioptas-like processes involving two choices were also investigated in other contexts, see e.g. [19] for a geometric perspective.
1.2 Paper Organization and Notation
In Section 2 we state several auxiliary results. Section 3 contains the proofs of Theorem 1.3 and Proposition 1.2, as well as the description and analysis of Strategy 3.7, which is the key tool used in our proofs. Theorem 1.7 and Proposition 1.8 are proved in Section 4. Finally, the proofs of Theorems 1.10, 1.11 and 1.12 appear in Section 5. Since the statements of Theorems 1.3 and 1.7 are asymptotic (in both and ), we always assume, where needed, that and are sufficiently large. All logarithms are base . We omit floor and ceiling signs whenever these are not crucial.
2 Preliminaries
We start by stating three known concentration inequalities that will be used in this paper. The first is a standard Chernoff-type bound (see, e.g., [11]), the second is a simplified version of Azuma’s inequality (see, e.g., [11, Theorem 2.27]), and the third is a simplified version of Talagrand’s inequality (see, e.g., [17]).
Lemma 2.1**.**
Let be a binomial random variable. Then, for every , it holds that
[TABLE]
and that
[TABLE]
Lemma 2.2**.**
[11, Theorem 2.27]** Let be a non-negative random variable, not identically [math], which is determined by independent trials . Suppose that is such that changing the outcome of any one of the trials can change the value of by at most . Then, for every , it holds that
[TABLE]
and that
[TABLE]
Lemma 2.3**.**
[17, Pages 80-81]** Let be a non-negative random variable, not identically [math], which is determined by independent trials . Suppose that are such that
Changing the outcome of any one of the trials can change the value of by at most . 2. 2.
For every , if then there is a set of at most trials whose outcomes certify444To be precise, this means that if is such that , then there is and such that changing the outcome of any trials other than does not change the fact that .* that .*
Then, for every , it holds that
[TABLE]
We will also need the following lemma regarding “balanced” orientations of graphs.
Lemma 2.4**.**
Let be an -vertex graph of maximum degree . Then there exists an orientation of the edges of which satisfies the following two conditions:
(a)
* for every ;*
(b)
there exists a set of size such that for every .
[**Proof]Let denote the square of , that is, the graph obtained from by adding an edge between any two vertices at distance in . Let be a maximum independent set in ; clearly . Let . If is even for every , then let . Otherwise, let denote the graph obtained from by adding a new vertex and connecting it by an edge to every vertex of odd degree in . Orient the edges of each connected component of along some Eulerian cycle of that component. Orient every edge of from to . Delete and denote the resulting oriented graph by . Observe that is independent in and thus is an orientation of all the edges of . It is evident that satisfies (b). Moreover, satisfies (a) as is independent in and thus for every . **
3 Constructing Spanning Graphs of Given Maximum Degree
In this section we prove Theorem 1.3 and Proposition 1.2. The tools we develop here will also be used in the proof of Theorem 1.7 in Section 4. We start by introducing some definitions and sketching a rough outline of the proof scheme that we will use to prove Theorem 1.3. From this point onward, we fix an -vertex graph with maximum degree . We assume that the ground-set of vertices for the semi-random process is . The following definition will play an important role in our arguments.
Definition 3.1**.**
Let be a graph on the vertex set , and let be a bijection. We say that a subset is -good if maps all edges of contained in to edges of ; that is, is -good if for every such that .
The graph under consideration will always be Builder’s graph at some given moment during the process. It will usually be clear which moment we are considering, and so we will omit from the notation, simply writing “-good”. Note that, if at some point during the process, there is a bijection such that is -good, then Builder has succeeded in constructing a copy of .
Our strategy consists of two stages: in the first stage, Builder fixes an arbitrary bijection and plays so as to construct a -good set which is as large as possible. We show (see Lemma 3.5 below) that Builder can w.h.p. guarantee the existence of a -good set which covers “almost all” of the vertices of , within rounds. This part of the argument is fairly straightforward, and is given in Section 3.1. In the second stage, which is far more involved and constitutes the heart of the proof, Builder tries to iteratively extend this -good set by updating the embedding . We will show that by using a suitable “role-switching” strategy (i.e., Strategy 3.7), Builder can ensure that w.h.p. will be -good after additional rounds. This is done in Lemma 3.14.
3.1 The Initial Embedding, Proposition 1.2, and the Easy Case of Theorem 1.3
In this section we describe and analyze the first stage of Builder’s strategy. Along the way we prove Proposition 1.2, as well as the easy part of Theorem 1.3, which corresponds to the regime . In what follows, we will need the following lemma.
Lemma 3.2**.**
Let be positive integers, let , and suppose that . In the course of rounds of the semi-random process on vertices, the number of vertices which were offered at most times is w.h.p. less than .
[Proof]Set \ell:=\big{(}d+\sqrt{6d\log(1/\alpha)}\big{)}n=(d+o(d))n (here we use our assumption that ), and let be the first random vertices offered to Builder. Let be the set of all vertices such that . Evidently, . So in order to prove the lemma, it is enough to show that w.h.p., every of size satisfies the inequality .
Fix any of size . Note that has the distribution , and in particular . By Lemma 2.1 with , we have
[TABLE]
where the last inequality holds if is large enough. Now our assertion follows by taking the union bound over all
[TABLE]
**sets of size . **
[**Proof of Proposition 1.2] Since the statement of the proposition is asymptotic in , we may (and will) assume that is large enough, where needed. Moreover, in light of Theorem 1.3, we may assume that (because otherwise, Builder can w.h.p. construct a copy of in rounds even in the online version of the semi-random process). Let be an orientation of the edges of as in Lemma 2.4. Let denote the sequence of random vertices Builder is offered. Let denote the smallest integer for which there exists a bijection such that appears in at least times for every . It follows by Proposition 4.1 in [3] that the number of rounds needed for Builder to construct a copy of in the offline version of the semi-random process is at most . Hence, in order to complete the proof of this proposition, it suffices to show that w.h.p., in the course of rounds, at least vertices are offered at least times each. But this is just the statement of Lemma 3.2 with parameters and . **
In subsequent proofs, Builder will employ the following simple (non-adaptive) strategy.
Strategy 3.3**.**
Let be an -vertex graph of maximum degree . Fix an orientation of the edges of which satisfies property (a) of Lemma 2.4. Let be an arbitrary bijection. At any given round of the process, having been offered a random vertex , Builder chooses an arbitrary vertex which is not adjacent to in his current graph, and claims the edge ; if no such vertex exists, then Builder claims an arbitrary edge incident with .
In the following proposition we prove the easy part of Theorem 1.3.
Proposition 3.4**.**
For every there exists an integer for which the following holds. Let and be positive integers and let be an -vertex graph of maximum degree at most . Then, in the online version of the semi-random process on vertices, Builder has a strategy guaranteeing that w.h.p., after rounds of the process, his graph will contain a copy of .
[Proof]Builder executes Strategy 3.3 for rounds. In the notation of Strategy 3.3, it is evident that if for every , the vertex is offered at least times, then Builder is successful in building a copy of . Therefore, in order to complete the proof of the proposition, it suffices to show that w.h.p., for every , the vertex is offered at least times in the course of these rounds of the process.
Fix any , and let be the random variable counting the number of times is offered during the rounds. Then , implying that . Applying Lemma 2.1 with , we obtain
[TABLE]
**where the penultimate inequality holds since , and the last inequality holds for . A union bound then implies that with probability at least , every was offered at least times, as required. ** We now return to the main case of Theorem 1.3, assuming henceforth that . In the following lemma, we analyze the aforementioned first stage of Builder’s strategy.
Lemma 3.5**.**
Let be positive integers, let , and suppose that . Let be an -vertex graph of maximum degree and let be a bijection. Then, Builder has a strategy guaranteeing that after rounds of the process, w.h.p. there will be a -good set of size at least .
[Proof]Builder executes Strategy 3.3 for rounds. Let be the set of all vertices such that was offered at least times in the course of the rounds. Apply Lemma 3.2 with and with in place of , to conclude that w.h.p. we have . Here we use the assumption that , which is necessary in order to apply Lemma 3.2 with the above parameters. From now on we assume that (which happens with high probability).
**Now, let , where is the orientation from Strategy 3.3. It readily follows from the description of Builder’s strategy (namely, Strategy 3.3) that if , then after rounds of the process, is adjacent in Builder’s graph to every vertex of . Thus, is -good. Since the maximum degree of is , it follows that . We conclude that w.h.p. , completing the proof. **
3.2 Improving the Embedding
In this section we introduce and analyze Builder’s strategy for the second stage (see Strategy 3.7 below). Our starting point is the state of Builder’s graph immediately after applying the strategy given by Lemma 3.5. (The value of the parameter , with which this lemma is applied, will be chosen later; the bijection can be chosen arbitrarily.) Our goal is to iteratively update , so as to maintain a -good set which gradually increases in size until it equals .
Before delving into the details, let us illustrate the idea behind Strategy 3.7 by considering the following “toy” example: suppose that at some point during the process, Builder has already managed to obtain a bijection for which there is a -good set of size . Let denote the unique element of . The fact that is -good means that spans a copy of in Builder’s graph. So in order to make an embedding of into Builder’s graph, it remains to connect to all of the vertices in . A naive way of doing this would be for Builder to wait until will have been offered times, and at each such time, to connect to a new vertex in . This, however, will not work, since the probability that is offered (even once) in the course of rounds does not tend to . So instead, Builder will try to find another vertex in to “play” the role , and to have play the role which was previously played by that other vertex. To this end, Builder fixes (a large number of) vertices which are not adjacent to . (We note that in order to make the strategy work, we need the additional assumption that the neighbourhoods of are pairwise-disjoint, but the reader may ignore this issue at the moment.) Now Builder acts as follows: each time a vertex of is offered, Builder connects it to some new vertex of ; and each time a vertex of is offered, Builder connects it to . Now, if at some point there is an index such that has already been offered at least times and every vertex in has already been offered at least once, then at this point is adjacent in Builder’s graph to every vertex of , and is adjacent in Builder’s graph to every vertex of . Hence, Builder can now safely “switch” the roles of and . Formally, Builder defines a new bijection by setting , , and for every . Then is an embedding of into Builder’s graph. A key point of this method is that, since there are many “candidates” for the role of (i.e. the vertices ), it is very likely that one of them will indeed be chosen to be switched with .
We now give a precise definition of the setting in which we will apply our “role-switching” strategy.
Setting 3.6**.**
We are given a graph555We think of as Builder’s graph immediately after employing the strategy whose existence is guaranteed by Lemma 3.5 for the number of rounds specified in that lemma. on the vertex-set , a bijection , and a -good set . We set and write . We are also given an integer and distinct vertices , where and . Finally, we are given an integer666The reason for allowing flexibility in the choice of (as opposed to simply letting be the maximum degree of ), is that in one application (namely, Theorem 1.7), we will be able to make sure that the degrees of the vertices () are much smaller than , which will be crucial for obtaining the desired bound. such that for every . We assume that the following two properties are satisfied.
There are no edges in between and . 2. 2.
The sets are pairwise-disjoint, where run over all pairs in .
Throughout the second stage of his strategy, Builder maintains and updates sets and bijections . Initially, and . For every positive integer , the pair will be defined immediately after round of the second stage. We also set (so in particular, ). Finally, we let denote Builder’s graph after exactly rounds of the second stage (so in particular, ). We are now ready to describe Builder’s strategy for round of the second stage (for any integer ).
Strategy 3.7**.**
Let be the random vertex Builder is offered at round of the second stage.
If some pair is such that and , then do:
- (a)
If , then claim the edge . 2. (b)
If , then choose an arbitrary vertex which is not adjacent to in , and claim the edge . 3. (c)
Check whether is adjacent in to every vertex of and, moreover, is adjacent in to every vertex of . If so, then set (and hence ), and
[TABLE] 4. (d)
Otherwise (i.e., if the condition in Item 1(c) does not hold), set and . 2. 2.
Else (i.e., if there is no pair which satisfies the condition in Item 1), claim an arbitrary edge which is incident with ; this edge will not be considered as part of Builder’s graph in our analysis. Set and .
The operation of defining and as done in Item 1(c), is referred to as switching and . This name stems from the fact that we swap the vertices which play the roles of and in our current partial embedding of into . Evidently, switching and does not change the role of any of the other vertices. Switching and is only done if, roughly speaking, the vertex currently playing the role of can play the role of , and the vertex currently playing the role of can play the role of ; the exact condition for switching is stated in Item 1(c) above. Note that the only pairs of vertices which can be switched are of the form for some and . In the following lemma we collect several simple facts regarding Strategy 3.7.
Lemma 3.8**.**
Consider the execution of Strategy 3.7 for consecutive rounds, where is an arbitrary positive integer. Then the following statements hold.
If and were switched in round , then none of the vertices was switched at any other round. 2. 2.
If was not switched at any round, then for every . If was switched in round , then for every and for every . 3. 3.
For every , we have for every . 4. 4.
Fix , and define for every . Then, holds for every .
[Proof]We start with Item 1. Switching and in round forces . It then follows by the description of Strategy 3.7 that for every , making the condition in Item 1 of Strategy 3.7 false for in each of the rounds . Hence, if and were switched in round , then none of the vertices could have been switched in any subsequent round. Moreover, none of these vertices could have been switched in any round prior to round as this would have made ineligible for switching in round . This proves Item 1. Item 2 can be easily proved by induction, using Item 1 and the definition of the functions in Strategy 3.7. Item 3 follows from Item 2 and the fact that only vertices in can be switched.
**Let us prove Item 4. Fix and , and let be an arbitrary vertex; we will prove that . Set , and note that . We will show that , which would imply that , as required. Assume first that . It then follows by Item 1 of Setting 3.6 that . By Item 3 of Lemma 3.8 we then have for every ; in particular, , as claimed. Suppose now that , that is, for some . Since , the vertex must have been switched with some prior to round . Now, Item 2 of Lemma 3.8 implies that in this case as well. **
The following lemma can be thought of as a proof of the “correctness” of Strategy 3.7.
Lemma 3.9**.**
For every non-negative integer , the set is -good.
[Proof]The proof is by induction on . The base case is immediate from our assumption that is -good (see Setting 3.6), and the fact that , and . For the induction step, fix some and suppose that the assertion of the lemma holds for . Consider the execution of Strategy 3.7 in round . If either the condition in Item 1 or the condition in Item 1(c) does not hold, then there is nothing to prove, since in that case and . Suppose then that both of these conditions hold, and let be the pair satisfying the condition in Item 1 of Strategy 3.7. That is, we assume that and were switched in round .
We need to show that for every , if , then . Hence, let be such that . Note that , as by Item 1 in Setting 3.6. If then we have , and ; so our assertion that follows from the induction hypothesis for . Therefore, without loss of generality, we may assume that and . This assumption implies that and that .
Suppose first that . Since , it follows that . Now Items 1 and 2 of Setting 3.6 imply that , which in turn implies that , see Item 3 of Lemma 3.8. As for , it follows from the definition of in Item 1(c) of Strategy 3.7 that , where the last equality holds by Item 2 of Lemma 3.8. Since and were switched in round , it follows by Item 1(c) of Strategy 3.7 that is adjacent in to all vertices of . In particular, as required.
**Suppose now that . Since , it follows that . Therefore, . Observe that , where the last equality holds by Item 2 of Lemma 3.8. Since and were switched in round , it follows by Item 1(c) of Strategy 3.7 that is adjacent in to all vertices of . In particular, . This concludes the proof of the lemma. **
In the following three lemmas, we consider the execution of Strategy 3.7 for rounds for some positive integer . For every and , we denote by the event: “ was offered at least times after each of the vertices in had already been offered”. In other words, is the event that there are indices , where , such that each element of was offered in one of the rounds , and was offered in each of the rounds .
Lemma 3.10**.**
Let . If there exists some for which occurred, then .
[Proof]Suppose for a contradiction that occurred for some and , but , i.e., . This means that was not switched at any of the rounds for which we execute Strategy 3.7. Set and let be the round numbers appearing in the definition of . Item 1(a) of Strategy 3.7 dictates that whenever a vertex from is sampled, Builder connects it to . This implies that, for every , every vertex of is adjacent in to .
**As in Lemma 3.8, we let for each . Suppose first that there exists some such that is adjacent in to every vertex of . Then by Item 1(c) of Strategy 3.7, Builder would have switched and in round , which would contradict our assumption that was never switched. Hence, for every there exists a vertex of which is not adjacent in to . It follows by Item 1(b) of Strategy 3.7 that, in round , Builder claims an edge for some which is not adjacent to in . Note that are distinct. It follows by Item 4 of Lemma 3.8 that . On the other hand, , implying that . But this means that in the graph , the vertex is adjacent to every vertex of , contrary to the above. **
The following technical lemma provides lower bounds on the probability of the events .
Lemma 3.11**.**
Fix any and .
(a)
If , then
[TABLE]
(b)
If , then .
[Proof]We start with Item (a). Since , it follows that
[TABLE]
where in the second inequality we used the estimates (which holds for every ) and (which holds for every ).
Next, we prove (b). Let be the event that every vertex of was offered in the course of the first rounds, and let be the event that was offered at least times in the course of the last rounds. Since by assumption, the events and are independent. Note that ; that is, if both and occur, then so does . Therefore, . The probability that did not occur is at most
[TABLE]
and the probability that did not occur equals the probability that is smaller than , which is at most
[TABLE]
**Here in the first inequality we used Lemma 2.1 with . We thus conclude that as claimed. **
The following lemma forms the main result of Section 3.2, and plays a key role in the proofs of Theorems 1.3 and 1.7. Roughly speaking, this lemma states that if is a bijection admitting a -good set that misses only a small fraction of , then by following Strategy 3.7 for a suitable (and not too large) number of rounds, Builder can obtain a bijection which admits a -good set that misses significantly fewer vertices. The actual statement is somewhat convoluted, since we simultaneously handle two regimes: one where the number of bad vertices is small but not very small, and another where this number is tiny (these also correspond to the two items in Lemma 3.11). The proof of Lemma 3.12 utilizes Lemmas 3.9, 3.10 and 3.11, as well as some of the concentration inequalities from Section 2.
Lemma 3.12**.**
Let be an -vertex graph, let be a bijection, let be a partition, and consider a moment in the semi-random process at which is -good with respect to Builder’s graph. Write . Let be a positive integer, and let be vertices which satisfy Items 1 and 2 of Setting 3.6. Let be such that for every . Let , , , and . Fix any , and suppose that . Let
[TABLE]
Suppose that Builder executes Strategy 3.7 for additional rounds. Then, with probability at least , after rounds of the process Builder’s graph will satisfy the following: there will be a bijection and a partition such that is -good, , and
[TABLE]
[Proof]We will show that the assertion of the lemma holds with , , and . The fact that is -good follows immediately from Lemma 3.9. It thus remains to prove that (1) holds for with probability at least .
Fix arbitrary indices and . For , let us denote by the probability that occurred in the course of the first rounds of the process. We claim that . The fact that follows immediately from Item (b) of Lemma 3.11 and our choice of . As for , recall that , which implies that holds for which is sufficiently large with respect to (since we trivially have , and since , something like would suffice). Therefore, Item (a) of Lemma 3.11 yields
[TABLE]
where the last inequality holds for sufficiently large (our assumption that suffices).
We have thus proved our assertion that holds for every . For the remainder of the proof, we fix an arbitrary and suppose (as in the statement of the lemma) that . For convenience, we put and . For every , let be the random variable counting the number of indices for which occurred in the course of the first rounds. It follows by linearity of expectation that .
Now, consider the sequence of random vertices offered to Builder, and observe that changing any one coordinate in this sequence can change the value of by at most (here we use Item 2 in Setting 3.6). Furthermore, for every , if , then there is a set of at most coordinates in the sequence which certify that (indeed, each event that occurred is certified by a set of at most coordinates). It thus follows by Lemma 2.3 with , , and , that
[TABLE]
Therefore, with probability at least , it holds that
[TABLE]
where the last inequality follows from our assumption that .
Now let be the set of all such that . It follows by Lemma 3.10 that if some satisfies , then . Hence, we have . So to complete the proof it is enough to show that the bounds in (1) hold for the set . We have seen that holds for every . Hence,
[TABLE]
Suppose first that , and note that we have . It follows that
[TABLE]
So by Markov’s inequality, we have w.h.p., as required.
Suppose now that . Observe that changing any one coordinate in the sequence of random vertices, can change the value of by at most . Hence, it follows by Lemma 2.2 with and , that
[TABLE]
**where the last inequality holds since . We conclude that with probability at least , we have as required. **
3.3 Putting it All Together
In this section we iterate Lemma 3.12 to prove Lemma 3.14, from which Theorem 1.3 then easily follows. Lemma 3.14 roughly states that given a bijection which admits a -good set covering almost all of , Builder can use as a basis for constructing a copy of in his graph, and he can achieve this objective w.h.p. fairly quickly. In the proof we will need the following simple claim, which asserts that we can satisfy the conditions listed in Setting 3.6 with a relatively large choice of .
Claim 3.13**.**
Let be an -vertex -degenerate graph of maximum degree . Let be a partition of and suppose that . Set and
[TABLE]
*Then, there exist vertices such that and for every , and such that Conditions 1 and 2 of Setting 3.6 are satisfied. *
[Proof]Let . Note that every satisfies . Since is -degenerate, there are less than vertices which satisfy . As , there are at most vertices which have a neighbour in . Altogether, we get . Using again the assumption , we infer that there exists an integer
[TABLE]
**and vertices such that for every . Recalling our choice of , we index (a subset of) the vertices by pairs . For every , let be the vertex in which is indexed by the pair . Now Condition 1 of Setting 3.6 is satisfied due to our choice of , and Condition 2 of Setting 3.6 is satisfied because for every choice of distinct pairs . **
Lemma 3.14**.**
Let be an -vertex -degenerate graph of maximum degree . Set . Suppose that at some point in the semi-random process, there is a bijection and a partition such that is -good with respect to Builder’s graph; such that ; and such that for every . Then Builder has a strategy guaranteeing that w.h.p., after additional rounds his graph will contain a copy of .
[Proof]We may and will assume that is large enough, say . Builder’s strategy consists of two phases, which correspond to the two cases (i.e. and ) in Lemma 3.12.
Phase 1:
Let
[TABLE]
Find vertices such that and for every , and such that Conditions 1 and 2 of Setting 3.6 are satisfied (with ). Apply the strategy whose existence is guaranteed by Lemma 3.12 with parameter and with . Lemma 3.12 (with ) ensures that after rounds, there will be a bijection and a partition such that is -good with respect to Builder’s graph, (and hence ), and
[TABLE]
If then is -good, implying that Builder has successfully embedded into his graph, and so Builder is done. Otherwise, proceed to Phase 2.
Phase 2:
Define a sequence of bijections from to , and a sequence of partitions of , by performing the following steps for every integer for which .
(a)
Find vertices \big{(}a_{i,k}:1\leq i\leq|B_{t-1}|\textrm{ and }1\leq k\leq m_{t}:=\lceil\frac{n}{8\Delta^{2}|B_{t-1}|}\rceil\big{)} such that and for every , and such that Conditions 1 and 2 of Setting 3.6 are satisfied for the partition with .
(b)
Invoke the strategy whose existence is guaranteed by Lemma 3.12 with , with , and with input and . Using this strategy, Builder obtains a bijection and a partition of such that is -good with respect to Builder’s graph, (and hence ), and
[TABLE]
where
[TABLE]
and is as in Lemma 3.12. (Here and later on we slightly abuse notation by hiding the fact that depends on .)
Having described Builder’s strategy, we now turn to prove that w.h.p. Builder can follow it. First, note that by Claim 3.13, there exist vertices such that and for every , and such that Conditions 1 and 2 of Setting 3.6 hold. Moreover, the conditions required for the application of Lemma 3.12 with are satisfied as , where the second inequality follows from our assumption that . This shows that Builder can follow Phase 1 of his strategy. It remains to show that w.h.p. Builder can follow Phase 2 of his strategy. Similarly to Phase 1, the existence of the desired vertices for every given integer follows from Claim 3.13 with input . It remains to prove that the conditions of Lemma 3.12 are met whenever Builder wishes to apply it (with ). The fact that is -good for every positive integer is guaranteed by the previous applications of Lemma 3.12. The fact that for every follows from our assumption that the same holds for every , and the fact that and for every . We now show that holds for every integer for which . To this end, first note that
[TABLE]
where the first inequality follows from (2), and the third from our assumption that . Since for every , we have for each . Now we obtain
[TABLE]
where the penultimate inequality holds for sufficiently large (say, ). This shows that we can indeed apply Lemma 3.12 with and with input for every integer for which . We conclude that Builder can follow Phase 2 of his strategy.
Before moving on to prove the correctness of Builder’s strategy, we first prove the following claim.
Claim 3.15**.**
*Let and, for every non-negative integer , let . Suppose either that or that and . Then . *
[Proof]Our proof proceeds by induction on . The base case follows from (4). Let then and suppose that . Observe that the sequence is monotone non-decreasing in (this follows from the fact that for every ). So either , or . In either case we can apply the induction hypothesis to get . Note that
[TABLE]
Now we get
[TABLE]
where the first inequality holds by (3), the second inequality holds by (6), the third inequality holds by the induction hypothesis for , and the last inequality holds for every , provided that is larger than some suitable absolute constant (again, suffices). This proves the claim.
Returning to the proof of the lemma, we now prove the correctness of Builder’s strategy. For the time being, we will assume that all applications of Lemma 3.12 throughout Builder’s strategy are successful; later we will show that w.h.p. this is indeed the case. It follows from (6) and from Claim 3.15 that holds for every . Hence, must hold for some (and in fact much earlier, but we will not need this). Now, if then by (3) we have , which in turn implies that Builder has successfully embedded into the graph he is constructing.
Next, we estimate the probability that Builder’s strategy fails. Recall that Lemma 3.12 is only applied once with parameter , and that this application is w.h.p. successful. Let us now consider the applications of Lemma 3.12 with (in Phase 2). As previously noted, there is at most one such application with , and at most such applications with . The failure probability of the former application is , and the failure probability of each of the latter applications is at most . We thus conclude that w.h.p. all of the above applications of Lemma 3.12 are successful, as required. This completes the proof of correctness of Builder’s strategy.
It remains to estimate the overall number of rounds required for implementing Builder’s strategy. Recall that the sole application of Lemma 3.12 with requires rounds. It thus remains to bound from above the number of rounds required for Phase 2 of Builder’s strategy. To this end, let denote the smallest integer satisfying , and note that . Then in Phase 2, Lemma 3.12 was invoked at most times. Moreover, for each , invoking Lemma 3.12 with input (and with ) required at most
[TABLE]
rounds, where in the last inequality we used Claim 3.15. Therefore, the overall number of rounds required for the (at most) applications of Lemma 3.12 in Phase 2 is no more than
[TABLE]
**We conclude that the overall number of rounds required for implementing Builder’s strategy is at most , thus completing the proof of Lemma 3.14. **
Equipped with Lemma 3.14, we can finally prove Theorem 1.3. [**Proof of Theorem 1.3] Let , , and be as in the statement of the theorem. Due to Proposition 3.4, we only need to handle the case . Set . Builder’s strategy for embedding is as follows. Fix an arbitrary bijection . In the first rounds, Builder invokes the strategy whose existence is guaranteed by Lemma 3.5, and thus obtains w.h.p. a -good set of size at least . Setting , observe that the requirements of Lemma 3.14 are satisfied for . Builder now applies the strategy given by Lemma 3.14 for an additional rounds, and by doing so successfully constructs a copy of in his graph w.h.p. The overall number of rounds is then , as required. **
4 Constructing Spanning Forests
In this section we prove Theorem 1.7 and Proposition 1.8. We start with the following simple lemma, whose proof demonstrates a strategy for greedily embedding an almost-spanning forest.
Lemma 4.1**.**
Let be a positive integer and let be such that . Let be a forest on vertices and let . Then, in the semi-random process on vertices, Builder has a strategy which w.h.p. allows him to construct a copy of within rounds.
[Proof]Assume without loss of generality that is a tree (otherwise simply replace with a tree containing it). Let and let be an ordering of the vertices of such that is a tree for every . Throughout the process, Builder maintains a partial function which is initially empty. For every positive integer , let denote the vertex Builder is offered in the th round. In the first round, Builder connects to an arbitrary vertex ; he then sets and . For every , Builder plays the th round as follows. Let denote the largest integer for which has already been defined. If , then Builder connects to , where is the unique integer for which ; he then sets . Otherwise, Builder claims an arbitrary edge incident with , which he does not consider to be part of the tree he is building (alternatively, Builder skips this round).
It is evident that, by following the proposed strategy, Builder’s graph contains a copy of as soon as different vertices are offered. Hence, it suffices to prove that w.h.p. at least different vertices are offered during the first rounds.777This can be restated as saying that in the coupon collector’s problem, rounds suffice in order to collect different coupons w.h.p. For every , let be the indicator random variable for the event: “vertex was not offered during the first rounds of the process”. Let ; then
[TABLE]
Observe that changing any one coordinate in the sequence of random vertices, can change the value of by at most . Hence, it follows by Lemma 2.2 with and , that
[TABLE]
**where the last equality holds by our assumption that . **
We are now in a position to prove Theorem 1.7.
[Proof of Theorem 1.7] Let , , and be as in the statement of the theorem. Assume first that . In this case Builder employs the strategy presented in the proof of Lemma 4.1. It is easy to see that as soon as each of the vertices has been offered, Builder’s graph contains a copy of . It is well-known (and easy to prove) that this will happen w.h.p. in rounds. For the remainder of the proof we thus assume that .
Set , and note that , as required by Lemma 4.1. Since is a forest, there are at least vertices of whose degree is at most . Fix a set of such vertices. Set and . At the first stage of his strategy, Builder invokes Lemma 4.1, which enables him to construct a copy of w.h.p. in rounds.
**Let be a bijection such that is an embedding of into Builder’s graph. Note that the conditions of Lemma 3.14 are satisfied with , since forests are -degenerate, and since we made sure that all vertices in have degree at most . In the second stage of his strategy, Builder applies (the strategy given by) Lemma 3.14 in order to construct a copy of in his graph w.h.p. This requires additional rounds. The total number of rounds is thus , as required. **
4.1 A Lower Bound : Proof of Proposition 1.8
[Proof of Proposition 1.8] Let and be as in the statement of the proposition. Since Builder clearly needs at least rounds in order to build a tree on vertices, we can assume that is a sufficiently large constant. We prove the proposition for the -vertex forest consisting of pairwise-disjoint -vertex stars, together with some (at most ) isolated vertices (if needed). Let us denote the center of the th star by , and its leaves by ().
Let denote the sequence of random vertices offered to Builder, and let . Suppose that Builder did manage to build a copy of within rounds, and let be a bijection such that is an edge in Builder’s graph for every . It is then evident that, for every , either appears at least times in , or at least of the elements of the set appear at least once in . A straightforward calculation then shows that either at least of the vertices in were offered at least times each, or all but at most
[TABLE]
of the vertices were offered at least once. In the inequality above we use the assumption that for some suitable . So in order to prove that w.h.p. Builder needs more than rounds to build , it suffices to show that w.h.p. there are more than vertices that do not appear in , and less than vertices which appear in at least times.
Let be the random variable which counts the number of vertices that do not appear in . Our goal is to show that w.h.p. . We have
[TABLE]
where the first inequality follows from the fact that for each , and the last inequality holds for sufficiently large and . We will use Lemma 2.2 to prove that w.h.p. is not much smaller than its expected value. Observe that changing any single coordinate in the sequence of random vertices can change the value of by at most . Therefore, applying Lemma 2.2 with parameters and yields
[TABLE]
where the last equality holds since is sufficiently large with respect to .
Let be the random variable which counts the number of vertices that appear at least times in . Our goal is to prove that w.h.p. . For every , let be the random variable counting the number of times appears in . Then , implying that . Applying Lemma 2.1 with parameter , we obtain
[TABLE]
where the last inequality holds for sufficiently large . For every , let be the indicator random variable for the event ; note that . It follows by (7) and by the linearity of expectation that . Since changing any single coordinate in the sequence of random vertices can change the value of by at most , applying Lemma 2.2 with parameters and yields
[TABLE]
**where the equality holds since is sufficiently large with respect to . **
5 Non-Adaptive Strategies
In this section we prove Theorems 1.10, 1.11 and 1.12. [Proof of Theorem 1.10] Let be a family of lists as in the definition of a non-adaptive strategy. Recall that for each , the list is a permutation of . Our goal is to show that the strategy corresponding to requires w.h.p. at least rounds to make all vertices non-isolated.
Set , and let be the first random vertices Builder is offered. For every , let denote the number of appearances of in the sequence . Let and let . Our main observation (which follows immediately from the definitions of and ) is that a vertex will be left isolated after rounds, if all of the following conditions hold:
(1)
** does not appear in ;**
(2)
none of the vertices , for which is included among the first elements of , appear in ;
(3)
.
**So in order to complete the proof of the theorem, it remains to prove that w.h.p. there exists a vertex which satisfies Conditions (1), (2), and (3) above. To this end, we will use a two-round exposure argument. Let denote the set of vertices which do not appear in ; clearly . In the following claim we collect some simple facts regarding the sets and the integers . **
Claim 5.1**.**
The following hold w.h.p.
- (a)
. 2. (b)
* for every .* 3. (c)
.
[Proof]We start with Item (a). Recall that for a given vertex , we have ; hence, . Now, by Lemma 2.1 with , we have
[TABLE]
It thus follows by Markov’s inequality that w.h.p. .
We now prove Item (b). Observe that for every we have
[TABLE]
A union bound over then shows that w.h.p. for every .
Finally, we prove Item (c). For each , the probability that is . Therefore, . To show that is concentrated around its expected value, observe that changing any single coordinate in the sequence of random vertices, can change the value of by at most . Hence, by Lemma 2.2 with and (say) , we have
[TABLE]
We conclude that w.h.p. .
From now on we condition on the events stated in Items (a)-(c) of Claim 5.1 (which hold w.h.p. by that claim). Items (a) and (b) imply that . Observe that conditioning on their sizes, are uniformly distributed among all pairs of disjoint subsets of of the corresponding sizes. From this point on we condition on , which in turn determines (or, more precisely, the set , which contains and has size ).
For each , let be the set of all vertices such that is included among the first elements of . Let be the set of all satisfying . Since the union (as a multiset) of the first elements in all lists has size altogether, we deduce that ; hence .
Now expose , conditioning on its size. Observe that if is such that , then satisfies Conditions (1), (2) and (3). So from now on our goal is to show that w.h.p. there exists a vertex for which . Since each belongs to at most of the sets , and since for each , one can find a collection of
[TABLE]
pairwise-disjoint sets among the sets . Since are pairwise-disjoint, at least of these sets are contained in . So suppose, without loss of generality, that , and let us show that w.h.p., there is such that . To this end, we will couple with a binomial random set of slightly smaller size. Recall that we are conditioning on the size of and on the event , which occurs w.h.p. by Claim 5.1. We denote , recalling that (under this conditioning), is distributed uniformly among all subsets of of size . We generate by performing the following experiment: set , and let be a random subset of , obtained by independently including each element of with probability . If , then we uniformly choose a set of size which contains . It is easy to see that, conditioned on , the set is distributed uniformly among all subsets of of size . Hence (conditioned on ), has the same distribution as (conditioned on ). Note that is stochastically dominated by , so by Lemma 2.1 with we have
[TABLE]
Since the sets are pairwise-disjoint and of size at most each, the probability that contains none of these sets is at most
[TABLE]
**where in the second inequality we used the assumption that . We conclude that w.h.p. there will be some such that , as required. **
[Proof of Theorem 1.11] Setting , partition into sets , each of size either or . For each and , Builder sets the adjacency list so that first appear all the vertices of , then all the vertices of (where is taken modulo ), and finally all other vertices. In each of the three “segments”, the inner order among the vertices is arbitrary.
Now, set , and let be the first random vertices Builder is offered. Let be the set of vertices appearing at most times in . Let be the event that for each . We will show that happens w.h.p., and that if happens then after rounds, Builder’s graph contains a Hamilton cycle.
We start by estimating . Fixing , note that if then there is a set of size , such that . Note that has the distribution . By Lemma 2.1 with , and by our choice of , we get
[TABLE]
By taking the union bound over all indices , and over all at most choices of , we obtain .
Suppose now that happened. Then for each , each of the at least vertices has been connected to all vertices in , and to at least vertices in (indeed, this is due to our choice of the lists , and the definition of ). It follows that the minimum degree inside is at least (for each ), and that we can choose distinct vertices such that is connected to for each (with indices taken modulo ).
**Recall that a graph is called Hamilton-connected if for each pair of distinct vertices , there is a Hamilton path whose endpoints are and . It follows from a classical result of Ore [21] that any -vertex graph with minimum degree at least is Hamilton-connected. Let denote Builder’s graph immediately after rounds of the process. By the above result of Ore, is Hamilton-connected for each . So fix, for each , a Hamilton path in , whose endpoints are and . Now it is easy to see that is a Hamilton cycle in , as required. **
[Proof of Theorem 1.12] The proof is somewhat similar to the proof of Theorem 1.11, and so we only give a rough sketch. Partition into parts whose sizes are all divisible by and are as close to each other as possible. Let and let ; observe that . Then, for every and every , Builder sets the adjacency list so that first appear all the vertices of (in an arbitrary order), and then all other vertices (in an arbitrary order).
Now, set (where will be chosen later), and let be the first random vertices offered to Builder. Let be the set of vertices appearing at most times in . Observe that if , then the resulting induced subgraph of Builder has minimum degree at least and thus admits a -factor by the Hajnal-Szemerédi Theorem [10]. If this happens for every , then the union over of these -factors obviously forms a -factor of . It remains to prove that w.h.p. holds for every . Fix some . Then
[TABLE]
**where the second inequality holds by Lemma 2.1 with , and the equality holds if, say, . We also assumed throughout that is large enough with respect to . A union bound over all then shows that w.h.p. holds for every , as required. **
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Dimitris Achlioptas, Raissa M. D’Souza, and Joel Spencer. Explosive percolation in random networks. Science , 323(5920):1453–1455, 2009.
- 2[2] Yossi Azar, Andrei Z. Broder, Anna R. Karlin, and Eli Upfal. Balanced allocations. SIAM Journal on Computing , 29(1):180–200, 1999.
- 3[3] Omri Ben-Eliezer, Dan Hefetz, Gal Kronenberg, Olaf Parczyk, Clara Shikhelman, and Miloš Stojaković. Semi-random graph process. Random Structures and Algorithms , 56(3):648––675, 2020.
- 4[4] Tom Bohman and Alan M. Frieze. Avoiding a giant component. Random Structures and Algorithms , 19(1):75–85, 2001.
- 5[5] Tom Bohman and David Kravitz. Creating a giant component. Combinatorics, Probability and Computing , 15:489–511, 2006.
- 6[6] Allan Borodin and Ran El-Yaniv. Online Computation and Competitive Analysis . Cambridge University Press, New York, NY, USA, 1998.
- 7[7] Asaf Ferber, Gal Kronenberg, and Kyle Luh. Optimal threshold for a random graph to be 2-universal. Transactions of the American Mathematical Society , 372:4239–4262, 2019.
- 8[8] Michael J. Freedman, Kobbi Nissim, and Benny Pinkas. Efficient private matching and set intersection. In Advances in Cryptology - EUROCRYPT 2004 , pages 1–19, 2004.
