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