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