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