(of-spec64 signed-raw-result) → *
Function:
(defun of-spec64$inline (signed-raw-result) (declare (type (signed-byte 65) signed-raw-result)) (bool->bit (mbe :logic (not (signed-byte-p 64 signed-raw-result)) :exec (or (not (<= -9223372036854775808 signed-raw-result)) (not (< signed-raw-result 9223372036854775808))))))
Theorem:
(defthm n01p-of-spec64 (unsigned-byte-p 1 (of-spec64 signed-raw-result)) :rule-classes (:rewrite (:type-prescription :corollary (natp (of-spec64 signed-raw-result)) :hints (("Goal" :in-theory '(unsigned-byte-p integer-range-p natp)))) (:linear :corollary (and (<= 0 (of-spec64 signed-raw-result)) (< (of-spec64 signed-raw-result) 2)) :hints (("Goal" :in-theory '(unsigned-byte-p integer-range-p (:e expt)))))))