{
  "artifactId": "artifact.library.mathlib.lagrange-theorem.v001",
  "candidateOnly": false,
  "category": "Group theory",
  "claimBoundary": "This is Mathlib's Nat.card divisibility formulation. The declaration has no explicit finiteness hypothesis, and the page does not replace its exact type with a stronger index formula or claim a new proof.",
  "collectionSlug": "landmark-theorems-in-mathlib",
  "exactFormalStatement": "theorem Subgroup.card_subgroup_dvd_card {α : Type u} [Group α] (s : Subgroup α) : Nat.card s ∣ Nat.card α",
  "family": "Subgroups and cardinality",
  "id": "library.mathlib.lagrange-theorem.v001",
  "links": {
    "collection": "/collections/landmark-theorems-in-mathlib/",
    "collectionData": "/data/collections/mathlib-landmarks.json",
    "entry": "/library-theorems/lagrange-theorem/",
    "entryData": "/data/library-theorems/lagrange-theorem.json",
    "evidence": "/proofs/artifact.library.mathlib.lagrange-theorem.v001.html",
    "evidenceData": "/data/proofs/artifact.library.mathlib.lagrange-theorem.v001.evidence.json",
    "source": "/sources/upstream/lagrange-theorem/"
  },
  "landmark": {
    "completeFormalType": "Subgroup.card_subgroup_dvd_card {α : Type u} [Group α] (s : Subgroup α) : Nat.card s ∣ Nat.card α",
    "concepts": [
      "groups",
      "subgroups",
      "cardinality",
      "divisibility"
    ],
    "plainLanguage": "For a subgroup inside a group, Mathlib's natural-number cardinality of the subgroup divides the natural-number cardinality of the whole group.",
    "poster": {
      "alt": "An ivory theorem poster shows a subgroup inside an ambient group, repeated equal cosets, and the exact Nat.card divisibility statement, with separate finite-case intuition and infinite-type convention panels.",
      "byteSize": 2330085,
      "caption": "Equal cosets motivate the familiar finite case while the poster keeps Mathlib's finiteness-free Nat.card divisibility form authoritative.",
      "description": "A subgroup cluster sits inside a larger group shown with several congruent coset-shaped regions. The flow ends at Nat.card s dividing Nat.card alpha. Three lower panels say there is no explicit finiteness hypothesis, explain that Nat.card is zero on infinite types, and exclude index-formula and element-order claims.",
      "derivatives": [
        {
          "byteSize": 99732,
          "height": 960,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/lagrange-theorem/theorem-poster-v1-640.webp",
          "sha256": "sha256:659a6f352e56ffcb8f198f132bf93bef0cfba68820289d8d4ef37252a57dcff8",
          "width": 640
        },
        {
          "byteSize": 193682,
          "height": 1536,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/lagrange-theorem/theorem-poster-v1-1024.webp",
          "sha256": "sha256:8c1f897dfaef0a2216e042f963e97e0c7d98b23424c1dfbb0d437f5059575c49",
          "width": 1024
        }
      ],
      "generatedAt": "2026-07-18T16:11:59.106Z",
      "height": 1536,
      "mediaType": "image/png",
      "modelRequested": "gpt-image-2",
      "publicPath": "/assets/library-theorems/lagrange-theorem/theorem-poster-v1.png",
      "sha256": "sha256:c060d7e85745950216024e3a9e0d20a32dcc82cefb308c8f585c8f33ba6a872e",
      "title": "Lagrange's Theorem at a glance",
      "width": 1024,
      "kind": "theorem_poster",
      "transcript": "GROUP THEORY · SUBGROUP CARDINALITY\nLAGRANGE'S THEOREM\ns ≤ α\nNat.card s ∣ Nat.card α\nSUBGROUP\nEQUAL COSETS\nAMBIENT GROUP\nFINITE-CASE INTUITION\nTranslated cosets have equal size.\nEXACT MATHLIB FORM\nNo explicit finiteness hypothesis.\nNat.card is 0 on infinite types.\nEXACT SCOPE\nDivisibility of Nat.card. Not an index formula or element-order theorem."
    },
    "visual": {
      "alt": "One emerald subgroup cluster is surrounded by seven congruent cobalt clusters that tile a larger circular group.",
      "byteSize": 2726084,
      "caption": "Equal-size translated clusters suggest how subgroup cardinality divides the ambient group cardinality.",
      "description": "A central emerald seven-node cluster is repeated as congruent cobalt-and-ivory clusters around a larger circle. Fine gold arrows link the equal pieces, presenting the familiar coset intuition behind the divisibility statement.",
      "derivatives": [
        {
          "byteSize": 26526,
          "height": 427,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/lagrange-theorem/theorem-schematic-v1-640.webp",
          "sha256": "sha256:459d6a928c29f240f2d4393cbb1025c816cd6cf08e1d7f992f471653969e6aab",
          "width": 640
        },
        {
          "byteSize": 85170,
          "height": 800,
          "mediaType": "image/webp",
          "publicPath": "/assets/library-theorems/lagrange-theorem/theorem-schematic-v1-1200.webp",
          "sha256": "sha256:1f60d984d4b8ebf27c6aec81769fc5b493de4aa65c80201b0e170839e6419464",
          "width": 1200
        }
      ],
      "generatedAt": "2026-07-17T19:57:52Z",
      "height": 1024,
      "mediaType": "image/png",
      "modelRequested": "gpt-image-2",
      "publicPath": "/assets/library-theorems/lagrange-theorem/theorem-schematic-v1.png",
      "sha256": "sha256:a6c84c3da28bb1aa83dd4f25582447c60398abf029e9a48bf2115695ce62a8de",
      "title": "Equal coset cluster schematic",
      "width": 1536
    },
    "walkthrough": {
      "introduction": "Mathlib obtains the exact Nat.card product identity from the equivalence between the ambient group and quotient–subgroup pairs, then simplifies that identity to the divisibility statement. The familiar equal-coset picture is finite-case intuition; the declaration itself has no explicit finiteness hypothesis.",
      "pages": [
        {
          "alt": "Cobalt quotient medallions pair by gold threads with identical seven-node forest-green subgroup rosettes, which assemble inside one oval ambient-group field.",
          "byteSize": 3503343,
          "caption": "The quotient–subgroup product equivalence pairs each coset position with one subgroup element, yielding the ambient natural-cardinality product.",
          "description": "The equivalence Subgroup.groupEquivQuotientProdSubgroup identifies the ambient group with the product of its left-coset quotient and the subgroup. Nat.card_congr together with Nat.card_prod converts that equivalence into the exact natural-cardinality product identity.",
          "derivatives": [
            {
              "byteSize": 61706,
              "height": 427,
              "mediaType": "image/webp",
              "publicPath": "/assets/library-theorems/lagrange-theorem/proof-walkthrough-01-v2-640.webp",
              "sha256": "sha256:d59641dc8c5d634b51a350be81bedf009743510bd232fbf594772f622f509740",
              "width": 640
            },
            {
              "byteSize": 235220,
              "height": 800,
              "mediaType": "image/webp",
              "publicPath": "/assets/library-theorems/lagrange-theorem/proof-walkthrough-01-v2-1200.webp",
              "sha256": "sha256:3c63aeb35796eb5e8ecea038069fcaa85c2632b85632b95938c6fe60a36bc7a0",
              "width": 1200
            }
          ],
          "generatedAt": "2026-07-20T22:20:00Z",
          "height": 1024,
          "mediaType": "image/png",
          "modelRequested": "gpt-image-2",
          "publicPath": "/assets/library-theorems/lagrange-theorem/proof-walkthrough-01-v2.png",
          "sha256": "sha256:f368840da82844c73e6a7ce69d2ac3060ee25d026e7e6732659507bfb4aaed67",
          "title": "Pair quotient positions with subgroup elements",
          "width": 1536,
          "equation": "Nat.card α = Nat.card (α ⧸ s) * Nat.card s",
          "kind": "proof_walkthrough_page",
          "sequenceIndex": 1
        },
        {
          "alt": "One seven-node green subgroup rosette feeds a gold path through a field assembled from identical whole rosettes, with a faint row continuing near the upper boundary.",
          "byteSize": 3610633,
          "caption": "Because the ambient natural cardinality is a whole multiple of the subgroup natural cardinality, the subgroup cardinality divides it.",
          "description": "The final simp step rewrites the product identity and applies dvd_mul_left, using Nat.card of the quotient as the multiplier. This proves Nat.card s divides Nat.card α without adding a finiteness hypothesis or asserting a separate index formula.",
          "derivatives": [
            {
              "byteSize": 63916,
              "height": 427,
              "mediaType": "image/webp",
              "publicPath": "/assets/library-theorems/lagrange-theorem/proof-walkthrough-02-v1-640.webp",
              "sha256": "sha256:bd5ea3d7be127d0a4f4c5f25a1f4b8d17342b761b6d5d27e897b78c759c27f55",
              "width": 640
            },
            {
              "byteSize": 248788,
              "height": 800,
              "mediaType": "image/webp",
              "publicPath": "/assets/library-theorems/lagrange-theorem/proof-walkthrough-02-v1-1200.webp",
              "sha256": "sha256:3bfbeba8a90d7947868478de8873623b2a4eb4f3cd96893a9ddafcc6576111dd",
              "width": 1200
            }
          ],
          "generatedAt": "2026-07-20T18:33:17Z",
          "height": 1024,
          "mediaType": "image/png",
          "modelRequested": "gpt-image-2",
          "publicPath": "/assets/library-theorems/lagrange-theorem/proof-walkthrough-02-v1.png",
          "sha256": "sha256:a5b02d42d864a23dc1ceb0a0043316160659d2ba9b8895623e34efe100096404",
          "title": "Read the product identity as divisibility",
          "width": 1536,
          "equation": "Nat.card s ∣ Nat.card α",
          "kind": "proof_walkthrough_page",
          "sequenceIndex": 2
        }
      ],
      "title": "From quotient–subgroup pairs to divisibility"
    },
    "whyLandmark": "Lagrange's theorem is one of the first structural results in group theory. In the familiar finite case it tightly constrains possible subgroup sizes and element orders."
  },
  "nonClaims": [
    "Proof Atlas did not originate Lagrange's theorem or Mathlib's declaration.",
    "The local run reproduces the exact upstream declaration; it is not a local wrapper.",
    "A successful local check does not by itself create an accepted Atlas result."
  ],
  "publicExportEligible": true,
  "relationship": "upstream_direct",
  "schemaVersion": "library-theorem-entry-data.v1",
  "statementId": "statement.library.mathlib.lagrange-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": "The natural-number cardinality of a subgroup divides that of its ambient group.",
  "targetId": "target.library.mathlib.lagrange-theorem.v001",
  "title": "Lagrange's Theorem",
  "upstreamOrigin": {
    "declarationName": "Subgroup.card_subgroup_dvd_card",
    "immutableSourceUrl": "https://github.com/leanprover-community/mathlib4/blob/5e932f97dd25535344f80f9dd8da3aab83df0fe6/Mathlib/GroupTheory/Coset/Card.lean#L69",
    "packageName": "mathlib",
    "repositoryUrl": "https://github.com/leanprover-community/mathlib4",
    "sourceArtifactHash": "sha256:cb3efb11057211d161637ba7e6c75d64271faa95e5bdafff96f82168329b236e",
    "sourceByteLength": 3506,
    "sourceCommit": "5e932f97dd25535344f80f9dd8da3aab83df0fe6",
    "sourceFile": "Mathlib/GroupTheory/Coset/Card.lean",
    "sourceLine": 69,
    "verificationKind": "git_worktree"
  },
  "publicPresentationReview": {
    "status": "reviewed"
  }
}
