(vl-module-wildelim x) → new-x
Function:
(defun vl-module-wildelim (x) (declare (xargs :guard (vl-module-p x))) (let ((__function__ 'vl-module-wildelim)) (declare (ignorable __function__)) (b* ((x (vl-module-fix x)) ((when (vl-module->hands-offp x)) x) ((vl-module x) x) (warnings x.warnings) (genblob (vl-module->genblob x)) ((mv warnings new-genblob) (vl-genblob-wildelim genblob warnings)) (mod (change-vl-module x :warnings warnings))) (vl-genblob->module new-genblob mod))))
Theorem:
(defthm vl-module-p-of-vl-module-wildelim (b* ((new-x (vl-module-wildelim x))) (vl-module-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-module-wildelim-of-vl-module-fix-x (equal (vl-module-wildelim (vl-module-fix x)) (vl-module-wildelim x)))
Theorem:
(defthm vl-module-wildelim-vl-module-equiv-congruence-on-x (implies (vl-module-equiv x x-equiv) (equal (vl-module-wildelim x) (vl-module-wildelim x-equiv))) :rule-classes :congruence)