Henry Kvinge spent years training as a mathematician, but today he spends his time teaching computers to think mathematically. At the Pacific Northwest National Laboratory in Richland, Washington, Kvinge has found himself at an unexpected crossroads: where numbers meet artificial intelligence.

"Our team's guiding principle is that tools and methods shouldn't just provide the answer; they should provide new insight," Kvinge said. "We don't just want to solve a problem, we want to solve the problem in such a way that a mathematician or scientist can walk away saying, 'I never thought about it in that way before—this suggests new research directions.'"

Kvinge's team has created datasets that represent real, research-level mathematics and built AI tools to help accelerate mathematical discovery. Most of their work focuses on combinatorics—a branch of math that studies discrete structures like graphs, networks, and arrangements. Combinatorics is especially useful for AI research because it is concrete, produces lots of data, and forms the foundation of much modern mathematics.

One of their key projects involves mapping the structure of mathematical knowledge itself. Kvinge's team visualized statements from a digital math library called Lean, creating a kind of landscape where similar mathematical ideas sit close together. Each point on their map represents a statement, and colors show different areas of math, from algebra to probability theory.

But Kvinge's team does more than just use math to help AI. They also use math to understand how AI actually works. They study something called "mathematical world models"—the mental frameworks that help both humans and AI systems reason about problems. For humans, these world models are intuitive: most people picture numbers on a line, ordered from smallest to largest, or understand that 7 + 3 equals the same as 3 + 7. Kvinge and his team want to know if large language models—the AI systems behind chatbots and coding assistants—use similar mental shortcuts when solving math problems.

"Because LLMs only experience a digital world, math is a good surrogate for more complex, real-world systems, helping us better understand the basis by which these systems digest and solve problems," Kvinge explained.

The team presented some of their findings at a workshop during the 2025 International Conference on Machine Learning. Their research helps explain why AI sometimes gets math right but for the wrong reasons—or fails in ways that reveal hidden gaps in how these systems process information.

This work is part of a larger effort. PNNL is a key partner in the Genesis Mission, the Department of Energy's initiative to build the world's most powerful scientific platform for discovery, national security, and clean energy innovation. By bridging math and AI, Kvinge hopes to build tools that don't just give answers, but open entirely new doors for researchers.