(vl-module-rangeresolve x ss) → new-x
Function:
(defun vl-module-rangeresolve (x ss) (declare (xargs :guard (and (vl-module-p x) (vl-scopestack-p ss)))) (let ((__function__ 'vl-module-rangeresolve)) (declare (ignorable __function__)) (b* ((genblob (vl-module->genblob x)) ((mv warnings new-genblob) (vl-genblob-rangeresolve genblob ss (vl-module->warnings x))) (x-warn (change-vl-module x :warnings warnings))) (vl-genblob->module new-genblob x-warn))))
Theorem:
(defthm vl-module-p-of-vl-module-rangeresolve (b* ((new-x (vl-module-rangeresolve x ss))) (vl-module-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-module-rangeresolve-of-vl-module-fix-x (equal (vl-module-rangeresolve (vl-module-fix x) ss) (vl-module-rangeresolve x ss)))
Theorem:
(defthm vl-module-rangeresolve-vl-module-equiv-congruence-on-x (implies (vl-module-equiv x x-equiv) (equal (vl-module-rangeresolve x ss) (vl-module-rangeresolve x-equiv ss))) :rule-classes :congruence)
Theorem:
(defthm vl-module-rangeresolve-of-vl-scopestack-fix-ss (equal (vl-module-rangeresolve x (vl-scopestack-fix ss)) (vl-module-rangeresolve x ss)))
Theorem:
(defthm vl-module-rangeresolve-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-module-rangeresolve x ss) (vl-module-rangeresolve x ss-equiv))) :rule-classes :congruence)