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