{
  "artifactId": "artifact.library.mathlib.ostrowski-theorem.v001",
  "candidateOnly": false,
  "category": "Number theory",
  "claimBoundary": "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.",
  "collectionSlug": "landmark-theorems-in-mathlib",
  "exactFormalStatement": "theorem Rat.AbsoluteValue.equiv_real_or_padic (f : AbsoluteValue ℚ ℝ) (hf_nontriv : f.IsNontrivial) : f ≈ real ∨ ∃! p, ∃ (_ : Fact p.Prime), f ≈ (padic p)",
  "family": "Absolute values and places",
  "id": "library.mathlib.ostrowski-theorem.v001",
  "links": {
    "collection": "/collections/landmark-theorems-in-mathlib/",
    "collectionData": "/data/collections/mathlib-landmarks.json",
    "entry": "/library-theorems/ostrowski-theorem/",
    "entryData": "/data/library-theorems/ostrowski-theorem.json",
    "evidence": "/proofs/artifact.library.mathlib.ostrowski-theorem.v001.html",
    "evidenceData": "/data/proofs/artifact.library.mathlib.ostrowski-theorem.v001.evidence.json",
    "source": "/sources/upstream/ostrowski-theorem/"
  },
  "landmark": {
    "completeFormalType": "theorem Rat.AbsoluteValue.equiv_real_or_padic (f : AbsoluteValue ℚ ℝ) (hf_nontriv : f.IsNontrivial) : f ≈ real ∨ ∃! p, ∃ (_ : Fact p.Prime), f ≈ (padic p)",
    "concepts": [
      "Ostrowski's theorem",
      "absolute values",
      "equivalent absolute values",
      "Archimedean absolute value",
      "p-adic absolute value",
      "rational numbers"
    ],
    "plainLanguage": "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.",
    "poster": {
      "alt": "An ivory number-theory poster classifies every nontrivial absolute value from the rationals to the reals up to equivalence. Its two branches are explicitly unbounded on natural numbers for the standard real class and bounded on natural numbers for one unique p-adic class.",
      "byteSize": 2209698,
      "caption": "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.",
      "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 ℝ.",
      "derivatives": [
        {
          "byteSize": 95274,
          "height": 960,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/ostrowski-theorem/theorem-poster-v2-640.webp",
          "sha256": "sha256:edadafd968db37929550352b788939ead22c72a5eb02c6ba61f40d266e7b4939",
          "width": 640
        },
        {
          "byteSize": 188292,
          "height": 1536,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/ostrowski-theorem/theorem-poster-v2-1024.webp",
          "sha256": "sha256:98dec0d93751fc484d9a656bdac0ea5de908a17cff953cb77ebbc5b8f5da1762",
          "width": 1024
        }
      ],
      "generatedAt": "2026-09-05T07:27:06-04:00",
      "height": 1536,
      "mediaType": "image/png",
      "modelRequested": "gpt-image-2",
      "publicPath": "/assets/library-theorems/ostrowski-theorem/theorem-poster-v2.png",
      "sha256": "sha256:12129d7f9042e1760825514900a9bee5b83fdb6d1a743246cd4379fb91916caa",
      "title": "Ostrowski's theorem — the real class or one unique p-adic class",
      "width": 1024,
      "kind": "theorem_poster",
      "transcript": "NUMBER THEORY · ABSOLUTE VALUES ON ℚ\nOSTROWSKI'S THEOREM\nEvery nontrivial absolute value f : ℚ → ℝ\nis equivalent to the standard real absolute value\nor to the p-adic absolute value for one unique prime p.\nEQUIVALENT, NOT EQUAL\nThe same ordering of sizes, up to a positive-power rescaling.\nTHE CHECKED DICHOTOMY\nUNBOUNDED ON NATURAL NUMBERS\nSTANDARD REAL CLASS\nBOUNDED ON NATURAL NUMBERS\nUNIQUE p-ADIC CLASS\nEXACT SCOPE\nℚ to ℝ only. No arbitrary global-field or codomain claim."
    },
    "visual": {
      "alt": "A dark engraved schematic sends one rational absolute-value lens along a branch labelled unbounded on natural numbers to the real class or a branch labelled bounded on natural numbers to one highlighted p-adic prime class.",
      "byteSize": 2203625,
      "caption": "Unbounded values on natural numbers lead to the standard real class; values bounded on natural numbers determine one unique p-adic class.",
      "description": "A double-struck rational medallion feeds one rescaling lens and splits into two structurally different branches. The branch labels explicitly concern the absolute value on natural-number inputs: unbounded values lead to the standard real class, while values bounded above by one lead to one unique p-adic class. An expanding calibrated arc represents the real class, and concentric emerald valuation rings focus on one selected gold prime. The bounded label is not a claim about all rational inputs; alternative prime medallions remain outside the selected route.",
      "derivatives": [
        {
          "byteSize": 32608,
          "height": 427,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/ostrowski-theorem/theorem-schematic-v2-640.webp",
          "sha256": "sha256:efcb45697fefcc2e702df1c07483bff8755ec43b50024ddf2a92e53091967c08",
          "width": 640
        },
        {
          "byteSize": 87648,
          "height": 800,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/ostrowski-theorem/theorem-schematic-v2-1200.webp",
          "sha256": "sha256:dfcb0431f4cad0fa0b45c5329dfe7e11cd4d2a7771da1fafb84411175bd8597a",
          "width": 1200
        }
      ],
      "generatedAt": "2026-09-05T07:27:54-04:00",
      "height": 1024,
      "mediaType": "image/png",
      "modelRequested": "gpt-image-2",
      "publicPath": "/assets/library-theorems/ostrowski-theorem/theorem-schematic-v2.png",
      "sha256": "sha256:8ce65f42b7639259e19fb43f71cabc6a62d29d1e0c4df760347677978f861134",
      "title": "The rational absolute-value dichotomy",
      "width": 1536
    },
    "walkthrough": null,
    "whyLandmark": "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."
  },
  "nonClaims": [
    "Equivalent absolute values need not be equal; equivalence preserves comparisons of sizes and, here, corresponds to positive-power rescaling.",
    "The theorem assumes the absolute value is nontrivial.",
    "The selected declaration is over ℚ with codomain ℝ, not over arbitrary global fields or arbitrary valuation codomains.",
    "It is not a product formula, completion theorem, or algorithm for finding a prime from numerical samples.",
    "ProofAtlas is indexing an existing Mathlib theorem, not claiming new mathematics."
  ],
  "publicExportEligible": true,
  "relationship": "upstream_direct",
  "schemaVersion": "library-theorem-entry-data.v1",
  "statementId": "statement.library.mathlib.ostrowski-theorem.v001",
  "statusAxes": {
    "acceptedAtlasResult": "Not recorded for the preferred artifact",
    "locallyReproduced": "Exact upstream declaration replayed",
    "reviewedPage": "Current public presentation reviewed",
    "upstreamIndexed": "Pinned source bytes verified locally"
  },
  "summary": "Every 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.",
  "targetId": "target.library.mathlib.ostrowski-theorem.v001",
  "title": "Ostrowski's Theorem",
  "upstreamOrigin": {
    "declarationName": "Rat.AbsoluteValue.equiv_real_or_padic",
    "immutableSourceUrl": "https://github.com/leanprover-community/mathlib4/blob/5e932f97dd25535344f80f9dd8da3aab83df0fe6/Mathlib/NumberTheory/Ostrowski.lean#L466",
    "packageName": "mathlib",
    "repositoryUrl": "https://github.com/leanprover-community/mathlib4",
    "sourceArtifactHash": "sha256:4cb972c590d300b3be4c4a8092c522cc200f499b7940c845494957cbdbcd784d",
    "sourceByteLength": 21866,
    "sourceCommit": "5e932f97dd25535344f80f9dd8da3aab83df0fe6",
    "sourceFile": "Mathlib/NumberTheory/Ostrowski.lean",
    "sourceLine": 466,
    "verificationKind": "git_worktree"
  },
  "publicPresentationReview": {
    "status": "reviewed"
  }
}
