add more tests

This commit is contained in:
Simon Cruanes 2019-12-13 17:55:10 -06:00
parent d6c003390d
commit 14f68749a5
7 changed files with 254 additions and 0 deletions

File diff suppressed because one or more lines are too long

33
tests/sat/iso_brn099.smt2 Normal file

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,7 @@
(declare-sort a 0)
(declare-fun x () a)
(declare-fun f (a) a)
(assert (= x (f x)))
(assert (not (= x (f (f (f x))))))
(check-sat)

View file

@ -0,0 +1,13 @@
(declare-sort a 0)
(declare-fun x () a)
(declare-fun y () a)
(declare-fun f (a) a)
(declare-fun p1 () Bool)
(declare-fun p2 () Bool)
(assert (or p1 (= x y)))
(assert (or p1 (= y (f x))))
(assert (not (= x (f (f (f x))))))
(assert (or (not p1) p2))
(assert (or (not p1) (not p2)))
(check-sat)

View file

@ -0,0 +1,12 @@
(declare-sort a 0)
(declare-fun x () a)
(declare-fun y () a)
(declare-fun f (a) a)
(declare-fun p1 () Bool)
(assert (= x y))
(assert (or p1 (= y (f x))))
(assert (or (not p1) (= y (f (f x)))))
(assert (not (= x (f (f (f (f x)))))))
(check-sat)

View file

@ -0,0 +1,12 @@
(declare-sort a 0)
(declare-fun x () a)
(declare-fun y () a)
(declare-fun f (a) a)
(declare-fun p1 () Bool)
(assert (= x y))
(assert (or p1 (= y (f x))))
(assert (or (not p1) (= y (f (f x)))))
(assert (not (= x (f (f (f (f (f (f x)))))))))
(check-sat)

File diff suppressed because one or more lines are too long