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