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