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