Check if the multiplication of a value of type
Function:
(defun mul-slong-sllong-okp (x y) (declare (xargs :guard (and (slongp x) (sllongp y)))) (mul-sllong-sllong-okp (sllong-from-slong x) y))
Theorem:
(defthm booleanp-of-mul-slong-sllong-okp (booleanp (mul-slong-sllong-okp x y)))
Theorem:
(defthm mul-slong-sllong-okp-of-slong-fix-x (equal (mul-slong-sllong-okp (slong-fix x) y) (mul-slong-sllong-okp x y)))
Theorem:
(defthm mul-slong-sllong-okp-slong-equiv-congruence-on-x (implies (slong-equiv x x-equiv) (equal (mul-slong-sllong-okp x y) (mul-slong-sllong-okp x-equiv y))) :rule-classes :congruence)
Theorem:
(defthm mul-slong-sllong-okp-of-sllong-fix-y (equal (mul-slong-sllong-okp x (sllong-fix y)) (mul-slong-sllong-okp x y)))
Theorem:
(defthm mul-slong-sllong-okp-sllong-equiv-congruence-on-y (implies (sllong-equiv y y-equiv) (equal (mul-slong-sllong-okp x y) (mul-slong-sllong-okp x y-equiv))) :rule-classes :congruence)