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