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