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