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