The Dark Night of Mathematics: How Four Crises Reshaped the Discipline

The Dark Night of Mathematics: How Four Crises Reshaped the Discipline

MathematicsPhilosophy of ScienceThought

Sources:HN + Substack · HN

Did you know that mathematics has also had its “dark ages”—and in a much more fundamental sense? It occurs when the tools mathematicians rely on suddenly stop working, when the very foundations of the discipline begin to tremble, and when what was viewed for millennia as “absolute truth” is proven to be potentially unreachable. This anxiety is a collective, structural “dark night.”

In July 2026, a Substack article titled The Dark Night of Mathematics reached 142 points and 169 comments on Hacker News. The author, Kirwin Hampshire, described his ongoing “existential crisis” with rare candor: in just one week, Large Language Models (LLMs) disproved multiple long-unsolved mathematical conjectures. He wrote: “I spent several days screaming internally. It felt like living in a nightmare.”

Why did a mathematician’s crisis spark such intense debate among 169 commentators? Because in computer science, a similar dark night is descending—the breakdown of Moore’s Law, the crisis of AI explainability, and post-Moore architectural confusion. Yet the most inspiring insight in that discussion was a historical perspective: mathematics has weathered at least four such dark nights before. Every single time, it survived—and emerged stronger.

The First Dark Night: The Silence of Ancient Greek Mathematics

In the 3rd century BCE, Euclid of Alexandria constructed humanity’s first axiomatic mathematical edifice with the 13 volumes of Elements. Starting from a handful of “self-evident” axioms, the entirety of geometry could be logically deduced. For the first time, humanity tasted the flavor of “absolute certainty.”

But what happened next? Scholars debate this to this day. One explanation is that the rise of the Roman Empire led to a decline in interest in pure mathematics—Romans were pragmatic, wanting bridges and roads rather than abstract proofs. Whatever the cause, the historical fact remains: from the 2nd century BCE to the 14th century CE, over 1,500 years, mathematics in the West virtually stalled. Euclid’s Elements remained the peak achievement, unsurpassed.

This reveals a stark truth: mathematical progress is not linear. When societal demands no longer align with the internal questions of mathematics, an entire discipline can sleep for a millennium.

Papyrus fragment of Euclid's Elements—one of the oldest surviving manuscripts of Elements, excavated at Oxyrhynchus and dating back over 2,000 years

Papyrus fragment of Euclid’s Elements (c. 1st century CE). This fragment proves that for over 2,000 years, humanity has been asking the same question: how stable are the foundations of the mathematical edifice?

The Second Dark Night: Calculus and Its “Original Sin”

In the 17th century, Isaac Newton and Gottfried Wilhelm Leibniz independently invented calculus. It was the most powerful mathematical tool ever created—without it, modern physics, engineering, and the electronic devices powering your internet connection today would not exist.

Yet calculus harbored a fatal flaw: no one could rigorously explain why it was “correct.” Newton relied on “infinitesimals,” but were infinitesimals truly zero or not? Within the mathematical framework of the era, this posed a logical deadlock. Bishop George Berkeley famously mocked infinitesimals as “the ghosts of departed quantities”—acknowledged as logically problematic, yet indispensable in practice.

This controversy raged for over a century. It was not until the 19th century that Cauchy, Weierstrass, and others introduced the rigorous “ε-δ definition” of limits, finally granting physicists and engineers a solid logical foundation upon which to use calculus without hesitation.

Why do dark nights occur? Because human tools outpace theoretical foundations. Mathematicians were working with concepts they did not fully comprehend. This state of knowing that something works without knowing why is inherently an intellectual insecurity. Uncertainty is the driving engine of mathematical progress.

The Third Dark Night: Gödel’s Heavy Blow to Mathematics

At the turn of the 20th century, German mathematician David Hilbert proposed an ambitious program: formalize all of mathematics with a finite set of axioms, and prove that this system is both “complete” (every true statement can be proved) and “consistent” (free of contradictions). If successful, mathematics would rest upon an unshakeable foundation, bringing humanity infinitely close to “absolute truth.”

In 1931, the 25-year-old Austrian logician Kurt Gödel published his Incompleteness Theorems. He proved that in any sufficiently powerful formal system, there exist statements that can neither be proved nor disproved within the system. Furthermore, the consistency of the system cannot be proven within itself.

Hilbert’s Program was struck down with a single, decisive blow.

It was perhaps the most staggering moment in the history of mathematics. The meta-question of whether mathematics could reach absolute truth was answered with a mathematical proof: no. In philosophical terms: the tension between the desire for certainty and foundational crises is embedded within mathematics itself.

Many mathematicians of the era felt lost. If mathematics could not even prove its own consistency, what had they been dedicating their lives to?

Yet subsequent history demonstrated that this “dark night” actually birthed mathematical logic, computation theory, and computer science. Gödel’s insights directly inspired Alan Turing—without Gödel, the theoretical foundations of modern computer science would not exist.

Kurt Gödel (c. 1926). He was only 25 when he published his Incompleteness Theorems, which New Scientist later dubbed 'The Man Who Ruined Mathematics'

Kurt Gödel (c. 1926). His Incompleteness Theorems forced mathematics to recognize its true boundaries—boundaries within which mathematics remains immensely powerful.

The Fourth Dark Night: The Identity Crisis of Mathematicians in the AI Era

Fast forward to July 2026. This is the dark night Kirwin Hampshire is navigating: when LLMs disprove multiple long-standing conjectures in a single week, and when proving theorems itself can be automated by algorithms—the core identity and value of human mathematicians are called into question.

Hampshire captured a feeling shared by many peers: “There is something about the spiritual experience of mathematical discovery—seeking new math is one of the ways humans touch the ineffable, approaching the divine and the mysterious.”

This might sound ethereal, but it is deeply rooted in history. Ramanujan, Grothendieck, Cantor, Pascal, Leibniz—all viewed mathematics as a near-religious pursuit. When AI says, “I can do this for you,” it feels like a spiritual theft.

Yet among the 169 comments, developers keenly observed that this mirrors what computer science is currently undergoing. The death of Moore’s Law signals the end of free hardware performance gains; black-box deep learning creates an explainability crisis; and AI-generated code induces an identity crisis for software engineers. The dark night of mathematics is also the dark night of computer science.

Why the Dark Night Is Not the End

Reflecting on these four dark nights reveals a consistent pattern:

  1. Failure of the Old Paradigm (Stagnation of ancient Greek math / Lack of rigorous foundations for calculus / Refutation of Hilbert’s Program / Challenge to the indispensability of human provers)
  2. Anxiety and Confusion (Scholars feeling that the discipline has hit a dead end)
  3. Fundamental Reconstruction (Redefining basic concepts and establishing sturdier foundations)
  4. Disciplinary Leap (Emerging stronger, more mature, and far more impactful)

This is no coincidence. The essence of a “dark night” is self-renewal. When existing frameworks can no longer contain new knowledge, pain is simply the growing signal.

The dark night of Greek mathematics eventually paved the way for the Renaissance and modern science. The dark night of calculus birthed rigorous mathematical analysis. The dark night of Gödel gave birth to the computing era.

What about today’s dark night? While the ultimate answer is still emerging, there is a strong intuition: when AI can mass-produce mathematical proofs, the uniquely irreplaceable value of human mathematicians—asking the right questions—will shine brighter than ever before.

Humanity’s longing for “absolute truth” may never be fully satisfied. But after every dark night, mathematics reveals a vastly larger world. The dark night is the necessary darkness before dawn.


References:

  • The Dark Night of Mathematics — Kirwin Hampshire (Substack, July 2026)
  • Hacker News Discussion #49048681 — 142 points / 169 comments
  • Gödel’s Incompleteness Theorems — Stanford Encyclopedia of Philosophy
  • A Century of Controversy Over the Foundations of Mathematics — arXiv
  • How Gödel’s Proof Works — Quanta Magazine
  • The Man Who Ruined Mathematics — New Scientist, April 2026
  • Three Crises in the History of Mathematics — Disciplinary Overview