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