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