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