(vl-module-oddexpr-check x ss) → new-x
Function:
(defun vl-module-oddexpr-check (x ss) (declare (xargs :guard (and (vl-module-p x) (vl-scopestack-p ss)))) (let ((__function__ 'vl-module-oddexpr-check)) (declare (ignorable __function__)) (b* ((warnings (append (vl-ctxexprlist-oddexpr-check (vl-module-ctxexprs x ss)) (vl-module->warnings x)))) (change-vl-module x :warnings warnings))))
Theorem:
(defthm vl-module-p-of-vl-module-oddexpr-check (b* ((new-x (vl-module-oddexpr-check x ss))) (vl-module-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-module-oddexpr-check-of-vl-module-fix-x (equal (vl-module-oddexpr-check (vl-module-fix x) ss) (vl-module-oddexpr-check x ss)))
Theorem:
(defthm vl-module-oddexpr-check-vl-module-equiv-congruence-on-x (implies (vl-module-equiv x x-equiv) (equal (vl-module-oddexpr-check x ss) (vl-module-oddexpr-check x-equiv ss))) :rule-classes :congruence)
Theorem:
(defthm vl-module-oddexpr-check-of-vl-scopestack-fix-ss (equal (vl-module-oddexpr-check x (vl-scopestack-fix ss)) (vl-module-oddexpr-check x ss)))
Theorem:
(defthm vl-module-oddexpr-check-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-module-oddexpr-check x ss) (vl-module-oddexpr-check x ss-equiv))) :rule-classes :congruence)