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