Cohesive Systems logoCOHESIVE SYSTEMS

Asynchronous Computability Theorem

The asynchronous computability theorem characterizes which distributed tasks can be solved wait-free in an asynchronous read/write system.

Where wait-free synchronization classifies the power of shared objects through consensus numbers, the asynchronous computability theorem gives a topological model of task solvability. It represents distributed configurations as simplicial complexes and solvability as the existence of an appropriate map between those complexes.

A distributed task is modeled by:

  • An input complex describing possible initial configurations.
  • An output complex describing possible final configurations.
  • A specification relation Delta saying which outputs are legal for which inputs.

A configuration is represented by a simplex: vertices represent processes with local states, and the simplex records that those process states can coexist as one global configuration. Faces and shared vertices represent partial views and indistinguishability. This gives a notion of nearness between distributed configurations that is richer than ordinary graph adjacency.

Protocol executions subdivide the input complex into a protocol complex. A task is solvable when there is a color-preserving simplicial map from a subdivision of the input complex into the output complex, carried by the task specification. Intuitively, the protocol must continuously transform possible initial configurations into legal output configurations without tearing apart indistinguishable cases.

Consensus impossibility becomes geometric. Binary consensus requires decision regions for 0 and 1 that are disconnected in the output space, while the wait-free asynchronous protocol space preserves connectedness from the input space. There is no continuous, color-preserving map that both respects validity and separates the connected protocol space into the disjoint decision configurations consensus would require.

This is one way the theorem makes the impossibility visually satisfying: the obstruction can be seen as the absence of a suitable continuous map from possible executions to legal decisions.

The model does not require wall-clock time as a primitive. Time is displaced into protocol subdivisions and maps: execution appears as refinement of possible configurations, and computability is stated in terms of structure-preserving transformations.

Relationship to Consensus

The theorem provides a formal account of why consensus cannot be solved wait-free in the basic asynchronous read/write model for more than one process. This is adjacent to, but distinct from, FLP:

  • FLP concerns deterministic message-passing consensus with crash failures and shows that termination cannot be guaranteed in a fully asynchronous system with one faulty process.
  • The asynchronous computability theorem concerns wait-free task solvability and describes the topological obstruction in the read/write model.

Both results connect safety and liveness to model structure. Consensus safety can be stated, but the progress condition cannot be satisfied under the stated assumptions.

External References

Related concepts: progress conditions, consensus, safety and liveness, coordination, CALM theorem, universal constructions, compositionality, enrichment and order, state, observation, process.