Debian Codegraph @

test/regress/cli/regress0/sygus/sygus-uf.sy

raw
1 ; COMMAND-LINE: --lang=sygus2 --sygus-out=status
2 ; EXPECT: feasible
3 (set-logic HO_ALL)
4
5 (declare-var uf (-> Int Int))
6
7 (synth-fun f ((x Int) (y Int)) Bool
8 ((Start Bool) (IntExpr Int))
9 ((Start Bool (true false
10 (<= IntExpr IntExpr)
11 (= IntExpr IntExpr)
12 (and Start Start)
13 (or Start Start)
14 (not Start)))
15 (IntExpr Int (0 1 x y
16 (+ IntExpr IntExpr)
17 (- IntExpr IntExpr)))))
18
19 (declare-var x Int)
20
21 (constraint (f (uf x) (uf x)))
22
23 (check-synth)