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