Recognizer for cutinfo bit structures.
(cutinfo-p x) → *
Function:
(defun cutinfo-p (x) (declare (xargs :guard t)) (let ((__function__ 'cutinfo-p)) (declare (ignorable __function__)) (and (mbe :logic (unsigned-byte-p 32 x) :exec (and (natp x) (< x 4294967296))) (cutsize-p (part-select x :low 16 :width 3)))))
Theorem:
(defthm unsigned-byte-p-when-cutinfo-p (implies (cutinfo-p x) (unsigned-byte-p 32 x)))
Theorem:
(defthm cutinfo-p-compound-recognizer (implies (cutinfo-p x) (natp x)) :rule-classes :compound-recognizer)