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