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