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