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