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