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