Symbolic version of 3vec-bitnot.
Function:
(defun a3vec-bitnot (x) (declare (xargs :guard (a4vec-p x))) (let ((__function__ 'a3vec-bitnot)) (declare (ignorable __function__)) (b* (((a4vec x))) (a4vec (aig-lognot-s x.lower) (aig-lognot-s x.upper)))))
Theorem:
(defthm a4vec-p-of-a3vec-bitnot (b* ((res (a3vec-bitnot x))) (a4vec-p res)) :rule-classes :rewrite)
Theorem:
(defthm a3vec-bitnot-correct (equal (a4vec-eval (a3vec-bitnot x) env) (3vec-bitnot (a4vec-eval x env))))
Theorem:
(defthm a3vec-bitnot-of-a4vec-fix-x (equal (a3vec-bitnot (a4vec-fix x)) (a3vec-bitnot x)))
Theorem:
(defthm a3vec-bitnot-a4vec-equiv-congruence-on-x (implies (a4vec-equiv x x-equiv) (equal (a3vec-bitnot x) (a3vec-bitnot x-equiv))) :rule-classes :congruence)