test/regress/cli/regress1/sygus/inv-unused.sy
raw| 1 | ; EXPECT: feasible |
| 2 | ; COMMAND-LINE: --lang=sygus2 --sygus-out=status |
| 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 (and (>= x 5) (<= x 9))) |
| 6 | (define-fun trans-f ((x Int) (y Int) (b Bool) (x! Int) (y! Int) (b! Bool)) Bool (= x! (+ x 1))) |
| 7 | (define-fun post-f ((x Int) (y Int) (b Bool)) Bool (> x 0)) |
| 8 | (inv-constraint inv-f pre-f trans-f post-f) |
| 9 | ; invariant does not depend on arguments y and b |
| 10 | (check-synth) |