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