← Latest papers
💻 computer science

Nonlinear Arithmetic with SMTLIB Division is Undecidable

The paper demonstrates that nonlinear real arithmetic (NRA) as defined in the SMTLIB standard is undecidable because its treatment of division by zero as an uninterpreted function enables the encoding of undecidable integer arithmetic problems.

Original authors: Dejan Jovanovic

Published 2026-05-27
📖 5 min read🧠 Deep dive

Original authors: Dejan Jovanovic

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a detective trying to solve a mystery using a very strict set of rules. In the world of computer science, these rules are called "theories," and they help computers decide if a mathematical puzzle has a solution or not.

This paper is about a specific set of rules called Nonlinear Real Arithmetic (NRA). Think of this as a game played with real numbers (like 3.14, -5, or 0.001) where you can add, subtract, multiply, and divide them.

The "Magic" Rule That Breaks the Game

For a long time, mathematicians believed this game was perfectly solvable. If you gave a computer a puzzle using these numbers, it could eventually say, "Yes, there is a solution," or "No, there isn't."

However, the author, Dejan Jovanović, discovered a hidden trap in the official rulebook (the SMTLIB standard). The trap is in how the rules handle division by zero.

In normal math, dividing by zero is a big "No." But in this specific computer rulebook, the rules say: "If you divide by zero, we don't care what the answer is. It can be anything, as long as it acts like a normal number when you aren't dividing by zero."

The author calls this an "uninterpreted function." To use an analogy: Imagine a vending machine that works perfectly for every snack you buy. But if you try to buy a "Zero Snack," the machine doesn't crash; instead, it just spits out something—maybe a candy bar, maybe a rock, maybe a cloud. The rules don't tell you what it will be; they just say, "It will be something."

How This Turns the Game Unsolvable

The paper argues that this "anything goes" rule for zero division is the key that unlocks a door to chaos.

Here is the logic, simplified:

  1. The Goal: The author wants to prove that if you have this "magic" division rule, you can trick the computer into solving integer puzzles (puzzles with whole numbers like 1, 2, 3).
  2. The Problem: Solving integer puzzles is famously impossible for computers to do perfectly for every case (this is known as Hilbert's 10th Problem). It's like trying to find a needle in a haystack that keeps growing forever.
  3. The Trick: The author shows that by using the "magic" division by zero, you can build a mathematical bridge. You can take a hard integer puzzle and translate it into a real-number puzzle using this division trick.
    • Analogy: Imagine you have a secret code written in a language only humans understand (integers). You build a machine (the division trick) that translates this code into a language computers understand (real numbers). Because the computer's language has this "magic" zero-division rule, the computer can accidentally solve the human code.
  4. The Result: Since we know computers cannot solve all integer puzzles, and this trick lets them try to solve integer puzzles using real numbers, it means the computer cannot solve all real-number puzzles either. The game becomes undecidable.

The "Floor" Function Analogy

To prove this, the author uses a clever trick. They show that if you have this "magic" division, you can force the computer to act like a floor function (a function that rounds a number down to the nearest whole number, like turning 3.9 into 3).

Once the computer can round numbers down, it can start counting integers. Once it can count integers, it can try to solve those impossible integer puzzles. Since those puzzles are impossible to solve generally, the whole system of real-number math with this division rule becomes impossible to solve generally.

What This Means for the Real World (According to the Paper)

The paper doesn't talk about future AI or medical uses. It focuses on the current state of computer benchmarks (test problems):

  • The Trap: Many existing test problems in the SMTLIB library (a huge collection of math puzzles used to test computers) use division with variables (like x / y). If y happens to be zero, these puzzles fall into the "undecidable" trap.
  • The Solution? The author suggests two ways to fix the rulebook:
    1. Pick a specific answer: Decide that dividing by zero always equals a specific number (like 0 or 1), just like how some computer systems handle it for binary numbers.
    2. Split the game: Create a new, separate category for problems where you divide by variables, and keep the "safe" category for problems where you only divide by known numbers (constants).

The Bottom Line

The paper claims that a specific, seemingly harmless rule about how computers handle "dividing by zero" accidentally breaks the ability of computers to solve all math problems involving real numbers. It turns a solvable game into an unsolvable one by allowing the computer to sneakily solve problems it wasn't supposed to be able to solve.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →