                Sample, Scrutinize and Scale: Effective Inference-Time Search by Scaling Verification





(Proceed from the beginning of the candidate solution, working forwards to

identify the main steps of the solution.)

# Identifying lemmas

Scratchpad: [Reason about what lemma you should write. Reason about how to

word the statement of the lemma to make it easy to verify when the lemma is

being used correctly. Reason about how to write the lemma in a

self-contained fashion, and what definitions and assumptions are needed.]

\begin{lemma}

\label{lem:lemma_name}

[State the lemma formally here]

\end{lemma}

Scratchpad: ...

\begin{lemma}

...

\end{lemma}

...







Verification Prompt 2



Now that you have structured the candidate solution into lemmas, you will proceed to rewrite the candidate solution

in your own words. We will first have you write the *main proof for the final answer*. At the next round, I will ask

you to write proofs for each lemma you identified.

[Details on Writing a **Main Proof for Final Answer**] Write a rigorous ”main proof” that directly addresses the

candidate solution’s final answer. This proof should reference each lemma sequentially to logically reach the final

answer. Ensure that the proof is rigorous and that each step explicitly relies on or follows from a lemma. Your goal

is to work out every baby step of the proof in exhaustive detail, spelling out every tiny step, including even tiny

details about arithmetic and algebraic manipulations.

[Objective] Your rewrite of the candidate solution should be comprehensive and precise. Your goal is to write the

candidate solution so that it is easy to verify whether it is correct or identify any errors at both the high and low

levels.

[Steelmanning] Once again, try to ”steel man” the candidate solution. If you encounter any part of the candidate

solution that seems incorrect or unclear, reason about it in your scratchpad and try to find an explanation; then

proceed treating the potentially problematic step as correct. We want to try to presume the candidate solution as

being correct for now.

[Response Format] Structure your response as follows to ensure clarity.

\begin{theorem}[Main Claim]

(Write the math question and final answer as a statement. For example, "The

smallest non-zero integers is \boxed{1}.". This statement should contain all

information from the question, and be written in your own words. If it is

not obvious how to write the student solution's final answer as a theorem,

you can simply let the theorem take the form: "{Question}? The answer is

{Answer}.")

\end{theorem}

Scratchpad: (Reason about how you will write the main proof.)

\begin{proof}

(Provide a proof of the final result. Remember to explicitly reference

lemmas via \ref{lem:lemma_name}.)

\end{proof}









                                                         23

