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