Get the body field from a function-definer-regular.
(function-definer-regular->body x) → body
This is an ordinary field accessor created by fty::defprod.
Function:
(defun function-definer-regular->body$inline (x) (declare (xargs :guard (function-definerp x))) (declare (xargs :guard (equal (function-definer-kind x) :regular))) (let ((__function__ 'function-definer-regular->body)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (function-definer-kind x) :regular) x))) (expression-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x)))))
Theorem:
(defthm expressionp-of-function-definer-regular->body (b* ((body (function-definer-regular->body$inline x))) (expressionp body)) :rule-classes :rewrite)
Theorem:
(defthm function-definer-regular->body$inline-of-function-definer-fix-x (equal (function-definer-regular->body$inline (function-definer-fix x)) (function-definer-regular->body$inline x)))
Theorem:
(defthm function-definer-regular->body$inline-function-definer-equiv-congruence-on-x (implies (function-definer-equiv x x-equiv) (equal (function-definer-regular->body$inline x) (function-definer-regular->body$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm function-definer-regular->body-when-wrong-kind (implies (not (equal (function-definer-kind x) :regular)) (equal (function-definer-regular->body x) (expression-fix nil))))