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