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