(vl-port-check-wellformed x) → warnings
Function:
(defun vl-port-check-wellformed (x) (declare (xargs :guard (vl-port-p x))) (let ((__function__ 'vl-port-check-wellformed)) (declare (ignorable __function__)) (b* ((x (vl-port-fix x)) ((when (vl-port-wellformed-p x)) nil)) (fatal :type :vl-bad-port :msg "~a0: ill-formed port expression." :args (list x) :acc nil))))
Theorem:
(defthm vl-warninglist-p-of-vl-port-check-wellformed (b* ((warnings (vl-port-check-wellformed x))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm true-listp-of-vl-port-check-wellformed (b* ((warnings (vl-port-check-wellformed x))) (true-listp warnings)) :rule-classes :type-prescription)
Theorem:
(defthm vl-port-check-wellformed-under-iff (b* ((warnings (vl-port-check-wellformed x))) (iff warnings (not (vl-port-wellformed-p x)))) :rule-classes :rewrite)
Theorem:
(defthm vl-port-check-wellformed-of-vl-port-fix-x (equal (vl-port-check-wellformed (vl-port-fix x)) (vl-port-check-wellformed x)))
Theorem:
(defthm vl-port-check-wellformed-vl-port-equiv-congruence-on-x (implies (vl-port-equiv x x-equiv) (equal (vl-port-check-wellformed x) (vl-port-check-wellformed x-equiv))) :rule-classes :congruence)