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