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