Recognizer for integral-value structures.
(integral-valuep acl2::x) → *
Function:
(defun integral-valuep (acl2::x) (declare (xargs :guard t)) (let ((__function__ 'integral-valuep)) (declare (ignorable __function__)) (cond ((char-valuep acl2::x) (b* ((get acl2::x)) (char-valuep get))) ((byte-valuep acl2::x) (b* ((get acl2::x)) (byte-valuep get))) ((short-valuep acl2::x) (b* ((get acl2::x)) (short-valuep get))) ((int-valuep acl2::x) (b* ((get acl2::x)) (int-valuep get))) (t (b* ((get acl2::x)) (long-valuep get))))))
Theorem:
(defthm consp-when-integral-valuep (implies (integral-valuep acl2::x) (consp acl2::x)) :rule-classes :compound-recognizer)