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