Recognizer for cstate-result structures.
(cstate-resultp acl2::x) → *
Function:
(defun cstate-resultp (acl2::x) (declare (xargs :guard t)) (let ((__function__ 'cstate-resultp)) (declare (ignorable __function__)) (cond ((cstatep acl2::x) (b* ((get acl2::x)) (cstatep get))) (t (b* ((get acl2::x)) (reserrp get))))))
Theorem:
(defthm consp-when-cstate-resultp (implies (cstate-resultp acl2::x) (consp acl2::x)) :rule-classes :compound-recognizer)