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