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