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