(vl-module-simp x) → new-x
Function:
(defun vl-module-simp (x) (declare (xargs :guard (vl-module-p x))) (let ((__function__ 'vl-module-simp)) (declare (ignorable __function__)) (b* ((x (vl-module-fix x)) ((vl-module x) x) ((when (vl-module->hands-offp x)) x)) (change-vl-module x :assigns (vl-assignlist-simp x.assigns) :modinsts (vl-modinstlist-simp x.modinsts)))))
Theorem:
(defthm vl-module-p-of-vl-module-simp (b* ((new-x (vl-module-simp x))) (vl-module-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-module-simp-of-vl-module-fix-x (equal (vl-module-simp (vl-module-fix x)) (vl-module-simp x)))
Theorem:
(defthm vl-module-simp-vl-module-equiv-congruence-on-x (implies (vl-module-equiv x x-equiv) (equal (vl-module-simp x) (vl-module-simp x-equiv))) :rule-classes :congruence)