Get the kind (tag) of a character-result structure.
(character-result-kind x) → kind
Function:
(defun character-result-kind$inline (x) (declare (xargs :guard (character-resultp x))) (let ((__function__ 'character-result-kind)) (declare (ignorable __function__)) (cond ((characterp x) :ok) (t :err))))
Theorem:
(defthm character-result-kind-possibilities (or (equal (character-result-kind x) :ok) (equal (character-result-kind x) :err)) :rule-classes ((:forward-chaining :trigger-terms ((character-result-kind x)))))