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