Debian Codegraph @

test/regress/cli/regress0/sygus/inv-different-var-order.sy

raw
1 ; COMMAND-LINE: --lang=sygus2 --sygus-out=status
2 ;EXPECT: feasible
3 (set-logic LIA)
4 (synth-inv inv-f ((x Int) (y Int) (b Bool)))
5 (define-fun pre-f ((x Int) (y Int) (b Bool)) Bool
6 (and
7 (and (>= x 5) (<= x 9))
8 (and (>= y 1) (<= y 3))
9 )
10 )
11 (define-fun trans-f ((x Int) (y Int) (b Bool) (x! Int) (y! Int) (b! Bool)) Bool
12 (and
13 (and (= b! b) (= y! x))
14 (ite b (= x! (+ x 10)) (= x! (+ x 12)))
15 )
16 )
17 (define-fun post-f ((x Int) (y Int) (b Bool)) Bool true)
18 (inv-constraint inv-f pre-f trans-f post-f)
19 (check-synth)