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