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