(vl-module-make-implicit-wires x ss) → new-x
Function:
(defun vl-module-make-implicit-wires (x ss) (declare (xargs :guard (and (vl-module-p x) (vl-scopestack-p ss)))) (let ((__function__ 'vl-module-make-implicit-wires)) (declare (ignorable __function__)) (b* (((vl-module x)) ((mv implicit newitems warnings) (vl-make-implicit-wires-main x.loaditems x.ifports ss x.warnings)) (vardecls (append-without-guard implicit x.vardecls))) (change-vl-module x :vardecls vardecls :warnings warnings :loaditems newitems))))
Theorem:
(defthm vl-module-p-of-vl-module-make-implicit-wires (b* ((new-x (vl-module-make-implicit-wires x ss))) (vl-module-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-module-make-implicit-wires-of-vl-module-fix-x (equal (vl-module-make-implicit-wires (vl-module-fix x) ss) (vl-module-make-implicit-wires x ss)))
Theorem:
(defthm vl-module-make-implicit-wires-vl-module-equiv-congruence-on-x (implies (vl-module-equiv x x-equiv) (equal (vl-module-make-implicit-wires x ss) (vl-module-make-implicit-wires x-equiv ss))) :rule-classes :congruence)
Theorem:
(defthm vl-module-make-implicit-wires-of-vl-scopestack-fix-ss (equal (vl-module-make-implicit-wires x (vl-scopestack-fix ss)) (vl-module-make-implicit-wires x ss)))
Theorem:
(defthm vl-module-make-implicit-wires-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-module-make-implicit-wires x ss) (vl-module-make-implicit-wires x ss-equiv))) :rule-classes :congruence)