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