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