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