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