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