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