(vl-design-condcheck x) → new-x
Function:
(defun vl-design-condcheck (x) (declare (xargs :guard (vl-design-p x))) (let ((__function__ 'vl-design-condcheck)) (declare (ignorable __function__)) (b* ((x (vl-design-fix x)) ((vl-design x) x) (new-mods (vl-modulelist-condcheck x.mods))) (clear-memoize-table 'vl-expr-strip) (change-vl-design x :mods new-mods))))
Theorem:
(defthm vl-design-p-of-vl-design-condcheck (b* ((new-x (vl-design-condcheck x))) (vl-design-p new-x)) :rule-classes :rewrite)