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