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