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