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