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