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