(vl-shadowcheck-vardecl x st warnings) → (mv st warnings)
Function:
(defun vl-shadowcheck-vardecl (x st warnings) (declare (xargs :guard (and (vl-vardecl-p x) (vl-shadowcheck-state-p st) (vl-warninglist-p warnings)))) (let ((__function__ 'vl-shadowcheck-vardecl)) (declare (ignorable __function__)) (b* (((vl-vardecl x) (vl-vardecl-fix x)) ((mv st warnings) (vl-shadowcheck-datatype x.type x st warnings)) ((mv st warnings) (vl-shadowcheck-exprlist (vl-vardecl-allexprs x) x st warnings)) ((mv st warnings) (vl-shadowcheck-declare-name x.name x st warnings))) (mv st warnings))))
Theorem:
(defthm vl-shadowcheck-state-p-of-vl-shadowcheck-vardecl.st (b* (((mv ?st ?warnings) (vl-shadowcheck-vardecl x st warnings))) (vl-shadowcheck-state-p st)) :rule-classes :rewrite)
Theorem:
(defthm vl-warninglist-p-of-vl-shadowcheck-vardecl.warnings (b* (((mv ?st ?warnings) (vl-shadowcheck-vardecl x st warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-shadowcheck-vardecl-of-vl-vardecl-fix-x (equal (vl-shadowcheck-vardecl (vl-vardecl-fix x) st warnings) (vl-shadowcheck-vardecl x st warnings)))
Theorem:
(defthm vl-shadowcheck-vardecl-vl-vardecl-equiv-congruence-on-x (implies (vl-vardecl-equiv x x-equiv) (equal (vl-shadowcheck-vardecl x st warnings) (vl-shadowcheck-vardecl x-equiv st warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-vardecl-of-vl-shadowcheck-state-fix-st (equal (vl-shadowcheck-vardecl x (vl-shadowcheck-state-fix st) warnings) (vl-shadowcheck-vardecl x st warnings)))
Theorem:
(defthm vl-shadowcheck-vardecl-vl-shadowcheck-state-equiv-congruence-on-st (implies (vl-shadowcheck-state-equiv st st-equiv) (equal (vl-shadowcheck-vardecl x st warnings) (vl-shadowcheck-vardecl x st-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-shadowcheck-vardecl-of-vl-warninglist-fix-warnings (equal (vl-shadowcheck-vardecl x st (vl-warninglist-fix warnings)) (vl-shadowcheck-vardecl x st warnings)))
Theorem:
(defthm vl-shadowcheck-vardecl-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-shadowcheck-vardecl x st warnings) (vl-shadowcheck-vardecl x st warnings-equiv))) :rule-classes :congruence)