Get the excep field from a inst.
(inst->excep x) → excep
This is an ordinary field accessor created by defprod.
Function:
(defun inst->excep$inline (x) (declare (xargs :guard (inst-p x))) (declare (xargs :guard t)) (let ((__function__ 'inst->excep)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (exception-desc-fix (std::prod-cdr (std::prod-cdr (std::prod-cdr x))))) :exec (std::prod-cdr (std::prod-cdr (std::prod-cdr x))))))
Theorem:
(defthm exception-desc-p-of-inst->excep (b* ((excep (inst->excep$inline x))) (exception-desc-p excep)) :rule-classes :rewrite)
Theorem:
(defthm inst->excep$inline-of-inst-fix-x (equal (inst->excep$inline (inst-fix x)) (inst->excep$inline x)))
Theorem:
(defthm inst->excep$inline-inst-equiv-congruence-on-x (implies (inst-equiv x x-equiv) (equal (inst->excep$inline x) (inst->excep$inline x-equiv))) :rule-classes :congruence)