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