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