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