Confused woman surrounded by floating math formulas, the meme for not understanding a proof

The proof is correct, and nobody can explain it yet

An AI-assisted proof of the Riemann hypothesis has been checked by machines, yet nobody can explain why it works. As AI writes more of our code, designs and plans, software faces the same question: who still understands what the system is for?

On 20 November, Levent Alpöge, a mathematician at Anthropic, posted a short note on his website. Working with Claude, he wrote, he believed he had found a proof of the Riemann hypothesis, the question about the distribution of prime numbers that has been open since 1859.

The proof did not arrive as a paper. It arrived as 17 million lines of Lean*. A day later the Lean and Mathlib communities announced that several independent proof checkers had accepted it, and that they were fully confident both the statement and the proof are correct.

What nobody has yet is an explanation. Alpöge writes that Claude’s written version of the argument ran past 250,000 pages, far too much to publish, so he released only the code and still intends to understand the argument and write it up properly. Terence Tao called it an enormous Lean-only proof that will take time to digest. Maksym Radziwiłł of New York University went further: Lean checks that the symbols follow the rules, he said, but it leaves open the question mathematics is really about, which is why.

I have spent most of my career testing software, and this story felt uncomfortably familiar.

A proof without a why

A proof has two jobs. It establishes that something is true, and it shows why. For most mathematicians the second job carries the weight, because the why is what lets you build the next result, connect one field to another and teach the next generation.

A proof that only delivers the verdict closes the question while the field learns very little from it. That explains the response of the Association for Human Mathematics, which said the proof puts technical validity above accountability, clarity and understanding. It also explains why the Clay Mathematics Institute, which offers a million dollars for this problem, waits for a published proof and two years of acceptance by mathematicians before it pays out.

Software got there first

My first thought was that software is heading in the same direction. On reflection, much of it is already there. Every tester knows a system whose original developers left years ago, where certain logic survives because everyone agrees not to touch it.

Low-code looks like the exception, and in a way it is. A Pega decision table or a Mendix microflow is a model that a tester, and often the business, can read, so the understanding lives one level above the generated code. That only holds with governance. Large low-code applications become unreadable too, with thousands of rules or microflows nobody dares to change. Platform guardrails and static analysis of the models themselves, run on every change in the build pipeline, are what keep them readable. Without that kind of discipline, a low-code model drifts towards the same state as code nobody reads.

AI speeds all of this up, for code and low-code models alike. When code is generated faster than a team can read it, the parts of a landscape that nobody fully understands stop being a few old systems nobody dares to touch and start becoming the norm.

At first sight, that seems acceptable. A customer wants a claims process that works, and has little interest in whether someone on the team could walk them through the code. In mathematics understanding is the product. In software it is a means, so it looks as if software can tolerate more of it going missing.

However, understanding as a means becomes essential in three situations: when something breaks in production, when the system has to change, and when someone has to account for a decision the system made. In each of those moments you need exactly the why that the mathematicians are now missing.

Can’t the AI just explain it?

That was the first question I asked myself. If AI wrote the code, surely AI can explain the code. And it can, often very well. Point a model at a Pega case that rejected a loan application, and it will trace the flow and tell you that a rule rejects every application above 50,000 euro.

That tells you what the system does. In a production incident, the question on the table is usually whether it should do that, and the answer was never in the code. It sits with whoever decided how large applications should be handled, or with whoever forgot to decide. A model cannot read intent from code that never contained it.

The explanation also needs checking. In a 2025 study, Anthropic found that reasoning models often left out what actually drove their answers, and that models trained to exploit a shortcut sometimes wrote convincing arguments for why a wrong answer was right. If nobody on the team understands the system well enough to judge an explanation, it becomes one more output you have to trust, stacked on top of the code you were already trusting.

Then there is accountability. A client, an auditor or a regulator who asks why an application was rejected expects a person who can answer and stand behind that answer. Pointing at a model’s summary will not survive that conversation.

Someone still had to check the question

One part of the Riemann story deserves more attention than it has had. Before anyone could call the proof correct, two separate tools had to confirm that Alpöge’s theorem is exactly the Riemann hypothesis as Mathlib states it, a statement that experts in Lean and number theory had vetted beforehand. Lean guarantees that a proof proves its statement. Whether that statement is the one you meant is a question Lean cannot answer, and a subtly wrong formalisation would have produced a flawless proof of the wrong theorem.

In testing we call that check validation. Verification asks whether we built the thing right, and validation asks whether we built the right thing.

Mathematicians had an advantage here. Riemann wrote his hypothesis down precisely in 1859, and generations have studied that exact statement. Most software has nothing like it. Its intent is spread over user stories, meeting notes, assumptions and the memories of people who may have moved on. That is where the real gap sits, and generated code widens it, because fewer people read the code closely enough to notice when it drifts away from what was meant.

Where the understanding goes next

So are we heading towards software nobody understands? For the code itself, we are, unless we put real effort into keeping it readable. Either way, more of the understanding has to move to the intent: what the system is supposed to do, which decisions matter and what happens when it gets them wrong.

In practice that comes down to a few habits. Write the intent down in a form that can be tested before the code gets generated. In Pega that is increasingly the Blueprint design the business signs off before anything is built, in Mendix the Maia Plan with its user stories. Because both are generated by AI, that sign-off deserves the same scrutiny the mathematicians gave the Lean version of Riemann’s statement. The more code AI writes, the more these designs and plans become the real source of truth.

Include acceptance criteria in those designs and plans. They are something the business can read and a tester can test, so they connect the plan to what gets built. When a test fails, you know which agreed criterion the implementation broke. That traceability, from the code back to the design, matters more now that AI keeps changing both the design and the implementation. A test on an agreed criterion fails the moment the implementation moves away from what was agreed, so every change to that agreement becomes a decision someone takes on purpose.

Read the code with a purpose. Going through thousands of generated lines one by one is a race you will lose, so spend that effort on the structure and the critical paths: where the decisions are made, which data they use and what happens at the edges. Then check whether the rules you find there match what the business wants. That is work a team can do well, and it catches the expensive mistakes.

Put static analysis between the AI and the codebase. When quality and security checks run the moment an AI assistant writes something, it can correct its own output before a person ever reviews it. Guardrails like these keep generated code readable, and readable code is what makes the rest of this work possible.

For every decision that matters to a customer or a regulator, make sure someone can answer the question whether the system should do this, and can point to where in the system it happens. That takes a solid grasp of the purpose behind the decision, the risk if it goes wrong and the logic that carries it out.

And when an AI explains why something happened, treat that explanation as a hypothesis. It tells you where to look, and a test tells you whether it holds.

None of this will sound new to testers. Validation, risk-based thinking and knowing what a system is for have always been the core of the job. What changes is how much rests on that work once the code stops being readable. Mathematicians may live for a while with a theorem they trust and cannot yet explain. We have to keep changing our systems and answering for them, so we do not get that luxury.

That is where I see the testing profession heading. As AI takes over writing the code, testing becomes the validation of the whole: what the system is for, what it actually does and enough of the code to know why it does it. Someone has to hold those three together and be able to answer for them. No proof checker will do that part for us.

If the 1,500 words didn’t land, maybe the chorus will.

* Lean is a programming language and proof assistant. Mathematicians write definitions, theorems and proofs in it as code, and a small trusted core, the kernel, checks every logical step. When the code compiles without errors, the proof is correct for the statement as written down. Whether that statement captures what was meant is left to the people who read it. Read more at lean-lang.org.

Sources

Bas van Opstal

Bas van Opstal

Bas is one of the Founders of Anamata. He shares his thoughts and experiences in the Anamata stories. Bas has a strong technical background in low-code. Bas is Pega CSSA certified, is co-author of the Pega DevOps & Testing training and holds a Mendix advanced certification. Bas has experience as a Developer, BA, Tester, Scrum master and Team lead.