(declare-sort Loc 0) (declare-const l0 Loc) (declare-const l1 Loc) (declare-const l2 Loc) (assert (distinct l0 l1 l2)) (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) (A^0 Int) (NBuffers^0 Int) (NLocBuffer^0 Int) (R^0 Int) (istemp^0 Int) ) Bool (cfg_init pc^0 l2 true)) (define-fun next_main ( (pc^0 Loc) (A^0 Int) (NBuffers^0 Int) (NLocBuffer^0 Int) (R^0 Int) (istemp^0 Int) (pc^post Loc) (A^post Int) (NBuffers^post Int) (NLocBuffer^post Int) (R^post Int) (istemp^post Int) ) Bool (or (cfg_trans2 pc^0 l0 pc^post l1 (and (and (and (and (= R^post 0) (= A^post (+ 0 R^post))) (= istemp^post istemp^post)) (= NLocBuffer^post NLocBuffer^post)) (= NBuffers^post NBuffers^post))) (cfg_trans2 pc^0 l2 pc^post l0 (and (and (and (and (= A^0 A^post) (= NBuffers^0 NBuffers^post)) (= NLocBuffer^0 NLocBuffer^post)) (= R^0 R^post)) (= istemp^0 istemp^post))) ) )