Mathlib theorem · Existing formal mathematics

Existing in Mathlib · Number theory

Fermat's Last Theorem for Exponent Four

No three nonzero natural numbers a, b, and c satisfy a⁴ + b⁴ = c⁴.

Exact theorem

Exact Mathlib statement

theorem fermatLastTheoremFour : FermatLastTheoremFor 4

The theorem at a glance

Fermat's Last Theorem for Exponent Four — infinite descent

A visual guide to the theorem's hypotheses, structure, and conclusion; the exact statement gives the formal detail.

A hypothetical exponent-four solution enters a stronger integer square equation and descends to a smaller solution, contradicting minimality. Explanatory diagram.
Detailed visual description

The poster centers the exact nonzero-natural conclusion a⁴+b⁴≠c⁴. Below it, an unlabeled engraved square construction shrinks through two successive right-triangle decompositions. A compact stronger-equation panel and five-step route explain the least-counterexample contradiction while the footer limits the result to exponent four.

Statement structure

Statement and scope

Statement map for Fermat's Last Theorem for Exponent FourNonzero natural numbers cannot satisfy a⁴ + b⁴ = c⁴. Claim boundary: This target indexes Mathlib's theorem FermatLastTheoremFor 4. Unfolded, for natural numbers a, b, and c, if all three are nonzero then a ^ 4 + b ^ 4 ≠ c ^ 4. The source proves this through a stronger integer square equation and infinite descent. The declaration is the exponent-four case only, not full Fermat's Last Theorem, an exponent-general theorem, or new ProofAtlas mathematics. The pinned upstream declaration is fermatLastTheoremFour. The complete formal statement is available in the Exact Mathlib statement section.Mathematical readingNonzero natural numberscannot satisfy a⁴ + b⁴ =c⁴.Claim boundaryThis target indexesMathlib's theoremFermatLastTheoremFor 4.Unfolded, for naturalnumbers a, b, and c, ifall three are nonzerothen a ^ 4 + b ^ 4 ≠ c ^4. The source provesthis through a strongerinteger square equationand infinite descent.The declaration is theexponent-four case only,not full Fermat's LastTheorem, anexponent-generaltheorem, or newProofAtlas mathematics.Pinned declarationmathlib ·fermatLastTheoremFourStatement map for Fermat's Last Theorem for Exponent FourNonzero natural numbers cannot satisfy a⁴ + b⁴ = c⁴. Claim boundary: This target indexes Mathlib's theorem FermatLastTheoremFor 4. Unfolded, for natural numbers a, b, and c, if all three are nonzero then a ^ 4 + b ^ 4 ≠ c ^ 4. The source proves this through a stronger integer square equation and infinite descent. The declaration is the exponent-four case only, not full Fermat's Last Theorem, an exponent-general theorem, or new ProofAtlas mathematics. The pinned upstream declaration is fermatLastTheoremFour. The complete formal statement is available in the Exact Mathlib statement section.Mathematical readingNonzero natural numberscannot satisfy a⁴ + b⁴ =c⁴.Claim boundaryThis target indexesMathlib's theoremFermatLastTheoremFor 4.Unfolded, for naturalnumbers a, b, and c, ifall three are nonzerothen a ^ 4 + b ^ 4 ≠ c ^4. The source provesthis through a strongerinteger square equationand infinite descent.The declaration is theexponent-four case only,not full Fermat's LastTheorem, anexponent-generaltheorem, or newProofAtlas mathematics.Pinned declarationmathlib ·fermatLastTheoremFour

Read the exact Mathlib declaration

This map summarizes the statement's structure; the exact Mathlib declaration remains authoritative.

A hypothetical exponent-four configuration reappears at a smaller scale, expressing the source's infinite-descent mechanism. Explanatory scientific diagram.
Detailed visual description

Large cobalt and emerald gridded square motifs meet in a right-triangle construction. The same geometry recurs at successively smaller scales along a single gold curve, representing the least-versus-smaller conflict used in the exponent-four descent. The figure contains no equation and does not claim the full Fermat's Last Theorem, an exponent-general result, or a finite search.

Why it matters

A mathematical landmark

The exponent-four case is a classical landmark in Diophantine analysis: a minimal hypothetical solution to a stronger square equation is transformed into a smaller one, giving a canonical example of infinite descent.

ProofAtlas record

What has been checked

Upstream indexedPinned source bytes verified locally
Locally reproducedExact upstream declaration replayed
Reviewed pageCurrent public presentation reviewed
Accepted Atlas resultNot recorded for the preferred artifact

Mathlib is the source of the theorem; the local Lean replay and page review are separate.

Claim boundary

No new theorem is claimed

This target indexes Mathlib's theorem FermatLastTheoremFor 4. Unfolded, for natural numbers a, b, and c, if all three are nonzero then a ^ 4 + b ^ 4 ≠ c ^ 4. The source proves this through a stronger integer square equation and infinite descent. The declaration is the exponent-four case only, not full Fermat's Last Theorem, an exponent-general theorem, or new ProofAtlas mathematics.

Source and local evidence

Where the theorem comes from

Existing declaration
fermatLastTheoremFour in mathlib
Relationship
The checked artifact is the upstream declaration itself
Local Lean evidence
artifact.library.mathlib.fermat-last-theorem-exponent-four.v001
Source
Open the pinned upstream reference