The most useful signal in AI was always the one thing it refused to learn from.
On May 20, 2026, OpenAI published an unusual sort of blog post. There was no new product, no new benchmark crown, no chart with capability curves bending upward. Instead, the company announced that one of its internal reasoning models had disproved a conjecture by the mathematician Paul Erdős that had stood for eighty years. The model had not proved anything elegant about the universe. It had constructed a counterexample.
The problem, posed in 1946, asks how many pairs of points in the plane can sit exactly one unit apart. Erdős gave a bound based on tilted square grids and a sliver of intuition about Gaussian integers, then conjectured that nobody could meaningfully do better. For decades, the few who looked for a counterexample came back empty. The OpenAI model came back with an infinite family of point configurations that, on a large enough scale, beat the grid by a polynomial factor.
Nine mathematicians, spread across Princeton, Toronto, Harvard, Cambridge, Manchester, and Academia Sinica, wrote a 19-page companion paper digesting and verifying the construction. One of them, a number theorist at the University of Toronto, examined the model's chain of thought and noticed something worth lingering on. "It is noteworthy," he wrote, "that a significant majority of the thoughts are trying to construct a counterexample to the widely believed upper bound, rather than trying to prove it." The model, he added, displayed "a predisposition to attempt constructions."
That predisposition is rare in modern AI. For most of the past fifteen years, the dominant culture of artificial intelligence has trained its systems on positive examples. This is a cat. That is a translation. Here is a coherent paragraph. The scaling laws that drove the deep learning boom were laws about more positives. More tokens, more images, more demonstrations. Counterexamples, when they appeared, tended to show up as nuisances — an adversarial perturbation that fools a classifier, a jailbreak that breaks a safety guardrail, a hallucinated citation. They were treated as bugs to be patched, not as the primary signal from which intelligence might be assembled.
Yet across an older, parallel tradition in computer science, counterexamples have been the central object of study for half a century. The story of how that tradition is now quietly returning to the heart of AI, particularly to the increasingly important field of neurosymbolic systems, may be the most consequential thing happening in the field that nobody is talking about.
A counterexample is not just a wrong answer. It is a specific object that falsifies a precise claim, and that specificity is what makes it powerful. If you tell a learning system "this image is a dog," you have communicated a label. If you tell the learner "you predicted this image is a dog, but here is a slightly altered version, indistinguishable to a human, that you classify as an ostrich," you have communicated something much closer to a theorem about the system's failure. In the language of information theory, you have provided a witness, a single point that rules out vast regions of possible explanations at once.
The deep tradition begins at Carnegie Mellon University around the year 2000, in a technical report cataloged simply as CMU-CS-00-103. A group at CMU led by the late computer scientist who would later share the 2007 Turing Award for his work on model checking introduced a technique called Counterexample-Guided Abstraction Refinement, or CEGAR. The setting was the verification of hardware and software systems whose state spaces are astronomically large. The trick was elegant: start with a coarse cartoon of the system, check whether the cartoon satisfies the property you want, and if a violation appears, examine the counterexample trace it produces. If the trace corresponds to a real bug, you have found one. If not, the spurious trace itself tells you exactly where your cartoon was too crude, and how to refine it. The loop terminates either with a genuine bug or with a model proven correct.
CEGAR did not stay in academia. Variants found their way into Microsoft's Static Driver Verifier, into Intel's chip verification flows, into NASA tools for aviation software. A nearly identical motif lives inside every modern SAT solver, the workhorse algorithms that determine whether a logical formula can be made true. SAT solvers descend from a system called GRASP, developed in 1995 at the University of Michigan. Their core trick is to do something more interesting than retreat when they hit a contradiction. They analyze the conflict, extract a learned clause that captures the essence of the failure, and add it to their growing database so the same shape of mistake cannot recur. A SAT solver, in a precise sense, is a counterexample-driven learning machine that happens to predate deep learning by two decades.
The same logic surfaces in program synthesis. In a 2008 doctoral thesis at UC Berkeley, written by a researcher who would later become a faculty member at MIT, the Sketching system introduced what its author called Counterexample-Guided Inductive Synthesis, since canonized as CEGIS. An inductive synthesizer proposes a candidate program. A verifier tries to find an input on which the candidate violates the specification. If it succeeds, that input is added to the synthesizer's training set. The cycle continues. The startling empirical fact is that for most program sketches a remarkably small set of well-chosen counterexamples fully constrains the solution. The same cast of mind animates TLA+, the specification language widely adopted at Amazon Web Services and Microsoft for verifying distributed systems. In all of these cases, you do not learn a function by averaging over examples. You hypothesize a structure, ask an oracle whether it works, and let the oracle hand you a single object that explains why it does not.
The first big visitation of counterexamples to deep learning was not invited. In late 2013, a team of researchers at Google posted a paper titled "Intriguing Properties of Neural Networks." It showed that state-of-the-art image classifiers could be fooled by perturbations imperceptible to humans. A year later, a follow-up paper argued that these adversarial examples were not bizarre edge cases but a structural consequence of how neural networks behave in high-dimensional space.
The discovery launched an entire subfield. By 2018, a group at MIT had formalized adversarial robustness as a mathematical game. Minimize the loss over the model's parameters while maximizing it over perturbations of the input. Solving the inner maximization, even approximately, means producing counterexamples to the current model's claim of correctness, and then training on them. Adversarial training, in this formulation, is just CEGIS for image classifiers. Stochastic gradient descent plays the role of the inductive synthesizer. Projected gradient ascent plays the role of the verifier. The same architectural motif from formal methods, the one that had been polishing chip designs for a decade, had been independently rediscovered by the deep learning community when they noticed their networks were broken in strange ways.
A parallel current ran through representation learning. The contrastive learning techniques that powered self-supervised vision systems at Facebook AI Research and Google Research depend not on positive pairs alone but on contrasts with negatives. A recurring lesson across SimCLR, MoCo, and their descendants is that random negatives waste capacity. Hard negative mining, the practice of seeking out negatives that the current model finds most confusing, dramatically improves accuracy. Researchers at MIT and elsewhere showed absolute gains of as much as 7.3 percent on the STL10 benchmark and 3.6 percent on tinyImageNet, simply by sharpening the choice of what to contrast against. The hard negative is, structurally, a counterexample: a specific witness that the model's current geometry is wrong in a particular direction.
For a long time, these threads stayed segregated by culture. The formal methods community kept building counterexample machines at venues like CAV and POPL. The deep learning community kept scaling at NeurIPS and ICML. Around 2023 something began to shift.
The neurosymbolic systems now drawing the most attention have absorbed the counterexample as a core protocol. Consider the verification of neural networks themselves. As neural systems began to be deployed in aircraft collision avoidance and medical devices, the question of whether they actually satisfied formal safety properties became real. A tool called Marabou, developed at Stanford and supported by the Stanford Center for AI Safety, DARPA, and the FAA, treats a network as a constraint system and uses search techniques to either prove the network respects a specification or return a concrete counterexample input that violates it. A related tool, alpha-beta-CROWN, built by researchers at CMU, UCLA, Columbia, and Northeastern, won the 2023 International Verification of Neural Networks Competition by combining cheap bound propagation with branch-and-bound search disciplined by counterexamples. The proof or the witness: those are the only two possible outputs, and the witness is the actively useful one when something is wrong.
DeepMind's AlphaGeometry, published in Nature in January 2024, pairs a transformer language model with a symbolic deduction engine. The language model proposes auxiliary constructions in a geometry problem. The deduction engine grinds through their consequences. The loop continues until a proof closes. AlphaProof, unveiled in July 2024, extended the idea to general mathematics by translating natural-language problems into Lean, the formal proof language originally developed at Microsoft Research. According to DeepMind's own description, the system "proved or disproved millions of problems" during training. The explicit acknowledgement that producing a refutation is as informative as producing a proof is itself a cultural shift. Together with AlphaGeometry 2, AlphaProof solved four of the six problems at the 2024 International Mathematical Olympiad, scoring 28 points out of a possible 42, one point shy of the gold-medal threshold.
Perhaps the most striking demonstration of counterexamples as training signal is FunSearch, also from DeepMind, published in Nature in December 2023. FunSearch pairs a pretrained language model with an evolutionary loop and an automated evaluator. Applied to the cap set problem, a notorious question in extremal combinatorics, FunSearch produced a cap set of size 512 in eight-dimensional space, beating the previous best, and yielded the largest improvement in twenty years to the known asymptotic lower bound. The system did not learn from positive demonstrations. It learned from a verifier that could reject the vast majority of its proposals and elevate a tiny minority that resisted falsification. In November 2024, a collaboration involving Meta AI, the University of Sydney, the University of Wisconsin, and DeepMind released PatternBoost, which found a counterexample to a graph-theoretic conjecture that had been open for thirty years. The relevant data was a single graph — 81 edges arranged in a particular configuration — that no human had found in three decades of trying.
The OpenAI Erdős result sits at the leading edge of this trajectory, but in a more provocative position. Unlike AlphaProof or FunSearch, the model that produced it was, in OpenAI's own description, "a new general-purpose reasoning model, rather than a system trained specifically for mathematics, scaffolded to search through proof strategies, or targeted at the unit distance problem in particular." It received the problem in a single prompt and returned roughly 125 pages of reasoning. What is notable is not the result itself, impressive as it is, but the meta-observation in the companion paper. The model's chain of thought was overwhelmingly oriented toward construction, toward producing a witness, rather than toward proving the conjecture true. The model's own internal monologue reads at one point: "Maybe that enormous degree is not just an annoyance but a source of possible counterexamples. Number fields deserve a closer look." Somewhere in its post-training, the model had been taught to take counterexamples seriously as objects.
MID_ARTICLE_IMG at the top of the file with your image URL
The convergence is architectural as much as cultural. Systems like AlphaProof and FunSearch are built around a loop that formal methods engineers would recognize immediately: a neural component proposes, a symbolic component checks, and the counterexample travels between them.
That orientation is precisely what has been missing from much of the deep learning enterprise. In February 2025, researchers at Tsinghua University's Knowledge Engineering Group and collaborators released a benchmark called CounterMATH, containing 1,216 university-level mathematical statements hand-curated from textbooks that require the solver to determine truth by producing a counterexample where appropriate. Their finding was that contemporary large language models, including OpenAI's o1, exhibited limited performance in determining whether a statement in CounterMATH is true or false. The models had been trained on so many positive proof patterns that they tended to attempt proofs of false statements rather than seeking refutations. A fine-tuned variant on only 1,025 counterexample-style training samples showed significant improvements on both CounterMATH and out-of-distribution benchmarks. The missing capability was not a matter of raw scale. It was a matter of training diet.
That diagnosis lines up with a broader cultural critique. Empirical benchmarking has become the dominant epistemic mode of the field, with positive-example datasets like ImageNet supplying the structuring force. Performance on a held-out set, sampled from the same distribution as training, has functioned as the gold standard for progress. The architecture of evaluation has been built around correctness on average rather than robustness against adversaries or coverage of edge cases. When counterexamples appear in this culture, they appear as a separate concern — usually under the heading of safety or robustness — rather than as a primary signal feeding back into training.
There are technical reasons for the gap. Counterexamples require an oracle, something that can reliably distinguish a true witness from a noisy reject. In mathematics and formal verification you have such oracles for free. In open-ended natural language tasks the oracle is itself uncertain, which is part of why reinforcement learning from human feedback dominated the post-training era. There are institutional reasons too. A researcher trained on adversarial training in vision and a researcher trained on CEGIS for controllers can attend conferences for years without crossing paths. And there are historical accidents. The deep learning revolution arrived through perception, where positive examples are plentiful and ground truth is operationally cheap. By the time large language models began to require something closer to reasoning rather than perception, the field had already absorbed scaling as its central ideology.
Pieces of the fix are scattered across labs. At Microsoft Research, the Z3 SMT solver has been quietly woven into program synthesis pipelines that combine large language models with verification. At the MIT-IBM Watson AI Lab, work on neuro-symbolic concept learners emphasizes structured feedback from symbolic components to retrain neural ones. At DeepMind, the AlphaProof team's deliberate training on disproved problems alongside proved ones reflects a recognition that a refutation is not a lesser form of knowledge but an equal one. At Anthropic, the Frontier Red Team, a group of roughly 15 researchers tasked with stress-testing the company's frontier models, has built a continuous internal practice of producing adversarial scenarios across biosecurity, cybersecurity, and autonomous-agent domains. Each successful attack is treated as a counterexample that surfaces a structural failure, then fed back into safety training rather than hidden as an embarrassment.
If there is a single change that should follow from taking this view seriously, it is a rebalancing of how AI systems are evaluated. The current culture rewards models that perform well on a fixed test set sampled in the same way as training. A counterexample-oriented culture would also reward models that, given an open conjecture or an underspecified policy, produce witnesses that surface its hidden assumptions. It would treat the production of a good counterexample as a first-class output, recordable in benchmarks, comparable across systems, citable in papers. CounterMATH is one early example. The VNN-COMP competitions for neural network verification, now in their fourth iteration, are another. Neither is yet at the cultural center of the field.
The Erdős result, in this light, looks less like a one-off curiosity and more like a signal. When a general-purpose model trained mostly on text spends most of its reasoning budget trying to construct a counterexample to a famous conjecture, and succeeds, it suggests that the disposition can be learned. It is no longer a property only of symbolic engines. It is something that scaling, plus the right kind of training signal, can instill in a network.
A useful way to summarize the argument is to imagine a thought experiment that has been running, implicitly, since the early days of the deep learning revolution. Two AI cultures share a building. On one floor, engineers add more cats, more sentences, more demonstrations to a pile, and watch a curve bend. On another floor, engineers stare at a single counterexample, derive its implications, and refine a system that will never make that particular mistake again. For most of the last fifteen years, the floors barely spoke. The first floor became famous. The second floor built the infrastructure that runs every modern microprocessor, every safety-critical control system, and most of the proofs that current AI systems are eventually going to be measured against. The interesting question for the next decade is not which floor wins. It is what happens when an elevator finally connects them, and counterexamples, the data structure that the second floor has always taken seriously, start traveling routinely to the first.
Key references: Clarke, E. et al., "Counterexample-Guided Abstraction Refinement," CMU-CS-00-103, Carnegie Mellon University, 2000. Solar-Lezama, A., "Program Synthesis by Sketching," PhD thesis, UC Berkeley, 2008. Szegedy, C. et al., "Intriguing Properties of Neural Networks," arXiv:1312.6199, Google, 2013. Goodfellow, I. et al., "Explaining and Harnessing Adversarial Examples," arXiv:1412.6572, Google, 2014. Madry, A. et al., "Towards Deep Learning Models Resistant to Adversarial Attacks," MIT, 2018. Wu, H. et al., "Marabou 2.0: A Versatile Formal Analyzer of Neural Networks," arXiv:2401.14461, Stanford / DARPA / FAA, 2024. Trinh, T. et al., "Solving Olympiad Geometry without Human Demonstrations," Nature, January 2024 (AlphaGeometry, Google DeepMind). Romera-Paredes, B. et al., "Mathematical Discoveries from Program Search with Large Language Models," Nature, December 2023 (FunSearch, Google DeepMind). AlphaProof and AlphaGeometry 2, Google DeepMind, July 2024. PatternBoost, Meta AI / University of Sydney / University of Wisconsin / DeepMind, arXiv:2411.00566, November 2024. OpenAI, "An OpenAI model has disproved a central conjecture in discrete geometry," openai.com, May 2026. "Remarks on the disproof of the unit distance conjecture," arXiv:2605.20695, Princeton / Toronto / Harvard / Cambridge / Manchester / Academia Sinica, 2026. Zhang, Z. et al., "One Example Shown, Many Concepts Known! Counterexample-Driven Conceptual Reasoning in Mathematical LLMs" (CounterMATH), arXiv:2502.10454, Tsinghua University, February 2025.
Daice Labs Inc.
Brookline, MA, USA
Roll the "daice"–exploration & programmable adaptation.