Recognizer for floating-point-value structures.
(floating-point-valuep acl2::x) → *
Function:
(defun floating-point-valuep (acl2::x) (declare (xargs :guard t)) (let ((__function__ 'floating-point-valuep)) (declare (ignorable __function__)) (cond ((float-valuep acl2::x) (b* ((get acl2::x)) (float-valuep get))) (t (b* ((get acl2::x)) (double-valuep get))))))
Theorem:
(defthm consp-when-floating-point-valuep (implies (floating-point-valuep acl2::x) (consp acl2::x)) :rule-classes :compound-recognizer)