Recognizer for prefixes bit structures.
(prefixes-p x) → *
Function:
(defun prefixes-p$inline (x) (declare (xargs :guard t)) (mbe :logic (unsigned-byte-p 52 x) :exec (and (natp x) (< x 4503599627370496))))
Theorem:
(defthm prefixes-p-when-unsigned-byte-p (implies (unsigned-byte-p 52 x) (prefixes-p x)))
Theorem:
(defthm unsigned-byte-p-when-prefixes-p (implies (prefixes-p x) (unsigned-byte-p 52 x)))
Theorem:
(defthm prefixes-p-compound-recognizer (implies (prefixes-p x) (natp x)) :rule-classes :compound-recognizer)