feat(FLP): distributed algorithms for solving the consensus problem - #556
Merged
Conversation
Collaborator
Author
|
Rebased on the current |
fmontesi
requested changes
May 29, 2026
Collaborator
Author
|
I added an additional file |
fmontesi
approved these changes
Jun 1, 2026
benbrastmckie
pushed a commit
to benbrastmckie/cslib
that referenced
this pull request
Jun 14, 2026
…eanprover#556) This is the first PR of the formalization of Völzer's proof of the famous result in distributed computing, first proved by Fischer, Lynch and Paterson, that distributed consensus is impossible in the presence of even a single crash fault. * `Algorithm.lean` defines the "syntax" of a distributed algorithm for solving the consensus problem and proves some basic properties. * `Consensus.lean` defines what it means for a distributed algorithm to solve the consensus problem in a fault-tolerant way and proves some basic properties. * README.md is for the overall project and mentions Lean files which will be PR-ed later. * references.bib is updated to add the papers by FLP and Völzer. Zulip discussion: [#CSLib > Impossibility of distributed consensus](https://leanprover.zulipchat.com/#narrow/channel/513188-CSLib/topic/Impossibility.20of.20distributed.20consensus/with/592462001) [#CSLib: PR reviews > leanprover#556: consensus](https://leanprover.zulipchat.com/#narrow/channel/605128-CSLib.3A-PR-reviews/topic/.23556.3A.20consensus/with/598654217)
dtumad
pushed a commit
to dtumad/cslib
that referenced
this pull request
Jul 13, 2026
… fairness properties (leanprover#612) This PR contains some technical machineries for reasoning about diamond and fairness properties about the distributed algorithms introduced in leanprover#556: * `CanReachVia.lean` defines the notion of reachability via a subset of processes and proves some of its properties, including some diamond properties. * `FairScheduler.lean` contains a technical machinery for constructing fair executions, which will be used in formalizing some arguments which were either only hinted at or completely glossed over in Völzer's paper. Zulip discussion: https://leanprover.zulipchat.com/#narrow/channel/513188-CSLib/topic/Impossibility.20of.20distributed.20consensus/with/592462001
intgrah
pushed a commit
to intgrah/cslib
that referenced
this pull request
Jul 14, 2026
… fairness properties (leanprover#612) This PR contains some technical machineries for reasoning about diamond and fairness properties about the distributed algorithms introduced in leanprover#556: * `CanReachVia.lean` defines the notion of reachability via a subset of processes and proves some of its properties, including some diamond properties. * `FairScheduler.lean` contains a technical machinery for constructing fair executions, which will be used in formalizing some arguments which were either only hinted at or completely glossed over in Völzer's paper. Zulip discussion: https://leanprover.zulipchat.com/#narrow/channel/513188-CSLib/topic/Impossibility.20of.20distributed.20consensus/with/592462001
fmontesi
pushed a commit
that referenced
this pull request
Jul 22, 2026
… fairness properties (#612) This PR contains some technical machineries for reasoning about diamond and fairness properties about the distributed algorithms introduced in #556: * `CanReachVia.lean` defines the notion of reachability via a subset of processes and proves some of its properties, including some diamond properties. * `FairScheduler.lean` contains a technical machinery for constructing fair executions, which will be used in formalizing some arguments which were either only hinted at or completely glossed over in Völzer's paper. Zulip discussion: https://leanprover.zulipchat.com/#narrow/channel/513188-CSLib/topic/Impossibility.20of.20distributed.20consensus/with/592462001
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is the first PR of the formalization of Völzer's proof of the famous result in distributed computing, first proved by Fischer, Lynch and Paterson, that distributed consensus is impossible in the presence of even a single crash fault.
Algorithm.leandefines the "syntax" of a distributed algorithm for solving the consensus problem and proves some basic properties.Consensus.leandefines what it means for a distributed algorithm to solve the consensus problem in a fault-tolerant way and proves some basic properties.Zulip discussion:
#CSLib > Impossibility of distributed consensus
#CSLib: PR reviews > #556: consensus