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