Get the kind (tag) of a transform-argument-value structure.
(transform-argument-value-kind x) → kind
Function:
(defun transform-argument-value-kind$inline (x) (declare (xargs :guard (transform-argument-valuep x))) (let ((__function__ 'transform-argument-value-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((or (atom x) (eq (car x) :identifier)) :identifier) ((eq (car x) :identifier-list) :identifier-list) ((eq (car x) :term) :term) (t :bool)) :exec (car x))))
Theorem:
(defthm transform-argument-value-kind-possibilities (or (equal (transform-argument-value-kind x) :identifier) (equal (transform-argument-value-kind x) :identifier-list) (equal (transform-argument-value-kind x) :term) (equal (transform-argument-value-kind x) :bool)) :rule-classes ((:forward-chaining :trigger-terms ((transform-argument-value-kind x)))))