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