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