Get the kind (tag) of a vttree structure.
(vttree-kind x) → kind
Function:
(defun vttree-kind$inline (x) (declare (xargs :guard (vttree-p x))) (let ((__function__ 'vttree-kind)) (declare (ignorable __function__)) (cond ((atom x) :none) ((eq (car x) :warnings) :warnings) ((eq (car x) :constraints) :constraints) ((eq (car x) :context) :context) (t :branch))))
Theorem:
(defthm vttree-kind-possibilities (or (equal (vttree-kind x) :none) (equal (vttree-kind x) :warnings) (equal (vttree-kind x) :constraints) (equal (vttree-kind x) :context) (equal (vttree-kind x) :branch)) :rule-classes ((:forward-chaining :trigger-terms ((vttree-kind x)))))