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