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