(get-one-byte-prefix-array-code byte) → code
Function:
(defun get-one-byte-prefix-array-code (byte) (declare (type (unsigned-byte 8) byte)) (let ((__function__ 'get-one-byte-prefix-array-code)) (declare (ignorable __function__)) (aref1 'one-byte-prefixes-group-code-info *one-byte-prefixes-group-code-info-ar* (mbe :logic (loghead 8 byte) :exec byte))))
Theorem:
(defthm natp-of-get-one-byte-prefix-array-code (b* ((code (get-one-byte-prefix-array-code byte))) (natp code)) :rule-classes (:rewrite :type-prescription))
Theorem:
(defthm upper-bound-get-one-byte-prefix-array-code (<= (get-one-byte-prefix-array-code x) 4))