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