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