Check if a conversion from type
Function:
(defun schar-from-slong-okp (x) (declare (xargs :guard (slongp x))) (let ((__function__ 'schar-from-slong-okp)) (declare (ignorable __function__)) (schar-integerp (integer-from-slong x))))
Theorem:
(defthm booleanp-of-schar-from-slong-okp (b* ((yes/no (schar-from-slong-okp x))) (booleanp yes/no)) :rule-classes :rewrite)
Theorem:
(defthm schar-from-slong-okp-of-slong-fix-x (equal (schar-from-slong-okp (slong-fix x)) (schar-from-slong-okp x)))
Theorem:
(defthm schar-from-slong-okp-slong-equiv-congruence-on-x (implies (slong-equiv x x-equiv) (equal (schar-from-slong-okp x) (schar-from-slong-okp x-equiv))) :rule-classes :congruence)