summaryrefslogtreecommitdiff
path: root/test/regress/regress1
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-01-28 15:19:41 -0600
committerGitHub <noreply@github.com>2020-01-28 15:19:41 -0600
commit6473c66b039c933c433d2dec4a475780ebb72953 (patch)
tree24a8a34db88c384076668b953d24417add2d3dbe /test/regress/regress1
parent9bb84e49df11dd669db1fff22cb69a08dfaa7bb4 (diff)
Do not insist on bound values being constant in arithmetic instantiation (#3643)
Diffstat (limited to 'test/regress/regress1')
-rw-r--r--test/regress/regress1/sygus/issue3633.smt26
-rw-r--r--test/regress/regress1/sygus/issue3648.smt27
2 files changed, 13 insertions, 0 deletions
diff --git a/test/regress/regress1/sygus/issue3633.smt2 b/test/regress/regress1/sygus/issue3633.smt2
new file mode 100644
index 000000000..564a50cca
--- /dev/null
+++ b/test/regress/regress1/sygus/issue3633.smt2
@@ -0,0 +1,6 @@
+; EXPECT: sat
+; COMMAND-LINE: --sygus-inference
+(set-logic ALL)
+(declare-fun a () Real)
+(assert (distinct a (sin 2)))
+(check-sat)
diff --git a/test/regress/regress1/sygus/issue3648.smt2 b/test/regress/regress1/sygus/issue3648.smt2
new file mode 100644
index 000000000..e7b7547c4
--- /dev/null
+++ b/test/regress/regress1/sygus/issue3648.smt2
@@ -0,0 +1,7 @@
+; EXPECT: sat
+; COMMAND-LINE: --sygus-inference --no-check-models
+(set-logic ALL)
+(declare-fun a () Real)
+(assert (> a 0.000001))
+(assert (< (- (sin 1) a) 0.000001))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback