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