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