(vl-delayoreventcontrol-strip x) → new-x
Function:
(defun vl-delayoreventcontrol-strip (x) (declare (xargs :guard (vl-delayoreventcontrol-p x))) (let ((__function__ 'vl-delayoreventcontrol-strip)) (declare (ignorable __function__)) (let ((x (vl-delayoreventcontrol-fix x))) (common-lisp::case (tag x) ((:vl-delaycontrol) (b* ((x.vl-delaycontrol (vl-delaycontrol-strip x))) x.vl-delaycontrol)) ((:vl-eventcontrol) (b* ((x.vl-eventcontrol (vl-eventcontrol-strip x))) x.vl-eventcontrol)) (otherwise (b* ((x.vl-repeateventcontrol (vl-repeateventcontrol-strip x))) x.vl-repeateventcontrol))))))
Theorem:
(defthm vl-delayoreventcontrol-p-of-vl-delayoreventcontrol-strip (b* ((new-x (vl-delayoreventcontrol-strip x))) (vl-delayoreventcontrol-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-delayoreventcontrol-strip-of-vl-delayoreventcontrol-fix-x (equal (vl-delayoreventcontrol-strip (vl-delayoreventcontrol-fix x)) (vl-delayoreventcontrol-strip x)))
Theorem:
(defthm vl-delayoreventcontrol-strip-vl-delayoreventcontrol-equiv-congruence-on-x (implies (vl-delayoreventcontrol-equiv x x-equiv) (equal (vl-delayoreventcontrol-strip x) (vl-delayoreventcontrol-strip x-equiv))) :rule-classes :congruence)