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