(declare-sort Loc 0) (declare-const l0 Loc) (declare-const l1 Loc) (declare-const l2 Loc) (declare-const l3 Loc) (declare-const l4 Loc) (declare-const l5 Loc) (declare-const l6 Loc) (declare-const l7 Loc) (assert (distinct l0 l1 l2 l3 l4 l5 l6 l7)) (define-fun cfg_init ( (pc Loc) (src Loc) (rel Bool) ) Bool (and (= pc src) rel)) (define-fun cfg_trans2 ( (pc Loc) (src Loc) (pc1 Loc) (dst Loc) (rel Bool) ) Bool (and (= pc src) (= pc1 dst) rel)) (define-fun cfg_trans3 ( (pc Loc) (exit Loc) (pc1 Loc) (call Loc) (pc2 Loc) (return Loc) (rel Bool) ) Bool (and (= pc exit) (= pc1 call) (= pc2 return) rel)) (define-fun init_main ( (pc^0 Loc) (__const_100^0 Int) (__const_10^0 Int) (__const_11^0 Int) (copied^0 Int) (e^0 Int) (n^0 Int) (olde^0 Int) (oldn^0 Int) ) Bool (cfg_init pc^0 l7 true)) (define-fun next_main ( (pc^0 Loc) (__const_100^0 Int) (__const_10^0 Int) (__const_11^0 Int) (copied^0 Int) (e^0 Int) (n^0 Int) (olde^0 Int) (oldn^0 Int) (pc^post Loc) (__const_100^post Int) (__const_10^post Int) (__const_11^post Int) (copied^post Int) (e^post Int) (n^post Int) (olde^post Int) (oldn^post Int) ) Bool (or (cfg_trans2 pc^0 l0 pc^post l1 (and (and (and (and (and (and (and (and (and (and (<= 1 (+ 0 copied^0)) (<= (+ 0 olde^0) (+ 0 e^0))) (<= (+ 0 n^0) (+ 0 oldn^0))) (= __const_10^0 __const_10^post)) (= __const_100^0 __const_100^post)) (= __const_11^0 __const_11^post)) (= copied^0 copied^post)) (= e^0 e^post)) (= n^0 n^post)) (= olde^0 olde^post)) (= oldn^0 oldn^post))) (cfg_trans2 pc^0 l0 pc^post l2 (and (and (and (and (and (and (and (and (and (and (<= (+ 0 copied^0) 0) (= copied^post 1)) (= oldn^post (+ 0 n^0))) (= olde^post (+ 0 e^0))) (<= 1 (+ 0 e^0))) (<= (+ 0 n^0) (+ 0 __const_100^0))) (= n^post (+ (+ 0 __const_11^0) n^0))) (= e^post (+ 1 e^0))) (= __const_10^0 __const_10^post)) (= __const_100^0 __const_100^post)) (= __const_11^0 __const_11^post))) (cfg_trans2 pc^0 l2 pc^post l0 (and (and (and (and (and (and (and (= __const_10^0 __const_10^post) (= __const_100^0 __const_100^post)) (= __const_11^0 __const_11^post)) (= copied^0 copied^post)) (= e^0 e^post)) (= n^0 n^post)) (= olde^0 olde^post)) (= oldn^0 oldn^post))) (cfg_trans2 pc^0 l0 pc^post l3 (and (and (and (and (and (and (and (and (and (and (<= (+ 0 copied^0) 0) (= copied^post 1)) (= oldn^post (+ 0 n^0))) (= olde^post (+ 0 e^0))) (<= 1 (+ 0 e^0))) (<= (+ 1 __const_100^0) (+ 0 n^0))) (= n^post (+ (+ 0 (* -1 __const_10^0)) n^0))) (= e^post (+ -1 e^0))) (= __const_10^0 __const_10^post)) (= __const_100^0 __const_100^post)) (= __const_11^0 __const_11^post))) (cfg_trans2 pc^0 l3 pc^post l0 (and (and (and (and (and (and (and (= __const_10^0 __const_10^post) (= __const_100^0 __const_100^post)) (= __const_11^0 __const_11^post)) (= copied^0 copied^post)) (= e^0 e^post)) (= n^0 n^post)) (= olde^0 olde^post)) (= oldn^0 oldn^post))) (cfg_trans2 pc^0 l0 pc^post l4 (and (and (and (and (and (and (and (and (and (<= 1 (+ 0 e^0)) (<= (+ 0 n^0) (+ 0 __const_100^0))) (= n^post (+ (+ 0 __const_11^0) n^0))) (= e^post (+ 1 e^0))) (= __const_10^0 __const_10^post)) (= __const_100^0 __const_100^post)) (= __const_11^0 __const_11^post)) (= copied^0 copied^post)) (= olde^0 olde^post)) (= oldn^0 oldn^post))) (cfg_trans2 pc^0 l4 pc^post l0 (and (and (and (and (and (and (and (= __const_10^0 __const_10^post) (= __const_100^0 __const_100^post)) (= __const_11^0 __const_11^post)) (= copied^0 copied^post)) (= e^0 e^post)) (= n^0 n^post)) (= olde^0 olde^post)) (= oldn^0 oldn^post))) (cfg_trans2 pc^0 l0 pc^post l5 (and (and (and (and (and (and (and (and (and (<= 1 (+ 0 e^0)) (<= (+ 1 __const_100^0) (+ 0 n^0))) (= n^post (+ (+ 0 (* -1 __const_10^0)) n^0))) (= e^post (+ -1 e^0))) (= __const_10^0 __const_10^post)) (= __const_100^0 __const_100^post)) (= __const_11^0 __const_11^post)) (= copied^0 copied^post)) (= olde^0 olde^post)) (= oldn^0 oldn^post))) (cfg_trans2 pc^0 l5 pc^post l0 (and (and (and (and (and (and (and (= __const_10^0 __const_10^post) (= __const_100^0 __const_100^post)) (= __const_11^0 __const_11^post)) (= copied^0 copied^post)) (= e^0 e^post)) (= n^0 n^post)) (= olde^0 olde^post)) (= oldn^0 oldn^post))) (cfg_trans2 pc^0 l6 pc^post l0 (and (and (and (and (and (and (and (= n^post n^post) (= e^post 1)) (= copied^post 0)) (= __const_10^0 __const_10^post)) (= __const_100^0 __const_100^post)) (= __const_11^0 __const_11^post)) (= olde^0 olde^post)) (= oldn^0 oldn^post))) (cfg_trans2 pc^0 l7 pc^post l6 (and (and (and (and (and (and (and (= __const_10^0 __const_10^post) (= __const_100^0 __const_100^post)) (= __const_11^0 __const_11^post)) (= copied^0 copied^post)) (= e^0 e^post)) (= n^0 n^post)) (= olde^0 olde^post)) (= oldn^0 oldn^post))) ) )