Check if the left shift of a value of type
Function:
(defun shl-uint-ullong-okp (x y) (declare (xargs :guard (and (uintp x) (ullongp y)))) (shl-uint-okp x (integer-from-ullong y)))
Theorem:
(defthm booleanp-of-shl-uint-ullong-okp (booleanp (shl-uint-ullong-okp x y)))
Theorem:
(defthm shl-uint-ullong-okp-of-uint-fix-x (equal (shl-uint-ullong-okp (uint-fix x) y) (shl-uint-ullong-okp x y)))
Theorem:
(defthm shl-uint-ullong-okp-uint-equiv-congruence-on-x (implies (uint-equiv x x-equiv) (equal (shl-uint-ullong-okp x y) (shl-uint-ullong-okp x-equiv y))) :rule-classes :congruence)
Theorem:
(defthm shl-uint-ullong-okp-of-ullong-fix-y (equal (shl-uint-ullong-okp x (ullong-fix y)) (shl-uint-ullong-okp x y)))
Theorem:
(defthm shl-uint-ullong-okp-ullong-equiv-congruence-on-y (implies (ullong-equiv y y-equiv) (equal (shl-uint-ullong-okp x y) (shl-uint-ullong-okp x y-equiv))) :rule-classes :congruence)