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