test/regress/cli/regress0/seq/array/distinct-update.smt2
raw| 1 | ; COMMAND-LINE: --seq-array=eager |
| 2 | (set-logic QF_SLIA) |
| 3 | (set-info :status unsat) |
| 4 | |
| 5 | (declare-fun x () (Seq Int)) |
| 6 | (declare-fun y () (Seq Int)) |
| 7 | (declare-fun z () (Seq Int)) |
| 8 | (declare-fun a () Int) |
| 9 | (declare-fun b () Int) |
| 10 | |
| 11 | (assert (= y (seq.update x 0 (seq.unit a)))) |
| 12 | |
| 13 | (assert (= z (seq.update x 0 (seq.unit b)))) |
| 14 | |
| 15 | (assert (not (= a b))) |
| 16 | (assert (= y z)) |
| 17 | (assert (> (str.len y) 0)) |
| 18 | |
| 19 | (check-sat) |