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