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