(vl-blockitemlist-update-implicit x st warnings) → (mv new-warnings new-st)
Function:
(defun vl-blockitemlist-update-implicit (x st warnings) (declare (xargs :guard (and (vl-blockitemlist-p x) (vl-implicitst-p st) (vl-warninglist-p warnings)))) (let ((__function__ 'vl-blockitemlist-update-implicit)) (declare (ignorable __function__)) (b* (((when (atom x)) (mv (ok) (vl-implicitst-fix st))) ((mv warnings st) (vl-blockitem-update-implicit (car x) st warnings)) ((mv warnings st) (vl-blockitemlist-update-implicit (cdr x) st warnings))) (mv warnings st))))
Theorem:
(defthm vl-warninglist-p-of-vl-blockitemlist-update-implicit.new-warnings (b* (((mv ?new-warnings ?new-st) (vl-blockitemlist-update-implicit x st warnings))) (vl-warninglist-p new-warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-implicitst-p-of-vl-blockitemlist-update-implicit.new-st (b* (((mv ?new-warnings ?new-st) (vl-blockitemlist-update-implicit x st warnings))) (vl-implicitst-p new-st)) :rule-classes :rewrite)
Theorem:
(defthm vl-blockitemlist-update-implicit-of-vl-blockitemlist-fix-x (equal (vl-blockitemlist-update-implicit (vl-blockitemlist-fix x) st warnings) (vl-blockitemlist-update-implicit x st warnings)))
Theorem:
(defthm vl-blockitemlist-update-implicit-vl-blockitemlist-equiv-congruence-on-x (implies (vl-blockitemlist-equiv x x-equiv) (equal (vl-blockitemlist-update-implicit x st warnings) (vl-blockitemlist-update-implicit x-equiv st warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-blockitemlist-update-implicit-of-vl-implicitst-fix-st (equal (vl-blockitemlist-update-implicit x (vl-implicitst-fix st) warnings) (vl-blockitemlist-update-implicit x st warnings)))
Theorem:
(defthm vl-blockitemlist-update-implicit-vl-implicitst-equiv-congruence-on-st (implies (vl-implicitst-equiv st st-equiv) (equal (vl-blockitemlist-update-implicit x st warnings) (vl-blockitemlist-update-implicit x st-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-blockitemlist-update-implicit-of-vl-warninglist-fix-warnings (equal (vl-blockitemlist-update-implicit x st (vl-warninglist-fix warnings)) (vl-blockitemlist-update-implicit x st warnings)))
Theorem:
(defthm vl-blockitemlist-update-implicit-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-blockitemlist-update-implicit x st warnings) (vl-blockitemlist-update-implicit x st warnings-equiv))) :rule-classes :congruence)