** 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-option :pp.max_depth 4294967295) [GOOD] (set-option :pp.min_alias_size 4294967295) [GOOD] (set-option :model.inline_def true ) [GOOD] (set-logic ALL) ; has unbounded values, using catch-all. [GOOD] ; --- tuples --- [GOOD] (declare-datatypes ((SBVTuple2 2)) ((par (T1 T2) ((mkSBVTuple2 (proj_1_SBVTuple2 T1) (proj_2_SBVTuple2 T2)))))) [GOOD] ; --- sums --- [GOOD] (declare-datatypes ((SBVEither 2)) ((par (T1 T2) ((left_SBVEither (get_left_SBVEither T1)) (right_SBVEither (get_right_SBVEither T2)))))) [GOOD] (declare-datatypes ((SBVMaybe 1)) ((par (T) ((nothing_SBVMaybe) (just_SBVMaybe (get_just_SBVMaybe T)))))) [GOOD] ; --- ADTs --- [GOOD] ; User defined ADT: Expr [GOOD] (declare-datatype Expr (par (nm val) ( (Val (getVal_1 val)) (Var (getVar_1 nm)) (Add (getAdd_1 (Expr nm val)) (getAdd_2 (Expr nm val))) (Mul (getMul_1 (Expr nm val)) (getMul_2 (Expr nm val))) (Let (getLet_1 nm) (getLet_2 (Expr nm val)) (getLet_3 (Expr nm val))) ))) [GOOD] ; --- literal constants --- [GOOD] ; --- top level inputs --- [GOOD] (declare-fun s0 () (Expr (SBVMaybe (SBVTuple2 Int String)) (SBVEither (_ BitVec 8) (_ BitVec 16)))) ; tracks user variable "x" [GOOD] ; --- constant tables --- [GOOD] ; --- non-constant tables --- [GOOD] ; --- uninterpreted constants --- [GOOD] ; --- user defined functions --- [GOOD] ; --- assignments --- [GOOD] (define-fun s1 () Bool ((as is-Let Bool) s0)) [GOOD] ; --- delayedEqualities --- [GOOD] ; --- formula --- [GOOD] (assert s1) [SEND] (check-sat) [RECV] sat [SEND] (get-value (s0)) [RECV] ((s0 (Let nothing_SBVMaybe (Val (right_SBVEither #x0000)) (Val (right_SBVEither #x0000))))) Result: (let Nothing = Right 0 in Right 0) *** Solver : Z3 *** Exit code: ExitSuccess