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