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