summaryrefslogtreecommitdiff
path: root/test/regress/regress0/quantifiers/horn-ground-pre-post.smt2
blob: 082df249bc2874be8740c86390510a31ed86a38b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; COMMAND-LINE: --sygus-inference
; EXPECT: sat
(set-logic UFLIA)
(set-info :status sat)

(declare-fun I (Int Int) Bool)

(assert (I 1 0))

(assert (forall ((x Int) (y Int) (xp Int) (yp Int)) (=> (and (I x y) (= xp (+ x 1)) (= yp y)) (I xp yp))))

(assert (not (I 1 1)))

(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback