Get the atts field from a vl-vardecl.
(vl-vardecl->atts x) → atts
This is an ordinary field accessor created by defprod.
Function:
(defun vl-vardecl->atts$inline (x) (declare (xargs :guard (vl-vardecl-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-vardecl->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-vardecl->atts (b* ((atts (vl-vardecl->atts$inline x))) (vl-atts-p atts)) :rule-classes :rewrite)
Theorem:
(defthm vl-vardecl->atts$inline-of-vl-vardecl-fix-x (equal (vl-vardecl->atts$inline (vl-vardecl-fix x)) (vl-vardecl->atts$inline x)))
Theorem:
(defthm vl-vardecl->atts$inline-vl-vardecl-equiv-congruence-on-x (implies (vl-vardecl-equiv x x-equiv) (equal (vl-vardecl->atts$inline x) (vl-vardecl->atts$inline x-equiv))) :rule-classes :congruence)