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