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