-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PBTS: system model made more precise #8096
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks great. Even the inequalities have been updated now ;-)
* The property needs to be properly demonstrated.
spec/consensus/proposer-based-timestamp/pbts-sysmodel_002_draft.md
Outdated
Show resolved
Hide resolved
spec/consensus/proposer-based-timestamp/pbts-sysmodel_002_draft.md
Outdated
Show resolved
Hide resolved
The existence of `POL(v,r)` is a requirement for the decision of `v` at round | ||
`r` of consensus. | ||
|
||
At the same time, the Time-Validity property established that if `v` is decided | ||
then a timely proof-of-lock `POL(v,v.round)` must have been produced. | ||
|
||
So, we need to demonstrate here that any valid `POL(v,r)` is either a timely | ||
proof-of-lock or it is derived from a timely proof-of-lock: | ||
|
||
#### **[PBTS-DERIVED-POL.0]** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really like this section! Very clear.
Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
spec/consensus/proposer-based-timestamp/pbts-sysmodel_002_draft.md
Outdated
Show resolved
Hide resolved
spec/consensus/proposer-based-timestamp/pbts-sysmodel_002_draft.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor fixups but otherwise looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good. I would just rename one section as proposed
spec/consensus/proposer-based-timestamp/pbts-sysmodel_002_draft.md
Outdated
Show resolved
Hide resolved
spec/consensus/proposer-based-timestamp/pbts-sysmodel_002_draft.md
Outdated
Show resolved
Hide resolved
spec/consensus/proposer-based-timestamp/pbts-sysmodel_002_draft.md
Outdated
Show resolved
Hide resolved
…t.md Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
…t.md Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com>
`beginRound(p,r)` to represent the time the process `p` reads from its clock | ||
when it starts round `r` of consensus. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`beginRound(p,r)` to represent the time the process `p` reads from its clock | |
when it starts round `r` of consensus. | |
`beginRound(p,r)` as the value of process `p`'s local clock | |
when it starts round `r` of consensus. |
…t.md Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com>
…t.md Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com>
…t.md Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com>
This PR cherry-picks a number of commits present in the `master` branch of this repository. Some of the commits are from the old `tendermint/spec` repository, namely: - tendermint/spec#369 - tendermint/spec#373 - tendermint/spec#375 - tendermint/spec#398 - tendermint/spec#399 This content has then been migrated to the `tendermint/tendermint` repository, from which follow PRs were considered: - tendermint/tendermint#7804 (**not cherry-picked**) - tendermint/tendermint#8018 - tendermint/tendermint#8096 Most of the conflicts and the fixes needed refer to links to content, that have been updated or referred to old repositories. The MD files that are currently under `spec/consensus/proposer-based-timestamp` were moved to the `v1` subdir. Files with similar names, but the `-002` suffix were added with the new solution, replacing the old ones. The differences from the original content, on `master` and the content of this PR are minimal, as one can check by running ` git diff master spec/consensus/proposer-based-timestamp/` Finally, the entry point of the added content can be found [here](https://github.com/cometbft/cometbft/blob/cason/pbts-spec/spec/consensus/proposer-based-timestamp/README.md). --------- Co-authored-by: Daniel <daniel.cason@usi.ch> Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com> Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com> Co-authored-by: Kukovec <jure.kukovec@gmail.com> Co-authored-by: Daniel Cason <cason@gandria> Co-authored-by: M. J. Fromberger <fromberger@interchain.io> Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
This PR cherry-picks a number of commits present in the `master` branch of this repository. Some of the commits are from the old `tendermint/spec` repository, namely: - tendermint/spec#369 - tendermint/spec#373 - tendermint/spec#375 - tendermint/spec#398 - tendermint/spec#399 This content has then been migrated to the `tendermint/tendermint` repository, from which follow PRs were considered: - tendermint/tendermint#7804 (**not cherry-picked**) - tendermint/tendermint#8018 - tendermint/tendermint#8096 Most of the conflicts and the fixes needed refer to links to content, that have been updated or referred to old repositories. The MD files that are currently under `spec/consensus/proposer-based-timestamp` were moved to the `v1` subdir. Files with similar names, but the `-002` suffix were added with the new solution, replacing the old ones. The differences from the original content, on `master` and the content of this PR are minimal, as one can check by running ` git diff master spec/consensus/proposer-based-timestamp/` Finally, the entry point of the added content can be found [here](https://github.com/cometbft/cometbft/blob/cason/pbts-spec/spec/consensus/proposer-based-timestamp/README.md). --------- Co-authored-by: Daniel <daniel.cason@usi.ch> Co-authored-by: Josef Widder <44643235+josef-widder@users.noreply.github.com> Co-authored-by: William Banfield <4561443+williambanfield@users.noreply.github.com> Co-authored-by: Kukovec <jure.kukovec@gmail.com> Co-authored-by: Daniel Cason <cason@gandria> Co-authored-by: M. J. Fromberger <fromberger@interchain.io> Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com> (cherry picked from commit 84339ef)
System model updated from comments received in meetings, being also aligned with the restrictions imposed by the formal specification of the solution in TLA+.