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