Zaz Brown

LLM clarity scales with compute

Zaz Brown · 21 November 2026

Conventional wisdom holds that even if LLMs can solve long-standing open math problems or write complex software, their write-ups are incomprehensible and their code unmaintainable, with Terence Tao likening AI-written proofs to “toxic waste”. I argue that using modern models (particularly Astra) and enough compute, it is possible to get LLMs to write clearly and expertly, and to produce clean code, with minimal steering. This is easy to underestimate because reaching this level often requires many iterations and the first several often yield little improvement:

Download SVG Download WebP Download PNG

The above example comes from using Fable and Astra to simplify my solution to the 75-year-open Affine Plank Conjecture for three planks on a triangle. Fable's first complete formal proof was enormous, but repeated simplification reduced the proof from 66,697 lines of code to 566. This animation shows the source code shrinking as estimated spending increases:

Download WebP Download WebP (< 5 MB) Download GIF Download GIF (< 5 MB)

The large drops correspond to completed replacement arguments; work on a new route can accumulate for a while before it yields a shorter complete proof.

Even after Astra had produced a beautiful 3-page geometric argument backed by the Lean 4 formalization above, I assumed that LLMs cannot match a human at exposition, so I was determined to find a better proof. But, after spending weeks trying, I came to the conclusion that Astra's proof is hard to beat. If anyone can come up with a simpler proof, please email me.

The Bitter Lesson of LLM Usage

The bitter lesson, Rich Sutton's 2019 summary of seventy years of AI research, is that general methods which scale with compute eventually beat methods built on human cleverness. He added:

As a field, we still have not thoroughly learned it, as we are continuing to make the same kind of mistakes.

By 2026, the field has largely learned this lesson about training models. I suggest there is a similar lesson about using them, and that we are making the same kind of mistake: judging an LLM by what it produces cheaply and under close human direction. Give it enough compute, enough code to find patterns in, and a way of checking that the code is correct (e.g. a formal specification or a rigorous test suite), and it can find elegant abstractions on its own.

I spoke with a team that tried creating a huge software project with an LLM, and here's how it played out: They asked a previous-generation LLM to build a small vertical slice of the software. The generated code came back verbose, with none of the abstractions that they would need to cleanly generalize beyond that vertical slice, so they concluded that LLMs were not yet ready to autonomously code projects of this scale.

In reality, large-scale software projects are where LLMs have the most advantage if used correctly. The problem was the lack of compute and scale. They had spent just some tens of dollars — orders of magnitude less than you'd pay a professional to do it — and the LLM implemented the simplest solution to the narrow task it was given (YAGNI). An abstraction needs something to abstract over, and a single slice doesn't provide it.

Instead, if you first implement the entire project as a huge vat of AI slop and then pay a modern frontier LLM a living wage, it will find the abstractions that simplify the code — "cooking" the AI slop into AI sauce. The Affine Plank example above shows this in action for a Lean proof that is boiled down to something 100 times smaller, and I provide an example for a software project below.

The October Revolution

There have been mixed responses to OpenAI's October 6th proof dump, with Henry Wilton saying that the write-ups “vary wildly in quality”, and many being called “unreadable slop”. I expect this is simply because not a lot of compute has been spent simplifying most of those proofs. As a case study, I took a single proof from their dump — their counterexample to the Affine Cylinder Conjecture (closely related to the Affine Plank Conjecture above) — and attempted to simplify it.

The Affine Cylinder Conjecture states that if cylinders (prisms) cover a convex body, their relative areas add up to at least 1/2. The conjecture and OpenAI's counterexample are explained properly in a separate post. OpenAI's counterexample had 16,000,000 triangular cylinders, making it infeasible to visualize. But with only $5 in spend, Astra was able to simplify it, generating a counterexample using just four cylinders:

Four translucent triangular cylinders pass through a translucent tetrahedron, with the tetrahedron's edges outlined.

Drag to rotate · Pinch or use + / − to zoom · Arrow keys also rotate

Triangular cylinders pass through a tetrahedron. Each cylinder extends infinitely in both directions, but their ends are cut off for display.

The four-cylinder construction above has a total relative area of 0.497, disproving the conjecture. The six-cylinder alternative gives an even lower relative area of 0.483, which is a big enough difference from 1/2 to be checkable with a ruler if you were to 3d print it. Note that OpenAI's counterexample has some stronger properties than ours.

Software

The bitter lesson is not limited to mathematical proofs. The examples below use Vericoding in Lean — where you write a specification and an LLM generates an implementation and a proof that it meets your specification — but the same could be achieved in any language by using property-based testing, rigorous test suites, thorough fuzzing, differential testing, or other techniques of ensuring the correctness of the code.

My software example is srtfp, which prints a floating-point number as the shortest decimal that reads back as the same number. Doing this efficiently is an active area of research involving notoriously fiddly algorithms, so instead of handling those details myself, I wrote a 50-line specification of what the program should do, and left the implementation details to Claude. It generated about 4,000 lines of code and 22,000 lines proving the code met my specification. Half of that was performance optimizations that made the implementation 2–83–10 times faster than Python's:

0 200 400 600 800 1,000 1,200 45 58 124 96 298 nice 52 59 146 110 1,123 uniform 48 98 222 90 492 adversarial C++ Java Lean (this work) CPython ns / call Lines of code 26,702 7,541

A cool advantage of Vericoding is that because you are only specifying what the software does, not how, the implementation can be automatically upgraded as more powerful AI models come out. As you can see above, when Astra came out and I spent more compute, it drastically simplified the code and made it more efficient. I expect that once we have verified compilation from Lean to C or assembly, we will be able to automatically upgrade srtfp to beat the state of the art in speed. And verified compilation will likely come much sooner than previously thought because of how much LLMs are turbocharging formal methods work.

While I was working on srtfp, Kim Morrison was using the same technique to create a Lean zip library that is faster than Rust's. Their implementation was 11,000 lines of code and 43,000 lines of proof, but there has been no published attempt to simplify it with Astra and a lot of compute.

Takeaway

All of this uses off-the-shelf tools and only required a way to verify the final code, a large first draft to work on, and a willingness to keep paying after the first few rounds seemed to go nowhere. The key lesson is that if an LLM's output looks like slop, it could be that it is undercooked.

See also

Every time I fire a linguist, the performance of the speech recognizer goes up.

FAQ

How were the spending and line counts measured?

Spending is estimated from the percentage of a $200-a-month plan's allowance that the simplification used, counted from the first complete proof and including failed attempts.

Line counts are of nonblank, noncomment lines of Lean in the project's own source, leaving out tests and benchmarks.

What are the three corpora in the float-printing plot?

The three input distributions probe different regimes. Nice mirrors a typical JSON or API payload: 45% small integers, 20% two-decimal (currency-style) values, 10% latitude/longitude coordinates, 10% epoch-second timestamps, and 15% full-precision scientific values. Uniform draws random finite doubles. Adversarial is a stress set: a superset of the finite values from Ryū's test suite.




All m-dashes are my own.