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