Recognizer for cinteger structures.
(cintegerp acl2::x) → *
Function:
(defun cintegerp (acl2::x) (declare (xargs :guard t)) (let ((__function__ 'cintegerp)) (declare (ignorable __function__)) (cond ((scharp acl2::x) (b* ((get acl2::x)) (scharp get))) ((ucharp acl2::x) (b* ((get acl2::x)) (ucharp get))) ((sshortp acl2::x) (b* ((get acl2::x)) (sshortp get))) ((ushortp acl2::x) (b* ((get acl2::x)) (ushortp get))) ((sintp acl2::x) (b* ((get acl2::x)) (sintp get))) ((uintp acl2::x) (b* ((get acl2::x)) (uintp get))) ((slongp acl2::x) (b* ((get acl2::x)) (slongp get))) ((ulongp acl2::x) (b* ((get acl2::x)) (ulongp get))) ((sllongp acl2::x) (b* ((get acl2::x)) (sllongp get))) (t (b* ((get acl2::x)) (ullongp get))))))
Theorem:
(defthm consp-when-cintegerp (implies (cintegerp acl2::x) (consp acl2::x)) :rule-classes :compound-recognizer)