(vl-shadowcheck-blockitem x st warnings) → (mv st warnings)
Function:
(defun vl-shadowcheck-blockitem (x st warnings) (declare (xargs :guard (and (vl-blockitem-p x) (vl-shadowcheck-state-p st) (vl-warninglist-p warnings)))) (let ((__function__ 'vl-shadowcheck-blockitem)) (declare (ignorable __function__)) (b* ((x (vl-blockitem-fix x))) (case (tag x) (:vl-vardecl (vl-shadowcheck-vardecl x st warnings)) (:vl-import (vl-shadowcheck-import x st warnings)) (:vl-paramdecl (vl-shadowcheck-paramdecl x st warnings)) (:vl-typedef (vl-shadowcheck-typedef x st warnings)) (otherwise (mv (vl-shadowcheck-state-fix st) (vl-warninglist-fix warnings)))))))
Theorem:
(defthm vl-shadowcheck-state-p-of-vl-shadowcheck-blockitem.st (b* (((mv ?st ?warnings) (vl-shadowcheck-blockitem x st warnings))) (vl-shadowcheck-state-p st)) :rule-classes :rewrite)
Theorem:
(defthm vl-warninglist-p-of-vl-shadowcheck-blockitem.warnings (b* (((mv ?st ?warnings) (vl-shadowcheck-blockitem x st warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-shadowcheck-blockitem-of-vl-blockitem-fix-x (equal (vl-shadowcheck-blockitem (vl-blockitem-fix x) st warnings) (vl-shadowcheck-blockitem x st warnings)))
Theorem:
(defthm vl-shadowcheck-blockitem-vl-blockitem-equiv-congruence-on-x (implies (vl-blockitem-equiv x x-equiv) (equal (vl-shadowcheck-blockitem x st warnings) (vl-shadowcheck-blockitem x-equiv st warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-blockitem-of-vl-shadowcheck-state-fix-st (equal (vl-shadowcheck-blockitem x (vl-shadowcheck-state-fix st) warnings) (vl-shadowcheck-blockitem x st warnings)))
Theorem:
(defthm vl-shadowcheck-blockitem-vl-shadowcheck-state-equiv-congruence-on-st (implies (vl-shadowcheck-state-equiv st st-equiv) (equal (vl-shadowcheck-blockitem x st warnings) (vl-shadowcheck-blockitem x st-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-blockitem-of-vl-warninglist-fix-warnings (equal (vl-shadowcheck-blockitem x st (vl-warninglist-fix warnings)) (vl-shadowcheck-blockitem x st warnings)))
Theorem:
(defthm vl-shadowcheck-blockitem-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-shadowcheck-blockitem x st warnings) (vl-shadowcheck-blockitem x st warnings-equiv))) :rule-classes :congruence)