-
Notifications
You must be signed in to change notification settings - Fork 148
Add some thms about v2w + some syntax upgrades #1451
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
base: develop
Are you sure you want to change the base?
Conversation
I don't know whether this theorem is good considering the v2n uses + while this one uses || |
The particularly simple theorems look like good candidates for |
The issue is the conflicting rewrites between
And
It can be fairly easy to end up needing to prove that the shift equals the addition. Which form should stuff be normalized to. |
Note the main motivation of this pr was stuff like |
The theorem i was attempting to prove was
https://github.com/CakeML/cakeml/blob/901170b785fb177d23b8f92318e9252266eed3ac/compiler/backend/word_to_stackScript.sml#L201 is equal to the v2w reversed. |
Strictly, The connection between the two constants is presumably expressed with a theorem like
Given our (generally very strong) preference for |
I would agree that having |
No description provided.