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