Get the kind (tag) of a op-imms-funct structure.
(op-imms-funct-kind x) → kind
Function:
(defun op-imms-funct-kind$inline (x) (declare (xargs :guard (op-imms-funct-p x))) (let ((__function__ 'op-imms-funct-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((or (atom x) (eq (car x) :slli)) :slli) ((eq (car x) :srli) :srli) (t :srai)) :exec (car x))))
Theorem:
(defthm op-imms-funct-kind-possibilities (or (equal (op-imms-funct-kind x) :slli) (equal (op-imms-funct-kind x) :srli) (equal (op-imms-funct-kind x) :srai)) :rule-classes ((:forward-chaining :trigger-terms ((op-imms-funct-kind x)))))