Recognizer for 54bits bit structures.
(54bits-p x) → *
Function:
(defun 54bits-p (x) (declare (xargs :guard t)) (let ((__function__ '54bits-p)) (declare (ignorable __function__)) (mbe :logic (unsigned-byte-p 54 x) :exec (and (natp x) (< x 18014398509481984)))))
Theorem:
(defthm 54bits-p-when-unsigned-byte-p (implies (unsigned-byte-p 54 x) (54bits-p x)))
Theorem:
(defthm unsigned-byte-p-when-54bits-p (implies (54bits-p x) (unsigned-byte-p 54 x)))
Theorem:
(defthm 54bits-p-compound-recognizer (implies (54bits-p x) (natp x)) :rule-classes :compound-recognizer)