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