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