(parstate->chars-read parstate) → chars-read
Function:
(defun parstate->chars-read (parstate) (declare (xargs :stobjs (parstate))) (declare (xargs :guard t)) (let ((__function__ 'parstate->chars-read)) (declare (ignorable __function__)) (mbe :logic (if (parstatep parstate) (raw-parstate->chars-read parstate) nil) :exec (raw-parstate->chars-read parstate))))
Theorem:
(defthm char+position-listp-of-parstate->chars-read (b* ((chars-read (parstate->chars-read parstate))) (char+position-listp chars-read)) :rule-classes :rewrite)
Theorem:
(defthm parstate->chars-read-of-parstate-fix-parstate (equal (parstate->chars-read (parstate-fix parstate)) (parstate->chars-read parstate)))
Theorem:
(defthm parstate->chars-read-parstate-equiv-congruence-on-parstate (implies (parstate-equiv parstate parstate-equiv) (equal (parstate->chars-read parstate) (parstate->chars-read parstate-equiv))) :rule-classes :congruence)