Function:
(defun s4vec-bitnot (x) (declare (xargs :guard (s4vec-p x))) (let ((__function__ 's4vec-bitnot)) (declare (ignorable __function__)) (s3vec-bitnot (s3vec-fix x))))
Theorem:
(defthm s4vec-p-of-s4vec-bitnot (b* ((res (s4vec-bitnot x))) (s4vec-p res)) :rule-classes :rewrite)
Theorem:
(defthm s4vec-bitnot-correct (b* ((?res (s4vec-bitnot x))) (equal (s4vec->4vec res) (4vec-bitnot (s4vec->4vec x)))))
Theorem:
(defthm s4vec-bitnot-of-s4vec-fix-x (equal (s4vec-bitnot (s4vec-fix x)) (s4vec-bitnot x)))
Theorem:
(defthm s4vec-bitnot-s4vec-equiv-congruence-on-x (implies (s4vec-equiv x x-equiv) (equal (s4vec-bitnot x) (s4vec-bitnot x-equiv))) :rule-classes :congruence)