Get the get field from a obligation-hyp-binding.
(obligation-hyp-binding->get x) → get
This is an ordinary field accessor created by fty::defprod.
Function:
(defun obligation-hyp-binding->get$inline (x) (declare (xargs :guard (obligation-hypp x))) (declare (xargs :guard (equal (obligation-hyp-kind x) :binding))) (let ((__function__ 'obligation-hyp-binding->get)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (obligation-hyp-kind x) :binding) x))) (binding-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x)))))
Theorem:
(defthm bindingp-of-obligation-hyp-binding->get (b* ((get (obligation-hyp-binding->get$inline x))) (bindingp get)) :rule-classes :rewrite)
Theorem:
(defthm obligation-hyp-binding->get$inline-of-obligation-hyp-fix-x (equal (obligation-hyp-binding->get$inline (obligation-hyp-fix x)) (obligation-hyp-binding->get$inline x)))
Theorem:
(defthm obligation-hyp-binding->get$inline-obligation-hyp-equiv-congruence-on-x (implies (obligation-hyp-equiv x x-equiv) (equal (obligation-hyp-binding->get$inline x) (obligation-hyp-binding->get$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm obligation-hyp-binding->get-when-wrong-kind (implies (not (equal (obligation-hyp-kind x) :binding)) (equal (obligation-hyp-binding->get x) (binding-fix nil))))