Add
(vl-maybe-gatedelay-origexprs x) → new-x
Function:
(defun vl-maybe-gatedelay-origexprs (x) (declare (xargs :guard (vl-maybe-gatedelay-p x))) (let ((__function__ 'vl-maybe-gatedelay-origexprs)) (declare (ignorable __function__)) (let ((x (vl-maybe-gatedelay-fix x))) (if x (vl-gatedelay-origexprs x) nil))))
Theorem:
(defthm vl-maybe-gatedelay-p-of-vl-maybe-gatedelay-origexprs (b* ((new-x (vl-maybe-gatedelay-origexprs x))) (vl-maybe-gatedelay-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-maybe-gatedelay-origexprs-of-vl-maybe-gatedelay-fix-x (equal (vl-maybe-gatedelay-origexprs (vl-maybe-gatedelay-fix x)) (vl-maybe-gatedelay-origexprs x)))
Theorem:
(defthm vl-maybe-gatedelay-origexprs-vl-maybe-gatedelay-equiv-congruence-on-x (implies (vl-maybe-gatedelay-equiv x x-equiv) (equal (vl-maybe-gatedelay-origexprs x) (vl-maybe-gatedelay-origexprs x-equiv))) :rule-classes :congruence)