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