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