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