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