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