Bitwise conjunction of a value of type
Function:
(defun bitand-slong-ushort (x y) (declare (xargs :guard (and (slongp x) (ushortp y)))) (bitand-slong-slong x (slong-from-ushort y)))
Theorem:
(defthm slongp-of-bitand-slong-ushort (slongp (bitand-slong-ushort x y)))
Theorem:
(defthm bitand-slong-ushort-of-slong-fix-x (equal (bitand-slong-ushort (slong-fix x) y) (bitand-slong-ushort x y)))
Theorem:
(defthm bitand-slong-ushort-slong-equiv-congruence-on-x (implies (slong-equiv x x-equiv) (equal (bitand-slong-ushort x y) (bitand-slong-ushort x-equiv y))) :rule-classes :congruence)
Theorem:
(defthm bitand-slong-ushort-of-ushort-fix-y (equal (bitand-slong-ushort x (ushort-fix y)) (bitand-slong-ushort x y)))
Theorem:
(defthm bitand-slong-ushort-ushort-equiv-congruence-on-y (implies (ushort-equiv y y-equiv) (equal (bitand-slong-ushort x y) (bitand-slong-ushort x y-equiv))) :rule-classes :congruence)