{
  "artifactId": "artifact.library.mathlib.banach-fixed-point-theorem.v001",
  "candidateOnly": false,
  "category": "Analysis",
  "claimBoundary": "This target indexes Mathlib's complete extended-metric-space contraction theorem from a starting point with finite first displacement. It gives a fixed point, convergence of iterates, and a geometric error bound. Uniqueness is a companion theorem, not part of this selected declaration.",
  "collectionSlug": "landmark-theorems-in-mathlib",
  "exactFormalStatement": "theorem ContractingWith.exists_fixedPoint {α : Type*} [EMetricSpace α] {K : NNReal} {f : α → α} [CompleteSpace α] (hf : ContractingWith K f) (x : α) (hx : edist x (f x) ≠ ⊤) : ∃ y, Function.IsFixedPt f y ∧ Filter.Tendsto (fun n ↦ f^[n] x) Filter.atTop (nhds y) ∧ ∀ n : ℕ, edist (f^[n] x) y ≤ edist x (f x) * (K : ENNReal) ^ n / (1 - (K : ENNReal))",
  "family": "Metric fixed-point theory",
  "id": "library.mathlib.banach-fixed-point-theorem.v001",
  "links": {
    "collection": "/collections/landmark-theorems-in-mathlib/",
    "collectionData": "/data/collections/mathlib-landmarks.json",
    "entry": "/library-theorems/banach-fixed-point-theorem/",
    "entryData": "/data/library-theorems/banach-fixed-point-theorem.json",
    "evidence": "/proofs/artifact.library.mathlib.banach-fixed-point-theorem.v001.html",
    "evidenceData": "/data/proofs/artifact.library.mathlib.banach-fixed-point-theorem.v001.evidence.json",
    "source": "/sources/upstream/banach-fixed-point-theorem/"
  },
  "landmark": {
    "completeFormalType": "theorem ContractingWith.exists_fixedPoint {α : Type*} [EMetricSpace α] {K : NNReal} {f : α → α} [CompleteSpace α] (hf : ContractingWith K f) (x : α) (hx : edist x (f x) ≠ ⊤) : ∃ y, Function.IsFixedPt f y ∧ Filter.Tendsto (fun n ↦ f^[n] x) Filter.atTop (nhds y) ∧ ∀ n : ℕ, edist (f^[n] x) y ≤ edist x (f x) * (K : ENNReal) ^ n / (1 - (K : ENNReal))",
    "concepts": [
      "contraction mapping",
      "fixed point",
      "complete metric space",
      "geometric convergence",
      "error bound"
    ],
    "plainLanguage": "Repeatedly apply a map that shrinks distances by a factor below one. In a complete space the iterates converge to a point left unchanged by the map, and the theorem quantifies how far each iterate can still be from that point.",
    "poster": {
      "alt": "Editorial theorem poster places the contraction hypotheses above one shrinking iterate orbit and states fixedness, convergence, and the geometric extended-distance bound with a four-step proof guide.",
      "byteSize": 2643638,
      "caption": "The selected Mathlib declaration gives a fixed point, convergence from the chosen start, and an explicit error bound.",
      "description": "The retained poster presents the complete-space contraction hypotheses, the single chosen orbit, all three conclusions, the proof architecture, and the exact boundary that uniqueness belongs to a companion theorem.",
      "derivatives": [
        {
          "byteSize": 123770,
          "height": 960,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/theorem-poster-v1-640.webp",
          "sha256": "sha256:1e3f54b39174b39a421447e94084be417b7c3e48373eba0762be8b7e63e949b1",
          "width": 640
        },
        {
          "byteSize": 279474,
          "height": 1536,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/theorem-poster-v1-1024.webp",
          "sha256": "sha256:666e6200bc7b9771a90e3b592158e59cbfbd651e93f00ac26c339253ccf0bb17",
          "width": 1024
        }
      ],
      "generatedAt": "2026-07-21T23:17:52Z",
      "height": 1536,
      "mediaType": "image/png",
      "modelRequested": "gpt-image-2",
      "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/theorem-poster-v1.png",
      "sha256": "sha256:63aa00889cb5b06edf65582b6924109c59927cc3616a6e48f7180f999a5a7926",
      "title": "Banach Fixed-Point Theorem — existence, convergence, and error",
      "width": 1024,
      "kind": "theorem_poster",
      "transcript": "ANALYSIS · CONTRACTIONS IN A COMPLETE SPACE\nBANACH FIXED-POINT THEOREM\nK < 1\nedist(f(u), f(v)) ≤ K · edist(u, v)\nedist(x, f(x)) < ∞\nx\nf(x)\nf²(x)\nf³(x)\nfⁿ(x)\ny\nThere exists y with f(y) = y\nf^[n](x) → y\nedist(f^[n](x), y) ≤ edist(x, f(x)) · K^n / (1 − K)\nHOW THE PROOF MOVES\n1 · Iterate the contraction from x\n2 · Bound successive gaps geometrically\n3 · Use completeness to obtain a limit y\n4 · Pass to f(y) = y and retain the error bound\nEXACT SCOPE\nExistence, convergence, and error bound. Uniqueness is not part of this selected declaration."
    },
    "visual": {
      "alt": "One emerald chain of iterates crosses nested cobalt complete-space contours toward a luminous gold endpoint, with successive gaps and their comparison arcs shrinking geometrically.",
      "byteSize": 2917358,
      "caption": "A geometric contraction makes the iterates Cauchy; completeness supplies their fixed-point limit.",
      "description": "The proof controls consecutive iterate gaps by a geometric power, obtains a Cauchy sequence, invokes completeness, and passes the limit through the continuous contraction.",
      "derivatives": [
        {
          "byteSize": 42018,
          "height": 427,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/theorem-schematic-v1-640.webp",
          "sha256": "sha256:6cf8122c75c5d3a01c0c718e8e531c0d2c7a1dc17553c86fb683eded49d9e5b6",
          "width": 640
        },
        {
          "byteSize": 161634,
          "height": 800,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/theorem-schematic-v1-1200.webp",
          "sha256": "sha256:48509e335224dc2d90cf719a4ae936fb3716d42f62226320e79c4567d077b7f9",
          "width": 1200
        }
      ],
      "generatedAt": "2026-07-21T22:47:21Z",
      "height": 1024,
      "mediaType": "image/png",
      "modelRequested": "gpt-image-2",
      "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/theorem-schematic-v1.png",
      "sha256": "sha256:e842f8e325bf78d4aeecf628fe6b0e5182cbefe21e84d5c31d729cb03b8c3d15",
      "title": "A contracting orbit converges",
      "width": 1536
    },
    "walkthrough": {
      "introduction": "Mathlib follows the iterates of one starting point under a contraction in a complete extended metric space. A geometric bound makes the orbit Cauchy, completeness supplies its limit, and continuity fixes that limit while retaining an explicit error estimate.",
      "pages": [
        {
          "alt": "A single emerald orbit crosses nested cobalt contours toward a luminous gold endpoint, with every successive gap and its gold comparison arc smaller than the last.",
          "byteSize": 3286375,
          "caption": "Contraction makes successive iterate gaps decay geometrically from the finite first displacement.",
          "description": "hf.toLipschitzWith.edist_iterate_succ_le_geometric x bounds the gap between consecutive iterates by the initial displacement multiplied by a power of K. The hypothesis K<1 supplies geometric decay.",
          "derivatives": [
            {
              "byteSize": 43186,
              "height": 427,
              "mediaType": "image/webp",
              "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/proof-walkthrough-01-v1-640.webp",
              "sha256": "sha256:97486c6d8c244e8f9cf957adefe84459a9f10b184868deecb6df0e88132b1bf2",
              "width": 640
            },
            {
              "byteSize": 199084,
              "height": 800,
              "mediaType": "image/webp",
              "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/proof-walkthrough-01-v1-1200.webp",
              "sha256": "sha256:4b4b97228dd2bcaab160e9a084867cb7eff862c68d379130a96d35a7cf6edb4d",
              "width": 1200
            }
          ],
          "generatedAt": "2026-07-21T23:24:52Z",
          "height": 1024,
          "mediaType": "image/png",
          "modelRequested": "gpt-image-2",
          "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/proof-walkthrough-01-v1.png",
          "sha256": "sha256:5deaa643eefe4e6180d0b50dd2892249169aa300e9da169996d8ae71283cc3de",
          "title": "Control successive iterate gaps",
          "width": 1536,
          "equation": "edist (f^[n] x) (f^[n+1] x) ≤ edist x (f x) * K^n",
          "kind": "proof_walkthrough_page",
          "sequenceIndex": 1
        },
        {
          "alt": "The same emerald orbit becomes tightly clustered near the same gold endpoint as nested cobalt contours and gold envelopes contract around its late iterates.",
          "byteSize": 3089390,
          "caption": "The summable geometric envelope forces all sufficiently late iterates to cluster together.",
          "description": "cauchySeq_of_edist_le_geometric combines the shrinking successive-gap estimate, K<1, and the finite initial extended distance to prove that the iterate sequence is Cauchy.",
          "derivatives": [
            {
              "byteSize": 35052,
              "height": 427,
              "mediaType": "image/webp",
              "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/proof-walkthrough-02-v1-640.webp",
              "sha256": "sha256:6e625e17f5219dbcfccd0b8cdcb89dd54a0e8fa2af1ca66584da03165e38e6dd",
              "width": 640
            },
            {
              "byteSize": 169912,
              "height": 800,
              "mediaType": "image/webp",
              "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/proof-walkthrough-02-v1-1200.webp",
              "sha256": "sha256:68baa603cbcdc0ebc3d8b2db67d47b8b8445c20015ec3899f7697bb2d9e33bb5",
              "width": 1200
            }
          ],
          "generatedAt": "2026-07-21T23:36:46Z",
          "height": 1024,
          "mediaType": "image/png",
          "modelRequested": "gpt-image-2",
          "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/proof-walkthrough-02-v1.png",
          "sha256": "sha256:31e7baf1900943528983a3e151902c5673eca8d10621381da56be852c2f8dfb8",
          "title": "Turn the geometric bound into a Cauchy sequence",
          "width": 1536,
          "equation": "CauchySeq (fun n ↦ f^[n] x)",
          "kind": "proof_walkthrough_page",
          "sequenceIndex": 2
        },
        {
          "alt": "The same shrinking emerald orbit is resolved inside nested cobalt complete-space contours at one luminous gold limit point.",
          "byteSize": 3082881,
          "caption": "Completeness turns the Cauchy orbit into convergence toward a point y in the space.",
          "description": "Because the extended metric space is complete, cauchySeq_tendsto_of_complete supplies a point y together with convergence of f^[n] x to y.",
          "derivatives": [
            {
              "byteSize": 37784,
              "height": 427,
              "mediaType": "image/webp",
              "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/proof-walkthrough-03-v1-640.webp",
              "sha256": "sha256:be2046e0b2e970c7578d956d3e5b4634fb1720f6ae1d1bf98516ade760638319",
              "width": 640
            },
            {
              "byteSize": 181308,
              "height": 800,
              "mediaType": "image/webp",
              "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/proof-walkthrough-03-v1-1200.webp",
              "sha256": "sha256:28835027f1a2f32c28b34286f9cc50be5a88f5234cc2fab91b96ce5297d6b3e7",
              "width": 1200
            }
          ],
          "generatedAt": "2026-07-21T23:31:53Z",
          "height": 1024,
          "mediaType": "image/png",
          "modelRequested": "gpt-image-2",
          "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/proof-walkthrough-03-v1.png",
          "sha256": "sha256:e731ed4f00b623b1a6068ee0b4a3146376245b60ab219d767616d5d6a0a54360",
          "title": "Use completeness to obtain the limit",
          "width": 1536,
          "equation": "Tendsto (fun n ↦ f^[n] x) atTop (𝓝 y)",
          "kind": "proof_walkthrough_page",
          "sequenceIndex": 3
        },
        {
          "alt": "The same emerald iterates converge to the same gold endpoint, now marked by one small self-return loop while the geometric error envelope remains visible.",
          "byteSize": 3051327,
          "caption": "Continuity makes the limit a fixed point, and the same geometric envelope bounds every remaining error.",
          "description": "isFixedPt_of_tendsto_iterate uses convergence and continuity of the Lipschitz map to prove f y = y. edist_le_of_edist_le_geometric_of_tendsto then retains the explicit bound on the distance from every iterate to y.",
          "derivatives": [
            {
              "byteSize": 40156,
              "height": 427,
              "mediaType": "image/webp",
              "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/proof-walkthrough-04-v1-640.webp",
              "sha256": "sha256:8c57e3f884c3ea62085b314cf9cc5551cdf028ab4d7edc85137122dac5ed531d",
              "width": 640
            },
            {
              "byteSize": 171320,
              "height": 800,
              "mediaType": "image/webp",
              "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/proof-walkthrough-04-v1-1200.webp",
              "sha256": "sha256:ce8e80c856151a2609e413f2292175c5f9b95b5234e6658b87626017d0638abb",
              "width": 1200
            }
          ],
          "generatedAt": "2026-07-21T23:32:56Z",
          "height": 1024,
          "mediaType": "image/png",
          "modelRequested": "gpt-image-2",
          "publicPath": "/assets/library-theorems/banach-fixed-point-theorem/proof-walkthrough-04-v1.png",
          "sha256": "sha256:fa5419c59a211bde68b72bd2f1bc065110fdfc7f936f7c22e55f01e248f2b140",
          "title": "Fix the limit and retain the error bound",
          "width": 1536,
          "equation": "f y = y ∧ edist (f^[n] x) y ≤ edist x (f x) * K^n / (1-K)",
          "kind": "proof_walkthrough_page",
          "sequenceIndex": 4
        }
      ],
      "title": "From geometric contraction to a fixed point"
    },
    "whyLandmark": "Banach's theorem converts quantitative shrinking into existence and convergence. It underlies iterative numerical methods, differential and integral equations, and many constructive existence arguments."
  },
  "nonClaims": [
    "The selected declaration does not itself state uniqueness of the fixed point.",
    "It assumes a complete extended metric space and finite first displacement from the chosen start.",
    "ProofAtlas is indexing an existing Mathlib theorem, not claiming a new proof."
  ],
  "publicExportEligible": true,
  "relationship": "upstream_direct",
  "schemaVersion": "library-theorem-entry-data.v1",
  "statementId": "statement.library.mathlib.banach-fixed-point-theorem.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": "A contraction on a complete extended metric space has a fixed point reached by iterating from any chosen point with finite first displacement, together with an explicit geometric error bound.",
  "targetId": "target.library.mathlib.banach-fixed-point-theorem.v001",
  "title": "Banach Fixed-Point Theorem",
  "upstreamOrigin": {
    "declarationName": "ContractingWith.exists_fixedPoint",
    "immutableSourceUrl": "https://github.com/leanprover-community/mathlib4/blob/5e932f97dd25535344f80f9dd8da3aab83df0fe6/Mathlib/Topology/MetricSpace/Contracting.lean#L94",
    "packageName": "mathlib",
    "repositoryUrl": "https://github.com/leanprover-community/mathlib4",
    "sourceArtifactHash": "sha256:bb620eaf02513b0bbe49e60e93fb6abfd645f5934c7c7dc2ad9c579a1a495b75",
    "sourceByteLength": 15870,
    "sourceCommit": "5e932f97dd25535344f80f9dd8da3aab83df0fe6",
    "sourceFile": "Mathlib/Topology/MetricSpace/Contracting.lean",
    "sourceLine": 94,
    "verificationKind": "git_worktree"
  },
  "publicPresentationReview": {
    "status": "reviewed"
  }
}
