(vl-warnings-for-duperhs-alist alist warnings) → new-warnings
Function:
(defun vl-warnings-for-duperhs-alist (alist warnings) (declare (xargs :guard (and (vl-duperhs-alistp alist) (vl-warninglist-p warnings)))) (let ((__function__ 'vl-warnings-for-duperhs-alist)) (declare (ignorable __function__)) (b* (((when (atom alist)) (ok)) (rhs (caar alist)) (assigns (cdar alist)) (warnings (vl-maybe-warn-duperhs rhs assigns warnings))) (vl-warnings-for-duperhs-alist (cdr alist) warnings))))
Theorem:
(defthm vl-warninglist-p-of-vl-warnings-for-duperhs-alist (b* ((new-warnings (vl-warnings-for-duperhs-alist alist warnings))) (vl-warninglist-p new-warnings)) :rule-classes :rewrite)