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