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