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