Get the kind (tag) of a proof-outcome structure.
(proof-outcome-kind x) → kind
Function:
(defun proof-outcome-kind$inline (x) (declare (xargs :guard (proof-outcomep x))) (let ((__function__ 'proof-outcome-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((or (atom x) (eq (car x) :assertion)) :assertion) ((eq (car x) :fail) :fail) (t :error)) :exec (car x))))
Theorem:
(defthm proof-outcome-kind-possibilities (or (equal (proof-outcome-kind x) :assertion) (equal (proof-outcome-kind x) :fail) (equal (proof-outcome-kind x) :error)) :rule-classes ((:forward-chaining :trigger-terms ((proof-outcome-kind x)))))