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