(vl-shadowcheck-import x st warnings) → (mv st warnings)
Function:
(defun vl-shadowcheck-import (x st warnings) (declare (xargs :guard (and (vl-import-p x) (vl-shadowcheck-state-p st) (vl-warninglist-p warnings)))) (let ((__function__ 'vl-shadowcheck-import)) (declare (ignorable __function__)) (b* (((vl-shadowcheck-state st)) (- (vl-shadowcheck-debug " vl-shadowcheck-import: importing ~a0.~%" x)) ((mv lexscopes warnings) (vl-lexscopes-do-import x st.lexscopes warnings st.design)) (st (change-vl-shadowcheck-state st :lexscopes lexscopes))) (mv st warnings))))
Theorem:
(defthm vl-shadowcheck-state-p-of-vl-shadowcheck-import.st (b* (((mv ?st ?warnings) (vl-shadowcheck-import x st warnings))) (vl-shadowcheck-state-p st)) :rule-classes :rewrite)
Theorem:
(defthm vl-warninglist-p-of-vl-shadowcheck-import.warnings (b* (((mv ?st ?warnings) (vl-shadowcheck-import x st warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-shadowcheck-import-of-vl-import-fix-x (equal (vl-shadowcheck-import (vl-import-fix x) st warnings) (vl-shadowcheck-import x st warnings)))
Theorem:
(defthm vl-shadowcheck-import-vl-import-equiv-congruence-on-x (implies (vl-import-equiv x x-equiv) (equal (vl-shadowcheck-import x st warnings) (vl-shadowcheck-import x-equiv st warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-import-of-vl-shadowcheck-state-fix-st (equal (vl-shadowcheck-import x (vl-shadowcheck-state-fix st) warnings) (vl-shadowcheck-import x st warnings)))
Theorem:
(defthm vl-shadowcheck-import-vl-shadowcheck-state-equiv-congruence-on-st (implies (vl-shadowcheck-state-equiv st st-equiv) (equal (vl-shadowcheck-import x st warnings) (vl-shadowcheck-import x st-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-import-of-vl-warninglist-fix-warnings (equal (vl-shadowcheck-import x st (vl-warninglist-fix warnings)) (vl-shadowcheck-import x st warnings)))
Theorem:
(defthm vl-shadowcheck-import-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-shadowcheck-import x st warnings) (vl-shadowcheck-import x st warnings-equiv))) :rule-classes :congruence)