| 1 |
; EXPECT: sat |
| 2 |
(set-logic QF_UFDTLIA) |
| 3 |
(declare-datatype MyList (par (T) ((nelem) (|cons| (hd T) (tl (MyList T)))))) |
| 4 |
|
| 5 |
(declare-fun a () (MyList Int)) |
| 6 |
(assert (> (hd a) 50)) |
| 7 |
(assert (not (and |
| 8 |
((_ is |cons|) a) (not ((_ is nelem) a)) |
| 9 |
))) |
| 10 |
(check-sat) |