Produce a backtrace frame for the top FGL rewriter stack frame that matches any of a list of rule specifications
(interp-st-stack-backtrace-top specs interp-st) → frame
Function:
(defun interp-st-stack-backtrace-top (specs interp-st) (declare (xargs :stobjs (interp-st))) (declare (xargs :guard (backtrace-speclist-p specs))) (let ((__function__ 'interp-st-stack-backtrace-top)) (declare (ignorable __function__)) (stobj-let ((stack (interp-st->stack interp-st))) (bt) (stack-backtrace-top specs stack) bt)))
Theorem:
(defthm return-type-of-interp-st-stack-backtrace-top (b* ((frame (interp-st-stack-backtrace-top specs interp-st))) (iff (backtrace-frame-p frame) frame)) :rule-classes :rewrite)