Fixer for memory32.
(memory32-fix x) → *
Function:
(defun memory32-fix (x) (declare (xargs :guard (memory32p x))) (mbe :logic (if (memory32p x) x (acl2::ubyte8-list-fix (take 4294967296 x))) :exec x))
Theorem:
(defthm memory32p-of-memory32-fix (memory32p (memory32-fix x)))
Theorem:
(defthm memory32-fix-when-memory32p (implies (memory32p x) (equal (memory32-fix x) x)))