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