(vl-blockitem-update-implicit x st warnings) → (mv new-warnings new-st)
Function:
(defun vl-blockitem-update-implicit (x st warnings) (declare (xargs :guard (and (vl-blockitem-p x) (vl-implicitst-p st) (vl-warninglist-p warnings)))) (let ((__function__ 'vl-blockitem-update-implicit)) (declare (ignorable __function__)) (b* ((x (vl-blockitem-fix x)) ((when (eq (tag x) :vl-import)) (vl-import-update-implicit x st warnings)) (name (case (tag x) (:vl-vardecl (vl-vardecl->name x)) (:vl-paramdecl (vl-paramdecl->name x)) (:vl-typedef (vl-typedef->name x)) (t (vl-letdecl->name x)))) (decls (hons-acons name nil (vl-implicitst->decls st))) (st (change-vl-implicitst st :decls decls))) (mv (ok) st))))
Theorem:
(defthm vl-warninglist-p-of-vl-blockitem-update-implicit.new-warnings (b* (((mv ?new-warnings ?new-st) (vl-blockitem-update-implicit x st warnings))) (vl-warninglist-p new-warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-implicitst-p-of-vl-blockitem-update-implicit.new-st (b* (((mv ?new-warnings ?new-st) (vl-blockitem-update-implicit x st warnings))) (vl-implicitst-p new-st)) :rule-classes :rewrite)
Theorem:
(defthm vl-blockitem-update-implicit-of-vl-blockitem-fix-x (equal (vl-blockitem-update-implicit (vl-blockitem-fix x) st warnings) (vl-blockitem-update-implicit x st warnings)))
Theorem:
(defthm vl-blockitem-update-implicit-vl-blockitem-equiv-congruence-on-x (implies (vl-blockitem-equiv x x-equiv) (equal (vl-blockitem-update-implicit x st warnings) (vl-blockitem-update-implicit x-equiv st warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-blockitem-update-implicit-of-vl-implicitst-fix-st (equal (vl-blockitem-update-implicit x (vl-implicitst-fix st) warnings) (vl-blockitem-update-implicit x st warnings)))
Theorem:
(defthm vl-blockitem-update-implicit-vl-implicitst-equiv-congruence-on-st (implies (vl-implicitst-equiv st st-equiv) (equal (vl-blockitem-update-implicit x st warnings) (vl-blockitem-update-implicit x st-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-blockitem-update-implicit-of-vl-warninglist-fix-warnings (equal (vl-blockitem-update-implicit x st (vl-warninglist-fix warnings)) (vl-blockitem-update-implicit x st warnings)))
Theorem:
(defthm vl-blockitem-update-implicit-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-blockitem-update-implicit x st warnings) (vl-blockitem-update-implicit x st warnings-equiv))) :rule-classes :congruence)