mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
parent
9dca8d18ed
commit
7e1e64d027
2 changed files with 10 additions and 4 deletions
|
@ -450,6 +450,10 @@ namespace bv {
|
|||
* Create the axioms:
|
||||
* bit2bool(i,n) == ((e div 2^i) mod 2 != 0)
|
||||
* for i = 0,.., sz-1
|
||||
*
|
||||
* Alternative axiomatization:
|
||||
* e = sum bit2bool(i,n)*2^i + 2^n * (div(e, 2^n))
|
||||
* possibly term div(e,2^n) is not
|
||||
*/
|
||||
void solver::assert_int2bv_axiom(app* n) {
|
||||
expr* e = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue