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