(parstate->bytes parstate) → bytes
Function:
(defun parstate->bytes$inline (parstate) (declare (xargs :stobjs (parstate))) (declare (xargs :guard t)) (mbe :logic (if (parstatep parstate) (raw-parstate->bytes parstate) nil) :exec (raw-parstate->bytes parstate)))
Theorem:
(defthm byte-listp-of-parstate->bytes (b* ((bytes (parstate->bytes$inline parstate))) (byte-listp bytes)) :rule-classes :rewrite)
Theorem:
(defthm true-listp-of-parstate->bytes (b* ((bytes (parstate->bytes$inline parstate))) (true-listp bytes)) :rule-classes :type-prescription)
Theorem:
(defthm parstate->bytes$inline-of-parstate-fix-parstate (equal (parstate->bytes$inline (parstate-fix parstate)) (parstate->bytes$inline parstate)))
Theorem:
(defthm parstate->bytes$inline-parstate-equiv-congruence-on-parstate (implies (parstate-equiv parstate parstate-equiv) (equal (parstate->bytes$inline parstate) (parstate->bytes$inline parstate-equiv))) :rule-classes :congruence)