Get the kind (tag) of a structdecl structure.
(structdecl-kind x) → kind
Function:
(defun structdecl-kind$inline (x) (declare (xargs :guard (structdeclp x))) (let ((__function__ 'structdecl-kind)) (declare (ignorable __function__)) (mbe :logic (cond ((eq (car x) :member) :member) ((eq (car x) :statassert) :statassert) (t :empty)) :exec (car x))))
Theorem:
(defthm structdecl-kind-possibilities (or (equal (structdecl-kind x) :member) (equal (structdecl-kind x) :statassert) (equal (structdecl-kind x) :empty)) :rule-classes ((:forward-chaining :trigger-terms ((structdecl-kind x)))))