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