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