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