Get the atts field from a vl-callstmt.
This is an ordinary field accessor created by defprod.
Function:
(defun vl-callstmt->atts$inline (x) (declare (xargs :guard (vl-stmt-p x))) (declare (xargs :guard (equal (vl-stmt-kind x) :vl-callstmt))) (let ((__function__ 'vl-callstmt->atts)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (vl-stmt-kind x) :vl-callstmt) 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-callstmt->atts (b* ((atts (vl-callstmt->atts$inline x))) (vl-atts-p atts)) :rule-classes :rewrite)
Theorem:
(defthm vl-callstmt->atts$inline-of-vl-stmt-fix-x (equal (vl-callstmt->atts$inline (vl-stmt-fix x)) (vl-callstmt->atts$inline x)))
Theorem:
(defthm vl-callstmt->atts$inline-vl-stmt-equiv-congruence-on-x (implies (vl-stmt-equiv x x-equiv) (equal (vl-callstmt->atts$inline x) (vl-callstmt->atts$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm vl-callstmt->atts-when-wrong-kind (implies (not (equal (vl-stmt-kind x) :vl-callstmt)) (equal (vl-callstmt->atts x) (vl-atts-fix nil))))