(vl-lint-suppress-warnings x) → new-x
Function:
(defun vl-lint-suppress-warnings (x) (declare (xargs :guard (vl-warninglist-p x))) (let ((__function__ 'vl-lint-suppress-warnings)) (declare (ignorable __function__)) (b* (((when (atom x)) nil) ((vl-warning x1) (car x)) ((when (vl-lint-scan-for-ignore x1.args (vl-warning-type-mash x1.type))) (vl-lint-suppress-warnings (cdr x)))) (cons (vl-warning-fix (car x)) (vl-lint-suppress-warnings (cdr x))))))
Theorem:
(defthm vl-warninglist-p-of-vl-lint-suppress-warnings (b* ((new-x (vl-lint-suppress-warnings x))) (vl-warninglist-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-lint-suppress-warnings-of-vl-warninglist-fix-x (equal (vl-lint-suppress-warnings (vl-warninglist-fix x)) (vl-lint-suppress-warnings x)))
Theorem:
(defthm vl-lint-suppress-warnings-vl-warninglist-equiv-congruence-on-x (implies (vl-warninglist-equiv x x-equiv) (equal (vl-lint-suppress-warnings x) (vl-lint-suppress-warnings x-equiv))) :rule-classes :congruence)