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