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