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