Debian Codegraph @

test/regress/cli/regress1/sygus/issue10708-unconstrained-int.sy

raw
1 ; COMMAND-LINE: --sygus-out=status
2 ; EXPECT: feasible
3 (set-logic ALL)
4
5 (define-sort |T@T| () Int)
6 (synth-fun aType ((x Int)) T@T)
7 (synth-fun bType ((x Int)) T@T ((StartT T@T)) ( (StartT T@T ((Constant T@T)))))
8 (synth-fun cType () T@T)
9 (synth-fun dType () T@T ((StartT T@T)) ( (StartT T@T ((Constant T@T)))))
10
11
12 (synth-fun X ((x Int) (y Int)) Int
13 ((Start Int) (StartBool Bool))
14 ((Start Int (0 1 2 3 4 5 6 x y
15 (+ Start Start)
16 (- Start Start)
17 (ite StartBool Start Start)))
18 (StartBool Bool ((and StartBool StartBool)
19 (not StartBool)
20 (= Start Start)
21 (<= Start Start))))
22 )
23
24 (constraint (= (X 2 0) 1))
25 (constraint (and (= (X 0 1) 5) (= (X 0 0) 6)))
26
27
28 (check-synth)