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