Post-GST deterministic liveness and tight resiliency bounds under partial synchrony #
Post-stabilization termination of byzQuorumProtocol (3 * t < Fintype.card P) and
omissionQuorumProtocol (2 * t < Fintype.card P) under the shared round-robin
Cslib.Distributed.rotatingCoordinator, together
with the matching impossibility results (2 ≤ Fintype.card P ≤ 3 * t for unauthenticated Byzantine
faults and 2 ≤ Fintype.card P ≤ 2 * t for crash/omission faults) and exact characterizations of
when deterministic partial-synchrony consensus is solvable
(Dwork, Lynch and Stockmeyer, §§3.2, 4.3).
Main definitions #
Cslib.Distributed.PartialSynchrony.PartialSyncProtocol.toSyncProtocol: specializes aPartialSyncProtocolatGST = 0without message omissions (deliver = fun _ _ _ => true) to a synchronousCslib.Distributed.Byzantine.Protocol.
Main results #
Cslib.Distributed.PartialSynchrony.byzQuorum_terminates_in_honest_view,Cslib.Distributed.PartialSynchrony.byzQuorum_terminates_after_gst: onceGSTholds, an honest-leader view decides for all correct processes at6 * (v* + 1), yielding uniform bounded termination by roundgst + 6 * (t + 2)(O(t)rounds afterGST, cf. Dwork, Lynch and Stockmeyer, §3.2.3, Remark 1, p. 302).Cslib.Distributed.PartialSynchrony.solvesByzantinePartialSync_byzQuorumProtocol:byzQuorumProtocolsolves unauthenticated Byzantine partial-synchrony consensus whenever3 * t < Fintype.card P(witnessing the existence half of Theorem 3.3, p. 302 via a six-subround rotating-coordinator view-locking protocol).Cslib.Distributed.PartialSynchrony.omission_terminates_in_honest_view,Cslib.Distributed.PartialSynchrony.omission_terminates_after_gst,Cslib.Distributed.PartialSynchrony.solvesOmissionPartialSync_omissionQuorumProtocol:omissionQuorumProtocolterminates by roundgst + 3 * (t + 2)and solves crash/omission partial-synchrony consensus whenever2 * t < Fintype.card P(witnessing the existence half of Theorem 3.1, p. 297 via a three-subround rotating-coordinator view-locking protocol).Cslib.Distributed.PartialSynchrony.not_partialSync_of_le_three_t: synchronousGST = 0reduction fromCslib.Distributed.Byzantine.Protocol.not_solvesByzantineAgreementrefuting fixed-roundRagreement, validity, and termination atdeliver = fun _ _ _ => truefor2 ≤ Fintype.card P ≤ 3 * t.Cslib.Distributed.PartialSynchrony.not_omissionPartialSync_weakUnanimity,Cslib.Distributed.PartialSynchrony.not_solvesOmissionPartialSync: crash/omission impossibility for2 ≤ Fintype.card P ≤ 2 * tover any[Nontrivial V], proved under weak unanimity (F = ∅,∃ gst, IsGST deliver ∅ gst) by healing the pre-GSTtwo-group partition afterR₀,R₁, andmax R₀ R₁(Theorem 4.3, pp. 305–306 in the §3.1 basic round model).Cslib.Distributed.PartialSynchrony.not_solvesByzantinePartialSync: unauthenticated Byzantine impossibility for2 ≤ Fintype.card P ≤ 3 * tover any[Nontrivial V], reducing correct-input validity atGST = 0to synchronous covering (Pease, Shostak and Lamport; Fischer, Lynch and Merritt), matching the unauthenticated "only if" reduction noted in Dwork, Lynch and Stockmeyer, §1.2, p. 291.Cslib.Distributed.PartialSynchrony.exists_solvesByzantinePartialSync_iff,Cslib.Distributed.PartialSynchrony.exists_solvesOmissionPartialSync_iff: sharp characterizationsFintype.card P ≤ 1 ∨ 3 * t < Fintype.card PandFintype.card P ≤ 1 ∨ 2 * t < Fintype.card P(Table I, p. 291, circumventing asynchronous FLP impossibility via eventualGSTwithout randomness).
References #
Post-GST bounded termination of byzQuorumProtocol (3 * t < Fintype.card P) #
Single-honest-view termination (byzQuorum_terminates_in_honest_view): when
3 * t < Fintype.card P, F.card ≤ t, the view coordinator leader v* is correct (∉ F), and
all 6 subrounds 6 * v* .. 6 * v* + 5 of view v* deliver every message between correct
processes, every correct process i ∉ F has decided (isSome = true) at 6 * (v* + 1).
Post-GST bounded termination (byzQuorum_terminates_after_gst): under
rotatingCoordinator, once IsGST deliver F gst holds with 3 * t < Fintype.card P and
F.card ≤ t, every correct process i ∉ F has decided by round gst + 6 * (t + 2) (O(t) rounds
after GST, cf.
Dwork, Lynch and Stockmeyer, §3.2.3, Remark 1, p. 302).
byzQuorumProtocol with rotatingCoordinator solves unauthenticated Byzantine
partial-synchrony consensus whenever 3 * t < Fintype.card P (witnessing the existence half of
Dwork, Lynch and Stockmeyer, Theorem 3.3, p. 302 in the §3.1 basic round
model via a six-subround rotating-coordinator view-locking protocol).
Post-GST bounded termination of omissionQuorumProtocol (2 * t < Fintype.card P) #
Single-honest-view omission termination (omission_terminates_in_honest_view): if
2 * t < Fintype.card P, F.card ≤ t, leader v* ∉ F, and all 3 subrounds 3 * v* .. 3 * v* + 2
deliver every message between correct processes, then every correct process i ∉ F has decided at
round 3 * (v* + 1).
Post-GST bounded omission termination (omission_terminates_after_gst): under
rotatingCoordinator, once IsGST deliver F gst holds with 2 * t < Fintype.card P and
F.card ≤ t, every correct process i ∉ F has decided by round gst + 3 * (t + 2).
omissionQuorumProtocol with rotatingCoordinator solves crash/omission partial-synchrony
consensus whenever 2 * t < Fintype.card P (witnessing the existence half of
Dwork, Lynch and Stockmeyer, Theorem 3.1, p. 297 in the §3.1 basic round
model via a three-subround rotating-coordinator view-locking protocol).
Synchronous GST = 0 reduction and tight lower bounds (2t < n and 3t < n) #
Specializes a PartialSyncProtocol P V S M to a synchronous Boolean
Cslib.Distributed.Byzantine.Protocol P S (Option M) at GST = 0 (deliver = fun _ _ _ => true),
mapping input bits false ↦ v₀, true ↦ v₁ and testing output i s = some v₁.
With zero network omissions (deliver = fun _ _ _ => true), byzantineState coincides round
for round with (π.toSyncProtocol v₀ v₁).state.
Synchronous-special-case impossibility (not_partialSync_of_le_three_t): since GST = 0
with deliver = fun _ _ _ => true embeds synchronous Byzantine.Protocol directly,
Cslib.Distributed.Byzantine.Protocol.not_solvesByzantineAgreement rules out any protocol that
achieves fixed-round R agreement, correct-input validity, and termination at
deliver = fun _ _ _ => true when 2 ≤ Fintype.card P ≤ 3 * t.
Unbounded unauthenticated Byzantine impossibility (not_solvesByzantinePartialSync,
Dwork, Lynch and Stockmeyer, §1.2 and Table I, p. 291): when
2 ≤ Fintype.card P ≤ 3 * t and V has at least two values, no deterministic protocol solves
SolvesByzantinePartialSync t (even with run-dependent unbounded termination rounds and infinite
message spaces).
As noted in Dwork, Lynch and Stockmeyer, §1.2, p. 291, for
unauthenticated Byzantine faults with correct-input validity (∀ i ∉ F, x i = v) the 2 ≤ |P| ≤ 3t
lower bound reduces at GST = 0 (deliver = fun _ _ _ => true) to the completely synchronous
bound of Pease, Shostak and Lamport, proved here via the synchronous
covering simulation Cslib.Distributed.Byzantine.Protocol.state_eq_coverState of
Fischer, Lynch and Merritt (distinct from DLS Theorem 4.4, p. 306, which
establishes 2 ≤ N ≤ 3t for authenticated Byzantine faults and weak unanimity via pre-GST
partition delay and is not formalized here).
Weak-unanimity crash/omission lower bound (not_omissionPartialSync_weakUnanimity,
Dwork, Lynch and Stockmeyer, Theorem 4.3, pp. 305–306): in the §3.1
basic round model, when 2 ≤ Fintype.card P ≤ 2 * t and V has at least two values, no
deterministic protocol achieves post-GST termination against ≤ t omission faults together with
failure-free (F = ∅, ∃ gst, IsGST deliver ∅ gst) agreement and weak unanimity.
Matches the partition-and-healing proof of Theorem 4.3: partitioning P into A and Aᶜ of size
≤ t forces a ∈ A to decide at some round R₀ on all-v₀ inputs (which must equal v₀ by
healing the partition after R₀ so IsGST _ ∅ R₀ holds and invoking weak unanimity) and b ∉ A to
decide v₁ at some round R₁ on all-v₁ inputs (healing after R₁), contradicting failure-free
agreement on the mixed-input schedule that heals at max R₀ R₁.
Crash/omission lower bound (not_solvesOmissionPartialSync,
Dwork, Lynch and Stockmeyer, Theorem 4.3, pp. 305–306): when
2 ≤ Fintype.card P ≤ 2 * t and V has at least two values, no deterministic protocol solves
SolvesOmissionPartialSync t (immediate from not_omissionPartialSync_weakUnanimity).
Sharp resiliency characterizations #
Sharp characterization of unauthenticated Byzantine consensus under partial synchrony
(exists_solvesByzantinePartialSync_iff,
Dwork, Lynch and Stockmeyer, Table I, p. 291): over any nontrivial
value domain [Nontrivial V], deterministic consensus tolerating t unauthenticated Byzantine
faults under partial synchrony is solvable if and only if
Fintype.card P ≤ 1 ∨ 3 * t < Fintype.card P.
Sharp characterization of crash/omission consensus under partial synchrony
(exists_solvesOmissionPartialSync_iff,
Dwork, Lynch and Stockmeyer, Table I, p. 291): over any nontrivial
value domain [Nontrivial V], deterministic consensus tolerating t crash/omission faults under
partial synchrony is solvable if and only if Fintype.card P ≤ 1 ∨ 2 * t < Fintype.card P.