[Paper Review] Effectively Nonblocking Consensus Procedures Can Execute Forever - a Constructive Version of FLP
This paper presents a constructive proof of the FLP impossibility result, demonstrating that effectively nonblocking consensus protocols can execute forever by explicitly constructing an infinite, nonterminating execution. Using computational type theory and effective bivalence, it provides an algorithmic method to generate such executions, offering a practical way to simulate and analyze consensus protocol failures in asynchronous systems.
The Fischer-Lynch-Paterson theorem (FLP) says that it is impossible for processes in an asynchronous distributed system to achieve consensus on a binary value when a single process can fail; it is a widely cited theoretical result about network computing. All proofs that I know depend essentially on classical (nonconstructive) logic, although they use the hypothetical construction of a nonterminating execution as a main lemma. FLP is also a guide for protocol designers, and in that role there is a connection to an important property of consensus procedures, namely that they should not block, i.e. reach a global state in which no process can decide. A deterministic fault-tolerant consensus protocol is effectively nonblocking if from any reachable global state we can find an execution path that decides. In this article we effectively construct a nonterminating execution of any such protocol. That is, given any effectively nonblocking protocol P and a natural number n, we show how to compute the n-th step of an infinitely indecisive computation of P. From this fully constructive result, the classical FLP follows as a corollary as well as a stronger classical result, called here Strong FLP. Moreover, the construction focuses attention on the important role of nonblocking in protocol design. An interesting consequence of the constructive proof is that we can, in principle, build an undefeatable attacker for a consensus protocol that is provably correct, indeed because it is provably correct. We can do this in practice on certain kinds of networks.
Motivation & Objective
- To provide a constructive, effective version of the FLP impossibility result for consensus in asynchronous distributed systems.
- To define and operationalize 'effective bivalence' as a computationally meaningful alternative to classical bivalence in FLP proofs.
- To demonstrate that a nonterminating execution can be explicitly constructed from any provably correct consensus protocol.
- To enable the automatic generation of blocking scenarios and infinite executions using formal verification tools like Nuprl and Coq.
- To bridge the gap between nonconstructive FLP proofs and practical protocol analysis by extracting executable witnesses.
Proposed method
- Introduces 'effective nonblocking' as a constructive variant of nonblocking, grounded in computational type theory and formal verification.
- Defines 'v-possible execution' and uses it to effectively determine bivalence, avoiding the non-effective notion of valence in classical FLP proofs.
- Applies a 'One Step Lemma' that, given a bivalent state and a process, constructs a new bivalent state with a full i-fork, enabling iterative construction of infinite executions.
- Develops a program (with invariants and loop structure) that systematically traverses execution paths toward a bivalent state, using path-witnessing functions like wt(s, Qi).
- Uses commutativity of actions to transfer decision paths across equivalent system states, ensuring consistency in the construction of nonterminating executions.
- Leverages formal proof systems (Nuprl, Coq) to extract executable code from constructive proofs, enabling automatic generation of infinite runs.
Experimental results
Research questions
- RQ1Can a nonterminating execution be effectively constructed from any provably correct consensus protocol?
- RQ2How can the classical FLP impossibility result be reformulated constructively to yield an executable witness for nontermination?
- RQ3What is the role of effective bivalence in enabling algorithmic construction of infinite executions in consensus protocols?
- RQ4Can formal verification tools extract actual execution sequences that demonstrate protocol failure under asynchrony?
- RQ5How does the concept of effective nonblocking improve the practical analysis of consensus protocol design?
Key findings
- An explicit algorithm exists to construct an infinite, nonterminating execution for any effectively nonblocking consensus protocol, proving that such protocols can waffle forever.
- The One Step Lemma provides a constructive method to generate a new bivalent state with a full i-fork, enabling iterative construction of nonterminating runs.
- Effective bivalence allows the replacement of non-effective classical bivalence with a computationally meaningful concept, making the FLP proof amenable to extraction of executable code.
- The constructive proof enables the automatic generation of blocking scenarios and infinite executions using formal tools like Nuprl, which can extract witness functions.
- The results show that even provably correct consensus protocols can be attacked by an undefeatable adversary that forces nontermination, and this attack can be implemented in practice on certain networks.
- The method provides a practical way to simulate and debug consensus protocols by generating actual nonterminating executions, not just hypothetical ones.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.