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