(vl-initial-selresolve x ss warnings) → (mv warnings new-x)
Function:
(defun vl-initial-selresolve (x ss warnings) (declare (xargs :guard (and (vl-initial-p x) (vl-scopestack-p ss) (vl-warninglist-p warnings)))) (declare (ignorable ss)) (let ((__function__ 'vl-initial-selresolve)) (declare (ignorable __function__)) (b* ((x (vl-initial-fix x)) (warnings (vl-warninglist-fix warnings))) (b* (((vl-initial x) x) ((mv warnings stmt) (vl-stmt-selresolve x.stmt ss warnings))) (mv warnings (change-vl-initial x :stmt stmt))))))
Theorem:
(defthm vl-warninglist-p-of-vl-initial-selresolve.warnings (b* (((mv ?warnings ?new-x) (vl-initial-selresolve x ss warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-initial-p-of-vl-initial-selresolve.new-x (b* (((mv ?warnings ?new-x) (vl-initial-selresolve x ss warnings))) (vl-initial-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-initial-selresolve-of-vl-initial-fix-x (equal (vl-initial-selresolve (vl-initial-fix x) ss warnings) (vl-initial-selresolve x ss warnings)))
Theorem:
(defthm vl-initial-selresolve-vl-initial-equiv-congruence-on-x (implies (vl-initial-equiv x x-equiv) (equal (vl-initial-selresolve x ss warnings) (vl-initial-selresolve x-equiv ss warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-initial-selresolve-of-vl-scopestack-fix-ss (equal (vl-initial-selresolve x (vl-scopestack-fix ss) warnings) (vl-initial-selresolve x ss warnings)))
Theorem:
(defthm vl-initial-selresolve-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-initial-selresolve x ss warnings) (vl-initial-selresolve x ss-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-initial-selresolve-of-vl-warninglist-fix-warnings (equal (vl-initial-selresolve x ss (vl-warninglist-fix warnings)) (vl-initial-selresolve x ss warnings)))
Theorem:
(defthm vl-initial-selresolve-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-initial-selresolve x ss warnings) (vl-initial-selresolve x ss warnings-equiv))) :rule-classes :congruence)