<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/fermat-left-a-note-in-a-margin-other-people-spent-358-years-finishing-it--y4pafjmyt" -->

---
title: Fermat Left a Note in a Margin. Other People Spent 358...
description: A history piece on Fermat's Last Theorem traces the note Pierre de Fermat scribbled in a margin around 1637, through three and a half centuries of...
canonical: https://daily.dev/posts/fermat-left-a-note-in-a-margin-other-people-spent-358-years-finishing-it--y4pafjmyt
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Fermat Left a Note in a Margin. Other People Spent 358 Years Finishing It. | daily.dev
og:description: A history piece on Fermat's Last Theorem traces the note Pierre de Fermat scribbled in a margin around 1637, through three and a half centuries of...
og:url: https://daily.dev/posts/fermat-left-a-note-in-a-margin-other-people-spent-358-years-finishing-it--y4pafjmyt
og:image: https://api.daily.dev/og/posts/Y4PAfjmyt.png
og:image:alt: Fermat Left a Note in a Margin. Other People Spent 358 Years Finishing It.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Fermat Left a Note in a Margin. Other People Spent 358 Years Finishing It.

**[SQL Authority](https://daily.dev/sources/sql-authority)** · 9 min read · 2 upvotes · 0 comments

## Summary

A history piece on Fermat's Last Theorem traces the note Pierre de Fermat scribbled in a margin around 1637, through three and a half centuries of mathematicians (Euler, Germain, Kummer) chipping away at it, to Andrew Wiles's 1993-1995 proof and its correction. It closes with a notable coda: the theorem now has a complete machine-checked proof in the Lean proof assistant, published in September 2026, with no 'sorry' placeholders remaining anywhere in the proof tree. The piece ties this to Fermat's own habit of asserting results without proof, drawing a parallel to Lean's 'sorry' keyword, and plugs the author's book on AI and mathematics.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.sqlauthority.com/2026/09/14/fermat-left-a-note-in-a-margin-other-people-spent-358-years-finishing-it>

## Questions this post answers

### Has Fermat's Last Theorem been fully formalized and machine-checked in the Lean proof assistant?

Yes, a complete machine-checked proof of Fermat's Last Theorem was published in Lean in September 2026, with no 'sorry' placeholders remaining anywhere in the proof and nothing assumed beyond the axioms the logic is built on. This means the entire theorem, not just fragments of it, can now be verified line by line by a machine rather than relying solely on human peer review.

_Developers curious about formal verification milestones like this can follow the story on daily.dev._

### What does the 'sorry' keyword do in the Lean theorem prover?

The 'sorry' keyword in Lean lets you assert a mathematical statement as true now and prove it properly later, stubbing out an incomplete part while keeping a syntactically correct skeleton. Lean warns every time a declaration uses one, and any theorem can be queried to reveal whether a 'sorry' is hidden somewhere underneath it, even in imported dependencies.

_Those exploring formal methods and proof assistants can track tools like Lean on daily.dev._

### Who first proved Fermat's Last Theorem and when?

Andrew Wiles announced a proof in three lectures at Cambridge in June 1993, but referee Nick Katz found a gap two months later. Wiles worked on the gap with former student Richard Taylor for about a year, found the fix on September 19, 1994, and the corrected proof filled an entire issue of the Annals of Mathematics in May 1995, closing a claim Pierre de Fermat had made around 1637.

_Anyone tracing how long-standing problems finally get resolved can follow such milestones on daily.dev._

## Similar posts on daily.dev

- [A “proof” of Fermat’s Last Theorem that fits the margin](https://daily.dev/posts/a-proof-of-fermat-s-last-theorem-that-fits-the-margin-0zk3k08vy) · Trail of Bits Blog · 0 upvotes · 0 comments
- [The Four Colour Theorem: The first time machines mogged mathematicians](https://daily.dev/posts/the-four-colour-theorem-the-first-time-machines-mogged-mathematicians-stcf8d9zu) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#math](https://daily.dev/tags/math)

[View this post on daily.dev](https://daily.dev/posts/fermat-left-a-note-in-a-margin-other-people-spent-358-years-finishing-it--y4pafjmyt)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Fermat Left a Note in a Margin. Other People Spent 358 Years Finishing It.","url":"https://daily.dev/posts/fermat-left-a-note-in-a-margin-other-people-spent-358-years-finishing-it--y4pafjmyt","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/fermat-left-a-note-in-a-margin-other-people-spent-358-years-finishing-it--y4pafjmyt"},"datePublished":"2026-09-14T01:33:02.159Z","dateModified":"2026-09-14T01:33:28.987Z","description":"A history piece on Fermat's Last Theorem traces the note Pierre de Fermat scribbled in a margin around 1637, through three and a half centuries of...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6d75d9c7164a3abfd26df8d1e03bb0b6?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6d75d9c7164a3abfd26df8d1e03bb0b6?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"SQL Authority","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"SQL Authority","logo":"https://media.daily.dev/image/upload/s--reCGnvgi--/f_auto,q_auto/v1780213436/logos/sql-authority?_a=BAMAMiWQ0","url":"https://daily.dev/sources/sql-authority"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/fermat-left-a-note-in-a-margin-other-people-spent-358-years-finishing-it--y4pafjmyt","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"math","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"SQL Authority","item":"https://daily.dev/sources/sql-authority"},{"@type":"ListItem","position":3,"name":"Fermat Left a Note in a Margin. Other People Spent 358 Years Finishing It."}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/fermat-left-a-note-in-a-margin-other-people-spent-358-years-finishing-it--y4pafjmyt#faq","mainEntity":[{"@type":"Question","name":"Has Fermat's Last Theorem been fully formalized and machine-checked in the Lean proof assistant?","acceptedAnswer":{"@type":"Answer","text":"Yes, a complete machine-checked proof of Fermat's Last Theorem was published in Lean in September 2026, with no 'sorry' placeholders remaining anywhere in the proof and nothing assumed beyond the axioms the logic is built on. This means the entire theorem, not just fragments of it, can now be verified line by line by a machine rather than relying solely on human peer review. Developers curious about formal verification milestones like this can follow the story on daily.dev."}},{"@type":"Question","name":"What does the 'sorry' keyword do in the Lean theorem prover?","acceptedAnswer":{"@type":"Answer","text":"The 'sorry' keyword in Lean lets you assert a mathematical statement as true now and prove it properly later, stubbing out an incomplete part while keeping a syntactically correct skeleton. Lean warns every time a declaration uses one, and any theorem can be queried to reveal whether a 'sorry' is hidden somewhere underneath it, even in imported dependencies. Those exploring formal methods and proof assistants can track tools like Lean on daily.dev."}},{"@type":"Question","name":"Who first proved Fermat's Last Theorem and when?","acceptedAnswer":{"@type":"Answer","text":"Andrew Wiles announced a proof in three lectures at Cambridge in June 1993, but referee Nick Katz found a gap two months later. Wiles worked on the gap with former student Richard Taylor for about a year, found the fix on September 19, 1994, and the corrected proof filled an entire issue of the Annals of Mathematics in May 1995, closing a claim Pierre de Fermat had made around 1637. Anyone tracing how long-standing problems finally get resolved can follow such milestones on daily.dev."}}]}
```

