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