Debian Codegraph @

test/regress/cli/regress1/sygus/max-limit.sy

raw
1 ; COMMAND-LINE: --sygus-si=all --sygus-si-rcons=all-limit --sygus-si-rcons-limit=0 --sygus-out=status
2 ; ERROR-SCRUBBER: grep -o "reconstruction to syntax failed."
3 ; EXPECT-ERROR: reconstruction to syntax failed.
4 ; EXPECT: fail
5 ; REQUIRES: no-competition
6
7 (set-logic LIA)
8
9 (synth-fun max ((x Int) (y Int)) Int
10 ((Start Int) (StartBool Bool))
11 ((Start Int (0 1 x y
12 (+ Start Start)
13 (- Start Start)
14 (ite StartBool Start Start)))
15 (StartBool Bool ((and StartBool StartBool)
16 (not StartBool)
17 (<= Start Start)))))
18
19 (declare-var x Int)
20 (declare-var y Int)
21
22 (constraint (= (max x y) (ite (<= x y) y x)))
23
24 (check-synth)