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