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