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