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