Color Fault-Tolerant Distance Preservers:
Õptimal Size in Conditionally Õptimal Time
Abstract
We revisit the problem of fault-tolerant (FT) distance preservers, when failure events in the network admit a form of correlation modeled as color faults.
FT distance preservers are sparse subgraphs that preserve distances between specified pairs of vertices, even after some edge or vertex failures occur. In the classical fault model, any set of at most edges or vertices might fail (where is a given parameter). Despite extensive research, the classical model admits significant and tantalizing gaps, both in terms of sparsity bounds and of algorithmic efficiency.
In this work, we study the problem in the recently introduced color fault-tolerant (CFT) model: the given graph has arbitrary colors on its edges/vertices where each color appears at most times, and is susceptible to color faults, where the failure of color causes all the -colored elements to crash. Our main contribution is in the multi-source setting, where has a source-set , and the CFT preserver should preserve distances under any single color fault. We show the following results (where , ):
-
There exists a CFT distance preserver of with edges.111The notation suppresses poly-logarithmic factors in .
-
The above sparsity bound is worst-case optimal up to polylogarithmic terms.
-
There is a combinatorial randomized algorithm that produces a preserver whose size meets the above optimal sparsity bound, with running time of .
-
The above running time is conditionally optimal: a polynomial improvement would refute the combinatorial Boolean Matrix Multiplication (BMM) conjecture. Furthermore, the running time remains optimal even if we only require mild sparsification to edges.
Our (conditionally) tight algorithm relies on a new approach for compressing fault-tolerant distance information in the presence of nearby faults, using the tool of sparse neighborhood covers. We believe that this technique may have further applications in the study of fault-tolerant graph sparsification.
Keywords and phrases:
fault tolerance, network design, distance preserversCategory:
Track A: Algorithms, Complexity and GamesFunding:
Merav Parter: Supported by the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme, grant agreement No. 949083.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Sparsification and spannersEditors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Let be an undirected unweighted graph and be a set of vertex pairs. A subgraph of is called a -distance preserver if for every . Since their introduction by Coppersmith and Elkin [16], the graph-theoretic and algorithmic aspects of sparse distance preservers and their numerous applications have been extensively studied [4, 5, 6, 10, 40, 9, 20, 11, 18, 27, 25]. However, the above definition falls short when it comes to the crucial aspect of fault tolerance. In real-world networks, some nodes (vertices) or links (edges) might occasionally fail, and it is desirable for the distances in the surviving network to still be preserved in the surviving subgraph. This led researchers to introduce and study the natural notion of fault-tolerant (FT) distance preservers [7, 31, 29, 34, 35, 13, 19]. The following definition refers to failing vertices (the obvious modification to failing edges appears in parentheses): the subgraph is called -FT -distance preserver if for every and () of size .
As stated by [7], finding sparse FT preservers turns out to be a very challenging task. Indeed, despite extensive research on the graph-theoretical and algorithmic aspects of -FT distance preservers, tantalizing gaps and questions remain open to date, some resisting progress for over a decade. This work takes a different approach: we substitute the -FT model by the recently-introduced color faults model [39, 38, 37], inspired by older notions such as shared risk resource groups [17, 26], hedge connectivity [21] and label cuts [44]. Intuitively, the goal is accounting for a form of correlation or dependence between failures; these are neglected by the classical -FT setting allowing any set of up to vertices/edges to fail.
We assume that comes with arbitrary colors on its vertices or its edges, where each color appears at most times. (Neighboring vertices/edges can have the same color.) These represent the “simplest” form of dependence between individual failures: elements of the same color fail together. The failure events to be supported are (single) color faults, where a faulty color leaves us with the graph where all vertices/edges of color are failing (i.e., deleted from ). We get the following definition for color fault-tolerant (CFT) preservers:
Definition 1.
Given graph whose vertices (edges) are colored such that each color appears at most times, and pairs , subgraph of is a CFT -distance preserver if for every color and every , it holds that .
We note that the disjointness of color classes is not crucial for us: all of our results trivially extend if each vertex/edge is assigned with some constant number of colors, and we focus on just for sake of readability. However, the assumed bound on the size of color classes is unavoidable: if one allows arbitrarily large color classes, then our results (presented next) show that the CFT preservers in consideration cannot provide meaningful sparsification.
Main Results.
Our main focus is multi-source fault-tolerant distance preservers, where there is a set of sources and . This setting was first considered by Peleg and Parter [31], and has since attracted considerable attention [28, 32, 22, 24, 7, 30, 8]. The most fundamental problem is of a graph-theoretic nature: determining the (worst-case) size/sparsity of such preservers. Parter [28] showed a lower bound of on the number of edges these preservers require in the -FT model, for every . However, a matching upper bound is known only for [31, 28, 24]. When , the state-of-the-art upper bound is , given by [7, 8]. Resolving this gap for -FT is a major open problem in the field, which poses challenging barriers as demonstrated by [8]. However, in the color faults model, we are able to fully resolve the sparsity question, up to logarithmic factors:
Theorem 2.
For any -vertex colored graph with color classes of size at most , and any , there exists a CFT distance preserver with edges.
Theorem 3 (Informal statement of Theorem 16).
The bound in Theorem 2 is worst-case optimal, up to polylogarithmic factors.
Another important aspect of research is algorithmic, namely, how efficiently can one compute such sparse preservers. The current best for -FT multi-source preservers is the time algorithm of [7], producing a preserver with edges as mentioned before; for , [28, 24] give optimal size guarantees of edges, but with larger running time. In this work, we settle the time complexity of combinatorial algorithms in the color faults model. The term “combinatorial algorithms” is loosely defined, colloquially referring to algorithms that do not use fast matrix multiplication tricks. Combinatorial algorithms are of significant interest from both practical and theoretical perspectives, see [1] for a comprehensive discussion. A fundamental conjecture regarding these is on combinatorial Boolean Matrix Multiplication (BMM), asserting that no combinatorial algorithm can polynomially improve over the naïve one (see precise statement in Conjecture 17). We give a combinatorial algorithm for computing multi-source CFT distance preservers with optimal size bound, whose improvement would refute this conjecture:
Theorem 4.
There is a combinatorial randomized algorithm with the following properties. Given a colored graph with vertices and edges, where each color appears at most times in , and a source set , the algorithm runs in time and outputs w.h.p.222The term w.h.p. (with high probability) means with probability for an arbitrarily large constant . a CFT distance preserver with edges.
Theorem 5 (Informal statement of Theorem 18).
If there is a combinatorial algorithm for computing CFT multi-source distance preservers that runs polynomially faster than in Theorem 4 and guarantees mild (polynomial) sparsification, then the combinatorial BMM conjecture is false.
The design of our (conditionally) tight algorithm introduces a new way to compress fault-tolerant distance information in the face of nearby faults, through sparse neighborhood covers [3]. We believe this approach has the potential to extend to other problems in fault-tolerant graph sparsification. We mention that combinatorial lower bounds of a similar flavor have been shown for the closely-related problem of replacement paths [43, 42, 12, 23]. Specifically, Vassilevska Williams, Woldeghebriel and Xu [43] have shown a lower bound for combinatorial data structures for replacement paths under edge/vertex faults in directed graphs between a fixed pair of vertices. Our lower bound in Theorem 5 can also be interpreted as a similar data structure lower bound for undirected graphs in the single/multi-source setting (see Remark 20 for details).
Other CFT Preservers.
To complement our main results, in the full version [36] we further explore the landscape of other CFT preservers: single-pair or pairwise distance preservers, spanners and reachability or bounded flow preservers. These are interesting to view from the perspective of “utilizing” the correlation of failures encoded by the color structure. For example, for single-pair distance preservers in weighted graphs, no meaningful sparsification guarantee is possible already with edge/vertex faults [7]. However, in the CFT model with color classes of size up to , our results imply an upper bound of . On the other hand, for single-source reachability preservers, we prove that the sparsity in the CFT setting does not improve on -FT.
Concluding Remarks.
The size upper bound of Theorem 2 also holds when is directed (we prove this in the full version [36]). However, our algorithm in Theorem 4 does not directly work for directed graphs, and extending it is an interesting open problem. As the main “undirected ingredient” is the neighborhood cover, it is plausible that directed LDD (low diameter decomposition) could be useful for this purpose. Another challenge is derandomization: here, the main barrier is the use of oblivious hitting sets to hit yet-unknown replacement paths, a key randomized ingredient which is recurrent in this context [7, 12, 23, 14, 15]. Finally, while our work settles the complexity of combinatorial algorithms, the study of non-combinatorial algorithms relying on fast matrix multiplications is an intriguing future direction.
2 Preliminaries
We use the following notations for the vertex (resp., edge) colored graph . As usual, we denote and . The color of vertex (resp., edge) is denoted by . The set of all -colored vertices (resp., edges) is (resp., ). The notation is a shorthand for (resp., ). We assume that each color appears at most times in . For two vertices , denotes a shortest path in , and denotes a shortest path in where is some color. The last edge of , i.e. the edge touching , is denoted by . In a similar fashion, is the last edge of . We also need notations for balls: the -radius ball of a vertex set in the graph is .
3 Algorithm for Multi-Source CFT Distance Preservers
In this section, we give our main result, providing the algorithm stated in Theorem 4 (note that this algorithm also proves the size bound stated in Theorem 2). Throughout, we fix the given sources . We assume that as otherwise, the size bound of Theorem 4 is trivially and we can just output . Also, we assume that , as otherwise we can again output . We give the algorithm for the case where has colored vertices; this is a somewhat arbitrary choice, as the proof for colored edges is virtually the same.333We chose to show the proof with failing vertices rather than edges because in some fault-tolerant settings, vertex faults are considered harder to deal with than edge faults. However, the proofs in this paper are trivially translated from vertex colors to edge colors and vice versa. (The exceptional case is our results on single-pair distance preservers, but these appear only in the full version [36]). For convenience, one may assume that shortest paths in , and in for any color , are unique (although this is not necessary for us). This can be achieved by treating the edges of as having initially weight , then perturbing the weight of each edge by adding small random noise.
3.1 Framework and Overview
To build a valid CFT distance preserver , our algorithm must include in a shortest path from , for every triplet . But in fact, it has been commonly observed (e.g., [33, 28, 24, 7]) that including only the last edge of every such path suffices.
Observation 6 (Last edge observation).
Suppose includes the last edge of a shortest path in , for every . Then is a CFT distance preserver of .
Proof.
We show that if , then contains an path of length , by induction on . The base case is trivial. When , the last edge of a shortest path in is also in by assumption. As , by induction hypothesis, contains an path of length . Concatenating gives the desired path. Thus, the algorithm’s goal is to include in for every triplet .
We define decreasing distance thresholds by for . Additionally, we define two “trivial thresholds” by and . We use the following terminology: Two vertices are said to be -near if , and -far otherwise. The factor is due to technical reasons, which will become apparent shortly (in the proof of Lemma 9).
Next, for each nontrivial threshold , , we construct a corresponding hitting set of size , with the following property:
-
(P)
For every , , and color , if is a contiguous subpath of of length , then contains some vertex from .
This is achieved by taking to be a random vertex subset of size , ensuring Property (P) w.h.p. by standard hitting set arguments. We call the vertices in the -landmarks. Note that is increasing with . We also define the -landmarks as , and there are no -landmarks.
Levels.
The algorithm works in levels, numbered as . Each level only “cares about” including the last edges corresponding to triplets such that the distances between the target and the vertices of color are well-structured, as in the following definition.
Definition 7 (Level- triplet).
A triplet is in level , if there are vertices of color that are -far from , and all other vertices of color are -near to .
The strategy of dividing into levels indeed suffices for including the last edges for all triplets, as shown by the following observation:
Observation 8.
Every triplet is found in some level , .
Proof.
Let be the vertices of color , ordered such that . Recall that . Let . Then
so are -far from , and are -near to . So, is in level .
The main tool we use to exploit the nice distances structure of -level triplets is formalized in the following Lemma 9; while its proof is simple, it plays a crucial role in our algorithm. Intuitively, it allows us to convert a level- triplet into a corresponding highly-structured triplet where , such that . Thus, we think of as the sources for level , or -sources for short. Instead of treating level- triplets directly, we will treat all those highly-structured triplets and aim to include the last edges corresponding to them.
While this approach requires us to consider a larger number of sources ( instead of ), it comes with major benefits reflected in the structure. First, for a given -source , we will only care about targets lying inside the ball . Second, we will also only care about colors that appear at most times in this ball , so the “effective size” of the faulty set of vertices gets smaller. Furthermore, all these appearances of color are concentrated in a much smaller ball, of radius roughly , around the target.
Lemma 9.
Let in level , . Then, there is an -source such that:
-
(1)
lies on the -suffix of , and in particular .
-
(2)
If has color , then is -near to .
-
(3)
If have color , then .
-
(4)
The number of -colored vertices in is at most .
Proof.
If we take , and otherwise we can take some found on the -suffix of , which exists by property (P). Then (1) clearly holds. For (2), observe that , so is -near to . Since is in level , any -colored vertex that is not -far from must be -near to , hence is -near to . Item (3) follows immediately from (2) by triangle inequality. Finally, (4) follows from (2): indeed, because is in level , there are vertices of color that are -far from . As the -colored vertices in are -near to , they can be at most .
We are now ready to give an overview of the algorithm. First, we explain how the last level is easily dealt with, and afterwards we only focus on the other levels. As a first step, we give a simple algorithm that achieves near-optimal size for the output, but has suboptimal running time. Then, we explain the high-level ideas for improving the running time to near-optimal.
Handling the Last Level.
Item 4 in Lemma 9 makes the last level, i.e., , particularly easy to deal with: We simply compute the SSSP (single-source shortest path) trees rooted at each -source , and include all these trees in the output . This adds edges and takes time, which is easily verified to be within our budget. To see the correctness, consider some level- triplet . By Lemma 9, there is some on the -suffix of (item 1), and contains no -colored vertices (item 4). Hence, the -length suffix of is simply , which is the path in the tree rooted at .
Achieving Near-Optimal Size.
Let us fix some non-last level . As in the last level, we still compute SSSP trees from the -sources as a preprocessing step: For every -source , we execute SSSP from in , but trim it at distance ; The resulting rooted tree is the shortest path tree from inside the ball . We add all trees to the output . Again, this adds edges and takes time, which is within budget.
Now, fix an -source . By Lemma 9(1), we only care about adding for triplets where , i.e., . In this case, , which is the -path from the root to , is already in . So, if avoids the color , then is already taken care of. We therefore assume that has some ancestor of color in . But by Lemma 9(2) we have , meaning is in fact within the nearest ancestors to .
In other words, to treat the -source , it’s enough to add whenever the target sees the color among its nearest ancestors in . Thus, each target only causes the insertion of up to edges when processing a specific -source , hence edges overall (in level ). Summing over , the total number of added edges in level is at most , as required.
By the discussion above, we get the following simple algorithm for level : For each -source and color , run SSSP from in , but add to only the last edges of the shortest paths such that has the color among its nearest ancestors in . This simple algorithm is already enough to ensure the output is a CFT distance preserver of the required size. However, the running time is , which in level becomes . This is larger than our desired running time by a factor of .
Achieving Near-Optimal Time.
The main challenge lies in improving the running time to near-optimal. Roughly, the idea is to harness the same argument we used for bounding the size of the output , to also effectively bound the running time: if we could restrict each edge to participate in only SSSP computations from a specific -source , we would get total running time of which is precisely our budget. Intuitively, to achieve this, we would like the SSSP computation from in to only use edges incident on vertices such that the color appears on their nearest ancestors; these “allowed” edges are the only ones we might actually need to add into as a result of this computation. Clearly, this intuition doesn’t work as is: e.g., it could be that all edges incident on are not allowed to be used during the SSSP computation from , which is absurd.
To make it work, instead of executing the SSSP directly on , we construct a shortcutted graph that has the allowed original edges, plus extra weighted shortcut edges which represent safe paths avoiding the color .
We put two types of shortcuts in . The simpler ones represent paths in that are unaffected by the failure of color . Roughly speaking, these simple shortcuts let the SSSP computation “get inside” the subtrees of the -colored vertices. However, the allowed edges are found only in the shallow layers of these subtrees (the first layers), while shortest paths from avoiding may need to travel into deep layers, even if they end in the shallow ones.
The second, more complicated type of shortcuts is designed to represent such traversals in the deep layers. These use the fact that the -landmarks must appear on the path at least once every steps. The idea is to create a shell of additional layers beneath the original shallow layers, which we now call the kernel layers. We also allow the edges touching the shell to be used, which is within budget. Now, to go from between the kernel layers and the deep layers beneath the shell, one must walk through the shell for at least steps, and hit some -landmark there. Thus, we can add shortcuts to the -landmarks in the shell, which represent paths that entirely avoid the kernel (and hence the color ); these take care of representing the traversal into deep layers.
As it turns out, the shortcut edges are few enough so that they do not hinder the overall running time of the SSSP computations in the shortcutted graphs . However, the second-type shortcuts present a problem: how do we compute their weights in the first place? We need those weights just to construct . A priori, this requires computing distance in minus the kernel layers, which depend on the color , and is therefore too costly. We overcome this obstacle by using (a variant of) the well-known tool of sparse neighborhood covers. Essentially, each cluster in the neighborhood cover will be used to define the kernel layers and shell layers for many different colors , and thus we can compute the shortcuts for avoiding the kernels of the different clusters (instead of different colors), which can be done efficiently.
3.2 Algorithm Description for Level
From now on, we focus on the algorithm for level , which ensures that is included in for every level- triplet . In its analysis, we will show that it takes time while adding edges to , so summing over all levels yields the required running time and size bounds of the entire algorithm.
Step 1: Shortest-Path Trees from -Sources.
For each -source , we execute SSSP in from the root . Let be the resulting shortest-path tree, but trimmed at depth . We add all trees to the output . This adds edges and takes time, which is easily verified to be within our budget. Note that this step also yields the distance between any -source and any vertex . We will later use these distances as weights for shortcuts in the shortcutted graphs, as explained in the overview.
Step 2: Neighborhood Cover.
An -neighborhood cover is a collection of vertex-subsets called clusters, such that every vertex has its -radius ball contained in some cluster. The quality of a neighborhood cover is measured by two parameters that one wishes to minimize: The diameter of the clusters, and their overlap which is the maximum number of clusters having some vertex common to all of them. For our purposes, we need a variant of neighborhood cover, where each cluster consists of an inner kernel and shell, and the kernels themselves already cover all the -neighborhoods. Formally, we use the following result:
Lemma 10.
Let be an integer. There is an time algorithm that computes a collection of kernels with corresponding clusters and shells , such that:
-
(Covering) Each has a covering kernel with .
-
(Diameter) Each cluster has weak diameter444A vertex set is said to have weak diameter if for every . .
-
(Overlap) Each belongs to clusters.
Lemma 10 follows as a corollary from the classical near-linear time algorithm for neighborhood covers (without kernels) of [3]. We provide the proof in Appendix A.
For level , we apply Lemma 10 with , where this choice of radius stems from item 3 of Lemma 9. From now on, , and denote the kernels, clusters and shells resulting from this application.
As explained in the overview, the shortcutted graphs will have weighted shortcut edges based on the neighborhood cover. These shortcuts will correspond to distances from the following set:
Namely, for each -landmark and each such that belongs to the shell , we need to compute SSSP in , i.e., avoiding the kernel . By the overlap guarantee in Lemma 10, each -landmark appears in shells, and hence triggers only SSSP calls. Thus, the total time spent for computing these distances is , which is within budget.
Step 3: Finding Relevant Colors.
We also use the neighborhood cover to define the notion of relevant colors:
Definition 11 (Relevant Color for -Source).
Color is relevant for -source if there exists some -colored vertex whose covering kernel (i.e., the kernel with ) contains all -colored vertices in . In this case, we choose one such arbitrary , and denote the kernel, cluster and shell for the pair by , and , respectively.
The reasoning behind the name “relevant” stems from Lemma 9(3): it says that an -source should only care about colors such that the -colored vertices in are within distance from each other, and hence the covering kernel of any one of them would contain all of them. To check if some color is relevant for some -source only takes time, since each vertex in only belongs to kernels, and . Thus, computing all pairs of -sources and relevant colors takes time , which is within budget.
Step 4: Constructing Shortcutted Graphs.
Fix an -source and relevant color . We now give the construction of the corresponding shortcutted graph . We first introduce some notations and terminologies. To avoid clutter, in the following we may omit from the notations when they are clear from context.
-
The ball refers to , and the tree refers to the shortest paths tree from in , which was computed in Step 1.
-
A vertex is called affected if it is a descendant of some -colored vertex in the tree , and the set of affected vertices is denoted by .
-
The kernel, cluster, and shell refer to , , and from Definition 11, respectively. Recall that the cluster is the -radius ball around the kernel, i.e., , and the shell is the part of the cluster outside the kernel, i.e., .
-
The affected kernel, affected cluster and affected shell are the intersections of the kernel, cluster and shell with the affected set , denoted , and respectively.
-
The designated landmarks are all those -landmarks found in the affected shell. That is, .
-
The outer layer are all those vertices in that have some neighbor from the affected cluster, but are not affected themselves. That is, .
We define the shortcut graph for and as follows (see verbal description following the formal definition below).
The Shortcutted Graph
For and relevant color , the shortcutted graph is defined by
where the edges and their weights are defined by
The vertex set of is just the ball . We include in every original edge from that has some endpoint in the affected cluster (and the other endpoint can be anywhere in ). These original edges are given weight . Then, we add two types of shortcut edges to . One type is the landmark shortcuts: From each designated landmark , we add edges to every vertex outside the kernel , with weight . The other type is the root shortcuts: First, we add edges from the root to every vertex in the outer layer , with weight . Additionally, in the “non-degenerate” case where , i.e., there is some designated landmark, we add such root shortcuts from to every , i.e., is a non-affected vertex outside the kernel. (The reason behind this slight complication is rather technical. Essentially, if , then the latter kind of root shortcuts are not required for us, but including them might damage the running time.)
We defer the analysis of the time it takes to construct the shortcut graphs, as it is more convenient to analyze together with the time to execute the next Step 5.
Step 5: SSSPs in Shortcutted Graphs.
For every pair of -source and relevant color , we consider the corresponding shortcutted graph . We execute (weighted) SSSP from in . Then, for each target vertex in the affected kernel , we add the last edge of the shortest path computed by this SSSP into the output . Note that this edge must be original, since shortcuts do not touch the affected kernel.
This concludes the description of the algorithm for level . Next, we provide an analysis of the output size and running time (for steps 4 and 5). Afterward, we provide the correctness proof for the algorithm.
3.3 Size and Running Time Analysis
The analysis of the output size and the algorithm’s running time hinges on the following:
Lemma 12.
Let and color relevant for . Then, every vertex in the affected cluster must have a -colored vertex among its nearest ancestors in .
Proof.
Let . Then, because is affected, it has some -colored ancestor in . Since is a relevant color for , the corresponding cluster (in fact, even its kernel ) contains every -colored vertex in , and particularly . As clusters have weak diameter , the distance between and in , and hence also in the shortest-path tree , is .
First, we analyze the number of edges added to the output during level . Each subroutine for pair adds as many edges as the size of the affected kernel. So, by Lemma 12, the total number of added edges during level is , which is within our budget.
We now focus on the running time. To start, let us consider the time required to construct the shortcutted graphs. The primary task here is to identify the vertices in the affected kernel/cluster/shell. By Lemma 12, this can be done by scanning the subtrees rooted in the -colored vertices in , but only up to depth from the root of the subtree, and checking if the scanned vertices belong to the corresponding kernel/cluster/shell. Thus, fixing and letting vary, each edge in is scanned only times. Now summing over , we bound the running time for identifying all affected clusters by , which is within budget. Once the affected kernel/cluster/shell (and the designated landmarks inside the affected shell) are identified, the rest of the time to construct the shortcutted graph is linear in the number of edges (original or shortcuts) that has. The SSSP we execute in this is also near-linear in the number of edges; hence, it remains to account for the time required to run the SSSPs in the shortcutted graphs.
Observe that the number of edges in is dominated by its original edges and its landmark shortcuts. Indeed, a root shortcut of the form with can be charged to some original edge with . Also, a root shortcut of the form with can be charged to a landmark shortcut with . Now, recall that original edges and landmark shortcuts have at least one endpoint in the affected cluster. Thus, by Lemma 12, each original edge can appear in at most shortcutted graphs. Similarly, each pair in can appear as a landmark shortcut (with varying weight) in shortcutted graphs. So, summing over all pairs , the total time for level (other than the preprocessing, which we already accounted for) is
Note that , so the total running time of level is as needed.
3.4 Correctness
We now prove the correctness of the algorithm in level , meaning that it includes in the output all of the required last edges in this level. Let be a level- triplet; our goal is to show that . To this end, let be the -source from Lemma 9 for the triplet . By Lemma 9(1), we have , and we will show that the latter has been added to during level .
We first handle a trivial case, when doesn’t have the color ; then is just the last edge of . Note that has length at most by Lemma 9(1), and hence it is found in the shortest-path tree of the ball , which we’ve added to . Thus, we may assume has some -colored ancestor in the tree . By Lemma 9(3) we have , hence the covering kernel of contains all of . Therefore, color is relevant for the -source . We thus focus on the subroutine executed for the pair (and again, omit them from notations to avoid clutter).
Consider , , and , which are, respectively, the kernel, cluster, and shell we have chosen for and . By their definition, there is some -colored vertex such that . Now, by Lemma 9(2), we have , implying that . Recall that also has the -colored vertex as an ancestor, meaning is an affected vertex in , i.e., . Thus, is in the affected kernel , meaning that the subroutine for included in the last edge of the shortest path in , and our goal is to show that this is in fact . To this end, we first observe the following:
Observation 13.
The following hold:
-
(1)
is the shortest path in (and not only in ).
-
(2)
Every path in corresponds to some path in .
Proof.
-
(1)
By Lemma 9(1), , so cannot leave the -ball around .
-
(2)
This follows as shortcuts in correspond to paths in . Indeed, root shortcuts correspond to paths in to unaffected vertices, which avoid the color entirely. As for landmark shortcuts, they represent paths in , and the kernel contains by its definition.
Thus, the heart of the argument lies in the following lemma, completing the correctness proof:
Lemma 14.
There is a path in that corresponds to .
Proof.
First, observe that once enters the affected set , it stays in . This is because if is some unaffected vertex, then the shortest in is simply the tree path in , which only consists of unaffected vertices. We use this observation (implicitly) throughout.
Partition into subpaths (last vertex of is first vertex of ), where the even subpaths are exactly the maximal subpaths within the affected core . (This is well defined as and .) All original edges inside the affected cluster exist in , so the even subpaths are taken care of, and we just need to argue about the odd ones.
Consider any odd subpath except the prefix . If does not leave the affected cluster , then exists in as is. Otherwise, must take its first edge from some into some in the affected shell , and walk through for at least steps to leave the cluster (since the shell is the -width ring around the kernel). So by the hitting set property (P), this traversal through the shell must hit some -landmark . From , continues outside the kernel up until its last edge connecting some to the final vertex . Note that the edges and are within the affected cluster , and hence included in . Also, has the landmark shortcuts and with weights and , which is precisely the distances that travels between , and between . Thus, the path in corresponds to .
It remains to consider the prefix . Let us first handle the case where does not go through , i.e., it only visits unaffected vertices or travels inside the affected cluster. Let be the last unaffected vertex on . The next vertex after must be in , meaning . Thus, has the root shortcut with weight , which is exactly the distance travels between . After reaching , the path only uses edges touching , which exist in . So, has a corresponding path in as needed.
Finally, suppose goes through . Then, after visiting its last vertex from , it must travel for at least steps inside the shell , until it takes its final edge from some to its final vertex . So, by property (P), this traversal on the shell must hit some designated landmark (and in particular ). Then, has the landmark shortcut of weight , which is precisely the distance that travels between . Also, the edge is within , and thus exists in . It remains to show that the subpath of between has a corresponding path in . To this end, consider the last unaffected vertex that visits.
-
If , then has the root shortcut of weight , which is the distance travels between . Also, has the landmark shortcut with weight , which is the distance travels between .
-
If , then consider the next vertex after in . Then is affected, so it cannot be in the kernel (as only reaches the affected kernel in its last vertex ). Thus, has the landmark shortcut of weight , which is the distance of between . We thus remain with the subpath between . As is an affected neighbor of the kernel, it must be in the affected cluster , and hence . Thus, the original edge is in , and contains a root shortcut of weight : together, they correspond to .
So, in both cases has a corresponding path to , and we are done.
This concludes the proof of Theorem 4.
4 Lower Bounds for Multi-Source CFT Distance Preservers
4.1 Tree Construction
Both of the lower bounds for CFT multi-source distance preservers (size and running time) hinge on a colored tree construction, which adapts the one given by Parter [28] for the -FT setting to hold also in the more relaxed CFT setting with color classes of size at most .
Lemma 15.
Let and be integers. There exists a rooted, partially colored555“Partially colored” means that vertices/edges with no color are allowed. Alternatively, uncolored vertices/edges can be thought of as having a unique color that does not appear anywhere else. tree with the following properties:
-
(a)
For every leaf of , there exists a color such that is the unique leaf of minimal depth among those leaves that remain connected to the root in .
-
(b)
Each color appears on at most edges in .
-
(c)
has leaves.
-
(d)
Each leaf in has depth at least and at most .
-
(e)
The number of edges in is .
-
(f)
The tree and the colors corresponding to each leaf can be computed in linear time (w.r.t. the size of ).
Proof.
We show the proof with edge colors: the vertex-colored version of the tree is obtained by assigning each vertex the color of the edge connecting it to its parent. By induction on . For the base case, is a single vertex with no edges. We artificially define the color palette of as , with the color unused. The required properties clearly hold. For the induction step, we construct for as follows.
-
Create disjoint copies of , with disjoint color palettes (so that no color appears in two different copies). The leaves of will be those of . For a leaf of , we define as the same color guaranteed to exist by Property (a) of .
-
Create disjoint uncolored paths , where (so is a single vertex). “Hang” each at the end of , i.e., the last vertex of is the root of .
-
Let be the first vertices of respectively. Connect each consecutive pair by a path with , and color as follows: for each leaf of , assign its corresponding color to some unique edge in . (By Property (c), has leaves, so has exactly enough edges to accommodate the colors.)
-
Define the root of as .
See Figure 1 for an illustration.
To prove the stated properties, we first focus on the paths going from the root of to the roots of , denoted by respectively. By Property (d) of , it holds that
| (1) |
We calculate ; observe that so
| (2) |
We are now ready to show the required properties. The most interesting is Property (a); the rest follow by straightforward induction.
-
(a)
Consider a leaf , originating from . The only path of on which the color appears is (or, if , none of them contain ). Hence, the path survives in iff . Therefore, a leaf of that remains connected to in is either (i) found in and remains connected to its root in , or (ii) found in some with .
By Property (a) of , has minimal depth in among the type-(i) leaves, hence this also holds in . Next, let be a type-(ii) leaf. In this case,
by Equation 1 by Equation 2, def. of as . -
(b)
Each color in appears at most times in some (by induction), at most once in , and nowhere else, so overall at most times.
-
(c)
By induction, each has leaves, hence has leaves.
-
(d)
The shortest (longest) of the ’s is () by Equation 2. So by Equation 1 for leaf ,
-
(e)
Each edge of either is in some , or . Hence, the total number of edges is
-
(f)
Immediate by the construction procedure of from .
4.2 Size Lower Bound
We now prove the tight lower bound on the worst-case size of CFT multi-source distance preservers.
Theorem 16.
For any integers , there exists an -vertex colored graph , where each color appears at most times, and sources with , such that any CFT distance preserver of has at least edges.
Proof.
We construct the lower bound instance as follows:
-
Define as the different roots of (respectively).
-
Denote by the set of leaves of .
-
Create a set of new vertices, and add all edges (with no color) to .
The total number of vertices is
where the first equality is by Lemma 15(e), and the second by choice of . The number of edges in is
where the first equality is by Lemma 15(c), and the second by choice of . So, it suffices to show that a CFT distance preserver of must contain every edge .
Consider the copy of in which is a leaf. By Lemma 15(a), there is a color such that is the unique leaf of minimal depth in that remains connected to in . By construction of , any path in must start with an -to-leaf path in , and take at least one more edge to arrive at . It follows that there is a unique shortest path in , which goes along the path in , then takes the edge . As is a subgraph of and , it must contain this path, and particularly the edge .
4.3 Conditional Lower Bound for Combinatorial Algorithms
Finally, we give the lower bound for combinatorial algorithms computing CFT multi-source distance preservers, conditioned on the following:
Conjecture 17 (see e.g. [41, 42, 2, 12]).
Any combinatorial algorithm that gets as input two Boolean matrices with a total of ’s and outputs their (OR,AND)-product , requires running time.
Theorem 18.
Fix and such that . For any integer , denote and . (So, is polynomially larger than .) Suppose there is a combinatorial algorithm with the following guarantee: There is a constant such that given a colored graph with color classes of size at most that has vertices, edges and sources, the algorithm outputs a CFT multi-source distance preserver with edges within time (i.e., polynomially faster than ). Then Conjecture 17 is false.
Proof.
Consider a BMM instance, i.e., two Boolean matrices with a total of at most ’s. We represent this instance as a graph whose vertices are partitioned to three sets of size , where there is an edge between and iff , and similarly, there is an edge between and iff . Thus, for and , there is a -path between iff the Boolean product of has a in entry . So, to solve the BMM instance, we need to determine which pairs in have -paths.
Recall that . We partition into blocks of size . The algorithm works in a block-by-block manner; from now on, we focus on finding the pairs with 2-paths in for some block . We further partition into sub-blocks of size . For each sub-block , we create a copy of the tree of Lemma 15, with mutually disjoint color palettes for the different copies. Each tree has leaves; we connect it to by identifying them with the sub-block . Let be the resulting graph after connecting these trees to the block . We’ve only added vertices (and edges) to get from . Note that is a partially-colored graph with color classes having size at most : colors appear only on the trees, and the part remains uncolored, i.e., non-faulty. Let be the roots of . We construct a CFT distance preserver using the assumed sparsification algorithm.
Next, we iterate over every , with our goal to find every such that have a -path. Let be the sub-block containing , and let be the color corresponding to as a leaf of : namely, is the unique leaf of minimum distance from the root in . We run BFS from in , which gives us all distances from to every other vertex in , and thus also in (as is a preserver of ). Finally, for each , we check if the following holds:
| (3) |
This achieves our goal, by the following claim:
Claim 19.
There is a -path between in iff Equation 3 holds.
Proof (of claim)..
If there is a -path between in , then it survives in (since the colors in only appear on added trees), so Equation 3 holds by triangle inequality.
Conversely, suppose Equation 3 holds.
By our construction of , the shortest path between and in starts by walking from the root on the tree to some leaf .
So,
as has min. depth in leaves of ,
(4)
as there are no edges between and ,
(5)
since is a subgraph of ,
as Equation 3 holds.
Hence, all the above inequalities in fact hold with equality. By the equality in Equation 4 we have . But is the unique leaf of minimum depth in , so we conclude that . Now, by the equality in Equation 5 we have , meaning there is a -path between (which is ) and , as we needed to show.
We now analyze the algorithm’s running time. Denote the size and running time guarantees of the assumed sparsification algorithm by
Consider the time spent on block :
-
Constructing from amounts to constructing the trees . Each such tree is constructed in linear time in its size, and the total size of the trees is .
-
Applying the sparsification to get the preserver takes up to time.
-
Then, for each , we run one BFS procedure in (a subgraph of) and check inequalities involving the output distances, which takes time.
Thus, the total running time of our BMM algorithm is
Since the sparsification algorithm for constructing preservers is combinatorial, our resulting BMM algorithm is also combinatorial, and its running time (which is faster than ) contradicts Conjecture 17.
Remark 20.
Observe that a CFT distance preserver of immediately provides a data structure that, given a query of a source and a failing color , reports the single-source distances in , i.e. , in time. Indeed, the query is answered by computing BFS rooted at in . So, the size guarantee of the algorithm that computes translates to the query time of the data structure, and its running time becomes the preprocessing time.
In the proof of Theorem 18, we actually used this implied data structure and not the preserver directly. Thus, the lower bound obtained there also hold for the data structure problem. Furthermore, as a -FT distance preserver is also a CFT preserver when color classes have size bounded by , the lower bound also holds for the -FT version of the data structure, that given a query with and a set of at most failing vertices/edges, reports the single-source distances from in .
References
- [1] Amir Abboud, Nick Fischer, Zander Kelley, Shachar Lovett, and Raghu Meka. New graph decompositions and combinatorial boolean matrix multiplication algorithms. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing, STOC 2024, Vancouver, BC, Canada, June 24-28, 2024, pages 935–943. ACM, 2024. doi:10.1145/3618260.3649696.
- [2] Amir Abboud and Virginia Vassilevska Williams. Popular conjectures imply strong lower bounds for dynamic problems. In 55th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2014, Philadelphia, PA, USA, October 18-21, 2014, pages 434–443. IEEE Computer Society, 2014. doi:10.1109/FOCS.2014.53.
- [3] Baruch Awerbuch, Bonnie Berger, Lenore Cowen, and David Peleg. Near-linear time construction of sparse neighborhood covers. SIAM Journal on Computing, 28(1):263–277, 1998. doi:10.1137/S0097539794271898.
- [4] Greg Bodwin. On the structure of unique shortest paths in graphs. In Timothy M. Chan, editor, Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2019, San Diego, California, USA, January 6-9, 2019, pages 2071–2089. SIAM, 2019. doi:10.1137/1.9781611975482.125.
- [5] Greg Bodwin. New results on linear size distance preservers. SIAM J. Comput., 50(2):662–673, 2021. doi:10.1137/19M123662X.
- [6] Greg Bodwin. A note on distance-preserving graph sparsification. Inf. Process. Lett., 174:106205, 2022. doi:10.1016/J.IPL.2021.106205.
- [7] Greg Bodwin, Fabrizio Grandoni, Merav Parter, and Virginia Vassilevska Williams. Preserving distances in very faulty graphs. In 44th International Colloquium on Automata, Languages, and Programming, ICALP 2017, July 10-14, 2017, Warsaw, Poland, volume 80 of LIPIcs, pages 73:1–73:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.ICALP.2017.73.
- [8] Greg Bodwin and Merav Parter. Restorable shortest path tiebreaking for edge-faulty graphs. J. ACM, 70(5):28:1–28:24, 2023. doi:10.1145/3603542.
- [9] Greg Bodwin and Virginia Vassilevska Williams. Very sparse additive spanners and emulators. In Proceedings of the 2015 Conference on Innovations in Theoretical Computer Science, ITCS 2015, Rehovot, Israel, January 11-13, 2015, pages 377–382. ACM, 2015. doi:10.1145/2688073.2688103.
- [10] Greg Bodwin and Virginia Vassilevska Williams. Better distance preservers and additive spanners. ACM Trans. Algorithms, 17(4):36:1–36:24, 2021. doi:10.1145/3490147.
- [11] Hsien-Chih Chang, Pawel Gawrychowski, Shay Mozes, and Oren Weimann. Near-optimal distance emulator for planar graphs. In 26th Annual European Symposium on Algorithms, ESA 2018, Helsinki, Finland, August 20-22, 2018, volume 112 of LIPIcs, pages 16:1–16:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2018. doi:10.4230/LIPIcs.ESA.2018.16.
- [12] Shiri Chechik and Sarel Cohen. Near optimal algorithms for the single source replacement paths problem. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2019, San Diego, California, USA, January 6-9, 2019, pages 2090–2109. SIAM, 2019. doi:10.1137/1.9781611975482.126.
- [13] Shiri Chechik, Michael Langberg, David Peleg, and Liam Roditty. Fault-tolerant spanners for general graphs. In Proceedings of the 41st Annual ACM Symposium on Theory of Computing, STOC, pages 435–444. ACM, 2009. doi:10.1145/1536414.1536475.
- [14] Shiri Chechik and Ofer Magen. Near optimal algorithm for the directed single source replacement paths problem. In 47th International Colloquium on Automata, Languages, and Programming, ICALP 2020, Saarbrücken, Germany (Virtual Conference), July 8-11, 2020, volume 168 of LIPIcs, pages 81:1–81:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPIcs.ICALP.2020.81.
- [15] Shiri Chechik and Tianyi Zhang. Faster algorithms for dual-failure replacement paths. In 51st International Colloquium on Automata, Languages, and Programming, ICALP 2024, Tallinn, Estonia, July 8-12, 2024, volume 297 of LIPIcs, pages 41:1–41:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.ICALP.2024.41.
- [16] Don Coppersmith and Michael Elkin. Sparse sourcewise and pairwise distance preservers. SIAM J. Discret. Math., 20(2):463–501, 2006. doi:10.1137/050630696.
- [17] David Coudert, Pallab Datta, Stephane Perennes, Hervé Rivano, and Marie-Emilie Voge. Shared risk resource group complexity and approximability issues. Parallel Process. Lett., 17(2):169–184, 2007. doi:10.1142/S0129626407002958.
- [18] Marek Cygan, Fabrizio Grandoni, and Telikepalli Kavitha. On pairwise spanners. In 30th International Symposium on Theoretical Aspects of Computer Science, STACS 2013, Kiel, Germany, February 27 - March 2, 2013, volume 20 of LIPIcs, pages 209–220. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2013. doi:10.4230/LIPIcs.STACS.2013.209.
- [19] Michael Dinitz and Robert Krauthgamer. Fault-tolerant spanners: better and simpler. In Proceedings of the 30th Annual ACM Symposium on Principles of Distributed Computing, PODC, pages 169–178, 2011. doi:10.1145/1993806.1993830.
- [20] Michael Elkin and Seth Pettie. A linear-size logarithmic stretch path-reporting distance oracle for general graphs. ACM Trans. Algorithms, 12(4):50:1–50:31, 2016. doi:10.1145/2888397.
- [21] Mohsen Ghaffari, David R. Karger, and Debmalya Panigrahi. Random contractions and sampling for hypergraph and hedge connectivity. In Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, pages 1101–1114. SIAM, 2017. doi:10.1137/1.9781611974782.71.
- [22] Mohsen Ghaffari and Merav Parter. Near-optimal distributed algorithms for fault-tolerant tree structures. In Proceedings of the 28th ACM Symposium on Parallelism in Algorithms and Architectures, SPAA 2016, Asilomar State Beach/Pacific Grove, CA, USA, July 11-13, 2016, pages 387–396. ACM, 2016. doi:10.1145/2935764.2935795.
- [23] Manoj Gupta, Rahul Jain, and Nitiksha Modi. Multiple source replacement path problem. In PODC ’20: ACM Symposium on Principles of Distributed Computing, Virtual Event, Italy, August 3-7, 2020, pages 339–348. ACM, 2020. doi:10.1145/3382734.3405714.
- [24] Manoj Gupta and Shahbaz Khan. Multiple source dual fault tolerant BFS trees. In 44th International Colloquium on Automata, Languages, and Programming, ICALP 2017, July 10-14, 2017, Warsaw, Poland, volume 80 of LIPIcs, pages 127:1–127:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.ICALP.2017.127.
- [25] Gary Hoppenworth, Yinzhan Xu, and Zixuan Xu. New separations and reductions for directed hopsets and preservers. In Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2025, New Orleans, LA, USA, January 12-15, 2025, pages 4405–4443. SIAM, 2025. doi:10.1137/1.9781611978322.150.
- [26] F. Kuipers. An overview of algorithms for network survivability. ISRN Communications and Networking, 2012, December 2012. doi:10.5402/2012/932456.
- [27] Ofer Neiman and Idan Shabat. On the size overhead of pairwise spanners. In 15th Innovations in Theoretical Computer Science Conference, ITCS 2024, Berkeley, CA, USA, January 30 - February 2, 2024, volume 287 of LIPIcs, pages 83:1–83:22. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.ITCS.2024.83.
- [28] Merav Parter. Dual failure resilient BFS structure. In Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing, PODC 2015, Donostia-San Sebastián, Spain, July 21 - 23, 2015, pages 481–490. ACM, 2015. doi:10.1145/2767386.2767408.
- [29] Merav Parter. Vertex fault tolerant additive spanners. Distributed Comput., 30(5):357–372, 2017. doi:10.1007/S00446-015-0252-9.
- [30] Merav Parter. Distributed constructions of dual-failure fault-tolerant distance preservers. In 34th International Symposium on Distributed Computing, DISC 2020, October 12-16, 2020, Virtual Conference, volume 179 of LIPIcs, pages 21:1–21:17. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPIcs.DISC.2020.21.
- [31] Merav Parter and David Peleg. Sparse fault-tolerant BFS trees. In Algorithms - ESA 2013 - 21st Annual European Symposium, Sophia Antipolis, France, September 2-4, 2013. Proceedings, volume 8125 of Lecture Notes in Computer Science, pages 779–790. Springer, 2013. doi:10.1007/978-3-642-40450-4_66.
- [32] Merav Parter and David Peleg. Fault tolerant BFS structures: A reinforcement-backup tradeoff. In Proceedings of the 27th ACM on Symposium on Parallelism in Algorithms and Architectures, SPAA 2015, Portland, OR, USA, June 13-15, 2015, pages 264–273. ACM, 2015. doi:10.1145/2755573.2755590.
- [33] Merav Parter and David Peleg. Sparse fault-tolerant BFS structures. ACM Trans. Algorithms, 13(1):11:1–11:24, 2016. doi:10.1145/2976741.
- [34] Merav Parter and David Peleg. Fault-tolerant approximate BFS structures. ACM Trans. Algorithms, 14(1):10:1–10:15, 2018. doi:10.1145/3022730.
- [35] Merav Parter and David Peleg. Fault tolerant approximate BFS structures with additive stretch. Algorithmica, 82(12):3458–3491, 2020. doi:10.1007/S00453-020-00734-2.
- [36] Merav Parter and Asaf Petruschka. Color fault-tolerant distance preservers: Õptimal size in conditionally Õptimal time, 2026. arXiv:2504.17868.
- [37] Merav Parter, Asaf Petruschka, Shay Sapir, and Elad Tzalik. Parks and recreation: Color fault-tolerant spanners made local. In Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2025, New Orleans, LA, USA, January 12-15, 2025, pages 4061–4094. SIAM, 2025. doi:10.1137/1.9781611978322.139.
- [38] Asaf Petruschka, Shay Sapir, and Elad Tzalik. Connectivity labeling in faulty colored graphs. In 38th International Symposium on Distributed Computing, DISC 2024, Madrid, Spain, October 28 - November 1, 2024, volume 319 of LIPIcs, pages 36:1–36:22. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.DISC.2024.36.
- [39] Asaf Petruschka, Shay Sapir, and Elad Tzalik. Color fault-tolerant spanners. ACM Trans. Algorithms, 22(1):6:1–6:21, 2026. doi:10.1145/3750728.
- [40] Seth Pettie. Low distortion spanners. ACM Trans. Algorithms, 6(1):7:1–7:22, 2009. doi:10.1145/1644015.1644022.
- [41] Liam Roditty and Uri Zwick. On dynamic shortest paths problems. Algorithmica, 61(2):389–401, 2011. doi:10.1007/S00453-010-9401-5.
- [42] Virginia Vassilevska Williams and R. Ryan Williams. Subcubic equivalences between path, matrix, and triangle problems. J. ACM, 65(5):27:1–27:38, 2018. doi:10.1145/3186893.
- [43] Virginia Vassilevska Williams, Eyob Woldeghebriel, and Yinzhan Xu. Algorithms and lower bounds for replacement paths under multiple edge failure. In 63rd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2022, Denver, CO, USA, October 31 - November 3, 2022, pages 907–918. IEEE, 2022. doi:10.1109/FOCS54457.2022.00090.
- [44] Peng Zhang, Jin-Yi Cai, Lin-Qing Tang, and Wen-Bo Zhao. Approximation and hardness results for label cut and related problems. Journal of Combinatorial Optimization, 21:192–208, 2011. doi:10.1007/s10878-009-9222-0.
Appendix A Neighborhood Cover
Here, we give the proof of Lemma 10 from the classical time algorithm for neighborhood covers by Awerbuch, Berger, Cowen and Peleg [3]. First, by using their algorithm to construct a “standard” -neighborhood cover, we can compute a collection of clusters for , , and a mapping , such that:
-
(Covering) For each , .
-
(Diameter) Each has (strong) diameter .
-
(Overlap) and, for every , the sets are mutually disjoint.
We construct our “shelled” neighborhood cover for balls of radius as follows: For each we create the kernel and cluster (and the shell ). Let us now prove the required properties:
-
(Covering) For , if , then by definition of .
-
(Diameter) If , then by definition of there are such that . By triangle inequality, . But which has diameter , so we obtain . Thus, has weak diameter .
-
(Overlap) We assert that for each , the clusters are mutually disjoint, so in particular each vertex can belong to at most clusters. Seeking contradiction, suppose for . Then there exist and such that , which is impossible as and are disjoint.
As for the running time: Computing and is done by multi-origin BFS666By multi-origin BFS we mean adding a dummy source vertex, connecting it by dummy edges to the set of origins, and running BFS from the dummy source. from trimmed at depth , so the running time is linear in the number of edges touching . For a fixed , the clusters are disjoint, so the time to compute them is . Hence, the overall running time is . This concludes the proof of Lemma 10.
