Get the msg field from a bvar-db-consistency-error-eval-error.
(bvar-db-consistency-error-eval-error->msg x) → fty::x.name
This is an ordinary field accessor created by defprod.
Function:
(defun bvar-db-consistency-error-eval-error->msg$inline (x) (declare (xargs :guard (bvar-db-consistency-error-p x))) (declare (xargs :guard (equal (bvar-db-consistency-error-kind x) :eval-error))) (let ((__function__ 'bvar-db-consistency-error-eval-error->msg)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (bvar-db-consistency-error-kind x) :eval-error) x))) (std::prod-cdr (cdr x))) :exec (std::prod-cdr (cdr x)))))
Theorem:
(defthm bvar-db-consistency-error-eval-error->msg$inline-of-bvar-db-consistency-error-fix-x (equal (bvar-db-consistency-error-eval-error->msg$inline (bvar-db-consistency-error-fix x)) (bvar-db-consistency-error-eval-error->msg$inline x)))
Theorem:
(defthm bvar-db-consistency-error-eval-error->msg$inline-bvar-db-consistency-error-equiv-congruence-on-x (implies (bvar-db-consistency-error-equiv x x-equiv) (equal (bvar-db-consistency-error-eval-error->msg$inline x) (bvar-db-consistency-error-eval-error->msg$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm bvar-db-consistency-error-eval-error->msg-when-wrong-kind (implies (not (equal (bvar-db-consistency-error-kind x) :eval-error)) (equal (bvar-db-consistency-error-eval-error->msg x) nil)))