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