(ppstate->position ppstate) → position
Function:
(defun ppstate->position (ppstate) (declare (xargs :stobjs (ppstate))) (declare (xargs :guard t)) (mbe :logic (if (ppstatep ppstate) (raw-ppstate->position ppstate) (irr-position)) :exec (raw-ppstate->position ppstate)))
Theorem:
(defthm positionp-of-ppstate->position (b* ((position (ppstate->position ppstate))) (positionp position)) :rule-classes :rewrite)