(vl-module-edgesplit x) → new-x
Function:
(defun vl-module-edgesplit (x) (declare (xargs :guard (vl-module-p x))) (let ((__function__ 'vl-module-edgesplit)) (declare (ignorable __function__)) (b* (((vl-module x) x) ((when (vl-module->hands-offp x)) x) ((unless x.alwayses) x) (alwayses (vl-alwayslist-edgesplit x.alwayses))) (change-vl-module x :alwayses alwayses))))
Theorem:
(defthm vl-module-p-of-vl-module-edgesplit (implies (and (force (vl-module-p x))) (b* ((new-x (vl-module-edgesplit x))) (vl-module-p new-x))) :rule-classes :rewrite)