Abstract 1 Introduction and Related Work 2 Model and Definitions 3 Generalized Balanced Degree Splitting 4 Arbitrary Unoriented Degree Splittings References

On the Complexity of Distributed Edge Coloring and Orientation Problems

Sebastian Brandt ORCID CISPA Saarbrücken, Germany Fabian Kuhn ORCID University of Freiburg, Germany Zahra Parsaeian ORCID University of Freiburg, Germany
Abstract

Understanding the role of randomness when solving locally checkable labeling (LCL) problems in the LOCAL model has been one of the top priorities in the research on distributed graph algorithms in recent years. For LCL problems in bounded-degree graphs, it is known that randomness cannot help more than polynomially, except in one case: if the deterministic complexity of an LCL problem is in Ω(logn) and its randomized complexity is in o(logn), then the randomized complexity is guaranteed to be O(poly(loglogn)) and it is even known to be O(loglogn) in bounded-degree trees. However, the fundamental question of which problems with a deterministic complexity of Ω(logn) can be solved exponentially faster using randomization still remains wide open.

We make a step towards answering this question by studying a simple, but natural class of LCL problems: so-called degree splitting problems. These problems come in two varieties: coloring problems where the edges of a graph have to be colored with 2 colors and orientation problems where each edge needs to be oriented. For an exact classification, it is most natural to consider the Δ-regular case (for Δ=O(1)), where we obtain the following results.

  • We exactly characterize the complexity of problems where the edges need to be colored with two colors, say red and blue. We show that for every y{0,,Δ1}, the problem of red-blue coloring the edges such that every node of degree Δ has either y or y+1 red edges has randomized complexity O(loglogn) in general graphs of maximum degree Δ. Any other problem, i.e., any problem that does not allow two consecutive red degrees, is already known to have randomized complexity Ω(logn) even in Δ-regular trees. We note that a set of edges F such that every node has either y or y+1 incident edges in F is also known as a {y,y+1}-factor of a graph.

  • For edge orientations, we show that for any two r1 and r2 such that r1,r2Δ/2 and r1+r2Δ/2, there are randomized algorithms with round complexities O(loglogn) in trees and O~(log4logn) in general graphs to compute an edge orientation such that all nodes have outdegree r1±O(ΔlogΔ) or Δr2±O(ΔlogΔ). Further, there exists a constant c>0 such that for any 0r1+r2Δ/2, the problem of computing an edge orientation in which all outdegrees are either at most r1cΔ or at least Δr2+cΔ has randomized complexity Ω(logn) even in Δ-regular trees.

While our results are cleanest to state for the Δ-regular case, all our algorithms naturally generalize to nodes of any degree d<Δ in general graphs of maximum degree Δ. All our algorithms also naturally generalize to the unbounded degree case and they then have a randomized complexity of O~(Δ)loglogn (resp. O~(Δlog4logn) for orienting general graphs).

Keywords and phrases:
LCL problems, binary labeling problems, degree splitting
Copyright and License:
[Uncaptioned image] © Sebastian Brandt, Fabian Kuhn, and Zahra Parsaeian; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Graph algorithms analysis
Related Version:
Full Version: https://arxiv.org/pdf/2510.21327 [15]
Editors:
Andrei Arusoaie, Emanuel Onica, Michael Spear, and Sara Tucci-Piergiovanni

1 Introduction and Related Work

Understanding the complexity of locally checkable labeling (LCL) problems is at the core of the area of distributed graph algorithms. LCLs were introduced by Naor and Stockmeyer in [44] as labelings of bounded-degree graphs with labels from a finite set of labels such that the correctness of a labeling can be verified by checking a constant neighborhood of each node of the graph. Classic examples for LCL problems are various coloring problems or the problem of computing a maximal independent set (MIS).

Deterministic LCL Complexity Landscape.

Since the publication of [44], researchers have made astonishing progress in understanding the distributed complexity of solving LCL problems in the 𝖫𝖮𝖢𝖠𝖫 model111In the 𝖫𝖮𝖢𝖠𝖫 model [45], the nodes of a graph can exchange messages of arbitrary size over the edges of the graph in synchronous rounds. For a formal definition, we refer to Section 2. and in related models. Apart from studying the complexity of specific problems (see, e.g., [8, 13, 30, 43, 41, 32, 24, 40, 42, 9] for a small selection), there also is substantial work on establishing the landscape of possible LCL complexities [5, 7, 6, 17, 20, 29, 25, 18, 36] and also towards understanding the task of deciding if a given LCL problem belongs to a certain complexity class [2, 18, 14, 4, 44, 3]. For general bounded-degree graphs, we know that the deterministic 𝖫𝖮𝖢𝖠𝖫 model complexity of LCL problems is either O(1), in the range Ω(loglogn)O(logn), or in the range Ω(logn)O(n). By using techniques of [44], Chang and Pettie [20] observed that there cannot be any LCL problem with a (deterministic or randomized) complexity in the range ω(1)o(loglogn). Further, Chang, Kopelowitz, and Pettie [17] proved that there cannot be any deterministic complexities between ω(logn) and o(logn). It has further been shown in [5, 7] that the complexity landscape in the range Ω(logn)O(n) is dense, i.e., there are no further gaps. In bounded-degree trees, the landscape is even more sparse. In this case, the possible deterministic LCL complexities are Θ(1), Θ(logn), Θ(logn), and Θ(n1/k) for every integer k1 [20, 36, 3]. In bounded-degree trees, it is further known that for problems of complexity Ω(logn), determining the exact asymptotic complexity of a given problem is decidable [18].

Randomized LCL Complexities.

Understanding the role and power of randomness in the context of distributed LCL problems has been a major objective of the research in the area (see, e.g., [25, 17, 20, 29, 10, 6, 31] for papers that explicitly deal with this topic). As many LCL problems require some kind of local symmetry breaking, the use of randomness in distributed LCL algorithms is often quite natural. Recently, a series of papers [25, 29, 27, 28, 26, 46] established generic derandomization techniques that allow to turn any T-round randomized 𝖫𝖮𝖢𝖠𝖫 algorithm for an LCL problem into a TO~(log2n)-round deterministic 𝖫𝖮𝖢𝖠𝖫 algorithm.222We use O~(x) to denote expressions that are upper bounded by xpolylogx. Using randomization can therefore not gain more than a factor of O~(log2n). It is further known that for LCL problems of complexity O(logn), randomization does not help. There is however one important class of problems for which randomization provably helps exponentially. It was shown in [13, 34, 17] that computing a sinkless orientation of the edges of a bounded-degree graph requires Θ(logn) rounds deterministically and Θ(loglogn) rounds with randomization. Interestingly, this is a more general phenomenon. As shown in [20], on bounded-degree graphs, every randomized LCL algorithm with a round complexity of o(logn) can be sped up to run in the time required to solve an instance of the constructive Lovász Local Lemma (LLL) problem with a polynomial LLL criterion (cf. Section 2). The randomized LLL round complexity is currently known to be O~(log4logn). We therefore know that any randomized o(logn)-round LCL algorithm can be sped up to run in O~(log4logn) rounds. It is further known that any randomized o(loglogn)-round LCL algorithm can be sped up to run in O(logn) rounds deterministically [17]. We therefore know that there is a class of problems that can be solved by using LLL algorithms that have polylogarithmic deterministic complexity and that have randomized complexity O~(log4logn). In bounded-degree trees, it is even known that the complexity of the constructive LLL problem is exactly Θ(loglogn). Hence, in bounded-degree trees, some of the problems that can be solved in Θ(logn) rounds deterministically can be solved in Θ(loglogn) rounds with randomization and in the case of bounded-degree trees, these also are the only problems for which randomization helps. While we know that the randomized LLL complexity class exists, we do not yet have a thorough understanding of which problems belong to this family, not even for simple families of LCL problems in bounded-degree trees, raising the following important question.

Which LCL problems (on bounded-degree trees or graphs) with a deterministic complexity of Ω(logn) can be solved in sublogarithmic (and therefore in O(loglogn), resp. O(poly(loglogn))) rounds using randomization?

It seems likely that providing a full characterization (i.e., designing an algorithm that decides for every LCL problem whether it can be solved with randomization in o(logn) rounds or requires Ω(logn) rounds), if possible at all, will require a structured research program as such questions are notoriously hard.333For instance, it is not even known whether it is decidable whether a given LCL problem can be solved in constant time on bounded-degree trees. We make first progress towards this goal by providing such characterizations for some of the most fundamental problem classes amongst LCL problems exhibiting deterministic complexities of Ω(logn) rounds. Note that a variety of classic LCL problems, such as (Δ+1)-coloring, (2Δ1)-edge coloring, maximal matching or maximal independent set, can be solved in O(logn) rounds on constant-degree graphs [35], and therefore do not fall into the class of Ω(logn)-round problems. Instead, the typical problems considered in the literature that fall in the deterministic Ω(logn)-regime are splitting problems (which form the heart of classic divide-and-conquer approaches for solving other LCLs), which encompass both orientation and coloring problems. In their standard form, splitting problems fall into the class of so-called binary labeling problems – a class that has been instrumental in the context of complexity classification, including (efficient) decidability, in the deterministic setting [4]. Even restricted to binary labeling problems, the task of deciding between sublogarithmic and (at least) logarithmic randomized complexity is a major open problem on the path towards understanding randomness for LCL problems.

Binary Labeling Problems.

In an attempt towards exactly characterizing the distributed complexities of all problems in a large class of LCL problems, the authors of [4] considered the class of binary labeling problems in the edge labeling formalism [12]. In this formalism, labels have to be assigned to the edges of a two-colored bipartite graph. For each side of the bipartite graph, the valid configurations are given by a set of allowed multisets of edge labels. The standard way to use this framework in general graphs is to consider the bipartite graph between nodes and edges. Each of the original nodes of a graph G=(V,E) is colored white and in the middle of each edge eE, we place an additional black node. Each edge e={u,v}E is then split into two half-edges (u,e) and (v,e). The labels are placed on the half-edges and the validity of a labeling is determined by the allowed white node configurations and the allowed black edge configurations. The binary labeling problems are all problems that can be expressed with only two different labels (we call them red (𝖱) and blue (𝖡) in the following) in the edge labeling formalism. In the graph setting with labels on half-edges, binary labeling problems correspond to edge orientation and edge 2-coloring problems. If the allowed edge configurations are {𝖱,𝖱} and {𝖡,𝖡}, we get problems where the edges of a graph need to be colored red and blue. If the only allowed edge configuration is {𝖱,𝖡}, we get problems where all edges need to be oriented and if the allowed edge configurations are {𝖱,𝖱} and {𝖱,𝖡}, we get problems where we need to compute a partial orientation of the edges. All other combinations are symmetric or they lead to trivial cases.

In [4], the deterministic complexity of all binary labeling problems in the general edge labeling formalism in biregular bounded degree trees444More concretely, for two constants d and δ, it is assumed that the bipartite graph is properly colored with colors white and black and that all white nodes have degree d and all black nodes have degree δ. Note that when labeling half-edges in Δ-regular general graphs, we have d=Δ and δ=2. was exactly characterized. We thus have an exact characterization of the deterministic complexity of all LCLs in regular bounded-degree trees that either require to color the edges with two colors or to (partially) orient the edges. In [4], the authors also already prove some initial results on the randomized complexity of binary labeling problems. However, as pointed out above, classifying the randomized complexity of those problems is still largely open and our results can be seen as a step towards closing this gap. We in particular give an exact characterization of the randomized complexity of solving arbitrary edge 2-coloring problems in regular bounded-degree trees.

Degree Splitting Problems.

A special and important case of binary labelings are balanced oriented and unoriented degree splittings. Unoriented degree splittings are colorings of the edges with two colors such that every node v is incident to approximately deg(v)/2 edges of each color. An oriented degree splitting is an orientation of the edges so that for every node, indegree and outdegree are approximately equal. Degree splitting problems are not only natural to study, but also serve as key tools in other distributed tasks. Such problems lie at the heart of distributed divide-and-conquer algorithms and variants of splitting have in particular enabled efficient edge-coloring algorithms. In [34, 30], splitting was used to obtain the first deterministic polylog-time edge coloring algorithm that uses only by a (1+o(1))-factor more colors than the commonly considered 2Δ1 colors (thereby solving a long-standing open problem from the 90s). In [33], splitting is even used to obtain edge colorings with only (1+o(1))Δ colors. Also, recent work on hypergraph sinkless orientation [16] (which is a weak form of degree splitting) improved edge coloring and already inspired further follow-ups [37, 38]. Since our results provide stronger splitting guarantees, we expect them to similarly facilitate future advances, especially for randomized algorithms where previous progress has been limited. The distributed computation of degree splittings was in particular studied in [34, 30]. In [30] it was shown that one can compute both versions of degree splitting with constant discrepancy in time O~(Δ)logn deterministically and in time O~(Δ)loglogn randomized. The discrepancy is the maximum absolute difference between the two kinds of edges at any node. For oriented degree splitting, it was even shown that for odd-degree nodes, a discrepancy of 1, and for even-degree nodes, a discrepancy of 2 can be achieved. We improve the algorithm of [30] and we show that also for unoriented degree splitting, the same discrepancy as for oriented degree splitting can be achieved.

1.1 Our Contributions

All our algorithms are based on existing subroutines for the following three problems: sinkless orientation, balanced orientation, and constructive LLL. The three problems have different randomized and deterministic complexities and also different complexities on general graphs and on trees. As all our algorithms are deterministic reductions to three subroutines, it will be convenient to express all the algorithm complexities as functions of the complexities of the three subroutines. We therefore introduce the following notation. We use 𝖳𝖲𝖮 (for sinkless orientation), 𝖳𝖡𝖮 (for balanced orientation), and 𝖳𝖫𝖫𝖫 (for constructive LLL) to denote the time complexities of the three subroutines in n-node graphs in the 𝖫𝖮𝖢𝖠𝖫 model. We formally define the three problems in Section 2. Below, we just give the concrete time bounds that the three shortcuts stand for. In the case of 𝖳𝖡𝖮 and 𝖳𝖫𝖫𝖫, the bounds depend on a degree parameter d1. For the randomized algorithms, the time bounds hold with high probability. The time bounds for general graphs follow from [21, 29, 27], the randomized bound for general graphs in addition requires the algorithm of [23]. The time bounds for tree-like graphs follows from [19]. Tree-like graphs in particular include graphs of the form TO(1) if T is a tree. Where not specified, the bounds hold on general graphs.

𝖳𝖲𝖮 = O(logn)for deterministic andO(loglogn)for randomized algorithms
𝖳𝖡𝖮(d) = dlogdlog1.71logd𝖳𝖲𝖮
𝖳𝖫𝖫𝖫(d) = 𝖳𝖲𝖮on tree-like graphs
𝖳𝖫𝖫𝖫(d) = O~(log4n)for deterministic algorithms on general graphs
𝖳𝖫𝖫𝖫(d) = O(dlogd)+O~(log4logn)for randomized algorithms on general graphs

We will express the round complexities of all our algorithms as a deterministic function of the above complexities. To get the concrete bound for a specific case (trees or general graphs / deterministic or randomized algorithms), one just has to plug in the concrete bounds from above. For randomized algorithms, the resulting bound then also holds with high probability.

Generalized Balanced Degree Splitting.

As a first result, we generalize and also strengthen the main degree splitting result of [30]. For this result, we use the edge labeling formalism for graphs (where we label half-edges), but in addition, to be able to express our generalization we also assume that each edge of a given graph G=(V,E) has a binary input type. Concretely, we assume that each edge is either of type 𝖢 (coloring edge) or of type 𝖮 (orientation edge). A valid labeling of the half-edges with labels 𝖱 and 𝖡 (red-blue coloring of the half-edges) must satisfy the following. For every edge e of type 𝖢, either both half-edges get assigned 𝖱 or both half-edges get assigned 𝖡. For every edge e of type 𝖮, one half-edge must get label 𝖱 and the other half-edge must get label 𝖡. For a given labeling of the half edges and a node vV, we use d𝖱(v) and d𝖡(v) to denote the number of incident half-edges of v that are labeled 𝖱 and 𝖡 (colored red and blue), respectively.

Theorem 1.

Let G=(V,E) be an n-node multigraph without selfloops, let Δ be the maximum degree of G, and assume that every edge eE is either of type 𝖢 or of type 𝖮. Then, there is an 𝖳𝖡𝖮(Δ)-round algorithm to compute a red-blue coloring of the half-edges of G such that for every node vV of degree d(v), it holds that

d𝖱(v),d𝖡(v)[d(v)21,d(v)2+1]. (1)

If all edges are of type 𝖢, we can even guarantee that

d𝖱(v){d(v)2,d(v)2+1}andd𝖡(v){d(v)21,d(v)2}. (2)

Proof.

Follows from Sections 3 and 3 in Section 3.

The above theorem strengthens and generalizes the result of [30] in the following way. In [30] it is shown that a balanced edge orientation where every node v has indegree and outdegree in [d(v)21,d(v)2+1] can be computed in time 𝖳𝖡𝖮(Δ). That is, Equation 1 of Theorem 1 holds if all edges are of type 𝖮. The authors of [30] further prove that if all edges are of type 𝖢, then one can achieve a partition into red and blue edges such that for all vV, we have d𝖱(v),d𝖡(v)[d(v)22,d(v)2+2]. Implicitly, the techniques in [30] also imply that the same result holds when the edges can be of type 𝖢 or type 𝖮.

Corollary 2.

Let G=(V,E) be an n-node multigraph without selfloops, let ε>0 be a parameter, and assume that every edge eE is either of type 𝖢 or of type 𝖮. Then, there is an 𝖳𝖡𝖮(1/ε)-round algorithm to compute a red-blue coloring of the half-edges of G such that for every node vV of degree d(v), d𝖱(v),d𝖡(v)[(1ε)d(v)21,(1+ε)d(v)2+1].

Proof.

The corollary follows by splitting each node v of G into virtual nodes v1,,vk and partition the edges of v among v1,,vk such that each virtual node gets between 2/ε and 22/ε many edges (or keep v as it is if d(v)<2/ε). The number of virtual nodes per node is then at most εd(v)/2. We apply the algorithm of Theorem 1 to the obtained virtual graph and use the obtained edge coloring on G. By Equation 1, we then have

d𝖱(v),d𝖡(v)d(v)2+εd(v)2(1+ε)d(v)2+1.

Arbitrary Unoriented Red-Blue Splitting.

As one of our main results, we generalize the second part of Theorem 1 (Equation 2) to computing an arbitrary split into red and blue edges. We show that one can efficiently compute a red-blue partitioning of the edges so that the red degree (and consequently also the blue degree) of any node of degree Δ only takes on one of the two values y or y+1 (defined as problem ΠΔ(y) below). The red and blue degrees of any node of degree d<Δ can take on one of three different values, which depend on d (defined as problem Π(y) below). Concretely, we solve the following family of problems.

Definition 3 (Arbitrary Red-Blue Coloring Problem).

Let Δ2 and y{0,,Δ1} be two integer parameters. We define:

  • Problem 𝚷𝚫(𝐲) for nodes of degree 𝚫: The problem ΠΔ(y) defines the set of 𝖱/𝖡-labelings of the edges E of a graph G=(V,E) of maximum degree Δ such that for all node vV of degree Δ, the number of incident red edges is d𝖱(v){y,y+1}.

  • Problem 𝚷(𝐲) for nodes of general degree: The problem Π(y) extends the definition and also requires non-trivial guarantees for nodes of degree d<Δ. The problem Π(y) defines the set of all 𝖱/𝖡-labelings of the edges such that a) ΠΔ(y) is solved and b) there exists vector (x1,,xΔ1) such that for each d{1,,Δ1}, we have

    • Each node v of degree d has d𝖱(v){xd1,xd,xd+1}.

    • Let τd:=d2Δ, x~d:=dΔ(y+12), αd:=x~d, and βd:=x~dαd. If βdτd, then xd=αd, if βd1τd, then xd=αd+1, otherwise, xd{αd,αd+1}.

For nodes v of degree d, the definition implies that the allowed red degree d𝖱(v) is either (y+1/2)d/Δ±1 or (y+1/2)d/Δ±1 and if (y+1/2)d/Δ is close enough to an integer x, then d𝖱(v) must be x±1 for nodes of degree d. The next theorem shows that problem Π(y) can be solved almost as efficiently as the balanced degree splittings of Theorem 1.

Theorem 4.

On n-node graphs with maximum degree Δ, problem Π(y) can be solved in O(logΔ)𝖳𝖡𝖮(Δ) rounds.

To prove Theorem 4, we assume that we are given a red/blue-partition of the edges of G such that every node v of degree Δ has either k or k+1 red edges (and consequently either Δk1 or Δk blue edges). We can then use Equation 2 of Theorem 1 to further split the red part (or the blue part) in a balanced way and to recolor half of the old red part blue (or half of the old blue part red). This can be done in such a way that for nodes v of degree Δ, d𝖱(v) and d𝖡(v) can still only take on two consecutive values. We will see that when starting from a uniform coloring, by repeating this O(logΔ) times (and possibly switching the colors in the end), one can solve Π(y) for every y{0,,Δ1}.

We remark that when solving Π(y) in Δ-regular graphs, the set of red edges forms what is known as a {y,y+1}-factor of the graph G [1]. It was proven by Tutte [47] that every Δ-regular graph contains a {y,y+1}-factor for every y{0,,Δ}. An easy way to see this is as a consequence of Vizing’s theorem [48] that every graph of maximum degree Δ can be properly edge-colored with Δ+1 colors. Given (Δ+1)-edge coloring of a Δ-regular graph, clearly all the edges of colors {1,,y+1} form a {y,y+1}-factor (since every node can miss at most one of those colors). The recent distributed (Δ+1)-edge coloring algorithm of Bernshteyn [11] therefore implies that a {y,y+1}-factor can be computed in time poly(Δlogn) in the 𝖫𝖮𝖢𝖠𝖫 model. Prior to the current work, this is the only somewhat efficient distributed algorithm to compute a {y,y+1}-factor of regular graphs that we are aware of. Note that Theorem 4 implies that a {y,y+1}-factor of a Δ-regular graph can be computed in randomized time O~(Δ)loglogn.

Unbalanced Orientations.

In [30], it was shown that one can compute a balanced orientation, i.e., an orientation in which every node v has indegree and outdegree approximately deg(v)/2 in O(loglogn) randomized rounds in bounded-degree graphs. Further, in [4], it was shown that some unbalanced orientation problems require Ω(logn) rounds even with randomization in regular bounded-degree trees. Concretely, they show that this holds for a sufficiently large constant c>0 and orientations in which all nodes either have outdegree Δ/4cΔ or indegree Δ/4cΔ. We generalize both these results. The first theorem gives a family of unbalanced edge orientation problems that can be solved in O(loglogn) randomized rounds in trees and in polyloglogn randomized rounds in general bounded-degree graphs.

Theorem 5.

Let G=(V,E) be an n-node graph with maximum degree Δ and let ρ1,ρ2[0,1/2] be two parameters for which ρ1+ρ21/2. There is a 𝖳𝖫𝖫𝖫(Δ2)-round algorithm to compute an edge orientation in which every node vV either has outdegree at most ρ1deg(v)+O(ΔlogΔ) or indegree at most ρ2deg(v)+O(ΔlogΔ).

We present a random construction of the orientation of the edges that is based on independent random variables on the nodes and edges. We show that the probability that a node does not satisfy the condition required by the theorem is polynomially small in Δ, and the orientation of each edge only depends on the random variables of itself and its two endpoints. As a result, the problem of computing such an orientation can be expressed as an LLL instance with dependency degree O(Δ2) and a polynomial LLL criterion. The orientation can therefore be computed in time 𝖳𝖫𝖫𝖫(Δ2) by using existing distributed LLL algorithms. We also generalize the lower bound that was proven in [4].

Theorem 6.

Let Δ1 be an integer, let ρ1,ρ20 be two parameters for which ρ1+ρ2=1/2, and let c>0 be a sufficiently large constant. In Δ-regular trees, computing an orientation for which every node v either has outdegree at most ρ1ΔcΔ or indegree at most ρ2ΔcΔ requires Ω(logΔn) rounds in the 𝖫𝖮𝖢𝖠𝖫 model.

To prove the theorem, we show how to construct a Δ-regular graph with girth Ω(logΔn) for which an orientation for which every node has outdegree at most ρ1ΔcΔ or indegree at most ρ2ΔcΔ (where ρ1+ρ2=1/2) does not exist if the constant c is chosen sufficiently large. As in o(logΔn) rounds, nodes cannot locally distinguish a Δ-regular tree from a high-girth Δ-regular graph, this implies that in Δ-regular trees, we need Ω(logΔn) rounds to compute the desired orientation.

Theorems 5 and 6 approximately capture the edge orientations that can be computed in O(loglogn) randomized rounds in Δ-regular trees or in polyloglogn rounds in Δ-regular graphs in the following way. Any locally checkable orientation problem (without input) in Δ-regular graphs can be expressed as a list of allowed outdegrees. Let d1,d2,,dk be the outdegrees that a node of degree Δ is allowed to have in a valid solution to a given problem. We can define the θ-smoothed version of this problem as the problem that allows all outdegrees d for which there is a value di (i{1,,k}) for which d[diθ,di+θ]. On the one hand, Theorem 5 shows that whenever there exists i,j{1,,k} such that diΔ/2+O(ΔlogΔ), djΔ/2O(ΔlogΔ), and djdiΔ/2+O(ΔlogΔ) (we can have i=j), then an O(ΔlogΔ)-smoothed version of the problem can be solved in time polyloglogn. On the other hand, Theorem 6 shows that whenever there does not exist two such values, then for a small enough constant c>0, not even a cΔ-smoothed version of the problem can be solved in time polyloglogn.

The technical details of Theorems 5 and 6 appear in Section 5 in [15]. Further, in Section 6 in [15], we discuss to what extent our algorithms can be implemented with small messages.

2 Model and Definitions

Mathematical Definitions and Preliminaries.

For a (multi)graph G=(V,E) and a node vV, we use dG(v) to denote the degree of v (in the case of a multigraph, the number of incident edges of v). Whenever G is clear from the context, we write d(v) instead of dG(v). Further, whenever G denotes the communication graph and G is clear from the context, we use n to denote the number of nodes of G and Δ to denote the maximum degree of G.

Communication Model.

In the 𝖫𝖮𝖢𝖠𝖫 model [43, 45], the nodes of an n-node graph G=(V,E) communicate in synchronous rounds over the edges of G. The nodes are equipped with unique O(logn)-bit IDs and in each round, each node vV can perform some arbitrary internal computation, send a message of arbitrary size to each neighbor, and receive the messages sent to it by its neighbors. The time (or round) complexity of an algorithm is defined as the maximum number of rounds required for all nodes to terminate. The time complexity is typically expressed as a function of global network parameters such as n or the maximum degree Δ. We assume that those global parameters are known to the nodes of G.555This assumption can usually be dropped or at least significantly relaxed by only requiring the knowledge of some approximations of the parameters (see, e.g., [39]).

Basic Subroutines.

As described in Section 1.1, our algorithms use the following three subroutines in our algorithms.

  • Sinkless Orientation: The sinkless orientation problem on an n-node multigraph G=(V,E) asks for an orientation of the edges E such that every node vV of degree 3 has at least one outgoing edge. It was shown in [34, 30] that the sinkless orientation can be solved in O(logn) rounds deterministically and in O(loglogn) rounds with randomization.

  • Balanced Orientation: The problem of computing a balanced orientation of an n-node multigraph G=(V,E) asks for an orientation of the edges E such that every node vV has outdegree [d(v)/21,d(v)/2+1]. If Δ is the maximum degree of G, it is shown in [30] that a balanced orientation can be computed in time O(ΔlogΔlog1.71Δ)𝖳𝖲𝖮.

  • Constructive LLL: The Lovász Local Lemma (LLL) considers the following setting. A set VH of (bad) events that are defined as functions over some underlying product probability space. Let H=(VH,EH) be the conflict graph of those events, i.e., H contains an edge between two events iff they are dependent (i.e., if they depend on intersecting sets of random variables in the underlying product space). The LLL states that if the maximum degree of H is d and the probability of each event is upper bounded by p such that ep(d+1)1, then the probability that none of the events occurs is positive. The instance is said to have a polynomial LLL criterion if pdγ for a constant γ>0. If γ is a sufficiently large constant, there are efficient distributed algorithms to determine a setting for the underlying random variables that avoids all the bad events. The best known round complexities for those algorithms are O(logn) for deterministic algorithms in tree-like dependency graphs [19], O(loglogn) for randomized algorithms in tree-like dependency graphs [19], O~(log4n) for deterministic algorithms in general graphs [22, 29, 27], and O(dlogd)+O~(log4logn) for randomized algorithms in general graphs [22, 29, 27, 23].

3 Generalized Balanced Degree Splitting

The objective of this section is to prove Theorem 1. We do this in several steps. We first prove that in asymptotically the same time as computing a sinkless orientation, one can compute a red-blue coloring of the half-edges of a graph with edge types such that each node sees at least one half-edge of each color.

Lemma 7.

Let G=(V,E) be an n-node multigraph without selfloops and assume that every edge eE is either of type 𝖢 or of type 𝖮. Then, there is an 𝖳𝖲𝖮-round distributed algorithm to compute a coloring of the half-edges of G that is consistent with the edge types and for which every node vV of degree d(v)3 has d𝖱(v)1 and d𝖡(v)1.

Proof.

In the following, we describe each step of the algorithm separately.

Reducing to Maximum Degree 3.

We first select a subgraph G=(V,E) of G on which we solve the problem. The node set of G is V=V and to construct the edges E, each vV with dG(v)3 arbitrarily marks 3 of its edges. If an edge e={u,v} is marked by both u and v, it is included in E. Since an edge is added to E only if both of its endpoints have marked it and each node marks at most 3 edges, the maximum degree of G is 3.

Given a valid red-blue coloring of the half-edges of G 666A valid red-blue coloring is a red-blue assignment on the half-edges of a graph that aligns with the edge types and satisfies the vertex constraints of the graph., we can construct a valid red-blue coloring on G as follows. Nodes of degree 3 in G already have at least one incident half-edge of each color. All other nodes v of degree at least 3 in G have 3dG(v) marked edges that are not in G. Those edges are not marked by their other node and v can therefore color them arbitrarily. If there are at least two such edges, v colors them such that the two corresponding incident half-edges get different colors. If it has only one such edge, it already has incident half-edges of at least one color and it can color the remaining marked edge with the other color. The conversion from G to G and computing a solution on G when given a solution on G both clearly require only O(1) rounds. Given a valid red-blue for G, we can derive a valid red-blue coloring for the original graph G. Therefore, in the following, we describe how to create a valid red-blue coloring for G.

Clustering the Graph.

Next, we compute a (3,2)-ruling set S on G. That is, we select a set of nodes S such that for any two nodes u,vS, the distance between u and v in G is at least 3 and for any node uS, there is a node in S within distance 2 in G. Such a set S can be computed in O(logn) rounds by running an MIS algorithm on G2 [40]. Note that G2 is a bounded-degree graph and the 𝖫𝖮𝖢𝖠𝖫 model on G2 can be simulated with constant overhead in the 𝖫𝖮𝖢𝖠𝖫 model on G. Given S, we partition G into clusters. We build one cluster for each node vS, where each node uS joins the cluster of the nearest S-node (ties broken arbitrarily). Note that since nodes in S have distance at least 3 from each other, each cluster consists at least its cluster center vS and all neighbors u of v in G. Further, since every node is at distance at most 2 from a cluster center, the cluster of vS is contained within v’s 2-hop neighborhood.

Clusters are called good if they include a vertex with degree less than 3 or if they contain a cycle, and bad otherwise. Note that the subgraph induced by the nodes of a bad cluster is a tree of height at most 2 (when rooted at the cluster center vS). Since any bad cluster centered at vS contains at least the three neighbors of v, each bad cluster has at least six intercluster edges, where an intercluster edge is an edge that connects endpoints in two distinct clusters. In the following, we first color the internal edges of the bad clusters and the intercluster edges, and we afterwards color the internal edges of good clusters.

Assigning Intercluster Edges to Clusters.

Before coloring any edges, we assign each intercluster edge to one of its two incident clusters. To this end, we construct a multigraph H=(VH,EH) as follows. The graph H contains one node vCVH for each good cluster C of G and two nodes vC,1 and vC,2 for each bad cluster C of G. Further, the edge set EH contains one edge for each intercluster edge of G. An intercluster edge {u,v}E is assigned to an edge in EH as follows. The edge is between two cluster nodes in VH corresponding to the clusters containing u and v. For each bad cluster C, we make sure that both nodes vC,1 and vC,2 obtain at least 3 edges. Note that this is possible because each bad cluster is incident to at least 6 intercluster edges. We then apply the sinkless orientation algorithm on this modified graph, which requires 𝖳𝖲𝖮 time. As a result, any node of H of degree at least 3 is ensured to have at least one outgoing edge. We assign each edge in EH to the node in VH for which it is outgoing. This directly induces an assignment of the intercluster edges of G to one of the adjacent clusters. Note that because each bad cluster has two nodes of degree 3 in H, each bad cluster is assigned at least two of its intercluster edges.

Handling the Bad Clusters.

We can now assign the colors to all edges inside the bad clusters and to all intercluster edges. Recall that each bad cluster has at least two adjacent intercluster edges that are assigned to it. We arbitrarily name one of those edges ec and another one of those edges enc. We color the half-edges of all the intercluster edges that are assigned to a good cluster and the half-edges of all the intercluster edges that are assigned to a bad cluster and that are not selected as the edge enc of this cluster. This coloring is done so that it is consistent with the types of the colored edges, but otherwise it is done arbitrarily. In each bad cluster, we now identify the (unique) path between enc and ec. We assume that the path includes enc, but it excludes ec, Figure 1 (a). We now 2-color the half-edges on this path, starting from the edge incident to the endpoint of ec and moving towards enc, in accordance with the edge types in such a way that each inner node of the path has one adjacent red and one adjacent blue half-edge on the path. Because the cluster diameter is bounded, the path length is constant and thus, the 2-coloring of the path can be done in O(1) rounds. Assume that all the remaining edges inside the cluster are oriented towards the ec-enc-path, Figure 1 (b). Those edges are now colored by going from the leaves of the internal cluster tree towards the ec-enc-path. Consider such a remaining edge {u,v} inside the cluster and assume that v is the parent of u (i.e., v is the node closer to the ec-enc-path). When coloring the edge {u,v}, node u already has two colored half-edges. We can therefore color the edge {u,v} so that node v is happy, i.e., has two incident half-edges of different colors, Figure 1 (c). In this way, we can make all nodes happy except the nodes on the path. However, we have already made sure that the path nodes see both colors on their two edges on the path. In this way, we can therefore make all the nodes in the bad clusters happy.

Figure 1: Coloring the edges of a bad cluster.

Handling the Good Clusters.

We can move on to the good clusters. Note that at this point, all the intercluster edges are colored and it therefore only remains to color the internal edges of all the good clusters. Let us first assume that we have a good cluster that contains at least one node of degree at most 2 and let v2 be such a node. Node v2 has a degree less than 3 and nodes of degree less than 3 do not have to satisfy any constraints. Therefore, all the edges incident to v2 can be colored freely (from v2’s point of view). We now construct a spanning tree T of the internal edges of the cluster and we orient the edges of T towards v2. We arbitrarily color all edges in the cluster that do not belong to T. We then proceed to 2-color the half-edges of T starting from the leaves, moving towards v2. Going up the oriented tree T, we can make each node happy except for the root of T, which is happy by default because its degree is less than 3. This process is also completed within O(1) rounds.

We next turn our attention to good clusters that contain only nodes of degree 3, but include a cycle. If a cluster contains only one cycle, we select it. If there are multiple cycles, we select an arbitrary one, Figure 2 (a). Subsequently, we contract the selected cycle into a single vertex v and we construct a spanning tree T of the remaining graph in the cluster. We arbitrarily color all edges in the cluster that do not belong to T or the selected cycle. The tree edges are colored in the same way as before, Figure 2 (b). However, this time, the root node corresponds to the nodes of a cycle in G and thus, the root is not automatically happy. However, since each node on the cycle has degree 3 and exactly two incident edges within the cycle, after coloring all the edges except for the cycle edges, each node of the cycle already has one colored incident edge. To color the edges of the cycle, we consistently orient the cycle in one of the two directions. Now, each node v in the cycle is responsible for coloring its outgoing edge and it colors it to make itself happy, Figure 2 (c). This concludes the algorithm. Note that also the good clusters can clearly be processed in O(1) rounds.

Figure 2: Coloring the edges of a good cluster with cycle(s).

The most time-consuming part of the whole algorithm is the computation of the sinkless orientation of the cluster graph H. All other steps require either O(1) or O(logn) rounds. The overall round complexity is therefore 𝖳𝖲𝖮.

We can now prove the first part of Theorem 1.

Lemma 8.

Let G=(V,E) be an n-node multigraph without selfloops and assume that every edge eE is either of type 𝖢 or of type 𝖮. There is an 𝖳𝖡𝖮(Δ)-round 𝖫𝖮𝖢𝖠𝖫 algorithm for computing a red-blue coloring of the half-edges of G such that for every node vV of degree d(v), it holds that

d𝖱(v),d𝖡(v)[d(v)21,d(v)2+1]. (3)

Proof.

The high-level idea of the proof is the following. For k=log2Δ, we compute a sequence of multigraphs G=G0,G1,G2,,Gk+2 of maximum degree Δ=Δ0,Δ1,,Δk+2 such that the maximum degree Δi+1 of Gi+1 is roughly Δi+1Δi/2 and such that Δk+24. The graphs are constructed such that solving the problem required by Equation 3 on any graph Gi solves the same problem on G. The full proof of the lemma appears in the full version on Arxiv [15].

Section 3 already proves the first part (Equation 1) Theorem 1. The next lemma shows how to also prove the second part (Equation 2) of the theorem.

Lemma 9.

Let G=(V,E) be an n-node multigraph without selfloops and assume that every edge eE is of type 𝖢. There is a 𝖳𝖡𝖮(Δ)-round 𝖫𝖮𝖢𝖠𝖫 algorithm for computing a red-blue coloring of the half-edges of G such that for every node vV of degree d(v), it holds that

d𝖱(v){d(v)2,d(v)2+1}andd𝖡(v){d(v)21,d(v)2}. (4)

Proof.

Note that for odd-degree nodes, the condition of Equation 4 is implied by the condition of Section 3. Our approach therefore is to reduce the problem on general graphs to the problem on graphs with only odd-degree nodes and to then use Section 3. For this, we use the fact that all edges of G are of type 𝖢 (i.e., we need to compute a red/blue-coloring of the edges of G). The reduction consists of two steps.

Let VEV be the set of nodes that have an even degree in G and let G[VE] be the subgraph of G induced by VE. As the first step, we compute a maximal matching of G[VE]. This can be done in O(Δ+logn) rounds (e.g., [40]). In the end, the edges of will be labeled 𝖱 (i.e., both their half-edges are labeled 𝖱). We now however first remove the edges of from the graph. Let VMVE be the set of nodes that are incident to an edge in the matching , let E:=E, and let G=(V,E). Note that in graph G, all nodes in VM now have an odd degree (because they lost exactly one of their edges) and the only nodes of even degree are the nodes VE:=VEVM. Because of the maximality of , the nodes in VE form an independent set of G. Therefore, the nodes in VE can pair up their edges and create a virtual edge of type 𝖮 out of each of those pairs. Assume that vVE and that we pair up two edges {v,u} and {v,w} to create the virtual edge {u,w} of type 𝖮. The half-edges of {u,w} correspond to the edges {v,u} and {v,w} and when computing a valid assignment of labels to {u,w}, we therefore color one of the two edges of v red and the other one blue. Node v therefore gets exactly the same number of red and blue edges and it therefore clearly satisfies the requirement of Equation 4.

The next graph G′′=(V′′,E′′) is now built as follows. The set of nodes of G′′ is V′′=VVE=(VVE)VM and the set of edges consists of all edges of E that are not incident to some node in VE and it consists of the virtual edges that are created when removing the nodes in VE. Note that G′′ can be a multigraph even if G and G are simple graphs. Note also that G′′ has only odd-degree nodes. All nodes that have an odd degree in G, i.e., the nodes VVE have the same degree in G′′. All nodes in VM have their original (even) degree minus 1 (from removing ).

In order to compute the labeling of G, we now apply Section 3 to graph G′′ (note that one 𝖫𝖮𝖢𝖠𝖫 round in G′′ can be simulated in 2 𝖫𝖮𝖢𝖠𝖫 rounds in G). Let vV′′ be a node of G′′ and let d′′(v) be the (odd) degree of v in G′′. Section 3 implies that the red and blue degree of v in G′′ are either d′′(v)/2 or d′′(v)/2=d′′(v)/2+1. For the nodes vVVE, we have d(v)=d′′(v) and thus also d𝖱(v),d𝖡(v){d(v)/2,d(v)/2+1} as required by Equation 4. For vVM, we have d(v)=d′′(v)+1 and since the edges of are colored red, we have d𝖱(v){d′′(v)/2+1,d′′(v)/2+2}={d(v)/2,d(v)/2+1}. This completes the proof.

Note that by switching the names of the colors, the algorithm of Section 3 can also be used to guarantee the following condition.

d𝖱(v){d(v)21,d(v)2}andd𝖡(v){d(v)2,d(v)2+1}. (5)

4 Arbitrary Unoriented Degree Splittings

We next prove Theorem 4, i.e., that the problems Π(y) (cf. Section 1.1) can be solved in O(logΔ)𝖳𝖡𝖮(Δ) rounds. We first recap the definition of the problem family Π(y) for y{0,,Δ1}. The problem asks for a red-blue coloring of the edges of an n-node graph G=(V,E) of maximum degree Δ. An algorithm solves Π(y) if the following holds.

  1. 1.

    For every node vV of degree Δ, the number of red edges is in {y,y+1}. Just requiring this subproblem is also defined as problem ΠΔ(y).

  2. 2.

    For every degree d<Δ, there exists a value xd such that the number of red edges of all nodes of degree d is in {xd1,xd,xd+1}.

  3. 3.

    The value of xd for d<Δ must satisfy the following conditions. Let τd:=d2Δ, x~d:=dΔ(y+12), αd:=x~d, and βd:=x~dα.

  4. 4.

    If βdτd, xd=αd, if βd(τd,1τd), xd{αd,αd+1}, and if βd1τd, xd=αd+1.

Because this will turn out to be more convenient, as a first step, we extend the definition of Π(y) to all y as follows. For y, we define Π(y):=Π(ymod(Δ1)), where we assume that ymod(Δ1) maps to the range {0,,Δ2}. We note that this changes the definition of Π(Δ1) to be equal to Π(0). Note however that Π(Δ1) requires all edges to be red and Π(0) requires all edges to be blue and up to renaming the colors, the two problems are indeed equivalent. Two problems are generally equivalent if they can be obtained from each other by just switching the name of the two colors. The following lemma makes this formal. The full proof is provided in [15].

Lemma 10.

For any y, the problems Π(y) and Π(Δ1y)=Π(y) are equivalent.

We are now ready to show that Π(y) can be computed in time O(logΔ) steps, where each step is an application of Section 3. The high level idea is the following. In the next two technical lemmas, we show that if a solution to Π(2y) is given, then we can compute a solution to Π(y) in time 𝖳𝖡𝖮(Δ) (by applying Section 3). Depending on the value of y, we can further also compute a solution to Π(y) if either a solution of Π(2y+1) or of Π(2y1) is given. This will be sufficient to show that if we do k consecutive applications of Section 3, it is possible to get to Π(y) from Π(y) for 2k consecutive y-values. We now first show how to get from a solution to Π(2y) to a solution to Π(y).

Lemma 11.

Let G=(V,E) be an n-node multigraph without selfloops. For all y{0,,Δ2}, given a solution for Π(2y) on G, we can compute a solution for Π(y) in 𝖳𝖡𝖮(Δ) rounds.

Proof Sketch.

We first describe the transformation from Π(2y) to Π(y).

If yΔ22, let E be the set of red edges in the given solution to Π(2y) and let G be the subgraph of G induced by E. We apply Section 3 (with Equation 4) to G. The edges that are colored red in the resulting red-blue labeling of G remain red and the remaining edges of E together with the edges in EE become blue in the final labeling.

If y>Δ22, we first switch the colors in the given solution to Π(2y). Let E be the set of red edges in the current solution to Π(2y) and let G be the subgraph of G induced by E. We apply Section 3 (with Equation 4) to G. The red edges in the resulting red-blue labeling of G remain red and the remaining edges of E together with the edges in EE become blue. We then again switch the colors for the final labeling of the edges.

For the analysis, again first consider the case yΔ22. For a node v, let d𝖱(v) be its degree in G (i.e., d𝖱(v) is the number of red edges in the initial solution to Π(2y)). We further use d𝖱(v) to denote the number of red edges after executing the algorithm. We thus need to show that the values of d𝖱(v) satisfy the requirements of problem Π(y). Note that for every vV, by Equation 4, the number of red edges after executing the algorithm is

d𝖱(v){d𝖱(v)2,d𝖱(v)2+1}. (6)

We first concentrate on nodes v that have degree Δ in G. Since the initial red-blue labeling is a solution to Π(2y), we know that for each such node v, d𝖱(v){2y,2y+1}. Note that (2y)/2=(2y+1)/2=y. We therefore have d𝖱(v){y,y+1} as it is required for nodes of degree Δ in problem ΠΔ(y) (and thus in problem Π(y)). The extension to the conditions for d<Δ is deferred to the full proof in [15]. For the case y>Δ22, we use Section 4 to switch to the equivalent problem Π(Δ1y). For this problem, we can then apply the analysis of the first case. The details appear in the full proof in [15].

We next show that a solution to Π(2y+1) or to Π(2y1) (depending on the value of y) can be also used to compute a solution to Π(y). The algorithm and also its proof are similar to the case of Section 4. The proof is provided in [15].

Lemma 12.

Let G=(V,E) be an n-node multigraph without selfloops. For all 0y(Δ3)/2, given a solution for Π(2y+1) on G, we can compute a solution for Π(y) in 𝖳𝖡𝖮(Δ) rounds. Further, for all (Δ3)/2<yΔ2, given a solution for Π(2y1) on G, we can compute a solution for Π(y) in 𝖳𝖡𝖮(Δ) rounds.

We are now ready to prove Theorem 4, i.e., that for every y{0,,Δ2}, problem Π(y) can be computed in time O(logΔ)𝖳𝖡𝖮(Δ).

Proof of Theorem 4..

We first note that for some values of y, Π(y) is straightforward to obtain. First, Π(0) can be solved in 0 rounds by just coloring all edges blue. In this scenario, ΠΔ(0) is satisfied and for all vertices with degree d<Δ, x~d=d2Δ<12 leads to xd=0, thereby satisfying Π(0). Further, by using Section 3 (i.e., the second part claim of Theorem 1), we can compute a red-blue coloring of the edges that satisfies Equation 4 (or one that satisfies Equation 5). This approach directly satisfies ΠΔ(y) for y=Δ2. For vertices of degree d<Δ, the value of x~d is determined as follows, based on whether Δ is odd or even:

  • For even Δ: x~d=dΔ(Δ2+12)=d2+d2Δ. If d is odd, then xd=d12 (d2Δ<12), and the values d2 and d2+1 fall within the set {d32,d12,d+12}. For even d, xd=d2, with d2 and d2+1 belonging to the set {d21,d2,d2+1}.

  • For odd Δ: x~d=dΔΔ2=d2. If d is odd, then xd=d12 and if d is even d, xd=d2, which are the two cases that were already covered in the previous case.

Hence, for y=Δ2, problem Π(y) follows from Equation 4. By Section 4, we further know that problems Π(Δ2) and Π(Δ21) are equivalent and therefore also Π(Δ21) can be solved in time 𝖳𝖡𝖮(Δ).

In the case, where y does not fit one of the straightforward scenarios, we proceed as follows. For some integer k, let y1,,yk be k consecutive integers such that for all i{1,,k1}, yi+1=yi+1. Assume that we want to solve one of the problems Π(y1),,Π(yk). If for some i, yimod(Δ1){0,Δ/21,Δ/2}, we know that the task of solving one of the Π(yi) can be completed in time at most 𝖳𝖡𝖮(Δ). Assume therefore that

i:yimod(Δ1){0,Δ21,Δ2}. (7)

We show that in this case, one can construct a sequence y1,,y2k of 2k consecutive integers (again yi+1=yi+1) such that given a solution to Π(yj) for some j{1,,2k}, it is possible to solve one of the problems Π(yi) for i{1,,k} in time 𝖳𝖡𝖮(Δ). Note that if Equation 7 holds, then for all i{1,,k}, it either holds that yimod(Δ1)Δ32 or yimod(Δ1)Δ+12. We consider the two cases separately.

  • If yimod(Δ1)Δ32 for all i, then Sections 4 and 4 imply that for i{1,,k}, we can compute Π(yi) in time 𝖳𝖡𝖮(Δ) when given a solution to Π(2yi) or Π(2yi+1). For y1=2y1 and y2k=2yk+1, given a solution to one of the problems y1,,y2k, we can therefore compute one of the problems Π(yi) for i{1,,k} in time 𝖳𝖡𝖮(Δ).

  • If yimod(Δ1)Δ+12 for all i, then Sections 4 and 4 imply that for i{1,,k}, we can compute Π(yi) in time 𝖳𝖡𝖮(Δ) when given a solution to Π(2yi1) or Π(2yi). For y1=2y11 and y2k=2yk, given a solution to one of the problems y1,,y2k, we can therefore compute one of the problems Π(yi) for i{1,,k} in time 𝖳𝖡𝖮(Δ).

The theorem now follows by repeating this process until the obtained sequence contains one of the problems in {Π(0),Π(Δ/21),Π(Δ/2)}. As the sequence of problems that suffice to solve Π(y) grows by a factor of 2 in each step, we only need to repeat the process at most O(logΔ) times. Hence, Π(y) can be computed in at most O(logΔ)𝖳𝖡𝖮(Δ) rounds.

References

  • [1] Jin Akiyama and Mikio Kano. Factors and Factorizations of Graphs. Springer, 2011.
  • [2] Alkida Balliu, Sebastian Brandt, Yi-Jun Chang, Dennis Olivetti, Mikaël Rabie, and Jukka Suomela. The distributed complexity of locally checkable problems on paths is decidable. In Proc. 38th ACM Symp. on Principles of Distributed Computing (PODC), pages 262–271, 2019. doi:10.1145/3293611.3331606.
  • [3] Alkida Balliu, Sebastian Brandt, Yi-Jun Chang, Dennis Olivetti, Jan Studený, and Jukka Suomela. Efficient classification of locally checkable problems in regular trees. In Proc. 36th Int. Symp. on Distributed Computing (DISC), volume 246 of LIPIcs, pages 8:1–8:19, 2022. doi:10.4230/LIPICS.DISC.2022.8.
  • [4] Alkida Balliu, Sebastian Brandt, Yuval Efron, Juho Hirvonen, Yannic Maus, Dennis Olivetti, and Jukka Suomela. Classification of distributed binary labeling problems. In Proc. 34th Int. Symp. on Distributed Computing (DISC), volume 179 of LIPIcs, pages 17:1–17:17, 2020. doi:10.4230/LIPICS.DISC.2020.17.
  • [5] Alkida Balliu, Sebastian Brandt, Dennis Olivetti, and Jukka Suomela. Almost global problems in the LOCAL model. In Proc. 32nd Int. Symp. on Distributed Computing (DISC), volume 121 of LIPIcs, pages 9:1–9:16, 2018. doi:10.4230/LIPICS.DISC.2018.9.
  • [6] Alkida Balliu, Sebastian Brandt, Dennis Olivetti, and Jukka Suomela. How much does randomness help with locally checkable problems? In Proc. 39th ACM Symp. on Principles of Distributed Computing (PODC), pages 299–308, 2020. doi:10.1145/3382734.3405715.
  • [7] Alkida Balliu, Juho Hirvonen, Janne H. Korhonen, Tuomo Lempiäinen, Dennis Olivetti, and Jukka Suomela. New classes of distributed time complexity. In Proc. 50th ACM Symposium on Theory of Computing (STOC), pages 1307–1318, 2018. doi:10.1145/3188745.3188860.
  • [8] Alkida Balliu, Juho Hirvonen, Dennis Olivetti, and Jukka Suomela. Hardness of minimal symmetry breaking in distributed computing. In Proc. 38th ACM Symp. on Principles of Distributed Computing (PODC), pages 369–378, 2019. doi:10.1145/3293611.3331605.
  • [9] Leonid Barenboim and Michael Elkin. Deterministic distributed vertex coloring in polylogarithmic time. Journal of ACM, 58:23:1–23:25, 2011. doi:10.1145/2027216.2027221.
  • [10] Leonid Barenboim and Michael Elkin. Distributed Graph Coloring: Fundamentals and Recent Developments. Morgan & Claypool Publishers, 2013. doi:10.2200/S00520ED1V01Y201307DCT011.
  • [11] Anton Bernshteyn. A fast distributed algorithm for (Δ+1)-edge-coloring. J. Comb. Theory B, 152:319–352, 2022.
  • [12] Sebastian Brandt. An automatic speedup theorem for distributed problems. In Peter Robinson and Faith Ellen, editors, Proc. 38th ACM Symp. on Principles of Distributed Computing (PODC), pages 379–388, 2019. doi:10.1145/3293611.3331611.
  • [13] Sebastian Brandt, Orr Fischer, Juho Hirvonen, Barbara Keller, Tuomo Lempiäinen, Joel Rybicki, Jukka Suomela, and Jara Uitto. A lower bound for the distributed lovász local lemma. In Daniel Wichs and Yishay Mansour, editors, Proceedings of the 48th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2016, Cambridge, MA, USA, June 18-21, 2016, pages 479–488. ACM, 2016. doi:10.1145/2897518.2897570.
  • [14] Sebastian Brandt, Juho Hirvonen, Janne H. Korhonen, Tuomo Lempiäinen, Patric R. J. Östergård, Christopher Purcell, Joel Rybicki, Jukka Suomela, and Przemyslaw Uznanski. LCL problems on grids. In Proc. 36th ACM Symp. on Principles of Distributed Computing (PODC), pages 101–110. ACM, 2017. doi:10.1145/3087801.3087833.
  • [15] Sebastian Brandt, Fabian Kuhn, and Zahra Parsaeian. On the complexity of distributed edge coloring and orientation problems, 2025. arXiv:2510.21327.
  • [16] Sebastian Brandt, Yannic Maus, Ananth Narayanan, Florian Schager, and Jara Uitto. On the locality of hall’s theorem. In Yossi Azar and Debmalya Panigrahi, editors, Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2025, New Orleans, LA, USA, January 12-15, 2025, pages 4198–4226. SIAM, 2025. doi:10.1137/1.9781611978322.143.
  • [17] Y.-J. Chang, T. Kopelowitz, and S. Pettie. An exponential separation between randomized and deterministic complexity in the LOCAL model. In Proc. 47th Symp. on Foundations of Computer Science (FOCS), pages 615–624, 2016.
  • [18] Yi-Jun Chang. The complexity landscape of distributed locally checkable problems on trees. In Hagit Attiya, editor, Proc. 34th Int. Symp. on Distributed Computing (DISC), volume 179 of LIPIcs, pages 18:1–18:17, 2020. doi:10.4230/LIPICS.DISC.2020.18.
  • [19] Yi-Jun Chang, Qizheng He, Wenzheng Li, Seth Pettie, and Jara Uitto. Distributed edge coloring and a special case of the constructive lovász local lemma. ACM Trans. Algorithms, 16(1):8:1–8:51, 2020. doi:10.1145/3365004.
  • [20] Yi-Jun Chang and Seth Pettie. A time hierarchy theorem for the LOCAL model. In Chris Umans, editor, Proc. 58th IEEE Symp. on Foundations of Computer Science (FOCS), pages 156–167, 2017. doi:10.1109/FOCS.2017.23.
  • [21] Kai-Min Chung, Seth Pettie, and Hsin-Hao Su. Distributed algorithms for the lovász local lemma and graph coloring. In Proc. ACM Symp. on Principles of Distributed Computing (PODC), pages 134–143. ACM, 2014. doi:10.1145/2611462.2611465.
  • [22] Kai-Min Chung, Seth Pettie, and Hsin-Hao Su. Distributed algorithms for the lovász local lemma and graph coloring. Distributed Computing, 30(4):261–280, 2017. doi:10.1007/S00446-016-0287-6.
  • [23] Peter Davies. Improved distributed algorithms for the lovász local lemma and edge coloring. In Proc. 34th ACM-SIAM Symp. on Discrete Algorithms (SODA), pages 4273–4295, 2023. doi:10.1137/1.9781611977554.CH163.
  • [24] Pierre Fraigniaud, Marc Heinrich, and Adrian Kosowski. Local conflict coloring. In Proc. 57th IEEE Symp. on Foundations of Computer Science (FOCS), pages 625–634, 2016. doi:10.1109/FOCS.2016.73.
  • [25] M. Ghaffari, F. Kuhn, and Y. Maus. On the complexity of local distributed graph problems. In Proc. 49th ACM Symp. on Theory of Computing (STOC), pages 784–797, 2017.
  • [26] Mohsen Ghaffari and Christoph Grunau. Near-optimal deterministic network decomposition and ruling set, and improved MIS. In Proc. 65th IEEE Symp. on Foundations of Computer Science (FOCS), pages 2148–2179, 2024. doi:10.1109/FOCS61266.2024.00007.
  • [27] Mohsen Ghaffari, Christoph Grunau, Bernhard Haeupler, Saeed Ilchi, and Václav Rozhon. Improved distributed network decomposition, hitting sets, and spanners, via derandomization. In Proc. 34th ACM-SIAM Symposium on Discrete Algorithms (SODA), 2023.
  • [28] Mohsen Ghaffari, Christoph Grunau, and Václav Rozhon. Improved deterministic network decomposition. In Proc. 32nd ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2904–2923, 2021. doi:10.1137/1.9781611976465.173.
  • [29] Mohsen Ghaffari, David G. Harris, and Fabian Kuhn. On derandomizing local distributed algorithms. In Proc. 59th Symp. on Foundations of Computer Science (FOCS), pages 662–673, 2018. doi:10.1109/FOCS.2018.00069.
  • [30] Mohsen Ghaffari, Juho Hirvonen, Fabian Kuhn, Yannic Maus, Jukka Suomela, and Jara Uitto. Improved distributed degree splitting and edge coloring. Distributed Computing, 33(3-4):293–310, 2020. doi:10.1007/S00446-018-00346-8.
  • [31] Mohsen Ghaffari and Fabian Kuhn. On the use of randomness in local distributed graph algorithms. In Proc. 38th ACM Symp. on Principles of Distributed Computing (PODC), pages 290–299, 2019. doi:10.1145/3293611.3331610.
  • [32] Mohsen Ghaffari and Fabian Kuhn. Deterministic distributed vertex coloring: Simpler, faster, and without network decomposition. In Proc. 62nd IEEE Symp. on Foundations of Computing (FOCS), 2021.
  • [33] Mohsen Ghaffari, Fabian Kuhn, Yannic Maus, and Jara Uitto. Deterministic distributed edge-coloring with fewer colors. In Proc. 50th ACM Symp. on Theory of Computing (STOC), pages 418–430, 2018. doi:10.1145/3188745.3188906.
  • [34] Mohsen Ghaffari and Hsin-Hao Su. Distributed degree splitting, edge coloring, and orientations. In Proc. 28th ACM-SIAM Symp. on Discrete Algorithms (SODA), pages 2505–2523, 2017. doi:10.1137/1.9781611974782.166.
  • [35] Andrew V Goldberg and Serge A Plotkin. Parallel (δ+ 1)-coloring of constant-degree graphs. Information Processing Letters, 25(4):241–245, 1987.
  • [36] Christoph Grunau, Václav Rozhon, and Sebastian Brandt. The landscape of distributed complexities on trees and beyond. In Alessia Milani and Philipp Woelfel, editors, Proc. 41st ACM Symp. on Principles of Distributed Computing (PODC), pages 37–47, 2022. doi:10.1145/3519270.3538452.
  • [37] Manuel Jakob and Yannic Maus. Brief announcement: Towards optimal distributed delta coloring. In Alkida Balliu and Fabian Kuhn, editors, Proceedings of the ACM Symposium on Principles of Distributed Computing, PODC 2025, Hotel Las Brisas Huatulco, Huatulco, Mexico, June 16-20, 2025, pages 318–321. ACM, 2025. doi:10.1145/3732772.3733519.
  • [38] Manuel Jakob, Yannic Maus, and Florian Schager. Towards optimal distributed edge coloring with fewer colors, 2025. arXiv:2504.13003.
  • [39] Amos Korman, Jean-Sébastien Sereni, and Laurent Viennot. Toward more localized local algorithms: removing assumptions concerning global knowledge. Distributed Comput., 26(5-6):289–308, 2013. doi:10.1007/S00446-012-0174-8.
  • [40] Fabian Kuhn. Local weak coloring algorithms and implications on deterministic symmetry breaking. In Proc. 21st ACM Symp. on Parallelism in Algorithms and Architectures (SPAA), 2009.
  • [41] Fabian Kuhn, Thomas Moscibroda, and Roger Wattenhofer. Local computation: Lower and upper bounds. Journal of ACM, 63:17:1–17:44, 2016. doi:10.1145/2742012.
  • [42] Christoph Lenzen and Roger Wattenhofer. MIS on trees. In Proceedings of the 2011 Annual ACM Symposium on Principles of Distributed (PODC), pages 41–48, 2011. doi:10.1145/1993806.1993813.
  • [43] Nathan Linial. Locality in Distributed Graph Algorithms. SIAM Journal on Computing, 21(1):193–201, 1992. doi:10.1137/0221015.
  • [44] M. Naor and L. Stockmeyer. What can be computed locally? SIAM J. on Comp., 24(6):1259–1277, 1995. doi:10.1137/S0097539793254571.
  • [45] D. Peleg. Distributed Computing: A Locality-Sensitive Approach. SIAM, 2000.
  • [46] Václav Rozhoň and Mohsen Ghaffari. Polylogarithmic-time deterministic network decomposition and distributed derandomization. In Proc. 52nd ACM Symp. on Theory of Computing (STOC), pages 350–363, 2020.
  • [47] W. T. Tutte. The subgraph problem. Annals of Discrete Mathematics, 3:289–295, 1978.
  • [48] V. G. Vizing. On an estimate of the chro- matic class of a p-graph. Diskret. Analiz., 3:25–30, 1964.