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