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