(vl-interface-check-modinsts-are-subinterfaces x ss warnings) → new-warnings
Function:
(defun vl-interface-check-modinsts-are-subinterfaces (x ss warnings) (declare (xargs :guard (and (vl-modinstlist-p x) (vl-scopestack-p ss) (vl-warninglist-p warnings)))) (let ((__function__ 'vl-interface-check-modinsts-are-subinterfaces)) (declare (ignorable __function__)) (b* (((when (atom x)) (ok)) (warnings (vl-interface-check-modinst-is-subinterface (car x) ss warnings))) (vl-interface-check-modinsts-are-subinterfaces (cdr x) ss warnings))))
Theorem:
(defthm vl-warninglist-p-of-vl-interface-check-modinsts-are-subinterfaces (b* ((new-warnings (vl-interface-check-modinsts-are-subinterfaces x ss warnings))) (vl-warninglist-p new-warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-interface-check-modinsts-are-subinterfaces-of-vl-modinstlist-fix-x (equal (vl-interface-check-modinsts-are-subinterfaces (vl-modinstlist-fix x) ss warnings) (vl-interface-check-modinsts-are-subinterfaces x ss warnings)))
Theorem:
(defthm vl-interface-check-modinsts-are-subinterfaces-vl-modinstlist-equiv-congruence-on-x (implies (vl-modinstlist-equiv x x-equiv) (equal (vl-interface-check-modinsts-are-subinterfaces x ss warnings) (vl-interface-check-modinsts-are-subinterfaces x-equiv ss warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-interface-check-modinsts-are-subinterfaces-of-vl-scopestack-fix-ss (equal (vl-interface-check-modinsts-are-subinterfaces x (vl-scopestack-fix ss) warnings) (vl-interface-check-modinsts-are-subinterfaces x ss warnings)))
Theorem:
(defthm vl-interface-check-modinsts-are-subinterfaces-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-interface-check-modinsts-are-subinterfaces x ss warnings) (vl-interface-check-modinsts-are-subinterfaces x ss-equiv warnings))) :rule-classes :congruence)
Theorem:
(defthm vl-interface-check-modinsts-are-subinterfaces-of-vl-warninglist-fix-warnings (equal (vl-interface-check-modinsts-are-subinterfaces x ss (vl-warninglist-fix warnings)) (vl-interface-check-modinsts-are-subinterfaces x ss warnings)))
Theorem:
(defthm vl-interface-check-modinsts-are-subinterfaces-vl-warninglist-equiv-congruence-on-warnings (implies (vl-warninglist-equiv warnings warnings-equiv) (equal (vl-interface-check-modinsts-are-subinterfaces x ss warnings) (vl-interface-check-modinsts-are-subinterfaces x ss warnings-equiv))) :rule-classes :congruence)