; Automatically generated by map2smt (set-logic HORN) (declare-fun new2 (Int) Bool) (declare-fun new1 (Int Int Int) Bool) (declare-fun ff () Bool) (assert (forall ( (A Int) ) (=> (= A 0) (new2 A) ) ) ) (assert (forall ( (A Int) (B Int) ) (=> (and (= A (+ 1 B)) (new2 B) ) (new2 A) ) ) ) (assert (forall ( (A Int) (B Int) ) (=> (and (= B 0) (new2 A) ) (new1 A B A) ) ) ) (assert (forall ( (A Int) (B Int) (C Int) (D Int) (E Int) ) (=> (and (= B (+ 1 D)) (= A (+ 1 E)) (new1 E D C) ) (new1 A B C) ) ) ) (assert (forall ( (A Int) (B Int) (C Int) (D Int) ) (=> (and (= (- A B) 0) (= (+ C D) A) (new1 B C D) ) ff ) ) ) (assert (not ff)) (check-sat)