Debian Codegraph @

test/regress/cli/regress1/sygus/only-const-grammar.sy

raw
1 ; EXPECT: feasible
2 ; COMMAND-LINE: --sygus-out=status --lang=sygus2 --no-sygus-pbe
3 ; COMMAND-LINE: --sygus-out=status --lang=sygus2 --no-sygus-repair-const
4 (set-logic LIA)
5
6 (synth-fun f ((x Int) (y Int)) Int
7 ((Start Int) (CInt Int))
8 (
9 (Start Int ((+ x CInt)))
10 (CInt Int ((Constant Int)))
11 )
12 )
13
14 (declare-var x Int)
15 (declare-var y Int)
16
17 (constraint (= (f 0 0) 2))
18
19 (constraint (= (f 1 1) 3))
20
21 (check-synth)