summaryrefslogtreecommitdiff
path: root/test/regress/regress2/sygus/real-grammar-neg.sy
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress2/sygus/real-grammar-neg.sy')
-rw-r--r--test/regress/regress2/sygus/real-grammar-neg.sy14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/regress/regress2/sygus/real-grammar-neg.sy b/test/regress/regress2/sygus/real-grammar-neg.sy
new file mode 100644
index 000000000..523c95ec2
--- /dev/null
+++ b/test/regress/regress2/sygus/real-grammar-neg.sy
@@ -0,0 +1,14 @@
+; EXPECT: unsat
+; COMMAND-LINE: --sygus-out=status --cegqi-si=none --no-sygus-pbe
+
+(set-logic LRA)
+
+(synth-fun f ((x Real)) Real)
+
+(declare-var x Real)
+
+(constraint (and (= (f -4) -2) (= (f -9) (/ -9 2))))
+
+(check-synth)
+
+; a solution is f = (/ x (+ 1 1))
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback