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