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