(parstate->chars-read parstate) → chars-read
Function:
(defun parstate->chars-read$inline (parstate) (declare (xargs :stobjs (parstate))) (declare (xargs :guard t)) (mbe :logic (if (parstatep parstate) (raw-parstate->chars-read parstate) 0) :exec (raw-parstate->chars-read parstate)))
Theorem:
(defthm natp-of-parstate->chars-read (b* ((chars-read (parstate->chars-read$inline parstate))) (natp chars-read)) :rule-classes (:rewrite :type-prescription))