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