Get the binding field from a frame.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun frame->binding$inline (x) (declare (xargs :guard (framep x))) (declare (xargs :guard t)) (let ((__function__ 'frame->binding)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (binding-fix (std::da-nth 1 (cdr x)))) :exec (std::da-nth 1 (cdr x)))))
Theorem:
(defthm bindingp-of-frame->binding (b* ((binding (frame->binding$inline x))) (bindingp binding)) :rule-classes :rewrite)
Theorem:
(defthm frame->binding$inline-of-frame-fix-x (equal (frame->binding$inline (frame-fix x)) (frame->binding$inline x)))
Theorem:
(defthm frame->binding$inline-frame-equiv-congruence-on-x (implies (frame-equiv x x-equiv) (equal (frame->binding$inline x) (frame->binding$inline x-equiv))) :rule-classes :congruence)