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