Get the kind (tag) of a sparseint$ structure.
(sparseint$-kind x) → kind
Function:
(defun sparseint$-kind$inline (x) (declare (xargs :guard (sparseint$-p x))) (let ((__function__ 'sparseint$-kind)) (declare (ignorable __function__)) (cond ((atom x) :leaf) (t :concat))))
Theorem:
(defthm sparseint$-kind-possibilities (or (equal (sparseint$-kind x) :leaf) (equal (sparseint$-kind x) :concat)) :rule-classes ((:forward-chaining :trigger-terms ((sparseint$-kind x)))))