Add a
(vl-module-designwires x) → new-x
Function:
(defun vl-module-designwires (x) (declare (xargs :guard (vl-module-p x))) (let ((__function__ 'vl-module-designwires)) (declare (ignorable __function__)) (b* (((vl-module x) (vl-module-fix x)) ((when (vl-module->hands-offp x)) x) (new-vardecls (vl-vardecllist-designwires x.vardecls))) (change-vl-module x :vardecls new-vardecls))))
Theorem:
(defthm vl-module-p-of-vl-module-designwires (b* ((new-x (vl-module-designwires x))) (vl-module-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-module-designwires-of-vl-module-fix-x (equal (vl-module-designwires (vl-module-fix x)) (vl-module-designwires x)))
Theorem:
(defthm vl-module-designwires-vl-module-equiv-congruence-on-x (implies (vl-module-equiv x x-equiv) (equal (vl-module-designwires x) (vl-module-designwires x-equiv))) :rule-classes :congruence)