(vl-maybe-gatedelay-strip x) → new-x
Function:
(defun vl-maybe-gatedelay-strip (x) (declare (xargs :guard (vl-maybe-gatedelay-p x))) (let ((__function__ 'vl-maybe-gatedelay-strip)) (declare (ignorable __function__)) (vl-maybe-gatedelay-case x :none (b* nil (change-vl-maybe-gatedelay-none x)) :some (b* ((fty::val (vl-gatedelay-strip x.val))) (change-vl-maybe-gatedelay-some x :val fty::val)))))
Theorem:
(defthm vl-maybe-gatedelay-p-of-vl-maybe-gatedelay-strip (b* ((new-x (vl-maybe-gatedelay-strip x))) (vl-maybe-gatedelay-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-maybe-gatedelay-strip-of-vl-maybe-gatedelay-fix-x (equal (vl-maybe-gatedelay-strip (vl-maybe-gatedelay-fix x)) (vl-maybe-gatedelay-strip x)))
Theorem:
(defthm vl-maybe-gatedelay-strip-vl-maybe-gatedelay-equiv-congruence-on-x (implies (vl-maybe-gatedelay-equiv x x-equiv) (equal (vl-maybe-gatedelay-strip x) (vl-maybe-gatedelay-strip x-equiv))) :rule-classes :congruence)