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