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