Existing in Mathlib · Number theory
Basel Problem
The sum of the reciprocals of the positive perfect squares is exactly π squared divided by six.
- Basel problem
- reciprocal-square series
- Bernoulli functions
- Fourier coefficients
- even zeta values
Exact theorem
Exact Mathlib statement
theorem hasSum_zeta_two : HasSum (fun n : ℕ => (1 : ℝ) / (n : ℝ) ^ 2) (π ^ 2 / 6)The theorem at a glance
Basel Problem — reciprocal squares sum to π²/6
A visual guide to the theorem's hypotheses, structure, and conclusion; the exact statement gives the formal detail.
Basel Problem — reciprocal squares sum to π²/6

Detailed visual description
The familiar reciprocal-square equation dominates a sparse engraved poster. A periodic Bernoulli ribbon, harmonics with square-diminishing amplitudes, and a six-bay circle-and-square seal support four short source movements and an exact-scope footer explaining the natural-index zero term.
Statement structure
From hypotheses to conclusion
This map summarizes the statement's structure; the exact Mathlib declaration remains authoritative.
Basel Problem — scientific diagram

Detailed visual description
This page presents Mathlib's real HasSum statement for n ↦ 1/(n:ℝ)^2 with value π^2/6. Its natural-number indexing includes n = 0, whose term is zero under Lean's totalized real division, so it represents the usual series over positive integers. The selected declaration is only the exponent-two specialization, not a generic theorem about all zeta values.
Why it matters
A mathematical landmark
The Basel problem is one of the most recognizable exact evaluations of an infinite series. Mathlib's declaration exposes it as a concise specialization resting on a substantial Bernoulli-function and Fourier-coefficient development.
ProofAtlas record
What has been checked
Mathlib is the source of the theorem; the local Lean replay and page review are separate.
Claim boundary
No new theorem is claimed
This page presents Mathlib's real HasSum statement for n ↦ 1/(n:ℝ)^2 with value π^2/6. Its natural-number indexing includes n = 0, whose term is zero under Lean's totalized real division, so it represents the usual series over positive integers. The selected declaration is only the exponent-two specialization, not a generic theorem about all zeta values.
- The exact declaration is a real HasSum statement indexed by natural numbers.
- The n = 0 term is zero because real division in Lean is totalized; the nonzero terms form the usual positive-index series.
- The selected declaration concerns exponent two only and is not itself the general even-zeta theorem.
- It gives an exact sum, not a quantitative convergence rate or error bound.
- ProofAtlas is indexing an existing Mathlib theorem, not claiming a new proof or new mathematics.
- The generated explanation and visuals are not proof evidence.
Source and local evidence
Where the theorem comes from
- Existing declaration
hasSum_zeta_twoin mathlib- Relationship
- The checked artifact is the upstream declaration itself
- Local Lean evidence
artifact.library.mathlib.basel-problem.v001