Get the kind (tag) of a atc-premise structure.
(atc-premise-kind x) → kind
Function:
(defun atc-premise-kind$inline (x) (declare (xargs :guard (atc-premisep x))) (let ((__function__ 'atc-premise-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((or (atom x) (eq (car x) :compustate)) :compustate) ((eq (car x) :cvalue) :cvalue) ((eq (car x) :cvalues) :cvalues) (t :test)) :exec (car x))))
Theorem:
(defthm atc-premise-kind-possibilities (or (equal (atc-premise-kind x) :compustate) (equal (atc-premise-kind x) :cvalue) (equal (atc-premise-kind x) :cvalues) (equal (atc-premise-kind x) :test)) :rule-classes ((:forward-chaining :trigger-terms ((atc-premise-kind x)))))