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