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



D.1. Verification Scoring Prompts



   Verification Prompt 1



   [Commandments] Over the coming interactions, you must fulfill the following commandments: 1. *Be excruciatingly

   detailed and exhaustive in your analyses.* This will often mean that your responses will be long. Do not cut your

   responses short. When you are asked to fulfill a list of tasks, you must fulfill each and every task to completion.

   2. *Be structured and systematic in your responses*. Organize your thoughts in a clear hierarchical format. Use

   neutral, rigorous mathematical language to write things in your own words and avoid subjective descriptions.

   3. *Never put the cart before the horse.* Before making a claim or statements, always verbally reason out your chain

   of thought and convince yourself of it in an exhaustive fashion. Instead of saying ”X is Y because Z”, say ”Consider

   Z. Therefore ..., meaning that X is Y.”. Avoid premature conclusions.

   [Background] An examiner has presented a math problem along with a ”candidate solution”. Your purpose is to

   assist in evaluating whether the *final answer* in the candidate solution is correct. We will guide you through a

   series of exercises to fulfill this purpose. The question is a real exam problem, which means there is always one

   unique correct answer.

   Here is the math question. {} Here is the candidate solution. {}

   ** Current Task ** Your task is to rewrite the candidate solution into a rigorous, structured format consistent with

   mathematical convention. You should rewrite the solution in your own words, and work out every step in exhaustive

   detail, allowing us to more easily check for errors down the line. As a starting point, you will first decompose the

   candidate solution into a list of self-contained *lemmas*. Later on, we will have you use your lemmas to rewrite the

   candidate solution in the following format:

   \begin{theorem} ... is \boxed{...}. \end{theorem}

   \begin{proof}[Proof of Theorem] ... \end{proof}

   \begin{lemma}\label{...} ... \end{lemma}

   \begin{proof}[Proof of Lemma˜\ref{...}] ... \end{proof}

   ...

    For now, focus only on identifying, structuring, and clearly defining each lemma without proofs. We will write

    proofs for these lemmas, and a proof for the final answer using these lemmas, at a later point in time.

    [Steelmanning] If you encounter any part of the candidate solution that seems incorrect or unclear, reason about

    it in your scratchpad. Explain your thought process to clarify your understanding. Consider whether there might

    be an alternative interpretation or if you could be overlooking or overcomplicating something. If, after reasoning

    through it, you still find it confusing, note in your scratchpad that this part may need to be revisited and proceed

   while treating the potentially problematic step as temporarily correct. At the current stage, we want to try to presume

    the candidate solution as being correct. Try your best to *steel man* the candidate solution.

    [Task Specifics] To ensure accuracy, you will decompose the candidate solution into self-contained *lemmas*.

   These lemmas will serve as building blocks, allowing us to reconstruct the candidate solution in a more rigorous and

    conventional mathematical format.

    [Steps to Follow] 1. **Initial Analysis**: Carefully read through the candidate solution and break it down into its

    primary steps. 2. **Lemma Identification**: Identify each logical segment of the candidate solution that could

    serve as a lemma. For each lemma: - **Scratchpad**: Before writing the lemma formally, record a brief scratchpad

    of thoughts outlining assumptions, conditions, and any definitions necessary to ensure the lemma is self-contained.

   This should help you catch potential errors or misapplications that might be subtle. Reason about how to write the

    lemma in a fashion that allows for easy verification of both the lemma, and how the lemma is used in the final proof.

   - **Lemma Statement**: After organizing your thoughts, write each lemma in a clear and rigorous manner. Ensure

    each lemma is isolated from others, so it does not depend on assumptions not explicitly stated within it.

    [Response Format] Structure your response as follows.

   # Analyzing the solution

   (Study the language of the question, keeping an eye out for important

   details.)

   (Identify the candidate solution's final answer. Work backwards through the

   solution to identify the intermediate claims that led to the final answer.)





                                                             22

