The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V12. Number theory

Mathlib.NumberTheory.Harmonic.Defs

3 declarations. Mathlib docs · Source

def harmonic E1 #

ℕ → ℚ

The nth-harmonic number defined as a finset sum of consecutive reciprocals.

theorem harmonic_zero E0 #

harmonic 0 = 0

theorem harmonic_succ E0 #

∀ (n : ℕ), harmonic (n + 1) = harmonic n + (↑(n + 1))⁻¹