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