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