summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/real-grammar.sy
blob: c2f4ae0bc2b7486e74a27a7330f654ac8182fe13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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))
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback