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