Get the chars-unread field from a parstate$.
(parstate$->chars-unread x) → chars-unread
This is an ordinary field accessor created by fty::defprod.
Function:
(defun parstate$->chars-unread$inline (x) (declare (xargs :guard (parstate$-p x))) (declare (xargs :guard t)) (let ((__function__ 'parstate$->chars-unread)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (char+position-list-fix (cdr (std::da-nth 3 x)))) :exec (cdr (std::da-nth 3 x)))))
Theorem:
(defthm char+position-listp-of-parstate$->chars-unread (b* ((chars-unread (parstate$->chars-unread$inline x))) (char+position-listp chars-unread)) :rule-classes :rewrite)
Theorem:
(defthm parstate$->chars-unread$inline-of-parstate$-fix-x (equal (parstate$->chars-unread$inline (parstate$-fix x)) (parstate$->chars-unread$inline x)))
Theorem:
(defthm parstate$->chars-unread$inline-parstate$-equiv-congruence-on-x (implies (parstate$-equiv x x-equiv) (equal (parstate$->chars-unread$inline x) (parstate$->chars-unread$inline x-equiv))) :rule-classes :congruence)