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