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