-
Notifications
You must be signed in to change notification settings - Fork 232
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
FStar_Mul needed in fstar.lib #3577
Comments
mtzguido
added a commit
to mtzguido/FStar
that referenced
this issue
Oct 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Inlining sometimes fails to inline FStar.Mul.op_Star into Prims.op_Multiply, so it shows up in the OCaml. E.g.
This is because pow2 gets unfolded to a match with a scrutinee of
2 * x
, which is blocked, and we disable delta when we descend into the branches.This works now since FStar_Mul is in fstar.lib. Mostly posting this to document it.
Ideally this would just be a notation and the entire FStar_Mul module would be noextract.
The text was updated successfully, but these errors were encountered: