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