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