{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $(S, \\mathcal{S})$ be a measurable space, and let $X_1, X_2, \\dots$ be [[independent and identically distributed|00MRN0FARV]] random variables with values in $S$.\nLet $B \\subseteq S^{\\N}$ be a measurable set for the product σ-algebra.\nAssume that $B$ is symmetric: for every [[permutation|05RWFKVTJ7]] $\\pi$ of $\\N$ that moves only finitely many indices, $(x_n)_n \\in B$ if and only if $(x_{\\pi(n)})_n \\in B$.\nThen the [[event|031TPJVS74]] $A = \\set{(X_1, X_2, \\dots) \\in B}$ has $P(A) \\in \\set{0, 1}$.\n\n## Remarks\n\nProof idea: approximate $A$ by an event $A_n$ that depends only on $X_1, \\dots, X_n$.\nLet $A_n'$ be the image of $A_n$ under the permutation that swaps the blocks $1, \\dots, n$ and $n+1, \\dots, 2n$.\nBy symmetry $A_n'$ approximates $A$ as well, and $A_n, A_n'$ are independent with equal probability.\nSo $P(A) = \\lim P(A_n \\cap A_n') = \\lim P(A_n)^2 = P(A)^2$.\nEvery tail event is symmetric, so the theorem extends [[Kolmogorov's zero–one law|073Q8Z94KG]] in the i.i.d. case.\nExample: let $X_i$ be real and $S_n = X_1 + \\dots + X_n$. The event $\\set{S_n \\in I \\text{ for infinitely many } n}$, for an interval $I$, is symmetric, because a finite permutation leaves $S_n$ unchanged for all large $n$. It is not a tail event in general, since changing $X_1$ shifts all $S_n$.\nThe identical distribution is needed: if $X_1$ is a fair coin and $X_n = 0$ for $n \\ge 2$, then $\\set{\\text{some } X_n = 1}$ is symmetric and has probability $\\frac{1}{2}$.\n\n## Explanations\n\n### L1 human\n\nTake an infinite sequence of independent draws from one distribution.\nAny event that does not care about the order of finitely many draws is either almost certain or almost impossible.\nFor instance, whether a random walk returns to its start infinitely often has probability $0$ or $1$.\n\n### L2 human\n\nThe theorem is used to show that quantities such as $\\limsup_n S_n$ for a random walk are almost surely constant, and to obtain the recurrence dichotomy for random walks.\nCompared with [[Kolmogorov's zero–one law|073Q8Z94KG]], it needs identical distribution but covers more events, namely all events of the exchangeable σ-algebra.\nIn the language of [[de Finetti's theorem|W19129PVKQ]], it says that an i.i.d. sequence is an exchangeable sequence whose mixing measure is a point mass.\n",
  "commit": "efe85cee8dbc57d85bedbacfb97b99d1b7bee843",
  "front": {
    "about": [
      "00MRN0FARV",
      "4MR4YJS1ZD"
    ],
    "kind": "statement",
    "msc": [
      "60F20",
      "60G09"
    ],
    "name": "Hewitt–Savage zero–one law",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q21051250",
      "wikipedia": "Hewitt–Savage zero–one law"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Hewitt%E2%80%93Savage_zero%E2%80%93one_law"
      }
    ],
    "tag": "JTXNFQNQ4J",
    "uses": [
      "00MRN0FARV",
      "05RWFKVTJ7",
      "031TPJVS74",
      "073Q8Z94KG"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/JTXNFQNQ4J/",
  "links": [
    {
      "field": "about",
      "target": "00MRN0FARV"
    },
    {
      "field": "about",
      "target": "4MR4YJS1ZD"
    },
    {
      "field": "uses",
      "target": "00MRN0FARV"
    },
    {
      "field": "uses",
      "target": "05RWFKVTJ7"
    },
    {
      "field": "uses",
      "target": "031TPJVS74"
    },
    {
      "field": "uses",
      "target": "073Q8Z94KG"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/JTXNFQNQ4J.md",
  "msc": [
    "60F20",
    "60G09"
  ],
  "name": "Hewitt–Savage zero–one law",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/JTX/JTXNFQNQ4J.md",
  "status": null,
  "tag": "JTXNFQNQ4J",
  "uri": "m2://JTXNFQNQ4J",
  "url": "https://math2.tamnd.com/wiki/hewitt-savage-zero-one-law/",
  "writing": {
    "tag": "JTXNFQNQ4J",
    "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
      }
    ]
  }
}
