diff options
Diffstat (limited to 'test/regress/regress1/sygus/real-grammar.sy')
-rw-r--r-- | test/regress/regress1/sygus/real-grammar.sy | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/regress/regress1/sygus/real-grammar.sy b/test/regress/regress1/sygus/real-grammar.sy new file mode 100644 index 000000000..c2f4ae0bc --- /dev/null +++ b/test/regress/regress1/sygus/real-grammar.sy @@ -0,0 +1,14 @@ +; EXPECT: unsat +; COMMAND-LINE: --sygus-out=status --cegqi-si=none + +(set-logic LRA) + +(synth-fun f ((x Real)) Real) + +(declare-var x Real) + +(constraint (and (< 0 (f x)) (< (f x) 1))) + +(check-synth) + +; any number between 0 and 1 is a solution, e.g. (f x) = (/ 1 (+ 1 1))
\ No newline at end of file |