Skip to content
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

Fix some mistakes in the Shelley formal spec #4278

Open
javierdiaz72 opened this issue Apr 19, 2024 · 0 comments · May be fixed by #4287
Open

Fix some mistakes in the Shelley formal spec #4278

javierdiaz72 opened this issue Apr 19, 2024 · 0 comments · May be fixed by #4287
Assignees
Labels
bug Something isn't working 📜 formal-spec shelley

Comments

@javierdiaz72
Copy link
Contributor

javierdiaz72 commented Apr 19, 2024

The following mistakes in the Shelley formal specification shall be fixed:

  1. Figure 69: Instead of $ℙ\;PrtclEnv$, it should say $PrtclEnv$.
  2. Section 12.13: Instead of "It calls BHEAD, PRTCL, and BBODY as sub-rules." it should say "It calls TICK, TICKN, PRTCL, and BBODY as sub-rules."; and similarly in the introduction paragraph of Section 12.
  3. Figure 75: It should say $(e_2, \_, b_{cur}, es, \_, pd)$ instead of $(e_2, \_, b_{cur}, es, \_, \_, pd)$, and $\mathsf{bhash}\;bhb$ instead of $\mathsf{bhash}\;bh$.
  4. Figure 5: The function $\mathsf{vrf}_\mathsf{T}$ returns a value of type $\mathsf{T} \times \mathsf{Proof}$ but the function $\mathsf{verifyVrf}_\mathsf{T}$ expects a value of type $\mathsf{Proof} \times \mathsf{T}$, therefore the expression $\mathsf{verifyVrf}_\mathsf{T}\;vk\;seed\;(\mathsf{vrf}_\mathsf{T}\;sk\;seed)$ is ill-typed. When fixing this, we shall take into account the uses of $\mathsf{verifyVrf}_\mathsf{T}$ in Section 12.9.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 📜 formal-spec shelley
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants