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