Abstract 1 Introduction 2 Preliminaries 3 Functorial approach for full-information distributed protocols 4 Spectral semantics of distributed computability 5 Colorless Computability 6 Conclusion References Appendix A Applications to IIS model

Stone Duality Proofs for Colorless Distributed Computability Theorems

Cameron Calk ORCID Aix-Marseille University & CNRS UMR7020, Marseille, France    Emmanuel Godard ORCID Aix Marseille University & CNRS UMR7020, Marseille, France
Abstract

Twenty years ago, Herlihy/Shavit and Saks/Zaharoglou won the Gödel prize for the introduction of a simplicial semantics for distributed computing. This line of work culminated in a characterization of the distributed tasks which can be solved by asynchronous wait-free systems, resulting in the Asynchronous Computability Theorem (ACT). In this paper, we extend this semantics by identifying spectral topology as the natural generalization of the finite combinatorial topology they employed. In particular, we extend the topological approach of ACT to any round-based, content-neutral, full-information protocol. This family of protocols contains the Iterated Immediate Snapshot model (IIS), to which many distributed computation models can be reduced. In this sense, our work provides first steps towards a unified topological framework for distributed computing.

The main insight of this work is in considering global states obtained after finite executions of a distributed protocol not as abstract simplicial complexes as was previously done, but as finite spectral spaces, considering the Alexandrov topology on the associated face posets. Using this point-set topological approach, coupled with the interpretation of a distributed protocol as an endofunctor Π on the category of simplicial complexes, we show that any initial configuration can be associated to a projective limit system of finite complexes. The limit thereof is a spectral space Π() which precisely encodes the behavior of the protocol presented by Π. This leads us to derive a new general distributed computability theorem using Stone duality: a protocol Π solves a colorless task (,𝒪,Δ) if and only if there exists a spectral map f:Π()𝒪 compatible with Δ.

From this general characterization, we derive known colorless computability theorems, and provide new insights into the previously established connection between task-solvability and continuous maps between geometric realizations. This is achieved through Stone duality, a well established tool for such tight correspondences in computer science.

Keywords and phrases:
simplicial complex, partial order, spectral spaces, Stone duality, categorical semantics
Category:
Track B: Automata, Logic, Semantics, and Theory of Programming
Copyright and License:
[Uncaptioned image] © Cameron Calk and Emmanuel Godard; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Distributed computing models
; Theory of computation Categorical semantics
Related Version:
Full Version: https://arxiv.org/abs/2511.03609 [4]
Funding:
This work is supported by grant DisQC ANR-22-CE47-0002-01 from the French National Research Agency, the Amidex fondation and project ANR-23-PECL-0009 TRUSTINCloudS (PEPR Cloud).
Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele Puppis

1 Introduction

One of the most important results in distributed computing is the identification of finite combinatorial topology, in the form of simplicial complexes and their structure maps, as the natural setting of the subject. A typical distributed problem, a task, is for example presented as a triple (,𝒪,Δ) where and 𝒪 are simplicial complexes, and Δ a relation between them (see Section 3.2 for details). Furthermore, at least for some tasks, it is known that continuous maps between the geometric realizations of associated simplicial complexes classify which tasks can be solved by the protocol. While many generalizations and applications of this topological approach have been developed, still to this day, the direct connection between distributed computing and continuous maps between geometric realizations was unclear. Here, we identify spectral spaces, arising as limits of the finite combinatorial topology models of distributed computing, as the underlying phenomenon behind this remarkable connection. Our work shows that this topological characterization is in fact a result of Stone duality, which is a well established tool for such correspondences in computer science. This additionally allows us to obtain a version of the original result which applies to a much wider class of protocols.

Topological methods for distributed computability

In a distributed system, several processes attempt to coordinate through some form of communication in order to solve a task. As opposed to sequential systems, in which computability can be characterized by various equivalent abstract objects such as Turing machines or λ-calculus, task-solvability, i.e. (distributed) computability, has no known universal model. Moreover, distributed computability is not, in essence, limited by the computing power of each process, the main obstruction being the lack of global information available to each process. Characterizing task-solvability for general models of communication has been a central question in distributed computing since its foundation. In 2004, Herlihy and Shavit [19], as well as Saks and Zaharoglou [23], building on the work of Borowsky and Gafni [2, 3], were awarded the Gödel prize for showing that central problems in distributed computability can be understood and solved using topology.

Indeed, the possible epistemic states of a distributed system fit nicely into finite combinatorial objects called simplicial complexes, which have a clear topological interpretation. Concretely, such an object consists of all possible global states of the system, glued along shared subsets. Each global state in a distributed system is a collection of local states. This object not only represents the combinatorics of possible configurations, but also encodes the lack of global information available to each process: a process in a certain local state cannot distinguish between two global states if its local state lies in their intersection. Simplicial complexes, which can also be thought of as spaces built by gluing together points, lines, triangles and their higher dimensional analogues, thus precisely encode the epistemic ambiguities of the system.

In sequential computing, a program specification consists of a relation between a set of inputs and a set of outputs. A distributed specification is encoded similarly, but due to the multiplicity of processes, must relate a complex of inputs to a complex of outputs. In the simplicial semantics of distributed computing mentioned above, a colorless distributed task is presented as a triple (,𝒪,Δ) where and 𝒪 are simplicial complexes, and Δ is a relation between global states in and legal output states in 𝒪 which respects the simplicial structure. Classically, global states in distributed systems are given by sets of pairs (p,v) where p is a process and v is a value. However, for certain tasks, this information is superfluous. Indeed, a distributed task is said to be colorless if its specification does not depend of the multiplicity of values in the inputs and outputs. This is a sub-class of interest that contains agreement tasks, like Consensus. Such agreement tasks are central to distributed computing since they correspond to reliable recovery from faults in replicated databases, an area of tremendous practical interest. Formally, this means that we can describe such tasks with (achromatic) simplicial complexes, rather than with chromatic complexes, in which process identities are encoded by a labeling function, see Section 3.1.

On the other hand, a distributed protocol describes the modalities of exchange of information, for example whether it be via message-passing or a shared-memory object, if it is round-based or asynchronous, or whether processes can crash. Exchanges of information lead to new global states reachable from the input states. These reachable global states, glued along common subsets of processes’ local states, form the so-called protocol complex 𝒫. As in the case of distributed tasks, distributed protocols can thus also be encoded as a relation π between global states in and the corresponding reachable states in 𝒫. In this paper, we consider achromatic models of protocols. In cases where the communication does not depend on processes’ identities, but only on their values, we can, as in the case of colorless tasks, describe the epistemic dynamic of the communication purely in terms of (achromatic) simplicial complexes.

A distributed protocol solves a task if, for every execution, each process can locally decide on an output value consistent with specification Δ. In this case we say that the task is solvable or, equivalently, computable. For colorless tasks and achromatic protocols, solving corresponds to the existence of a simplicial map δ:𝒫𝒪, called the decision map, which is compatible with the specification Δ. The simplicial semantics of distributed computing is further detailed in Sections 3 and 5.1. This combinatorial presentation of distributed systems resulted in many novel impossibility results for colorless task-solvability using purely topological arguments. In particular, for the Iterated Immediate Snapshot (IIS) model [19, 17], colorless task-solvability is related to the existence of a continuous map between the geometric realizations of the associated input and output complexes. In this paper, we present novel topological and categorical techniques which extend this characterization of colorless task-solvability to a wider class of models, while also explaining the phenomena behind the original result.

Our Contributions

In short, our main contribution is the identification of spectral topology as a natural and fruitful extension of the simplicial semantics for distributed computing. This perspective allows us to generalize known colorless topological computability results to any round-based, content-neutral, full-information model of computation. We achieve this by encoding such a protocol as an endofunctor Π on the category of simplicial complexes. Using this, we associate a spectral space Π() to any input complex , which can be described abstractly in terms of a projective limit, but also concretely as a space of sequences, the latter being closely related to executions and corresponding knowledge, see Proposition 3. These spaces characterize computability, as is shown in Theorem 6, which states that a protocol Π solves a task (,𝒪,Δ) if, and only if, there exists a spectral map from Π() to the output complex 𝒪 which respects the specification Δ.

Finally, we show in Theorems 8, 9 and 10 that this spectral approach is consistent with the original results for the IIS protocol: a colorless task (,𝒪,Δ) is solvable by the IIS protocol if, and only if, there exists a continuous map f:𝒪 compatible with Δ between the geometric realizations of the input and output complexes. These results exploit the fact that such protocols correspond simplicially to some subdivision of the input complex. Here, we show that this result holds for any protocol defined by a mesh-shrinking subdivision functor. Indeed, for such protocols we show in Lemma 13 that the existence of a spectral map Π()𝒪 compatible with Δ is equivalent to the existence of a continuous map 𝒪 also compatible with Δ.

Related Works

Our approach relies on the interpretation of distributed protocols as endofunctors on the category of simplicial complexes. While concurrency theory has a long history of using categorical methods (e.g. [24, 21]), this is unusual in distributed computing. Following previous works [16], preprints [15, 10, 9] have recently deepened a categorical approach to distributed protocols, using algebraic and sheaf theoretic methods respectively. While our functorial encoding of protocols, although limited for the time being to the case of achromatic protocols, is similar to that described in [15], our use of Stone duality reunites the algebraic and logical point of view they develop with the topological approach using simplicial complexes, see Section 6 for a further discussion.

Stone duality is an effective tool in theoretical computer science which expresses the link between computational behaviors and specifications. As emphasized in the survey [11], topology is the “magic ingredient” which makes this correspondence work. This article demonstrates that Stone duality can also be naturally applied to questions of task-solvability for distributed systems, while extending and explaining the current literature, see the discussion in Section 6 about other recent topological approaches. We believe that leveraging these duality techniques has the potential to transform research in distributed computing by reconciling the topological, combinatorial, algebraic and logical approaches to the subject, with the long-term goal of establishing a unified semantics for distributed computing. The present work is a step in this direction, in which we focus on the most simple presentation of distributed computability, namely the case of colorless computability for achromatic protocols.

The reason for this restriction is two-fold. On the one hand, the construction of the spectral space Π() relies on Stone duality and the characterization of spectral spaces as projective limits of finite posets. A further investigation into the properties of projective limits of chromatic simplicial complexes is needed in order to extend our techniques to the chromatic case. On the other hand, the semantic relationship between achromatic and chromatic protocols and their task-solvability for colorless or colored tasks is not well understood. In order to achieve our end-goal of a unified semantics, these relationships need to be faithfully modeled within our framework. For this reason, we provide here a full description of our techniques in the simplest paradigm of distributed computability, namely colorless task-solvability for achromatic models. This will allow us to extend these techniques to chromatic protocols and uncolored tasks, and then to colored tasks, from a solid formal basis. A preliminary investigation into colorless task-solvability for chromatic protocols is presented in Appendix A, see also the discussion in Section 6.

2 Preliminaries

Let X and Y be sets. Given a map f:XY we denote by f1 the inverse image map associated to f, i.e. f1:𝒫(Y)𝒫(X), where 𝒫(X) is the powerset of X. The forward image map associated to f is denoted by f:𝒫(X)𝒫(Y). Given an element xX and subsets AX and BY, we write f(x)Y to denote the image of x, f[A] or f[A] for the forward image of A, and f1[B] for the inverse image of B. This helps to notationally distinguish at which level we are considering f: on the set or on the powerset.

We use standard notation and terminology for order and duality theory, see e.g [8, 12] for relevant definitions. Given a poset P, we denote by 𝒰(P) and 𝒟(P) the lattices of up-sets and down-sets of P, respectively. Given a monotone map f:PQ between posets, we will abuse notation by writing f1:𝒟(Q)𝒟(P) and f:𝒟(P)𝒟(Q) for the restriction of f1 and f to downsets.

2.1 Simplicial complexes

For the purposes of this paper, we will consider a simplicial complex 𝒞 over a finite set of vertices V to be a down-set in the poset (𝒫(V){},). This is a simple reformulation of the classical definition of simplicial complexes. Elements σ𝒞 are called simplices, minimal elements are called vertices and downsets A𝒞 are called subcomplexes. We denote by V𝒞 the set of vertices of 𝒞, and by 𝒟(𝒞) its lattice of subcomplexes. We denote by dim(σ):=|σ|1 the dimension of σ, and by dim(𝒞)=max{dim(σ)σ𝒞} the dimension of a complex 𝒞. A simplex of dimension k will sometimes be referred to as a k-simplex.

A simplicial map f:𝒞𝒞 is given by a map g:V𝒞V𝒞 such that f=g. Note that the dimension of f(σ) may be of smaller than that of σ. We say that f is rigid when it preserves dimension. The category of simplicial complexes with simplicial maps is denoted by 𝐬𝐂𝐨𝐦𝐩.

In the topological approach to distributed computing, another type of map is often also considered. Given two simplicial complexes 𝒞,𝒞, a carrier map from 𝒞 to 𝒞 is a map ϕ:𝒞𝒟(𝒞), such that for στ in 𝒞, we have ϕ(σ)ϕ(τ). A carrier map is rigid when it preserves dimension, i.e. for a simplex σ of dimension d, ϕ(σ) is a subcomplex of 𝒞 of dimension d. We say that it is strict if it preserves intersections, i.e. ϕ(στ)=ϕ(σ)ϕ(τ). However, note that when ϕ is not strict, we still have ϕ(στ)ϕ(σ)ϕ(τ).

Finally, we endow these structures with a topology. It is well known [12, Section 2.2] that finite posets can be endowed with a topology given by up- and down-sets. This is known as the Alexandrov topology. Since simplicial complexes are a special kind of poset, we will consider them as finite topological spaces endowed with this topology. Explicitly, we consider the topology on 𝒞 in which open sets are up-sets U𝒰(𝒞) and closed sets are down-sets D𝒟(𝒞). With this topology, 𝒞 is a finite T0 space.

2.2 Spectral spaces

Finite T0 spaces are examples of special topological spaces called spectral or Stone spaces, see [8] for a very complete presentation of these spaces and associated results. Recall that in a topological space X, a subset AX is said to be compact if any open cover of A can be refined to a finite open cover111Note that we do not require X to be Hausdorff.. In non-Hausdorff spaces, a compact set is not necessarily closed. For this reason, in such spaces we may consider the set 𝒦𝒪(X) of compact-open subsets of X, i.e. those which are compact and open. A T0, compact and sober topological space X is a spectral space when 𝒦𝒪(X) is closed under finite intersections and is in addition a basis for its topology, i.e. its open sets are generated under arbitrary unions of elements of 𝒦𝒪(X). A spectral map is a continuous function f:XY between spectral spaces, such that for every U𝒦𝒪(Y), f1[U]𝒦𝒪(X). The category of spectral spaces and spectral maps is denoted by 𝐒𝐩𝐞𝐜. In the case of a finite spectral space, which corresponds precisely to a poset P endowed with the Alexandrov topology, we have 𝒦𝒪(P)=𝒰(P), and spectral maps are simply order-preserving maps [12, Section 2.2]. In other words, the category 𝐏𝐨𝐬f of finite posets and order-preserving maps is a full sub-category of 𝐒𝐩𝐞𝐜.

2.3 Stone duality

In this paper we will make extensive use of Stone duality, which establishes a useful connection between distributive lattices and spectral spaces. Given a lattice L, recall that a filter FL is a non-empty up-set which is closed under meets. A filter P is proper when PL and is prime if it is proper and if, for all a,bL, abP implies that aP or bP. We denote by 𝑝𝐹𝑖𝑙𝑡(L) the set of prime filters of L. Endowing 𝑝𝐹𝑖𝑙𝑡(L) with the topology generated by the sets a^={FXaF}, for aL, we obtain a spectral space 𝑆𝑡(L). Denoting by 𝐃𝐋 the category of distributive lattices and lattice homomorphisms, and by 𝐒𝐩𝐞𝐜 the category of spectral spaces and spectral maps, we have a pair of contravariant functors between 𝐃𝐋 and 𝐒𝐩𝐞𝐜:

𝑆𝑡():𝐃𝐋𝑜𝑝𝐒𝐩𝐞𝐜and𝒦𝒪():𝐒𝐩𝐞𝐜𝑜𝑝𝐃𝐋

establishing a duality between 𝐃𝐋 and 𝐒𝐩𝐞𝐜. Concretely, this means that, given a spectral map f:XX between spectral spaces, we obtain a lattice homomorphism f1:𝒦𝒪(X)𝒦𝒪(X) given by inverse image. Conversely, a lattice homomorphism h:LL yields a spectral map 𝑆𝑡(h):𝑆𝑡(L)𝑆𝑡(L), and these assignments are mutually inverse. For a more in-depth treatment of Stone duality, see [12].

As mentioned above, a finite spectral space X is isomorphic to a poset P endowed with the Alexandrov topology, and we have 𝒦𝒪(X)𝒰(P). Conversely, given a finite distributive lattice L, there is a bijection between 𝑝𝐹𝑖𝑙𝑡(L) and the set 𝒥(L) of join-prime elements of L. Summing this up, in the finite case, Stone duality specializes to a duality between 𝐏𝐨𝐬f and 𝐃𝐋f, the category of finite distributive lattices. This is called Birkhoff duality, see [12] for more information. Note however that since 𝒟(P) is order-dual to 𝒰(P), this duality also applies to down-set lattices.

3 Functorial approach for full-information distributed protocols

In this section, we describe the mathematical objects which we use to model distributed protocols. Due to the choice of models we are considering, namely achromatic, content-neutral, round-based full-information adversaries, we can reformulate the operational definition of distributed protocols as endofunctors on the category of simplicial complexes. Before describing this functorial presentation of protocols, we first recall the definitions and intuitions of the simplicial semantics of distributed systems, a full account of which can be found in [17], while a more concise presentation is given in [18].

3.1 Simplicial semantics of distributed computing

Given some number of processes, a chromatic distributed system is the given of a set of possible local views or states for each process, along with subsets thereof describing global states. In the pioneering work of Herlihy and Shavit [19], the authors established a simplicial semantics for task-solvability. Indeed, considering not only global states, but also their subsets, we obtain a simplicial complex. For example, given two processes p and q, each of which can have the possible local state 0 or 1, we obtain the chromatic simplicial complex pictured below on the right, in which the local views of p (resp. q) are colored red (resp. blue). This encoding of a distributed system thus not only contains all global states, but also encodes their indistinguishability for each local state. Indeed, when the red process has value 1, it cannot tell whether it is in a global state in which blue has 0 or 1. Uncertainty here is encoded simplicially by it being a member of two distinct 1-simplices.

Chromatic distributed systems are thus encoded as simplicial complexes decorated with colors representing process identities. However, in many cases of interest in distributed computing, the specification of which process has which view is unimportant; only the values present in the system are considered. The identifiers can thus be projected out of the system, resulting in a regular (achromatic) simplicial complexes. Therefore, in the achromatic case, the interpretation of a simplex {v1,,vk} is that there exists a global state in which each value vi is the local view of at least one process in the system. The simplicial complex corresponding to the chromatic example described above is pictured just below it.

3.2 Colorless Distributed tasks

In order to provide a faithful semantics of task-solvability, we also simplicially describe tasks, i.e. distributed program specifications. For a sequential program, a specification is simply a relation between a set of input values and a set of output values. Since a distributed algorithm outputs a value at each process, a distributed task must relate a collection of inputs with sets of (legal) collections of outputs. A task is said to be colorless [17, Chap. 4.1] if for any input with set of values I, any input formed with a subset II of values is also a possible input, and, symmetrically, for any legal output for a given I with set of values O, an output with set of values OO is also legal for I. This means its specification does not depend of the multiplicity of values in the distributed system, we only have to encode the values present in the system, rather than also keeping track of process identifiers. So, in a colorless task specification, we must relate a complex of input values to a complex 𝒪 of output values. Recall that a relation RX×Y is equivalent, via currying, to a map fRX:X𝒫(Y), defined by fRX(x)={yYxRy}. In the case of a relation between simplicial complexes, respecting the simplicial structure means that the associated map is of the form Δ:𝒟(𝒪) and is required to be monotone. As recalled above in Section 2.1, this is known as a carrier map. In the simplicial semantics, this map is interpreted as the specification that, starting with values in σ, valid outputs are in the sub-complex Δ(σ)𝒟(𝒪). Such a carrier map is called a (colorless) task. As an example, we have illustrated the binary consensus task above on the left. This is the distributed specification in which processes start with values 0 or 1 and must collectively agree on one of them. The specification Δ for binary consensus is pictured in blue; when all processes have value 0 (resp. 1), they must decide on that value, corresponding to the assignment {0}{{0}} (resp. {1}{{1}}). However, when at least one process has 0 and at least on other has 1, they can choose either value, corresponding to the assignment {0,1}{{0},{1}}. Note that simplices, sets of values, are distinguished from sub-complexes, which are sets of sets of values.

3.3 Protocol complexes and strict carrier maps

As recalled previously, distributed computability is concerned with determining which tasks can be solved in a given communication protocol. Above we defined colorless tasks in the simplicial semantics. Here, we describe how achromatic protocols are encoded. For the definition of colorless task-solvability in the simplicial semantics, see Section 5.1 below.

Note that we employ the term colorless (resp. achromatic) to describe tasks (resp. protocols) which can be encoded via (achromatic) simplicial complexes. As mentioned in the introduction, the precise semantic relationship between colored and colorless task-solvability with respect to chromatic or achromatic models is not well understood. For this reason we choose to terminologically distinguish tasks and protocols with respect to (achromatic) simplicial encoding. Henceforth we will consider exclusively colorless tasks and achromatic protocols, and will thus often omit the qualifications “colorless” and “achromatic”.

Broadly speaking, a protocol consists of a set of valid communication scenarios along with their epistemic effect on the input states. Since the order of communications will affect the knowledge of each process, these protocols are inherently non-deterministic. As above, we glue these possible reachable states along common local states to obtain a simplicial complex. For example, consider a system in which at least two processes, starting with either 0 or 1, send each other their local value, and in which at most one message may be lost. The carrier map describing this communication protocol is pictured below on the right.

Indeed, when all processes start with 0 (resp. 1), the only value they can see is 0 (resp. 1), regardless of how many messages are lost. However, when at least one process starts with 0 and another with 1, corresponding to the input simplex {0,1}, there are several possibilities. If no message is lost, all processes see both values, corresponding to the subcomplex {{01}}. If however at least one process having 0 (resp. 1) has not received a message containing a different value than it already has, it sees only 0 (resp. 1), while other processes see 01, corresponding to the sub-complex {{0},{0,01},{01}} (resp. {{1},{1,01},{01}}). Note that if all messages can be lost, we must add an extra simplex to 𝒫, namely {0,1} and include it in the image of π({0,1}).

Summing up, an (achromatic) distributed protocol is given by an input complex encoding input states, a protocol complex 𝒫 encoding reachable states, and a carrier map π:𝒟(𝒫). In [17], carrier maps associated to protocols are required to satisfy additional properties, namely

  • σ1,σ2, π(σ1σ2)=π(σ1)π(σ2) (strictness),

  • σπ(σ)=𝒫 (effective surjectivity).

For this reason, we refer to carrier maps which satisfy these conditions as protocol maps.

The first contribution of this paper is in identifying these conditions as precisely those needed to lift a protocol map to a homomorphism of lattices from 𝒟() to 𝒟(𝒫). Recall that given an order preserving map f:P𝒟(Q), where P and Q are posets, we obtain a union-preserving map, called the join-lift of f:

f: 𝒟(P)𝒟(Q)
A{f(a)aA}.

It is routine to check that strictness and effective surjectivity imply that the join-lift of a protocol map π not only preserves unions, but is in fact a lattice homomorphism π:𝒟()𝒟(𝒫). Applying Birkhoff duality, we can thus conclude that a protocol map is equivalent to a monotone map ρ:𝒫. This insight naturally leads to spectral spaces as the generalization of the simplicial semantics of distributed computability, as is described in Section 4.

The above is a very general definition of a protocol, in the sense that the protocol complex 𝒫 can represent any reachable configuration of distributed knowledge. In this paper, we consider round-based protocols. This means that we have a collection of protocol complexes (𝒫r,πr) for every round r. However, due to the fact that these protocols perform the same actions each round, in certain cases such protocols can be understood as functorial transformations of the input complex. We describe this construction in the following sub-section.

3.4 Round-based full information protocols as endofunctors

For round-based, content-neutral, full-information models, the protocol complex is simply defined and appears as a functorial construction describing how the simplices (i.e. global states) of the input complex are modified by the action of the protocol in one round. The full scope of the correspondence between protocols and functors is not fully known, but we describe the functorial construction for our protocols in Appendix A.5. More precisely, we consider protocols that are

  • Round-based: the communication scheme is temporally organized into rounds, the information only flows inside a given round.

  • Full-information: the distributed system can be described by the tuple of the local states and a process has no limit on the size of information it can share. This implies that it is possible to “store and forward” all information received (doing this repeatedly is called full information algorithm in distributed computing).

  • Content-neutral: the way information is transmitted (or not) does not depend on the actual content of this information.

For the purposes of this paper, a protocol is a pair (Π,π) where Π:𝐬𝐂𝐨𝐦𝐩𝐬𝐂𝐨𝐦𝐩 is a functor and π is a natural transformation between U:𝐬𝐂𝐨𝐦𝐩𝐏𝐨𝐬f, the forgetful functor, and V𝒟Π:𝐬𝐂𝐨𝐦𝐩𝐏𝐨𝐬f, where V:𝐃𝐋f𝐏𝐨𝐬f is the forgetful functor. Given a simplicial complex 𝒞, we require the component π𝒞:𝒞𝒟(Π(𝒞)) to be a protocol map. Furthermore, due to the full-information hypothesis, the join-lifts of the π𝒞 are assumed to be injective maps, see Appendix A.5. Due to this naturality condition, we may consider the components πΠn(𝒞) for each n, which to simplify notation below we denote by πn, obtaining a sequence of maps in the category 𝐃𝐋:

(1)

For nn, we denote by πn,n:𝒟(Πn(𝒞))𝒟(Πn(𝒞)) the composition πnπn1. We also denote by ρ𝒞 the dual map associated to π𝒞, thereby obtaining a natural transformation ρ:UΠU. This is called the dual natural transformation associated to π. Since duality sends monos to epis and the π𝒞 are injective, the maps ρ𝒞 are surjective.

This functorial definition of protocol maps has also been proposed in [15, Section 4], but without the associated natural transformation. Moreover, it is consistent with the description of many well-studied distributed protocols. For example, the Immediate Iterated Snapshot (IIS) protocol corresponds functorially to the barycentric subdivision, and its carrier maps can be defined as natural transformations, see Section A.4.

4 Spectral semantics of distributed computability

The main insight of this paper is to view a simplicial complex as a finite spectral space, that is, in contrast to the usual approach, not as a combinatorial object nor as a Hausdorff topological space built from higher-dimensional triangles. Rather, we view a simplicial complex as a poset endowed with the Alexandrov topology. This establishes the appropriate relationship between simplicial complexes and their lattices of sub-complexes via Birkhoff duality, thereby also simplifying the relationship between carrier maps and simplicial maps. This construction can be taken to the (co-)limit, producing a general spectral space and a dual distributive lattice associated to a given protocol. We fix a simplicial complex for the remainder of this section.

4.1 From endofunctors to inverse limit systems

Applying Birkhoff duality to the sequence (1), or equivalently using the dual natural transformation associated to π, we deduce the existence of order-preserving maps ρn:Πn+1()Πn() on the underlying simplicial complexes. This gives rise to a projective limit system

(2)

in the category of spectral spaces, since each Πn() is a spectral space when endowed with the Alexandrov topology. The theory of spectral spaces [20] tells us that the limit of this diagram, which we denote by Π(), is a spectral space. We denote by ρn,n:ΠnΠn the composition ρnρn1, i.e. the dual of πn,n, and by λn:Π()Πn() the canonical projections associated with the limit construction. Note that since each ρn is surjective, so are the λn.

Moreover, since we consider up-sets as open sets, the colimit of the dual diagram (1) which we denote by 𝒟(), is the lattice of closed sets of Π() whose complements are compact, which generate its closed sets under arbitrary intersections and finite unions. We denote by in:𝒟(Πn())𝒟() the canonical maps associated with the colimit, which by duality are injective, see Remark 2. Summing this up, we obtain our first theorem.

Theorem 1.

A protocol (Π,π) defines functors Π:𝐬𝐂𝐨𝐦𝐩𝐒𝐩𝐞𝐜 and 𝒟:𝐬𝐂𝐨𝐦𝐩𝑜𝑝𝐃𝐋, such that for any simplicial complex , 𝒟() generates the closed sets of Π().

Proof.

The assignments 𝒟(),Π() are well defined by co-completeness of 𝐃𝐋 and since directed limits of finite T0 spaces are spectral (see [20], Proposition 10), respectively. Functoriality is a consequence of the universal property of (co-)limits. Explicitly, for a simplicial map ϕ:, we deduce morphisms Πnϕ:Πn()Πn() meaning that Π() is a cone under (Π()). By the universal property of limits, we obtain a unique arrow Πϕ:Π()Π(). For 𝒟 the proof is similar except for that the dual universal property for colimits implies contravariance.

Under Stone duality, the dual lattice to Π() is its set of compact-opens. In terms of colimits, this means we are considering the spectral space dual to the colimit 𝒰() of the sequence

(3)

where 𝒰(Πn())is the up-set lattice of Πn() and the maps are those induced from (2) by Birkhoff duality. Since each 𝒟(Πn()) consists of the complements of 𝒰(Πn()), we see that this means that 𝒟() is the set of closed sets in Π() whose complements are compact-open, and thus generates its closed sets.

 Remark 2.

We underline here that, following the discussion at the end of the above proof, the maps in associated with the colimit construction are not the dual maps of the λn. Indeed, the dual maps of the λn are maps 𝒰(Πn())𝒦𝒪(Π()), where 𝒰(Πn()) and 𝒦𝒪(Π()) are the order duals of 𝒟(Πn()) and 𝒟(), respectively. The sequence above involving up-set lattices is obtained from (2) by Birkhoff duality, so its maps are the order duals of the πn, meaning that the in are the order duals of the dual maps of the λn.

4.2 The spectral space of a protocol

Here we describe the spectral space Π() concretely. Indeed, we show that points in Π() correspond to certain sequences of simplices and explicitly describe its topology. This will lead us nicely to our main result, namely that the topology on Π() characterizes task solvability, see Theorem 6 below. To this end, we consider sequences (σn)n of simplices such that for all n,

  • σnΠn(),

  • σn+1πn(σn), or equivalently, ρn(σn+1)=σn.

We call these protocol sequences. Since Π() is the limit of the sequence (2), we have [8, Section 2.3.9] that the underlying set of Π() is {(σ)Πn()ρn(σn+1)=σn}, that is, the set of protocol sequences. By [8], the specialization order on Π() is determined point-wise. More explicitly, given protocol sequences (σ) and (τ), we have (σ)(τ) if, and only if, for all n σnnτn, where n is the specialization order in the finite T0 space Πn(). The latter is given by σnnτnσnτn, whereby we deduce (σ)(τ) if, and only if, σnτn for all n. Finally, we have the following characterization of Π(). See also Appendix A.4 for a full description of the spectral space associated to the IIS protocol.

Proposition 3.

Given a protocol (Π,π), we obtain a functor Π:𝐬𝐂𝐨𝐦𝐩𝐒𝐩𝐞𝐜 sending a simplicial complex to the spectral space Π(), such that

  • The points of Π() are in one-to-one correspondence with protocol sequences (σ),

  • The sets Un,v:={(τ)Π()τnσ}=λn1(v) form a sub-basis for the open topology.

  • The specialization order on Π() is defined by xσxτn,σnτn, i.e. the opposite order of the point-wise order on protocol sequences.

5 Colorless Computability

In this section, we prove our main result, namely a topological characterization of colorless computability. First, we recall the formal definition of solving a task from [17] and reformulate via Stone duality to be better adapted to our proof methods.

5.1 Generalized computability

We say that a protocol solves a task (,𝒪,Δ) if there exists an n and a simplicial map δ:Πn()𝒪, such that for all σΠn(), δ(π0,n(σ))Δ(σ). Remarking that in full information models, distributed algorithms have a canonical presentation as full information algorithms, this is the classical definition of the simplicial semantics of distributed computing (see e.g. [17]), which we reformulate exclusively in terms of down-set lattices. Unwinding the definitions of the join-lift of a map and using the adjunction between inverse and direct images, one easily proves that the diagram on the left sub-commutes if, and only if, the diagram on the right sub-commutes, i.e. for A𝒟(), π0,n[A]δ1[Δ[A]. Note that the right-hand diagram is not in 𝐃𝐋 since Δ only preserves joins in general.

(4)

Given a task (,𝒪,Δ) and a protocol (Π,π), we say that a spectral map f:Π()𝒪 is carried by Δ provided that i0[A]f1[Δ[A]].

Finally, we recall that the geometric realization 𝒞 of a simplicial complex 𝒞 is, roughly speaking, the interpretation of each n-simplex as the convex hull of n+1 linearly independent points in n+1, glued along common sub-simplices, see [14, p. 7] for a more detailed account. As above for spectral maps, we say that a continuous map f:𝒪 is carried by Δ provided that, for all σ, f(σ)Δ(σ). In [17, Thm. 4.2.3], the authors show that for the IIS protocol, task-solvability is equivalent to the existence of a continuous map 𝒪 carried by Δ, see Theorem 8 in the Appendix. The goal of this section is to generalize this groundbreaking topological characterization of task-solvability.

5.2 Distributed Computability theorem

Before formulating our main result, we first prove the following lemma:

Lemma 4.

Given a a spectral map f:Π()𝒪, there exists n such that f sub-factorizes as Π()λnΠn()𝛿𝒪, i.e. δλnf, where δ is a simplicial map, and λn is the canonical projection.

Proof.

The family (w)wV𝒪 is an open covering of 𝒪, so (f1(w))wV𝒪 is a covering of Π(). Since f is spectral, each of the sets f1(w) is compact-open in Π(), so there exist finite families (niw) and (σiw) so that f1(w)=iλniw1(σiw) and σiwΠniw(). Since (3) is a filtered colimit with injective maps, we can choose a uniform n, so without loss of generality, there exists a finite family (σjw)Πn() with f1(w)=jλn1(σjw). Putting this together, we conclude that the finite union wV𝒪,jλn1(σjw) is an open cover of Π().

This implies that for every vVΠn(), there exists a wvV𝒪 so that λn1(v)f1(wv). Indeed, since λn is surjective, there exists some xΠ() with λn(x)=v, and since the family λn1(σjw) covers Π(), there exists σkw with xλn1(σkw) and so v=λn(x)σkw. By minimality of v, we conclude v=σkw. In particular, since f(w)=jλn1(σjw), we have λn1(v)=λn1(σkw)f1(w). We denote this wV𝒪 by wv.

Define a map d:VΠn()V𝒪 by d(v)=wv. We verify that δ=d is simplicial. To that end, let σ={v1,,vt} be a simplex of Πn(). Since λn is surjective, f(λn1(σ)) is non-empty, so we can choose σf(λn1(σ)). Furthermore, we have f(λn1(σ))f(λn1(vi))d(vi) for all i since λn1(vi)f1(wvi). In particular, σid(vi), i.e. δ(σ)={d(v1),,d(vt)}σ, from which we conclude that δ(σ) is a simplex in 𝒪. Finally, we have that δλnf. Indeed, for vλn(x), we have λn1(v)f1(d(v)) so in particular f(x)d(v), i.e. d(v)f(x) for each vλn(x), showing the sub-factorization.

 Remark 5.

The above proof is similar to the proof using simplicial approximation found in [17, Proposition 3.7.3], generalized to the case of spectral maps. Indeed, the conclusion is reached by showing that f satisfies the so-called star condition, namely that there exists n such that for all vVΠn(), there exists wV𝒪 such that f(λn1(v))w.

Theorem 6.

A protocol (Π,π) solves a colorless distributed task Δ:𝒟(𝒪) if, and only if, there exists a spectral map f:Π()𝒪 carried by Δ.

Proof.

If (Π,π) solves the task, there exists n and a simplicial map δ:Πn()𝒪 so that π0,nδ1Δ. Then f=δλn is a spectral map which is carried by Δ. Indeed, we have i0=inπ0,ninδ1Δ=f1Δ. The final equality holds since f1:𝒟(𝒪)𝒟() is the order dual of 𝒦𝒪(f) and in is the order dual of 𝒦𝒪(λn), see Remark 2.

Conversely, given a spectral map f:Π()𝒪 and applying Lemma 4, we obtain a simplicial map δ:Πn()𝒪 satisfying δλnf. Routine verification shows that this implies that 𝒦𝒪(λn)𝒦𝒪(δ)𝒦𝒪(f), so by order duality we have f1inδ1. By hypothesis, i0f1Δ, so substituting i0=inπ0,n yields inπ0,nf1Δ=inδ1Δ. By injectivity of in, we obtain π0,nδ1Δ, i.e. Δ is carried by δ.

 Remark 7.

When the protocol is Iterated Immediate Snapshot (IIS), this computability theorem is exactly the layered (round-based) version of the celebrated Asynchronous Computability Theorem (ACT) of Herlihy and Shavit [19]. This is further elaborated in Appendix A.

6 Conclusion

In this paper we have introduced a novel topological encoding for round-based, content-neutral, full-information achromatic distributed protocols via spectral spaces and shown that this leads to a characterization of colorless computability generalizing the classical colorless computability theorems. These preliminary results demonstrate the effectiveness of this approach. However, we envisage many extensions of the present state of the spectral semantics. First, we position our work with respect to other topological approaches to task-solvability.

Comparison with previously defined spaces

Before comparing our contribution with previously defined spaces, we summarize previous works related to topological methods in distributed computing. Topological methods were pioneered by Herlihy and Shavit [19], Saks and Zaharoglou [23]. This yielded a first wave of applications that were collated in the book of Herlihy, Koslov and Rajsbaum [17]. A second wave is currently extending the results to many other models than the asynchronous wait-free read-write, tresilient or IIS models that are considered in [17]. Recently, there have been two lines of work toward a generalization. In [22, 1], arbitrary round-based models were considered and it was proved that there exists a general topological space (first introduced for the Consensus task in [22]) such that a colored task (,𝒪,Δ) is solvable against if and only if there is a chromatic simplicial map f:𝒪 [1, Thm.5.4]. In [13, 6, 7], the generalization is furthered by considering arbitrary subsets of executions of IIS. Many classical asynchronous models can be presented this way, so this was a step towards a general computability theorem. However the results that were obtained in [7] are only for colorless tasks : a colorless task (,𝒪,Δ) is solvable in model IIS if and only if there is a continuous function f:geo(×)𝒪, where geo, the “geometrization mapping”, sends a model to a subset of ||.

The first line of work is more general (more adversaries, all tasks) but has somewhat abstract topological statements, while the second line of work has simpler geometric statements but only for specific adversaries and colorless tasks. To see why, despite the generality of the approach, it is not straightforward to derive the results from the second line of work from the first, one could compare the statement for computability of set-agreement in sub-IIS models in [1, Thm. 4.2] and [6, 7, Thm. 25]. By showing that a general topological representation of a distributed system should be a spectral space, and leveraging the Stone duality, our contribution unifies both approaches and takes the best of both lines of work : general topological statements for distributed computability that are amenable to simple geometric proofs for colorless tasks.

We underline that our spectral space Π() is not the space from [1, Theorem 5.4], which is Hausdorff; nor from [22], which is chromatic, but also contains only executions. Our approach using spectral spaces allows us to separate distinct executions while retaining a strong topological relation when they are indistinguishable in the sense of distributed computation. This is now apparent within the specialization order of the spectral topology, since executions are indistinguishable precisely when they are below the same maximal point w.r.t. the specialization order. In [6], the chromatic IIS model is investigated, that is, the standard chromatic subdivision protocol. The set of executions is projected onto a geometric subset of N by a geo mapping. In [6, Th. 25], it is shown that it is possible to classify the geometric points by the number of pre-images in the set of executions : 1, 2 or infinity. This would have provided a similar classification if the achromatic IIS model had been considered. This agrees with our Prop. 18 classifying down-sets in the specialization order. As noted previously, execution sequences, i.e. protocol sequences consisting of maximal simplices, are in one-to-one correspondence with executions. So it seems that the spectral space contains both the geometric points and the associated executions, with the following structure : whenever a point has only one execution as pre-image, it corresponds to an execution sequence, whereas, when the point has at least two pre-images, we have both the geometric point, as a maximal point in the spectral space, and the associated execution sequences as minimal points in its down-set under the specialization order. So the spectral space we construct could be interpreted as containing the merge (without unnecessary duplication) of the set of execution sequences and the set of “limit geometrization” points, as well as all intermediary protocol sequences, all organized into a nice T0 space. This is made explicit for the achromatic IIS protocol in Appendix A.

Future Work

Future extensions include determining equivalence of models by studying the topological relationship between the associated spectral spaces, as indicated by Theorem 14, but also investigating how to consider their subspaces as submodels in order to treat so called non-compact models. Since submodels of IIS have been proved [7] to have the same kind of geometric computability characterization, we believe this should be achievable in the framework of this paper.

It is also important to determine how to describe general (colored) tasks using a similar spectral approach. As briefly discussed in the introduction, this requires a mathematical investigation of projective limits of chromatic simplicial complexes, and in particular defining a notion of chromatic spectral space. In addition, in order to obtain a unified framework, a minute understanding of the semantic relationship between chromatic and achromatic models, as well as between colored and uncolored tasks, must be established. These two directions constitute immediate future work, which will be informed and ramified by the description of chromatic models in related works. In particular, we believe that the algebraic approach given in [15] is highly related to our topological approach via Stone duality; the dual of the appropriate chromatic spectral space should precisely correspond to the limit algebra they define. Furthermore, the topological approach to chromatic models given in [1] is given by an ultra-metric, these being well-known to correspond to Priestley spaces, which are derivable from spectral spaces via the patch topology construction.

Finally, an extension to the case of asynchronous protocols is necessary to achieve a unified semantics. As opposed to round-based protocols, processes are allowed to continue communicating even if some processes are very slow. Describing such protocols also constitutes a future research direction.

References

  • [1] Hagit Attiya, Armando Castañeda, and Thomas Nowak. Topological characterization of task solvability in general models of computation. In DISC, volume 281 of LIPIcs, pages 5:1–5:21, 2023. doi:10.4230/LIPIcs.DISC.2023.5.
  • [2] E. Borowsky and E. Gafni. Immediate atomic snapshots and fast renaming. In Proc. of the 12th Annual ACM Symposium on Principles of Distributed Computing, 1993.
  • [3] Elizabeth Borowsky and Eli Gafni. A simple algorithmically reasoned characterization of wait-free computation (extended abstract). In Proceedings of the 16th Annual ACM Symp. on Principles of Distributed Computing, PODC ’97, pages 189–198. ACM, 1997. doi:10.1145/259380.259439.
  • [4] Cameron Calk and Emmanuel Godard. Stone duality proofs for colorless distributed computability theorems. CoRR, abs/2511.03609, 2025. doi:10.48550/arXiv.2511.03609.
  • [5] William H. Cornish. n-normal lattices. Proceedings of the American Mathematical Society, 45(1):48–54, 1974. URL: http://www.jstor.org/stable/2040604.
  • [6] Yannis Coutouly and Emmanuel Godard. A topology by geometrization for sub-iterated immediate snapshot message adversaries and applications to set-agreement. In DISC, LIPIcs, pages 15:1–15:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPIcs.DISC.2023.15.
  • [7] Yannis Coutouly and Emmanuel Godard. A simple computability theorem for colorless tasks in submodels of the iterated immediate snapshot. In DISC, volume 319 of LIPIcs, pages 16:1–16:22, 2024. doi:10.4230/LIPIcs.DISC.2024.16.
  • [8] Max Dickmann, Niels Schwartz, and Marcus Tressl. Spectral Spaces. New Mathematical Monographs. Cambridge University Press, 2019.
  • [9] Stephan Felber, Bernardo Hummes Flores, and Hugo Rincon Galeana. Ba: A sheaf-theoretic characterization of tasks in distributed systems. In SIROCCO, volume 15671 of lncs, pages 425–430. Springer, 2025.
  • [10] Stephan Felber, Bernardo Hummes Flores, and Hugo Rincon Galeana. A sheaf-theoretic characterization of tasks in distributed systems. CoRR, abs/2503.02556, 2025. doi:10.48550/arXiv.2503.02556.
  • [11] Mai Gehrke. Duality in computer science. In LICS, pages 12–26. ACM, 2016. doi:10.1145/2933575.2934575.
  • [12] Mai Gehrke and Sam van Gool. Topological Duality for Distributive Lattices. Cambridge Tracts in Theoretical Computer Science. Cambridge University Press, 2024.
  • [13] Emmanuel Godard and Eloi Perdereau. Back to the coordinated attack problem. Math. Struct. Comput. Sci., 30(10):1089–1113, 2020. doi:10.1017/S0960129521000037.
  • [14] P.G. Goerss and J.F. Jardine. Simplicial Homotopy Theory. Progress in mathematics (Boston, Mass.) v. 174. Springer, 1999. URL: https://books.google.com/books?id=xFwXQCtNcUoC.
  • [15] Eric Goubault, Bernardo Hummes Flores, Roman Kniazev, Jérémy Ledent, and Sergio Rajsbaum. A categorical and logical framework for iterated protocols. CoRR, abs/2505.10071, 2025. doi:10.48550/arXiv.2505.10071.
  • [16] Eric Goubault, Samuel Mimram, and Christine Tasson. Iterated chromatic subdivisions are collapsible. Appl. Categorical Struct., 23(6):777–818, 2015. doi:10.1007/S10485-014-9383-6.
  • [17] Maurice Herlihy, Dmitry N. Kozlov, and Sergio Rajsbaum. Distributed Computing Through Combinatorial Topology. Morgan Kaufmann, 2013.
  • [18] Maurice Herlihy, Sergio Rajsbaum, and Michel Raynal. Computability in distributed computing: A tutorial. SIGACT News, 43(3):88–110, 2012. doi:10.1145/2421096.2421118.
  • [19] Maurice Herlihy and Nir Shavit. The topological structure of asynchronous computability. J. ACM, 46(6):858–923, 1999. doi:10.1145/331524.331529.
  • [20] M. Hochster. Prime ideal structure in commutative rings. Trans. of the Am. Math. Society, 142:43–60, 1969. URL: http://www.jstor.org/stable/1995344.
  • [21] Mogens Nielsen, Vladimiro Sassone, and Glynn Winskel. Relationships between models of concurrency. In REX School/Symposium, volume 803 of lncs, pages 425–476. Springer, 1993. doi:10.1007/3-540-58043-3_25.
  • [22] Thomas Nowak, Ulrich Schmid, and Kyrill Winkler. Topological characterization of consensus under general message adversaries. In PODC, pages 218–227. ACM, 2019. doi:10.1145/3293611.3331624.
  • [23] M. Saks and F. Zaharoglou. "wait-free k-set agreement is impossible: The topology of public knowledge. SIAM J. on Computing, 29:1449–1483, 2000. doi:10.1137/S0097539796307698.
  • [24] Glynn Winskel. Categories of models for concurrency. In Seminar on Concurrency, volume 197 of lncs, pages 246–267. Springer, 1984. doi:10.1007/3-540-15670-4_12.

Appendix A Applications to IIS model

Here we describe the applications of spectral topology and duality theory to a specific model of distributed computing. This culminates in proving, via novel methods, the following classical result:

Theorem 8 (Colorless Distributed Computability Theorem for achromatic IIS, [17, Thm. 4.2.3]).

Let (,𝒪,Δ) be a colorless task. It is solvable by an Iterated Immediate Snapshot protocol if and only if there exists a continuous map f:𝒪 carried by Δ.

Theorem 9 (Colorless Distributed Computability Theorem for (chromatic) IIS, [17, Thm. 4.3.1]).

Let (,𝒪,Δ) be a colorless task for a chromatic protocol on n+1 processes. It is solvable by a chromatic immediate iterated snapshot protocol for n+1 processes if and only if there exists a continuous map f:𝒪 carried by Δ.

Theorem 10 (Strong Colorless Distributed Computability Theorem for IIS).

Let (,𝒪,Δ) be a colorless task. It is solvable by the achromatic immediate iterated snapshot protocol if and only if it is solvable by the chromatic immediate iterated snapshot protocol for any number of processes.

Theorem 10 is a consequence of the previous two. In this section, we show that mesh-shrinking subdivision protocols, chromatic or achromatic, all have equivalent colorless task-solvability, thereby directly obtaining the above result by more general arguments. We also prove Theorem 14, which allows us to recover Theorem 10 via natural transformations between the functors associated to the achromatic and chromatic IIS protocols. We then finish by providing a full description of the spectral spaces associated to the achromatic IIS protocol. However, first we need to define colorless task-solvability for chromatic protocols.

A.1 Chromatic protocols

Recall that an n-labeling of a simplicial complex 𝒞 is a map l:V𝒞{1,,n}. A chromatic simplicial complex is an n-labeled simplicial complex such that for all σ𝒞, the restriction l|σ:σ{1,,n} is injective. Given chromatic complexes (𝒞,l) and (𝒞,l), a simplicial map f:𝒞𝒞 is chromatic if for every vV𝒞, l(v)=l(f(v)). Similarly, a carrier map ϕ:𝒞𝒟(𝒞) is chromatic if ϕ is rigid and for all σ𝒞, we have l(σ)=l[ϕ(σ)]. The category of chromatic simplicial complexes and chromatic simplicial maps is denoted by 𝐜𝐡𝐫𝐂𝐨𝐦𝐩. Finally, we recall that a simplicial complex is pure if every maximal simplex σ𝒞 satisfies dim(σ)=dim(𝒞).

In [17], a protocol for (n+1) processes is defined as a triple (,𝒫,π) where and 𝒫 are pure, n-dimensional chromatic complexes, and π:𝒟(𝒫) is a chromatic carrier map. Adapting this to our functorial approach, we will consider a chromatic protocol to be a pair (Π,π) where Π is an endofunctor on 𝐜𝐡𝐫𝐂𝐨𝐦𝐩 and π:UV𝒟UΠ, where U:𝐜𝐡𝐫𝐂𝐨𝐦𝐩𝐏𝐨𝐬f is the forgetful functor, such that every component π𝒞 is a chromatic carrier map. As in the case of colorless protocols, for each chromatic input complex , this data gives a projective limit system in the category 𝐏𝐨𝐬f, meaning we obtain a functor Π:𝐜𝐡𝐫𝐂𝐨𝐦𝐩𝐒𝐩𝐞𝐜.

A colorless task for a chromatic protocol on n+1 processes is a triple (,𝒪,Δ), where is a pure, n-dimensional chromatic complex, 𝒪 is a simplicial complex, and Δ is a carrier map. A chromatic protocol solves a colorless task provided that there exists n and a simplicial map δ:Πn()𝒪 such that the diagrams in (4) sub-commute. Note that neither Δ nor δ are chromatic in general. All of our constructions for achromatic protocols extend to colorless task-solvability for chromatic protocols, meaning that Theorem 6 equally applies to chromatic protocols and their colorless tasks.

A.2 Mesh-shrinking subdivision operators

Here we refine our characterization of spectral spaces obtained from protocols in the case of mesh-shrinking protocols, i.e. those for which the associated endofunctor on simplicial complexes Π is a mesh-shrinking subdivision operator. Indeed, in this case, the spectral space contains the geometric realization of the considered input complex as its subspace of maximal points.

A mesh-shrinking subdivision operator is a functor Π:𝐬𝐂𝐨𝐦𝐩𝐬𝐂𝐨𝐦𝐩 such that

  • Π(𝒞) is homeomorphic to 𝒞 (subdivision),

  • The diameter of realizations of protocol sequences vanish (mesh-shrinking), that is, diam(σn)n0 where, for A𝒞, diam(A)=max{d(x,y)x,yA}.

Now, consider a protocol (Π,π) where Π is a mesh-shrinking subdivision operator. We write Rn={AA𝒟(Πn())} for the lattice of realizations of elements of 𝒟(Πn()). Since AB=AB and AB=AB, we have Rn𝒟(Πn()). Abusing notation, we will write πn:RnRn+1. The colimit of these maps gives a basis for the closed sets of . Before showing this, we need some definitions. Given a point x, let

  • σnx the unique simplex of minimal dimension in Πn() such that xσnx,

  • Cnx:=(σnx) the closed star of σnx.

  • Γnx:={σΠn()σnxσ},

By construction, σnx is the smallest closed set containing x in Rn, and we have σn+1xσnx, so σnx={x}. Moreover, observing that the set Γnx is a downset in Πn(), and the complement of its realization is (Cnx)o, the interior of Cnx, we conclude that the latter is the smallest open containing x which is obtainable from complementing elements of Rn. Finally, since Π is mesh-shrinking, we know that the diameters of the sequences (σnx)n and (Cnx)n go to zero as n goes to infinity.

Lemma 11.

The sets ((Cnx)o) for x and n generate the open topology of . The colimit R of the diagram of maps (πn:RnRn+1) is a basis for its closed sets.

Proof.

Let x and X be a closed set in not containing x. By the above remarks, we know that there exists n such that (Cnx)oXc. Thus XΓnx, and by construction xΓnx.

This result states that the co-frame of closed sets for Π() and are isomorphic. This is sufficient to conclude that is homeomorphic to the subspace of maximal points of Π() by the works pioneered by Wallman and Frink, see Cornish [5] for more details.

Proposition 12.

Given a mesh-shrinking protocol (Π,π) and a simplicial complex , the geometric realization is isomorphic to the subspace of Π() consisting of maximal points with respect to the specialization order, and the map max:Π() is continuous.

Moreover, each point x corresponds to the protocol sequence (σnx), and its principal down-set in the specialization order is order-dual to the set of protocol sequences (σ) such that xσn, ordered point-wise.

A.3 Final proofs

Theorems 8 and 9 are direct consequences of Theorem 6 and the following lemma. First we need the following definition: given a task (,𝒪,Δ) and a continuous map 𝒪, we say that f is carried by Δ provided that for every σ, f(σ)Δ(σ).

Lemma 13.

For a mesh-shrinking protocol (Π,π), and a task (,𝒪,Δ), there exists a continuous map 𝒪 carried by Δ if, and only if, there exists a spectral map Π()𝒪 carried by Δ.

Proof.

Suppose there exists a continuous map f:𝒪 carried by Δ. Note that Πn() for all n, so we can consider this to be the domain of f. Now, take a vertex w𝒪 and consider w. Since w is the complement of a down-set, its realization is open. Similarly, for any vertex vΠn(), v is open, and since Π is mesh-shrinking, these opens become arbitrarily small for large enough n. Thus, for large enough n, for every vertex vΠn(), there exists some vertex w𝒪 with vf1[w]. We write d(v)=w, and show that δ=d is simplicial. Let σ={v0,,vk}Πn() be a k-simplex. We have (σ)ovi for all i, meaning in particular that f((σ)o)d(vi). This intersection is non-empty if, and only if, there is a simplex τ in 𝒪 containing the vertices d(vi), meaning that δ(σ) is indeed a simplex in 𝒪. Thus we have a simplicial map δ:Πn()𝒪 which is easily verified to be carried by Δ. Precomposing by the projection λn:Π()Πn() gives the desired spectral map.

Conversely, suppose we have a spectral map g:Π()𝒪 carried by Δ. By Lemma 4, we obtain an order-preserving map δ:Πn()𝒪 carried by Δ, where we can take n to be arbitrarily large. Since Π is mesh-shrinking, for large enough n and v a vertex of Πn(), we have δ[v]w for some vertex w of 𝒪. This is enough to conclude that the map δ is simplicial, and therefore that its realization is continuous. Since Πn(), we obtain the desired continuous map 𝒪.

Now we provide a new result for comparing the colorless task-solvability of a chromatic or achromatic protocol with that of the achromatic IIS using natural transformations. A proof of this result can be found in [4].

Theorem 14.

Let (Π,π) be an achromatic protocol, and denote by (𝐂𝐡,b) the IIS protocol and ρ (resp. r) the dual natural transformation associated to π resp. b). If there exists a natural transformation α:UΠ𝐂𝐡 such that r𝒞α𝒞=ρ𝒞 for all complexes 𝒞, then any task solvable by the IIS protocol is also solvable by Π. If in addition there exists a natural transformation β:𝐂𝐡|𝐬𝐂𝐨𝐦𝐩Π, then Π can solve precisely the same tasks as 𝐂𝐡.

If (Π,π) is a chromatic protocol, and there exists a natural transformation α:UΠ such that r𝒞α𝒞=ρ𝒞 for all complexes 𝒞, then any task solvable by the achromatic IIS protocol is also solvable by Π. If in addition there exists a natural transformation β:𝐂𝐡U′′U′′Π, then Π can solve precisely the same tasks as 𝐂𝐡, where U′′:𝐜𝐡𝐫𝐂𝐨𝐦𝐩𝐬𝐂𝐨𝐦𝐩 is the forgetful functor.

 Remark 15.

We believe that Theorem 10 can be recovered as a direct consequence of the above theorem. Indeed, the chromatic IIS protocol corresponds to an endofunctor on chromatic simplicial complexes [16], and we believe that the appropriate natural transformations exist. However, we leave the full scope of this theorem for future work in which the relationships between chromatic and achromatic protocols and colorless and colored task-solvability are further investigated. Indeed, in the case of a chromatic protocol, for the semantics to faithfully describe the distributed systems in question, the natural transformation α should be compatible with the “projecting out” of process identities, which we do not as of yet understand categorically.

A.4 Spectral space of the achromatic IIS model

It is well-known [17, Chap. 4.2] that the Iterated Immediate Snapshot protocol, in the context of achromatic distributed computing, corresponds to the barycentric subdivision functor, which is mesh-shrinking. Below, we explicit the construction of the limit space for this protocol for an arbitrary number of initial values, and illustrate them for the special cases of two and three initial values.

Consider the achromatic IIS protocol (𝐂𝐡,b), where 𝐂𝐡:𝐬𝐂𝐨𝐦𝐩𝐬𝐂𝐨𝐦𝐩 sends a simplicial complex C to the poset 𝐂𝐡(C) of its chains and their inclusions, which is also a simplicial complex, and where b:𝒟(𝐂𝐡()) sends a simplex σ to {γ𝐂𝐡(C)γ=σ}. The maps b𝐂𝐡n() send a chain γ𝐂𝐡n() to {Γ𝐂𝐡n+1(C)Γ=γ}. The dual map associated to b are maps mn:𝐂𝐡n+1()𝐂𝐡n() defined by ΓΓ.

 Remark 16.

The functor 𝐂𝐡 is actually a functor whose domain of definition is the category 𝐏𝐨𝐬f of finite posets. Indeed, it is also known as the nerve functor, see for example [16].

The maps mn thus give us the projective limit system defining the spectral space 𝐂𝐡(). Using Propositions 3 and 12 and the specificity of this protocol, we will now describe the limit space 𝐂𝐡(). In particular, we will characterize the downsets of maximal points in terms of the terminal co-dimension of their associated minimal sequences when is the standard d-simplex for some d0.

First, by Proposition 3, we know that the points of 𝐂𝐡() correspond to sequences (Γ) such that Γn𝐂𝐡n() and Γn=Γn+1 for all n0. Now we divide the points x into three classes, depending on the terminal co-dimension of the associated minimal sequences (Γx). More precisely, given x,

  • xC1 if codim(Γnx)=0 for all n,

  • xC3 if N such that nN, codim(Γnx)=1,

  • xC if N such that nN, codim(Γnx)2.

Before proving Proposition 18, we need the following lemma.

Lemma 17.

Let be the standard d-simplex. For σ𝐂𝐡n() with codim(σ)=1, then

  • If σ()o, there exist two unique simplices τ1,τ2𝐂𝐡n() such that στ1,τ2.

  • If σ, there exists a unique τ𝐂𝐡n(), στ.

Proof.

We proceed by induction on n0. For n=0, we, without loss of generality, write σ={v1,,vd} where V()={v1,,vd+1}. The latter is the unique maximal simplex that contains σ, and clearly σ. For n0, σ𝐂𝐡n+1() of co-dimension one and let σ=mn(σ). By the induction hypothesis, there exists unique

  • τ1,τ2𝐂𝐡n() covering σ and σ is contained in the interior of . Thus σσ is too. Now, since τi is a d-simplex, without loss of generality we write {v1,,vd,vd+1,i} for its set of vertices, and σ={v1,vd}. Since σbn(σ), we can write σ=(V1,,Vd) where V1Vd is a maximal chain in 𝒫(σ). Up to permutation, we can assume without loss of generality that Vk=v1,,vk. A simplex τbn(τi) is a maximal chain (U1,,Ud+1) in 𝒫(τi), its faces being (U1,,U^iUd+1), where U^i means omitting Ui from the chain. Thus, the only simplex in bn(τi) covering σ is τi={V1,,Vd,Vd{vd+1,i}}.

  • τ𝐂𝐡n() covering σ and σσ. Using the same notations as above for σ,σ, and writing τ={v1,,vd,vd+1}, a similar argument shows that the unique simplex in bn(τ) covering σ is τ={V1,,Vd,Vd{vd+1}}.

Now we are ready to characterize the number of elements in each down-set under the specialization order.

Proposition 18.

For x()o, we have xCi#(x)=i where the downset is taken in 𝐂𝐡(I) and i{1,3,}. For x, the same holds excepting that xC3 if, and only if, #(x)=2.

Proof.

We proceed case by case:

  • (xC1) In this case Γnx is maximal in each 𝐂𝐡n(), so its principal in the specialization order is a singleton.

  • (xC3) By Lemma 17, each σnx is covered by either exactly one or two simplices depending on whether x or not, respectively. Since the mn are order and dimension preserving, these form sequences (τ) or (τ1) and (τ2), respectively. Since each τn or the (τi)n are unique cover of σnx, these are the unique sequence above (σx) in the point-wise order, which is the order-dual of the specialization.

  • (xC) Let N so that codim(σnx)2 for all nN. There exists τN of codimension one such that σNxτN. The latter is covered by two maximal simplices τN1 and τN2. By a similar argument to that given in Lemma 17, we show that σN+1x is below by at least four maximal simplices τN+111,τN+112,τN+121,τN+122 in 𝐂𝐡N+1(), where τN+1i1,τN+1i2bN(τNi). By induction we thus conclude that σN+kx is covered by at least 2k+1 maximal simplices in 𝐂𝐡N+k(), and that we have constructed 2k+1 maximal sequences that are above (σNx,σN+kx) in the point-wise order on i=NN+k𝐂𝐡i(). This shows that taking k to infinity, we obtain an infinite amount of sequences above (σnx).

Below, we illustrate the spectral spaces 𝐂𝐡() when is the d-simplex for d=1,2. For the 1-simplex, 𝐂𝐡() is the space pictured below in blue. We have included the second barycentric subdivision of the standard 1-simplex above it for reference. Firstly, we observe that the terminal co-dimension of every sequence is either 0 or 1, so each point will either have 0 or 2 points below it, respectively. The subspace of maximal points is isomorphic to the real interval [0,1], this being the geometric realization of . At each point x of the form k2n, for n1 and 0<k<2n, i.e. those that correspond to a vertex in one of the subdivisions, we have two points below x in the specialization order, as is the case for x3. Extremal points like x2 have terminal co-dimension 1, but only have one element below them since they are in the border of the realization. All other points in the interval have no elements below them.

This is case for x1=13, for example.

For d=2, we have pictured the first barycentric subdivision on the left, and the limit space 𝐂𝐡() on the right. The point x1 is an example of a point such that σnx1 is of dimension 2 for all n, thus there are no elements below it. Points whose associated minimal sequences are of co-dimension 1 have exactly two elements below them if they are interior, like x2, or one element below them if not, as is the case for x3. Finally, points like x4 and x5 have a poset of points below them of infinite width and depth of two.

    

A.5 Protocols as functors with natural transformations

Here we justify our functorial approach to achromatic protocols, describing how the Yoneda extension allows us to glue together local information about the action of the distributed protocol and the associated carrier maps, thereby extending to an endofunctor on the category of simplicial complexes with an associated natural transformation as defined in Section 3.4. The argument for chromatic protocols is similar.

As explained in Section 3.4 and in the sections above in the appendix, we consider content-neutral, round-based full-information protocols. What this means concretely is that given a global state, i.e. a set σ={v1,,vn} of local states, a protocol Π returns the collection of possible global states σ1,,σkn after one round of execution. We denote by Π(σ) the simplicial complex spanned by these sets. Considering all σ, this forms the protocol complex. Since Π(σ) contains the possible states obtainable after one round of computation, we have σσΠ(σ)=Π(σ). For σ1,σ2σ, operationally, Π(σ1)Π(σ2) consists of all reachable states in which no process can know whether inputs were from σ1 or σ2. The only processes which can participate in such an execution are those having values in σ1σ2, because the others are able to distinguish between these two initial configurations. These executions are precisely those whose global states after one round of execution are in Π(σ1σ2), so we have Π(σ1)Π(σ2)=Π(σ1σ2). Thus, given a subset σσ, we have Π(σ)Π(σ). Sub-simplices of σ are therefore mapped to sub-complexes of Π(σ), defining an order-preserving map πσ:𝒫(σ)𝒟(Π(σ)). Because we assume that our protocol is full-information, it is not possible that all executions contain as much information as some execution from a strict subset of processes. Formally, this means that it is not possible that for all τΠ(σ), σστΠ(σ)σσ. Equivalently, there must exist some execution in which no information is lost, and thus there exists some global state τΠ(σ) such that σ=σστΠ(σ)σ. In particular, this means that the join-lifts of the πσ are injective. Finally, since Π is content-neutral, the actual values v1,,vn do not affect the outcome Π(σ), meaning that we may consider two inputs σ,σ equivalent when they are of the same cardinality. For this reason, the category of finite sets and set maps provide an appropriate description of the system states.

Let f:σσ be a mapping of sets. Since Π is full information, each of the vertices of Π(σ) and Π(σ) consist of views containing the values of σ and σ, respectively. Replacing each value vσ by f(v) in the vertices of Π(σ) thus yields a vertex of Π(σ). This yields a simplicial map since Π(σf[σ])=Π(σ)Π(f[σ]) is a subcomplex. Notice that if f is the canonical inclusion σσ, this mapping yields the canonical inclusion Π(σ)Π(σ).

Summing this up, and denoting by σn={1,,n} the standard n-simplex, by Δn=𝒫(σ){} the standard n-simplex viewed as a complex, and by 𝐒𝐢𝐦𝐩 the category of standard n-simplices and set-maps between them, we have a functor Π:𝐒𝐢𝐦𝐩𝐬𝐂𝐨𝐦𝐩, along with a natural transformation π:UHV𝒟Π, where H:𝐒𝐢𝐦𝐩𝐬𝐂𝐨𝐦𝐩 is the Yoneda embedding σnΔn, and U:𝐬𝐂𝐨𝐦𝐩𝐏𝐨𝐬f and V:𝐃𝐋𝐏𝐨𝐬f are forgetful functors. Moreover, each component of πσn is a strict carrier map which is moreover effectively surjective, i.e. the join of its images is the full complex Π(σn).

Now we describe how to extend this information to the definition provided in Section 3.4 using the Yoneda extension. Given a simplicial complex 𝒞 and denoting by D𝒞 the diagram in 𝐒𝐢𝐦𝐩 of inclusions of simplices of 𝒞, we have 𝒞=colim(H(D𝒞)). Denoting by Π(D𝒞) the image of this diagram under Π, and by Π(𝒞) its colimit, we have extended Π to an endofunctor of 𝐬𝐂𝐨𝐦𝐩. Indeed, we have thereby defined an assignment on objects, and, given a simplicial map f:𝒞𝒞, it comes from a map V𝒞V𝒞 which defines a natural transformation from D𝒞 to D𝒞. Indeed, for any simplex σ={v1,,vk}, we have a map of sets fσ:σf[σ], where f[σ]={f(v1),,f(vk)}. Applying Π, we see that all of this entails that Π(𝒞) is a co-cone for Π(D𝒞), which, by the universal property of the colimit, provides a unique map Π(f):Π(𝒞)Π(𝒞).

The argument extending the natural transformation is similar. Indeed, for a complex 𝒞, noticing that forgetful functors preserve colimits, we have that 𝒞 is the colimit in 𝐏𝐨𝐬f of the diagram U(H(D𝒞)), and since 𝒟 also preserves colimits, we have that 𝒟(Π(𝒞)) is the colimit in 𝐏𝐨𝐬f of the diagram V(𝒟(Π(D𝒞))). By construction, the appropriate components of π are a natural transformation between U(H(D𝒞)) and V(𝒟(Π(D𝒞))), thereby providing a unique π𝒞:U(𝒞)V(𝒟(Π(𝒞))) by the property of the colimit. Combining this with the arguments used to prove that Π is functorial on 𝐬𝐂𝐨𝐦𝐩, we deduce the commutativity of naturality squares. Finally, preservation of intersections, i.e. strictness, and the join of images being the full complex, i.e. essential surjectivity, are preserved under these constructions. Moreover, since each of the join-lifts of the maps in the colimit are injective, and all the maps involved in each of the diagrams U(H(D𝒞)) (and thereby in U(𝒟(H(D𝒞)))) and V(𝒟(Π(D𝒞))) are inclusions, we conclude that the map π𝒞 is also injective.

Thus, we have shown that from a full-information content-neutral protocol, we deduce a pair (Π,π), where Π:𝐬𝐂𝐨𝐦𝐩𝐬𝐂𝐨𝐦𝐩 is a functor and π is a natural transformation between U:𝐬𝐂𝐨𝐦𝐩𝐏𝐨𝐬f, the forgetful functor, and 𝒟Π:𝐬𝐂𝐨𝐦𝐩𝐏𝐨𝐬f whose components are strict and essentially surjective carrier maps, and whose join-lifts are injective.

 Remark 19.

There is no mention of functors or functorial presentation in the reference book [17], however, while generalizing their results, they introduce conditions (like border-consistency for general subdivision protocol in Def.3.6.5) that seems to imply functoriality of the models under consideration.