Get the loc field from a vl-defaultdisable.
(vl-defaultdisable->loc x) → loc
This is an ordinary field accessor created by defprod.
Function:
(defun vl-defaultdisable->loc$inline (x) (declare (xargs :guard (vl-defaultdisable-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-defaultdisable->loc)) (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-defaultdisable->loc (b* ((loc (vl-defaultdisable->loc$inline x))) (vl-location-p loc)) :rule-classes :rewrite)
Theorem:
(defthm vl-defaultdisable->loc$inline-of-vl-defaultdisable-fix-x (equal (vl-defaultdisable->loc$inline (vl-defaultdisable-fix x)) (vl-defaultdisable->loc$inline x)))
Theorem:
(defthm vl-defaultdisable->loc$inline-vl-defaultdisable-equiv-congruence-on-x (implies (vl-defaultdisable-equiv x x-equiv) (equal (vl-defaultdisable->loc$inline x) (vl-defaultdisable->loc$inline x-equiv))) :rule-classes :congruence)