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