(vl-module-prohibit-incexprs x) → new-x
Function:
(defun vl-module-prohibit-incexprs (x) (declare (xargs :guard (vl-module-p x))) (let ((__function__ 'vl-module-prohibit-incexprs)) (declare (ignorable __function__)) (b* ((warnings nil) (warnings (vl-module-prohibit-incexprs-aux x warnings))) (change-vl-module x :warnings (append-without-guard warnings (vl-module->warnings x))))))
Theorem:
(defthm vl-module-p-of-vl-module-prohibit-incexprs (b* ((new-x (vl-module-prohibit-incexprs x))) (vl-module-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-module-prohibit-incexprs-of-vl-module-fix-x (equal (vl-module-prohibit-incexprs (vl-module-fix x)) (vl-module-prohibit-incexprs x)))
Theorem:
(defthm vl-module-prohibit-incexprs-vl-module-equiv-congruence-on-x (implies (vl-module-equiv x x-equiv) (equal (vl-module-prohibit-incexprs x) (vl-module-prohibit-incexprs x-equiv))) :rule-classes :congruence)