Get the backrefs field from a matchresult.
(matchresult->backrefs x) → backrefs
This is an ordinary field accessor created by defprod.
Function:
(defun matchresult->backrefs$inline (x) (declare (xargs :guard (matchresult-p x))) (declare (xargs :guard t)) (let ((__function__ 'matchresult->backrefs)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (backref-alist-fix (std::da-nth 3 x))) :exec (std::da-nth 3 x))))
Theorem:
(defthm backref-alist-p-of-matchresult->backrefs (b* ((backrefs (matchresult->backrefs$inline x))) (backref-alist-p backrefs)) :rule-classes :rewrite)
Theorem:
(defthm matchresult->backrefs$inline-of-matchresult-fix-x (equal (matchresult->backrefs$inline (matchresult-fix x)) (matchresult->backrefs$inline x)))
Theorem:
(defthm matchresult->backrefs$inline-matchresult-equiv-congruence-on-x (implies (matchresult-equiv x x-equiv) (equal (matchresult->backrefs$inline x) (matchresult->backrefs$inline x-equiv))) :rule-classes :congruence)