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