Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
yoni206 committed Apr 24, 2024
1 parent f38e940 commit 94ecade
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions test/regress/cli/regress0/nl/pow2-pow-isabelle.smt2
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
(declare-fun q$ () (_ BitVec 32))
(declare-fun n$ () Int)
(assert (>= n$ 0))
(define-fun bound () Int (bv2nat ((_ int2bv 32) (^ 2 11))))
(define-fun bound () Int (bv2nat ((_ int2bv 32) (int.pow2 11))))

;assumptions
(assert (< (bv2nat x$) bound))
(assert (< (bv2nat y$) (^ 2 (+ 11 n$))))
(assert (< (bv2nat z$) (^ 2 16)))
(assert (< (bv2nat y$) (int.pow2 (+ 11 n$))))
(assert (< (bv2nat z$) (int.pow2 16)))
(assert (< (bv2nat q$) bound))

;conclusion
(assert (not (< (div (+ (bv2nat x$) (bv2nat y$)) (^ 2 n$)) (^ 2 32))))
(assert (not (< (div (+ (bv2nat x$) (bv2nat y$)) (int.pow2 n$)) (int.pow2 32))))
(check-sat)
2 changes: 1 addition & 1 deletion test/regress/cli/regress0/nl/pow2-pow.smt2
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
(set-logic QF_NIA)
(declare-fun x () Int)
(assert (< x 0))
(assert (distinct (^ 2 x) 0))
(assert (distinct (int.pow2 x) 0))
(check-sat)

0 comments on commit 94ecade

Please sign in to comment.