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