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