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