Multiplication of a value of type
Function:
(defun mul-ulong-ullong (x y) (declare (xargs :guard (and (ulongp x) (ullongp y)))) (mul-ullong-ullong (ullong-from-ulong x) y))
Theorem:
(defthm ullongp-of-mul-ulong-ullong (ullongp (mul-ulong-ullong x y)))
Theorem:
(defthm mul-ulong-ullong-of-ulong-fix-x (equal (mul-ulong-ullong (ulong-fix x) y) (mul-ulong-ullong x y)))
Theorem:
(defthm mul-ulong-ullong-ulong-equiv-congruence-on-x (implies (ulong-equiv x x-equiv) (equal (mul-ulong-ullong x y) (mul-ulong-ullong x-equiv y))) :rule-classes :congruence)
Theorem:
(defthm mul-ulong-ullong-of-ullong-fix-y (equal (mul-ulong-ullong x (ullong-fix y)) (mul-ulong-ullong x y)))
Theorem:
(defthm mul-ulong-ullong-ullong-equiv-congruence-on-y (implies (ullong-equiv y y-equiv) (equal (mul-ulong-ullong x y) (mul-ulong-ullong x y-equiv))) :rule-classes :congruence)