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