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