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