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