(vl-portlist-check-style x warnings) → warnings
Function:
(defun vl-portlist-check-style (x warnings) (declare (xargs :guard (and (vl-portlist-p x) (vl-warninglist-p warnings)))) (declare (xargs :guard (vl-portlist-wellformed-p x))) (let ((__function__ 'vl-portlist-check-style)) (declare (ignorable __function__)) (b* (((when (atom x)) (ok)) (warnings (vl-port-check-style (car x) warnings))) (vl-portlist-check-style (cdr x) warnings))))
Theorem:
(defthm vl-warninglist-p-of-vl-portlist-check-style (b* ((warnings (vl-portlist-check-style x warnings))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-portlist-check-style-of-vl-portlist-fix-x (equal (vl-portlist-check-style (vl-portlist-fix x) warnings) (vl-portlist-check-style x warnings)))
Theorem:
(defthm vl-portlist-check-style-vl-portlist-equiv-congruence-on-x (implies (vl-portlist-equiv x x-equiv) (equal (vl-portlist-check-style x warnings) (vl-portlist-check-style x-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-portlist-check-style-of-vl-warninglist-fix-warnings (equal (vl-portlist-check-style x (vl-warninglist-fix warnings)) (vl-portlist-check-style x warnings)))
Theorem:
(defthm vl-portlist-check-style-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-portlist-check-style x warnings) (vl-portlist-check-style x warnings-equiv))) :rule-classes :congruence)