This repository contains some distributed consensus related stuff.
minimum-t.als contains an Alloy experiment about a protocol. Open the file with Alloy 4.2 and press "Execute" and then "Show".
In Alloy, enable Options->Forbid Overflow
Isabelle2017 should work.
-
DynamicValidatorSetOneMessage.thyis about one-message Casper (newer) with a dynamic validator set (more realistic), and proves accountable safety (not plausible liveness). -
CasperOneMessage.thyis about one-message Casper (newer) with a static validator set (unrealistic), and proves accountable safety (not plausible liveness).
-
DynamicValidatorSet.thyis about two-message Casper (older) with a dynamic validator set (more realistic), and proves accountable safety (not plausible liveness). -
Casper.thyis about two-message Casper (older) with a static validator set (unrealistic), and proves accountable safety (not plausible liveness). -
MinimumAlgo.thyis about two-message Casper (older) with a dynamic validator set, and proves accountable safety and plausible liveness.
Open the thy files with Isabelle2017.
Or, adjust the path in document_generation.sh and run it to obtain a PDF file (which should look like this one).
All files are distributed under Apache License Version 2.0. See LICENSE.