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