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