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



Verification Prompt 3



Your task is now to provide proofs for each and every lemma you identified in the candidate solution.

[Details on Writing **Lemma Proofs**] For each lemma, write a detailed and thorough proof of the lemma. Each

proof should methodically use the assumptions, definitions, and conditions in the lemma’s statement to verify the

conclusion. This proof should be rigorous and work out every baby step in exhaustive detail, spelling out every tiny

step, including even tiny details about arithmetic and algebraic manipulations. Remember that you may encounter a

lemma that ”builds” on other lemmas, in that it uses the other lemmas to prove its claim. In these cases, you should

have already written the lemma so that it incorporates those other lemmas as ”assumptions”, so that you do not need

to replicate the work. If this is not the case, please revise the lemma statement accordingly.

[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 and rigor. You must provide proofs for all

lemmas. Do not skip any lemmas, defer any writing to the future, or leave any proofs incomplete. You must return

full proofs for every lemma; I am an automated system and unable to handle incomplete responses. You will not

have a chance to finish your response later. Provide a complete response.

\begin{lemma}

\label{...}

...

\end{lemma}

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

\begin{proof}

(Provide a proof of the lemma.)

\end{proof}

... (repeat for EVERY lemma)





Verification Prompt 4



Now we will proceed to analyzing the correctness of each suspicious claim. For each item in the claim: 1. Check if

the candidate solution’s final answer indeed depends on the claim. This step is important to rule out false positives

where the candidate solution makes a False claim, but the claim does not really affect the final answer so it’s Falsity

does not result in an actual error in the final answer. If this check is failed, i.e. the final answer does not depend on

the claim, then discard this claim and continue to the next suspicious claim. 2. Check that you are unable to prove

the suspicious claim is True. Do this by trying to prove the suspicious claim. You can make multiple attempts. If

you are able to prove the suspicious claim, meaning that the suspicious claim is correct, then discard this claim and

continue to the next suspicious claim. 3. Check that the claim is False by proving a corrected alternative version of

the claim. If you are unable to do this, continue to the next suspicious claim. 4. Correct this suspicious claim in the

candidate solution and determine the corrected final answer in a step-by-step manner. If the final answer changes or

correcting this error invalidates the candidate solution’s proof approach, mark this suspicious claim as a ”fatal error”.

At the end, say **Yes** if you found a fatal error. Otherwise, say **No, final answer is correct**.





Verification Prompt 5



Now we will proceed to analyzing the correctness of the candidate solution. We have two goals: identify if there is

an error, and if there is an error, repair the candidate solution and identify whether the final answer has changed. For

now, we will focus on methodically combing through the candidate solution and checking each step for a potential

error.





                                                          24

