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