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