| 1 |
; EXPECT: sat |
| 2 |
(set-logic QF_ALL) |
| 3 |
(set-info :status sat) |
| 4 |
|
| 5 |
; Observed behavior |
| 6 |
; |
| 7 |
; Benchmark taking too long. Lemmas being generated indefinitely with |
| 8 |
; skolems due to the "two sets not being equal" axiom. |
| 9 |
; |
| 10 |
; What was the bug? |
| 11 |
; |
| 12 |
; |
| 13 |
|
| 14 |
(define-sort Elt () Int) |
| 15 |
(define-sort mySet () (Set Elt)) |
| 16 |
|
| 17 |
(declare-fun f (Int) mySet) |
| 18 |
(declare-fun x () Int) |
| 19 |
(declare-fun y () Int) |
| 20 |
|
| 21 |
(declare-fun S () mySet) |
| 22 |
(declare-fun T () mySet) |
| 23 |
|
| 24 |
(assert (= (f x) |
| 25 |
(set.union S T))) |
| 26 |
|
| 27 |
(assert (= (f x) |
| 28 |
(set.union T (f y)))) |
| 29 |
|
| 30 |
(assert (not (= (f y) |
| 31 |
(set.union T (f y))))) |
| 32 |
|
| 33 |
(check-sat) |