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