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

Sync executable with formal spec - NEWEPOCH STS #741

Closed
uroboros opened this issue Aug 8, 2019 · 3 comments · Fixed by #804
Closed

Sync executable with formal spec - NEWEPOCH STS #741

uroboros opened this issue Aug 8, 2019 · 3 comments · Fixed by #804

Comments

@uroboros
Copy link
Contributor

uroboros commented Aug 8, 2019

Screenshot_FIG55

The exec. spec effectively does

floor (activeSlotCoeeff pp * (floor ((d pp) * SlotsPerEpoch))) - 1

instead of the formal spec's

floor (activeSlotCoeeff pp * ((d pp) * SlotsPerEpoch)))

Screenshot_FIG56

  • the exec spec considers the two cases

    e_l + 1 /= e
    e_l + 1 == e

and the formal spec uses two different cases althogether

e  = e_l + 1
e_l /= e + 1
  • the sd and pd' definitions in the formal spec are hard to recognise in the exec spec
@mgudemann
Copy link
Contributor

I see if eL' + 1 /= e' then pure src else do in the exec spec

@mgudemann
Copy link
Contributor

I agree that aggregate+ should be translated more clearly, maybe using Relation could be of help here?

@uroboros
Copy link
Contributor Author

uroboros commented Aug 9, 2019

I see if eL' + 1 /= e' then pure src else do in the exec spec

thanks, fixed that in the above (but the mismatch remains)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants