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

Complete lemmas that relate shifting with &&& allOnes #614

Open
tobiasgrosser opened this issue Sep 13, 2024 · 2 comments
Open

Complete lemmas that relate shifting with &&& allOnes #614

tobiasgrosser opened this issue Sep 13, 2024 · 2 comments
Assignees

Comments

@tobiasgrosser
Copy link
Collaborator

tobiasgrosser commented Sep 13, 2024

There is a second identity in this space; we currently only have proven one:

x >>> n <<< n = x &&& BitVec.allOnes w <<< n := by
x <<< n >>> n = x &&& BitVec.allOnes w >>> n := by

Also, what about sshiftRight?

@luisacicolini luisacicolini self-assigned this Sep 19, 2024
@luisacicolini
Copy link
Contributor

these are the ones solving statement 476, right?

@tobiasgrosser
Copy link
Collaborator Author

Not sure. None of these may be needed for lean-mlir, but for upstreaming we typically want to complete a family of PRs.

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

No branches or pull requests

2 participants