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