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