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