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