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