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