Set the error flag in the state.
Function:
(defun error64 (stat) (declare (xargs :guard (state64p stat))) (let ((__function__ 'error64)) (declare (ignorable __function__)) (change-state64 stat :error t)))
Theorem:
(defthm state64p-of-error64 (b* ((new-stat (error64 stat))) (state64p new-stat)) :rule-classes :rewrite)
Theorem:
(defthm error64-of-state64-fix-stat (equal (error64 (state64-fix stat)) (error64 stat)))
Theorem:
(defthm error64-state64-equiv-congruence-on-stat (implies (state64-equiv stat stat-equiv) (equal (error64 stat) (error64 stat-equiv))) :rule-classes :congruence)