Get the kind (tag) of a dirabsdeclor structure.
(dirabsdeclor-kind x) → kind
Function:
(defun dirabsdeclor-kind$inline (x) (declare (xargs :guard (dirabsdeclorp x))) (let ((__function__ 'dirabsdeclor-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((or (atom x) (eq (car x) :dummy-base)) :dummy-base) ((eq (car x) :paren) :paren) ((eq (car x) :array) :array) ((eq (car x) :array-static1) :array-static1) ((eq (car x) :array-static2) :array-static2) ((eq (car x) :array-star) :array-star) (t :function)) :exec (car x))))
Theorem:
(defthm dirabsdeclor-kind-possibilities (or (equal (dirabsdeclor-kind x) :dummy-base) (equal (dirabsdeclor-kind x) :paren) (equal (dirabsdeclor-kind x) :array) (equal (dirabsdeclor-kind x) :array-static1) (equal (dirabsdeclor-kind x) :array-static2) (equal (dirabsdeclor-kind x) :array-star) (equal (dirabsdeclor-kind x) :function)) :rule-classes ((:forward-chaining :trigger-terms ((dirabsdeclor-kind x)))))