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