(vl-evatomlist-selresolve x ss warnings) → (mv warnings new-x)
Function:
(defun vl-evatomlist-selresolve (x ss warnings) (declare (xargs :guard (and (vl-evatomlist-p x) (vl-scopestack-p ss) (vl-warninglist-p warnings)))) (let ((__function__ 'vl-evatomlist-selresolve)) (declare (ignorable __function__)) (b* (((when (atom x)) (mv (ok) nil)) ((mv warnings car-prime) (vl-evatom-selresolve (car x) ss warnings)) ((mv warnings cdr-prime) (vl-evatomlist-selresolve (cdr x) ss warnings))) (mv warnings (cons car-prime cdr-prime)))))
Theorem:
(defthm vl-warninglist-p-of-vl-evatomlist-selresolve.warnings (b* (((mv ?warnings ?new-x) (vl-evatomlist-selresolve x ss warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-evatomlist-p-of-vl-evatomlist-selresolve.new-x (b* (((mv ?warnings ?new-x) (vl-evatomlist-selresolve x ss warnings))) (vl-evatomlist-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-evatomlist-selresolve-mvtypes-1 (true-listp (mv-nth 1 (vl-evatomlist-selresolve x ss warnings))) :rule-classes :type-prescription)
Theorem:
(defthm vl-evatomlist-selresolve-of-vl-evatomlist-fix-x (equal (vl-evatomlist-selresolve (vl-evatomlist-fix x) ss warnings) (vl-evatomlist-selresolve x ss warnings)))
Theorem:
(defthm vl-evatomlist-selresolve-vl-evatomlist-equiv-congruence-on-x (implies (vl-evatomlist-equiv x x-equiv) (equal (vl-evatomlist-selresolve x ss warnings) (vl-evatomlist-selresolve x-equiv ss warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-evatomlist-selresolve-of-vl-scopestack-fix-ss (equal (vl-evatomlist-selresolve x (vl-scopestack-fix ss) warnings) (vl-evatomlist-selresolve x ss warnings)))
Theorem:
(defthm vl-evatomlist-selresolve-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-evatomlist-selresolve x ss warnings) (vl-evatomlist-selresolve x ss-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-evatomlist-selresolve-of-vl-warninglist-fix-warnings (equal (vl-evatomlist-selresolve x ss (vl-warninglist-fix warnings)) (vl-evatomlist-selresolve x ss warnings)))
Theorem:
(defthm vl-evatomlist-selresolve-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-evatomlist-selresolve x ss warnings) (vl-evatomlist-selresolve x ss warnings-equiv))) :rule-classes :congruence)