Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Typechecker: Simplify width(2^^n) to n + 1 #1803

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

RyanGlScott
Copy link
Contributor

This simplification ends up being critical in order to typecheck the code in the SPHINCS+ spec in cryptol-specs, as Cryptol's reasoning about exponentiation is otherwise not complete enough.

Fixes #1802.

This simplification ends up being critical in order to typecheck the code in
the SPHINCS+ spec in `cryptol-specs`, as Cryptol's reasoning about
exponentiation is otherwise not complete enough.

Fixes #1802.
Copy link
Contributor

@marsella marsella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for addressing so quickly!

@RyanGlScott RyanGlScott merged commit ba0f8d9 into master Feb 13, 2025
50 checks passed
@RyanGlScott RyanGlScott deleted the T1802-simplify-width-power-of-two branch February 13, 2025 22:02
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cryptol-specs regression due to changes in #1800
2 participants