test/regress/cli/regress1/datatypes/nested-rec-array-aa.smt2
raw| 1 | ; COMMAND-LINE: --arrays-exp |
| 2 | ; EXPECT: unsat |
| 3 | (set-logic ALL) |
| 4 | (set-info :status unsat) |
| 5 | (set-option :dt-nested-rec true) |
| 6 | (declare-datatypes ((A 0)) (((v1) (v2) (v3 (value (Array A A)) ) ) )) |
| 7 | (define-fun term_array () (Array A A) ((as const (Array A A)) v1)) |
| 8 | (define-fun term_a_array_updated () (Array A A) (store term_array v2 v2)) |
| 9 | (define-fun assertion () Bool (= term_a_array_updated term_array)) |
| 10 | (assert assertion) |
| 11 | (check-sat) |