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