Dev.to AI πŸ€– Ai πŸ‘ 2 πŸ“– 10 min read

How AI Solves Hard Problems, and Where It Still Trips

This article is current as of December 2026. Model scores and capabilities move fast, so check the sources below for the latest numbers. An 80-year-old conjecture, broken in a month In May 2026, a conjecture

How AI Solves Hard Problems, and Where It Still Trips

This article is current as of December 2026. Model scores and capabilities move fast, so check the sources below for the latest numbers.

An 80-year-old conjecture, broken in a month

In May 2026, a conjecture that had stood for 80 years fell. An AI broke it.

Plenty of us have also watched an AI get a simple question wrong with total confidence. The same AI that cracks an 80-year-old problem can trip over an easy one.

So how does AI actually solve hard problems, and where does it still get them wrong? This piece follows that question through what happens inside the model, how it fails, how it has done in cryptography competitions, and how to work with it.

In 1946, mathematician Paul ErdΕ‘s asked how many pairs of points, placed on a flat plane, could be exactly distance 1 apart. He guessed a grid arrangement was close to the best possible. That guess, the unit distance conjecture, held for 80 years.

In May 2026, an internal OpenAI model found an arrangement that beats a grid. Quanta Magazine called it the first historically significant mathematical result produced by AI.

Mathematician Timothy Gowers said that if a human had written the paper, he would have recommended it to the Annals of Mathematics, one of the field's top journals.

The story did not stop there. Human mathematicians substantially improved the result within a few weeks. AI opened the door, and people walked through it and went further.

Even before this, the open problems Paul ErdΕ‘s left behind had been getting marked solved one after another. A tracking page started by mathematician Terence Tao recorded about 100 of them solved with AI help between October 2025 and early 2026. Most were cases where an AI found an existing paper that had already solved the problem. In at least two cases, though, an AI built an original, valid proof on its own (Scientific American, February 2026).

Finding the right paper is real work, but it is not the same as creating new mathematics. So what happens inside an AI when it does find something new?

A look inside the model's head

A large language model predicts the next word. During training, through reinforcement learning, it also picks up problem-solving habits: breaking a problem into smaller parts, testing small cases, working backward from the goal, hunting for counterexamples. These look a lot like the habits human mathematicians use.

A much smaller problem makes those habits visible. The example is addition.

Anthropic studied how a model computes 36+59 ("Tracing the thoughts of a large language model," March 2025). The model walked two paths at once: one estimated the rough size, landing on "around 90," and the other worked out the last digit, landing on "it ends in 5." Together, the two paths gave 95.

Research from MIT (Kantamneni & Tegmark, arXiv:2502.00873) found something stranger still. The model represents numbers as points on a helix and adds them by rotating, like turning the hands of a clock (the "Clock" algorithm).

That is a roundabout way to add two numbers. For something as easy as 1+1, the model may just be recalling a memorized answer rather than computing anything. That part is still unknown.

Roundabout, but fast?

A roundabout method still sounds fast, since AI is fast. That is a misunderstanding.

AI answers 1+1 at about the speed a human does. Every word it outputs costs billions of calculations, which is wasteful for simple arithmetic. It only looks fast because GPUs run huge amounts of computation in parallel. Exact calculation belongs to Python or another tool, not the model itself.

Plenty of work already goes into cutting that waste.

  • Hand calculations off to an external tool
  • Run only part of the model depending on the input (Mixture of Experts)
  • Distill a large model's knowledge into a smaller one
  • Scale how much the model thinks to how hard the problem is

OpenAI says GPT-5.5 completes the same Codex tasks using fewer tokens than before, a direct cut in how much it thinks.

Even so, the waste never fully goes away. It is the cost of one network handling almost anything.

Where AI is actually fast is not a single calculation. It can retry endlessly, read enormous amounts of literature, and brute-force its way through possibilities. That is where the real speed lives.

Don't take its explanation at face value

The 36+59 study has a twist. Asked how it calculated the answer, the model described the carry-the-one method taught in school, not the two parallel paths it actually used.

This is not unique to addition. Modern models often show a chain of thought before answering. Anthropic's paper "Reasoning Models Don't Always Say What They Think" found cases where a model used a hint buried in the prompt to reach its answer, then never mentioned that hint in its reasoning.

What a model says about its own thinking does not always match what happened inside it. An AI's explanation for solving a hard problem cannot simply be taken at face value.

How AI gets it wrong

Google's Aletheia study (arXiv:2601.22401) found that 50 answers judged correct had actually read the problem in a way the author never intended, turning it into something easier. The model had not solved the stated problem. It had solved a different, simpler one. The same study flagged a related risk: a model reusing ideas from past papers without realizing it, a kind of unconscious plagiarism.

A stranger pattern turned up elsewhere. Researchers noticed that telling GPT-5.2 "nobody knows the answer to this problem" made it make less progress, so they learned to phrase prompts as if the problem were easier than it actually is (Quanta Magazine).

Humans and AI fail differently.

  • Strengths: a person reads what a problem is actually asking and invents new concepts; AI searches vast literature cheaply and runs many attempts in parallel
  • Typical mistakes: a person overlooks something or makes an arithmetic slip; AI misreads the problem itself, mistakes a known result for a new one, or produces a convincing but wrong proof
  • Given more time or compute: a person improves slowly; AI keeps improving for a while as you let it think longer
  • Explaining itself: a person's account of their own reasoning is fairly reliable; AI's account does not always match what it actually did

A person makes arithmetic mistakes. AI solves the wrong problem. The failure modes are not the same.

The loop that covers for the weak spots

Handing a hard problem to AI, after all that, might sound risky. There is a way to cover for the weak spots.

Agent tools are one answer. A tool like Claude Code can run the same loop over and over: form a hypothesis, write code, run it, look at the result, fix it.

A plain chat model can only think in its head and answer. An agent can actually run code and check the result, the same move as handing addition off to Python: it stops relying on its own head alone.

Google's Aletheia is built on the same idea, with three roles working together: one drafts a solution, one checks it, one fixes it.

A second answer is using more than one model. Giving the same problem to different models and comparing their answers makes mistakes easier to spot, because each model tends to fail in a different way.

The real bottleneck for hard problems is not the speed of a single calculation. It is how many rounds of trial and error you can run, and how you verify whether an answer is actually correct. Getting faster and solving harder problems are two different things.

Taking on cryptography

Cryptography is a different kind of hard problem.

AI cannot break the algorithm behind a modern cipher like AES or RSA. Neither can a human. A classical cipher like the Caesar cipher is a different story: counting letter frequency, or just trying every key, breaks it.

In CTF competitions, when AI solves a cryptography challenge, it is exploiting a mistake in the implementation, not the cipher's underlying math.

Zero solves

In 2025, Anthropic entered Claude into real CTF competitions (Anthropic, August 2025). At PlaidCTF, known for its difficulty, Claude did not solve a single challenge no matter how many attempts it got.

There were still signs of promise. In a Hack The Box event pitting AI against humans, Claude kept pace with the fastest human team for roughly the first 17 minutes. At PicoCTF, Claude was far more effective during stretches when it had access to Kali Linux, an environment packed with security tooling. The tools available to it mattered as much as the model itself.

A year later

In April 2026, the UK AI Security Institute published its evaluation of Claude Mythos Preview. On expert-level tasks no model could complete before April 2025, Mythos Preview succeeded 73% of the time.

In a cyber range simulating multi-step attacks, performance kept climbing all the way up to a 100-million-token budget, with no sign of leveling off. Zero solves at PlaidCTF to this, in under a year.

Where humans still matter

None of this means humans are out of the loop.

A study of 41 participants working with AI during a live CTF competition (arXiv:2602.20446) found that, among participants with little CTF experience but strong AI skills, 64% scored in the middle range or higher. Being good at using AI partly made up for a lack of domain knowledge.

The highest scorers, though, knew both CTF and AI well. The study also found that unsolved challenges usually failed on prompting and unclear context from the human, not on the model's ability.

Domain knowledge and the skill to use AI well increasingly decide the outcome together.

The tools available today

A quick survey of what is out there as of December 2026.

OpenAI's Codex stands out for published results in research-level math. GPT-5.5, released in April 2026, scored 51.7% on FrontierMath Tier 1-3, a hard math benchmark, against 43.8% for Claude Opus 4.7 in the same table. The CLI is open source.

Google's Gemini is known for Deep Think's parallel thinking, the same line of work behind Aletheia. The consumer Gemini CLI stopped serving personal accounts on June 18, 2026, with Antigravity CLI as its successor.

Anthropic's Claude Code has published CTF results, and tends to get credit for MCP integration and stability on long tasks, based on independent blog reviews.

xAI's Grok Build reached beta in May 2026. It runs parallel sub-agents and git worktrees on Grok 4.7, released in September 2026 with a 500K-token context window. I found no published results on hard math or cryptography challenges for it.

Most of these benchmark numbers come from the companies themselves, so the test conditions are worth a second look.

A process for tackling hard problems with AI

A short process for working through a hard problem together with AI, based on everything above.

Getting the problem right comes first.

  • State the problem clearly. AI misreads problems often enough that this step matters most
  • Check what is already known. What looks like a new discovery is often already in a paper
  • Try small cases. Write code and actually test them
  • Bring more than one approach. Do not commit to the first idea

Verifying and finishing the work comes next.

  • Repeat the loop: build, check, fix, the same idea behind Aletheia
  • Verify with an outside tool. Python for calculations, a proof assistant like Lean for proofs
  • Report a confidence level. Keep what is verified separate from what is not

For cryptography and CTFs, aim at implementation mistakes rather than the cipher's math, and only test in an environment you are authorized to use, such as a CTF or your own setup.

A tireless partner that sometimes gets the question wrong

AI broke an 80-year-old conjecture. Humans polished that result into something stronger within a few weeks.

AI never tires of trying again, reads enormous amounts of literature, and can chase many approaches at once. It can also misread the problem, mistake a known result for something new, and fail to explain its own method correctly.

AI is not a genius that solves anything you give it. It is a tireless partner that sometimes gets the question wrong. Checking its work with outside tools, rather than trusting its account of itself, is still the best way to work with it.

References

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.