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