test/regress/cli/regress0/datatypes/dt-sel-2.6.smt2
raw| 1 | ; COMMAND-LINE: --lang=smt2.6 |
| 2 | ; EXPECT: unsat |
| 3 | |
| 4 | (set-logic ALL) |
| 5 | (set-info :status unsat) |
| 6 | (declare-datatypes ((IntList 0)) ( |
| 7 | ((empty) (set.insert ( head Int ) ( tail IntList ) )) |
| 8 | )) |
| 9 | |
| 10 | (declare-fun x () IntList) |
| 11 | (declare-fun y () IntList) |
| 12 | (declare-fun z () IntList) |
| 13 | |
| 14 | (assert (distinct x y z)) |
| 15 | |
| 16 | (assert (not ((_ is set.insert) x))) |
| 17 | (assert (not ((_ is set.insert) y))) |
| 18 | |
| 19 | (check-sat) |