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