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