Get the cstate field from a soutcome.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun soutcome->cstate$inline (x) (declare (xargs :guard (soutcomep x))) (declare (xargs :guard t)) (let ((__function__ 'soutcome->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-soutcome->cstate (b* ((cstate (soutcome->cstate$inline x))) (cstatep cstate)) :rule-classes :rewrite)
Theorem:
(defthm soutcome->cstate$inline-of-soutcome-fix-x (equal (soutcome->cstate$inline (soutcome-fix x)) (soutcome->cstate$inline x)))
Theorem:
(defthm soutcome->cstate$inline-soutcome-equiv-congruence-on-x (implies (soutcome-equiv x x-equiv) (equal (soutcome->cstate$inline x) (soutcome->cstate$inline x-equiv))) :rule-classes :congruence)