Fixer for byte-list32.
(byte-list32-fix x) → *
Function:
(defun byte-list32-fix (x) (declare (xargs :guard (byte-list32p x))) (mbe :logic (if (byte-list32p x) x (byte-list-fix (take 32 x))) :exec x))
Theorem:
(defthm byte-list32p-of-byte-list32-fix (byte-list32p (byte-list32-fix x)))
Theorem:
(defthm byte-list32-fix-when-byte-list32p (implies (byte-list32p x) (equal (byte-list32-fix x) x)))