(vl-warninglist-keep-suppressed x) → new-x
Function:
(defun vl-warninglist-keep-suppressed (x) (declare (xargs :guard (vl-warninglist-p x))) (let ((__function__ 'vl-warninglist-keep-suppressed)) (declare (ignorable __function__)) (if (atom x) nil (if (vl-warning->suppressedp (car x)) (cons (vl-warning-fix (car x)) (vl-warninglist-keep-suppressed (cdr x))) (vl-warninglist-keep-suppressed (cdr x))))))
Theorem:
(defthm vl-warninglist-p-of-vl-warninglist-keep-suppressed (b* ((new-x (vl-warninglist-keep-suppressed x))) (vl-warninglist-p new-x)) :rule-classes :rewrite)