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