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