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