Get the reg field from a closure-output.
(closure-output->reg x) → reg
This is an ordinary field accessor created by fty::defprod.
Function:
(defun closure-output->reg$inline (x) (declare (xargs :guard (closure-outputp x))) (declare (xargs :guard t)) (let ((__function__ 'closure-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-closure-output->reg (b* ((reg (closure-output->reg$inline x))) (regaccessp reg)) :rule-classes :rewrite)
Theorem:
(defthm closure-output->reg$inline-of-closure-output-fix-x (equal (closure-output->reg$inline (closure-output-fix x)) (closure-output->reg$inline x)))
Theorem:
(defthm closure-output->reg$inline-closure-output-equiv-congruence-on-x (implies (closure-output-equiv x x-equiv) (equal (closure-output->reg$inline x) (closure-output->reg$inline x-equiv))) :rule-classes :congruence)