Skip to content
Discussion options

You must be logged in to vote

Thanks for giving Verus a try! To answer your question, the bit-vector solver, by default, doesn't inherit the surrounding proof context, so in your example, it doesn't know anything about input except that it's a 64-bit unsigned number. This design helps keep the bit-vector solver faster and more deterministic. To provide any necessary context, you can include a requires clause on your assert. With that added, it verifies.

The bit-vector docs have more details.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@George-Miao
Comment options

@tjhance
Comment options

Answer selected by George-Miao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
3 participants