(vl-shadowcheck-ports x st warnings) → (mv st warnings)
Function:
(defun vl-shadowcheck-ports (x st warnings) (declare (xargs :guard (and (vl-portlist-p x) (vl-shadowcheck-state-p st) (vl-warninglist-p warnings)))) (let ((__function__ 'vl-shadowcheck-ports)) (declare (ignorable __function__)) (b* (((when (atom x)) (mv (vl-shadowcheck-state-fix st) (ok))) ((mv st warnings) (vl-shadowcheck-port (car x) st warnings))) (vl-shadowcheck-ports (cdr x) st warnings))))
Theorem:
(defthm vl-shadowcheck-state-p-of-vl-shadowcheck-ports.st (b* (((mv ?st ?warnings) (vl-shadowcheck-ports x st warnings))) (vl-shadowcheck-state-p st)) :rule-classes :rewrite)
Theorem:
(defthm vl-warninglist-p-of-vl-shadowcheck-ports.warnings (b* (((mv ?st ?warnings) (vl-shadowcheck-ports x st warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-shadowcheck-ports-of-vl-portlist-fix-x (equal (vl-shadowcheck-ports (vl-portlist-fix x) st warnings) (vl-shadowcheck-ports x st warnings)))
Theorem:
(defthm vl-shadowcheck-ports-vl-portlist-equiv-congruence-on-x (implies (vl-portlist-equiv x x-equiv) (equal (vl-shadowcheck-ports x st warnings) (vl-shadowcheck-ports x-equiv st warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-ports-of-vl-shadowcheck-state-fix-st (equal (vl-shadowcheck-ports x (vl-shadowcheck-state-fix st) warnings) (vl-shadowcheck-ports x st warnings)))
Theorem:
(defthm vl-shadowcheck-ports-vl-shadowcheck-state-equiv-congruence-on-st (implies (vl-shadowcheck-state-equiv st st-equiv) (equal (vl-shadowcheck-ports x st warnings) (vl-shadowcheck-ports x st-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-ports-of-vl-warninglist-fix-warnings (equal (vl-shadowcheck-ports x st (vl-warninglist-fix warnings)) (vl-shadowcheck-ports x st warnings)))
Theorem:
(defthm vl-shadowcheck-ports-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-shadowcheck-ports x st warnings) (vl-shadowcheck-ports x st warnings-equiv))) :rule-classes :congruence)