{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $I$ be a small [[filtered category|975PMY4FG8]] and let $J$ be a finite category.\nLet $F \\colon I \\times J \\to \\mathbf{Set}$ be a functor on the [[product category|AFNE9C4NH6]] with values in the [[category of sets|WP0YB7VC59]].\nThen the canonical map\n$$\\operatorname{colim}_{i \\in I} \\lim_{j \\in J} F(i, j) \\longrightarrow \\lim_{j \\in J} \\operatorname{colim}_{i \\in I} F(i, j)$$\nis a bijection.\n\n## Remarks\n\nThe proof uses the explicit form of a filtered [[colimit|BJS1CGTKQ5]] of sets.\nIt is the disjoint union of the sets, where two elements are identified when they become equal at some later stage.\nA finite [[limit|CHS5AFJGWE]] involves only finitely many elements and finitely many equations.\nBecause $I$ is filtered, all of them can be moved to one common stage, which gives both injectivity and surjectivity.\n\nBoth hypotheses matter.\nFor $J$ infinite, take $I = \\N$, $J = \\N$ seen as a discrete category, and $F(n, j)$ a one-point set when $j \u003c n$ and empty otherwise.\nThen each $\\prod_j F(n, j)$ is empty, while each $\\operatorname{colim}_n F(n, j)$ is a point.\nSo the left side is empty and the right side is a point.\nFor $I$ not filtered, coproducts do not commute with products: $(A \\sqcup B) \\times (A \\sqcup B)$ is larger than $(A \\times A) \\sqcup (B \\times B)$ when $A$ and $B$ are not empty.\n\n## Explanations\n\n### L1 human\n\nA filtered colimit of sets is a kind of union of a growing family.\nA finite limit is a set of solutions of finitely many equations.\nThe theorem says that solving the equations and then taking the union gives the same as taking the union and then solving.\nThis works because any finite amount of data already lives at some stage of the growing family.\n\n### L2 human\n\nThe theorem explains why filtered colimits are so well behaved in algebra.\nFor example, a filtered colimit of groups or modules can be computed on underlying sets, because the group operations are maps out of finite products, which are finite limits.\nIt also shows that filtered colimits of exact sequences of modules are exact.\nThe same result holds in any locally finitely presentable category, and finitely presentable objects are defined by a closely related property of the hom functor.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "about": [
      "975PMY4FG8",
      "CHS5AFJGWE",
      "BJS1CGTKQ5"
    ],
    "kind": "statement",
    "msc": [
      "18A30",
      "18B05"
    ],
    "name": "Filtered colimits commute with finite limits",
    "role": "theorem",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Filtered_category"
      }
    ],
    "tag": "CZYDQ96X2T",
    "uses": [
      "975PMY4FG8",
      "CHS5AFJGWE",
      "BJS1CGTKQ5",
      "WP0YB7VC59",
      "AFNE9C4NH6"
    ]
  },
  "kind": "statement",
  "link": "https://tamnd.github.io/math2/node/CZYDQ96X2T/",
  "links": [
    {
      "field": "about",
      "target": "975PMY4FG8"
    },
    {
      "field": "about",
      "target": "CHS5AFJGWE"
    },
    {
      "field": "about",
      "target": "BJS1CGTKQ5"
    },
    {
      "field": "uses",
      "target": "975PMY4FG8"
    },
    {
      "field": "uses",
      "target": "CHS5AFJGWE"
    },
    {
      "field": "uses",
      "target": "BJS1CGTKQ5"
    },
    {
      "field": "uses",
      "target": "WP0YB7VC59"
    },
    {
      "field": "uses",
      "target": "AFNE9C4NH6"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/CZYDQ96X2T.md",
  "msc": [
    "18A30",
    "18B05"
  ],
  "name": "Filtered colimits commute with finite limits",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/CZY/CZYDQ96X2T.md",
  "status": null,
  "tag": "CZYDQ96X2T",
  "uri": "m2://CZYDQ96X2T",
  "url": "https://tamnd.github.io/math2/wiki/filtered-colimits-commute-with-finite-limits/",
  "writing": {
    "tag": "CZYDQ96X2T",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
