-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update BDD library and add bvashr test.
- Loading branch information
Martin Jonáš
committed
May 21, 2018
1 parent
ffe47a1
commit 791a651
Showing
3 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
(set-info :smt-lib-version 2.6) | ||
(set-logic BV) | ||
(set-info :source | | ||
Generated by: Mathias Preiner | ||
Generated on: 2018-04-06 | ||
Application: Verification of invertibility conditions generated in [1]. | ||
Target solver: Boolector, CVC4, Z3 | ||
Publication: | ||
[1] Solving Quantified Bit-Vectors using Invertibility Conditions | ||
Aina Niemetz, Mathias Preiner, Andrew Reynolds, Clark Barrett and Cesare Tinelli | ||
To appear in CAV 2018 | ||
|) | ||
(set-info :license "https://creativecommons.org/licenses/by/4.0/") | ||
(set-info :category "crafted") | ||
(set-info :status unsat) | ||
(declare-fun s () (_ BitVec 16)) | ||
(declare-fun t () (_ BitVec 16)) | ||
|
||
(define-fun min () (_ BitVec 16) | ||
(bvnot (bvlshr (bvnot (_ bv0 16)) (_ bv1 16))) | ||
) | ||
(define-fun max () (_ BitVec 16) | ||
(bvnot min) | ||
) | ||
|
||
(define-fun SC ((s (_ BitVec 16)) (t (_ BitVec 16))) Bool | ||
(bvsge (bvlshr max s) t) | ||
) | ||
|
||
(assert | ||
(not | ||
(and | ||
(=> (SC s t) (exists ((x (_ BitVec 16))) (bvsge (bvashr x s) t))) | ||
(=> (exists ((x (_ BitVec 16))) (bvsge (bvashr x s) t)) (SC s t)) | ||
) | ||
) | ||
) | ||
(check-sat) | ||
(exit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters