Agda specification for the hydra-protocol.
To produce the specification PDF in result/:
nix build
In a nix shell (nix develop or using nix-direnv) you can type check:
agda src/Hydra/Protocol/Main.lagdaor build the PDF iteratively:
shakewith the specification PDF available in _build/hydra-spec.pdf.