Bitwise inclusive disjunction of a value of type
Function:
(defun bitior-slong-slong (x y) (declare (xargs :guard (and (slongp x) (slongp y)))) (slong-from-integer (logior (integer-from-slong x) (integer-from-slong y))))
Theorem:
(defthm slongp-of-bitior-slong-slong (slongp (bitior-slong-slong x y)))
Theorem:
(defthm bitior-slong-slong-of-slong-fix-x (equal (bitior-slong-slong (slong-fix x) y) (bitior-slong-slong x y)))
Theorem:
(defthm bitior-slong-slong-slong-equiv-congruence-on-x (implies (slong-equiv x x-equiv) (equal (bitior-slong-slong x y) (bitior-slong-slong x-equiv y))) :rule-classes :congruence)
Theorem:
(defthm bitior-slong-slong-of-slong-fix-y (equal (bitior-slong-slong x (slong-fix y)) (bitior-slong-slong x y)))
Theorem:
(defthm bitior-slong-slong-slong-equiv-congruence-on-y (implies (slong-equiv y y-equiv) (equal (bitior-slong-slong x y) (bitior-slong-slong x y-equiv))) :rule-classes :congruence)