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