Get the kind (tag) of a dec-expo-prefix structure.
(dec-expo-prefix-kind x) → kind
Function:
(defun dec-expo-prefix-kind$inline (x) (declare (xargs :guard (dec-expo-prefixp x))) (let ((__function__ 'dec-expo-prefix-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((or (atom x) (eq (car x) :locase-e)) :locase-e) (t :upcase-e)) :exec (car x))))
Theorem:
(defthm dec-expo-prefix-kind-possibilities (or (equal (dec-expo-prefix-kind x) :locase-e) (equal (dec-expo-prefix-kind x) :upcase-e)) :rule-classes ((:forward-chaining :trigger-terms ((dec-expo-prefix-kind x)))))