(vl-portlist-check-wellformed x) → warnings
Function:
(defun vl-portlist-check-wellformed (x) (declare (xargs :guard (vl-portlist-p x))) (let ((__function__ 'vl-portlist-check-wellformed)) (declare (ignorable __function__)) (if (atom x) nil (append (vl-port-check-wellformed (car x)) (vl-portlist-check-wellformed (cdr x))))))
Theorem:
(defthm vl-warninglist-p-of-vl-portlist-check-wellformed (b* ((warnings (vl-portlist-check-wellformed x))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm true-listp-of-vl-portlist-check-wellformed (b* ((warnings (vl-portlist-check-wellformed x))) (true-listp warnings)) :rule-classes :type-prescription)
Theorem:
(defthm vl-portlist-check-wellformed-under-iff (b* ((warnings (vl-portlist-check-wellformed x))) (iff warnings (not (vl-portlist-wellformed-p x)))) :rule-classes :rewrite)
Theorem:
(defthm vl-portlist-check-wellformed-of-vl-portlist-fix-x (equal (vl-portlist-check-wellformed (vl-portlist-fix x)) (vl-portlist-check-wellformed x)))
Theorem:
(defthm vl-portlist-check-wellformed-vl-portlist-equiv-congruence-on-x (implies (vl-portlist-equiv x x-equiv) (equal (vl-portlist-check-wellformed x) (vl-portlist-check-wellformed x-equiv))) :rule-classes :congruence)