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