Get the error field from a state64.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun state64->error$inline (x) (declare (xargs :guard (state64p x))) (declare (xargs :guard t)) (let ((__function__ 'state64->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-state64->error (b* ((error (state64->error$inline x))) (booleanp error)) :rule-classes :rewrite)
Theorem:
(defthm state64->error$inline-of-state64-fix-x (equal (state64->error$inline (state64-fix x)) (state64->error$inline x)))
Theorem:
(defthm state64->error$inline-state64-equiv-congruence-on-x (implies (state64-equiv x x-equiv) (equal (state64->error$inline x) (state64->error$inline x-equiv))) :rule-classes :congruence)