-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(smt2/parser.yy): Fix name_sort_list
Close #245
- Loading branch information
1 parent
0d34d44
commit 6d1da9f
Showing
5 changed files
with
26 additions
and
7 deletions.
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
delta-sat with delta = 0.001 | ||
z : [-1, -1] | ||
z : [1, 1] | ||
(model | ||
(define-fun z () Real -1) | ||
(define-fun z () Real 1) | ||
) |
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,13 @@ | ||
(set-logic QF_NRA) | ||
(declare-fun a () Real) | ||
(declare-fun b () Real) | ||
(define-fun get_R ((x Real) (y Real)) Real | ||
(* x (cos y))) | ||
(assert (= a 12)) | ||
(assert (= b -0.7853981633974483)) | ||
(declare-fun R () Real) | ||
;(assert (= R (* a (cos b)))) | ||
(assert (= R (get_R a b))) | ||
(check-sat) | ||
(get-model) | ||
|
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,6 @@ | ||
delta-sat with delta = 0.001 | ||
(model | ||
(define-fun a () Real 12) | ||
(define-fun b () Real [-0.78539816339744839, -0.78539816339744828]) | ||
(define-fun R () Real [8.4852813742385571, 8.4852813742385855]) | ||
) |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
delta-sat | ||
0.001 | ||
( | ||
(z (- 1)) | ||
(z 1) | ||
) |