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

repr_inj_signed64 has incorrect bounds. #789

Open
roconnor-blockstream opened this issue Aug 19, 2024 · 0 comments · May be fixed by #807
Open

repr_inj_signed64 has incorrect bounds. #789

roconnor-blockstream opened this issue Aug 19, 2024 · 0 comments · May be fixed by #807

Comments

@roconnor-blockstream
Copy link
Contributor

roconnor-blockstream commented Aug 19, 2024

repr_inj_signed64 has type

 forall i j : Z, Int64.min_signed <= i <= Int.max_signed -> Int64.min_signed <= j <= Int.max_signed -> Int64.repr i = Int64.repr j -> i = j

but ought to have type

 forall i j : Z, Int64.min_signed <= i <= Int64.max_signed -> Int64.min_signed <= j <= Int64.max_signed -> Int64.repr i = Int64.repr j -> i = j

where Int.max_signed is replaced with Int64.max_signed.

andrew-appel added a commit that referenced this issue Jan 10, 2025
@andrew-appel andrew-appel linked a pull request Jan 10, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant