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