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