Get the warnings field from a vl-immdeps.
(vl-immdeps->warnings x) → warnings
This is an ordinary field accessor created by defprod.
Function:
(defun vl-immdeps->warnings$inline (x) (declare (xargs :guard (vl-immdeps-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-immdeps->warnings)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (vl-warninglist-fix (std::prod-cdr (std::prod-cdr (cdr x))))) :exec (std::prod-cdr (std::prod-cdr (cdr x))))))
Theorem:
(defthm vl-warninglist-p-of-vl-immdeps->warnings (b* ((warnings (vl-immdeps->warnings$inline x))) (vl-warninglist-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-immdeps->warnings$inline-of-vl-immdeps-fix-x (equal (vl-immdeps->warnings$inline (vl-immdeps-fix x)) (vl-immdeps->warnings$inline x)))
Theorem:
(defthm vl-immdeps->warnings$inline-vl-immdeps-equiv-congruence-on-x (implies (vl-immdeps-equiv x x-equiv) (equal (vl-immdeps->warnings$inline x) (vl-immdeps->warnings$inline x-equiv))) :rule-classes :congruence)