Add
(vl-eventcontrol-origexprs x) → new-x
Function:
(defun vl-eventcontrol-origexprs (x) (declare (xargs :guard (vl-eventcontrol-p x))) (let ((__function__ 'vl-eventcontrol-origexprs)) (declare (ignorable __function__)) (let ((x (vl-eventcontrol-fix x))) (b* (((vl-eventcontrol x))) (change-vl-eventcontrol x :atoms (vl-evatomlist-origexprs x.atoms))))))
Theorem:
(defthm vl-eventcontrol-p-of-vl-eventcontrol-origexprs (b* ((new-x (vl-eventcontrol-origexprs x))) (vl-eventcontrol-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-eventcontrol-origexprs-of-vl-eventcontrol-fix-x (equal (vl-eventcontrol-origexprs (vl-eventcontrol-fix x)) (vl-eventcontrol-origexprs x)))
Theorem:
(defthm vl-eventcontrol-origexprs-vl-eventcontrol-equiv-congruence-on-x (implies (vl-eventcontrol-equiv x x-equiv) (equal (vl-eventcontrol-origexprs x) (vl-eventcontrol-origexprs x-equiv))) :rule-classes :congruence)