Add bool_to_Z
All threads resolved!
All threads resolved!
This MR adds bool_to_Z
which has been used as Z_of_bool
in both RefinedC and RustBelt.
There is not much theory for it as most of the time one can reason about it by computation.
Merge request reports
Activity
- Resolved by Michael Sammler
Would it make sense to have a lemma for
0 ≤ bool_to_Z b ≤ 1
?
- Resolved by Michael Sammler
So far this is the only one that came to my mind -- and we can easily add more lemmas later, of course.
LGTM! Do you think a changelog would be useful?
- Resolved by Michael Sammler
I'll wait for @robbertkrebbers to give his thumbs-up since this is a new API, but as far as I am concerned this is ready to land (with the nit resolved).
- Resolved by Michael Sammler
mentioned in commit a457d6de
Please register or sign in to reply