Convert from type
Function:
(defun uchar-from-slong (x) (declare (xargs :guard (slongp x))) (let ((__function__ 'uchar-from-slong)) (declare (ignorable __function__)) (uchar-from-integer-mod (integer-from-slong x))))
Theorem:
(defthm ucharp-of-uchar-from-slong (b* ((result (uchar-from-slong x))) (ucharp result)) :rule-classes :rewrite)
Theorem:
(defthm uchar-from-slong-of-slong-fix-x (equal (uchar-from-slong (slong-fix x)) (uchar-from-slong x)))
Theorem:
(defthm uchar-from-slong-slong-equiv-congruence-on-x (implies (slong-equiv x x-equiv) (equal (uchar-from-slong x) (uchar-from-slong x-equiv))) :rule-classes :congruence)