Recognizer for sbyte64.
(sbyte64p x) → yes/no
Function:
(defun sbyte64p (x) (declare (xargs :guard t)) (mbe :logic (signed-byte-p 64 x) :exec (and (integerp x) (<= -9223372036854775808 x) (< x 9223372036854775808))))
Theorem:
(defthm booleanp-of-sbyte64p (b* ((yes/no (sbyte64p x))) (booleanp yes/no)) :rule-classes :rewrite)
Theorem:
(defthm sbyte64p-forward-signed-byte-p (implies (sbyte64p x) (signed-byte-p 64 x)) :rule-classes :forward-chaining)
Theorem:
(defthm signed-byte-p-rewrite-sbyte64p (equal (signed-byte-p 64 x) (sbyte64p x)))
Theorem:
(defthm integerp-when-sbyte64p (implies (sbyte64p x) (integerp x)) :rule-classes :compound-recognizer)