Get the error field from a stat32i.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun stat32i->error$inline (x) (declare (xargs :guard (stat32ip x))) (declare (xargs :guard t)) (let ((__function__ 'stat32i->error)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (acl2::bool-fix (cdr (std::da-nth 3 x)))) :exec (cdr (std::da-nth 3 x)))))
Theorem:
(defthm booleanp-of-stat32i->error (b* ((error (stat32i->error$inline x))) (booleanp error)) :rule-classes :rewrite)
Theorem:
(defthm stat32i->error$inline-of-stat32i-fix-x (equal (stat32i->error$inline (stat32i-fix x)) (stat32i->error$inline x)))
Theorem:
(defthm stat32i->error$inline-stat32i-equiv-congruence-on-x (implies (stat32i-equiv x x-equiv) (equal (stat32i->error$inline x) (stat32i->error$inline x-equiv))) :rule-classes :congruence)