** Calling: z3 -nw -in -smt2 [GOOD] ; Automatically generated by SBV. Do not edit. [GOOD] (set-option :print-success true) [GOOD] (set-option :global-declarations true) [GOOD] (set-option :smtlib2_compliant true) [GOOD] (set-option :diagnostic-output-channel "stdout") [GOOD] (set-option :produce-models true) [GOOD] (set-logic ALL) ; has unbounded values, using catch-all. [GOOD] ; --- uninterpreted sorts --- [GOOD] ; --- tuples --- [GOOD] ; --- sums --- [GOOD] ; --- literal constants --- [GOOD] ; --- top level inputs --- [GOOD] ; --- constant tables --- [GOOD] ; --- non-constant tables --- [GOOD] ; --- arrays --- [GOOD] (declare-fun array_0 () (Array Int Int)) [GOOD] ; --- uninterpreted constants --- [GOOD] ; --- user defined functions --- [GOOD] ; --- assignments --- [GOOD] ; --- arrayDelayeds --- [GOOD] ; --- arraySetups --- [GOOD] (define-fun array_0_initializer () Bool true) ; no initialization needed [GOOD] ; --- delayedEqualities --- [GOOD] ; --- formula --- [SEND] (check-sat) [RECV] sat [GOOD] (define-fun s0 () Int 1) [GOOD] (define-fun s1 () Int 2) [GOOD] (declare-fun array_1 () (Array Int Int)) [GOOD] (define-fun array_1_initializer_0 () Bool (= array_1 (store array_0 s0 s1))) [GOOD] (define-fun s2 () Int (select array_1 s0)) [GOOD] (define-fun array_1_initializer () Bool array_1_initializer_0) [GOOD] (assert array_1_initializer) [NOTE] getValue: There are outstanding asserts. Ensuring we're still sat. [SEND] (check-sat) [RECV] sat [SEND] (get-value (s2)) [RECV] ((s2 2)) *** Solver : Z3 *** Exit code: ExitSuccess FINAL:2 DONE!