Mathlib theorem · Existing formal mathematics

Existing in Mathlib · Number theory

Ostrowski's Theorem

Every nontrivial real-valued absolute value on the rational numbers measures size in one of two ways up to rescaling: like the usual real absolute value, or like the p-adic absolute value for one uniquely determined prime p.

Exact theorem

Exact Mathlib statement

theorem Rat.AbsoluteValue.equiv_real_or_padic (f : AbsoluteValue ℚ ℝ) (hf_nontriv : f.IsNontrivial) : f ≈ real ∨ ∃! p, ∃ (_ : Fact p.Prime), f ≈ (padic p)

The theorem at a glance

Ostrowski's theorem — the real class or one unique p-adic class

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

Over ℚ with values in ℝ, every nontrivial absolute value belongs to the standard real equivalence class or to one uniquely determined p-adic class; the displayed boundedness split concerns its values on natural numbers. Explanatory diagram.
Detailed visual description

The sparse engraved poster distinguishes equivalence from equality before splitting a rational fraction-wheel into the standard real class, whose values on natural numbers are unbounded, and one unique p-adic class, whose values on natural numbers are bounded above by one. Both branch labels explicitly name natural numbers; they do not assert that a p-adic absolute value is bounded on all of ℚ. The nested p-adic branch is centered on one gold prime, and the footer keeps the statement within ℚ and ℝ.

Statement structure

Statement and scope

Statement map for Ostrowski's TheoremEvery nontrivial real-valued absolute value on ℚ is equivalent to the standard real absolute value or to a p-adic absolute value for one unique prime. Claim boundary: This target indexes Mathlib's classification of nontrivial absolute values f : AbsoluteValue ℚ ℝ. The conclusion is equivalence, not equality: f is equivalent to the standard real absolute value, or there is a unique natural number p carrying a prime instance for which f is equivalent to the p-adic absolute value. The declaration concerns ℚ with values in ℝ; it does not classify absolute values over arbitrary global fields or valuations with arbitrary codomains. The pinned upstream declaration is Rat.AbsoluteValue.equiv_real_or_padic. The complete formal statement is available in the Exact Mathlib statement section.Mathematical readingEvery nontrivialreal-valued absolutevalue on ℚ is equivalentto the standard realabsolute value or to ap-adic absolute valuefor one unique prime.Claim boundaryThis target indexesMathlib's classificationof nontrivial absolutevalues f : AbsoluteValueℚ ℝ. The conclusion isequivalence, notequality: f isequivalent to thestandard real absolutevalue, or there is aunique natural number pcarrying a primeinstance for which f isequivalent to the p-adicabsolute value. Thedeclaration concerns ℚwith values in ℝ; itdoes not classifyabsolute values overarbitrary global fieldsor valuations witharbitrary codomains.Pinned declarationmathlib ·Rat.AbsoluteValue.equiv_real_or_padicStatement map for Ostrowski's TheoremEvery nontrivial real-valued absolute value on ℚ is equivalent to the standard real absolute value or to a p-adic absolute value for one unique prime. Claim boundary: This target indexes Mathlib's classification of nontrivial absolute values f : AbsoluteValue ℚ ℝ. The conclusion is equivalence, not equality: f is equivalent to the standard real absolute value, or there is a unique natural number p carrying a prime instance for which f is equivalent to the p-adic absolute value. The declaration concerns ℚ with values in ℝ; it does not classify absolute values over arbitrary global fields or valuations with arbitrary codomains. The pinned upstream declaration is Rat.AbsoluteValue.equiv_real_or_padic. The complete formal statement is available in the Exact Mathlib statement section.Mathematical readingEvery nontrivialreal-valued absolutevalue on ℚ is equivalentto the standard realabsolute value or to ap-adic absolute valuefor one unique prime.Claim boundaryThis target indexesMathlib's classificationof nontrivial absolutevalues f : AbsoluteValueℚ ℝ. The conclusion isequivalence, notequality: f isequivalent to thestandard real absolutevalue, or there is aunique natural number pcarrying a primeinstance for which f isequivalent to the p-adicabsolute value. Thedeclaration concerns ℚwith values in ℝ; itdoes not classifyabsolute values overarbitrary global fieldsor valuations witharbitrary codomains.Pinned declarationmathlib ·Rat.AbsoluteValue.equiv_real_or_padic

Read the exact Mathlib declaration

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

A nontrivial absolute value on Q is archimedean or p-adic up to equivalence. Explanatory scientific diagram.
Detailed visual description

This target indexes Mathlib's classification of nontrivial absolute values f : AbsoluteValue ℚ ℝ. The conclusion is equivalence, not equality: f is equivalent to the standard real absolute value, or there is a unique natural number p carrying a prime instance for which f is equivalent to the p-adic absolute value. The declaration concerns ℚ with values in ℝ; it does not classify absolute values over arbitrary global fields or valuations with arbitrary codomains.

Why it matters

A mathematical landmark

Ostrowski's theorem gives the definitive classification of nontrivial real-valued absolute values on ℚ, separating the familiar Archimedean size from the p-adic sizes that organize local number theory.

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 classification of nontrivial absolute values f : AbsoluteValue ℚ ℝ. The conclusion is equivalence, not equality: f is equivalent to the standard real absolute value, or there is a unique natural number p carrying a prime instance for which f is equivalent to the p-adic absolute value. The declaration concerns ℚ with values in ℝ; it does not classify absolute values over arbitrary global fields or valuations with arbitrary codomains.

Source and local evidence

Where the theorem comes from

Existing declaration
Rat.AbsoluteValue.equiv_real_or_padic in mathlib
Relationship
The checked artifact is the upstream declaration itself
Local Lean evidence
artifact.library.mathlib.ostrowski-theorem.v001
Source
Open the pinned upstream reference