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