(vl-modportlist-portcheck x oknames warnings) → new-warnings
Function:
(defun vl-modportlist-portcheck (x oknames warnings) (declare (xargs :guard (and (vl-modportlist-p x) (string-listp oknames) (vl-warninglist-p warnings)))) (declare (xargs :guard (setp oknames))) (let ((__function__ 'vl-modportlist-portcheck)) (declare (ignorable __function__)) (b* (((when (atom x)) (ok)) (warnings (vl-modport-portcheck (car x) oknames warnings))) (vl-modportlist-portcheck (cdr x) oknames warnings))))
Theorem:
(defthm vl-warninglist-p-of-vl-modportlist-portcheck (b* ((new-warnings (vl-modportlist-portcheck x oknames warnings))) (vl-warninglist-p new-warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-modportlist-portcheck-of-vl-modportlist-fix-x (equal (vl-modportlist-portcheck (vl-modportlist-fix x) oknames warnings) (vl-modportlist-portcheck x oknames warnings)))
Theorem:
(defthm vl-modportlist-portcheck-vl-modportlist-equiv-congruence-on-x (implies (vl-modportlist-equiv x x-equiv) (equal (vl-modportlist-portcheck x oknames warnings) (vl-modportlist-portcheck x-equiv oknames warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-modportlist-portcheck-of-string-list-fix-oknames (equal (vl-modportlist-portcheck x (string-list-fix oknames) warnings) (vl-modportlist-portcheck x oknames warnings)))
Theorem:
(defthm vl-modportlist-portcheck-string-list-equiv-congruence-on-oknames (implies (str::string-list-equiv oknames oknames-equiv) (equal (vl-modportlist-portcheck x oknames warnings) (vl-modportlist-portcheck x oknames-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-modportlist-portcheck-of-vl-warninglist-fix-warnings (equal (vl-modportlist-portcheck x oknames (vl-warninglist-fix warnings)) (vl-modportlist-portcheck x oknames warnings)))
Theorem:
(defthm vl-modportlist-portcheck-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-modportlist-portcheck x oknames warnings) (vl-modportlist-portcheck x oknames warnings-equiv))) :rule-classes :congruence)