Get the obligation-vars field from a context.
(context->obligation-vars x) → obligation-vars
This is an ordinary field accessor created by fty::defprod.
Function:
(defun context->obligation-vars$inline (x) (declare (xargs :guard (contextp x))) (declare (xargs :guard t)) (let ((__function__ 'context->obligation-vars)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (typed-variable-list-fix (cdr (std::da-nth 4 x)))) :exec (cdr (std::da-nth 4 x)))))
Theorem:
(defthm typed-variable-listp-of-context->obligation-vars (b* ((obligation-vars (context->obligation-vars$inline x))) (typed-variable-listp obligation-vars)) :rule-classes :rewrite)
Theorem:
(defthm context->obligation-vars$inline-of-context-fix-x (equal (context->obligation-vars$inline (context-fix x)) (context->obligation-vars$inline x)))
Theorem:
(defthm context->obligation-vars$inline-context-equiv-congruence-on-x (implies (context-equiv x x-equiv) (equal (context->obligation-vars$inline x) (context->obligation-vars$inline x-equiv))) :rule-classes :congruence)