Get the xregs field from a stat.
(stat->xregs x) → fty::x.name
This is an ordinary field accessor created by fty::defprod.
Function:
(defun stat->xregs$inline (x) (declare (xargs :guard (statp x))) (declare (xargs :guard t)) (let ((__function__ 'stat->xregs)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (cdr (std::da-nth 0 x))) :exec (cdr (std::da-nth 0 x)))))
Theorem:
(defthm stat->xregs$inline-of-stat-fix-x (equal (stat->xregs$inline (stat-fix x)) (stat->xregs$inline x)))
Theorem:
(defthm stat->xregs$inline-stat-equiv-congruence-on-x (implies (stat-equiv x x-equiv) (equal (stat->xregs$inline x) (stat->xregs$inline x-equiv))) :rule-classes :congruence)