Debian Codegraph @

test/regress/cli/regress1/sygus/real-grammar.sy

raw
1 ; EXPECT: feasible
2 ; COMMAND-LINE: --lang=sygus2 --sygus-out=status --sygus-si=none
3
4 (set-logic LRA)
5
6 (synth-fun f ((x Real)) Real)
7
8 (declare-var x Real)
9
10 (constraint (and (< 0 (f x)) (< (f x) 1)))
11
12 (check-synth)
13
14 ; any number between 0 and 1 is a solution, e.g. (f x) = (/ 1 (+ 1 1))