Get the info field from a reserr.
(reserr->info x) → info
This is an ordinary field accessor created by defprod.
Function:
(defun reserr->info$inline (x) (declare (xargs :guard (reserrp x))) (declare (xargs :guard t)) (let ((__function__ 'reserr->info)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (identity (cdr (std::da-nth 0 (cdr x))))) :exec (cdr (std::da-nth 0 (cdr x))))))
Theorem:
(defthm any-p-of-reserr->info (b* ((info (reserr->info$inline x))) (acl2::any-p info)) :rule-classes :rewrite)
Theorem:
(defthm reserr->info$inline-of-reserr-fix-x (equal (reserr->info$inline (reserr-fix x)) (reserr->info$inline x)))
Theorem:
(defthm reserr->info$inline-reserr-equiv-congruence-on-x (implies (reserr-equiv x x-equiv) (equal (reserr->info$inline x) (reserr->info$inline x-equiv))) :rule-classes :congruence)