A Topological Perspective on Distributed Network Algorithms
Armando Casta\~neda, Pierre Fraigniaud, Ami Paz, Sergio Rajsbaum,, Matthieu Roy, and Corentin Travers

TL;DR
This paper applies combinatorial topology to analyze distributed algorithms in failure-free networks, deriving lower bounds for consensus and agreement problems across various network models.
Contribution
It extends the use of combinatorial topology from fault-tolerant systems to failure-free networks of arbitrary structure, providing new lower bounds.
Findings
Derived lower bounds for consensus and agreement problems.
Applied topological methods to arbitrary network structures.
Extended topological analysis to classical distributed models.
Abstract
More than two decades ago, combinatorial topology was shown to be useful for analyzing distributed fault-tolerant algorithms in shared memory systems and in message passing systems. In this work, we show that combinatorial topology can also be useful for analyzing distributed algorithms in failure-free networks of arbitrary structure. To illustrate this, we analyze consensus, set-agreement, and approximate agreement in networks, and derive lower bounds for these problems under classical computational settings, such as the LOCAL model and dynamic networks.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A Topological Perspective on Distributed Network Algorithms††thanks: Some of the results in this paper were presented in an invited talk in SIROCCO 2019 conference [12].
Armando Castañeda
UNAM, Mexico Supported by UNAM-PAPIIT IN108720.
Pierre Fraigniaud
CNRS and Univ. de Paris Supported by ANR projects DESCARTES and FREDA. Additional support from INRIA project GANG.
Ami Paz
CS Faculty, Univ. of Vienna Supported by the Austrian Science Fund (FWF): P 33775-N, Fast Algorithms for a Reactive Network Layer.
Sergio Rajsbaum
UNAM, Mexico Supported by project UNAM-PAPIIT IN109917.
Matthieu Roy
CNRS, France
Corentin Travers
Univ. of Bordeaux and CNRS Supported by ANR projects DESCARTES and FREDA.
Abstract
More than two decades ago, combinatorial topology was shown to be useful for analyzing distributed fault-tolerant algorithms in shared memory systems and in message passing systems. In this work, we show that combinatorial topology can also be useful for analyzing distributed algorithms in failure-free networks of arbitrary structure. To illustrate this, we analyze consensus, set-agreement, and approximate agreement in networks, and derive lower bounds for these problems under classical computational settings, such as the local model and dynamic networks.
Keywords: Distributed computing; Distributed graph algorithms; Combinatorial topology
1 Introduction
1.1 Context and Objective
A breakthrough in distributed computing was obtained in the 1990’s, when combinatorial topology, a branch of Mathematics extending graph theory to higher dimensional objects, was shown to provide a framework in which a large variety of distributed computing models can be studied [10, 35, 47]. Combinatorial topology provides a powerful arsenal of tools, which considerably expanded our understanding of the solvability and complexity of many distributed problems [4, 13, 14, 36]. We refer to the book by Herlihy et al. [31] for an extended and detailed description of combinatorial topology applied to distributed computing, in a wide variety of settings.
In a nutshell, combinatorial topology allows us to represent all possible executions of a distributed algorithm, along with the relations between them, as a single mathematical object, whose properties reflect the solvability of a problem. Combinatorial topology was primarily used to study failure-tolerant distributed computing in the context of shared memory and message passing systems, but not in the context of failure-free systems in which the presence of a network connecting the processing elements needs to be taken into account. However, a large portion of the study of distributed computing requires to take into account the structure of the network connecting the processors, e.g, when studying locality [44]. This paper is a first attempt to approach distributed network computing through the lens of combinatorial topology.
The base of the topological approach for distributed computing consists of modeling all possible input configurations (resp., output configurations) as a single object called input complex (resp., output complex), and specifying a task as a relation between the input and output complexes. Moreover, computation in a given model results in a topological deformation that modifies the input complex into another complex called the protocol complex. The fundamental result of combinatorial topology applied to distributed computing [31] is that a task is solvable in a computational model if and only if there exists a simplicial map, called a decision map, from the protocol complex to the output complex, that agrees with the specification of the task. In other words, for every input configuration, (1) the execution of the algorithm leads the system into one or many configurations, forming a subcomplex of the protocol complex, and (2) the decision map should map every configuration in this subcomplex (i.e., each of its simplexes) into a configuration of the output complex, that is legal for the given input configuration, with respect to the specification of the task.
Understanding the power and limitation of a distributed computing model with respect to solving a given task requires to understand under which condition the decision map exists. This requires to understand the nature of topological deformations of the input complex resulting from the execution of an algorithm, and the outcome of this deformation, i.e., the protocol complex. That is, one needs to establish the connections between the distributed computing model at hand, and the topological deformations incurred by the input complex in the course of a computation under this model.
The connections between the computational models and the topological deformations are now well understood for several distributed computing models. For instance, in shared-memory wait-free systems, the protocol complex results from the input complex by a series of specific subdivisions of its simplexes. The impossibility result for consensus in shared-memory wait-free systems is a direct consequence of this fact, as the input complex of consensus is connected, subdivisions maintain connectivity, but the output complex of consensus is not connected — this prevents the existence of a decision map, independently of how long the computation proceeds. Similarly, in shared-memory -resilient systems, the protocol complex results from the input complex not only by a series of specific subdivisions, but also by the appearance of some holes in the course of the computation. These holes enable the existence of a decision map in the case of -set-agreement, but are not sufficient to enable the existence of a decision map for consensus, as long as . And indeed, the FLP result [24] implies that consensus is not solvable in asynchronous systems even in the presence of at most one failure.
This paper addresses the following issues: What is the nature of the topological deformations incurred by the input complex in the context of network computing, i.e., when nodes are bounded to interact only with nearby nodes according to some graph metric? And, what is the impact of these deformations on the ability to solve tasks efficiently (e.g., locally) in networks? As a first step towards answering these questions in general, we tackle them in the framework of synchronous failure-free computing, which is actually the framework in which most studies of distributed network computing are conducted [44].
1.2 Our Results
The main contribution of this paper is in studying the topological model of distributed computing in networks. In particular, we show that the protocol complex involves deformations that were not observed before in the context of distributed computing, deformations which we call scissor cuts. These cuts depend on the structure of the underlying network governing the way the information flows between nodes. We show that understanding the scissor cuts is useful for deriving lower bounds on agreement tasks. For this purpose, we model the way information flows between nodes in the network by the so-called information-flow graph, and establish tight connections between structural properties of this graph, and the ability to solve agreement tasks in the network. For instance, we show that if the domination number of the information-flow graph is at least , then the protocol complex is at least -connected, and if the protocol complex is at least -connected, then -set agreement is not solvable.
Our results apply to a rather general model: we assume a dynamic graph, i.e., a sequence of graphs on the same set of nodes, where the graph represents the communication links that can be utilized in round . To analyze the state of the system after rounds, we study the question of which nodes may have heard from which other nodes: a message from a node could have arrived to a node if there is a temporal path from to , i.e., a sequence of nodes with such that , , and for every . The information flow graph represents these relations, for a given , by having a node for each node of the system, and an edge between two nodes that have a temporal path between them.
In this model, we take rather strong assumptions on the knowledge of the processes. In the know-all model that we use, processing nodes are assumed to have structure awareness, that is, every process is given the (possibly evolving) structure of the network, the position it occupies in this network, and the positions occupied by all the other processes in the network. It follows that our results imply lower bounds for solving agreement problems in weaker models, such as the classical local model, as well as dynamic networks.
For instance, a consequence of our results is that, in the local model, solving -set agreement in a network requires at least rounds, where is the smallest integer such that the -th power of the network has domination number at most (two nodes are adjacent in the -th power of a graph if their distance in the graph is at most ). Similarly, we show that solving -set agreement against a dynamic network adversary requires at least rounds, where is the smallest integer such that, for every sequence of graphs produced by , this sequence has “temporal” dominating number at most , i.e., there is a set of at most nodes such that each node in the graph has a node with a temporal path from to in .
Applying the topological approach to network computing also yields fine grained results. We show that for every instance of the know-all model with nodes, and for every , if consensus is not solvable in rounds, then -approximate agreement is also not solvable in rounds. This bound is tight, in the sense that there exist an instance of the know-all model and a value where consensus is not solvable in rounds, while -approximate agreement is solvable in rounds.
1.3 Related Work
The deep connections between combinatorial topology and distributed computing were concurrently and independently identified in [10, 35] and [47]. Since then, numerous outstanding results were obtained using combinatorial topology for various types of tasks, including agreement tasks such as consensus and set-agreement [46], and symmetry breaking tasks such as renaming [4, 13, 14]. A recent work [2] provides evidence that topological arguments are sometimes necessary. All these results are obtained in the asynchronous shared memory model with crash failures, but combinatorial topology can also be applied to Byzantine failures [42]. Works on message passing models consider only complete communication graphs [21, 34]. Recent results show that combinatorial topology can also be applied in the analysis of mobile computing [1], demonstrating the generality and flexibility of the topological framework applied to distributed computing. The book [31] provides an extensive introduction to combinatorial topology applied to distributed computing.
In contrast, distributed network computing has not been impacted by combinatorial topology. This domain of distributed computing is extremely active and productive this last decade, analyzing a large variety of network problems in the local model [44], capturing the ability to solve tasks locally in networks. (The congest model has also been subject of tremendous progresses, but this model does not support full-information protocols, and thus is out of the scope of our paper). We refer to [6, 7, 11, 17, 23, 26, 27, 30, 48] for a non exhaustive list of achievements in this context. However, all these achievements were based on an operational approach, using sophisticated algorithmic techniques and tools solely from graph theory. Similarly, the existing lower bounds on the round-complexity of tasks in the local model [38, 41, 11, 29, 5] were obtained using graph theoretical arguments only. The question of whether adopting a higher dimensional approach by using topology would help in the context of local computing, be it for a better conceptual understanding of the algorithms, or providing stronger technical tools for proving lower bounds, is, to our knowledge, entirely open.
Similarly to (static) distributed network computing, the fundamental research on dynamic networks [15, 16, 40, 8] has rarely been impacted by combinatorial topology. Relevant works in this framework study consensus [22, 39], set-agreement [9, 28] and approximate agreement [18, 25, 19]. Recently, techniques of point set topology [3] were used to characterize the solvability of consensus in the message adversary model [43]. We also refer to [20, 37, 45] which analyze distributed computation in a model where all processes broadcast messages at each round, but the recipients of these messages are defined by a graph which may change from round to round. The information-flow graph introduced and analyzed in our paper can be viewed as an abstraction of computation in dynamic networks, since the information-flow graph contains a summary of how information was transmitted among processes in the network during some interval of time.
2 The know-all Model
In this section, we describe the know-all model of computation, and show that this model is stronger than classical distributed computing models, including the local model and dynamic graphs. That is, any lower bound for the know-all model implies lowers bounds for these classical models.
2.1 Definition of the Model
We consider a set of synchronous fault-free processes, with distinct names from the set .
Definition 2.1
An instance of the know-all model is a sequence of -node directed graphs, with nodes labeld by the integers in . We identify this sequence with a computational model of processes, where each process is a priori given its name and the sequence of graphs. The computation in this model proceeds in synchronous rounds, where at round process can transmit information to process only if the graph contains the arc .
In the know-all model, every process is thus given the complete knowledge of the communication patterns occurring at any time: the communication graph, the names of the processes, and their locations. The only uncertainty is regarding the inputs to the processes. Hence, this model is particularly suited for studying input-output tasks, as defined next, such as consensus and list coloring. On the other hand, other classical tasks such as -coloring are trivial in this model.
Input-Output Tasks.
An input-output task in the -process know-all model is described by a set of input values, a set of output values, and a mapping
[TABLE]
specifying, for every -tuple of input values, the set of possible legal -tuples of output values. The input of a process consists solely of a value , and its output is a value . While all the problems considered in this work allow any combination of input values, there are other problems in the literature which do not allow this, and assume, e.g., unique input values, or an initial proper node coloring. In these cases, an algorithm solving the task is not obliged to provide any guarantees, and accordingly, we will map any such tuple of input values to all tuples of output values.
Fix , an input-output task , and an instance of the know-all model. Given an -tuple of input values in with each process having input , an -round protocol consists of having the processes synchronously communicate over the graphs , and then having each process decide on an output value in based on the information received in these rounds of communication. Such a protocol solves the task if for every -tuple of input values in , the values produced by the processes form an -tuple of output values in which is legal by . If such a protocol exists, we say that the task is solvable in rounds in .
Flooding protocol.
A distributed algorithm solving a task has two components: a communication protocol enabling each process to gather information about the inputs of other processes, and a decision function that maps the gathered information to an output value. Without loss of generality, in the know-all model, we can consider solely flooding communication protocols: at round , every process sends all the name-input pairs it is aware of to all its out-neighbors in , that is, it sends the pair , and all the pairs it has received in the previous rounds. After a certain number of communication rounds, the process takes a decision based on the set of pairs it is aware of.
In general, a distributed algorithm in our setting could be much more sophisticated, and have each process send more information, or take a decision, e.g., based on the time when each message arrived or on knowledge regarding messages received by other processes. The most general form of such algorithms is full-information protocols, in which at every round , every process sends its entire history to all its neighbors. While this stands in contrast with flooding protocols defined above, where each process only sends the name-input pairs it is aware of, the following lemma shows that considering only flooding protocols does not restrict the power of the know-all model. At the hart of its proof lies the fact that in the know-all model, each process knows the entire topology of the network in each round, including the names of the processes and their locations, and thus the decision function can depend on this information.
Lemma 2.2
Every input-output task solvable in rounds in the know-all model is also solvable in rounds using a flooding protocol.
**Proof. ** Let be an input-output task solvable in rounds in the know-all model using some algorithm . Then is also solvable in rounds using the full-information protocol, so it is enough to consider the case where is the full-information protocol.
Let us execute the flooding protocol for rounds. Since every process is aware of the sequence of directed graphs , , it can reconstruct the sequence of messages it would have received in the full-information protocol , based on the messages received during the execution of the flooding protocol. It follows that every process is able to apply the decision function of the algorithm after rounds.
Thanks to Lemma 2.2, in order to analyze algorithms in the know-all model, we can focus on the information-flow graph, which describes the execution of a flooding protocol in the know-all model, defined as follows.
Definition 2.3
Let be an instance of the know-all model, and let . The information-flow graph associated to after rounds is the directed graph whose nodes are labeled by integers in , and there is an arc from to in if and only if receives the pair when flooding in for rounds, i.e., there is a temporal path from to of length at most .
2.2 Relation to Other Models
Recall that, in the local model [44], the processes synchronously communicate using a fixed (possibly directed) communication graph , which is unknown to the processes. Every process is given a distinct identifier taken from some range of integers. As the execution goes by, the processes learn the topology of . More precisely, after rounds of communication, each process is aware of its -neighborhood in , including the identifiers of the processes in this neighborhood, and their possible inputs. A protocol solving a given task in the local model is an -round protocol if every process makes a decision in at most rounds, for every assignment of inputs and identifiers to the processes.
Property 2.4
If an input-output task is solvable in rounds in the local model with communication graph , then it is solvable in rounds in the know-all model with for .
In the framework of dynamic networks, an adversary is a collection of infinite sequences of directed graphs on the same set of vertices, representing processes. When the execution of a protocol starts, the adversary picks any of the sequences , and the processes synchronously communicate following the graphs in the sequence, that is, at round processes exchange messages along the edges of . A protocol solves a task in rounds against a dynamic network adversary if, for every , the protocol solves the task in .
Property 2.5
If an input-output task is solvable in rounds against a dynamic network adversary , then, for every , the task is solvable in rounds in the know-all model .
3 The Topology of Computing in the know-all Model
In this section, we describe the protocol complex related to distributed computing in the know-all model, and establish a necessary and sufficient condition for input-output task solvability in this model. Most of the topological notions we use are routinely applied for studying distributed systems, as described in the book [31]. The reader unfamiliar with these notions may read the brief recap in Appendix A, which contains the topological notions required for the statement of our results.
One exception to this is a new type of mappings, which we define next. Recall that, given a simplex of a complex , the star of in , denoted , is the sub-complex of induced by all its facets containing .
We say that a mapping is a spreading map if, for every simplex ,
[TABLE]
Note that every carrier map is a spreading map, because carrier maps enforce that whenever . However, a spreading map does not need to be a carrier map, as the image of a simplex may have its image spread partially in , and partially in , with .
While computation in asynchronous, crash-prone systems is modeled using carrier maps (specifically, subdivisions), the computation in the know-all model is modeled by a different type of spreading maps, which we call scissor cuts. These are defined below.
3.1 The Protocol Complex of the know-all Model
Given a distributed computing task to be solved in the know-all model, two complexes play a major role in this framework, the input complex, denoted by , and the output complex, denoted by . The input complex is the pseudosphere , with the set of facets
[TABLE]
The set of all facets of the output complex is
[TABLE]
Note that the output complex includes only combinations of output values that are legal with respect to the problem at hand. Note also that the input and output complexes do not depend on the communication medium considered, and that both complexes are pure—all their facets have the same dimension.
For instance, in the case of binary consensus in an -process system (see Figure 1), the set of facets of the input complex is
[TABLE]
This complex is topologically equivalent to the -dimensional sphere . (Formally, the topological spaces are homeomorphic, that is, there is a continuous bijection from to , whose inverse is continuous as well.) The output complex of binary consensus is composed of two disjoints -facets, and , defined by
[TABLE]
One can rephrase the operational definition of input-output task in the framework of combinatorial topology as follows: a task is simply described by a carrier map
[TABLE]
i.e., a map that sends each simplex of the input complex to a subcomplex of the output complex . For a given facet , the set of facets in is defined by
[TABLE]
The carrier map of binary consensus maps every input -facet containing both input values 0 and 1 to the two -facets and , and maps each -facet with a unique input value to the output -facet .
In any distributed computing model, in each point in time during the execution of a communication protocol, one can define a complex whose vertices are pairs where is the state of process , i.e., its view of the computation. A set of vertices with distinct process names forms a protocol simplex if there is a protocol execution where those processes collect those views. All possible protocol simplexes make up the protocol complex.
In the know-all model, we can identify the view of each process with the set of inputs it is aware of. Due to synchrony and absence of failures, in an instance of the know-all model with information-flow graph , each input simplex in results in a single execution, that leads to a unique simplex in the protocol complex associated with . The following fact is a direct consequence of the definition of the information-flow graph.
Lemma 3.1
Let be an instance of the know-all model, let , and let be a task. The protocol complex associated with and after rounds, is the pure -dimensional complex whose facets are all the sets of the form for which there exists a facet of such that, for , the view satisfies
[TABLE]
The function maps each facet of to a single facet of , satisfying
[TABLE]
Notation.
Given a view , we denote by the set of processes whose names appear in , and by the multiset of values appearing in .
An important point stated in Lemma 3.1 is that the facets of the input complex are preserved in the protocol complex , i.e., there is a one-to-one correspondence between the facets of these two complexes. This phenomena is an important and interesting consequence of the fact that the system we study is not prone to asynchrony or failures, making the computation deterministic. However, while the facets of and remain in a one-to-one correspondence, their intersections may not possess this property: two facets intersecting on a face of some dimension in may correspond to two facets intersecting only in a face of a lower dimension in (but not of a higher dimension). We thus use the terminology “scissor cuts” for describing the transformation of into by .
Terminology.
In the know-all model, the spreading map can be interpreted as a consequence of a sequence of topological deformations, which we call scissor cuts. This mapping is a special type of spreading map, defined for colored complexes. Specifically, maps each facet of to a single facet of , and it maps every simplex to the set
[TABLE]
Example.
Figure 1 displays two illustrations of the protocol complex for binary consensus, for two different information-flow graphs on three processes: the consistently directed cycle , and the directed star whose center has two out-neighbors. Process names are omitted, and instead are represented by the colors of the circles ({\color[rgb]{0,0,0}\circ}, {\color[rgb]{.5,.5,.5}\bullet}, and {\color[rgb]{0,0,0}\bullet}). The number of vertices in the protocol complexes depends on the information-flow graph. Let us focus first on process {\color[rgb]{0,0,0}\circ}. A vertex ({\color[rgb]{0,0,0}\circ},v) in the input complex yields two vertices in the protocol complex for , depending on the input value received from process {\color[rgb]{.5,.5,.5}\bullet}. Instead, a vertex ({\color[rgb]{0,0,0}\circ},v) in the input complex yields a single vertex in the protocol complex for because, according to this information-flow graph, process {\color[rgb]{0,0,0}\circ} receives no inputs from other processes. On the other hand, every vertex ({\color[rgb]{0,0,0}\bullet},v) in the input complex yields two vertices in both protocol complexes. This is because, in both information-flow graphs, and , process {\color[rgb]{0,0,0}\bullet} receives the input from process {\color[rgb]{0,0,0}\circ}. Similarly, every vertex ({\color[rgb]{.5,.5,.5}\bullet},v) in the input complex yields two vertices in both protocol complexes, because, in both information-flow graphs, process {\color[rgb]{.5,.5,.5}\bullet} receives the input from another process, from process {\color[rgb]{0,0,0}\bullet} in and from process {\color[rgb]{0,0,0}\circ} in .
An important property of scissor cuts is that they are not arbitrary, but preserve a lot of the structure of the input complex. In fact, they can be understood by considering only cuts occurring between adjacent facets. To get an intuition of this property, let us consider the input complex on Figure 1, and let \sigma_{0}=\{({\color[rgb]{0,0,0}\circ},0),({\color[rgb]{.5,.5,.5}\bullet},0),({\color[rgb]{0,0,0}\bullet},0)\}. Let be the three facets of of the form \{({\color[rgb]{0,0,0}\circ},x),({\color[rgb]{.5,.5,.5}\bullet},y),({\color[rgb]{0,0,0}\bullet},z)\} with , and let be the three facets of of the form \{({\color[rgb]{0,0,0}\circ},x),({\color[rgb]{.5,.5,.5}\bullet},y),({\color[rgb]{0,0,0}\bullet},z)\} with . Note that, for , shares an edge with , while, for , only shares a vertex with . In fact, we have , which is the empty triangle formed by the edges and nodes of . Now, let us consider the protocol complexes for and for . In both cases, the cuts preserve the latter equality, that is, we also have \bigcup^{6}_{i=1}\big{(}\Xi(\sigma_{0})\cap\Xi(\sigma_{i})\big{)}=\bigcup^{3}_{i=1}\big{(}\Xi(\sigma_{0})\cap\Xi(\sigma_{i})\big{)}. This property is not coincidental, but systematically holds, as shown below.
Lemma 3.2
Let be integers. Let be different facets of such that, for every , is sharing an -face with . If then \bigcup^{t}_{i=1}\big{(}\Xi(\sigma_{0})\cap\Xi(\sigma_{i})\big{)}=\bigcup^{s}_{i=1}\big{(}\Xi(\sigma_{0})\cap\Xi(\sigma_{i})\big{)}.
**Proof. ** It is sufficient to show that, for every , \Xi(\sigma_{0})\cap\Xi(\sigma_{i})\subseteq\bigcup^{s}_{j=1}\big{(}\Xi(\sigma_{0})\cap\Xi(\sigma_{j})\big{)} whenever . So, let us consider a facet such that , and let . Let , i.e., is either an in-neighbor of in , or . Let be the input of , so . Since , it holds that . By assumption, , so there exists such that . It follows that . As a consequence, is in the view of in . Therefore, . We conclude that , as desired.
3.2 Topological Characterization of Task Solvability
So far, we have proceeded in two parallel paths. The first, operational path, was about algorithms in the know-all model, where information propagates between processes according to some information-flow pattern (cf. Section 2). The second, topological path, relates the inputs of processes defined by an input complex, their views modeled in the protocol complex, and their desired outputs, appearing in the output complex (cf. Section 3.1). The connection between these paths is established in the next lemma, which directly follows from the definitions.
Lemma 3.3
A task is solvable in rounds in the know-all model if and only if, for the topological formulation of the task, there exists a chromatic simplicial map satisfying for every facet , where is the protocol complex associated with and after rounds.
The simplicial map is called a decision map. If , then the corresponding algorithm specifies that process with view outputs .
Example.
Let us consider Figure 1 again. The protocol complex for is disconnected, while for it is 0-connected (i.e., path-connected). The presence of a universal node {\color[rgb]{0,0,0}\circ} (dominating all other nodes) in the information-flow graph results in all processes becoming aware of the input of the process corresponding to that node. Therefore, the protocol complex for is split into two subcomplexes, the one corresponding to process {\color[rgb]{0,0,0}\circ} with input 0, and the other corresponding to process {\color[rgb]{0,0,0}\circ} with input 1. Similarly, the protocol complex for the complete graph with bidirectional edges (not depicted in Figure 1), is entirely disconnected, i.e., composed of eight pairwise non-intersecting facets, because there is no uncertainty under the complete information-flow graph, as every process receives the input of every other process.
Since the protocol complex for is disconnected, consensus is solvable in this graph. To see why, consider that maps every vertex of the protocol complex to vertex of the output complex, and every vertex of the protocol complex to vertex of the output complex. This is a chromatic simplicial map, and thus, by Lemma 3.3 consensus is solvable. In contrast, there is no such mapping for the protocol complex corresponding to , because is 0-connected. Let us consider the path (({\color[rgb]{0,0,0}\circ},1?1),({\color[rgb]{.5,.5,.5}\bullet},?01),({\color[rgb]{0,0,0}\bullet},00?)) in the protocol complex for . Vertex ({\color[rgb]{0,0,0}\circ},1?1) must be mapped to vertex ({\color[rgb]{0,0,0}\circ},1) in the output complex because ({\color[rgb]{0,0,0}\circ},1?1) belongs to a facet with all processes having input value 1. Similarly, vertex ({\color[rgb]{0,0,0}\bullet},00?) must be mapped to vertex ({\color[rgb]{0,0,0}\bullet},0) because ({\color[rgb]{0,0,0}\circ},00?) belongs to a facet with all processes having input value 0. If a mapping maps ({\color[rgb]{.5,.5,.5}\bullet},?01) to ({\color[rgb]{.5,.5,.5}\bullet},1), then the simplex \{({\color[rgb]{.5,.5,.5}\bullet},?01),({\color[rgb]{0,0,0}\bullet},00?)\} is mapped to \{({\color[rgb]{.5,.5,.5}\bullet},1),({\color[rgb]{0,0,0}\bullet},0)\}, which is not a simplex of . The same occurs if ({\color[rgb]{.5,.5,.5}\bullet},?01) is mapped to ({\color[rgb]{.5,.5,.5}\bullet},0), as \{({\color[rgb]{0,0,0}\circ},1),({\color[rgb]{.5,.5,.5}\bullet},0)\} is not a simplex of . Thus, there is no simplicial map , and, by Lemma 3.3, consensus is not solvable.
4 Connectivity and Domination
In this section, we establish a connection between a given instance of the know-all model, the structure of the information-flow graph resulting from this instance, and the topology of the protocol complex induced by the information-flow graph. In particular, we show that, assuming that the input complex is a pseudosphere (which is the case, e.g., for consensus and -set agreement), if the information-flow graph has large domination number, then the protocol complex is highly connected. Later in the paper, we show that high connectivity is an obstacle to solving agreement tasks in the know-all model, as was shown in the past for several other models of computation.
Recall that a dominating set of a directed graph is a set of nodes such that, for every node , there exists a node such that . The domination number of a digraph , denoted , is the minimum such that has a dominating set of size . Also recall that, for , a complex is -connected if for every , any continuous map from the -dimensional sphere to a geometric realization of the complex can be extended to a continuous map from the -dimensional disk.
We now state and prove one of our main technical contributions.
Theorem 4.1
Let be an instance of the know-all model, be a positive integer, and be a task. If , then the protocol complex associated with and after rounds is at least -connected.
The rest of this section is dedicated to the proof of Theorem 4.1. This proof exemplifies the nature of the scissor cuts produced by on , resulting in .
Let be the set of input values of the task . If , then Theorem 4.1 holds as the protocol complex is a single simplex of dimension . From this point on, we therefore assume that .
We begin by presenting another important property satisfied by the scissor cuts. It relates the “depth of the cuts” applied to with the connectivity of the resulting complex . Later we will see that the domination number of the information-flow graph is precisely the “depth of the cut”. To get an intuition of the property, let us again consider Figure 1. Let \sigma_{0}=\{({\color[rgb]{0,0,0}\circ},0),({\color[rgb]{.5,.5,.5}\bullet},0),({\color[rgb]{0,0,0}\bullet},0)\}\in\mathcal{I}, and let \sigma_{1}=\{({\color[rgb]{0,0,0}\circ},x),({\color[rgb]{.5,.5,.5}\bullet},y),({\color[rgb]{0,0,0}\bullet},z)\} be one of the facets of with . In the case of the protocol complex for , for every choice of , we observe that is a single node, i.e., a simplex of dimension 0. On the other hand, in the case of the protocol complex for , may either be an edge, or the empty set, depending on the choice of . The lemma below provides a lower bound on the dimension of , as a function of the domination number of the information-flow graph.
Lemma 4.2
Let , and let be a sequence of different facets of such that, for every , shares an -face with . Then, for every such that , is of dimension at least .
**Proof. ** Consider the simplex (this is a simplex since each is a simplex, and so is their intersection). In order to show that is of dimension at least , we can restrict our attention to , as the dimension of a simplex cannot go below .
For every , , let be the process whose identity does not appear in , i.e., . Since and share an -face, is uniquely defined.
First, we show that the set
[TABLE]
is a dominating set of . Let be a process in (if no such process exists, , which is trivially a dominating set). Since, in particular, , we get that has different views in the executions and , for some . As and share an -face, only the process is able to distinguish between the two corresponding input configurations. Hence, there is a directed edge from to in . Therefore, is a dominating set for .
The fact that is a dominating set for implies that
[TABLE]
It follows that , from which we conclude that the dimension of is at least .
Lemmas 3.2 and 4.2 are actually the key facts enabling us to prove that if the domination number of is large, then the protocol complex after rounds has high connectivity.
Recall that the -skeleton of a complex is the complex composed of all the faces of of dimension at most . The proof also uses the concept of shellable complexes, defined as follows.
Definition 4.3
Let be a pure complex of dimension . is shellable if there is an ordering of its facets such that, for every , the complex \mathcal{K}_{t}=\big{(}\bigcup^{t}_{i=1}\phi_{i}\big{)}\cap\phi_{t+1} is a pure subcomplex of dimension of . Such a sequence of facets is called a shelling order of .
One simple example of a shellable complex is that of a complex defined by the boundary of a single simplex, or any subcomplex of such complex; in this case, any order of the facets is a shelling order, as formally stated next.
Lemma 4.4** (Theorem 13.2.2 in [31])**
Let be a simplex of dimension , and let be a pure -dimensional subcomplex of . Then is shellable, and any sequence of its facets is a shelling order of .
Another typical example of a shellable complex is a pseudosphere.
Lemma 4.5** (Theorem 13.3.6 in [31])**
The pseudosphere is shellable.
To get an intuition of why a pseudosphere is shellable, let us consider the input complex displayed on Figure 1, which is the pseudosphere . Set as the lower facet (triangle) \{({\color[rgb]{0,0,0}\circ},0),({\color[rgb]{.5,.5,.5}\bullet},0),({\color[rgb]{0,0,0}\bullet},0)\}. Set , , and as the three facets \{({\color[rgb]{0,0,0}\circ},0),({\color[rgb]{.5,.5,.5}\bullet},0),({\color[rgb]{0,0,0}\bullet},1)\}, \{({\color[rgb]{0,0,0}\circ},0),({\color[rgb]{.5,.5,.5}\bullet},1),({\color[rgb]{0,0,0}\bullet},0)\}, and \{({\color[rgb]{0,0,0}\circ},1),({\color[rgb]{.5,.5,.5}\bullet},0),({\color[rgb]{0,0,0}\bullet},0)\}, in arbitrary order. Then set , , and as the three facets \{({\color[rgb]{0,0,0}\circ},0),({\color[rgb]{.5,.5,.5}\bullet},1),({\color[rgb]{0,0,0}\bullet},1)\}, \{({\color[rgb]{0,0,0}\circ},1),({\color[rgb]{.5,.5,.5}\bullet},1),({\color[rgb]{0,0,0}\bullet},0)\}, and \{({\color[rgb]{0,0,0}\circ},1),({\color[rgb]{.5,.5,.5}\bullet},0),({\color[rgb]{0,0,0}\bullet},1)\}, in arbitrary order. Finally, set as \{({\color[rgb]{0,0,0}\circ},1),({\color[rgb]{.5,.5,.5}\bullet},1),({\color[rgb]{0,0,0}\bullet},1)\}. This is one of the many shelling orderings establishing that is shellable. However, note that picking \phi_{1}=\{({\color[rgb]{0,0,0}\circ},0),({\color[rgb]{.5,.5,.5}\bullet},0),({\color[rgb]{0,0,0}\bullet},0)\} and \phi_{2}=\{({\color[rgb]{0,0,0}\circ},0),({\color[rgb]{.5,.5,.5}\bullet},1),({\color[rgb]{0,0,0}\bullet},1)\} cannot be a part of any shelling order of , neither can the choice \phi_{1}=\{({\color[rgb]{0,0,0}\circ},0),({\color[rgb]{.5,.5,.5}\bullet},0),({\color[rgb]{0,0,0}\bullet},0)\} and \phi_{2}=\{({\color[rgb]{0,0,0}\circ},1),({\color[rgb]{.5,.5,.5}\bullet},1),({\color[rgb]{0,0,0}\bullet},1)\}. Lemma 4.5 implies that the input complex is a pure -dimensional complex that is shellable.
The lemma below is the core of the technical part of the proof of Theorem 4.1. It can be thought as a finer version of Lemma 13.4.2 in [31].
Lemma 4.6
Let be a pure shellable complex of dimension , and let be any complex. Let be an onto mapping from the facets of to the facets of . Fix an integer such that satisfies the following two properties:
P1:
For every two integers satisfying , and every sequence of different facets of where, for every , shares a -face with and , it holds that \bigcup^{t}_{i=1}\big{(}f(\sigma_{0})\cap f(\sigma_{i})\big{)}=\bigcup^{s}_{i=1}\big{(}f(\sigma_{0})\cap f(\sigma_{i})\big{)};
P2:
For every , and for every sequence of different facets of where each , , shares a -face with , the complex is of dimension at least .
Then, is -connected.
Observe that the two properties assumed in the statement of Lemma 4.6 hold for the scissor cuts, where , , and , as established in lemmas 3.2 and 4.2. The proof of Lemma 4.6 uses two known facts from combinatorial topology. First, a subcomplex of a boundary complex of a simplex is shellable (Lemma 4.4 above). Second, in order to show that a complex is well connected, we can present a cover of it by two subcomplexes, such that they both have high connectivity, and so does their intersection. This latter fact is a simple corollary of the so-called Nerve Lemma, and is stated next.
Lemma 4.7** (Corollary 10.4.3 in [31])**
Let and be two -connected complexes such that is -connected. Then, is -connected.
In order to prove Lemma 4.6, we need one more notation, of petals, which is used only in the proof of this lemma. Given a shelling order of a shellable -dimensional complex , the complex is a subcomplex of the boundary complex of , and as such, it can be represented as a union of the complexes induced by some -faces of . Moreover, each , , is a face of a facet of for some , i.e., and share the -face . In short,
[TABLE]
We call the set the petals of . More precisely:
Definition 4.8
Given a shelling order of a pure shellable complex of dimension , and an index , a petal of is a facet , , for which is of dimension . A minimal covering set of petals of is a set of indices that have the following properties.
Covering: . 2. 2.
Petals: For each , is a petal. 3. 3.
Minimal: For each such that , .
We now have all the ingredients to prove Lemma 4.6.
Proof of Lemma 4.6.
The proof is by induction on . For each , we will apply induction on the length of a shelling order of .
– For , we need to prove that is [math]-connected. We do so by induction on the length of a shelling order of . So, let us fix a shelling order of . We have because is an onto mapping from the facets of to the facets of .
- •
The base case is , that is, . In this case, is a simplex. Thus, it is -connected for every , and in particular it is 0-connected.
- •
For the inductive step, with , let us assume that properties P1 and P2 hold for and , and that the lemma holds for . Next, we apply Lemma 4.7 in order to prove that \mathcal{B}=\big{(}\bigcup^{m-1}_{i=1}f(\phi_{i})\big{)}\cup f(\phi_{m}) is [math]-connected. To this end, we prove that (1) is [math]-connected, (2) is [math]-connected, and (3) their intersection \big{(}\bigcup^{m-1}_{i=1}f(\phi_{i})\big{)}\cap f(\phi_{m}) is -connected.
Consider the subcomplex of , the subcomplex of , and the mapping between their facets. Note that since properties P1 and P2 hold for , and , they also hold for the subcomplexes defined above. Since the lemma holds for , we conclude that is [math]-connected. We also have that is [math]-connected, as it is a simplex.
For the intersection, let , , be a petal of , i.e., is of dimension . Such a exists since the sequence is a shelling order. By Property P2 with , , and , the complex is of dimension at least [math], and, specifically, it is non-empty. This implies that \bigcup^{m-1}_{i=1}\big{(}f(\phi_{i})\cap f(\phi_{m})\big{)} is also non-empty, i.e., -connected, as desired.
– For the inductive step, from to , where , let us assume that the statement of the theorem holds for , and consider a shelling order of . Our aim is to show that is -connected. As in the base case , we proceed by induction on the length of the shelling order.
- •
The base case is . Again, since is a simplex, it is -connected.
- •
For the inductive step, with , let us assume as before that properties P1 and P2 hold for , and , and that the lemma holds for . We follow the same outline of proof, that is, we show that (1) is -connected, (2) is -connected, and (3) their intersection \big{(}\bigcup^{m-1}_{i=1}f(\phi_{i})\big{)}\cap f(\phi_{m}) is -connected. Lemma 4.7 then implies that \mathcal{B}=\big{(}\bigcup^{m-1}_{i=1}f(\phi_{i})\big{)}\cup f(\phi_{m}) is -connected, as desired
As in the case , by considering the subcomplexes , , and the mapping between their facets, and using the induction hypothesis for and , we conclude that is -connected. We also have that is -connected, as it is a simplex.
We now show that is -connected. To this end, we define new simplicial complexes , and a mapping between their facets. Let be a minimal covering set of petals of . That is,
[TABLE]
with each intersection on the right hand side () being a distinct simplex of dimension . By Property P1, we have that
[TABLE]
Let and be the right hand sides of the two above equalities. Note that is pure of dimension and is a subcomplex of the boundary complex of , thus it is shellable by Lemma 4.4. By the last equality, it is sufficient to show that is -connected. Consider the mapping from the facets of to those of defined by
[TABLE]
for every . This mapping is onto by the definition of and . We now use Lemma 4.6 for , and , which is applicable by the induction hypothesis.
To show that Property P1 holds for , and (P1 does not depend on ), let us consider two integers , and a sequence of different facets of where, for every , shares a -face with , and
[TABLE]
For each , the fact that and are different petals of implies that . Hence, the right hand side is a union of simplices of dimension exactly , making it a pure complex of dimension .
We claim that . Assume otherwise, i.e., there is a facet with such that for each . Since the complex in the right hand side is pure of dimension , the equality implies that is a facet there, i.e., for some . As , and are distinct petals of , their three intersections with , namely , and , are distinct simplices of dimension . The intersection of these three simplices must thus be of dimension at most . However, the equality implies that , where the left hand side has dimension at most and the right hand side has dimension , a contradiction. Hence, , as claimed.
Applying completes the proof of P1. Indeed, we have
[TABLE]
hence
[TABLE]
so
[TABLE]
which implies
[TABLE]
completing the proof of Property P1.
To show that Property P2 also holds for , and , let us fix , and consider a sequence of facets of , i.e., for every . For each , the facet shares a -face with (this is the assertion in P2, but in our specific case this is true for any choice of a sequence, since and are petals of ). We have
[TABLE]
To show that this intersection is of dimension at least , we use the assumption that Property P2 holds in the original setting, with , and . We apply P2 with , and with the sequence of facets of , where is the facet intersecting all the other facets. Note that, for every , shares a -face with since is a petal of . Property P2 then assures that the above intersection is of dimension at least . As a consequence, Property P2 also holds for , and .
By induction, the theorem holds for , and . Therefore, is -connected. It follows that is -connected, which completes the induction step.
This completes the proof of Lemma 4.6.
To complete the proof of Theorem 4.1, observe that lemmas 3.2 and 4.2 guarantee that the two assumptions in the statement of Lemma 4.6 hold for , and thus Lemma 4.6 shows that is -connected, as desired.
5 Applications to Agreement Tasks
In this section, we show how to use topology to derive lower bounds and impossibility results in the context of distributed network computing, with implications to classical models such as the local model and dynamic networks. We start by studying the classical agreement task of consensus, and a relaxed problem called -set agreement, where processes may decide on up to different values. We then move our attention to a different variant of consensus, approximate agreement, where decision values must all reside in a small range.
5.1 Consensus and Set-Agreement
Let . Recall that, in the -set agreement task, the processes must agree on at most of the input values. It is known that, in the context of asynchronous shared memory computing, the level of connectivity of the protocol complex is closely related to the ability to solve -set agreement (see, e.g., [32, 33, 36]). We show that this also holds in the know-all model.
To illustrate this result, let us assume that the protocol complex is 0-connected (path connected), i.e., for every pair of vertices in there is a sequence of edges of forming a path connecting these two vertices. Then, consensus, i.e., 1-set agreement, cannot be solved. (This is, e.g., the case of the protocol complex for in Figure 1, while the protocol complex for is not 0-connected.) To see this, assume consensus can be solved, and let be a vertex in the protocol complex representing an execution for a process that decides 0, and a vertex where decides 1. Such vertices exist because in the execution with all inputs equal to , processes must decide . The protocol complex is 0-connected, so there is a path in connecting and . Each vertex in this path has a binary decision value, and so, some edge along that path must have one endpoint deciding 0 and the other endpoint deciding 1. This edge is in a facet whose outputs contain both 0s and 1s, contradicting the specification of consensus. Theorem 5.1 below uses a generalization of the above argument to higher-dimensional connectivity, in order to study the time complexity of solving -set agreement in instances of the know-all model.
More specifically, Theorem 5.1 states that, for any instance of the know-all model, if the information-flow graph associated with after rounds has a domination number larger than , then -set agreement is not solvable in in rounds. It is not hard to prove this statement when the number of input values is at least the number of processes. Indeed, assume, for the purpose of contradiction, that there exists an algorithm solving -set agreement in rounds in with . Consider an input assignment , where all input values , , are distinct. Let be the set of output values produced by , and let be the set of processes with input values in . We have , hence there is a process which does not hear from any node in , and produces some output value . Let be the process with input , and consider another input assignment , where all inputs are the same, excepted for the input of which is replaced by some . Since there is no edge in , the process does not distinguish from , and outputs in as well. This output is incorrect, as has not been proposed in , and therefore -set agreement is not solvable in in rounds. This reasoning cannot be applied when the number of input values is less than the number of processes, and in particular when the number of input values is (e.g., for binary consensus among at least three processes). Theorem 5.1 says that -set agreement remains unsolvable even in this case.
Theorem 5.1
Let be an instance of the know-all model, and . If , then -set agreement is not solvable in rounds in .
The proof of Theorem 5.1 uses Sperner’s Lemma, which essentially states that every Sperner coloring with colors of a subdivision of a -dimensional simplex contains a cell of that subdivision whose vertices are colored by distinct colors. The proof is also based on the notion of simplicial approximation (see Chapter 3.7 in [31]).
Definition 5.2
Let and be simplicial complexes. A carrier map has a simplicial approximation if there exists a subdivision of , and a simplicial map such that, for every simplex of , is a subcomplex of .
A crucial point is that high-connectivity implies the existence of simplicial approximation.
Lemma 5.3** (Theorem 3.7.7(2) in [31])**
Let and be simplicial complexes. Let be a carrier map such that, for every -dimensional simplex of , the subcomplex is -connected. Then has a simplicial approximation .
Proof of Theorem 5.1.
By Theorem 4.1, if then the protocol complex is at least -connected. Thus, to establish Theorem 5.1 it is sufficient to show that if the protocol complex for is at least -connected, then -set agreement is not solvable in rounds in . In fact, we show something slightly different: we first apply Theorem 4.1 to show that for every non-empty set of input values, the subcomplex of induced by is at least -connected, and then prove that if all these subcomplexes are -connected then -set agreement is not solvable.
Let us fix the information-flow graph with domination number at least . Let be a set of at least distinct values, and let denote the corresponding input complex. That is, is the pseudosphere , and denotes the protocol complex for the input complex and the graph . For any subset , we are interested in the subcomplex of that arises when processes are given only inputs from . Let denote this subcomplex. The following claim strengthens the statement of Theorem 4.1.
Claim 5.4
If has domination number at least , then, for every non-empty , is at least -connected.
To establish the claim, let be the input complex restricted to values in . Note that is the pseudosphere , and, for a task where is the input complex, is the corresponding protocol complex. Theorem 4.1 immediately implies that is at least -connected, as claimed.
For completing the proof of Theorem 5.1, it is therefore sufficient to show the following.
Claim 5.5
If, for every non-empty , is at least -connected, then -set agreement is not solvable.
We proceed by proving this claim, inspired by a classical construction used for proving impossibility of -set agreement in asynchronous, failure-prone distributed models (see, e.g., [31, Theorem 10.3.1]). The proof goes roughly as follows. We first observe that the existence of an algorithm for -set agreement implies the existence of a simplicial map from the protocol complex to the boundary of the simplex with vertex set . Second, we use the assumption that every subcomplex is at least -connected to derive the existence of a simplicial approximation of , where is the carrier map mapping every face of to the subcomplex . Combining and results in a simplicial map from to the boundary of . We then show that is a Sperner coloring of from which we derive a contradiction by applying Sperner’s Lemma.
Let be the simplex of dimension with vertex set , and let be its boundary complex, that is, the complex of dimension whose facets correspond to the subsets of size of . Each face of corresponding to a set of values, and is denoted by . We emphasize that and are merely simplices with vertices labeled by the elements on and , which we use in order to apply Sperner’s Lemma. These simplices are not labeled with process names, and unlike the other simplicial complexes in this paper, they do not model the distributed system in hand.
Let us assume, for the purpose of contradiction, that -set agreement is solvable. An algorithm for -set agreement with set of input values implies a coloring of the vertices of with values in such that, for every simplex of ,
the set of colors assigned to the vertices of that simplex is of size at most , and 2. 2.
for any set of colors, all the nodes in are colored with colors from .
The first property yields from the fact that processes must not output more that values in an execution, and the second property holds because processes may only decide on values that were proposed. In other words, there exists a simplicial map
[TABLE]
such that, for every non-empty subset ,
[TABLE]
Let us define the carrier map
[TABLE]
by
[TABLE]
for every . By the assumption of the claim, for every nonempty , the subcomplex is -connected. Therefore, by Lemma 5.3, the carrier map has a simplicial approximation, that is, there exists a subdivision of , together with a simplicial map
[TABLE]
such that, for every simplex , we have . Let us now consider the composition of simplicial maps. We have
[TABLE]
The map can be viewed as a coloring of with the vertices of such that each simplex in is colored with at most colors. Moreover, for each simplex , we have
[TABLE]
From the definition of , it follows that each simplex in is colored by with values appearing in . Therefore, is a Sperner coloring of . By Sperner’s lemma, there exists a simplex of , of dimension , colored with all the colors. This is a contradiction, because is then mapped by to , which is not in the domain of . This completes the proof of Claim 5.5, and of the theorem.
Theorem 5.1 implies that, in particular, consensus solvability requires the information-flow graph to contain a universal node, i.e., a node that dominates all the other nodes.
Remark.
Observe that the converse of Theorem 5.1 also holds, i.e., if then -set agreement is solvable in rounds in the know-all model . The algorithm performs as follows. Let be a dominating set for , with . Since is dominating, every process receives the input value of at least one process in , and can decide on such a value as an output. In total, at most values are decided.
Theorem 5.1, together with properties 2.4 and 2.5, have implications for more traditional computational models:
Corollary 5.6
In the local model, any algorithm that solves -set agreement in a network requires at least rounds, where is the smallest integer such that .
Corollary 5.7
In the dynamic network model, any algorithm that solves -set agreement against an adversary requires at least rounds, where is the smallest integer such that, for every , .
5.2 Approximate Agreement
Approximate agreement is the agreement task asking processes to output values that are as close as possible to each other, and, if all processes are given the same input value, then all processes should output that value. Specifically, let the input values be in , let , and let be an integer. Then -approximate agreement asks the processes to output values
[TABLE]
such that for every . The associated input complex is the same binary pseudosphere as for binary consensus, and the output complex can be defined by its facets: a facet for each set of output values satisfying for all . The carrier map maps the all- input value facet to the all- output value facet, for every , and maps every other input facet to all the output facets.
Of course, if consensus can be solved, then -approximate agreement can be solved with any . The main point for studying approximate agreement is to determine the smallest for which -approximate agreement is solvable, under the assumption that consensus is not solvable. In the proof of the next theorem, we show how topological arguments enable to resolve this problem easily in the know-all model, i.e., even when the communication between the processes is constrained.
Theorem 5.8
Let be an instance of the know-all model, and let . If consensus is not solvable in rounds in , then for every , -approximate agreement is also not solvable in rounds in .
**Proof. ** Recall that, by Theorem 5.1, consensus is solvable in rounds in if and only if has a dominating node. We show that no graph without dominating node is able to solve -approximate agreement for . For , let be the facet of defined by
[TABLE]
i.e., with as the input for the first processes, and [math] for the rest. The facets and share an -face. The mapping is not necessarily simplicial, so the images of and under may not share such a face; nevertheless, we show that their images under do intersect. Consider the sequence of facets in the input complex, and its image in the protocol complex. Note that two consecutive simplexes, and , differ only in the input of . Since has no universal nodes, there is a process which does not receive messages from , and thus there is a node in the protocol complex that is shared by both and . Applying the same argument for all values of , we find that the image in the protocol complex is path-connected, in the sense that every two consecutive facets intersect.
Assume that a protocol solves -approximate agreement for some . It follows from Lemma 3.3 that there is a simplicial map satisfying for every . Since is simplicial, the image of under , which is , is also path-connected.
For every , let denote the possible output values for the processes in . The definition of approximate agreement limits the domains , and specifically, since
[TABLE]
we have , and similarly . For all other values of , -approximate agreement imposes of range . Furthermore, for every since every two consecutive facets and share a vertex. Achieving the desired contradiction is now simple. Each output value at a vertex of must satisfy . By connectivity, at least one such vertex is shared with , and thus every value at a vertex of must satisfy . By induction, every value at a vertex of must satisfy . Hence, every output value at a vertex of must satisfy . Once again, by connectivity there is a vertex in . We have thus showed that the vertex has output value , which is a contradiction for the specification of approximate agreement.
Theorem 5.8, together with properties 2.4 and 2.5, have implications for more traditional computational models.
Corollary 5.9
In the local model, any algorithm that solves -approximate agreement in a network , with , requires at least rounds, where is the smallest integer such that has a dominating vertex.
Corollary 5.10
In the dynamic network model, any algorithm that solves -approximate agreement against an adversary , with , requires at least rounds, where is the smallest integer such that for every , has a dominating vertex.
Remark.
The bound in Theorem 5.8 is tight in the sense that there exists an instance of the know-all model for which consensus is impossible, while -approximate agreement is solvable. We show that there exists an information-flow graph with no universal node, for which -approximate agreement is solvable. is simply obtained from a complete graph (each edge corresponds to two arcs oriented in opposite directions), from which all arcs in a single directed Hamiltonian cycle are removed. Indeed, this digraph has no universal node since every node has out-degree . The -approximate agreement algorithm is straightforward: each process chooses as output value the average of all the input values it sees. For correctness, let us consider an input assignment with input values [math], and input values . Each process sees input values, out of which either or inputs are equal to 1, and thus the outputs are in the range
[TABLE]
whose width is .
6 Conclusion and Further Work
We have demonstrated that combinatorial topology is applicable to distributed network computing. Of course, this is just a first step, and further work will require to incorporate the specific features of different distributed network models, in order to capture the characteristics of each of them. For instance, fully capturing the popular local model requires removing the structure awareness assumption, and studying the details of how the protocol complex evolves round after round.
Incorporating asynchrony and failures into network computing, from a topological perspective, requires understanding the topological impact of simultaneously subdividing the facets, introducing holes resulting from -resiliency, and introducing scissor cuts resulting from the presence of a network. This is definitely technically challenging, but our paper shows that there are no conceptual obstacles preventing us from addressing these questions.
Acknowledgements:
The authors are thankful to Eli Gafni for fruitful discussions about solving -set agreement in the know-all model, to Ran Gelles for discussions of carrier maps and scissor cuts, and to the reviewers of TCS journal for their help in improving the presentation of our results.
Appendix A Basic Topological Concepts
A simplicial complex is a finite set along with a collection of nonempty subsets of closed under containment (i.e., if and , then ). An element of is called a vertex of , and the vertex set of is denoted by . Each set in is called a simplex. A subset of a simplex is called a face of that simplex. The dimension of a simplex is one less than the number of elements of , i.e., . We use “-face” as shorthand for “-dimensional face”. A simplex in is called a facet of if is not contained in any other simplex. Note that a set of facets uniquely defines a simplicial complex. The dimension of a complex is the largest dimension of any of its facets. A complex is pure if all its facets have the same dimension. For two complexes and , if , we say is a subcomplex of . When clear from the context, we refer to the union of one or more simplexes as a complex. Such a complex should be understood as encompassing those simplexes together with all of their faces. In particular, we sometimes use a simplex as shorthand for the complex defined by its power set, i.e., the complex formed by and all its faces.
The -skeleton of a complex , denoted , is the subcomplex of composed of all the faces of of dimension at most . If the complex is composed of a single -simplex and all its faces, the boundary complex of is its -skeleton.
Let and be complexes. A vertex map is a function . If also carries simplexes of to simplexes of , it is called a simplicial map. We add one or more labels to the vertices, where a labeling is a mapping , for some arbitrary domain . In this paper, we always have the labeling , which associates each vertex with a unique name in . In all the complexes we consider, each simplex is properly colored by these names: if and are distinct vertices of a simplex , then . In this case we say that the complexes are chromatic (with respect to the labeling). A simplicial map is chromatic if it preserves names, i.e., for any vertex . In this paper, all simplicial maps between chromatic complexes are chromatic. By extension, given any simplex , we denote by the set of names of the vertices appearing in .
Given two complexes and , a carrier map maps each simplex to a subcomplex of , such that for every two simplexes and in that satisfy , we have .
Roughly speaking, a geometric realization of a simplicial complex is a geometric object defined as follows. Each vertex in is mapped to a point in a Euclidean space, such that the images of the vertices are affinely independent. Each simplex is represented by a polyhedron, which is the convex hull of points representing its vertices. Figure 1 displays the geometric representations of several simplicial complexes.
Let be a positive integer. We say that a complex has a hole in dimension if the -sphere embedded in a geometric realization of the complex cannot be continuously contracted to a single point within that realization. Informally, a complex is -connected if it has no holes in dimension . More formally, a complex is -connected if every continuous map can be extended to a continuous map where denotes the -disk. In dimension [math], this property simply states that any two points can be linked by a path, i.e., the complex is path-connected. In dimension , it states that any loop can be filled into a disk, i.e., the complex is simply connected. By convention, a -connected complex is just a non-empty complex, and every complex is -connected for every .
Finally, given a set , a pseudosphere is the -dimensional complex defined as follows: (1) every pair with , and is a vertex, and (2) every with for every is a facet. Pseudospheres offer a convenient way to describe all possible initial configurations when each process input is an arbitrary value from .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Manuel Alcantara, Armando Castañeda, David Flores-Peñaloza, and Sergio Rajsbaum. The topology of look-compute-move robot wait-free algorithms with hard termination. Distributed Computing , 32(3):235–255, 2019.
- 2[2] Dan Alistarh, James Aspnes, Faith Ellen, Rati Gelashvili, and Leqi Zhu. Why extension-based proofs fail. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC , pages 986–996, 2019.
- 3[3] Bowen Alpern and Fred B. Schneider. Defining liveness. Inf. Process. Lett. , 21(4):181–185, 1985.
- 4[4] Hagit Attiya, Armando Castañeda, Maurice Herlihy, and Ami Paz. Bounds on the step and namespace complexity of renaming. SIAM J. Comput. , 48(1):1–32, 2019.
- 5[5] Alkida Balliu, Sebastian Brandt, Juho Hirvonen, Dennis Olivetti, Mikaël Rabie, and Jukka Suomela. Lower bounds for maximal matchings and maximal independent sets. In 60th IEEE Symposium on Foundations of Computer Science (FOCS) , 2019.
- 6[6] Leonid Barenboim, Michael Elkin, and Uri Goldenberg. Locally-iterative distributed ( δ + 1 𝛿 1 \delta+1 )-coloring below szegedy-vishwanathan barrier, and applications to self-stabilization and to restricted-bandwidth models. In Proceedings of the 2018 ACM Symposium on Principles of Distributed Computing, (PODC) , pages 437–446, 2018.
- 7[7] Leonid Barenboim, Michael Elkin, Seth Pettie, and Johannes Schneider. The locality of distributed symmetry breaking. In 53rd IEEE Symposium on Foundations of Computer Science (FOCS) , pages 321–330, 2012.
- 8[8] Sandeep Bhadra and Afonso Ferreira. Computing multicast trees in dynamic networks and the complexity of connected components in evolving graphs. J. Internet Services and Applications , 3(3):269–275, 2012.
