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