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