| 1 |
; EXPECT: sat |
| 2 |
(set-logic ALL) |
| 3 |
(set-option :incremental false) |
| 4 |
(declare-fun Ints_0 () (Array Int Int)) |
| 5 |
(declare-datatypes ((__cvc5_record_i_Int 0)) (((__cvc5_record_i_Int_ctor (i Int))))) |
| 6 |
|
| 7 |
|
| 8 |
(declare-fun C_0 () (Array Int __cvc5_record_i_Int)) |
| 9 |
(declare-fun x () Int) |
| 10 |
(define-fun C_1 () (Array Int __cvc5_record_i_Int) (store C_0 0 ((_ update i) (select C_0 0) 2))) |
| 11 |
(assert (= (i (select C_0 0)) 0)) |
| 12 |
(assert (= (i (select C_0 1)) 1)) |
| 13 |
(assert (= (select Ints_0 2) (select Ints_0 0))) |
| 14 |
(assert (= x (select Ints_0 (i (select (store C_0 0 ((_ update i) (select C_0 0) 2)) 0))))) |
| 15 |
(assert (not (= x (select Ints_0 (i (select (store C_0 0 ((_ update i) (select C_0 0) 2)) 1)))))) |
| 16 |
(check-sat) |