(vl-module-portdecl-sign x) → new-x
Function:
(defun vl-module-portdecl-sign (x) (declare (xargs :guard (vl-module-p x))) (let ((__function__ 'vl-module-portdecl-sign)) (declare (ignorable __function__)) (b* (((vl-module x)) ((mv warnings portdecls vardecls) (vl-portdecl-sign-main x.portdecls x.vardecls x.warnings))) (change-vl-module x :warnings warnings :portdecls portdecls :vardecls vardecls))))
Theorem:
(defthm vl-module-p-of-vl-module-portdecl-sign (b* ((new-x (vl-module-portdecl-sign x))) (vl-module-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-module-portdecl-sign-of-vl-module-fix-x (equal (vl-module-portdecl-sign (vl-module-fix x)) (vl-module-portdecl-sign x)))
Theorem:
(defthm vl-module-portdecl-sign-vl-module-equiv-congruence-on-x (implies (vl-module-equiv x x-equiv) (equal (vl-module-portdecl-sign x) (vl-module-portdecl-sign x-equiv))) :rule-classes :congruence)