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