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