Check if a type is a real type [C:6.2.5/18].
Function:
(defun type-realp (type) (declare (xargs :guard (typep type))) (let ((__function__ 'type-realp)) (declare (ignorable __function__)) (type-integerp type)))
Theorem:
(defthm booleanp-of-type-realp (b* ((yes/no (type-realp type))) (booleanp yes/no)) :rule-classes :rewrite)
Theorem:
(defthm type-realp-of-type-fix-type (equal (type-realp (type-fix type)) (type-realp type)))
Theorem:
(defthm type-realp-type-equiv-congruence-on-type (implies (type-equiv type type-equiv) (equal (type-realp type) (type-realp type-equiv))) :rule-classes :congruence)