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

feat: add BitVec.toInt_sub #27

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

feat: add BitVec.toInt_sub #27

wants to merge 9 commits into from

Conversation

tobiasgrosser
Copy link

No description provided.

@tobiasgrosser tobiasgrosser changed the title feat: add toInt_sub feat: add BitVec.toInt_sub Oct 19, 2024
This requires us to expand the theory of `Int.bmod`, add `Int.natCast_sub`, as
well as `Int.ofNat_sub_ofNat` and a couple of related theorems.
· norm_cast
simp_all
rw [← BitVec.zero_sub, toInt_sub]
simp [BitVec.toInt_ofNat]
Copy link
Author

Choose a reason for hiding this comment

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

How nice. Thank you, @alexkeizer.

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 this pull request may close these issues.

2 participants