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