Get the obj field from a bvar-db-consistency-error-eval-error.
(bvar-db-consistency-error-eval-error->obj x) → obj
This is an ordinary field accessor created by defprod.
Function:
(defun bvar-db-consistency-error-eval-error->obj$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->obj)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (bvar-db-consistency-error-kind x) :eval-error) x))) (fgl-object-fix (std::prod-car (cdr x)))) :exec (std::prod-car (cdr x)))))
Theorem:
(defthm fgl-object-p-of-bvar-db-consistency-error-eval-error->obj (b* ((obj (bvar-db-consistency-error-eval-error->obj$inline x))) (fgl-object-p obj)) :rule-classes :rewrite)
Theorem:
(defthm bvar-db-consistency-error-eval-error->obj$inline-of-bvar-db-consistency-error-fix-x (equal (bvar-db-consistency-error-eval-error->obj$inline (bvar-db-consistency-error-fix x)) (bvar-db-consistency-error-eval-error->obj$inline x)))
Theorem:
(defthm bvar-db-consistency-error-eval-error->obj$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->obj$inline x) (bvar-db-consistency-error-eval-error->obj$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm bvar-db-consistency-error-eval-error->obj-when-wrong-kind (implies (not (equal (bvar-db-consistency-error-kind x) :eval-error)) (equal (bvar-db-consistency-error-eval-error->obj x) (fgl-object-fix nil))))