Included Books
other
(in-package "ACL2")
local
(local (include-book "product-proofs"))
product-less-than-zerotheorem
(defthm product-less-than-zero (implies (case-split (or (not (complex-rationalp x)) (not (complex-rationalp y)))) (equal (< (* x y) 0) (if (< x 0) (< 0 y) (if (equal 0 x) nil (if (not (acl2-numberp x)) nil (< y 0)))))))
product-greater-than-zerotheorem
(defthm product-greater-than-zero (implies (case-split (not (complex-rationalp y))) (equal (< 0 (* x y)) (or (and (< 0 x) (< 0 y)) (and (< y 0) (< x 0))))))
product-greater-than-zero-2theorem
(defthm product-greater-than-zero-2 (implies (case-split (not (complex-rationalp x))) (equal (< 0 (* x y)) (or (and (< 0 x) (< 0 y)) (and (< y 0) (< x 0))))))