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