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