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