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