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