WorksComputer Science
Asynchronous Byzantine Lattice Agreement with Logarithmic Response Time and Optimal Resilience
Abstract
Lattice agreement is a fundamental coordination primitive in which processes decide on comparable values rather than identical ones. In the asynchronous message-passing setting with Byzantine failures, existing algorithms either require authentication or do not simultaneously achieve optimal resilience and logarithmic response time. We present an asynchronous Byzantine lattice agreement algorithm that tolerates up to Byzantine failures among processes, requires no authentication, and completes in time. The algorithm builds on the classifier-tree framework of Attiya and Rachman, replacing shared-memory communication with quorum-based message passing. The main challenge is preserving the information-flow invariants underlying the classifier tree despite Byzantine behavior. To address this challenge, we introduce Supported Reliable Broadcast (SRB), a communication abstraction that combines reliable broadcast with protocol-specific admissibility checks. Messages are disseminated using reliable broadcast, but are delivered to the protocol only after verifying that they are consistent with previously propagated information about the sender's state. This prevents Byzantine processes from bypassing the information-flow guarantees required by the classifier tree. A central technical difficulty lies in breaking the apparent circular dependency between message delivery and admissibility: admissibility depends on local state established by previously delivered messages, while message delivery itself depends on admissibility. Our proof resolves this circularity by separating reliable dissemination from admissibility propagation, yielding a modular correctness argument.
2012 ACM Subject Classification Theory of computation → Distributed algorithms
Keywords and phrases lattice agreement,supported reliable broadcast, Byzantine failures, message passing
Funding Hagit Attiya: Supported by the Israel Science Foundation (22/1425 and 25/1849).
Yao David Kolegain: is supported by a French government grant managed by the Agence Nationale de la Recherche under the France 2030 program, reference ANR-23-PECL-0009.
Arnaud Labourel: is supported by a French government grant managed by the Agence Nationale de la Recherche under the France 2030 program, reference ANR-23-PECL-0009.
Alessia Milani: is supported by a French government grant managed by the Agence Nationale de la Recherche under the France 2030 program, reference ANR-23-PECL-0009.
Introduction
Lattice agreement [2] allows processes to propose arbitrary inputs and decide on output values that are comparable in a lattice. A typical case of lattice agreement considers the subsets lattice, with the usual subset and inclusion relations. Lattice agreement is weaker than consensus, where the outputs must be identical, and it can be solved in settings where consensus is impossible or substantially more expensive. Beyond its intrinsic theoretical interest, lattice agreement is an important building block for distributed objects and monotone replicated computations, including atomic snapshots [2], CRDTs [12, 15], and related applications.
One of the central correctness requirements in lattice agreement is that the outputs are joins of the input values; in the special case of the subsets lattice, this means that the output sets contain only values proposed by processes. (This condition is called upward validity.)
Originally, lattice agreement was studied in the context of crash failures, either in shared memory [3] or message passing [15]. Due to its applicability for state machine replication [15], lattice agreement was recently studied also in the presence of Byzantine failures [13]. Byzantine failures require us to relax upward validity so that faulty processes can introduce at most arbitrary, but fixed, values into the output sets.
Several Byzantine lattice agreement algorithms were presented, in synchronous and asynchronous settings, with and without authentication (see Table 1 and § 2). However, no asynchronous algorithm simultaneously achieves optimal resilience () and logarithmic response time, without using authentication. The goal of this paper is to close this gap.
To understand why this goal is challenging, consider the lattice agreement algorithm of Attiya and Rachman [3]; this is a wait-free shared-memory algorithm that works in operations. The algorithm is constructed as a tree of classifiers. Starting at the root classifier, processes are repeatedly partitioned into low- and high-information groups. Low processes retain their current information, whereas high processes obtain information that subsumes that of all low processes. The key invariant is that whenever processes split into low and high groups, every value known to a low process is eventually incorporated into the state of every high process. The same classification procedure is then applied recursively within each subgroup. Consequently, different processes gradually follow different paths in the classifiers tree, maintaining different local states and executing different classifier instances.
In the original algorithm, once a process writes information to the shared memory, it is never removed and later readers can observe it. In a message-passing algorithm, a Byzantine process classified as low may later introduce information that is never observed by the corresponding high processes, violating a key invariant underlying the classifier tree. In general, a Byzantine process may claim to belong to a classifier or to have followed a particular path without executing the corresponding protocol. This necessitates a way to ensure that every delivered message is consistent with the sender’s position in the classifier tree.
We address this problem with Supported Reliable Broadcast (SRB). Messages are first disseminated using standard Byzantine reliable broadcast [5]. However, before a delivered message is passed to the protocol, it is checked against a protocol-specific admissibility predicate that verifies that the message is consistent with previously delivered information about the sender. This communication layer guarantees not only reliable dissemination, but also that every message delivered could have been generated by a correct process following the protocol. Admissibility may appear to create a circular dependency: message delivery depends on admissibility, while admissibility depends on protocol state that is itself established by previously delivered messages. We resolve this by separating reliable dissemination from admissibility propagation, allowing the latter to be proved inductively over the classifier tree.
Support-based message filtering has appeared in earlier Byzantine protocols; we discuss these mechanisms in § 2. The classifier tree makes this approach substantially more complicated: different processes follow different execution paths, so admissibility must justify both the information carried by a message and the sender’s claimed position in the tree.
Starting from the Attiya–Rachman classifier tree, we use standard quorum techniques
| Failures | Authen. | Resilience | Time / Rounds | ||
| [2] | Synchronous | Crash | No | ||
| [14] | Synchronous | Byzantine | No | ||
| [15] | Asynchronous | Crash | No | ||
| [11] | Asynchronous | Byzantine | No | ||
| [13] | Asynchronous | Byzantine | No | ||
| [13] | Asynchronous | Byzantine | Yes | ||
| This paper | Asynchronous | Byzantine | No |
caption: Selected lattice agreement algorithms in message-passing systems.
:::
originating with the message-passing simulation of shared memory [1]. Supported reliable broadcast enforces the information-flow guarantees required by the classifier tree. An initial dissemination phase ensures that every correct process begins the classifier tree with at least values, reducing the depth of the classifier tree from to . The resulting algorithm achieves logarithmic response time while preserving the classifier invariants in the presence of Byzantine processes. The proof cleanly separates communication guarantees, admissibility propagation, and classifier properties.
In summary, our contributions are three-fold:
Algorithmically, we present the first asynchronous message-passing Byzantine lattice agreement algorithm that simultaneously achieves optimal resilience (), logarithmic response time (), and does not require authentication.
Conceptually, we formulate supported reliable broadcast as a communication abstraction separating reliable dissemination from protocol-specific admissibility checks, making it possible to support non-uniform classifier-based protocols.
Technically, we develop a proof that separates communication guarantees, admissibility propagation, and classifier properties.
Related Work
Crash-tolerant lattice agreement. Lattice agreement was introduced by Attiya, Herlihy, and Rachman [2]. Their synchronous message-passing algorithm uses the basic idea of recursively partitioning processes and directing information from one part to the other, obtaining an round complexity. The partition is determined statically, according to process identities. Attiya and Rachman [3] developed a dynamic version of this approach: processes are classified according to the information they acquire during the execution. The resulting classifier framework underlies their wait-free shared-memory algorithm, with step complexity, and is the basis for our algorithm.
For asynchronous message-passing systems, lattice agreement requires , by a standard partitioning argument. Faleiro, Rajamani, Rajan, Ramalingam, and Vaswani [9] gave the first lattice agreement algorithm for such systems, with linear time complexity. Zheng, Garg, and Kaippallimalil [15] later adapted the classifier approach to asynchronous message passing, obtaining an -time algorithm for the optimal resilience .
Byzantine lattice agreement. Di Luna, Anceaume, and Querzoni [11] formulated the Byzantine upward-validity condition used in this paper, and showed that is necessary. Their asynchronous unauthenticated algorithm matches this resilience bound and has time complexity. For synchronous systems, Di Luna, Anceaume, Bonomi, and Querzoni [10] gave -time algorithms for without authentication and for with authentication. Zheng and Garg [14] subsequently obtained an unauthenticated synchronous algorithm with time complexity for the optimal resilience . The -time algorithms for asynchronous systems, by Zheng and Garg [13], either use authentication for the optimal resilience or avoid authentication and assume . Thus, without authentication, prior asynchronous algorithms achieved either optimal resilience or logarithmic time, but not both. Our algorithm closes this gap, achieving time for without authentication.
Reliable broadcast and support-based communication. Byzantine reliable broadcast, introduced by Bracha [5], ensures consistent message delivery despite a Byzantine sender. Mechanisms that additionally require messages to be justified by previously received information appear in Coan’s compiler [7] and implicitly in [8]. A related support-based mechanism is used in the simulation of omission failures by Byzantine failures described by Attiya and Welch [4], building on Coan’s approach.
Civit et al. [6] give a generic transformation, building on classical crash-to-Byzantine simulations, that uses reliable dissemination together with verification of a message’s causal history. Their transformation relies on authenticated messages; in particular, authentication is used to prevent a Byzantine process from fabricating messages in the causal history it reports. In contrast, our construction does not rely on authentication.
Our supported reliable broadcast delivers a reliably broadcast message to the protocol only when the protocol-specific admissibility predicate holds. Unlike these earlier applications, which have a simple and largely uniform iterative structure, admissibility in our algorithm depends on the sender’s evolving position in the classifier tree and on information accumulated during previous classifier instances.
Preliminaries
We assume a distributed asynchronous message passing system with processes, . Every pair of processes can send messages to each other and communication is reliable, that is, there is no loss, corruption or creation of messages; we assume a process also sends a message to itself. A process is correct if it follows its protocol; otherwise, it is Byzantine and can deviate from its protocol in an arbitrary manner. We assume that there is a known bound, , on the number of processes that can be Byzantine in any execution of the algorithm. We denote by the set of correct processes in an execution.
Byzantine lattice agreement (BLA). The original definition of lattice agreement, stated for non-malicious failures [3, 2], considers , a lattice of values that can be proposed by a process. Let be a join semi-lattice, where is a set of elements with a partial order , and a join operation. Each process has input from , and in the standard definition, it has to output a value with the following properties:
Comparability: For all and , either or .
Downward-Validity: For all , .
Upward-Validity: .
When failures are Byzantine, upward validity is changed. We use the definition in [11]:
Byzantine Upward-Validity: , where and .
Time complexity. While message delivery is asynchronous, without an upper bound on the message delay, we adopt the definition of [4] for time complexity in an asynchronous message-passing system.
We start by defining a timed execution as an execution in which nondecreasing nonnegative integers (“times”) are assigned to the events, with no two events by the same process having the same time. For every timed execution, we consider the interval starting when the last correct process calls the BLA procedure and ends when the last correct process returns from it. Then, scale the times so that the maximum time that elapses between the sending and receipt of any message between correct processes is 1. Finally, the time complexity is the maximum, over all scaled timed executions, of the length of this interval.
Supported (Byzantine) Reliable broadcast (SRB)
SRB Abstraction and Properties
The classical notion of reliable broadcast [5] provides a mechanism by which a process can broadcast a message to all other processes. A hallmark property of reliable broadcast is non-equivocation, namely, two correct processes do not deliver different messages, even if the sender is Byzantine. Importantly, it also provides a relay property, namely, that if a correct process delivers a message, then all correct processes eventually deliver the same message.
We want to further ensure that a message broadcast by a process (even if faulty) could have been sent according to the protocol. We call this mechanism supported reliable broadcast (in short, ). Operationally, can be viewed as a support-carrying reliable broadcast, in which each broadcast message is accompanied by a support justifying it.
Each message is broadcast together with an explicit support, mainly, a set of messages whose delivery at the sender is a necessary precondition for sending this message according to the protocol. This information is used by an admissibility predicate that checks protocol state that is guaranteed to propagate among correct processes. The relay property is then leveraged to check the soundness of the support, by waiting to receive this precursor information.
We next state the five properties of supported reliable broadcast. The first four properties coincide with those of reliable broadcast; the last property captures the additional support guarantee provided by . The tag is used to run several broadcast instances, at different stages of an algorithm, by a given sender . Note that different senders can send a message with the same tag; that is, the pair sender-tag uniquely identifies an instance. We remark that two properties, validity and relay, are guaranteed to hold within constant time bounds, and not only eventually, as commonly specified.
The fifth property assumes a protocol-specific predicate , which can be checked locally. Intuitively, it holds if the support justifies the message for broadcast instance and according to the protocol.
SRB-Validity (timed). If the sender is correct and invokes SRB-broadcast at time , then every correct process invokes SRB-deliver by time .
SRB-Agreement. If two correct processes invoke SRB-deliver and SRB-deliver, for the same and , then and .
SRB-Integrity. A correct process invokes SRB-deliver at most once for every and . Moreover, if a correct process invokes SRB-deliver, and the sender is correct, then previously invoked SRB-broadcast.
SRB-Relay (timed). If a correct process invokes SRB-deliver at time , then every correct process invokes SRB-deliver by time .
Algorithm 1 Supported Reliable Broadcast (SRB)
SRB-broadcast(, , , )
: value to broadcast ▷ in our algorithm, value and group identity
: support for ▷ in our algorithm, support for group identity
: identification of the message
: the sender ▷ Sender
1: send to all INIT(, , , )
2: if INIT(, , , ) has been received and ECHO not yet sent for and then
3: send to all ECHO(, , , )
Upon receiving ECHO(, , , )
4: if ECHO(, , , ) received from processes and READY not yet sent for and then
5: send to all READY(, , , )
Upon receiving READY(, , , )
6: if READY(, , , ) received from processes and READY not yet sent for and then
7: send to all READY(, , , )
8: if READY(, , , ) received from processes then
9: if no message with and in buffer then ▷ new part of the algorithm
10: put (, , , ) in buffer ▷ this event is considered as RB-deliver(, , , )
when (, , , ) in buffer and Admis(, , , ) ▷ Admis appears in Algorithm 4
11: if no message has been SRB-delivered for (, ) then SRB-deliver(, , , )
SRB-Support Admissibility. If a correct process invokes SRB-deliver(, , , ), then Admis(, , , ) holds at .
SRB Implementation and Proofs
An implementation appears in Algorithm 1. It follows the structure of Bracha’s reliable broadcast [5], using ideas from [4 Algorithm 39] and [7]. The only addition, marked in blue, is to buffer a message with support and only SRB-deliver it when is admissible (for a specific protocol) given , sender and .
We say that a process RB-delivers a message with support , when it places the message in its buffer (Line 10). We next prove that Algorithm 1 satisfies the reliable-broadcast properties and timing guarantees used in the main text (mostly following [4 Section 12.7]). Timing properties that rely on admissibility are proved in Section 6.1. To reduce clutter, we consider a single invocation of SRB, for fixed sender and , which may be omitted when they are clear from the context.
Lemma 1 (RB-Validity, with timing). If a correct process SRB-broadcasts at time , then all correct processes RB-deliver the message by time .
Proof. Suppose a correct process SRB-broadcasts a message with support . Then it sends an appropriate INIT message to all processes at time . Every correct process receives this INIT message by time . Since this is the first (and only) INIT message it receives from , sends the corresponding ECHO message to all processes by time . Every correct process receives at least ECHO messages for and , by time . So receives at most ECHO messages for any or . Since (recall ), sends READY for and , by time .
Every correct process receives at least READY messages for and , by time . So receives at most (recall ) READY messages for any or , and RB-delivers and , by time .
The next lemma is the key to proving SRB-agreement and SRB-relay.
Lemma 2. If one correct process sends a READY message with and and another correct process sends a READY message with and , then and .
Proof. Assume, by way of contradiction, that or . Let be the first correct process to send a READY message for and . Since can only receive READY messages from at most faulty processes up till this point and is less than , sends READY in Line 5. That is, received at least ECHO messages for and , and at least of these are from correct processes, where is the actual number of faulty processes in the execution.
Similarly, , the first correct process to send READY message for and , received at least ECHO messages for and from correct processes.
Since each correct process sends only one ECHO message (for a given sender and tag), the total number of correct processes is at least . We have , so (since ), which is a contradiction.
:::
Lemma 3. Algorithm 1 satisfies SRB-agreement.
Proof. Suppose correct process delivers and , while a correct process delivers and . Assume for contradiction that either or . Thus receives at least READY messages for and , at least of which are from correct processes. Similarly, receives at least READY messages for and , at least of which are from correct processes. But this violates Lemma 2.
Lemma 4. Algorithm 1 satisfies SRB-integrity.
Proof. The first part (no duplicates) is ensured by Line 9, which avoids buffering two different messages for the same tag, hence, two different messages cannot be delivered for the same tag, in Line 11.
Suppose correct process delivers and . Thus receives at least READY messages for and , at least of which are from correct processes. Let be the first correct process to send READY for and . Then cannot have received READY messages already, since (recall that ) and up till now only faulty processes have sent READY for and . Thus receives at least ECHO messages for and , at least of which are from correct processes. A correct process only sends an ECHO message for and , if it receives INIT messages for and from the sender, as needed.
Lemma 5 (RB-Relay, with timing). If some correct process RB-delivers and at time , then every correct process RB-delivers and by time .
Proof. Suppose correct process RB-delivers and at time . Then receives at least READY messages for and , at least of which are from correct processes. Thus every correct process receives at least READY messages for and , by time . By Lemma 2, does not send a READY message for or , and therefore, sends READY messages for and , by time . Thus every correct process receives at least READY messages for and by time , and RB-delivers and (Line 10).
By the code (Line 11):
Proposition 6. Algorithm 1 satisfies SRB-Support Admissibility.
One-Shot Byzantine Lattice Agreement
Overview
The overall structure of the algorithm follows the lattice agreement of Attiya and Rachman [3]; this is a wait-free algorithm for asynchronous shared-memory, and it has step complexity. The algorithm internally operates on sets of process-value pairs, ordered by inclusion; at termination, each process returns the join of the values in its final set. These sets are ordered by inclusion, with union as their join.
For the description below and the proof that follows, let be the smallest power of 2 that is greater than or equal to , and denote ; note that and that is an integer in .
The algorithm is based on a sub-construct, called a classifier, parameterized by a threshold . Given a collection of sets (one per process), a classifier partitions the processes that access it into two groups. Processes in the first group, called low-information (in short low), retain their input sets, whose size is at most . Processes in the second group, called high-information (in short high), obtain a set of size greater than that contains the union of all sets held by processes in the first group.
Classifiers are organized in a full binary tree of logarithmic depth, with carefully chosen parameters (see Figure 1). Each process follows a root-to-leaf path in this tree. At each node, a process accesses the classifier and moves to the down or up child according to whether it is classified as low or high. Along any path, sets only grow, and whenever processes split at a node (illustrated in Figure 1), the set of a process that moves up contains the set of a process that moves down. Consequently, it can be shown that the sets returned by all processes at the leaves are totally ordered by inclusion.

Figure 1. Left-hand side: the tree of classifiers used in our lattice agreement algorithm. Right-hand side: zoom-in on a classifier at level and its two children.
There are two main challenges when translating this algorithm to the message-passing setting with Byzantine failures.
The first is to replace reads and writes with message-passing communication; this challenge is resolved by interacting through quorums, in a known manner that originated in [1].
The second, more difficult, challenge is to deal with the possibility of Byzantine failures. Part of this challenge can be dealt with using known tools, such as reliable broadcast [5]. However, the way information flows in the classifier tree complicates matters: a Byzantine process that moves down (as a low process) may introduce a totally new value that does not appear in the sets of the high processes that move up. In the shared-memory setting, this cannot happen because writes are immediately visible; in a message-passing system with Byzantine failures, this implicit assumption no longer holds.
We address this challenge by using supported reliable broadcast, which requires processes to show, not just tell: any value introduced by a process is accompanied by a support showing that it could have been sent according to the protocol.
Message Formats and Local Variables
Message types for the classifier. Below, is the set of all process-value pairs.
Init message has tag init, carries the sender’s input pair , and has empty support. It disseminates the sender’s initial value starting the classifier tree.
Write message has tag (write, ) and carries a set of values , class and label and support . It represents a process’s write at instance together with information justifying that this write could have been issued according to the protocol, where indicates the sender’s classification at this instance.
Write acknowledgment has tag (ackW, ) and carries a set of values . It acknowledges the delivery of process ’s write at level , where is the sender’s locally known values.
Read message has tag (read, ) and carries the label and an array mapping each process to a write-acknowledgment; these correspond to values received by the sender in the write phase of the classifier.
Read acknowledgment has tag (ackR, ) and carries the set of values known to the sender and the label . It acknowledges the delivery of process ’s read at level .
High-read request has tag (hreq, ) and carries the set of values previously obtained and the label ; it is used by a process classified as high at this instance to perform an additional collect step.
High-read response has tag (hrep, ) and carries a set , which are the sender’s locally known values, and the label , in response to a hreq issued by process .
Local variables for a classifier instance.
Known values. , initially . The set of values that has learned at instance , namely the union of all value sets carried by write messages that has SRB-delivered.
Write acknowledgments. , initially . This variable stores the value sent in an ackW message sent by process acknowledging the write issued by process at level $r.
Read acknowledgments. , initially . This variable stores the value sent in an ackR message sent by process acknowledging the read issued by process at level .
Support for the next level. , initially . This variable stores the support that will attach to its next-level write. It is derived from the locally stored read acknowledgments and consists of items of the form , where was received from .
Recorded writes. , initially . This variable records the value set written by process when at instance . This information is later consulted by the admissibility predicate to ensure that a process classified as low does not introduce new values at subsequent levels.
Recorded classifier. , initially . This variable records the label carried by the unique write message of process at level that is SRB-delivered at . Subsequent admissibility checks use this recorded label to ensure that messages sent by at level are consistent with the classifier identified by its write.
High-read responses. , initially . This variable stores the value of the hrep message sent by process in response to a high-read request issued by process at level .
The Algorithm
Algorithm 2 shows the main code, which closely follows the structure of Attiya-Rachman, funneling processes through a sequence of classifiers with carefully chosen labels.
Unlike the original shared-memory algorithm, where each process starts the classifier tree with a singleton set containing only its own value, our message-passing Byzantine setting uses an initial dissemination phase. Starting the classifier tree with a singleton set would still yield a correct algorithm, but would result in levels. Instead, each process first uses SRB to collect a set of at least process-value pairs. This ensures correct processes enter the classifier tree with a sufficiently large set, allowing the depth of the tree to be in . The use of SRB also prohibits Byzantine processes from introducing new values to some of the processes, later in the algorithm. Only after this initial phase do processes enter the classifier tree and repeatedly invoke the classifier procedure.
The Classifier procedure appears in Algorithm 3, together with code describing how messages are handled. Each classifier instance is identified by a level and a label . Note that the label of a classifier also indicates its level; that is, a label at level has the form , where is odd. In particular, labels do not repeat between the levels. For clarity, however, we still index local arrays and tag messages both by their level () and label ().
The classifier is executed with a set of values and a classification (either low or high) inherited from the previous level. The classifier partitions processes into low- and high-information groups while enforcing controlled information flow, even in the presence of Byzantine failures.
Classifier communication exclusively uses supported reliable broadcast (SRB). Each message carries a tag identifying its type and the classifier instance, in addition to a value and a support. Recall that messages are SRB-delivered only if they satisfy the admissibility predicate , explained later. Thus, a message is SRB-delivered only after its protocol-specific admissibility condition holds at the receiver.
The classifier’s control flow. First, a process SRB-broadcasts its current set using a write message, attaching the support , and waits for ackW responses, which are Algorithm 2 Logarithmic algorithm for Byzantine lattice agreement: code for process
Local variables
12: : input value; : output value 13: : label, initially 14: : classification, initially low 15: : set of values at level
16: SRB-broadcast ▷ level 0 17: wait until contains at least pairs, including 18:
19: for to do ▷ levels to 20: 21: if then 22: else 23:
Upon SRB-deliver
24: 25:
stored in . Upon delivering write messages, processes update their accumulated sets and send ackW acknowledgments. Next, performs a collect by SRB-broadcasting a read message containing its write acknowledgments and waits for ackR responses, which are stored in . Finally, the process computes the union of the collected values and classifies itself as high if the union exceeds ; in this case, it performs an additional collect by SRB-broadcasting a hreq message and waiting for hrep messages. Otherwise, the process is classified as low and retains its set . The second collect is needed to ensure that the sets of high processes contain the sets of low processes (similarly to [3]).
A write message carries the sender’s current set, label, and classification, together with support for the transition from the previous classifier. The read/ackR messages implement the first collect, while hreq/hrep implement the additional collect performed by high processes.
The label of a classifier is deliberately not carried in the SRB tag. Since the tag of a write message at level is just , all writes of a given process at level must belong to the same SRB instance. SRB-Integrity and SRB-Agreement therefore prevent a Byzantine process from having different writes delivered for different classifiers at the same level. The unique label carried by this write is recorded and is checked against the labels carried by subsequent messages.
Similarly, a process has a single SRB instance for its read and hreq messages at each level. For reply messages, the process being answered is included in the tag, so there is one SRB instance for each sender, level, reply type, and requester.
For each classifier instance identified by a level and label , process maintains
Algorithm 3 Classifier for process $p_i$
26: function Classifier(class, $V$, $r$, $k$)
27: SRB-broadcast(($V$, $k$, class), $Sup_i[r - 1]$, (write, $r$), $i$) ▷ write value
28: wait until $|\{h : ackW_i[r, i, h] \ne \emptyset\}| \ge n - f \land Lwr_i[r, k, i] \ne \emptyset$
29: SRB-broadcast($k$, $ackW_i[r, i, \cdot]$, (read, $r$), $i$) ▷ first collect
30: wait until $|\{h : ackR_i[r, i, h] \ne \emptyset\}| \ge n - f$
31: $Sup_i[r] \leftarrow \{\langle h, ackR_i[r, i, h]\rangle : ackR_i[r, i, h] \ne \emptyset\}$
32: $ReadValues \leftarrow \bigcup_h ackR_i[r, i, h]$
33: if $|ReadValues| > k$ then
34: SRB-broadcast($k$, $ReadValues$, (hreq, $r$), $i$) ▷ second collect for high processes
35: wait until $|\{h : Hrp_i[r, i, h] \ne \emptyset\}| \ge n - f$
36: return $(\bigcup_h Hrp_i[r, i, h], high)$
37: else return $(V, low)$
▷ Handlers for the classifier
Upon SRB-deliver(($H$, $k$, class), $Sup$, (write, $r$), $h$):
38: $Knw_i[r, k] \leftarrow Knw_i[r, k] \cup H$
39: $Lwr_i[r, k, h] \leftarrow H$
40: $Lab_i[r, h] \leftarrow k$
41: SRB-broadcast(($Knw_i[r, k], k), $\emptyset$, (ackW, $r$, $h$), $i$)
Upon SRB-deliver(($H$, $k$), $\emptyset$, (ackW, $r$, $j$), $h$):
42: $ackW_i[r, j, h] \leftarrow H$
Upon SRB-deliver($k$, $Sup$, (read, $r$), $h$):
43: SRB-broadcast(($Knw_i[r, k], k), $\emptyset$, (ackR, $r$, $h$), $i$)
Upon SRB-deliver(($H$, $k$), $\emptyset$, (ackR, $r$, $j$), $h$):
44: $ackR_i[r, j, h] \leftarrow H$
Upon SRB-deliver($k$, $Sup$, (hreq, $r$), $h$):
45: SRB-broadcast(($Knw_i[r, k], k), $\emptyset$, (hrep, $r$, $h$), $i$)
Upon SRB-deliver(($H$, $k$), $\emptyset$, (hrep, $r$, $j$), $h$):
46: $Hrp_i[r, j, h] \leftarrow H$
The admissibility predicate. Algorithm 4 describes the protocol-specific admissibility procedure we use to ensure that every SRB-delivered message is consistent with a possible execution of the classifier by its sender. Admis checks both the information carried by a message and the sender’s claimed position in the classifier tree.
A write message at level must be consistent with the sender’s state at its parent classifier at level . If the sender is high, its new set may have grown, but every value in it must already be known at the parent classifier, and the label of the parent must be the one leading to the claimed high child. If the sender is low, its set must remain unchanged from its write at the parent classifier. Moreover, its support consists of at least ackR messages from the preceding read phase; their union must contain the written set and have size at most the parent threshold. Thus, a process claiming to move to the low child cannot subsequently add information that was not exposed during the parent classifier. At the first level there is no parent classifier, so a low write is instead required to contain at least values already obtained in the initial dissemination phase.
A read is admissible if it is supported by at least ackW messages indicating that the corresponding process has performed the write of the same level.
The remaining checks ensure that communication within a classifier is consistent with the recorded classifier state. A high-read request may contain only values already known at the classifier. Finally, an ackW, ackR, or hrep response may contain only values known at the indicated classifier, and is accepted only after the classifier label of the process being
Algorithm 4 Admissibility checks for the classifier
47: function ConfRead(A, j, r, k)
48: if |{h : A[h] ≠ ∅}| < n − f ∨ Lwri[r, k, j] = ∅ then return false
49: for all h with A[h] ≠ ∅ do
50: if A[h] ≠ ackWi[r, j, h] then return false
51: return true
52: function ConfSup(Sup, j, r) ▷ Sup is a set of proof items ⟨h, R⟩
53: if |Sup| < n − f then return false
54: for all ⟨h, R⟩ ∈ Sup do
55: if ackRi[r, j, h] ≠ R ∨ R = ∅ then return false
56: return true
57: function Admis(P, Sup, tag, j)
58: if tag = (write, r) then ▷ P is a set-label-class tuple
59: (H, k, class) ← P ; r′ ← r − 1
60: if class = high then
61: k′ ← k − f′/2^r
62: return ((r > 1) ∧ Labi[r′, j] = k′ ∧ (H ⊆ Knwi[r′, k′]))
63: if class = low then
64: k′ ← k + f′/2^r
65: if r = 1 then return (H ⊆ Knwi[r, k′] ∧ |H| ≥ n − f)
66: return (H ⊆ Knwi[r′, k′] ∧ ConfSup(Sup, j, r′) ∧ H ⊆ ⋃{R : (−, R) ∈ Sup} ∧ |⋃{R : (−, R) ∈ Sup}| ≤ k′ ∧ H = Lwri[r′, k′, j])
67: if tag = (ackR, r, h) ∨ tag = (ackW, r, h) ∨ tag = (hrep, r, h) then ▷ P is a set-label pair
68: (H, k) ← P
69: return H ⊆ Knwi[r, k] ∧ Labi[r, h] = k
70: if tag = (hreq, r) then ▷ in all remaining cases, P is only the label
71: return Sup ⊆ Knwi[r, P] ∧ Labi[r, j] = P
72: if tag = (read, r) then return ConfRead(Sup, j, r, P) ∧ Labi[r, j] = P
73: if tag = init then return (P = (j, xj) ∧ xj ∈ X)
74: return false ▷ ignore ill-formed messages
answered has been established. The init case simply checks that the sender introduces a single value under its own identity.
Admis is deliberately local and evaluates the message and support relative to information previously SRB-delivered at the receiving process. The crucial argument is not only that a correct process satisfies the predicate when it sends a message—this follows directly from the protocol and is formalized in Lemma 7—but that information needed to establish admissibility for all correct processes propagates sufficiently quickly to them, as shown in Lemma 8.
Correctness proof
We start by proving the correctness and timing properties of the admissibility checks, then, we prove the classifier properties, and finally, we put all the pieces together to prove the correctness and complexity of the algorithm.
We use a simple invariant, implied by the fact that is only updated in Line 38:
Invariant 1. For every correct process , every level , and every label , whenever a message is SRB-delivered by , is added to . Consequently, is monotone.
Admissibility
The admissibility predicate is evaluated with respect to the local state of the process invoking it. By Invariant 1, every condition involving is preserved. The other local variables inspected by Admis are write-once, while all remaining conditions depend only on the message and its support. This implies a monotonicity property: if Admis holds at a correct process at time , then it holds at at every time .
We first prove that a correct process SRB-broadcasts a message with support , only when is admissible (as evidenced by ) at . When it is clear from the context, we sometimes omit the sender from the arguments of the message or the function Admis.
Lemma 7. If a correct process SRB-broadcasts , then Admis holds at .
Proof. We proceed by case analysis, according to the message type.
broadcasts (Line 16): Since , the condition in Line 73 holds.
broadcasts . Denote and . Since the classifier for level 1 is called with low, it follows that . Moreover, is the value returned by the high branch of the classifier at level , namely, . Every nonempty entry was obtained by SRB-delivering a message from process . By SRB-Support Admissibility (Proposition 6) and Line 69, and . Therefore, and ; and the condition in Line 62 holds.
broadcasts . If , then and . By Line 17, , and the condition in Line 65 holds.
Assume now that , and let and . Since was classified low at level , it retains its input to that classifier. Thus, is also the set written by at level . By the second condition in Line 28, this write has been SRB-delivered at , and therefore, and . Furthermore, , and Line 30 ensures that , and ConfSup holds.
Moreover, for each message in sent by a correct process (there is at least one since ), previously verified the admissibility of the message with tag by . In particular, verified Line 48, so before SRB-broadcast. Hence, . computed by at level . Since is classified as low at level , , and the condition in Line 66 holds.
broadcasts , after waiting that and . Since the support is , all the conditions of ConfRead hold. Moreover, the write delivery that sets also sets , and Line 72 holds.
broadcasts and . A nonempty entry was established by SRB-delivering a message . By SRB-Support Admissibility (Proposition 6) and Line 69, and . By Invariant 1, ; since , the condition of Line 71 holds.
broadcasts a message with , or , or . In all three cases, the message is broadcast only after SRB-delivering the corresponding write, read, or high-read request. For , the condition holds because after SRB-delivering the corresponding write, the process sets (Line 40). For and , the condition holds because SRB-Support Admissibility of the corresponding read and high-read messages, respectively, implies . In all three cases, the set carried by the reply is , so the condition in Line 69 holds.
We next prove that if a message is admissible at some correct process at time , then it is admissible at every correct process by time ; this is used to establish - (timed), in (2). The inductive proof carries with it several additional claims about the change of local variables at correct processes.
Lemma 8. The following properties hold for all correct processes and , processes and , levels , labels , sets , messages , and times :
If holds at by time , then it holds at by time .
If is SRB-delivered at by time , then it is SRB-delivered at by time .
If by time , then by time .
If by time , then by time .
If by time , then by time .
If by time , then by time . Similarly, if by time , then by time .
Proof. We first note that (2) immediately follows from (1): If a message is SRB-delivered by by time , then it is RB-delivered before time , and by RB-Relay (see Lemma 5), it is RB-delivered by by time . By (1), the message is also admissible at by time , which SRB-delivers it by time .
We prove the other claims simultaneously by induction on the level .
For the base case, level 0, we only need to consider the delivery of init messages. To prove (1), if holds at , then , , and . Clearly, these conditions also hold at .
To prove (3), suppose that by time . Every pair was added to upon SRB-delivery of the corresponding init message from . By (2), SRB-delivers the same init message from and adds to by time . Therefore, by time . For any label , and remain empty, so the claim is immediate.
To prove (4), suppose that by time . is set when SRB-delivers the init message from , since by (2), SRB-delivers the same init message from by time and sets . For , the premise does not hold.
Finally, no nonempty , , or entry is created at level 0. Thus, (5) and (6) either have a false premise or concern entries that retain their common initial value , and hence hold trivially.
For the induction step, fix a level , and assume that all the claims hold for every level smaller than .
Write messages. We first prove (1) for write messages of level . Suppose that holds at by time . This and Lemma 5 imply (2) for write messages. If , let and . By Line 62, and by time . By the induction hypothesis for (4) and (3), respectively, and by time . The remaining condition depends only on the message. Therefore, holds at by time .
Suppose that . Let and . If , then , and admissibility requires and . By the induction hypothesis for (3), by time , while the size condition is independent of the local state. Hence, holds at by time .
If , then by the admissibility condition, , , and hold by time . By the induction hypothesis for (3) and (5), , and hold by time .
Since holds at , we have that and, for every , and . By the induction hypothesis for (6), and for every such item by time . Therefore, holds at by time . The remaining conditions depend only on and , so it is admissible at by time .
Propagation of write information. We next use the write case just proved to establish (3), (4), and (5) for level .
To prove (3), suppose that by time . Every pair in appears in a write message with label that SRB-delivers by time . By the write case of (2), SRB-delivers these messages and adds their contents to by time . It follows that by time .
To prove (4), suppose that by time . is set when SRB-delivers a write message from . By the write case of (2), SRB-delivers the message and sets by time .
The proof of (5) is similar. If by time , then SRB-delivered a write message from by time . By the write case of (2), SRB-delivers the same message by time and sets .
Reply messages. We next prove (1) for ackW, ackR or hrep messages. Since holds at by time , Line 69 implies that and by time . By (3) and (4) for level , and by time . Therefore, holds at by time . This and Lemma 5 imply (2) for these messages.
Next, to prove (1) for hreq, assume holds at by time . By Line 71, and by time . By (3) and (4) for level , and by time . Hence, holds at by time . This and Lemma 5 imply (2) for hreq messages.
Propagation of acknowledgments. We next establish (6) for level for ackW; the same argument applies for ackR. If by time , then SRB-delivered from , for some label . By (2) for ackW messages, SRB-delivers the message by time and sets .
Read messages. Finally, we prove (1) for read messages at level . If holds at by time , then and holds at (Line 72). The latter implies that , , and, for every with , . By (5), by time . By (6), for every with , by time . The cardinality condition depends only on the message itself, and hence, holds at by time . By (4), by time , so holds at by time .
This completes the induction step and the proof.
Lemma 9. Algorithm 1, with of Algorithm 4, satisfies -Validity (timed).
Proof. By Lemma 1 every correct process RB-delivers the message by time . By Lemma 7 the message is admissible at the sender at time , so by Lemma 8(1), it is admissible at every correct process by time , which SRB-delivers the message by time .
Classifier properties
We start by stating the properties of the classifier procedures that are executed in each level with a given label. For this proof, we fix a label at level . For every level , , let denote the set of processes whose write message for level carries label . For convenience, is the set of processes whose label after completing level is . Each process in is classified either low or high. The former set is denoted , and it is equal to ; its label at level is . The latter set is denoted , and it is equal to ; its label at level is . (See the right-hand side of Figure 1.)
The proof makes use of a simple quorum intersection property for two sets and :
If , and , then and there is a correct process in .
We assume process starts level with a set ; for , define . The following lemma shows that these sets do not decrease across levels. It clearly holds for a low process that keeps its current set. For a high process, it follows since the quorum acknowledging its write intersects the quorum responding to its high-read request.
Lemma 10. For every correct process and every level , .
Proof. For , the claim holds by the condition in Line 17.
For , note that a correct low process keeps its input unchanged (Line 37).
A correct high process SRB-broadcasts a write message carrying (Line 27). Let be the set of processes from which SRB-delivers an ackW message. Before sending an ackW message (Line 41), a correct process adds into its (Line 38). After receiving ackW messages from , SRB-broadcasts an hreq message. Let be the set of processes from which SRB-delivers an hrep message. By the quorum intersection property, there is a correct process .
Then received ’s write message before sending an hrep message to . By Invariant 1, is contained in the set that sends to (Line 45), and the lemma follows since is the union of these sets.
For label at level , , is the set of pairs such that a message is SRB-delivered by some correct process; note that this process is in . For a label at the final level , .
The next lemma shows that a pair is delivered in a classifier, only if it was delivered in its parent classifier. For internal levels, the lemma follows directly from admissibility of the child write; the final level uses the definition of .
Lemma 11. If is a label at level , , and is either or , then .
Proof. First, suppose . Consider a pair . Then a message with is SRB-delivered by some correct process at level . By Proposition 6, holds at process .
If , define , and if , define . In either case, the corresponding admissibility condition (first clause of Line 66 or second clause in Line 62) implies that . By Invariant 1, every pair in originates from a write message SRB-delivered by with label . Hence, appears in a write message SRB-delivered by the correct process at level with label , implying that . By the definitions of and , in either case, and .
Now suppose that , and let . By definition of , there is a correct process such that .
If is classified low at level , then . Since is correct, its level- write carrying is SRB-delivered by every correct process (Lemma 9). Hence, .
If is classified high at level , then is the union of the sets carried by the hrep messages it SRB-delivers. By SRB-Support Admissibility (Proposition 6) and the admissibility condition for hrep messages, each such set is contained in . Every pair in originates from a level- write with label that is SRB-delivered by the correct process . Thus, .
In either case, , proving the lemma. ◀
Lemma 12. Suppose is a label at level , , and and are two nonnegative integers such that: (a) , (b) for every correct process , and (c) . Then the following properties hold:
.
.
.
.
for every correct process , .
for every correct process , .
Proof. 1. By Lemma 11, ; by (c), , implying (1).
First suppose that . Let be the set of processes that SRB-broadcast a message that is SRB-delivered by some correct process. Thus, .
The level- write of every process is admissible at some correct process. By SRB-Support Admissibility, the condition in Line 66 holds. In particular, its fifth clause implies that a level- write by , carrying the same set, was SRB-delivered. Hence, , even when is not correct.
The second admissibility clause implies that the support of this write contains at least non empty ackR messages addressed to . Consider one such message sent by a correct process . The admissibility of the corresponding read implies that its support contains at least ackW messages. Let be the set of processes that sent these ackW messages. Every correct process adds to before broadcasting its ackW; hence, thereafter.
For each process in , consider the first event at which a correct process SRB-broadcasts an ackR message contained in the support of ’s level- write. Such an event
exists, since this support contains at least ackR messages. Let be such that this event is latest in the execution order, and let be the set of senders of the ackR messages contained in the support of ’s level- write. By the quorum-intersection property, contains a correct process . The ackW message from is contained in the support of ’s read. Hence it is SRB-broadcast before the first correct ackR message appearing in the support of ’s next-level write. By the choice of , this event occurs no later than the first correct ackR event in the support of ’s write, which in turn occurs no later than the ackR message from contained in that support. Thus, SRB-broadcasts its ackW message before its ackR message to . This holds for every . Therefore, the union of the sets carried by the ackR messages contained in the support of ’s write contains . By the fourth clause of Line 66, the union of the sets carried by these ackR messages has size at most . Thus, . Since , it follows that .
Assume . By definition, . If there is no correct process in , the claim is immediate. Otherwise, let be the last correct process in to SRB-broadcast its level- read. For every correct , the same quorum-intersection argument used above shows that : ’s read is supported by at least ackW messages, receives at least ackR messages, and broadcasts its read no later than . Since every correct low process keeps its input set, , and since is classified low, . Therefore, .
For , the claim follows from (1) and the definition of ; so, assume . We show that for every correct process . Consider a pair . Since is classified as high at level , it SRB-broadcasts the message (Line 27). By SRB-Validity (Lemma 9), this message is SRB-delivered by every correct process. Hence, . Therefore, . By (1), .
For , the claim follows from (2) and the definition of ; so, assume . Consider a pair . Since is classified as low at level , by Line 37. Process therefore SRB-broadcasts the message (Line 27). By SRB-Validity (Lemma 9), this message is SRB-delivered by every correct process. Hence, . Therefore, . By (2), .
By (3), . To show that , recall that a high process sets to the union of the sets carried by the hrep messages it SRB-delivers (Line 36). Since , at least one of these messages is sent by a correct process . Process SRB-broadcasts its hrep message to after SRB-delivering the hreq message from . This hrep message carries (Line 34). By SRB-Support Admissibility and Lines 71 and 45, the set carried by ’s hrep message contains . Since , it follows that .
Since is correct, by Line 37. By (b), , so it remains to show that . In level , first SRB-broadcasts a write message carrying (Line 27). Let be a set of processes from which SRB-delivers ackW messages (Line 28). Then, SRB-broadcasts a read message (Line 29). Let be a set of processes from which SRB-delivers ackR messages (Line 30). By the quorum intersection property, there is
correct process . By Line 38, before SRB-broadcasts its ackW message to . Since SRB-delivers ’s read message only after broadcasting this ackW message, it SRB-broadcasts the corresponding ackR message afterward. By Line 43, this ackR message contains . By Invariant 1, does not decrease. Hence, is contained in the ackR message that SRB-delivers from . Therefore, . Since is classified as low, . It follows that .
The next lemma shows how the size of becomes increasingly restricted as the level increases; its proof uses properties (1) and (5) of Lemma 12 for high processes, and properties (6) and (2) for low processes. Recall that are the processes at level with label .
Lemma 13. For every level , and every correct process , , and .
Proof. By induction on . In the base case, , the only label is . Before level 1, each correct process SRB-delivers at least different values and at most values. Thus, . By SRB Integrity and Agreement, at most distinct values are delivered at correct processes, and therefore .
For the induction step, consider an arbitrary group at level with label . Let be the parent group of at level $r-1 with label . By the induction hypothesis, for every correct process , , and . Therefore, the conditions of Lemma 12 hold for and .
If , then . By Lemma 12(5), for every correct process , . Since and , we have . Furthermore, by Lemma 12(1), .
In a similar manner, if , then . By Lemma 12(6), for every correct process , . Since , we have . Finally, by Lemma 12(2), .
Lemma 14. If is a label at level , , and is a correct process in , then for every correct process whose final group is a descendant of .
Proof. We first show that . Suppose first that . A pair is in if there is a message from process that is SRB-delivered by a correct process , such that . By SRB-Support Admissibility, the condition in Line 66 holds at for . In particular, its third and fourth clauses imply that .
Let be the set of processes whose ackR messages appear in . Then , and for every , contains an item , where is the set carried by the corresponding ackR message from .
Let be the set of processes that SRB-broadcast the hrep messages used by to construct at the end of level (Line 35); thus, . By the quorum intersection property, there is a correct process . Consider the hrep message broadcast by and used by . Assume first that SRB-broadcasts this hrep message before its ackR message to . By Line 45, broadcasts the hrep message only after SRB-delivering the corresponding hreq message from . By SRB-Support Admissibility and the admissibility condition for hreq messages in Line 71, . Since broadcasts its hreq message only when , it follows that at that time. When later broadcasts its ackR message to , the message carries . By Invariant 1, this set does not decrease, and hence . Since , we have , contradicting the admissibility condition for at .
It follows that broadcasts its ackR message to before its hrep message to . Before broadcasting this ackR message, SRB-delivers the corresponding level- read message from . By SRB-Support Admissibility and the admissibility condition for this read (Line 48), . Thus, previously SRB-delivered the level- write message from . Let be the set carried by this write message. When SRB-delivers it, Line 38 adds to . Since does not decrease, the later hrep message broadcast by contains .
On the other hand, by SRB-Support Admissibility for , the last condition in Line 66 implies that the level- write from recorded at carries . By SRB-Agreement, this is the same level- write from that SRB-delivered, and therefore . Thus, appears in the hrep message from . Since this message is one of those whose union forms , we have .
Now suppose that . Recall that . Let and ; these are integers. By Lemma 13, , and the hypotheses of Lemma 12 hold for these values of and . Thus, Lemma 12(5) implies . Since is a half-integer, is an integer, and hence . By the definition of and Lemma 11, . Since , while and , it follows that . Another application of Lemma 11 gives . Thus, in either case, .
Finally, let be a correct process whose final group is a descendant of , and let be its label at level . By definition, . Repeated application of Lemma 11 along the path from to the final group of gives .
By the first part of the proof and Lemma 10, . ◂
We complete the analysis of the classifier by observing that a correct process that starts a classifier at time completes it by time : There are at most three request-response phases: write-ackW, read-ackR, and, for a high process, hreq–hrep. Each phase consists of two consecutive SRB-broadcasts and therefore takes at most time units, by Lemma 9.
Putting the pieces together
Recall that is the smallest power of 2 greater than or equal to and that .
Lemma 15. For any two correct processes and in the same group , .
Proof. Let be the parent of . Since , we have , and is a half-integer. Let and ; both and are integers.
By Lemma 13, for every correct process , , and . Thus, the hypotheses of Lemma 12 hold. Suppose first that . By Lemma 12(5), every correct process in this group satisfies . Since is a half-integer and is an integer, it follows that . By Lemma 12(3), the union of the sets of all correct processes in this group has size at most . Hence, all these sets are equal.
Suppose next that . By Lemma 12(6), every correct process in this group satisfies . Since is an integer and , it follows that . By Lemma 12(4), the union of the sets of all correct processes in this group has size at most . Since its size is integral, it is at most . Hence, all these sets are equal. ◀
Lemma 16 (Comparability). For every pair of correct processes and , the sets and are comparable.
Proof. If and belong to the same final group, then Lemma 15 implies that . Otherwise, let be their last common classifier, so that and . The final group of is a descendant of , and Lemma 14 implies that . ◀
Lemma 17 (Byzantine Upward-Validity). Let be the set of correct processes. There exists a set of processes, with and , and a value for every , such that .
Proof. Let be the set of Byzantine processes from which some correct process SRB-delivers an init message. By SRB-Agreement (Lemma 3), all correct processes that SRB-deliver an init message from a process deliver the same value; denote this value by . Since there are at most Byzantine processes, . Define .
We show by induction on that for every label at level . In the base case, , since every pair appearing in a level 1 write originates from an SRB-delivered init message. For the induction step, let be a label at level , and let be the label of its parent at level . By Lemma 11, . The induction hypothesis therefore implies that .
Finally, let be a correct process, and let be its label at level . By definition, . Since , we have . Taking the union over all correct processes proves the lemma. ◀
A correct process returns . Downward-validity follows from Line 17, and inductive application of Lemma 10. Lemma 16 and Lemma 17 imply comparability and Byzantine upward-validity, respectively.
A correct process starts by sending an init message, which by Lemma 9 is SRB-delivered at all correct processes within 3 time units; each such delivery adds ’s pair to . Thus, within 3 time units after the last correct process starts, the condition in Line 17 holds for all correct processes. A process then goes through classifiers, each requiring time, which implies:
Theorem 18. There is an algorithm that solves Byzantine lattice agreement, for failures and processes. The algorithm takes time, and does not use authentication.
Summary
We presented an asynchronous Byzantine lattice agreement algorithm that completes in time; it only assumes and does not require authentication. The algorithm combines the classifier-tree framework of Attiya and Rachman with quorum-based message passing and a novel supported reliable broadcast mechanism. SRB enforces the information-flow constraints needed to preserve the classifier invariants despite Byzantine failures. A natural open question is to improve the time bound or to prove that it is optimal.
Beyond the specific lattice-agreement construction, supported reliable broadcast provides a way to combine reliable dissemination with protocol-specific admissibility conditions. It may be useful in other Byzantine-tolerant algorithms in which messages must be justified by information accumulated along different execution paths.
References
- [1]Hagit Attiya, Amotz Bar-Noy, and Danny Dolev. Sharing memory robustly in message-passing systems. Journal of the ACM (JACM), 42(1):124–142, 1995. doi:10.1145/200836.200869.DOI
- [2]Hagit Attiya, Maurice Herlihy, and Ophir Rachman. Atomic snapshots using lattice agreement. Distributed Comput., 8(3):121–132, March 1995. doi:10.1007/BF02242714.DOI
- [3]Hagit Attiya and Ophir Rachman. Atomic snapshots in O(n log n) operations. SIAM J. Comput., 27(2):319–340, January 1998. doi:10.1137/S0097539795729463.
- [4]Hagit Attiya and Jennifer L. Welch. Distributed computing — fundamentals, simulations, and advanced topics. Wiley series on parallel and distributed computing. Wiley, 2 edition, 2004.
- [5]Gabriel Bracha. Asynchronous Byzantine agreement protocols. Information and Computation, 75(2):130–143, November 1987. doi:10.1016/0890-5401(87)90054-X.DOI
- [6]Pierre Civit, Seth Gilbert, Vincent Gramoli, Rachid Guerraoui, Jovan Komatovic, Zarko Milosevic, and Adi Seredinschi. Crime and punishment in distributed byzantine decision tasks. In IEEE 42nd International Conference on Distributed Computing Systems (ICDCS), pages 34–44, 2022. doi:10.1109/ICDCS54860.2022.00013.
- [7]Brian A. Coan. A compiler that increases the fault tolerance of asynchronous protocols. IEEE Transactions on Computers, 37(12):1541–1553, December 1988. doi:10.1109/12.9732.DOI
- [8]Cynthia Dwork, Nancy Lynch, and Larry Stockmeyer. Consensus in the presence of partial synchrony. Journal of the ACM, 35(2):288–323, April 1988. doi:10.1145/42282.42283.DOI
- [9]Jose M. Faleiro, Sriram Rajamani, Kaushik Rajan, G. Ramalingam, and Kapil Vaswani. Generalized lattice agreement. In ACM 31st symposium on Principles of distributed computing (PODC), pages 125–134. ACM, 2012. doi:10.1145/2332432.2332458.DOI
- [10]Giuseppe Antonio Di Luna, Emmanuelle Anceaume, Silvia Bonomi, and Leonardo Querzoni. Synchronous Byzantine lattice agreement in O(log f) rounds. In IEEE 40th International Conference on Distributed Computing Systems (ICDCS), pages 146–156. IEEE, 2020. doi:10.1109/ICDCS47774.2020.00056.
- [11]Giuseppe Antonio Di Luna, Emmanuelle Anceaume, and Leonardo Querzoni. Byzantine generalized lattice agreement. In IEEE International Parallel and Distributed Processing Symposium (IPDPS), pages 674–683, 2020. doi:10.1109/IPDPS47924.2020.00075.DOI
- [12]Marc Shapiro, Nuno Preguiça, Carlos Baquero, and Marek Zawirski. Conflict-free replicated data types. In Symposium on Self-Stabilizing Systems, pages 386–400. Springer, 2011. doi:10.1007/978-3-642-24550-3_29.DOI
- [13]Xiong Zheng and Vijay K. Garg. Byzantine lattice agreement in asynchronous systems. In 24th International Conference on Principles of Distributed Systems (OPODIS), volume 184 of LIPIcs, pages 4:1–4:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPIcs.OPODIS.2020.4.DOI
- [14]Xiong Zheng and Vijay K. Garg. Byzantine lattice agreement in synchronous message passing systems. In 34th International Symposium on Distributed Computing (DISC), volume 179 of LIPIcs, pages 32:1–32:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPIcs.DISC.2020.32.DOI
- [15]Xiong Zheng, Vijay K. Garg, and John Kaippallimalil. Linearizable replicated state machines with lattice agreement. In 23rd International Conference on Principles of Distributed Systems (OPODIS), volume 153 of LIPIcs, pages 29:1–29:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPIcs.OPODIS.2019.29.