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