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