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