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