Dolev–Strong authenticated synchronous broadcast #
In the unauthenticated synchronous model (Cslib.Distributed.Byzantine.Protocol), Byzantine
agreement requires n > 3t processes (NodeBound). With unforgeable digital signatures, the
(t + 1)-round protocol of Dolev and Strong (§4, Theorem 3, pp. 662–663) solves
single-sender Byzantine broadcast against up to t Byzantine faults for every finite process
set P and every t—even when t ≥ n - 1—while each correct process sends at most two signed
chains along each outgoing edge across the entire execution.
Model and protocol-variant choices #
- Provenance-based signature abstraction vs. nested signatures (
AuthProtocol.WellSigned,AuthProtocol.Unforgeable): Dolev and Strong (§4, pp. 661–662) represent authenticated messages syntactically as nested labels(((v)p₁)p₂⋯)pᵢin which each outer signature binds the entire inner label. Here signatures are modeled information-theoretically via value-level execution-trace provenance: a faulty processj ∈ Fmay attach any signer list whose correct membersk ∉ Feach genuinely emitted a signed chain forc.valuein an earlier step< r. This gives faulty coalitions strictly more freedom (including reordering or splicing signatures on a value already signed by those honest processes) without cryptographic primitives. - Dealer-rooted exact-phase-length chains and forwarding outside
c.signers: matching Dolev and Strong (§4, Theorem 3, pp. 662–663),dolevStrongEligiblerequires every accepted chain at stepr(phaser + 1) to be rooted atdealer(c.signers.getLast? = some dealer), have exact phase lengthc.signers.length = r + 1withNodupsigners excluding the receiver, and carry a value not yet inextracted;dolevStrongforwards cosigned chains only to recipientsdst ∉ c.signers. Every honestly emitted chain therefore satisfiesc.signers.length = r + 1 ≤ t + 1(dolevStrong_send_chain_props), and no process sends to itself. - Built-in two-value relay cap and deterministic sender tie-breaking:
dolevStrongdirectly incorporates Theorem 3's two-value cap (extracted.length ≤ 2, relaying at most two distinct values per process) over an arbitrary[DecidableEq V]domain without requiring[LinearOrder V]orn ≥ 3:[LinearOrder P](Finset.min') selects the minimum eligible sender in place of Theorem 3's lexicographic message order. - Point-to-point chain accounting (
AuthProtocol.correctMessagesSent): communication complexity counts point-to-pointSignedChaintransmissions sent by correct processes (≤ 2per directed edge(j, dst)withj ≠ dst, hence≤ 2 * (n - F.card) * (n - 1)total).
Authenticated synchronous model #
A SignedChain P V pairs a candidate value value : V with a list signers : List P of process
identities (ordered outermost-first, with dealer at the root getLast? in dolevStrong). An
AuthProtocol P V State dealer gives dealer an initial state from its input input : V, gives
every other process an input-independent initial state, and in each round r + 1 delivers lists of
signed chains via the shared faulty-versus-honest selector AuthProtocol.selectMsg before updating
local states.
AuthProtocol.Unforgeable.exists_send_of_mem_signers combines WellSigned and Unforgeable: in
any well-signed protocol against an unforgeable adversary, any received chain carrying a correct
process k's signature witnesses that k itself emitted a signature for that value at or before
the current round (and strictly before it whenever the sender is not k).
The Dolev–Strong protocol #
Each process maintains DolevStrongState P V, storing extracted : List V (capped at length ≤ 2)
and toRelay : List (SignedChain P V) queued for the next round:
- Initialization:
dealerstarts withextracted = [input]andtoRelay = [⟨input, [dealer]⟩]; everyi ≠ dealerstarts withextracted = []andtoRelay = []. - Rounds
1throught + 1(0 ≤ r ≤ t): each process sendsc ∈ toRelayto every recipientdst ∉ c.signers. Upon receiving incoming chains, processiruns two extraction passes (dolevStrongStepOnce), accepting new values satisfyingdolevStrongEligible(c.signers.getLast? = some dealer,i ∉ c.signers,c.signers.Nodup,c.signers.length = r + 1,c.value ∉ extracted,extracted.length < 2). Ifr < t, each newly extracted value is queued intoRelayas⟨c.value, i :: c.signers⟩. Rounds beyondt + 1leave states unchanged and send nothing. - Decision (
decideExtracted): ifextracted = [v], outputv; otherwise ([]or two conflicting values) output the fallback defaultv₀.
Correctness and communication complexity #
- Validity (
dealer ∉ F): every accepted chain hasgetLast? = some dealer, so unforgeability rules out anyw ≠ input, while⟨input, [dealer]⟩reaches everyi ≠ dealerin round1; all correct processes end withextracted = [input]and decideinput. - Agreement (
F.card ≤ t): if a correct processpqueues a chaincin roundr ≤ t, every correctqeither already lies inc.signers(hence already extractedc.valueby provenance) or lies outsidec.signersand receivescdirectly fromp, forcingqeither to extractc.valueor to fillextractedto length2. Ifpextractsvin the final roundt + 1, the accepted chain hast + 1 > F.carddistinct signers, so some correct signerk ∉ Falready queued a chain forvat a round≤ t, again forcingqto holdvor haveextracted.length = 2. ThusdecideExtractedagrees across all correct processes. - Polynomial communication (
dolevStrong_sum_send_length_le_two,dolevStrong_correctMessagesSent_le): each process queues at most2chains across the entire execution (dolevStrong_sum_toRelay_length_eq), never sends to itself, and sends at most2chains to each other process, giving at most2 * (n - F.card) * (n - 1)point-to-point chains in total.
Main definitions #
Cslib.Distributed.Byzantine.SignedChain: value paired with a signer list.Cslib.Distributed.Byzantine.AuthProtocol: synchronous signed-message broadcast protocol.Cslib.Distributed.Byzantine.AuthProtocol.selectMsg,Cslib.Distributed.Byzantine.AuthProtocol.WellSigned,Cslib.Distributed.Byzantine.AuthProtocol.Unforgeable: delivery selector and signature discipline.Cslib.Distributed.Byzantine.AuthProtocol.SolvesAuthenticatedBroadcast: validity, agreement, and well-signedness against at mosttfaults afterRrounds.Cslib.Distributed.Byzantine.AuthProtocol.correctMessagesSent: total point-to-point signed chains emitted by correct processes overRrounds.Cslib.Distributed.Byzantine.DolevStrongState,Cslib.Distributed.Byzantine.decideExtracted,Cslib.Distributed.Byzantine.dolevStrongEligible,Cslib.Distributed.Byzantine.dolevStrongStepOnce,Cslib.Distributed.Byzantine.dolevStrongRound,Cslib.Distributed.Byzantine.dolevStrong: the(t + 1)-round Dolev–Strong broadcast protocol.
Main results #
Cslib.Distributed.Byzantine.AuthProtocol.Unforgeable.exists_send_of_mem_signers: any received chain carrying a correct process's signature traces back to an authentic emission by that process.Cslib.Distributed.Byzantine.dolevStrong_send_chain_props: every chain emitted bydolevStrongat stepris rooted atdealer, hasNodupsigners excluding the recipient, and has exact lengthr + 1 ≤ t + 1.Cslib.Distributed.Byzantine.dolevStrong_solvesAuthenticatedBroadcast:dolevStrongsolves authenticated broadcast againsttfaults in anyR ≥ t + 1rounds for arbitraryP.Cslib.Distributed.Byzantine.dolevStrong_sum_toRelay_length_eq: acrosst + 1rounds, each process queues((state t i).extracted).lengthchains in total.Cslib.Distributed.Byzantine.dolevStrong_sum_send_length_le_two: every process emits at most2signed chains per recipient across any number of rounds.Cslib.Distributed.Byzantine.dolevStrong_correctMessagesSent_le: correct processes emit at most2 * (Fintype.card P - F.card) * (Fintype.card P - 1)point-to-point signed chains in total.
References #
A signed broadcast message carrying a root value and a list signers of processes whose
signatures are attached to it.
- value : V
Broadcast value at the root of the signature chain.
- signers : List P
Processes whose signatures are attached to this chain (outermost-first in
dolevStrong).
A deterministic synchronous signed-message broadcast protocol on P over value domain V with
distinguished broadcaster dealer.
Only dealer receives the broadcast input (initDealer); all other processes start in
initOther i, independent of the input. In round r + 1 (step r), process j in state s sends
send r j s i to i, and i moves to update r i s m, where m j is the list of chains received
from j. Process i's decision in state s is output i s.
- initDealer : V → State
Initial state of
dealergiven its input value. - initOther : P → State
Initial state of a non-dealer process
i. send r j s i: signed chains sent byjin statestoiin roundr + 1.update r i s m: state ofiafter roundr + 1upon receivingm jfrom eachj.- output : P → State → V
Decision value read from process
i's local state.
Faulty-versus-honest message selector at step r under global state σ: faulty processes in
F inject adv r src i, while correct processes send π.send r src (σ src) i.
Local state of process i after r rounds on dealer input input when processes in F are
faulty and send adv r j i in round r + 1.
Chains delivered from src to i in round r + 1 (step r).
Decision of process i after R rounds.
Honest signature discipline: whenever π.send for process j at step r emits a chain c,
every signer k ∈ c.signers with k ≠ j appeared on a chain for c.value that j received in
some earlier step r' < r.
Adversarial unforgeability: in round r + 1 (step r), a faulty process j ∈ F can only
include a correct process k ∉ F in c.signers if k genuinely emitted a chain for c.value
carrying k's signature in some earlier step r' < r.
Signature provenance. In a well-signed protocol against an unforgeable adversary, whenever
process i receives a chain c from src at step r containing a correct signer k ∉ F,
process k genuinely emitted a chain for c.value carrying k's signature either at an earlier
step r' < r, or at step r itself with src = k.
π solves synchronous authenticated broadcast against up to t Byzantine faults in R
rounds: π is well-signed, all correct processes agree after R rounds against any unforgeable
adversary of size at most t, and when dealer is correct they decide dealer's input.
- wellSigned : π.WellSigned
Honest transitions never forge signatures of other processes.
- agreement (F : Finset P) : F.card ≤ t → ∀ (adv : ℕ → P → P → List (SignedChain P V)) (input : V), π.Unforgeable F input adv → ∀ i ∉ F, ∀ j ∉ F, π.decision F adv input R i = π.decision F adv input R j
Agreement: all correct processes decide the same value after
Rrounds. - validity (F : Finset P) : F.card ≤ t → dealer ∉ F → ∀ (adv : ℕ → P → P → List (SignedChain P V)) (input : V), π.Unforgeable F input adv → ∀ i ∉ F, π.decision F adv input R i = input
Validity: if
dealeris correct, all correct processes decideinputafterRrounds.
Tolerating t faults implies tolerating t' ≤ t faults.
Total point-to-point signed chains emitted by correct processes (∉ F) across all recipients
over the first R rounds.
The Dolev–Strong protocol #
Local process state in the Dolev–Strong protocol: at most two extracted candidate values and the newly cosigned chains queued to forward in the next round.
- extracted : List V
Distinct values extracted from valid chains so far (capped at length
≤ 2). - toRelay : List (SignedChain P V)
Chains cosigned in the most recent round to be forwarded in the next round.
Decision rule for dolevStrong: output v when extracted is the unique singleton [v], and
fall back to v₀ when zero or at least two values were extracted.
Step-eligibility predicate for dolevStrong (Dolev and Strong, §4,
Theorem 3, pp. 662–663): at step r (phase r + 1), process i in state s accepts an incoming
chain c iff c is rooted at dealer (c.signers.getLast? = some dealer), has exact phase length
c.signers.length = r + 1 with Nodup signers excluding i, carries a fresh value
c.value ∉ s.extracted, and s.extracted has not yet reached its two-value cap.
Extract at most one new eligible value (from the minimum sender j offering one) and prepend
its cosigned chain to s.toRelay. Running this twice per round suffices because s.extracted is
capped at length 2.
One round of local state update for dolevStrong at step r ≤ t.
The Dolev–Strong (t + 1)-round authenticated broadcast protocol
(Dolev and Strong, §4, Theorem 3, pp. 662–663), with broadcaster dealer,
default fallback value v₀, and fault bound t.
This formalization enforces dealer-rooted exact-phase-length chains (dolevStrongEligible:
c.signers.getLast? = some dealer, c.signers.length = r + 1, c.signers.Nodup, i ∉ c.signers),
forwards queued chains only to recipients dst ∉ c.signers (so every emitted chain has
c.signers.length = r + 1 ≤ t + 1), incorporates Theorem 3's two-value relay cap
(extracted.length ≤ 2) over arbitrary [DecidableEq V] with deterministic sender tie-breaking via
[LinearOrder P], and models signatures via trace provenance (AuthProtocol.WellSigned and
AuthProtocol.Unforgeable) rather than nested cryptographic primitives.
Step invariants for dolevStrongStepOnce and dolevStrongRound #
Global state invariants of dolevStrong #
Emitted chain structure (Dolev and Strong, §4, Theorem 3, pp. 662–663):
every chain c emitted by dolevStrong from j to dst at step r is rooted at dealer,
contains j, excludes dst, has Nodup signers, and has exact phase length r + 1 ≤ t + 1.
Dolev–Strong authenticated synchronous broadcast (Dolev and Strong,
§4, Theorem 3, pp. 662–663): dolevStrong P V dealer v₀ t solves synchronous authenticated
broadcast against up to t Byzantine faults in any R ≥ t + 1 rounds, for arbitrary finite P
without any n > 3t bound.
Polynomial communication complexity #
Exact relay-queue identity: across all t + 1 protocol rounds, each process i queues
exactly ((state t i).extracted).length signed chains in toRelay.
Per-edge relay bound (Dolev and Strong, §4, Theorem 3, p. 663): across
any number of rounds R, each process i sends at most 2 signed chains to each recipient
dst.
Polynomial communication complexity (Dolev and Strong, §4, Theorem 3,
pp. 662–663): across any R rounds, all correct processes together emit at most
2 * (Fintype.card P - F.card) * (Fintype.card P - 1) point-to-point signed chains—at most two per
directed edge leaving a correct process.