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