(vl-design-selresolve x) → new-x
Function:
(defun vl-design-selresolve (x) (declare (xargs :guard (vl-design-p x))) (let ((__function__ 'vl-design-selresolve)) (declare (ignorable __function__)) (b* (((vl-design x) x) (ss (vl-scopestack-init x)) (new-mods (vl-modulelist-selresolve x.mods ss))) (vl-scopestacks-free) (change-vl-design x :mods new-mods))))
Theorem:
(defthm vl-design-p-of-vl-design-selresolve (b* ((new-x (vl-design-selresolve x))) (vl-design-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-design-selresolve-of-vl-design-fix-x (equal (vl-design-selresolve (vl-design-fix x)) (vl-design-selresolve x)))
Theorem:
(defthm vl-design-selresolve-vl-design-equiv-congruence-on-x (implies (vl-design-equiv x x-equiv) (equal (vl-design-selresolve x) (vl-design-selresolve x-equiv))) :rule-classes :congruence)