{
  "aliases": [
    "borel-cantelli-lemma"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "0NWXRAMEE7"
    }
  ],
  "body": "\n## Statement\n\nLet $A_1, A_2, \\dots$ be [[events|00SQGJNRTB]] in a probability space $(\\Omega, \\mathcal{F}, P)$ with $\\sum_{n=1}^{\\infty} P(A_n) \u003c \\infty$.\nThen\n$$P\\left(\\limsup_{n \\to \\infty} A_n\\right) = 0, \\quad \\text{where} \\quad \\limsup_{n \\to \\infty} A_n = \\bigcap_{n=1}^{\\infty} \\bigcup_{m=n}^{\\infty} A_m.$$\nSo almost surely, only finitely many of the events $A_n$ occur.\n\n## Remarks\n\nThe event $\\limsup_n A_n$ is the set of outcomes that lie in infinitely many $A_n$. It is written $\\{A_n \\text{ i.o.}\\}$, for \"infinitely often\".\nProof: for each $n$, $P(\\limsup_m A_m) \\le P\\left(\\bigcup_{m \\ge n} A_m\\right) \\le \\sum_{m \\ge n} P(A_m)$ by [[Boole's inequality|0EGSEE9J9R]]. The right side tends to $0$ as $n \\to \\infty$.\nThe lemma needs no independence. The [[second Borel–Cantelli lemma|0NWXRAMEE7]] gives a partial converse for independent events.\nThe lemma holds in each measure space: if $\\sum_n \\mu(A_n) \u003c \\infty$, then $\\mu(\\limsup_n A_n) = 0$.\n\n## History\n\nThe lemma is named after Émile Borel and Francesco Paolo Cantelli.\n\n## Explanations\n\n### L1 human\n\nIf the chances of the events add up to a finite number, then after some time none of them happens any more, with probability $1$.\nFor example, if $P(A_n) = 1/n^2$, then only finitely many $A_n$ occur.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "aliases": [
      "borel-cantelli-lemma"
    ],
    "kind": "statement",
    "msc": [
      "60F20"
    ],
    "name": "First Borel–Cantelli lemma",
    "role": "lemma",
    "sources": [
      {
        "locator": "Statement of lemma for probability spaces",
        "url": "https://en.wikipedia.org/wiki/Borel–Cantelli_lemma"
      }
    ],
    "tag": "0T6WS7TT77",
    "uses": [
      "0EGSEE9J9R",
      "0X8HBKCSYB",
      "00SQGJNRTB"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0T6WS7TT77/",
  "links": [
    {
      "field": "uses",
      "target": "0EGSEE9J9R"
    },
    {
      "field": "uses",
      "target": "0X8HBKCSYB"
    },
    {
      "field": "uses",
      "target": "00SQGJNRTB"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0T6WS7TT77.md",
  "msc": [
    "60F20"
  ],
  "name": "First Borel–Cantelli lemma",
  "prov": null,
  "role": "lemma",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0T6/0T6WS7TT77.md",
  "status": null,
  "tag": "0T6WS7TT77",
  "uri": "m2://0T6WS7TT77",
  "url": "https://math2.tamnd.com/wiki/first-borel-cantelli-lemma/",
  "writing": {
    "tag": "0T6WS7TT77",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
