Check if a conversion from type
Function:
(defun schar-from-sshort-okp (x) (declare (xargs :guard (sshortp x))) (let ((__function__ 'schar-from-sshort-okp)) (declare (ignorable __function__)) (schar-integerp (integer-from-sshort x))))
Theorem:
(defthm booleanp-of-schar-from-sshort-okp (b* ((yes/no (schar-from-sshort-okp x))) (booleanp yes/no)) :rule-classes :rewrite)
Theorem:
(defthm schar-from-sshort-okp-of-sshort-fix-x (equal (schar-from-sshort-okp (sshort-fix x)) (schar-from-sshort-okp x)))
Theorem:
(defthm schar-from-sshort-okp-sshort-equiv-congruence-on-x (implies (sshort-equiv x x-equiv) (equal (schar-from-sshort-okp x) (schar-from-sshort-okp x-equiv))) :rule-classes :congruence)