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