Human-AI Collaborative Reasoning from Competition Math Problems: Methods and Prompts

    This article uses a hard math competition problem to show a key limitation of large language models: knowing concepts is not the same as organizing them correctly in an unfamiliar setting. It reframes the goal from "how much math does the model know" to "how do we turn existing knowledge into a checkable, iterable, and ultimately closed reasoning process." The core proposal is human-AI collaborative reasoning, where the human controls direction and weak points while the model generates candidates, does local derivations, and organizes arguments. The article formalizes a grid-covering model, separates construction (upper bound) from lower-bound proofs, discusses search and judgment bottlenecks, presents two lower-bound strategies, lays out a five-stage workflow, gives verification-first tooling guidance with pseudocode, and provides reusable prompt templates. Readers get a practical method for controlling the reasoning process rather than relying on a single clever instruction.

    1. From “Getting the Model to Answer” to “Managing the Solving Process”

    Hard math problems expose a key limitation in the reasoning of large models: mastering the relevant concepts does not mean being able to organize those concepts correctly in an unfamiliar situation.

    A model may explain permutations, rectangle covering, combinatorial lower bounds, and monotone subsequences, yet still pick the wrong entry point on a combined problem. It may propose a construction that looks plausible but cannot prove the construction satisfies all constraints; or it may find a few small-scale instances and prematurely declare a general conclusion.

    So the more worthwhile question is not “how much math does the model actually know,” but:

    How do we turn the knowledge a model already has into a reasoning process that is checkable, iterable, and ultimately able to close?

    The source material introduces a reasoning approach centered on human-AI collaboration: the human controls the research direction and points out weak spots, while the model handles candidate generation, local derivation, and argument organization. This article abstracts that into “human-AI collaborative reasoning” and focuses on reusable methods rather than the performance of any particular model or demonstration.

    A note on the evidence boundary first: the grid dimensions, some formulas, and the complete proof from the source material were not preserved. So the final numerical answer to that competition problem cannot be recovered from these fragments alone, nor can the scores, success rate, or solving process of any related system be confirmed on that basis. The following uses a generalized grid-covering model to explain the method, and does not treat unverified descriptions as established conclusions.

    2. Turning a Natural-Language Problem into a Rigorous Mathematical Object

    Consider an (n\times n) grid of cells. We want to cover some of the cells with rectangles subject to:

    1. Each rectangle’s edges lie along grid lines;
    2. Cells covered by different rectangles do not overlap;
    3. Each row has exactly one uncovered cell;
    4. Each column has exactly one uncovered cell;
    5. Among all valid configurations, minimize the number of rectangles.

    This is not simply a “place the rectangles” problem, but a combinatorial optimization problem with two layers of choice: first choose the positions of the holes, then choose the rectangular partition of the remaining cells.

    2.1 Holes Can Be Represented as a Permutation

    Since each row has exactly one hole, let (p(i)) denote the column of the hole in row (i).

    Since each column also has exactly one hole, (p(1),p(2),\ldots,p(n)) must all be distinct. In other words, the hole positions form a permutation.

    This transformation matters. It turns a visual description into an operable discrete object, letting us discuss:

    • Whether the holes show an increasing or decreasing trend;
    • Whether some rows share a common covering obstacle;
    • Whether a local permutation pattern forces rectangles to be split;
    • Which permutations are more suitable for constructing a low-count covering.

    2.2 A Single Rectangle Has a Contiguous-Interval Structure

    A valid rectangle can be written as:

    [
    R=[a,b]\times[c,d],
    ]

    where (1\le a\le b\le n) and (1\le c\le d\le n).

    Legality of the rectangle requires at least:

    [
    p(i)\notin[c,d],\qquad \forall i\in[a,b].
    ]

    That is, for every row the rectangle passes through, that row’s hole must not fall within the column interval the rectangle covers.

    The problem can then be stated as: for the hole set determined by a given permutation, use products of non-overlapping contiguous row and column intervals to exactly partition all non-hole cells.

    The payoff of formalization is that every subsequent reasoning step has a definite object, avoiding “it looks fine on the diagram” as a substitute for rigorous argument.

    3. An Optimization Problem Must Handle Construction and Lower Bound Separately

    Let the minimum number of rectangles be (M(n)). Determining it usually requires proofs in two independent directions.

    3.1 Construction Gives an Upper Bound

    If you can explicitly lay out a valid configuration using (U(n)) rectangles, you get:

    [
    M(n)\le U(n).
    ]

    A construction proof should not rely on a diagram alone; it should also explain:

    • How the hole positions are determined;
    • What the row and column ranges of each rectangle are;
    • Whether any hole gets covered;
    • Whether different rectangles intersect;
    • Whether all non-hole cells are covered;
    • How the number of rectangles is counted.

    For a parameterized construction, you should also check small scales, parity, and boundary conditions. Many errors come not from the main idea but from the last row, the last column, or some degenerate interval.

    3.2 The Lower-Bound Proof Rules Out All Better Configurations

    If you prove that any valid configuration needs at least (L(n)) rectangles, you get:

    [
    M(n)\ge L(n).
    ]

    Unlike a construction, a lower bound must cover all hole permutations and all rectangle partitions, not just analyze one attractive layout.

    Only when the upper and lower bounds match can the optimal value be fixed:

    [
    L(n)=U(n)\quad\Longrightarrow\quad M(n)=L(n).
    ]

    This is also where models tend to go wrong: they often write “found a good configuration” as “found the optimal configuration.” In the collaborative workflow, construction and lower bound should always be kept as two separate task lines, each recording the conclusions it has actually proved.

    4. The Difficulty Is Not Only Knowledge, but Also Search and Judgment

    4.1 The Candidate Space Grows Fast

    The hole permutations alone give (n!) possibilities. For a fixed permutation, there may also be many valid rectangles and different ways to partition.

    So as the scale grows, naive enumeration quickly becomes expensive. But “grows fast” does not mean no small instance can be searched. Small-scale experiments are still valuable: they can find counterexamples, test constructions, and help identify patterns.

    Two things should be distinguished:

    • Using computation to explore finite instances;
    • Using mathematical proof to cover arbitrary scale.

    The former cannot replace the latter, but it can significantly improve the quality of direction selection for the latter.

    4.2 Visual Patterns Must Be Converted into Verifiable Relations

    A person may intuitively see staircase shapes, diagonal distributions, or region separation. Even if a model generates similar descriptions, it does not necessarily grasp the geometric constraints precisely.

    A safer approach is to rewrite the intuition as conditions. For example, if two cells are to be covered by the same rectangle, then the smallest axis-aligned rectangle containing them must not contain a hole. Such an explicit relation is more suitable for derivation and verification than “they seem to be separated.”

    4.3 Knowing a Theorem Is Not the Same as Knowing How to Use It

    A model can restate a theorem without being able to complete the actual application. Application usually also requires answering:

    • What object in the problem corresponds to what object in the theorem?
    • Do the theorem’s premises hold?
    • How does the resulting intermediate conclusion translate into a rectangle count?
    • Are boundary cases or hidden assumptions missed?

    So “the model already has all the needed knowledge” should be treated as a judgment that needs supporting evidence, not a conclusion drawn merely from one successful prompt. A prompt may do more than evoke knowledge; it may also supply new structure, a lemma, or a key direction.

    5. Two Lower-Bound Directions Worth Exploring

    The methods below are general candidate directions and do not represent a completed optimality proof for the original problem.

    5.1 Finding a Witness Set That No Single Rectangle Can Cover

    Select some cells that must be covered, and call the set (S). If you can prove that any valid rectangle covers at most one of them, then necessarily:

    [
    M(n)\ge |S|.
    ]

    The core of the proof is two points:

    First, the cells in the set are indeed not holes.

    Second, for any two distinct witness cells, the smallest axis-aligned rectangle containing them contains a hole. This way, any rectangle covering both would be illegal.

    The strength of this method is that the source of the lower bound is intuitive. But the difficulty is also clear: you must construct a witness set large enough and prove it works for the layouts within the target range. You cannot generalize from mutual exclusion in one example directly to all permutations.

    5.2 Using Monotone Structure in the Permutation

    Increasing or decreasing subsequences in the permutation can help reveal ordered geometric relations. A general monotone-subsequence theorem states that a sufficiently long sequence of distinct numbers must contain an increasing or a decreasing subsequence of a certain length.

    But finding monotone structure is only an intermediate step. What really needs to be argued is:

    • Which hole positions the subsequence corresponds to;
    • How those holes constrain rectangles from spanning across;
    • Which witness cells can be selected on that basis;
    • Whether the resulting lower bound is strong enough.

    A theorem’s name is not a proof; the mapping from the theorem to the target conclusion is what matters.

    6. An Executable Human-AI Collaborative Reasoning Workflow

    Stage 1: Unify the Problem Representation

    First have the model do only formalization, not seek an answer. Organize variables, constraints, objectives, and ambiguities, and in particular confirm whether degenerate rectangles are allowed and whether the size parameters are complete.

    Stage 2: Explore Candidate Directions in Parallel

    Explore construction, lower bound, and small instances separately. Require each direction to produce a “next verifiable task” rather than continuous long-winded guesses.

    For example:

    • Construction direction: list all rectangle coordinates and verify the covering;
    • Lower-bound direction: propose a local lemma and prove it;
    • Experiment direction: find the smallest counterexample to the current conjecture.

    Stage 3: Build a Fact Ledger

    Sort content into three categories:

    • Proved: has a complete derivation;
    • Experimentally observed: holds only in finite instances;
    • Conjecture to verify: not yet proved or tested.

    Models easily upgrade observations to facts over multiple turns. A fact ledger reduces this state drift and makes clear what exactly is missing for the next step.

    Stage 4: Refute Actively

    Do not just ask for “a check”; ask it to locate the step most likely to fail:

    • Did it assume the holes form a monotone permutation?
    • Did it miss rectangles spanning multiple regions?
    • Did it mistake a covering for a non-overlapping partition?
    • Is there a case where one rectangle covers multiple witness points?

    When a line of reasoning repeatedly relies on unproved assumptions, pause it rather than keep expanding the same wrong idea.

    Stage 5: Close the Proof and Review Independently

    The final text should be readable independently of the exploration process. All auxiliary conclusions have proofs, the construction has complete verification, the lower bound covers all valid configurations, and it finally states clearly how the upper and lower bounds become equal.

    7. Program Assistance Should Prioritize Verification, Not Manufacturing Conclusions

    A covering verifier is usually easier to implement and more reliable than a full optimization solver.

    Here is illustrative pseudocode:

    1. function verifyCovering(n, holeColumns, rectangleList):
    2. if holeColumns is not a permutation of 1 to n:
    3. return invalid
    4. create an n x n coverage-count table initialized to 0
    5. for each rectangle:
    6. check that row and column endpoints are ordered and within the grid
    7. for each cell contained in the rectangle:
    8. if that cell is a hole:
    9. return invalid
    10. increment the coverage count by 1
    11. for each cell in the grid:
    12. if it is a hole, require coverage count 0
    13. otherwise, require coverage count 1
    14. return valid

    For a fixed hole permutation, you can also enumerate valid rectangles, assign each rectangle a variable taking a value of zero or one, require for each non-hole cell that the sum of the variables of rectangles containing it equals exactly one, and set the objective to minimize the sum of all variables.

    This is an exact-partition modeling approach. However, the optimal result on a fixed permutation is not the global optimum over all permutations. A computational report must state the search scope, whether it was exhaustive, whether an optimum was found, and whether any branches remain unfinished.

    8. Ready-to-Use Prompt Templates

    8.1 Formalization Prompt

    Please do not solve immediately. First turn the problem into a rigorous mathematical model, listing variables, constraints, the optimization objective, and boundary conditions. List missing information separately; do not fill in dimensions or conclusions on your own. Finally, state which tasks must be completed to prove the optimal value.

    8.2 Construction-Exploration Prompt

    Please explore only upper-bound constructions and do not claim optimality. Each candidate must give the hole positions, rectangle coordinates, the count calculation, and verification of non-overlap and complete covering. Mark any configuration you cannot verify as a conjecture and point out the gap.

    8.3 Lower-Bound-Exploration Prompt

    Please independently study a lower bound that applies to any valid layout. Prioritize witness sets that cannot be covered by the same rectangle. If you use an auxiliary theorem, make the object mapping, premise checks, and derivation steps explicit; do not skip the proof by citing only the theorem’s name.

    8.4 Counterexample-Checking Prompt

    Please try to refute the current argument rather than polish it. Check hidden assumptions, boundary cases, and quantifier scope one by one. For conclusions not yet proved, try to construct a small-scale counterexample; not finding a counterexample does not mean the conclusion holds.

    8.5 Final-Writeup Prompt

    Please organize the final answer using only proved conclusions. Write the construction, covering verification, lower bound, and optimality conclusion separately and clearly. If the upper and lower bounds do not yet match, keep the gap and do not generate a proof that looks complete but is missing key steps.

    The purpose of these prompts is to define task boundaries and acceptance criteria, not to guarantee that the model will succeed.

    9. Implications for Development Practice

    This method applies equally to algorithm design, system architecture, and troubleshooting.

    In algorithm design, handle feasibility, complexity, and optimality separately first; in architecture design, formalize requirements and constraints before evaluating options; in troubleshooting, separate log facts, cause hypotheses, and verification results, and avoid writing correlation as causation.

    For a team, five kinds of assets can be accumulated: problem definitions, candidate solutions, verification records, failure paths, and final conclusions. When evaluating collaboration effectiveness, do not look only at whether answers are fluent; focus on the ability to find counterexamples, the coverage of verification, proof gaps, and human effort.

    Breakthroughs in hard reasoning often come not from a cleverer single instruction but from better process control. Let the model propose possibilities, let verification mechanisms eliminate errors, and let the human take charge of direction and final responsibility — that is the key to turning generative capability into reliable technical results.