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