(parstate->position parstate) → position
Function:
(defun parstate->position (parstate) (declare (xargs :stobjs (parstate))) (declare (xargs :guard t)) (let ((__function__ 'parstate->position)) (declare (ignorable __function__)) (mbe :logic (if (parstatep parstate) (raw-parstate->position parstate) (irr-position)) :exec (raw-parstate->position parstate))))
Theorem:
(defthm positionp-of-parstate->position (b* ((position (parstate->position parstate))) (positionp position)) :rule-classes :rewrite)