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