{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0DS9KWFDK2"
    },
    {
      "field": "uses",
      "target": "0Z8FM54P86"
    }
  ],
  "body": "\n## Statement\n\nLet $A$ and $B$ be [[countable sets|0ZG61TFBES]].\nThen the [[Cartesian product|0C81YBVTWH]] $A \\times B$ is countable.\n\n## Remarks\n\nProof: take injections $f \\colon A \\to \\mathbb{N}$ and $g \\colon B \\to \\mathbb{N}$. Then $(a, b) \\mapsto \\pi(f(a), g(b))$ is an injection to $\\mathbb{N}$, where $\\pi$ is the [[Cantor pairing function|0NP5N5PYW5]].\nBy induction, a finite product $A_1 \\times \\dots \\times A_n$ of countable sets is countable.\nAn infinite product need not be countable: the set of sequences of $0$ and $1$ is [[uncountable|0X55M9XET4]].\n\n## Explanations\n\n### L1 human\n\nThe pairs of natural numbers fill an infinite grid, and the grid can be listed diagonal by diagonal.\nSo a product of two lists is again a list.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "statement",
    "msc": [
      "03E10"
    ],
    "name": "Product of countable sets is countable",
    "role": "proposition",
    "sources": [
      {
        "locator": "Formal overview",
        "url": "https://en.wikipedia.org/wiki/Countable_set"
      }
    ],
    "tag": "08G4XH86JC",
    "uses": [
      "0ZG61TFBES",
      "0C81YBVTWH",
      "0NP5N5PYW5"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/08G4XH86JC/",
  "links": [
    {
      "field": "uses",
      "target": "0ZG61TFBES"
    },
    {
      "field": "uses",
      "target": "0C81YBVTWH"
    },
    {
      "field": "uses",
      "target": "0NP5N5PYW5"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/08G4XH86JC.md",
  "msc": [
    "03E10"
  ],
  "name": "Product of countable sets is countable",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/08G/08G4XH86JC.md",
  "status": null,
  "tag": "08G4XH86JC",
  "uri": "m2://08G4XH86JC",
  "url": "https://math2.tamnd.com/wiki/product-of-countable-sets-is-countable/",
  "writing": {
    "tag": "08G4XH86JC",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
