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