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