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