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