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