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