by slopinthebag · 1mo ago · 0 comments
not saying it's not possible ai will continue to expand to more fields, but i don't think it's a coincidence that both math and programming are easily automatically verifiable. in fact for programming their effectiveness drops substantially once you remove any sort of testing or verification loop, and i imagine it doubly-so with math. try getting an agent to build something without any tests or verification, you'll see it go back to near-2024 levels. half of the work i do with agents is setting up a harness that can take and analyse screenshots, send direct input to the application, and compare results. this is something that should come standard with every harness.
if we can build automatic verification for more fields is a different and perhaps more relevant question.
If that is true, then only because "most people" have no understanding of what differentiates programming and math from "computation". Computers (as the term suggests) have always been extremely good at the latter, and useless at the former. It's only 2–3 years ago that computers, by way of LLMs, have started being good at the former.
If the same agent writes the tests and the code, it will happily weaken an assertion, add a skip, or special-case the fixture to get to green. I keep test files read-only for the implementing agent, or have a separate pass write tests from the spec before any code exists.
Mutation testing is a cheap check on whether your tests constrain anything at all. If you can flip a comparison and the suite still passes, the agent's "all tests pass" means very little.
Property-based tests and differential checks (compare against a reference implementation or the old version) hold up much better than example-based tests the model can pattern-match against.
On the screenshot harness: pixel diffs get noisy fast. What worked better for me was dumping the accessibility tree or DOM state alongside the screenshot and asserting on that, with the image as a secondary signal for the model. Fixed viewport, fonts and animation disabled cut flakiness a lot.
Also, verification only covers what you thought to check. Veracode's 2026 update on LLM-generated code had syntax pass rates above 95%, but only about 55% of tasks produced secure code. "It compiles and the tests pass" was true, and the security property just wasn't in the loop. Math has an edge here: a Lean proof that checks really is a proof of the stated theorem, so the remaining risk sits in formalizing the statement. Programming has no equivalent unless you specify everything.
On your last question, I suspect many fields will get partial verifiers (simulators, unit checks on physical quantities, citation checks, reproducible pipelines) rather than a full oracle. Then the human work moves to deciding what the verifier misses, which is roughly what code review is turning into already.