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