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