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