Recognizer for state64 structures.
(state64p x) → *
Function:
(defun state64p (x) (declare (xargs :guard t)) (let ((__function__ 'state64p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :state64) (true-listp (cdr x)) (eql (len (cdr x)) 4) (b* ((xregfile (std::da-nth 0 (cdr x))) (pc (std::da-nth 1 (cdr x))) (mem (std::da-nth 2 (cdr x))) (error (std::da-nth 3 (cdr x)))) (and (xregfile64p xregfile) (ubyte64p pc) (memory64p mem) (booleanp error))))))
Theorem:
(defthm consp-when-state64p (implies (state64p x) (consp x)) :rule-classes :compound-recognizer)