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