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