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