(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) (assert (distinct l0 l1 l2 l3 l4 l5 l6)) (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) (c^0 Int) (ox^0 Int) (oy^0 Int) (oz^0 Int) (sx^0 Int) (sy^0 Int) (sz^0 Int) (x^0 Int) (y^0 Int) (z^0 Int) ) Bool (cfg_init pc^0 l6 true)) (define-fun next_main ( (pc^0 Loc) (c^0 Int) (ox^0 Int) (oy^0 Int) (oz^0 Int) (sx^0 Int) (sy^0 Int) (sz^0 Int) (x^0 Int) (y^0 Int) (z^0 Int) (pc^post Loc) (c^post Int) (ox^post Int) (oy^post Int) (oz^post Int) (sx^post Int) (sy^post Int) (sz^post Int) (x^post Int) (y^post Int) (z^post Int) ) Bool (or (cfg_trans2 pc^0 l0 pc^post l1 (and (and (and (and (and (and (and (and (and (= c^0 c^post) (= ox^0 ox^post)) (= oy^0 oy^post)) (= oz^0 oz^post)) (= sx^0 sx^post)) (= sy^0 sy^post)) (= sz^0 sz^post)) (= x^0 x^post)) (= y^0 y^post)) (= z^0 z^post))) (cfg_trans2 pc^0 l2 pc^post l0 (and (and (and (and (and (and (and (and (and (and (<= (+ 1 sx^0) 1) (= c^0 c^post)) (= ox^0 ox^post)) (= oy^0 oy^post)) (= oz^0 oz^post)) (= sx^0 sx^post)) (= sy^0 sy^post)) (= sz^0 sz^post)) (= x^0 x^post)) (= y^0 y^post)) (= z^0 z^post))) (cfg_trans2 pc^0 l2 pc^post l0 (and (and (and (and (and (and (and (and (and (and (<= (+ 0 ox^0) (+ 0 x^0)) (= c^0 c^post)) (= ox^0 ox^post)) (= oy^0 oy^post)) (= oz^0 oz^post)) (= sx^0 sx^post)) (= sy^0 sy^post)) (= sz^0 sz^post)) (= x^0 x^post)) (= y^0 y^post)) (= z^0 z^post))) (cfg_trans2 pc^0 l3 pc^post l4 (and (and (and (and (and (and (and (and (and (= y^post (+ -1 y^0)) (= x^post (+ 0 z^0))) (= c^0 c^post)) (= ox^0 ox^post)) (= oy^0 oy^post)) (= oz^0 oz^post)) (= sx^0 sx^post)) (= sy^0 sy^post)) (= sz^0 sz^post)) (= z^0 z^post))) (cfg_trans2 pc^0 l3 pc^post l4 (and (and (and (and (and (and (and (and (and (= x^post (+ -1 x^0)) (= c^0 c^post)) (= ox^0 ox^post)) (= oy^0 oy^post)) (= oz^0 oz^post)) (= sx^0 sx^post)) (= sy^0 sy^post)) (= sz^0 sz^post)) (= y^0 y^post)) (= z^0 z^post))) (cfg_trans2 pc^0 l4 pc^post l3 (and (and (and (and (and (and (and (and (and (= c^post 1) (= ox^post (+ 0 x^0))) (= oy^post (+ 0 y^0))) (= oz^post (+ 0 z^0))) (= sx^post (+ 0 x^0))) (= sy^post (+ 0 y^0))) (= sz^post (+ 0 z^0))) (= x^0 x^post)) (= y^0 y^post)) (= z^0 z^post))) (cfg_trans2 pc^0 l4 pc^post l2 (and (and (and (and (and (and (and (and (and (and (<= 1 (+ 0 c^0)) (= c^0 c^post)) (= ox^0 ox^post)) (= oy^0 oy^post)) (= oz^0 oz^post)) (= sx^0 sx^post)) (= sy^0 sy^post)) (= sz^0 sz^post)) (= x^0 x^post)) (= y^0 y^post)) (= z^0 z^post))) (cfg_trans2 pc^0 l4 pc^post l3 (and (and (and (and (and (and (and (and (and (and (<= 1 (+ 0 x^0)) (= c^0 c^post)) (= ox^0 ox^post)) (= oy^0 oy^post)) (= oz^0 oz^post)) (= sx^0 sx^post)) (= sy^0 sy^post)) (= sz^0 sz^post)) (= x^0 x^post)) (= y^0 y^post)) (= z^0 z^post))) (cfg_trans2 pc^0 l4 pc^post l3 (and (and (and (and (and (and (and (and (and (and (<= 1 (+ 0 x^0)) (= sx^post (+ 0 x^0))) (= sy^post (+ 0 y^0))) (= sz^post (+ 0 z^0))) (= c^0 c^post)) (= ox^0 ox^post)) (= oy^0 oy^post)) (= oz^0 oz^post)) (= x^0 x^post)) (= y^0 y^post)) (= z^0 z^post))) (cfg_trans2 pc^0 l5 pc^post l4 (and (and (and (and (and (and (and (and (and (= c^post 0) (= ox^0 ox^post)) (= oy^0 oy^post)) (= oz^0 oz^post)) (= sx^0 sx^post)) (= sy^0 sy^post)) (= sz^0 sz^post)) (= x^0 x^post)) (= y^0 y^post)) (= z^0 z^post))) (cfg_trans2 pc^0 l6 pc^post l5 (and (and (and (and (and (and (and (and (and (= c^0 c^post) (= ox^0 ox^post)) (= oy^0 oy^post)) (= oz^0 oz^post)) (= sx^0 sx^post)) (= sy^0 sy^post)) (= sz^0 sz^post)) (= x^0 x^post)) (= y^0 y^post)) (= z^0 z^post))) ) )