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