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