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