Bitwise conjunction of a value of type
Function:
(defun bitand-sshort-sshort (x y) (declare (xargs :guard (and (sshortp x) (sshortp y)))) (bitand-sint-sint (sint-from-sshort x) (sint-from-sshort y)))
Theorem:
(defthm sintp-of-bitand-sshort-sshort (sintp (bitand-sshort-sshort x y)))
Theorem:
(defthm bitand-sshort-sshort-of-sshort-fix-x (equal (bitand-sshort-sshort (sshort-fix x) y) (bitand-sshort-sshort x y)))
Theorem:
(defthm bitand-sshort-sshort-sshort-equiv-congruence-on-x (implies (sshort-equiv x x-equiv) (equal (bitand-sshort-sshort x y) (bitand-sshort-sshort x-equiv y))) :rule-classes :congruence)
Theorem:
(defthm bitand-sshort-sshort-of-sshort-fix-y (equal (bitand-sshort-sshort x (sshort-fix y)) (bitand-sshort-sshort x y)))
Theorem:
(defthm bitand-sshort-sshort-sshort-equiv-congruence-on-y (implies (sshort-equiv y y-equiv) (equal (bitand-sshort-sshort x y) (bitand-sshort-sshort x y-equiv))) :rule-classes :congruence)