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