(sf-spec8 result) → *
Function:
(defun sf-spec8$inline (result) (declare (type (unsigned-byte 8) result)) (mbe :logic (part-select result :low 7 :width 1) :exec (the (unsigned-byte 1) (ash result -7))))
Theorem:
(defthm n01p-sf-spec8 (unsigned-byte-p 1 (sf-spec8 result)) :rule-classes (:rewrite (:type-prescription :corollary (natp (sf-spec8 result)) :hints (("Goal" :in-theory '(unsigned-byte-p integer-range-p natp)))) (:linear :corollary (and (<= 0 (sf-spec8 result)) (< (sf-spec8 result) 2)) :hints (("Goal" :in-theory '(unsigned-byte-p integer-range-p (:e expt)))))))