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