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