Mathlib theorem · Existing formal mathematics

Existing in Mathlib · Analysis

Tonelli's Theorem

For measurable spaces α and β, measures μ and ν with ν s-finite, and an ℝ≥0∞-valued function f that is almost everywhere measurable for μ.prod ν, integrating f over the product measure equals first integrating f(x, y) over y against ν and then integrating those fiber totals over x against μ.

Exact theorem

Exact Mathlib statement

theorem MeasureTheory.lintegral_prod {α β : Type*} [MeasurableSpace α] [MeasurableSpace β] {μ : Measure α} {ν : Measure β} [SFinite ν] (f : α × β → ℝ≥0∞) (hf : AEMeasurable f (μ.prod ν)) : ∫⁻ z, f z ∂μ.prod ν = ∫⁻ x, ∫⁻ y, f (x, y) ∂ν ∂μ

The theorem at a glance

Tonelli's theorem at a glance

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

For an almost-everywhere measurable ℝ≥0∞-valued function, the product-space lintegral equals the ν-then-μ iterated lintegral. Explanatory diagram.
Detailed visual description

The poster begins with the product-space measure and an extended-nonnegative height field, separates the field into measurable y-fibers indexed by x, and recombines their nonnegative masses into the same total. Its exact-scope footer retains the AEMeasurable hypothesis, [SFinite ν], the selected order of integration, and the possibility of infinite mass while excluding signed-integral Fubini.

Statement structure

From hypotheses to conclusion

Statement map for Tonelli's TheoremAn extended-nonnegative product-space integral equals the iterated integral obtained by integrating first against ν and then against μ. The pinned upstream declaration is MeasureTheory.lintegral_prod. The exact checked statement is theorem MeasureTheory.lintegral_prod {α β : Type*} [MeasurableSpace α] [MeasurableSpace β] {μ : Measure α} {ν : Measure β} [SFinite ν] (f : α × β → ℝ≥0∞) (hf : AEMeasurable f (μ.prod ν)) : ∫⁻ z, f z ∂μ.prod ν = ∫⁻ x, ∫⁻ y, f (x, y) ∂ν ∂μ.Mathematical readingAn extended-nonnegativeproduct-space integralequals the iteratedintegral obtained byintegrating firstagainst ν and thenagainst μ.Pinned declarationmathlib ·MeasureTheory.lintegral_prodExact checked formtheoremMeasureTheory.lintegral_prod{α β : Type*}[MeasurableSpace α][MeasurableSpace β] {μ :Measure α} {ν : Measureβ} [SFinite ν] (f : α ×β → ℝ≥0∞) (hf :AEMeasurable f (μ.prodν)) : ∫⁻ z, f z ∂μ.prodν = ∫⁻ x, ∫⁻ y, f (x, y)∂ν ∂μStatement map for Tonelli's TheoremAn extended-nonnegative product-space integral equals the iterated integral obtained by integrating first against ν and then against μ. The pinned upstream declaration is MeasureTheory.lintegral_prod. The exact checked statement is theorem MeasureTheory.lintegral_prod {α β : Type*} [MeasurableSpace α] [MeasurableSpace β] {μ : Measure α} {ν : Measure β} [SFinite ν] (f : α × β → ℝ≥0∞) (hf : AEMeasurable f (μ.prod ν)) : ∫⁻ z, f z ∂μ.prod ν = ∫⁻ x, ∫⁻ y, f (x, y) ∂ν ∂μ.Mathematical readingAn extended-nonnegativeproduct-space integralequals the iteratedintegral obtained byintegrating firstagainst ν and thenagainst μ.Pinned declarationmathlib ·MeasureTheory.lintegral_prodExact checked formtheoremMeasureTheory.lintegral_prod{α β : Type*}[MeasurableSpace α][MeasurableSpace β] {μ :Measure α} {ν : Measureβ} [SFinite ν] (f : α ×β → ℝ≥0∞) (hf :AEMeasurable f (μ.prodν)) : ∫⁻ z, f z ∂μ.prodν = ∫⁻ x, ∫⁻ y, f (x, y)∂ν ∂μ

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

The product-space mass is resolved along representative second-coordinate fibers and then accumulated along the first coordinate. Explanatory scientific diagram.
Detailed visual description

An entirely above-base product-space surface flows through representative parallel curtains into corresponding ordinary trough profiles. Forward-only gold guides carry those profiles into one continuous outer basin. The finite displayed family is illustrative rather than a claim that the measured family is finite, and the plain lower gold bridge compares the product and iterated constructions without medals, scales, symbols, or text.

Why it matters

A mathematical landmark

Tonelli's theorem is the fundamental nonnegative product-integration principle behind repeated integration, product probability spaces, and much of modern measure theory. Mathlib's declaration records the exact extended-nonnegative and almost-everywhere measurable form on an s-finite inner measure.

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 page indexes Mathlib's product-measure lintegral form of Tonelli's theorem. With measurable spaces α and β, measures μ and ν, [SFinite ν], and an ℝ≥0∞-valued f that is almost everywhere measurable for μ.prod ν, the product-space lintegral equals the iterated lintegral that integrates y against ν and then x against μ. The common value may be infinite. This selected endpoint is not the signed-integral Fubini theorem, does not itself exchange the two integration orders, and does not omit its measurability or SFinite hypothesis.

Source and local evidence

Where the theorem comes from

Existing declaration
MeasureTheory.lintegral_prod in mathlib
Relationship
The checked artifact is the upstream declaration itself
Local Lean evidence
artifact.library.mathlib.tonelli-theorem.v001
Source
Open the pinned upstream reference