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