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