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