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