{
  "artifactId": "artifact.library.mathlib.fundamental-theorem-arithmetic.v001",
  "candidateOnly": false,
  "category": "Number theory",
  "claimBoundary": "This target indexes Mathlib's uniqueness theorem for prime-factor lists: any list of primes with product n is a permutation of n.primeFactorsList. It does not claim an ordered factorization, a factorization algorithm, a new proof, or a new mathematical result.",
  "collectionSlug": "landmark-theorems-in-mathlib",
  "exactFormalStatement": "theorem Nat.primeFactorsList_unique {n : ℕ} {l : List ℕ} (h₁ : l.prod = n) (h₂ : ∀ p ∈ l, Nat.Prime p) : l.Perm n.primeFactorsList",
  "family": "Prime factorization",
  "id": "library.mathlib.fundamental-theorem-arithmetic.v001",
  "links": {
    "collection": "/collections/landmark-theorems-in-mathlib/",
    "collectionData": "/data/collections/mathlib-landmarks.json",
    "entry": "/library-theorems/fundamental-theorem-arithmetic/",
    "entryData": "/data/library-theorems/fundamental-theorem-arithmetic.json",
    "evidence": "/proofs/artifact.library.mathlib.fundamental-theorem-arithmetic.v001.html",
    "evidenceData": "/data/proofs/artifact.library.mathlib.fundamental-theorem-arithmetic.v001.evidence.json",
    "source": "/sources/upstream/fundamental-theorem-arithmetic/"
  },
  "landmark": {
    "completeFormalType": "theorem Nat.primeFactorsList_unique {n : ℕ} {l : List ℕ} (h₁ : l.prod = n) (h₂ : ∀ p ∈ l, Nat.Prime p) : l.Perm n.primeFactorsList",
    "concepts": [
      "prime factorization",
      "unique factorization",
      "list permutation",
      "natural numbers"
    ],
    "plainLanguage": "Prime factors are unique apart from their order: if a list contains only primes and multiplies to n, it contains exactly the same prime factors, with the same multiplicities, as n.primeFactorsList.",
    "poster": {
      "alt": "Editorial theorem poster states the prime-list product and primality hypotheses, rearranges five distinct factor stones, and concludes uniqueness up to permutation with a four-step reading guide.",
      "byteSize": 2768658,
      "caption": "Mathlib's selected declaration gives the uniqueness of prime-factor lists up to permutation.",
      "description": "The retained poster presents the exact hypotheses, permutation conclusion, reading sequence, and boundary of Nat.primeFactorsList_unique without adding a factorization algorithm or ordered-list claim.",
      "derivatives": [
        {
          "byteSize": 113480,
          "height": 960,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/fundamental-theorem-arithmetic/theorem-poster-v2-640.webp",
          "sha256": "sha256:2b9c851a5c52ead9e378e86808d615f51462d424372d7f40527ce08041da4963",
          "width": 640
        },
        {
          "byteSize": 262164,
          "height": 1536,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/fundamental-theorem-arithmetic/theorem-poster-v2-1024.webp",
          "sha256": "sha256:00fb005aab5a5f47e6b9d48d03a3715a7e9aa2cd2fd0d72e32b3d7783bc81aca",
          "width": 1024
        }
      ],
      "generatedAt": "2026-07-22T05:15:00Z",
      "height": 1536,
      "mediaType": "image/png",
      "modelRequested": "gpt-image-2",
      "publicPath": "/assets/library-theorems/fundamental-theorem-arithmetic/theorem-poster-v2.png",
      "sha256": "sha256:060fbba25df9890710ceeca98c0407ebf715ec810dc2d9728a3736096073580c",
      "title": "Fundamental Theorem of Arithmetic — exact Mathlib form",
      "width": 1024,
      "kind": "theorem_poster",
      "transcript": "NUMBER THEORY · PRIME-FACTOR UNIQUENESS\nFUNDAMENTAL THEOREM OF ARITHMETIC\nl.prod = n\nEvery member of l is prime\nl.Perm n.primeFactorsList\nSAME PRODUCT\nPRIME ENTRIES\nUNIQUE UP TO PERMUTATION\nHOW TO READ IT\n1 · Start with a finite prime list l\n2 · Multiply its entries to get n\n3 · Compare with n.primeFactorsList\n4 · The lists differ only by order\nEXACT SCOPE\nUniqueness up to permutation. No factorization algorithm or ordered-list claim."
    },
    "visual": {
      "alt": "Five distinct engraved stones follow gold permutation paths to the same five stones rearranged below.",
      "byteSize": 2953066,
      "caption": "A prime list with product n has the same entries, including multiplicity, as n.primeFactorsList; only their order may differ.",
      "description": "The theorem compares any finite all-prime list with the canonical prime-factor list after establishing that both multiply to the same natural number.",
      "derivatives": [
        {
          "byteSize": 62322,
          "height": 427,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/fundamental-theorem-arithmetic/theorem-schematic-v1-640.webp",
          "sha256": "sha256:6c9a3fe728bbe2567b2bc0923f2f1a32e26e45399665800ffdf5fea5620963bc",
          "width": 640
        },
        {
          "byteSize": 207298,
          "height": 800,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/fundamental-theorem-arithmetic/theorem-schematic-v1-1200.webp",
          "sha256": "sha256:854024e5271e6e3949f3765309e02344a2b2cf09fa4cfec975027d12aae6be7b",
          "width": 1200
        }
      ],
      "generatedAt": "2026-07-21T22:52:14Z",
      "height": 1024,
      "mediaType": "image/png",
      "modelRequested": "gpt-image-2",
      "publicPath": "/assets/library-theorems/fundamental-theorem-arithmetic/theorem-schematic-v1.png",
      "sha256": "sha256:185d73495447b0e808baf3620cb43c38c7a300cde7e65ef907dcd084d043cb6b",
      "title": "The same prime factors, in another order",
      "width": 1536
    },
    "walkthrough": null,
    "whyLandmark": "Unique prime factorization is the organizing principle behind elementary arithmetic and much of number theory. This declaration isolates its uniqueness half in an exact finite-list form."
  },
  "nonClaims": [
    "This selected declaration does not provide a factorization algorithm.",
    "It proves uniqueness up to permutation, not equality of arbitrarily ordered lists.",
    "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.fundamental-theorem-arithmetic.v001",
  "statusAxes": {
    "acceptedAtlasResult": "Not recorded for the preferred artifact",
    "locallyReproduced": "Exact upstream declaration replayed",
    "reviewedPage": "2 of 3 presentation reviews recorded",
    "upstreamIndexed": "Pinned source bytes verified locally"
  },
  "summary": "Any finite list of primes whose product is n is a permutation of Mathlib's canonical prime-factor list for n.",
  "targetId": "target.library.mathlib.fundamental-theorem-arithmetic.v001",
  "title": "Fundamental Theorem of Arithmetic",
  "upstreamOrigin": {
    "declarationName": "Nat.primeFactorsList_unique",
    "immutableSourceUrl": "https://github.com/leanprover-community/mathlib4/blob/5e932f97dd25535344f80f9dd8da3aab83df0fe6/Mathlib/Data/Nat/Factors.lean#L168",
    "packageName": "mathlib",
    "repositoryUrl": "https://github.com/leanprover-community/mathlib4",
    "sourceArtifactHash": "sha256:3e64e2c8ba907c05209966a7bba8754cf2ab33f328a3010667ffe58c95e0bca3",
    "sourceByteLength": 13297,
    "sourceCommit": "5e932f97dd25535344f80f9dd8da3aab83df0fe6",
    "sourceFile": "Mathlib/Data/Nat/Factors.lean",
    "sourceLine": 168,
    "verificationKind": "git_worktree"
  },
  "publicPresentationReview": {
    "status": "reviewed"
  }
}
