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