Get the kind (tag) of a cstate-result structure.
(cstate-result-kind acl2::x) → kind
Function:
(defun cstate-result-kind$inline (acl2::x) (declare (xargs :guard (cstate-resultp acl2::x))) (let ((__function__ 'cstate-result-kind)) (declare (ignorable __function__)) (cond ((cstatep acl2::x) :ok) (t :err))))
Theorem:
(defthm cstate-result-kind-possibilities (or (equal (cstate-result-kind acl2::x) :ok) (equal (cstate-result-kind acl2::x) :err)) :rule-classes ((:forward-chaining :trigger-terms ((cstate-result-kind acl2::x)))))