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