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