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