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