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