Table of Contents

Fermat

The 30-Second Summary

What is Fermat? A Plain English Definition

In the 1630s, a brilliant French lawyer and amateur mathematician named Pierre de Fermat was reading an ancient Greek text on mathematics. In the margin of the book, he scribbled a note that would go on to taunt and torment the world's greatest minds for centuries. You probably remember the Pythagorean Theorem from school: a² + b² = c². It describes the relationship between the sides of a right-angled triangle, and there are countless whole number solutions (like 3² + 4² = 5²). Fermat's note was a riff on this. He wrote that for any whole number 'n' greater than 2, the equation aⁿ + bⁿ = cⁿ has no whole number solutions. In other words, you can't find whole numbers that work for a³ + b³ = c³, or a⁴ + b⁴ = c⁴, and so on, to infinity. Then came the legendary, infuriating kicker. Fermat added: “I have a truly marvelous proof of this proposition which this margin is too narrow to contain.” And with that, he died, leaving behind a mathematical grenade. For the next 357 years, “Fermat's Last Theorem” became the Mount Everest of mathematics. It seemed so simple. Anyone could understand the problem. Yet, generation after generation of brilliant mathematicians tried and failed to find the “marvelous proof.” Countless amateurs submitted flawed proofs, convinced they had cracked the code with a simple, elegant trick. The puzzle was finally solved in 1994 by Professor Andrew Wiles. His proof wasn't a clever one-liner that could fit in a margin. It was 129 pages of dense, modern mathematics, the culmination of seven years of secret, focused work that built upon centuries of collective effort. This story—of a deceptively simple problem, the allure of an easy solution, and the reality of the immense, rigorous work required for a real answer—is one of the most powerful allegories a value investor can learn from.

“There is no reason to get a C on something you can get an A on. It's just as easy! It's just as easy to buy a wonderful business at a fair price as it is to buy a fair business at a wonderful price. In fact, it's easier to do the former.” - Warren Buffett 1)

Why It Matters to a Value Investor

The world of investing is filled with “Fermat's Last Theorems.” These are the seductive ideas, the complex strategies, and the “new paradigm” stocks that promise a “marvelous proof” of easy riches. They look elegant, sound intelligent at dinner parties, but often have a fatal, hidden flaw. A value investor uses the story of Fermat as a powerful mental filter to separate durable opportunities from these dangerous traps. 1. The Danger of Complexity Disguised as Sophistication: Andrew Wiles's real proof was incredibly complex, but the businesses that make value investors rich are almost always simple. The “Fermat Trap” in investing is the belief that complexity equals sophistication and, therefore, higher returns. Think of the complex derivatives that caused the 2008 financial crisis, or the convoluted business models of companies like Enron. They were explained with jargon and impressive-looking formulas, but they were fundamentally unsound. A value investor knows that if you can't explain an investment on the back of a napkin, you shouldn't own it. This is the heart of the circle_of_competence. 2. The Allure of the “Proof in the Margin”: Every market cycle has its own version of Fermat's “proof in the margin.”

Value investors learn from Fermat that claims of easy, revolutionary solutions are usually traps. True value is built slowly and demonstrably, not discovered in a flash of speculative genius. 3. Embracing the “Too Hard Pile”: For over 300 years, the smartest thing a mathematician could do with Fermat's Last Theorem was to admit, “I can't solve this,” and work on something else. Charlie Munger, Warren Buffett's partner, famously talks about having a "too hard" pile. A huge part of successful investing isn't about finding the answers to difficult questions; it's about having the discipline to recognize which questions are too hard to answer and avoiding them entirely. Is this biotech company's new drug going to get FDA approval? Too hard. Will this tech startup win the race for AI dominance? Too hard. What will the price of oil be in six months? Too hard. A value investor's focus remains on what is knowable and important, not what is tantalizingly complex.

How to Apply It in Practice

“Fermat” isn't a formula you can punch into a spreadsheet. It's a mental model, a qualitative test to protect you from your own biases and the market's seductive stories. Here’s how to apply the “Fermat Test” to a potential investment.

The Method: A 3-Step Checklist

  1. Step 1: The Simplicity Test.
    • Question: Can I explain why this is a great investment to a reasonably intelligent person, who is not in finance, in three minutes or less, using simple language?
    • Pass: “I'm buying See's Candies. It's a simple business. They make delicious chocolates that people love, especially on holidays. They have a powerful brand, so they can raise prices without losing customers, and they generate a lot of cash.”
    • Fail (Fermat Trap): “I'm investing in this fintech company that uses a proprietary machine-learning algorithm to arbitrage fractional discrepancies in decentralized crypto liquidity pools. Their synergistic paradigm leverages blockchain to disintermediate the legacy banking system…” If you find yourself using jargon and buzzwords, it’s a giant red flag.
  2. Step 2: The “Proof in the Margin” Test.
    • Question: Is my investment thesis based on a single, brilliant, and unproven future event, or is it supported by a mountain of past and present evidence?
    • Pass: “This company has increased its earnings and dividends for 30 consecutive years. It has a dominant market share, a fortress balance_sheet, and its products are essential. The future may not be exactly like the past, but there is strong evidence of durability.”
    • Fail (Fermat Trap): “This company is currently losing a billion dollars a year, but if they capture just 5% of the global market for autonomous drone delivery, and if their battery technology improves by 200%, and if regulators approve it, then the stock will be a 100-bagger.” This is relying on a future “marvelous proof” that may never materialize.
  3. Step 3: The Durability Test.
    • Question: Does this investment's success depend on a complex system staying exactly as it is, or can it withstand change and chaos?
    • Pass: “People will likely be drinking Coca-Cola and eating McDonald's burgers in 20 years, much as they did 20 years ago. The business is resilient to recessions, technological changes, and political shifts.”
    • Fail (Fermat Trap): A hedge fund strategy that relies on a specific interest rate relationship between three different currencies and low volatility. It works beautifully until it doesn't, and then it blows up spectacularly. True value is anti-fragile; Fermat traps are incredibly fragile.

A Practical Example

Let's compare two hypothetical companies through the lens of the Fermat Test.

Investment Thesis Steady Cement Corp. Quantum Fusion Inc.
Business Model Makes and sells cement. A boring, essential material for construction. Developing a revolutionary cold fusion reactor to create clean, unlimited energy.
The Simplicity Test Pass. “They dig stuff out of the ground, cook it, and sell it to builders. It's a heavy, local business with regional moats.” Fail. Explaining the science requires a Ph.D. in physics. The business model depends on unproven technology and a complete restructuring of the global energy grid.
The “Proof in the Margin” Test Pass. The thesis is based on 100 years of financial data, infrastructure spending budgets, and population growth trends. The proof is in the historical record. Fail. The thesis is a “proof in the margin.” It's based entirely on a future breakthrough. The “marvelous proof” is in the lab, not in the financial statements.
The Durability Test Pass. Society has been building with cement for thousands of years. It's robust to technological change and economic cycles (though cyclical, it always comes back). Fail. Incredibly fragile. It's a binary outcome. If the technology fails, the investment is worth zero. It also faces immense technological, regulatory, and competitive risks.
The Fermat Conclusion Steady Cement is a classic value investment. It's an understandable business whose value can be reasonably estimated. It's the “Pythagorean Theorem” of investing. Quantum Fusion is a pure Fermat Trap for a value investor. It's a fascinating but unknowable speculation. It belongs in the too hard pile.

This doesn't mean no one should ever invest in Quantum Fusion Inc. Venture capitalists might. But for a value investor focused on capital preservation and predictable returns, it's an unforced error.

Advantages and Limitations

Applying the Fermat mental model offers powerful benefits, but it's not without its potential blind spots.

Strengths

Weaknesses & Common Pitfalls

1)
While not about Fermat directly, this quote captures the essence of avoiding unnecessarily difficult problems in favor of simple, high-quality ones.