What Can Large Language Models Do? From Mathematical Reasoning to Software Engineering

    Large language models can help clarify research questions, explore proof strategies, diagnose software defects, and organize engineering work. This article examines those capabilities through mathematical reasoning and practical software scenarios, explaining how independent review, testing, evidence, and operational safeguards turn model-generated proposals into verifiable deliverables.

    1. Ask What the Model Can Deliver, Not Just How Powerful It Is

    Discussions of large language models often focus on parameter counts, benchmark scores, and rankings. Developers and businesses usually care about a different set of questions: Can a model turn a vague requirement into an actionable plan? Can it uncover subtle code defects? Can it help researchers explore new lines of reasoning? Are its results reliable, and can failures be traced?

    A more useful way to assess LLM capabilities is to look at concrete deliverables, such as:

    • Turning scattered materials into a well-defined research question with explicit assumptions.
    • Producing a proof draft that can be checked step by step.
    • Providing a minimal reproduction, proposed fix, and regression tests for a defect.
    • Organizing failure hypotheses from logs and code, with clear next steps for validation.
    • Converting complex business rules into documentation with explicit boundaries, exceptions, and supporting evidence.

    The source material describes an appealing research workflow: a model starts with clues in mathematical notes, attempts to construct a simpler proof, and passes the result to other models for step-by-step checking and independent review. However, it does not provide a verifiable paper, complete proof, or review record. It therefore cannot establish that a major mathematical result has been proved or that a model independently achieved a breakthrough.

    The useful lesson is the workflow itself: formulate questions from clues, explore multiple approaches, and submit candidate conclusions to independent verification. That is more practical than promoting an unverified claim about what a model has “solved.”

    2. Mathematical Research: Turning a Vague Hint into a Checkable Problem

    Define the Missing Assumptions First

    A brief remark in research notes can leave many assumptions unstated. Human experts may infer them from context, but a model that immediately starts proving something can produce an apparently complete argument for an inadequately specified claim.

    Consider counting solutions to equations over finite fields. The question may sound as simple as “How many solutions does this equation have?” Before meaningful work begins, however, several details must be clarified:

    • Over which finite field is the equation defined?
    • Does the problem concern a single equation or a family of geometric objects?
    • Are conditions such as smoothness or projectivity required?
    • Is the goal a rough estimate or a bound on eigenvalues in a particular cohomology group?
    • Which foundational theorems may be used, and which results must be proved from scratch?

    The model’s value here is not necessarily in finding an immediate answer. It can act as a problem-specification assistant: listing definitions, flagging missing assumptions, breaking down objectives, and identifying ambiguous statements.

    This closely resembles requirements clarification in software development. If the requirements remain unclear, a more elaborate implementation may only increase the cost of rework.

    Look for Structure, Not Just Longer Derivations

    A common approach to counting solutions over finite fields uses the orthogonality of additive characters to express the condition that an expression equals zero as a sum.

    Let (F_q) be a finite field with (q) elements. For a nontrivial additive character (\psi),

    [
    \mathbf{1}{u=0}
    =\frac{1}{q}\sum
    {t\in F_q}\psi(tu).
    ]

    The number of solutions to a multivariable equation (f(x)=0) can therefore be written as

    [
    N=\frac{1}{q}\sum{t\in F_q}\sum{x\in F_q^n}\psi(tf(x)).
    ]

    The contribution from (t=0) is straightforward to compute. The remaining terms form oscillatory sums that require estimation.

    This transformation turns a geometric counting problem into one that can be studied using summation identities and inequalities. A model can explore different groupings of variables, changes in summation order, or auxiliary constructions. It can also help check whether a particular step genuinely simplifies the problem.

    But a useful reformulation is not a completed proof. Obtaining a character-sum expression does not automatically yield the desired square-root-scale bound. Repeated applications of mean-square identities or the Cauchy–Schwarz inequality cannot guarantee the target bound without the necessary structural assumptions.

    Every “therefore” in a model-generated argument should identify the assumptions on which it depends.

    Scrutinize the Bridges Between Claims

    In a complex proof, the most dangerous steps are often not calculations but transitions from one kind of conclusion to another.

    For example, a small absolute value of a sum does not imply that every individual term is small: terms may cancel. To obtain term-by-term control from an aggregate estimate, the argument must establish additional structure that rules out cancellation or provides other sufficiently strong constraints.

    For a proof that moves from a counting-error estimate to bounds on individual eigenvalues, reviewers should ask:

    • Is the relationship between the error term and the target eigenvalues exact?
    • Are contributions from other cohomological degrees left untreated?
    • Which objects actually satisfy the claimed sign or positivity conditions?
    • Must the conclusion hold over every finite extension?
    • Does a cited auxiliary theorem implicitly assume the result being proved?

    LLMs can help locate these gaps, but fluent explanations are no substitute for rigorous arguments. The shorter and more elegant a proof appears, the more carefully reviewers should check whether decisive assumptions have been omitted.

    3. Multi-Model Collaboration: Review Design Matters More Than Model Count

    The workflow described in the source material can be summarized as “formulate the problem, construct an answer, check each step, and conduct an independent review.” This is useful, but it should not be interpreted as “several models agree, so the conclusion is reliable.”

    Planning: Establish the Task Boundaries

    First, ask the model to organize the inputs, target conclusion, permitted knowledge, and acceptance criteria. The output should be a task specification rather than an immediate final answer.

    For a mathematical problem, this specification should state the proposition and its assumptions. For an engineering task, it should define the runtime environment, behavioral constraints, compatibility requirements, and components that must not change.

    Exploration: Preserve Alternative Approaches

    Ask the model to propose several candidate approaches and explain, for each:

    • The central idea.
    • The hardest step.
    • The facts it depends on.
    • The conditions under which it would fail.

    This reduces the risk of investing heavily in an approach that lacks essential assumptions from the outset. Conjectures are acceptable during exploration, but they must be recorded separately from established facts.

    Review: Actively Search for Counterexamples and Gaps

    A review instruction should do more than say “check whether this answer is correct.” More effective instructions ask the reviewer to find the weakest step, attempt a counterexample, examine boundary conditions, and verify that cited results actually support the conclusion.

    A reviewer who sees a complete success narrative from the beginning may simply elaborate on the proposed argument. For a more independent review, provide only the original problem, assumptions, and target conclusion first. Let the reviewer develop an argument before comparing it with the candidate answer.

    Even then, withholding the earlier conversation does not guarantee statistical independence. Different models may share similar knowledge and failure patterns. Multi-model collaboration can increase the chance of finding errors, but it cannot replace external evidence.

    Acceptance: Finish with Checkable Results

    Mathematical conclusions require expert review. If formal verification is used, reviewers must also check that the formal statement accurately represents the original problem and that its axioms and supporting libraries meet the requirements.

    Software changes should pass tests, static checks, and runtime validation. Complex systems also require checks of post-deployment behavior and rollback capability.

    The reliable division of responsibility is simple: models propose candidate solutions; evidence determines whether those solutions can be accepted.

    4. Engineering Scenario: Fixing Intermittent Duplicate Submissions

    Suppose a business API occasionally creates duplicate records. The report is vague: “It usually works, but duplicates sometimes appear when the network is poor.”

    Asking a model to “fix the code” immediately may produce superficial suggestions, such as adding retries or increasing timeouts. Those changes could even make duplicate submissions more frequent.

    A better workflow starts by collecting evidence:

    • Does the client retry automatically?
    • Can the server transaction still commit after the request times out?
    • Can multiple instances process the same business request concurrently?
    • Is there a stable identifier for each business request?
    • Does the data layer enforce a corresponding uniqueness constraint?
    • Can messages be delivered more than once?

    Using this information, the model can build a tree of failure hypotheses. One possibility is that the first request completed its write, but the response was lost; the client then retried and triggered another write.

    The model can then help design idempotent handling: use a stable request identifier, enforce uniqueness in persistent storage, and define whether duplicate requests return an existing result or an in-progress status.

    Acceptance should depend on behavior, not on whether the code looks reasonable:

    • Do concurrent copies of the same request produce only one effective write?
    • If the write succeeds but the response fails, does a retry return a consistent result?
    • Are distinct business requests incorrectly treated as duplicates?
    • After a processing failure, is an appropriate retry still possible?

    The model’s contribution is to shorten diagnosis and organize the solution. It does not replace transaction semantics, concurrency control, or testing.

    5. Engineering Scenario: Understanding and Safely Modifying Legacy Code

    In legacy-system maintenance, the hardest work is often not writing code but understanding why existing logic is there.

    A model can help map call relationships, explain branches, identify duplicated logic, and suggest refactoring. But it cannot reliably infer a system’s implicit contracts from a single function.

    A safer approach establishes a behavioral baseline first:

    1. Collect representative, boundary, and exceptional inputs.
    2. Record current outputs, error behavior, and external side effects.
    3. Capture important behavior in tests.
    4. Make narrowly scoped changes.
    5. Compare observable results before and after the change.

    An apparently redundant null check may exist to accommodate historical data. An unusual return code may serve as a business signal for a downstream system. A model focused only on cleaner code could remove these implicit agreements.

    Require the model to explain the scope of each proposed change and distinguish behavior-preserving refactoring from business-behavior changes. Changes whose behavioral equivalence cannot be established should go through human review rather than automatic merging.

    6. Engineering Scenario: Turning Incident Diagnosis into an Actionable Investigation

    LLMs can help extract timelines from large log collections, correlate abnormal patterns, and summarize possible causes. But the order of events in logs does not establish causation.

    For example, a rising error rate alongside an increasing connection count could indicate a connection leak. It could also reflect queued requests holding connections longer, or a chain reaction caused by a slow downstream service.

    A useful model-generated diagnosis should separate three categories:

    • Observed facts: What the logs and monitoring actually show.
    • Candidate explanations: Mechanisms that could produce those observations.
    • Validation actions: Metrics to inspect or read-only checks to perform to distinguish between explanations.

    This is more valuable than immediately declaring that the root cause has been found. It turns troubleshooting from an informed guess into an evidence-driven investigation.

    In production, diagnostic suggestions alone should not authorize high-risk actions. Deleting data, changing access permissions, modifying critical configuration, or restarting core services should require explicit human approval and defined rollback conditions.

    7. Enterprise Adoption: Build Trust Through Small, Verifiable Tasks

    Good initial tasks for LLMs tend to share three characteristics: relatively complete inputs, outputs that are easy to check, and a manageable cost of failure.

    Examples include organizing API documentation, drafting tests, explaining local code, summarizing sanitized logs, and listing design risks. These tasks can provide direct value without giving the model control over production decisions.

    Organizations also need supporting safeguards.

    Permission isolation. Give the model only the information and operational permissions needed for the task. Manage read and write permissions separately.

    Data governance. Check inputs for secrets, personal information, and sensitive business fields. Convenience should not justify exposing unnecessary data.

    Evidence retention. Record input materials, candidate solutions, validation results, and human approvals so that final conclusions remain traceable.

    Error classification. Distinguish factual errors, reasoning errors, missing assumptions, and execution errors. Different failure types require different remedies.

    Explicit stop conditions. If essential information is missing, verification cannot be completed, or a conclusion depends on unconfirmed assumptions, the system should stop advancing automatically rather than generate increasingly persuasive text.

    8. The Real Measure of Value: Is the Work More Verifiable?

    The most promising capability of LLMs is not simply producing answers. It is helping people reorganize problems: extracting structure from scattered information, finding alternatives to established approaches, and locating weak points in candidate conclusions.

    Organizing mathematical clues, exploring proofs, and conducting independent review follow the same underlying pattern as clarifying requirements, fixing defects, and investigating incidents:

    Define the problem, propose a solution, look for counterexamples, gather evidence, and submit the result to verification.

    A meaningful case study should show more than an impressive outcome. It should explain what inputs the model received, which parts of the work it completed, where it made mistakes, and how the final result was confirmed.

    If a model makes a task clearer, experimentation more focused, and verification easier, it creates measurable value. If it merely makes an unverified conclusion sound more professional, polished writing alone does not make it a reliable technical deliverable.