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